configure: Allow out-of-tree builds from an unclean source tree.
[wine.git] / configure
blob7ff3737bda4d0001a69eef631059b498daf35490
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.0'
584 PACKAGE_STRING='Wine 5.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds
909 enable_actxprxy
910 enable_adsiid
911 enable_adsldp
912 enable_adsldpc
913 enable_advapi32
914 enable_advpack
915 enable_amsi
916 enable_amstream
917 enable_api_ms_win_appmodel_identity_l1_1_0
918 enable_api_ms_win_appmodel_runtime_l1_1_1
919 enable_api_ms_win_appmodel_runtime_l1_1_2
920 enable_api_ms_win_core_apiquery_l1_1_0
921 enable_api_ms_win_core_appcompat_l1_1_1
922 enable_api_ms_win_core_appinit_l1_1_0
923 enable_api_ms_win_core_atoms_l1_1_0
924 enable_api_ms_win_core_bem_l1_1_0
925 enable_api_ms_win_core_com_l1_1_0
926 enable_api_ms_win_core_com_l1_1_1
927 enable_api_ms_win_core_com_private_l1_1_0
928 enable_api_ms_win_core_comm_l1_1_0
929 enable_api_ms_win_core_console_l1_1_0
930 enable_api_ms_win_core_console_l2_1_0
931 enable_api_ms_win_core_crt_l1_1_0
932 enable_api_ms_win_core_crt_l2_1_0
933 enable_api_ms_win_core_datetime_l1_1_0
934 enable_api_ms_win_core_datetime_l1_1_1
935 enable_api_ms_win_core_debug_l1_1_0
936 enable_api_ms_win_core_debug_l1_1_1
937 enable_api_ms_win_core_delayload_l1_1_0
938 enable_api_ms_win_core_delayload_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_0
940 enable_api_ms_win_core_errorhandling_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_2
942 enable_api_ms_win_core_errorhandling_l1_1_3
943 enable_api_ms_win_core_fibers_l1_1_0
944 enable_api_ms_win_core_fibers_l1_1_1
945 enable_api_ms_win_core_file_l1_1_0
946 enable_api_ms_win_core_file_l1_2_0
947 enable_api_ms_win_core_file_l1_2_1
948 enable_api_ms_win_core_file_l1_2_2
949 enable_api_ms_win_core_file_l2_1_0
950 enable_api_ms_win_core_file_l2_1_1
951 enable_api_ms_win_core_file_l2_1_2
952 enable_api_ms_win_core_handle_l1_1_0
953 enable_api_ms_win_core_heap_l1_1_0
954 enable_api_ms_win_core_heap_l1_2_0
955 enable_api_ms_win_core_heap_l2_1_0
956 enable_api_ms_win_core_heap_obsolete_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_2_0
959 enable_api_ms_win_core_io_l1_1_0
960 enable_api_ms_win_core_io_l1_1_1
961 enable_api_ms_win_core_job_l1_1_0
962 enable_api_ms_win_core_job_l2_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_1
965 enable_api_ms_win_core_kernel32_private_l1_1_1
966 enable_api_ms_win_core_largeinteger_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_1
969 enable_api_ms_win_core_libraryloader_l1_2_0
970 enable_api_ms_win_core_libraryloader_l1_2_1
971 enable_api_ms_win_core_libraryloader_l1_2_2
972 enable_api_ms_win_core_localization_l1_1_0
973 enable_api_ms_win_core_localization_l1_2_0
974 enable_api_ms_win_core_localization_l1_2_1
975 enable_api_ms_win_core_localization_l2_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_2_0
978 enable_api_ms_win_core_localization_obsolete_l1_3_0
979 enable_api_ms_win_core_localization_private_l1_1_0
980 enable_api_ms_win_core_localregistry_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_1
983 enable_api_ms_win_core_memory_l1_1_2
984 enable_api_ms_win_core_misc_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_2_0
987 enable_api_ms_win_core_namespace_l1_1_0
988 enable_api_ms_win_core_normalization_l1_1_0
989 enable_api_ms_win_core_path_l1_1_0
990 enable_api_ms_win_core_privateprofile_l1_1_1
991 enable_api_ms_win_core_processenvironment_l1_1_0
992 enable_api_ms_win_core_processenvironment_l1_2_0
993 enable_api_ms_win_core_processthreads_l1_1_0
994 enable_api_ms_win_core_processthreads_l1_1_1
995 enable_api_ms_win_core_processthreads_l1_1_2
996 enable_api_ms_win_core_processthreads_l1_1_3
997 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
998 enable_api_ms_win_core_profile_l1_1_0
999 enable_api_ms_win_core_psapi_ansi_l1_1_0
1000 enable_api_ms_win_core_psapi_l1_1_0
1001 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_quirks_l1_1_0
1003 enable_api_ms_win_core_realtime_l1_1_0
1004 enable_api_ms_win_core_registry_l1_1_0
1005 enable_api_ms_win_core_registry_l2_1_0
1006 enable_api_ms_win_core_registryuserspecific_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_2_0
1009 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1012 enable_api_ms_win_core_shutdown_l1_1_0
1013 enable_api_ms_win_core_sidebyside_l1_1_0
1014 enable_api_ms_win_core_string_l1_1_0
1015 enable_api_ms_win_core_string_l2_1_0
1016 enable_api_ms_win_core_string_obsolete_l1_1_0
1017 enable_api_ms_win_core_stringansi_l1_1_0
1018 enable_api_ms_win_core_stringloader_l1_1_1
1019 enable_api_ms_win_core_synch_ansi_l1_1_0
1020 enable_api_ms_win_core_synch_l1_1_0
1021 enable_api_ms_win_core_synch_l1_2_0
1022 enable_api_ms_win_core_synch_l1_2_1
1023 enable_api_ms_win_core_sysinfo_l1_1_0
1024 enable_api_ms_win_core_sysinfo_l1_2_0
1025 enable_api_ms_win_core_sysinfo_l1_2_1
1026 enable_api_ms_win_core_threadpool_l1_1_0
1027 enable_api_ms_win_core_threadpool_l1_2_0
1028 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1029 enable_api_ms_win_core_threadpool_private_l1_1_0
1030 enable_api_ms_win_core_timezone_l1_1_0
1031 enable_api_ms_win_core_toolhelp_l1_1_0
1032 enable_api_ms_win_core_url_l1_1_0
1033 enable_api_ms_win_core_util_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_1
1036 enable_api_ms_win_core_version_private_l1_1_0
1037 enable_api_ms_win_core_versionansi_l1_1_0
1038 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_1
1041 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1042 enable_api_ms_win_core_winrt_l1_1_0
1043 enable_api_ms_win_core_winrt_registration_l1_1_0
1044 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_1
1047 enable_api_ms_win_core_wow64_l1_1_0
1048 enable_api_ms_win_core_wow64_l1_1_1
1049 enable_api_ms_win_core_xstate_l1_1_0
1050 enable_api_ms_win_core_xstate_l2_1_0
1051 enable_api_ms_win_crt_conio_l1_1_0
1052 enable_api_ms_win_crt_convert_l1_1_0
1053 enable_api_ms_win_crt_environment_l1_1_0
1054 enable_api_ms_win_crt_filesystem_l1_1_0
1055 enable_api_ms_win_crt_heap_l1_1_0
1056 enable_api_ms_win_crt_locale_l1_1_0
1057 enable_api_ms_win_crt_math_l1_1_0
1058 enable_api_ms_win_crt_multibyte_l1_1_0
1059 enable_api_ms_win_crt_private_l1_1_0
1060 enable_api_ms_win_crt_process_l1_1_0
1061 enable_api_ms_win_crt_runtime_l1_1_0
1062 enable_api_ms_win_crt_stdio_l1_1_0
1063 enable_api_ms_win_crt_string_l1_1_0
1064 enable_api_ms_win_crt_time_l1_1_0
1065 enable_api_ms_win_crt_utility_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_1
1068 enable_api_ms_win_devices_query_l1_1_1
1069 enable_api_ms_win_downlevel_advapi32_l1_1_0
1070 enable_api_ms_win_downlevel_advapi32_l2_1_0
1071 enable_api_ms_win_downlevel_normaliz_l1_1_0
1072 enable_api_ms_win_downlevel_ole32_l1_1_0
1073 enable_api_ms_win_downlevel_shell32_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1076 enable_api_ms_win_downlevel_user32_l1_1_0
1077 enable_api_ms_win_downlevel_version_l1_1_0
1078 enable_api_ms_win_dx_d3dkmt_l1_1_0
1079 enable_api_ms_win_eventing_classicprovider_l1_1_0
1080 enable_api_ms_win_eventing_consumer_l1_1_0
1081 enable_api_ms_win_eventing_controller_l1_1_0
1082 enable_api_ms_win_eventing_legacy_l1_1_0
1083 enable_api_ms_win_eventing_provider_l1_1_0
1084 enable_api_ms_win_eventlog_legacy_l1_1_0
1085 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1086 enable_api_ms_win_mm_joystick_l1_1_0
1087 enable_api_ms_win_mm_misc_l1_1_1
1088 enable_api_ms_win_mm_mme_l1_1_0
1089 enable_api_ms_win_mm_time_l1_1_0
1090 enable_api_ms_win_ntuser_dc_access_l1_1_0
1091 enable_api_ms_win_ntuser_rectangle_l1_1_0
1092 enable_api_ms_win_ntuser_sysparams_l1_1_0
1093 enable_api_ms_win_perf_legacy_l1_1_0
1094 enable_api_ms_win_power_base_l1_1_0
1095 enable_api_ms_win_power_setting_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1099 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1103 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1104 enable_api_ms_win_security_audit_l1_1_1
1105 enable_api_ms_win_security_base_l1_1_0
1106 enable_api_ms_win_security_base_l1_2_0
1107 enable_api_ms_win_security_base_private_l1_1_1
1108 enable_api_ms_win_security_credentials_l1_1_0
1109 enable_api_ms_win_security_cryptoapi_l1_1_0
1110 enable_api_ms_win_security_grouppolicy_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_1
1113 enable_api_ms_win_security_lsalookup_l2_1_0
1114 enable_api_ms_win_security_lsalookup_l2_1_1
1115 enable_api_ms_win_security_lsapolicy_l1_1_0
1116 enable_api_ms_win_security_provider_l1_1_0
1117 enable_api_ms_win_security_sddl_l1_1_0
1118 enable_api_ms_win_security_systemfunctions_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_1
1121 enable_api_ms_win_service_management_l1_1_0
1122 enable_api_ms_win_service_management_l2_1_0
1123 enable_api_ms_win_service_private_l1_1_1
1124 enable_api_ms_win_service_winsvc_l1_1_0
1125 enable_api_ms_win_service_winsvc_l1_2_0
1126 enable_api_ms_win_shcore_obsolete_l1_1_0
1127 enable_api_ms_win_shcore_scaling_l1_1_1
1128 enable_api_ms_win_shcore_stream_l1_1_0
1129 enable_api_ms_win_shcore_thread_l1_1_0
1130 enable_api_ms_win_shell_shellcom_l1_1_0
1131 enable_api_ms_win_shell_shellfolders_l1_1_0
1132 enable_apphelp
1133 enable_appwiz_cpl
1134 enable_atl
1135 enable_atl100
1136 enable_atl110
1137 enable_atl80
1138 enable_atl90
1139 enable_atlthunk
1140 enable_atmlib
1141 enable_authz
1142 enable_avicap32
1143 enable_avifil32
1144 enable_avrt
1145 enable_bcrypt
1146 enable_bluetoothapis
1147 enable_browseui
1148 enable_bthprops_cpl
1149 enable_cabinet
1150 enable_capi2032
1151 enable_cards
1152 enable_cdosys
1153 enable_cfgmgr32
1154 enable_clusapi
1155 enable_combase
1156 enable_comcat
1157 enable_comctl32
1158 enable_comdlg32
1159 enable_compstui
1160 enable_comsvcs
1161 enable_concrt140
1162 enable_connect
1163 enable_credui
1164 enable_crtdll
1165 enable_crypt32
1166 enable_cryptdlg
1167 enable_cryptdll
1168 enable_cryptext
1169 enable_cryptnet
1170 enable_cryptui
1171 enable_ctapi32
1172 enable_ctl3d32
1173 enable_d2d1
1174 enable_d3d10
1175 enable_d3d10_1
1176 enable_d3d10core
1177 enable_d3d11
1178 enable_d3d12
1179 enable_d3d8
1180 enable_d3d9
1181 enable_d3dcompiler_33
1182 enable_d3dcompiler_34
1183 enable_d3dcompiler_35
1184 enable_d3dcompiler_36
1185 enable_d3dcompiler_37
1186 enable_d3dcompiler_38
1187 enable_d3dcompiler_39
1188 enable_d3dcompiler_40
1189 enable_d3dcompiler_41
1190 enable_d3dcompiler_42
1191 enable_d3dcompiler_43
1192 enable_d3dcompiler_46
1193 enable_d3dcompiler_47
1194 enable_d3dim
1195 enable_d3drm
1196 enable_d3dx10_33
1197 enable_d3dx10_34
1198 enable_d3dx10_35
1199 enable_d3dx10_36
1200 enable_d3dx10_37
1201 enable_d3dx10_38
1202 enable_d3dx10_39
1203 enable_d3dx10_40
1204 enable_d3dx10_41
1205 enable_d3dx10_42
1206 enable_d3dx10_43
1207 enable_d3dx11_42
1208 enable_d3dx11_43
1209 enable_d3dx9_24
1210 enable_d3dx9_25
1211 enable_d3dx9_26
1212 enable_d3dx9_27
1213 enable_d3dx9_28
1214 enable_d3dx9_29
1215 enable_d3dx9_30
1216 enable_d3dx9_31
1217 enable_d3dx9_32
1218 enable_d3dx9_33
1219 enable_d3dx9_34
1220 enable_d3dx9_35
1221 enable_d3dx9_36
1222 enable_d3dx9_37
1223 enable_d3dx9_38
1224 enable_d3dx9_39
1225 enable_d3dx9_40
1226 enable_d3dx9_41
1227 enable_d3dx9_42
1228 enable_d3dx9_43
1229 enable_d3dxof
1230 enable_davclnt
1231 enable_dbgeng
1232 enable_dbghelp
1233 enable_dciman32
1234 enable_ddraw
1235 enable_ddrawex
1236 enable_devenum
1237 enable_dhcpcsvc
1238 enable_dhtmled_ocx
1239 enable_difxapi
1240 enable_dinput
1241 enable_dinput8
1242 enable_dispex
1243 enable_dmband
1244 enable_dmcompos
1245 enable_dmime
1246 enable_dmloader
1247 enable_dmoguids
1248 enable_dmscript
1249 enable_dmstyle
1250 enable_dmsynth
1251 enable_dmusic
1252 enable_dmusic32
1253 enable_dnsapi
1254 enable_dplay
1255 enable_dplayx
1256 enable_dpnaddr
1257 enable_dpnet
1258 enable_dpnhpast
1259 enable_dpnlobby
1260 enable_dpvoice
1261 enable_dpwsockx
1262 enable_drmclien
1263 enable_dsdmo
1264 enable_dsound
1265 enable_dsquery
1266 enable_dssenh
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_samlib
1543 enable_sane_ds
1544 enable_sapi
1545 enable_sas
1546 enable_scarddlg
1547 enable_sccbase
1548 enable_schannel
1549 enable_schedsvc
1550 enable_scrobj
1551 enable_scrrun
1552 enable_scsiport_sys
1553 enable_secur32
1554 enable_security
1555 enable_sensapi
1556 enable_serialui
1557 enable_setupapi
1558 enable_sfc
1559 enable_sfc_os
1560 enable_shcore
1561 enable_shdoclc
1562 enable_shdocvw
1563 enable_shell32
1564 enable_shfolder
1565 enable_shlwapi
1566 enable_slbcsp
1567 enable_slc
1568 enable_snmpapi
1569 enable_softpub
1570 enable_spoolss
1571 enable_srclient
1572 enable_sspicli
1573 enable_stdole2_tlb
1574 enable_stdole32_tlb
1575 enable_sti
1576 enable_strmbase
1577 enable_strmdll
1578 enable_strmiids
1579 enable_svrapi
1580 enable_sxs
1581 enable_t2embed
1582 enable_tapi32
1583 enable_taskschd
1584 enable_tdh
1585 enable_tdi_sys
1586 enable_traffic
1587 enable_twain_32
1588 enable_tzres
1589 enable_ucrtbase
1590 enable_uianimation
1591 enable_uiautomationcore
1592 enable_uiribbon
1593 enable_unicows
1594 enable_updspapi
1595 enable_url
1596 enable_urlmon
1597 enable_usbd_sys
1598 enable_user32
1599 enable_userenv
1600 enable_usp10
1601 enable_utildll
1602 enable_uuid
1603 enable_uxtheme
1604 enable_vbscript
1605 enable_vcomp
1606 enable_vcomp100
1607 enable_vcomp110
1608 enable_vcomp120
1609 enable_vcomp140
1610 enable_vcomp90
1611 enable_vcruntime140
1612 enable_vdmdbg
1613 enable_version
1614 enable_virtdisk
1615 enable_vssapi
1616 enable_vulkan_1
1617 enable_wbemdisp
1618 enable_wbemprox
1619 enable_wdscore
1620 enable_webservices
1621 enable_wer
1622 enable_wevtapi
1623 enable_wiaservc
1624 enable_wimgapi
1625 enable_windowscodecs
1626 enable_windowscodecsext
1627 enable_winealsa_drv
1628 enable_wineandroid_drv
1629 enable_winebus_sys
1630 enable_winecoreaudio_drv
1631 enable_winecrt0
1632 enable_wined3d
1633 enable_winegstreamer
1634 enable_winehid_sys
1635 enable_winejoystick_drv
1636 enable_winemac_drv
1637 enable_winemapi
1638 enable_wineoss_drv
1639 enable_wineps_drv
1640 enable_winepulse_drv
1641 enable_wineqtdecoder
1642 enable_winevulkan
1643 enable_winex11_drv
1644 enable_wing32
1645 enable_winhttp
1646 enable_wininet
1647 enable_winmm
1648 enable_winnls32
1649 enable_winscard
1650 enable_winspool_drv
1651 enable_winsta
1652 enable_wintab32
1653 enable_wintrust
1654 enable_winusb
1655 enable_wlanapi
1656 enable_wlanui
1657 enable_wldap32
1658 enable_wmasf
1659 enable_wmcodecdspuuid
1660 enable_wmi
1661 enable_wmiutils
1662 enable_wmp
1663 enable_wmphoto
1664 enable_wmvcore
1665 enable_wnaspi32
1666 enable_wpc
1667 enable_wpcap
1668 enable_ws2_32
1669 enable_wsdapi
1670 enable_wshom_ocx
1671 enable_wsnmp32
1672 enable_wsock32
1673 enable_wtsapi32
1674 enable_wuapi
1675 enable_wuaueng
1676 enable_x3daudio1_0
1677 enable_x3daudio1_1
1678 enable_x3daudio1_2
1679 enable_x3daudio1_3
1680 enable_x3daudio1_4
1681 enable_x3daudio1_5
1682 enable_x3daudio1_6
1683 enable_x3daudio1_7
1684 enable_xapofx1_1
1685 enable_xapofx1_2
1686 enable_xapofx1_3
1687 enable_xapofx1_4
1688 enable_xapofx1_5
1689 enable_xaudio2_0
1690 enable_xaudio2_1
1691 enable_xaudio2_2
1692 enable_xaudio2_3
1693 enable_xaudio2_4
1694 enable_xaudio2_5
1695 enable_xaudio2_6
1696 enable_xaudio2_7
1697 enable_xaudio2_8
1698 enable_xaudio2_9
1699 enable_xinput1_1
1700 enable_xinput1_2
1701 enable_xinput1_3
1702 enable_xinput1_4
1703 enable_xinput9_1_0
1704 enable_xmllite
1705 enable_xolehlp
1706 enable_xpsprint
1707 enable_xpssvcs
1708 enable_fonts
1709 enable_include
1710 enable_port
1711 enable_wine
1712 enable_wpp
1713 enable_loader
1714 enable_po
1715 enable_arp
1716 enable_aspnet_regiis
1717 enable_attrib
1718 enable_cabarc
1719 enable_cacls
1720 enable_chcp_com
1721 enable_clock
1722 enable_cmd
1723 enable_conhost
1724 enable_control
1725 enable_cscript
1726 enable_dism
1727 enable_dpnsvr
1728 enable_dxdiag
1729 enable_eject
1730 enable_expand
1731 enable_explorer
1732 enable_extrac32
1733 enable_fc
1734 enable_find
1735 enable_findstr
1736 enable_fsutil
1737 enable_hh
1738 enable_hostname
1739 enable_icacls
1740 enable_icinfo
1741 enable_iexplore
1742 enable_ipconfig
1743 enable_lodctr
1744 enable_mofcomp
1745 enable_mshta
1746 enable_msidb
1747 enable_msiexec
1748 enable_msinfo32
1749 enable_net
1750 enable_netsh
1751 enable_netstat
1752 enable_ngen
1753 enable_notepad
1754 enable_oleview
1755 enable_ping
1756 enable_plugplay
1757 enable_powershell
1758 enable_presentationfontcache
1759 enable_progman
1760 enable_reg
1761 enable_regasm
1762 enable_regedit
1763 enable_regini
1764 enable_regsvcs
1765 enable_regsvr32
1766 enable_rpcss
1767 enable_rundll32
1768 enable_sc
1769 enable_schtasks
1770 enable_sdbinst
1771 enable_secedit
1772 enable_servicemodelreg
1773 enable_services
1774 enable_shutdown
1775 enable_spoolsv
1776 enable_start
1777 enable_subst
1778 enable_svchost
1779 enable_systeminfo
1780 enable_taskkill
1781 enable_tasklist
1782 enable_taskmgr
1783 enable_termsv
1784 enable_uninstaller
1785 enable_unlodctr
1786 enable_view
1787 enable_wevtutil
1788 enable_wineboot
1789 enable_winebrowser
1790 enable_winecfg
1791 enable_wineconsole
1792 enable_winedbg
1793 enable_winedevice
1794 enable_winefile
1795 enable_winemenubuilder
1796 enable_winemine
1797 enable_winemsibuilder
1798 enable_winepath
1799 enable_winetest
1800 enable_winhlp32
1801 enable_winmgmt
1802 enable_winver
1803 enable_wmic
1804 enable_wmplayer
1805 enable_wordpad
1806 enable_write
1807 enable_wscript
1808 enable_wuauserv
1809 enable_wusa
1810 enable_xcopy
1811 enable_server
1812 enable_tools
1813 enable_sfnt2fon
1814 enable_widl
1815 enable_winebuild
1816 enable_winedump
1817 enable_winegcc
1818 enable_winemaker
1819 enable_wmc
1820 enable_wrc
1822 ac_precious_vars='build_alias
1823 host_alias
1824 target_alias
1826 CFLAGS
1827 LDFLAGS
1828 LIBS
1829 CPPFLAGS
1831 CXXFLAGS
1834 OBJC
1835 OBJCFLAGS
1836 OBJCPP
1837 XMKMF
1838 XML2_CFLAGS
1839 XML2_LIBS
1840 XSLT_CFLAGS
1841 XSLT_LIBS
1842 INOTIFY_CFLAGS
1843 INOTIFY_LIBS
1844 DBUS_CFLAGS
1845 DBUS_LIBS
1846 HAL_CFLAGS
1847 HAL_LIBS
1848 GNUTLS_CFLAGS
1849 GNUTLS_LIBS
1850 SANE_CFLAGS
1851 SANE_LIBS
1852 GPHOTO2_CFLAGS
1853 GPHOTO2_LIBS
1854 GPHOTO2_PORT_CFLAGS
1855 GPHOTO2_PORT_LIBS
1856 LCMS2_CFLAGS
1857 LCMS2_LIBS
1858 FREETYPE_CFLAGS
1859 FREETYPE_LIBS
1860 Z_CFLAGS
1861 Z_LIBS
1862 PULSE_CFLAGS
1863 PULSE_LIBS
1864 GSTREAMER_CFLAGS
1865 GSTREAMER_LIBS
1866 UDEV_CFLAGS
1867 UDEV_LIBS
1868 UNWIND_CFLAGS
1869 UNWIND_LIBS
1870 SDL2_CFLAGS
1871 SDL2_LIBS
1872 FAUDIO_CFLAGS
1873 FAUDIO_LIBS
1874 CAPI20_CFLAGS
1875 CAPI20_LIBS
1876 CUPS_CFLAGS
1877 CUPS_LIBS
1878 FONTCONFIG_CFLAGS
1879 FONTCONFIG_LIBS
1880 KRB5_CFLAGS
1881 KRB5_LIBS
1882 GSSAPI_CFLAGS
1883 GSSAPI_LIBS
1884 JPEG_CFLAGS
1885 JPEG_LIBS
1886 PNG_CFLAGS
1887 PNG_LIBS
1888 TIFF_CFLAGS
1889 TIFF_LIBS
1890 MPG123_CFLAGS
1891 MPG123_LIBS
1892 NETAPI_CFLAGS
1893 NETAPI_LIBS
1894 VKD3D_CFLAGS
1895 VKD3D_LIBS
1896 LDAP_CFLAGS
1897 LDAP_LIBS'
1900 # Initialize some variables set by options.
1901 ac_init_help=
1902 ac_init_version=false
1903 ac_unrecognized_opts=
1904 ac_unrecognized_sep=
1905 # The variables have the same names as the options, with
1906 # dashes changed to underlines.
1907 cache_file=/dev/null
1908 exec_prefix=NONE
1909 no_create=
1910 no_recursion=
1911 prefix=NONE
1912 program_prefix=NONE
1913 program_suffix=NONE
1914 program_transform_name=s,x,x,
1915 silent=
1916 site=
1917 srcdir=
1918 verbose=
1919 x_includes=NONE
1920 x_libraries=NONE
1922 # Installation directory options.
1923 # These are left unexpanded so users can "make install exec_prefix=/foo"
1924 # and all the variables that are supposed to be based on exec_prefix
1925 # by default will actually change.
1926 # Use braces instead of parens because sh, perl, etc. also accept them.
1927 # (The list follows the same order as the GNU Coding Standards.)
1928 bindir='${exec_prefix}/bin'
1929 sbindir='${exec_prefix}/sbin'
1930 libexecdir='${exec_prefix}/libexec'
1931 datarootdir='${prefix}/share'
1932 datadir='${datarootdir}'
1933 sysconfdir='${prefix}/etc'
1934 sharedstatedir='${prefix}/com'
1935 localstatedir='${prefix}/var'
1936 runstatedir='${localstatedir}/run'
1937 includedir='${prefix}/include'
1938 oldincludedir='/usr/include'
1939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1940 infodir='${datarootdir}/info'
1941 htmldir='${docdir}'
1942 dvidir='${docdir}'
1943 pdfdir='${docdir}'
1944 psdir='${docdir}'
1945 libdir='${exec_prefix}/lib'
1946 localedir='${datarootdir}/locale'
1947 mandir='${datarootdir}/man'
1949 ac_prev=
1950 ac_dashdash=
1951 for ac_option
1953 # If the previous option needs an argument, assign it.
1954 if test -n "$ac_prev"; then
1955 eval $ac_prev=\$ac_option
1956 ac_prev=
1957 continue
1960 case $ac_option in
1961 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1962 *=) ac_optarg= ;;
1963 *) ac_optarg=yes ;;
1964 esac
1966 # Accept the important Cygnus configure options, so we can diagnose typos.
1968 case $ac_dashdash$ac_option in
1970 ac_dashdash=yes ;;
1972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1973 ac_prev=bindir ;;
1974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1975 bindir=$ac_optarg ;;
1977 -build | --build | --buil | --bui | --bu)
1978 ac_prev=build_alias ;;
1979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1980 build_alias=$ac_optarg ;;
1982 -cache-file | --cache-file | --cache-fil | --cache-fi \
1983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1984 ac_prev=cache_file ;;
1985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1987 cache_file=$ac_optarg ;;
1989 --config-cache | -C)
1990 cache_file=config.cache ;;
1992 -datadir | --datadir | --datadi | --datad)
1993 ac_prev=datadir ;;
1994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1995 datadir=$ac_optarg ;;
1997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1998 | --dataroo | --dataro | --datar)
1999 ac_prev=datarootdir ;;
2000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2002 datarootdir=$ac_optarg ;;
2004 -disable-* | --disable-*)
2005 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2006 # Reject names that are not valid shell variable names.
2007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2008 as_fn_error $? "invalid feature name: $ac_useropt"
2009 ac_useropt_orig=$ac_useropt
2010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2011 case $ac_user_opts in
2013 "enable_$ac_useropt"
2014 "*) ;;
2015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2016 ac_unrecognized_sep=', ';;
2017 esac
2018 eval enable_$ac_useropt=no ;;
2020 -docdir | --docdir | --docdi | --doc | --do)
2021 ac_prev=docdir ;;
2022 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2023 docdir=$ac_optarg ;;
2025 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2026 ac_prev=dvidir ;;
2027 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2028 dvidir=$ac_optarg ;;
2030 -enable-* | --enable-*)
2031 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2032 # Reject names that are not valid shell variable names.
2033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2034 as_fn_error $? "invalid feature name: $ac_useropt"
2035 ac_useropt_orig=$ac_useropt
2036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2037 case $ac_user_opts in
2039 "enable_$ac_useropt"
2040 "*) ;;
2041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2042 ac_unrecognized_sep=', ';;
2043 esac
2044 eval enable_$ac_useropt=\$ac_optarg ;;
2046 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2047 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2048 | --exec | --exe | --ex)
2049 ac_prev=exec_prefix ;;
2050 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2051 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2052 | --exec=* | --exe=* | --ex=*)
2053 exec_prefix=$ac_optarg ;;
2055 -gas | --gas | --ga | --g)
2056 # Obsolete; use --with-gas.
2057 with_gas=yes ;;
2059 -help | --help | --hel | --he | -h)
2060 ac_init_help=long ;;
2061 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2062 ac_init_help=recursive ;;
2063 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2064 ac_init_help=short ;;
2066 -host | --host | --hos | --ho)
2067 ac_prev=host_alias ;;
2068 -host=* | --host=* | --hos=* | --ho=*)
2069 host_alias=$ac_optarg ;;
2071 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2072 ac_prev=htmldir ;;
2073 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2074 | --ht=*)
2075 htmldir=$ac_optarg ;;
2077 -includedir | --includedir | --includedi | --included | --include \
2078 | --includ | --inclu | --incl | --inc)
2079 ac_prev=includedir ;;
2080 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2081 | --includ=* | --inclu=* | --incl=* | --inc=*)
2082 includedir=$ac_optarg ;;
2084 -infodir | --infodir | --infodi | --infod | --info | --inf)
2085 ac_prev=infodir ;;
2086 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2087 infodir=$ac_optarg ;;
2089 -libdir | --libdir | --libdi | --libd)
2090 ac_prev=libdir ;;
2091 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2092 libdir=$ac_optarg ;;
2094 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2095 | --libexe | --libex | --libe)
2096 ac_prev=libexecdir ;;
2097 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2098 | --libexe=* | --libex=* | --libe=*)
2099 libexecdir=$ac_optarg ;;
2101 -localedir | --localedir | --localedi | --localed | --locale)
2102 ac_prev=localedir ;;
2103 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2104 localedir=$ac_optarg ;;
2106 -localstatedir | --localstatedir | --localstatedi | --localstated \
2107 | --localstate | --localstat | --localsta | --localst | --locals)
2108 ac_prev=localstatedir ;;
2109 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2110 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2111 localstatedir=$ac_optarg ;;
2113 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2114 ac_prev=mandir ;;
2115 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2116 mandir=$ac_optarg ;;
2118 -nfp | --nfp | --nf)
2119 # Obsolete; use --without-fp.
2120 with_fp=no ;;
2122 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2123 | --no-cr | --no-c | -n)
2124 no_create=yes ;;
2126 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2127 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2128 no_recursion=yes ;;
2130 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2131 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2132 | --oldin | --oldi | --old | --ol | --o)
2133 ac_prev=oldincludedir ;;
2134 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2135 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2136 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2137 oldincludedir=$ac_optarg ;;
2139 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2140 ac_prev=prefix ;;
2141 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2142 prefix=$ac_optarg ;;
2144 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2145 | --program-pre | --program-pr | --program-p)
2146 ac_prev=program_prefix ;;
2147 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2148 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2149 program_prefix=$ac_optarg ;;
2151 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2152 | --program-suf | --program-su | --program-s)
2153 ac_prev=program_suffix ;;
2154 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2155 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2156 program_suffix=$ac_optarg ;;
2158 -program-transform-name | --program-transform-name \
2159 | --program-transform-nam | --program-transform-na \
2160 | --program-transform-n | --program-transform- \
2161 | --program-transform | --program-transfor \
2162 | --program-transfo | --program-transf \
2163 | --program-trans | --program-tran \
2164 | --progr-tra | --program-tr | --program-t)
2165 ac_prev=program_transform_name ;;
2166 -program-transform-name=* | --program-transform-name=* \
2167 | --program-transform-nam=* | --program-transform-na=* \
2168 | --program-transform-n=* | --program-transform-=* \
2169 | --program-transform=* | --program-transfor=* \
2170 | --program-transfo=* | --program-transf=* \
2171 | --program-trans=* | --program-tran=* \
2172 | --progr-tra=* | --program-tr=* | --program-t=*)
2173 program_transform_name=$ac_optarg ;;
2175 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2176 ac_prev=pdfdir ;;
2177 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2178 pdfdir=$ac_optarg ;;
2180 -psdir | --psdir | --psdi | --psd | --ps)
2181 ac_prev=psdir ;;
2182 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2183 psdir=$ac_optarg ;;
2185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2186 | -silent | --silent | --silen | --sile | --sil)
2187 silent=yes ;;
2189 -runstatedir | --runstatedir | --runstatedi | --runstated \
2190 | --runstate | --runstat | --runsta | --runst | --runs \
2191 | --run | --ru | --r)
2192 ac_prev=runstatedir ;;
2193 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2194 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2195 | --run=* | --ru=* | --r=*)
2196 runstatedir=$ac_optarg ;;
2198 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2199 ac_prev=sbindir ;;
2200 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2201 | --sbi=* | --sb=*)
2202 sbindir=$ac_optarg ;;
2204 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2205 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2206 | --sharedst | --shareds | --shared | --share | --shar \
2207 | --sha | --sh)
2208 ac_prev=sharedstatedir ;;
2209 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2210 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2211 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2212 | --sha=* | --sh=*)
2213 sharedstatedir=$ac_optarg ;;
2215 -site | --site | --sit)
2216 ac_prev=site ;;
2217 -site=* | --site=* | --sit=*)
2218 site=$ac_optarg ;;
2220 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2221 ac_prev=srcdir ;;
2222 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2223 srcdir=$ac_optarg ;;
2225 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2226 | --syscon | --sysco | --sysc | --sys | --sy)
2227 ac_prev=sysconfdir ;;
2228 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2229 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2230 sysconfdir=$ac_optarg ;;
2232 -target | --target | --targe | --targ | --tar | --ta | --t)
2233 ac_prev=target_alias ;;
2234 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2235 target_alias=$ac_optarg ;;
2237 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2238 verbose=yes ;;
2240 -version | --version | --versio | --versi | --vers | -V)
2241 ac_init_version=: ;;
2243 -with-* | --with-*)
2244 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2245 # Reject names that are not valid shell variable names.
2246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2247 as_fn_error $? "invalid package name: $ac_useropt"
2248 ac_useropt_orig=$ac_useropt
2249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2250 case $ac_user_opts in
2252 "with_$ac_useropt"
2253 "*) ;;
2254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2255 ac_unrecognized_sep=', ';;
2256 esac
2257 eval with_$ac_useropt=\$ac_optarg ;;
2259 -without-* | --without-*)
2260 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2261 # Reject names that are not valid shell variable names.
2262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2263 as_fn_error $? "invalid package name: $ac_useropt"
2264 ac_useropt_orig=$ac_useropt
2265 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2266 case $ac_user_opts in
2268 "with_$ac_useropt"
2269 "*) ;;
2270 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2271 ac_unrecognized_sep=', ';;
2272 esac
2273 eval with_$ac_useropt=no ;;
2275 --x)
2276 # Obsolete; use --with-x.
2277 with_x=yes ;;
2279 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2280 | --x-incl | --x-inc | --x-in | --x-i)
2281 ac_prev=x_includes ;;
2282 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2283 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2284 x_includes=$ac_optarg ;;
2286 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2287 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2288 ac_prev=x_libraries ;;
2289 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2290 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2291 x_libraries=$ac_optarg ;;
2293 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2294 Try \`$0 --help' for more information"
2297 *=*)
2298 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2299 # Reject names that are not valid shell variable names.
2300 case $ac_envvar in #(
2301 '' | [0-9]* | *[!_$as_cr_alnum]* )
2302 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2303 esac
2304 eval $ac_envvar=\$ac_optarg
2305 export $ac_envvar ;;
2308 # FIXME: should be removed in autoconf 3.0.
2309 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2310 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2311 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2312 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2315 esac
2316 done
2318 if test -n "$ac_prev"; then
2319 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2320 as_fn_error $? "missing argument to $ac_option"
2323 if test -n "$ac_unrecognized_opts"; then
2324 case $enable_option_checking in
2325 no) ;;
2326 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2327 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2328 esac
2331 # Check all directory arguments for consistency.
2332 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2333 datadir sysconfdir sharedstatedir localstatedir includedir \
2334 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2335 libdir localedir mandir runstatedir
2337 eval ac_val=\$$ac_var
2338 # Remove trailing slashes.
2339 case $ac_val in
2340 */ )
2341 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2342 eval $ac_var=\$ac_val;;
2343 esac
2344 # Be sure to have absolute directory names.
2345 case $ac_val in
2346 [\\/$]* | ?:[\\/]* ) continue;;
2347 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2348 esac
2349 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2350 done
2352 # There might be people who depend on the old broken behavior: `$host'
2353 # used to hold the argument of --host etc.
2354 # FIXME: To remove some day.
2355 build=$build_alias
2356 host=$host_alias
2357 target=$target_alias
2359 # FIXME: To remove some day.
2360 if test "x$host_alias" != x; then
2361 if test "x$build_alias" = x; then
2362 cross_compiling=maybe
2363 elif test "x$build_alias" != "x$host_alias"; then
2364 cross_compiling=yes
2368 ac_tool_prefix=
2369 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2371 test "$silent" = yes && exec 6>/dev/null
2374 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2375 ac_ls_di=`ls -di .` &&
2376 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2377 as_fn_error $? "working directory cannot be determined"
2378 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2379 as_fn_error $? "pwd does not report name of working directory"
2382 # Find the source files, if location was not specified.
2383 if test -z "$srcdir"; then
2384 ac_srcdir_defaulted=yes
2385 # Try the directory containing this script, then the parent directory.
2386 ac_confdir=`$as_dirname -- "$as_myself" ||
2387 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2388 X"$as_myself" : 'X\(//\)[^/]' \| \
2389 X"$as_myself" : 'X\(//\)$' \| \
2390 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2391 $as_echo X"$as_myself" |
2392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2393 s//\1/
2396 /^X\(\/\/\)[^/].*/{
2397 s//\1/
2400 /^X\(\/\/\)$/{
2401 s//\1/
2404 /^X\(\/\).*/{
2405 s//\1/
2408 s/.*/./; q'`
2409 srcdir=$ac_confdir
2410 if test ! -r "$srcdir/$ac_unique_file"; then
2411 srcdir=..
2413 else
2414 ac_srcdir_defaulted=no
2416 if test ! -r "$srcdir/$ac_unique_file"; then
2417 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2418 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2420 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2421 ac_abs_confdir=`(
2422 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2423 pwd)`
2424 # When building in place, set srcdir=.
2425 if test "$ac_abs_confdir" = "$ac_pwd"; then
2426 srcdir=.
2428 # Remove unnecessary trailing slashes from srcdir.
2429 # Double slashes in file names in object file debugging info
2430 # mess up M-x gdb in Emacs.
2431 case $srcdir in
2432 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2433 esac
2434 for ac_var in $ac_precious_vars; do
2435 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2436 eval ac_env_${ac_var}_value=\$${ac_var}
2437 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2438 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2439 done
2442 # Report the --help message.
2444 if test "$ac_init_help" = "long"; then
2445 # Omit some internal or obsolete options to make the list less imposing.
2446 # This message is too long to be a string in the A/UX 3.1 sh.
2447 cat <<_ACEOF
2448 \`configure' configures Wine 5.0 to adapt to many kinds of systems.
2450 Usage: $0 [OPTION]... [VAR=VALUE]...
2452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2453 VAR=VALUE. See below for descriptions of some of the useful variables.
2455 Defaults for the options are specified in brackets.
2457 Configuration:
2458 -h, --help display this help and exit
2459 --help=short display options specific to this package
2460 --help=recursive display the short help of all the included packages
2461 -V, --version display version information and exit
2462 -q, --quiet, --silent do not print \`checking ...' messages
2463 --cache-file=FILE cache test results in FILE [disabled]
2464 -C, --config-cache alias for \`--cache-file=config.cache'
2465 -n, --no-create do not create output files
2466 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2468 Installation directories:
2469 --prefix=PREFIX install architecture-independent files in PREFIX
2470 [$ac_default_prefix]
2471 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2472 [PREFIX]
2474 By default, \`make install' will install all the files in
2475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2477 for instance \`--prefix=\$HOME'.
2479 For better control, use the options below.
2481 Fine tuning of the installation directories:
2482 --bindir=DIR user executables [EPREFIX/bin]
2483 --sbindir=DIR system admin executables [EPREFIX/sbin]
2484 --libexecdir=DIR program executables [EPREFIX/libexec]
2485 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2486 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2487 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2488 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2489 --libdir=DIR object code libraries [EPREFIX/lib]
2490 --includedir=DIR C header files [PREFIX/include]
2491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2494 --infodir=DIR info documentation [DATAROOTDIR/info]
2495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2496 --mandir=DIR man documentation [DATAROOTDIR/man]
2497 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2498 --htmldir=DIR html documentation [DOCDIR]
2499 --dvidir=DIR dvi documentation [DOCDIR]
2500 --pdfdir=DIR pdf documentation [DOCDIR]
2501 --psdir=DIR ps documentation [DOCDIR]
2502 _ACEOF
2504 cat <<\_ACEOF
2506 X features:
2507 --x-includes=DIR X include files are in DIR
2508 --x-libraries=DIR X library files are in DIR
2510 System types:
2511 --build=BUILD configure for building on BUILD [guessed]
2512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2513 _ACEOF
2516 if test -n "$ac_init_help"; then
2517 case $ac_init_help in
2518 short | recursive ) echo "Configuration of Wine 5.0:";;
2519 esac
2520 cat <<\_ACEOF
2522 Optional Features:
2523 --disable-option-checking ignore unrecognized --enable/--with options
2524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2526 --disable-win16 do not include Win16 support
2527 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2528 binaries)
2529 --disable-tests do not build the regression tests
2530 --enable-maintainer-mode
2531 enable maintainer-specific build rules
2532 --disable-largefile omit support for large files
2534 Optional Packages:
2535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2537 --without-alsa do not use the Alsa sound support
2538 --without-capi do not use CAPI (ISDN support)
2539 --without-cms do not use CMS (color management support)
2540 --without-coreaudio do not use the CoreAudio sound support
2541 --without-cups do not use CUPS
2542 --without-curses do not use (n)curses
2543 --without-dbus do not use DBus (dynamic device support)
2544 --without-faudio do not use FAudio (XAudio2 support)
2545 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2546 --without-fontconfig do not use fontconfig
2547 --without-freetype do not use the FreeType library
2548 --without-gettext do not use gettext
2549 --with-gettextpo use the GetTextPO library to rebuild po files
2550 --without-gphoto do not use gphoto (Digital Camera support)
2551 --without-glu do not use the GLU library
2552 --without-gnutls do not use GnuTLS (schannel support)
2553 --without-gsm do not use libgsm (GSM 06.10 codec support)
2554 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2555 --without-gstreamer do not use GStreamer (codecs support)
2556 --without-hal do not use HAL (dynamic device support)
2557 --without-inotify do not use inotify (filesystem change notifications)
2558 --without-jpeg do not use JPEG
2559 --without-krb5 do not use krb5 (Kerberos)
2560 --without-ldap do not use LDAP
2561 --without-mingw do not use the MinGW cross-compiler
2562 --without-mpg123 do not use the mpg123 library
2563 --without-netapi do not use the Samba NetAPI library
2564 --without-openal do not use OpenAL
2565 --without-opencl do not use OpenCL
2566 --without-opengl do not use OpenGL
2567 --without-osmesa do not use the OSMesa library
2568 --without-oss do not use the OSS sound support
2569 --without-pcap do not use the Packet Capture library
2570 --without-png do not use PNG
2571 --without-pthread do not use the pthread library
2572 --without-pulse do not use PulseAudio sound support
2573 --without-sane do not use SANE (scanner support)
2574 --without-sdl do not use SDL
2575 --without-tiff do not use TIFF
2576 --without-udev do not use udev (plug and play support)
2577 --without-unwind do not use the libunwind library (exception
2578 handling)
2579 --without-v4l2 do not use v4l2 (video capture)
2580 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2581 --without-vulkan do not use Vulkan
2582 --without-xcomposite do not use the Xcomposite extension
2583 --without-xcursor do not use the Xcursor extension
2584 --without-xfixes do not use Xfixes for clipboard change notifications
2585 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2586 --without-xinput do not use the Xinput extension
2587 --without-xinput2 do not use the Xinput 2 extension
2588 --without-xml do not use XML
2589 --without-xrandr do not use Xrandr (multi-monitor support)
2590 --without-xrender do not use the Xrender extension
2591 --without-xshape do not use the Xshape extension
2592 --without-xshm do not use XShm (shared memory extension)
2593 --without-xslt do not use XSLT
2594 --without-xxf86vm do not use XFree video mode extension
2595 --without-zlib do not use Zlib (data compression)
2596 --with-wine-tools=DIR use Wine tools from directory DIR
2597 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2598 --with-x use the X Window System
2600 Some influential environment variables:
2601 CC C compiler command
2602 CFLAGS C compiler flags
2603 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2604 nonstandard directory <lib dir>
2605 LIBS libraries to pass to the linker, e.g. -l<library>
2606 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2607 you have headers in a nonstandard directory <include dir>
2608 CXX C++ compiler command
2609 CXXFLAGS C++ compiler flags
2610 CPP C preprocessor
2611 OBJC Objective C compiler command
2612 OBJCFLAGS Objective C compiler flags
2613 OBJCPP Objective C preprocessor
2614 XMKMF Path to xmkmf, Makefile generator for X Window System
2615 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2616 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2617 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2618 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2619 INOTIFY_CFLAGS
2620 C compiler flags for libinotify, overriding pkg-config
2621 INOTIFY_LIBS
2622 Linker flags for libinotify, overriding pkg-config
2623 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2624 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2625 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2626 HAL_LIBS Linker flags for hal, overriding pkg-config
2627 GNUTLS_CFLAGS
2628 C compiler flags for gnutls, overriding pkg-config
2629 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2630 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2631 SANE_LIBS Linker flags for libsane, overriding pkg-config
2632 GPHOTO2_CFLAGS
2633 C compiler flags for libgphoto2, overriding pkg-config
2634 GPHOTO2_LIBS
2635 Linker flags for libgphoto2, overriding pkg-config
2636 GPHOTO2_PORT_CFLAGS
2637 C compiler flags for libgphoto2_port, overriding pkg-config
2638 GPHOTO2_PORT_LIBS
2639 Linker flags for libgphoto2_port, overriding pkg-config
2640 LCMS2_CFLAGS
2641 C compiler flags for lcms2, overriding pkg-config
2642 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2643 FREETYPE_CFLAGS
2644 C compiler flags for freetype2, overriding pkg-config
2645 FREETYPE_LIBS
2646 Linker flags for freetype2, overriding pkg-config
2647 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2648 Z_LIBS Linker flags for libz, overriding pkg-config
2649 PULSE_CFLAGS
2650 C compiler flags for libpulse, overriding pkg-config
2651 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2652 GSTREAMER_CFLAGS
2653 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2654 gstreamer-audio-1.0, overriding pkg-config
2655 GSTREAMER_LIBS
2656 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2657 gstreamer-audio-1.0, overriding pkg-config
2658 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2659 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2660 UNWIND_CFLAGS
2661 C compiler flags for libunwind, overriding pkg-config
2662 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2663 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2664 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2665 FAUDIO_CFLAGS
2666 C compiler flags for faudio, overriding pkg-config
2667 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2668 CAPI20_CFLAGS
2669 C compiler flags for capi20, overriding pkg-config
2670 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2671 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2672 CUPS_LIBS Linker flags for cups, overriding pkg-config
2673 FONTCONFIG_CFLAGS
2674 C compiler flags for fontconfig, overriding pkg-config
2675 FONTCONFIG_LIBS
2676 Linker flags for fontconfig, overriding pkg-config
2677 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2678 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2679 GSSAPI_CFLAGS
2680 C compiler flags for krb5-gssapi, overriding pkg-config
2681 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2682 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2683 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2684 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2685 PNG_LIBS Linker flags for libpng, overriding pkg-config
2686 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2687 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2688 MPG123_CFLAGS
2689 C compiler flags for libmpg123, overriding pkg-config
2690 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2691 NETAPI_CFLAGS
2692 C compiler flags for netapi, overriding pkg-config
2693 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2694 VKD3D_CFLAGS
2695 C compiler flags for libvkd3d, overriding pkg-config
2696 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2697 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2698 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2700 Use these variables to override the choices made by `configure' or to help
2701 it to find libraries and programs with nonstandard names/locations.
2703 Report bugs to <wine-devel@winehq.org>.
2704 Wine home page: <https://www.winehq.org>.
2705 _ACEOF
2706 ac_status=$?
2709 if test "$ac_init_help" = "recursive"; then
2710 # If there are subdirs, report their specific --help.
2711 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2712 test -d "$ac_dir" ||
2713 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2714 continue
2715 ac_builddir=.
2717 case "$ac_dir" in
2718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2720 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2721 # A ".." for each directory in $ac_dir_suffix.
2722 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2723 case $ac_top_builddir_sub in
2724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2725 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2726 esac ;;
2727 esac
2728 ac_abs_top_builddir=$ac_pwd
2729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2730 # for backward compatibility:
2731 ac_top_builddir=$ac_top_build_prefix
2733 case $srcdir in
2734 .) # We are building in place.
2735 ac_srcdir=.
2736 ac_top_srcdir=$ac_top_builddir_sub
2737 ac_abs_top_srcdir=$ac_pwd ;;
2738 [\\/]* | ?:[\\/]* ) # Absolute name.
2739 ac_srcdir=$srcdir$ac_dir_suffix;
2740 ac_top_srcdir=$srcdir
2741 ac_abs_top_srcdir=$srcdir ;;
2742 *) # Relative name.
2743 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2744 ac_top_srcdir=$ac_top_build_prefix$srcdir
2745 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2746 esac
2747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2749 cd "$ac_dir" || { ac_status=$?; continue; }
2750 # Check for guested configure.
2751 if test -f "$ac_srcdir/configure.gnu"; then
2752 echo &&
2753 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2754 elif test -f "$ac_srcdir/configure"; then
2755 echo &&
2756 $SHELL "$ac_srcdir/configure" --help=recursive
2757 else
2758 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2759 fi || ac_status=$?
2760 cd "$ac_pwd" || { ac_status=$?; break; }
2761 done
2764 test -n "$ac_init_help" && exit $ac_status
2765 if $ac_init_version; then
2766 cat <<\_ACEOF
2767 Wine configure 5.0
2768 generated by GNU Autoconf 2.69
2770 Copyright (C) 2012 Free Software Foundation, Inc.
2771 This configure script is free software; the Free Software Foundation
2772 gives unlimited permission to copy, distribute and modify it.
2773 _ACEOF
2774 exit
2777 ## ------------------------ ##
2778 ## Autoconf initialization. ##
2779 ## ------------------------ ##
2781 # ac_fn_c_try_compile LINENO
2782 # --------------------------
2783 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2784 ac_fn_c_try_compile ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 rm -f conftest.$ac_objext
2788 if { { ac_try="$ac_compile"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_compile") 2>conftest.err
2796 ac_status=$?
2797 if test -s conftest.err; then
2798 grep -v '^ *+' conftest.err >conftest.er1
2799 cat conftest.er1 >&5
2800 mv -f conftest.er1 conftest.err
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; } && {
2804 test -z "$ac_c_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest.$ac_objext; then :
2807 ac_retval=0
2808 else
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2812 ac_retval=1
2814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 as_fn_set_status $ac_retval
2817 } # ac_fn_c_try_compile
2819 # ac_fn_cxx_try_compile LINENO
2820 # ----------------------------
2821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2822 ac_fn_cxx_try_compile ()
2824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2825 rm -f conftest.$ac_objext
2826 if { { ac_try="$ac_compile"
2827 case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compile") 2>conftest.err
2834 ac_status=$?
2835 if test -s conftest.err; then
2836 grep -v '^ *+' conftest.err >conftest.er1
2837 cat conftest.er1 >&5
2838 mv -f conftest.er1 conftest.err
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; } && {
2842 test -z "$ac_cxx_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.$ac_objext; then :
2845 ac_retval=0
2846 else
2847 $as_echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 ac_retval=1
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2853 as_fn_set_status $ac_retval
2855 } # ac_fn_cxx_try_compile
2857 # ac_fn_c_try_link LINENO
2858 # -----------------------
2859 # Try to link conftest.$ac_ext, and return whether this succeeded.
2860 ac_fn_c_try_link ()
2862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2863 rm -f conftest.$ac_objext conftest$ac_exeext
2864 if { { ac_try="$ac_link"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_link") 2>conftest.err
2872 ac_status=$?
2873 if test -s conftest.err; then
2874 grep -v '^ *+' conftest.err >conftest.er1
2875 cat conftest.er1 >&5
2876 mv -f conftest.er1 conftest.err
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; } && {
2880 test -z "$ac_c_werror_flag" ||
2881 test ! -s conftest.err
2882 } && test -s conftest$ac_exeext && {
2883 test "$cross_compiling" = yes ||
2884 test -x conftest$ac_exeext
2885 }; then :
2886 ac_retval=0
2887 else
2888 $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 ac_retval=1
2893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2895 # interfere with the next link command; also delete a directory that is
2896 # left behind by Apple's compiler. We do this before executing the actions.
2897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2899 as_fn_set_status $ac_retval
2901 } # ac_fn_c_try_link
2903 # ac_fn_c_try_cpp LINENO
2904 # ----------------------
2905 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2906 ac_fn_c_try_cpp ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 if { { ac_try="$ac_cpp conftest.$ac_ext"
2910 case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2917 ac_status=$?
2918 if test -s conftest.err; then
2919 grep -v '^ *+' conftest.err >conftest.er1
2920 cat conftest.er1 >&5
2921 mv -f conftest.er1 conftest.err
2923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2924 test $ac_status = 0; } > conftest.i && {
2925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 }; then :
2928 ac_retval=0
2929 else
2930 $as_echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 ac_retval=1
2935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2936 as_fn_set_status $ac_retval
2938 } # ac_fn_c_try_cpp
2940 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2941 # -------------------------------------------------------
2942 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2943 # the include files in INCLUDES and setting the cache variable VAR
2944 # accordingly.
2945 ac_fn_c_check_header_mongrel ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 if eval \${$3+:} false; then :
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2950 $as_echo_n "checking for $2... " >&6; }
2951 if eval \${$3+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 eval ac_res=\$$3
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2956 $as_echo "$ac_res" >&6; }
2957 else
2958 # Is the header compilable?
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2960 $as_echo_n "checking $2 usability... " >&6; }
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2964 #include <$2>
2965 _ACEOF
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 ac_header_compiler=yes
2968 else
2969 ac_header_compiler=no
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2973 $as_echo "$ac_header_compiler" >&6; }
2975 # Is the header present?
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2977 $as_echo_n "checking $2 presence... " >&6; }
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_cpp "$LINENO"; then :
2983 ac_header_preproc=yes
2984 else
2985 ac_header_preproc=no
2987 rm -f conftest.err conftest.i conftest.$ac_ext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2989 $as_echo "$ac_header_preproc" >&6; }
2991 # So? What about this header?
2992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2993 yes:no: )
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2995 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2997 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2999 no:yes:* )
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3001 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3003 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3005 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3007 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3009 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3010 ( $as_echo "## ------------------------------------ ##
3011 ## Report this to wine-devel@winehq.org ##
3012 ## ------------------------------------ ##"
3013 ) | sed "s/^/$as_me: WARNING: /" >&2
3015 esac
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 eval "$3=\$ac_header_compiler"
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_header_mongrel
3031 # ac_fn_c_try_run LINENO
3032 # ----------------------
3033 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3034 # that executables *can* be run.
3035 ac_fn_c_try_run ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 if { { ac_try="$ac_link"
3039 case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042 esac
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_link") 2>&5
3046 ac_status=$?
3047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3049 { { case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052 esac
3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_try") 2>&5
3056 ac_status=$?
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }; }; then :
3059 ac_retval=0
3060 else
3061 $as_echo "$as_me: program exited with status $ac_status" >&5
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 ac_retval=$ac_status
3067 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 as_fn_set_status $ac_retval
3071 } # ac_fn_c_try_run
3073 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3074 # -------------------------------------------------------
3075 # Tests whether HEADER exists and can be compiled using the include files in
3076 # INCLUDES, setting the cache variable VAR accordingly.
3077 ac_fn_c_check_header_compile ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3081 $as_echo_n "checking for $2... " >&6; }
3082 if eval \${$3+:} false; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3088 #include <$2>
3089 _ACEOF
3090 if ac_fn_c_try_compile "$LINENO"; then :
3091 eval "$3=yes"
3092 else
3093 eval "$3=no"
3095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 eval ac_res=\$$3
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3099 $as_echo "$ac_res" >&6; }
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 } # ac_fn_c_check_header_compile
3104 # ac_fn_objc_try_compile LINENO
3105 # -----------------------------
3106 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3107 ac_fn_objc_try_compile ()
3109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3110 rm -f conftest.$ac_objext
3111 if { { ac_try="$ac_compile"
3112 case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3115 esac
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_compile") 2>conftest.err
3119 ac_status=$?
3120 if test -s conftest.err; then
3121 grep -v '^ *+' conftest.err >conftest.er1
3122 cat conftest.er1 >&5
3123 mv -f conftest.er1 conftest.err
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; } && {
3127 test -z "$ac_objc_werror_flag" ||
3128 test ! -s conftest.err
3129 } && test -s conftest.$ac_objext; then :
3130 ac_retval=0
3131 else
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 ac_retval=1
3137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3138 as_fn_set_status $ac_retval
3140 } # ac_fn_objc_try_compile
3142 # ac_fn_objc_try_cpp LINENO
3143 # -------------------------
3144 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3145 ac_fn_objc_try_cpp ()
3147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3148 if { { ac_try="$ac_cpp conftest.$ac_ext"
3149 case "(($ac_try" in
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3152 esac
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3156 ac_status=$?
3157 if test -s conftest.err; then
3158 grep -v '^ *+' conftest.err >conftest.er1
3159 cat conftest.er1 >&5
3160 mv -f conftest.er1 conftest.err
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; } > conftest.i && {
3164 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3165 test ! -s conftest.err
3166 }; then :
3167 ac_retval=0
3168 else
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 ac_retval=1
3174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3175 as_fn_set_status $ac_retval
3177 } # ac_fn_objc_try_cpp
3179 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3180 # ----------------------------------------------------------
3181 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3182 # the include files in INCLUDES and setting the cache variable VAR
3183 # accordingly.
3184 ac_fn_objc_check_header_mongrel ()
3186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3187 if eval \${$3+:} false; then :
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3189 $as_echo_n "checking for $2... " >&6; }
3190 if eval \${$3+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 eval ac_res=\$$3
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3195 $as_echo "$ac_res" >&6; }
3196 else
3197 # Is the header compilable?
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3199 $as_echo_n "checking $2 usability... " >&6; }
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3203 #include <$2>
3204 _ACEOF
3205 if ac_fn_objc_try_compile "$LINENO"; then :
3206 ac_header_compiler=yes
3207 else
3208 ac_header_compiler=no
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3212 $as_echo "$ac_header_compiler" >&6; }
3214 # Is the header present?
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3216 $as_echo_n "checking $2 presence... " >&6; }
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3219 #include <$2>
3220 _ACEOF
3221 if ac_fn_objc_try_cpp "$LINENO"; then :
3222 ac_header_preproc=yes
3223 else
3224 ac_header_preproc=no
3226 rm -f conftest.err conftest.i conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3228 $as_echo "$ac_header_preproc" >&6; }
3230 # So? What about this header?
3231 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3232 yes:no: )
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3234 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3236 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3238 no:yes:* )
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3240 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3242 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3244 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3246 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3248 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3249 ( $as_echo "## ------------------------------------ ##
3250 ## Report this to wine-devel@winehq.org ##
3251 ## ------------------------------------ ##"
3252 ) | sed "s/^/$as_me: WARNING: /" >&2
3254 esac
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3256 $as_echo_n "checking for $2... " >&6; }
3257 if eval \${$3+:} false; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 eval "$3=\$ac_header_compiler"
3262 eval ac_res=\$$3
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3264 $as_echo "$ac_res" >&6; }
3266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3268 } # ac_fn_objc_check_header_mongrel
3270 # ac_fn_c_check_func LINENO FUNC VAR
3271 # ----------------------------------
3272 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3273 ac_fn_c_check_func ()
3275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3277 $as_echo_n "checking for $2... " >&6; }
3278 if eval \${$3+:} false; then :
3279 $as_echo_n "(cached) " >&6
3280 else
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3283 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3285 #define $2 innocuous_$2
3287 /* System header to define __stub macros and hopefully few prototypes,
3288 which can conflict with char $2 (); below.
3289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3290 <limits.h> exists even on freestanding compilers. */
3292 #ifdef __STDC__
3293 # include <limits.h>
3294 #else
3295 # include <assert.h>
3296 #endif
3298 #undef $2
3300 /* Override any GCC internal prototype to avoid an error.
3301 Use char because int might match the return type of a GCC
3302 builtin and then its argument prototype would still apply. */
3303 #ifdef __cplusplus
3304 extern "C"
3305 #endif
3306 char $2 ();
3307 /* The GNU C library defines this for functions which it implements
3308 to always fail with ENOSYS. Some functions are actually named
3309 something starting with __ and the normal name is an alias. */
3310 #if defined __stub_$2 || defined __stub___$2
3311 choke me
3312 #endif
3315 main ()
3317 return $2 ();
3319 return 0;
3321 _ACEOF
3322 if ac_fn_c_try_link "$LINENO"; then :
3323 eval "$3=yes"
3324 else
3325 eval "$3=no"
3327 rm -f core conftest.err conftest.$ac_objext \
3328 conftest$ac_exeext conftest.$ac_ext
3330 eval ac_res=\$$3
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3332 $as_echo "$ac_res" >&6; }
3333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3335 } # ac_fn_c_check_func
3337 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3338 # ----------------------------------------------------
3339 # Tries to find if the field MEMBER exists in type AGGR, after including
3340 # INCLUDES, setting cache variable VAR accordingly.
3341 ac_fn_c_check_member ()
3343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3345 $as_echo_n "checking for $2.$3... " >&6; }
3346 if eval \${$4+:} false; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 main ()
3355 static $2 ac_aggr;
3356 if (ac_aggr.$3)
3357 return 0;
3359 return 0;
3361 _ACEOF
3362 if ac_fn_c_try_compile "$LINENO"; then :
3363 eval "$4=yes"
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3371 static $2 ac_aggr;
3372 if (sizeof ac_aggr.$3)
3373 return 0;
3375 return 0;
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 eval "$4=yes"
3380 else
3381 eval "$4=no"
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 eval ac_res=\$$4
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3389 $as_echo "$ac_res" >&6; }
3390 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3392 } # ac_fn_c_check_member
3394 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3395 # -------------------------------------------
3396 # Tests whether TYPE exists after having included INCLUDES, setting cache
3397 # variable VAR accordingly.
3398 ac_fn_c_check_type ()
3400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3402 $as_echo_n "checking for $2... " >&6; }
3403 if eval \${$3+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 eval "$3=no"
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3411 main ()
3413 if (sizeof ($2))
3414 return 0;
3416 return 0;
3418 _ACEOF
3419 if ac_fn_c_try_compile "$LINENO"; then :
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 main ()
3426 if (sizeof (($2)))
3427 return 0;
3429 return 0;
3431 _ACEOF
3432 if ac_fn_c_try_compile "$LINENO"; then :
3434 else
3435 eval "$3=yes"
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 eval ac_res=\$$3
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3443 $as_echo "$ac_res" >&6; }
3444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3446 } # ac_fn_c_check_type
3447 cat >config.log <<_ACEOF
3448 This file contains any messages produced by compilers while
3449 running configure, to aid debugging if configure makes a mistake.
3451 It was created by Wine $as_me 5.0, which was
3452 generated by GNU Autoconf 2.69. Invocation command line was
3454 $ $0 $@
3456 _ACEOF
3457 exec 5>>config.log
3459 cat <<_ASUNAME
3460 ## --------- ##
3461 ## Platform. ##
3462 ## --------- ##
3464 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3465 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3466 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3467 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3468 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3470 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3471 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3473 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3474 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3475 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3476 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3477 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3478 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3479 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3481 _ASUNAME
3483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 for as_dir in $PATH
3486 IFS=$as_save_IFS
3487 test -z "$as_dir" && as_dir=.
3488 $as_echo "PATH: $as_dir"
3489 done
3490 IFS=$as_save_IFS
3492 } >&5
3494 cat >&5 <<_ACEOF
3497 ## ----------- ##
3498 ## Core tests. ##
3499 ## ----------- ##
3501 _ACEOF
3504 # Keep a trace of the command line.
3505 # Strip out --no-create and --no-recursion so they do not pile up.
3506 # Strip out --silent because we don't want to record it for future runs.
3507 # Also quote any args containing shell meta-characters.
3508 # Make two passes to allow for proper duplicate-argument suppression.
3509 ac_configure_args=
3510 ac_configure_args0=
3511 ac_configure_args1=
3512 ac_must_keep_next=false
3513 for ac_pass in 1 2
3515 for ac_arg
3517 case $ac_arg in
3518 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3520 | -silent | --silent | --silen | --sile | --sil)
3521 continue ;;
3522 *\'*)
3523 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3524 esac
3525 case $ac_pass in
3526 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3528 as_fn_append ac_configure_args1 " '$ac_arg'"
3529 if test $ac_must_keep_next = true; then
3530 ac_must_keep_next=false # Got value, back to normal.
3531 else
3532 case $ac_arg in
3533 *=* | --config-cache | -C | -disable-* | --disable-* \
3534 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3535 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3536 | -with-* | --with-* | -without-* | --without-* | --x)
3537 case "$ac_configure_args0 " in
3538 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3539 esac
3541 -* ) ac_must_keep_next=true ;;
3542 esac
3544 as_fn_append ac_configure_args " '$ac_arg'"
3546 esac
3547 done
3548 done
3549 { ac_configure_args0=; unset ac_configure_args0;}
3550 { ac_configure_args1=; unset ac_configure_args1;}
3552 # When interrupted or exit'd, cleanup temporary files, and complete
3553 # config.log. We remove comments because anyway the quotes in there
3554 # would cause problems or look ugly.
3555 # WARNING: Use '\'' to represent an apostrophe within the trap.
3556 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3557 trap 'exit_status=$?
3558 # Save into config.log some information that might help in debugging.
3560 echo
3562 $as_echo "## ---------------- ##
3563 ## Cache variables. ##
3564 ## ---------------- ##"
3565 echo
3566 # The following way of writing the cache mishandles newlines in values,
3568 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3569 eval ac_val=\$$ac_var
3570 case $ac_val in #(
3571 *${as_nl}*)
3572 case $ac_var in #(
3573 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3574 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3575 esac
3576 case $ac_var in #(
3577 _ | IFS | as_nl) ;; #(
3578 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3579 *) { eval $ac_var=; unset $ac_var;} ;;
3580 esac ;;
3581 esac
3582 done
3583 (set) 2>&1 |
3584 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3585 *${as_nl}ac_space=\ *)
3586 sed -n \
3587 "s/'\''/'\''\\\\'\'''\''/g;
3588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3589 ;; #(
3591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3593 esac |
3594 sort
3596 echo
3598 $as_echo "## ----------------- ##
3599 ## Output variables. ##
3600 ## ----------------- ##"
3601 echo
3602 for ac_var in $ac_subst_vars
3604 eval ac_val=\$$ac_var
3605 case $ac_val in
3606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3607 esac
3608 $as_echo "$ac_var='\''$ac_val'\''"
3609 done | sort
3610 echo
3612 if test -n "$ac_subst_files"; then
3613 $as_echo "## ------------------- ##
3614 ## File substitutions. ##
3615 ## ------------------- ##"
3616 echo
3617 for ac_var in $ac_subst_files
3619 eval ac_val=\$$ac_var
3620 case $ac_val in
3621 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3622 esac
3623 $as_echo "$ac_var='\''$ac_val'\''"
3624 done | sort
3625 echo
3628 if test -s confdefs.h; then
3629 $as_echo "## ----------- ##
3630 ## confdefs.h. ##
3631 ## ----------- ##"
3632 echo
3633 cat confdefs.h
3634 echo
3636 test "$ac_signal" != 0 &&
3637 $as_echo "$as_me: caught signal $ac_signal"
3638 $as_echo "$as_me: exit $exit_status"
3639 } >&5
3640 rm -f core *.core core.conftest.* &&
3641 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3642 exit $exit_status
3644 for ac_signal in 1 2 13 15; do
3645 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3646 done
3647 ac_signal=0
3649 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3650 rm -f -r conftest* confdefs.h
3652 $as_echo "/* confdefs.h */" > confdefs.h
3654 # Predefined preprocessor variables.
3656 cat >>confdefs.h <<_ACEOF
3657 #define PACKAGE_NAME "$PACKAGE_NAME"
3658 _ACEOF
3660 cat >>confdefs.h <<_ACEOF
3661 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3662 _ACEOF
3664 cat >>confdefs.h <<_ACEOF
3665 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3666 _ACEOF
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE_STRING "$PACKAGE_STRING"
3670 _ACEOF
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_URL "$PACKAGE_URL"
3678 _ACEOF
3681 # Let the site file select an alternate cache file if it wants to.
3682 # Prefer an explicitly selected file to automatically selected ones.
3683 ac_site_file1=NONE
3684 ac_site_file2=NONE
3685 if test -n "$CONFIG_SITE"; then
3686 # We do not want a PATH search for config.site.
3687 case $CONFIG_SITE in #((
3688 -*) ac_site_file1=./$CONFIG_SITE;;
3689 */*) ac_site_file1=$CONFIG_SITE;;
3690 *) ac_site_file1=./$CONFIG_SITE;;
3691 esac
3692 elif test "x$prefix" != xNONE; then
3693 ac_site_file1=$prefix/share/config.site
3694 ac_site_file2=$prefix/etc/config.site
3695 else
3696 ac_site_file1=$ac_default_prefix/share/config.site
3697 ac_site_file2=$ac_default_prefix/etc/config.site
3699 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3701 test "x$ac_site_file" = xNONE && continue
3702 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3704 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3705 sed 's/^/| /' "$ac_site_file" >&5
3706 . "$ac_site_file" \
3707 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_error $? "failed to load site script $ac_site_file
3710 See \`config.log' for more details" "$LINENO" 5; }
3712 done
3714 if test -r "$cache_file"; then
3715 # Some versions of bash will fail to source /dev/null (special files
3716 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3717 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3719 $as_echo "$as_me: loading cache $cache_file" >&6;}
3720 case $cache_file in
3721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3722 *) . "./$cache_file";;
3723 esac
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3727 $as_echo "$as_me: creating cache $cache_file" >&6;}
3728 >$cache_file
3731 # Check that the precious variables saved in the cache have kept the same
3732 # value.
3733 ac_cache_corrupted=false
3734 for ac_var in $ac_precious_vars; do
3735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3736 eval ac_new_set=\$ac_env_${ac_var}_set
3737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3738 eval ac_new_val=\$ac_env_${ac_var}_value
3739 case $ac_old_set,$ac_new_set in
3740 set,)
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3743 ac_cache_corrupted=: ;;
3744 ,set)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3747 ac_cache_corrupted=: ;;
3748 ,);;
3750 if test "x$ac_old_val" != "x$ac_new_val"; then
3751 # differences in whitespace do not lead to failure.
3752 ac_old_val_w=`echo x $ac_old_val`
3753 ac_new_val_w=`echo x $ac_new_val`
3754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3757 ac_cache_corrupted=:
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3761 eval $ac_var=\$ac_old_val
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3764 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3767 fi;;
3768 esac
3769 # Pass precious variables to config.status.
3770 if test "$ac_new_set" = set; then
3771 case $ac_new_val in
3772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3773 *) ac_arg=$ac_var=$ac_new_val ;;
3774 esac
3775 case " $ac_configure_args " in
3776 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3777 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3778 esac
3780 done
3781 if $ac_cache_corrupted; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3786 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3788 ## -------------------- ##
3789 ## Main body of script. ##
3790 ## -------------------- ##
3792 ac_ext=c
3793 ac_cpp='$CPP $CPPFLAGS'
3794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 ac_config_headers="$ac_config_headers include/config.h"
3802 ac_aux_dir=
3803 for ac_dir in tools "$srcdir"/tools; do
3804 if test -f "$ac_dir/install-sh"; then
3805 ac_aux_dir=$ac_dir
3806 ac_install_sh="$ac_aux_dir/install-sh -c"
3807 break
3808 elif test -f "$ac_dir/install.sh"; then
3809 ac_aux_dir=$ac_dir
3810 ac_install_sh="$ac_aux_dir/install.sh -c"
3811 break
3812 elif test -f "$ac_dir/shtool"; then
3813 ac_aux_dir=$ac_dir
3814 ac_install_sh="$ac_aux_dir/shtool install -c"
3815 break
3817 done
3818 if test -z "$ac_aux_dir"; then
3819 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3822 # These three variables are undocumented and unsupported,
3823 # and are intended to be withdrawn in a future Autoconf release.
3824 # They can cause serious problems if a builder's source tree is in a directory
3825 # whose full name contains unusual characters.
3826 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3827 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3828 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3832 libwine_version="1.0"
3836 # Check whether --enable-win16 was given.
3837 if test "${enable_win16+set}" = set; then :
3838 enableval=$enable_win16;
3841 # Check whether --enable-win64 was given.
3842 if test "${enable_win64+set}" = set; then :
3843 enableval=$enable_win64;
3846 # Check whether --enable-tests was given.
3847 if test "${enable_tests+set}" = set; then :
3848 enableval=$enable_tests;
3851 # Check whether --enable-maintainer-mode was given.
3852 if test "${enable_maintainer_mode+set}" = set; then :
3853 enableval=$enable_maintainer_mode;
3858 # Check whether --with-alsa was given.
3859 if test "${with_alsa+set}" = set; then :
3860 withval=$with_alsa;
3864 # Check whether --with-capi was given.
3865 if test "${with_capi+set}" = set; then :
3866 withval=$with_capi;
3870 # Check whether --with-cms was given.
3871 if test "${with_cms+set}" = set; then :
3872 withval=$with_cms;
3876 # Check whether --with-coreaudio was given.
3877 if test "${with_coreaudio+set}" = set; then :
3878 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3882 # Check whether --with-cups was given.
3883 if test "${with_cups+set}" = set; then :
3884 withval=$with_cups;
3888 # Check whether --with-curses was given.
3889 if test "${with_curses+set}" = set; then :
3890 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3894 # Check whether --with-dbus was given.
3895 if test "${with_dbus+set}" = set; then :
3896 withval=$with_dbus;
3900 # Check whether --with-faudio was given.
3901 if test "${with_faudio+set}" = set; then :
3902 withval=$with_faudio;
3906 # Check whether --with-float-abi was given.
3907 if test "${with_float_abi+set}" = set; then :
3908 withval=$with_float_abi;
3912 # Check whether --with-fontconfig was given.
3913 if test "${with_fontconfig+set}" = set; then :
3914 withval=$with_fontconfig;
3918 # Check whether --with-freetype was given.
3919 if test "${with_freetype+set}" = set; then :
3920 withval=$with_freetype;
3924 # Check whether --with-gettext was given.
3925 if test "${with_gettext+set}" = set; then :
3926 withval=$with_gettext;
3930 # Check whether --with-gettextpo was given.
3931 if test "${with_gettextpo+set}" = set; then :
3932 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3936 # Check whether --with-gphoto was given.
3937 if test "${with_gphoto+set}" = set; then :
3938 withval=$with_gphoto;
3942 # Check whether --with-glu was given.
3943 if test "${with_glu+set}" = set; then :
3944 withval=$with_glu;
3948 # Check whether --with-gnutls was given.
3949 if test "${with_gnutls+set}" = set; then :
3950 withval=$with_gnutls;
3954 # Check whether --with-gsm was given.
3955 if test "${with_gsm+set}" = set; then :
3956 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3960 # Check whether --with-gssapi was given.
3961 if test "${with_gssapi+set}" = set; then :
3962 withval=$with_gssapi;
3966 # Check whether --with-gstreamer was given.
3967 if test "${with_gstreamer+set}" = set; then :
3968 withval=$with_gstreamer;
3972 # Check whether --with-hal was given.
3973 if test "${with_hal+set}" = set; then :
3974 withval=$with_hal;
3978 # Check whether --with-inotify was given.
3979 if test "${with_inotify+set}" = set; then :
3980 withval=$with_inotify;
3984 # Check whether --with-jpeg was given.
3985 if test "${with_jpeg+set}" = set; then :
3986 withval=$with_jpeg;
3990 # Check whether --with-krb5 was given.
3991 if test "${with_krb5+set}" = set; then :
3992 withval=$with_krb5;
3996 # Check whether --with-ldap was given.
3997 if test "${with_ldap+set}" = set; then :
3998 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4002 # Check whether --with-mingw was given.
4003 if test "${with_mingw+set}" = set; then :
4004 withval=$with_mingw;
4008 # Check whether --with-mpg123 was given.
4009 if test "${with_mpg123+set}" = set; then :
4010 withval=$with_mpg123;
4014 # Check whether --with-netapi was given.
4015 if test "${with_netapi+set}" = set; then :
4016 withval=$with_netapi;
4020 # Check whether --with-openal was given.
4021 if test "${with_openal+set}" = set; then :
4022 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4026 # Check whether --with-opencl was given.
4027 if test "${with_opencl+set}" = set; then :
4028 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4032 # Check whether --with-opengl was given.
4033 if test "${with_opengl+set}" = set; then :
4034 withval=$with_opengl;
4038 # Check whether --with-osmesa was given.
4039 if test "${with_osmesa+set}" = set; then :
4040 withval=$with_osmesa;
4044 # Check whether --with-oss was given.
4045 if test "${with_oss+set}" = set; then :
4046 withval=$with_oss;
4050 # Check whether --with-pcap was given.
4051 if test "${with_pcap+set}" = set; then :
4052 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4056 # Check whether --with-png was given.
4057 if test "${with_png+set}" = set; then :
4058 withval=$with_png;
4062 # Check whether --with-pthread was given.
4063 if test "${with_pthread+set}" = set; then :
4064 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4068 # Check whether --with-pulse was given.
4069 if test "${with_pulse+set}" = set; then :
4070 withval=$with_pulse;
4074 # Check whether --with-sane was given.
4075 if test "${with_sane+set}" = set; then :
4076 withval=$with_sane;
4080 # Check whether --with-sdl was given.
4081 if test "${with_sdl+set}" = set; then :
4082 withval=$with_sdl;
4086 # Check whether --with-tiff was given.
4087 if test "${with_tiff+set}" = set; then :
4088 withval=$with_tiff;
4092 # Check whether --with-udev was given.
4093 if test "${with_udev+set}" = set; then :
4094 withval=$with_udev;
4098 # Check whether --with-unwind was given.
4099 if test "${with_unwind+set}" = set; then :
4100 withval=$with_unwind;
4104 # Check whether --with-v4l2 was given.
4105 if test "${with_v4l2+set}" = set; then :
4106 withval=$with_v4l2;
4110 # Check whether --with-vkd3d was given.
4111 if test "${with_vkd3d+set}" = set; then :
4112 withval=$with_vkd3d;
4116 # Check whether --with-vulkan was given.
4117 if test "${with_vulkan+set}" = set; then :
4118 withval=$with_vulkan;
4122 # Check whether --with-xcomposite was given.
4123 if test "${with_xcomposite+set}" = set; then :
4124 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4128 # Check whether --with-xcursor was given.
4129 if test "${with_xcursor+set}" = set; then :
4130 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4134 # Check whether --with-xfixes was given.
4135 if test "${with_xfixes+set}" = set; then :
4136 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4140 # Check whether --with-xinerama was given.
4141 if test "${with_xinerama+set}" = set; then :
4142 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4146 # Check whether --with-xinput was given.
4147 if test "${with_xinput+set}" = set; then :
4148 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4152 # Check whether --with-xinput2 was given.
4153 if test "${with_xinput2+set}" = set; then :
4154 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4158 # Check whether --with-xml was given.
4159 if test "${with_xml+set}" = set; then :
4160 withval=$with_xml;
4164 # Check whether --with-xrandr was given.
4165 if test "${with_xrandr+set}" = set; then :
4166 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4170 # Check whether --with-xrender was given.
4171 if test "${with_xrender+set}" = set; then :
4172 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4176 # Check whether --with-xshape was given.
4177 if test "${with_xshape+set}" = set; then :
4178 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4182 # Check whether --with-xshm was given.
4183 if test "${with_xshm+set}" = set; then :
4184 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4188 # Check whether --with-xslt was given.
4189 if test "${with_xslt+set}" = set; then :
4190 withval=$with_xslt;
4194 # Check whether --with-xxf86vm was given.
4195 if test "${with_xxf86vm+set}" = set; then :
4196 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
4200 # Check whether --with-zlib was given.
4201 if test "${with_zlib+set}" = set; then :
4202 withval=$with_zlib;
4207 # Check whether --with-wine-tools was given.
4208 if test "${with_wine_tools+set}" = set; then :
4209 withval=$with_wine_tools;
4213 # Check whether --with-wine64 was given.
4214 if test "${with_wine64+set}" = set; then :
4215 withval=$with_wine64;
4219 # Make sure we can run config.sub.
4220 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4221 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4224 $as_echo_n "checking build system type... " >&6; }
4225 if ${ac_cv_build+:} false; then :
4226 $as_echo_n "(cached) " >&6
4227 else
4228 ac_build_alias=$build_alias
4229 test "x$ac_build_alias" = x &&
4230 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4231 test "x$ac_build_alias" = x &&
4232 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4233 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4234 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4238 $as_echo "$ac_cv_build" >&6; }
4239 case $ac_cv_build in
4240 *-*-*) ;;
4241 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4242 esac
4243 build=$ac_cv_build
4244 ac_save_IFS=$IFS; IFS='-'
4245 set x $ac_cv_build
4246 shift
4247 build_cpu=$1
4248 build_vendor=$2
4249 shift; shift
4250 # Remember, the first character of IFS is used to create $*,
4251 # except with old shells:
4252 build_os=$*
4253 IFS=$ac_save_IFS
4254 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4258 $as_echo_n "checking host system type... " >&6; }
4259 if ${ac_cv_host+:} false; then :
4260 $as_echo_n "(cached) " >&6
4261 else
4262 if test "x$host_alias" = x; then
4263 ac_cv_host=$ac_cv_build
4264 else
4265 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4266 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4271 $as_echo "$ac_cv_host" >&6; }
4272 case $ac_cv_host in
4273 *-*-*) ;;
4274 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4275 esac
4276 host=$ac_cv_host
4277 ac_save_IFS=$IFS; IFS='-'
4278 set x $ac_cv_host
4279 shift
4280 host_cpu=$1
4281 host_vendor=$2
4282 shift; shift
4283 # Remember, the first character of IFS is used to create $*,
4284 # except with old shells:
4285 host_os=$*
4286 IFS=$ac_save_IFS
4287 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4293 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4294 set x ${MAKE-make}
4295 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4296 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 cat >conftest.make <<\_ACEOF
4300 SHELL = /bin/sh
4301 all:
4302 @echo '@@@%%%=$(MAKE)=@@@%%%'
4303 _ACEOF
4304 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4305 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4306 *@@@%%%=?*=@@@%%%*)
4307 eval ac_cv_prog_make_${ac_make}_set=yes;;
4309 eval ac_cv_prog_make_${ac_make}_set=no;;
4310 esac
4311 rm -f conftest.make
4313 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4315 $as_echo "yes" >&6; }
4316 SET_MAKE=
4317 else
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4320 SET_MAKE="MAKE=${MAKE-make}"
4323 ac_ext=c
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 if test -n "$ac_tool_prefix"; then
4329 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if ${ac_cv_prog_CC+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 if test -n "$CC"; then
4337 ac_cv_prog_CC="$CC" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4350 done
4351 done
4352 IFS=$as_save_IFS
4356 CC=$ac_cv_prog_CC
4357 if test -n "$CC"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4359 $as_echo "$CC" >&6; }
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4367 if test -z "$ac_cv_prog_CC"; then
4368 ac_ct_CC=$CC
4369 # Extract the first word of "gcc", so it can be a program name with args.
4370 set dummy gcc; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$ac_ct_CC"; then
4377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386 ac_cv_prog_ac_ct_CC="gcc"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4390 done
4391 done
4392 IFS=$as_save_IFS
4396 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4397 if test -n "$ac_ct_CC"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4399 $as_echo "$ac_ct_CC" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4405 if test "x$ac_ct_CC" = x; then
4406 CC=""
4407 else
4408 case $cross_compiling:$ac_tool_warned in
4409 yes:)
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4412 ac_tool_warned=yes ;;
4413 esac
4414 CC=$ac_ct_CC
4416 else
4417 CC="$ac_cv_prog_CC"
4420 if test -z "$CC"; then
4421 if test -n "$ac_tool_prefix"; then
4422 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4423 set dummy ${ac_tool_prefix}cc; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_CC+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 if test -n "$CC"; then
4430 ac_cv_prog_CC="$CC" # Let the user override the test.
4431 else
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH
4435 IFS=$as_save_IFS
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_CC="${ac_tool_prefix}cc"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 break 2
4443 done
4444 done
4445 IFS=$as_save_IFS
4449 CC=$ac_cv_prog_CC
4450 if test -n "$CC"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4452 $as_echo "$CC" >&6; }
4453 else
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4461 if test -z "$CC"; then
4462 # Extract the first word of "cc", so it can be a program name with args.
4463 set dummy cc; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_CC+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$CC"; then
4470 ac_cv_prog_CC="$CC" # Let the user override the test.
4471 else
4472 ac_prog_rejected=no
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH
4476 IFS=$as_save_IFS
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4481 ac_prog_rejected=yes
4482 continue
4484 ac_cv_prog_CC="cc"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 break 2
4488 done
4489 done
4490 IFS=$as_save_IFS
4492 if test $ac_prog_rejected = yes; then
4493 # We found a bogon in the path, so make sure we never use it.
4494 set dummy $ac_cv_prog_CC
4495 shift
4496 if test $# != 0; then
4497 # We chose a different compiler from the bogus one.
4498 # However, it has the same basename, so the bogon will be chosen
4499 # first if we set CC to just the basename; use the full file name.
4500 shift
4501 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4506 CC=$ac_cv_prog_CC
4507 if test -n "$CC"; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4509 $as_echo "$CC" >&6; }
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4517 if test -z "$CC"; then
4518 if test -n "$ac_tool_prefix"; then
4519 for ac_prog in cl.exe
4521 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4522 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if ${ac_cv_prog_CC+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 if test -n "$CC"; then
4529 ac_cv_prog_CC="$CC" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4534 IFS=$as_save_IFS
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4544 IFS=$as_save_IFS
4548 CC=$ac_cv_prog_CC
4549 if test -n "$CC"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4551 $as_echo "$CC" >&6; }
4552 else
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 $as_echo "no" >&6; }
4558 test -n "$CC" && break
4559 done
4561 if test -z "$CC"; then
4562 ac_ct_CC=$CC
4563 for ac_prog in cl.exe
4565 # Extract the first word of "$ac_prog", so it can be a program name with args.
4566 set dummy $ac_prog; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 if test -n "$ac_ct_CC"; then
4573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4574 else
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH
4578 IFS=$as_save_IFS
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_ac_ct_CC="$ac_prog"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 break 2
4586 done
4587 done
4588 IFS=$as_save_IFS
4592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4593 if test -n "$ac_ct_CC"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4595 $as_echo "$ac_ct_CC" >&6; }
4596 else
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4602 test -n "$ac_ct_CC" && break
4603 done
4605 if test "x$ac_ct_CC" = x; then
4606 CC=""
4607 else
4608 case $cross_compiling:$ac_tool_warned in
4609 yes:)
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4612 ac_tool_warned=yes ;;
4613 esac
4614 CC=$ac_ct_CC
4621 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4623 as_fn_error $? "no acceptable C compiler found in \$PATH
4624 See \`config.log' for more details" "$LINENO" 5; }
4626 # Provide some information about the compiler.
4627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4628 set X $ac_compile
4629 ac_compiler=$2
4630 for ac_option in --version -v -V -qversion; do
4631 { { ac_try="$ac_compiler $ac_option >&5"
4632 case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4635 esac
4636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4637 $as_echo "$ac_try_echo"; } >&5
4638 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4639 ac_status=$?
4640 if test -s conftest.err; then
4641 sed '10a\
4642 ... rest of stderr output deleted ...
4643 10q' conftest.err >conftest.er1
4644 cat conftest.er1 >&5
4646 rm -f conftest.er1 conftest.err
4647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4648 test $ac_status = 0; }
4649 done
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4655 main ()
4659 return 0;
4661 _ACEOF
4662 ac_clean_files_save=$ac_clean_files
4663 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4664 # Try to create an executable without -o first, disregard a.out.
4665 # It will help us diagnose broken compilers, and finding out an intuition
4666 # of exeext.
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4668 $as_echo_n "checking whether the C compiler works... " >&6; }
4669 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4671 # The possible output files:
4672 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4674 ac_rmfiles=
4675 for ac_file in $ac_files
4677 case $ac_file in
4678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4679 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4680 esac
4681 done
4682 rm -f $ac_rmfiles
4684 if { { ac_try="$ac_link_default"
4685 case "(($ac_try" in
4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4687 *) ac_try_echo=$ac_try;;
4688 esac
4689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4690 $as_echo "$ac_try_echo"; } >&5
4691 (eval "$ac_link_default") 2>&5
4692 ac_status=$?
4693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4694 test $ac_status = 0; }; then :
4695 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4696 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4697 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4698 # so that the user can short-circuit this test for compilers unknown to
4699 # Autoconf.
4700 for ac_file in $ac_files ''
4702 test -f "$ac_file" || continue
4703 case $ac_file in
4704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4706 [ab].out )
4707 # We found the default executable, but exeext='' is most
4708 # certainly right.
4709 break;;
4710 *.* )
4711 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4712 then :; else
4713 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4715 # We set ac_cv_exeext here because the later test for it is not
4716 # safe: cross compilers may not add the suffix if given an `-o'
4717 # argument, so we may need to know it at that point already.
4718 # Even if this section looks crufty: it has the advantage of
4719 # actually working.
4720 break;;
4722 break;;
4723 esac
4724 done
4725 test "$ac_cv_exeext" = no && ac_cv_exeext=
4727 else
4728 ac_file=''
4730 if test -z "$ac_file"; then :
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4733 $as_echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.$ac_ext >&5
4736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4738 as_fn_error 77 "C compiler cannot create executables
4739 See \`config.log' for more details" "$LINENO" 5; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4742 $as_echo "yes" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4745 $as_echo_n "checking for C compiler default output file name... " >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4747 $as_echo "$ac_file" >&6; }
4748 ac_exeext=$ac_cv_exeext
4750 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4751 ac_clean_files=$ac_clean_files_save
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4753 $as_echo_n "checking for suffix of executables... " >&6; }
4754 if { { ac_try="$ac_link"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4760 $as_echo "$ac_try_echo"; } >&5
4761 (eval "$ac_link") 2>&5
4762 ac_status=$?
4763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4764 test $ac_status = 0; }; then :
4765 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4766 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4767 # work properly (i.e., refer to `conftest.exe'), while it won't with
4768 # `rm'.
4769 for ac_file in conftest.exe conftest conftest.*; do
4770 test -f "$ac_file" || continue
4771 case $ac_file in
4772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4773 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4774 break;;
4775 * ) break;;
4776 esac
4777 done
4778 else
4779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4781 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4782 See \`config.log' for more details" "$LINENO" 5; }
4784 rm -f conftest conftest$ac_cv_exeext
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4786 $as_echo "$ac_cv_exeext" >&6; }
4788 rm -f conftest.$ac_ext
4789 EXEEXT=$ac_cv_exeext
4790 ac_exeext=$EXEEXT
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4793 #include <stdio.h>
4795 main ()
4797 FILE *f = fopen ("conftest.out", "w");
4798 return ferror (f) || fclose (f) != 0;
4801 return 0;
4803 _ACEOF
4804 ac_clean_files="$ac_clean_files conftest.out"
4805 # Check that the compiler produces executables we can run. If not, either
4806 # the compiler is broken, or we cross compile.
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4808 $as_echo_n "checking whether we are cross compiling... " >&6; }
4809 if test "$cross_compiling" != yes; then
4810 { { ac_try="$ac_link"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_link") 2>&5
4818 ac_status=$?
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; }
4821 if { ac_try='./conftest$ac_cv_exeext'
4822 { { case "(($ac_try" in
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4825 esac
4826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4827 $as_echo "$ac_try_echo"; } >&5
4828 (eval "$ac_try") 2>&5
4829 ac_status=$?
4830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4831 test $ac_status = 0; }; }; then
4832 cross_compiling=no
4833 else
4834 if test "$cross_compiling" = maybe; then
4835 cross_compiling=yes
4836 else
4837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4839 as_fn_error $? "cannot run C compiled programs.
4840 If you meant to cross compile, use \`--host'.
4841 See \`config.log' for more details" "$LINENO" 5; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4846 $as_echo "$cross_compiling" >&6; }
4848 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4849 ac_clean_files=$ac_clean_files_save
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4851 $as_echo_n "checking for suffix of object files... " >&6; }
4852 if ${ac_cv_objext+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4859 main ()
4863 return 0;
4865 _ACEOF
4866 rm -f conftest.o conftest.obj
4867 if { { ac_try="$ac_compile"
4868 case "(($ac_try" in
4869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4871 esac
4872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4873 $as_echo "$ac_try_echo"; } >&5
4874 (eval "$ac_compile") 2>&5
4875 ac_status=$?
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }; then :
4878 for ac_file in conftest.o conftest.obj conftest.*; do
4879 test -f "$ac_file" || continue;
4880 case $ac_file in
4881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4882 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4883 break;;
4884 esac
4885 done
4886 else
4887 $as_echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.$ac_ext >&5
4890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4892 as_fn_error $? "cannot compute suffix of object files: cannot compile
4893 See \`config.log' for more details" "$LINENO" 5; }
4895 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4898 $as_echo "$ac_cv_objext" >&6; }
4899 OBJEXT=$ac_cv_objext
4900 ac_objext=$OBJEXT
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4902 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4903 if ${ac_cv_c_compiler_gnu+:} false; then :
4904 $as_echo_n "(cached) " >&6
4905 else
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4910 main ()
4912 #ifndef __GNUC__
4913 choke me
4914 #endif
4917 return 0;
4919 _ACEOF
4920 if ac_fn_c_try_compile "$LINENO"; then :
4921 ac_compiler_gnu=yes
4922 else
4923 ac_compiler_gnu=no
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4930 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4931 if test $ac_compiler_gnu = yes; then
4932 GCC=yes
4933 else
4934 GCC=
4936 ac_test_CFLAGS=${CFLAGS+set}
4937 ac_save_CFLAGS=$CFLAGS
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4939 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4940 if ${ac_cv_prog_cc_g+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 ac_save_c_werror_flag=$ac_c_werror_flag
4944 ac_c_werror_flag=yes
4945 ac_cv_prog_cc_g=no
4946 CFLAGS="-g"
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4951 main ()
4955 return 0;
4957 _ACEOF
4958 if ac_fn_c_try_compile "$LINENO"; then :
4959 ac_cv_prog_cc_g=yes
4960 else
4961 CFLAGS=""
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4970 return 0;
4972 _ACEOF
4973 if ac_fn_c_try_compile "$LINENO"; then :
4975 else
4976 ac_c_werror_flag=$ac_save_c_werror_flag
4977 CFLAGS="-g"
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_g=yes
4992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 ac_c_werror_flag=$ac_save_c_werror_flag
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5000 $as_echo "$ac_cv_prog_cc_g" >&6; }
5001 if test "$ac_test_CFLAGS" = set; then
5002 CFLAGS=$ac_save_CFLAGS
5003 elif test $ac_cv_prog_cc_g = yes; then
5004 if test "$GCC" = yes; then
5005 CFLAGS="-g -O2"
5006 else
5007 CFLAGS="-g"
5009 else
5010 if test "$GCC" = yes; then
5011 CFLAGS="-O2"
5012 else
5013 CFLAGS=
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5017 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5018 if ${ac_cv_prog_cc_c89+:} false; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 ac_cv_prog_cc_c89=no
5022 ac_save_CC=$CC
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #include <stdarg.h>
5026 #include <stdio.h>
5027 struct stat;
5028 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5029 struct buf { int x; };
5030 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5031 static char *e (p, i)
5032 char **p;
5033 int i;
5035 return p[i];
5037 static char *f (char * (*g) (char **, int), char **p, ...)
5039 char *s;
5040 va_list v;
5041 va_start (v,p);
5042 s = g (p, va_arg (v,int));
5043 va_end (v);
5044 return s;
5047 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5048 function prototypes and stuff, but not '\xHH' hex character constants.
5049 These don't provoke an error unfortunately, instead are silently treated
5050 as 'x'. The following induces an error, until -std is added to get
5051 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5052 array size at least. It's necessary to write '\x00'==0 to get something
5053 that's true only with -std. */
5054 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5056 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5057 inside strings and character constants. */
5058 #define FOO(x) 'x'
5059 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5061 int test (int i, double x);
5062 struct s1 {int (*f) (int a);};
5063 struct s2 {int (*f) (double a);};
5064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5065 int argc;
5066 char **argv;
5068 main ()
5070 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5072 return 0;
5074 _ACEOF
5075 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5076 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5078 CC="$ac_save_CC $ac_arg"
5079 if ac_fn_c_try_compile "$LINENO"; then :
5080 ac_cv_prog_cc_c89=$ac_arg
5082 rm -f core conftest.err conftest.$ac_objext
5083 test "x$ac_cv_prog_cc_c89" != "xno" && break
5084 done
5085 rm -f conftest.$ac_ext
5086 CC=$ac_save_CC
5089 # AC_CACHE_VAL
5090 case "x$ac_cv_prog_cc_c89" in
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5093 $as_echo "none needed" >&6; } ;;
5094 xno)
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5096 $as_echo "unsupported" >&6; } ;;
5098 CC="$CC $ac_cv_prog_cc_c89"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5100 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5101 esac
5102 if test "x$ac_cv_prog_cc_c89" != xno; then :
5106 ac_ext=c
5107 ac_cpp='$CPP $CPPFLAGS'
5108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5112 ac_ext=cpp
5113 ac_cpp='$CXXCPP $CPPFLAGS'
5114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5117 if test -z "$CXX"; then
5118 if test -n "$CCC"; then
5119 CXX=$CCC
5120 else
5121 if test -n "$ac_tool_prefix"; then
5122 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_CXX+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if test -n "$CXX"; then
5132 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5133 else
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5137 IFS=$as_save_IFS
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 break 2
5145 done
5146 done
5147 IFS=$as_save_IFS
5151 CXX=$ac_cv_prog_CXX
5152 if test -n "$CXX"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5154 $as_echo "$CXX" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$CXX" && break
5162 done
5164 if test -z "$CXX"; then
5165 ac_ct_CXX=$CXX
5166 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5168 # Extract the first word of "$ac_prog", so it can be a program name with args.
5169 set dummy $ac_prog; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$ac_ct_CXX"; then
5176 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_CXX="$ac_prog"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5196 if test -n "$ac_ct_CXX"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5198 $as_echo "$ac_ct_CXX" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5205 test -n "$ac_ct_CXX" && break
5206 done
5208 if test "x$ac_ct_CXX" = x; then
5209 CXX="g++"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 CXX=$ac_ct_CXX
5223 # Provide some information about the compiler.
5224 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5225 set X $ac_compile
5226 ac_compiler=$2
5227 for ac_option in --version -v -V -qversion; do
5228 { { ac_try="$ac_compiler $ac_option >&5"
5229 case "(($ac_try" in
5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;;
5232 esac
5233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5234 $as_echo "$ac_try_echo"; } >&5
5235 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5236 ac_status=$?
5237 if test -s conftest.err; then
5238 sed '10a\
5239 ... rest of stderr output deleted ...
5240 10q' conftest.err >conftest.er1
5241 cat conftest.er1 >&5
5243 rm -f conftest.er1 conftest.err
5244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }
5246 done
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5249 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5250 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5251 $as_echo_n "(cached) " >&6
5252 else
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5257 main ()
5259 #ifndef __GNUC__
5260 choke me
5261 #endif
5264 return 0;
5266 _ACEOF
5267 if ac_fn_cxx_try_compile "$LINENO"; then :
5268 ac_compiler_gnu=yes
5269 else
5270 ac_compiler_gnu=no
5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5273 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5277 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5278 if test $ac_compiler_gnu = yes; then
5279 GXX=yes
5280 else
5281 GXX=
5283 ac_test_CXXFLAGS=${CXXFLAGS+set}
5284 ac_save_CXXFLAGS=$CXXFLAGS
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5286 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5287 if ${ac_cv_prog_cxx_g+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5291 ac_cxx_werror_flag=yes
5292 ac_cv_prog_cxx_g=no
5293 CXXFLAGS="-g"
5294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h. */
5298 main ()
5302 return 0;
5304 _ACEOF
5305 if ac_fn_cxx_try_compile "$LINENO"; then :
5306 ac_cv_prog_cxx_g=yes
5307 else
5308 CXXFLAGS=""
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5317 return 0;
5319 _ACEOF
5320 if ac_fn_cxx_try_compile "$LINENO"; then :
5322 else
5323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5324 CXXFLAGS="-g"
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5333 return 0;
5335 _ACEOF
5336 if ac_fn_cxx_try_compile "$LINENO"; then :
5337 ac_cv_prog_cxx_g=yes
5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5347 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5348 if test "$ac_test_CXXFLAGS" = set; then
5349 CXXFLAGS=$ac_save_CXXFLAGS
5350 elif test $ac_cv_prog_cxx_g = yes; then
5351 if test "$GXX" = yes; then
5352 CXXFLAGS="-g -O2"
5353 else
5354 CXXFLAGS="-g"
5356 else
5357 if test "$GXX" = yes; then
5358 CXXFLAGS="-O2"
5359 else
5360 CXXFLAGS=
5363 ac_ext=c
5364 ac_cpp='$CPP $CPPFLAGS'
5365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5369 if test -n "$ac_tool_prefix"; then
5370 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5371 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if ${ac_cv_prog_CPPBIN+:} false; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 if test -n "$CPPBIN"; then
5378 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5379 else
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH
5383 IFS=$as_save_IFS
5384 test -z "$as_dir" && as_dir=.
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5387 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 break 2
5391 done
5392 done
5393 IFS=$as_save_IFS
5397 CPPBIN=$ac_cv_prog_CPPBIN
5398 if test -n "$CPPBIN"; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5400 $as_echo "$CPPBIN" >&6; }
5401 else
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5408 if test -z "$ac_cv_prog_CPPBIN"; then
5409 ac_ct_CPPBIN=$CPPBIN
5410 # Extract the first word of "cpp", so it can be a program name with args.
5411 set dummy cpp; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5415 $as_echo_n "(cached) " >&6
5416 else
5417 if test -n "$ac_ct_CPPBIN"; then
5418 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5419 else
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_ac_ct_CPPBIN="cpp"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5433 IFS=$as_save_IFS
5437 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5438 if test -n "$ac_ct_CPPBIN"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5440 $as_echo "$ac_ct_CPPBIN" >&6; }
5441 else
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5446 if test "x$ac_ct_CPPBIN" = x; then
5447 CPPBIN="cpp"
5448 else
5449 case $cross_compiling:$ac_tool_warned in
5450 yes:)
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453 ac_tool_warned=yes ;;
5454 esac
5455 CPPBIN=$ac_ct_CPPBIN
5457 else
5458 CPPBIN="$ac_cv_prog_CPPBIN"
5462 cat >>confdefs.h <<_ACEOF
5463 #define EXEEXT "$ac_exeext"
5464 _ACEOF
5466 if test -n "$ac_tool_prefix"; then
5467 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5468 set dummy ${ac_tool_prefix}ld; ac_word=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_LD+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if test -n "$LD"; then
5475 ac_cv_prog_LD="$LD" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5480 IFS=$as_save_IFS
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_LD="${ac_tool_prefix}ld"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 break 2
5488 done
5489 done
5490 IFS=$as_save_IFS
5494 LD=$ac_cv_prog_LD
5495 if test -n "$LD"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5497 $as_echo "$LD" >&6; }
5498 else
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5505 if test -z "$ac_cv_prog_LD"; then
5506 ac_ct_LD=$LD
5507 # Extract the first word of "ld", so it can be a program name with args.
5508 set dummy ld; ac_word=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5512 $as_echo_n "(cached) " >&6
5513 else
5514 if test -n "$ac_ct_LD"; then
5515 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5516 else
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $PATH
5520 IFS=$as_save_IFS
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_ac_ct_LD="ld"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 break 2
5528 done
5529 done
5530 IFS=$as_save_IFS
5534 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5535 if test -n "$ac_ct_LD"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5537 $as_echo "$ac_ct_LD" >&6; }
5538 else
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5543 if test "x$ac_ct_LD" = x; then
5544 LD=""
5545 else
5546 case $cross_compiling:$ac_tool_warned in
5547 yes:)
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5550 ac_tool_warned=yes ;;
5551 esac
5552 LD=$ac_ct_LD
5554 else
5555 LD="$ac_cv_prog_LD"
5559 case $host in
5560 *-darwin*)
5561 with_fontconfig=${with_fontconfig:-no}
5563 *-mingw32*|*-cygwin*)
5564 enable_win16=${enable_win16:-no}
5565 with_mingw=${with_mingw:-no}
5566 CFLAGS="$CFLAGS -D_WIN32"
5568 esac
5570 case $host in
5571 x86_64*|amd64*)
5572 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5573 then
5574 CC="$CC -m32"
5575 CXX="$CXX -m32"
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5578 $as_echo_n "checking whether $CC works... " >&6; }
5579 if ${wine_cv_cc_m32+:} false; then :
5580 $as_echo_n "(cached) " >&6
5581 else
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5586 main ()
5590 return 0;
5592 _ACEOF
5593 if ac_fn_c_try_link "$LINENO"; then :
5594 wine_cv_cc_m32=yes
5595 else
5596 wine_cv_cc_m32=no
5598 rm -f core conftest.err conftest.$ac_objext \
5599 conftest$ac_exeext conftest.$ac_ext
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5602 $as_echo "$wine_cv_cc_m32" >&6; }
5603 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
5604 host_cpu="i386"
5605 notice_platform="32-bit "
5606 TARGETFLAGS="-m32"
5608 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5609 export PKG_CONFIG_PATH
5610 enable_win16=${enable_win16:-yes}
5611 with_unwind=${with_unwind:-no}
5612 else
5613 if test "x${GCC}" = "xyes"
5614 then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5616 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5617 if ${wine_cv_builtin_ms_va_list+:} false; then :
5618 $as_echo_n "(cached) " >&6
5619 else
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 #include <stdarg.h>
5624 main ()
5626 void func(__builtin_ms_va_list *args);
5628 return 0;
5630 _ACEOF
5631 if ac_fn_c_try_compile "$LINENO"; then :
5632 wine_cv_builtin_ms_va_list=yes
5633 else
5634 wine_cv_builtin_ms_va_list=no
5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5639 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5640 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
5642 CC="$CC -m64"
5643 CXX="$CXX -m64"
5644 host_cpu="x86_64"
5645 notice_platform="64-bit "
5646 TARGETFLAGS="-m64"
5650 arm*)
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5652 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5653 if ${wine_cv_thumb+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5658 int ac_test(int i) { return i; }
5660 main ()
5662 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5664 return 0;
5666 _ACEOF
5667 if ac_fn_c_try_link "$LINENO"; then :
5668 wine_cv_thumb=yes
5669 else
5670 wine_cv_thumb=no
5672 rm -f core conftest.err conftest.$ac_objext \
5673 conftest$ac_exeext conftest.$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5676 $as_echo "$wine_cv_thumb" >&6; }
5677 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5678 case $with_float_abi in
5679 soft|softfp|hard)
5680 float_abi=$with_float_abi ;;
5682 case $host_os in
5683 *eabihf)
5684 float_abi=hard ;;
5686 float_abi=softfp
5687 saved_CFLAGS=$CFLAGS
5688 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5690 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5691 if ${wine_cv_float_abi+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5698 main ()
5700 asm("vmrs r2,fpscr");
5702 return 0;
5704 _ACEOF
5705 if ac_fn_c_try_link "$LINENO"; then :
5706 wine_cv_float_abi=yes
5707 else
5708 wine_cv_float_abi=no
5710 rm -f core conftest.err conftest.$ac_objext \
5711 conftest$ac_exeext conftest.$ac_ext
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5714 $as_echo "$wine_cv_float_abi" >&6; }
5715 if test $wine_cv_float_abi = no
5716 then
5717 float_abi=soft
5718 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5720 CFLAGS=$saved_CFLAGS
5721 esac
5723 esac
5724 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5725 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5728 aarch64*)
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5730 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5731 if ${wine_cv_builtin_ms_va_list+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735 /* end confdefs.h. */
5736 #include <stdarg.h>
5738 main ()
5740 void func(__builtin_ms_va_list *args);
5742 return 0;
5744 _ACEOF
5745 if ac_fn_c_try_compile "$LINENO"; then :
5746 wine_cv_builtin_ms_va_list=yes
5747 else
5748 wine_cv_builtin_ms_va_list=no
5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5753 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5754 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5756 i[3456789]86*)
5757 enable_win16=${enable_win16:-yes}
5758 with_unwind=${with_unwind:-no}
5760 esac
5762 enable_win16=${enable_win16:-no}
5763 enable_win64=${enable_win64:-no}
5765 enable_winetest=${enable_winetest:-$enable_tests}
5767 if test "x$enable_win64" = "xyes"
5768 then
5769 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5770 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5771 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5775 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5776 if ${wine_cv_toolsdir+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 wine_cv_toolsdir="$with_wine_tools"
5780 if test -z "$with_wine_tools"; then
5781 if test "$cross_compiling" = "yes"; then
5782 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5783 elif test -n "$with_wine64"; then
5784 wine_cv_toolsdir="$with_wine64"
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5789 $as_echo "$wine_cv_toolsdir" >&6; }
5790 if test -z "$wine_cv_toolsdir"; then
5791 wine_makedep=tools/makedep
5792 TOOLSDIR="\$(top_builddir)"
5794 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5795 wine_makedep=$wine_cv_toolsdir/tools/makedep
5796 case "$wine_cv_toolsdir" in
5797 /*) TOOLSDIR=$wine_cv_toolsdir
5799 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5801 esac
5802 enable_tools=${enable_tools:-no}
5803 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5804 else
5805 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5807 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5808 then
5809 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5813 for ac_prog in flex
5815 # Extract the first word of "$ac_prog", so it can be a program name with args.
5816 set dummy $ac_prog; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_FLEX+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 if test -n "$FLEX"; then
5823 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_FLEX="$ac_prog"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5842 FLEX=$ac_cv_prog_FLEX
5843 if test -n "$FLEX"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5845 $as_echo "$FLEX" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5852 test -n "$FLEX" && break
5853 done
5854 test -n "$FLEX" || FLEX="none"
5856 if test "$FLEX" = "none"
5857 then
5858 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5861 $as_echo_n "checking whether flex is recent enough... " >&6; }
5862 if ${wine_cv_recent_flex+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 cat >conftest.l <<EOF
5866 %top{
5867 #include "prediluvian.h"
5871 if $FLEX -t conftest.l >/dev/null 2>&5
5872 then
5873 wine_cv_recent_flex=yes
5874 else
5875 wine_cv_recent_flex=no
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5879 $as_echo "$wine_cv_recent_flex" >&6; }
5880 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
5882 for ac_prog in bison
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_BISON+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 if test -n "$BISON"; then
5892 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5897 IFS=$as_save_IFS
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_BISON="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 break 2
5905 done
5906 done
5907 IFS=$as_save_IFS
5911 BISON=$ac_cv_prog_BISON
5912 if test -n "$BISON"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5914 $as_echo "$BISON" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$BISON" && break
5922 done
5923 test -n "$BISON" || BISON="none"
5925 if test "$BISON" = "none"
5926 then
5927 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5930 $as_echo_n "checking whether bison is recent enough... " >&6; }
5931 if ${wine_cv_recent_bison+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 cat >conftest.y <<EOF
5935 %define parse.error verbose
5937 empty: ;
5939 if $BISON conftest.y >/dev/null 2>&5
5940 then
5941 wine_cv_recent_bison=yes
5942 else
5943 wine_cv_recent_bison=no
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5947 $as_echo "$wine_cv_recent_bison" >&6; }
5948 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
5950 if test -n "$ac_tool_prefix"; then
5951 for ac_prog in ar gar
5953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_AR+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$AR"; then
5961 ac_cv_prog_AR="$AR" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 AR=$ac_cv_prog_AR
5981 if test -n "$AR"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5983 $as_echo "$AR" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5990 test -n "$AR" && break
5991 done
5993 if test -z "$AR"; then
5994 ac_ct_AR=$AR
5995 for ac_prog in ar gar
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy $ac_prog; ac_word=$2
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 $as_echo_n "checking for $ac_word... " >&6; }
6001 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 if test -n "$ac_ct_AR"; then
6005 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_ac_ct_AR="$ac_prog"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6025 if test -n "$ac_ct_AR"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6027 $as_echo "$ac_ct_AR" >&6; }
6028 else
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030 $as_echo "no" >&6; }
6034 test -n "$ac_ct_AR" && break
6035 done
6037 if test "x$ac_ct_AR" = x; then
6038 AR="ar"
6039 else
6040 case $cross_compiling:$ac_tool_warned in
6041 yes:)
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6044 ac_tool_warned=yes ;;
6045 esac
6046 AR=$ac_ct_AR
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}strip; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_STRIP+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 if test -n "$STRIP"; then
6059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6064 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2
6072 done
6073 done
6074 IFS=$as_save_IFS
6078 STRIP=$ac_cv_prog_STRIP
6079 if test -n "$STRIP"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6081 $as_echo "$STRIP" >&6; }
6082 else
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6089 if test -z "$ac_cv_prog_STRIP"; then
6090 ac_ct_STRIP=$STRIP
6091 # Extract the first word of "strip", so it can be a program name with args.
6092 set dummy strip; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$ac_ct_STRIP"; then
6099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_STRIP="strip"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6119 if test -n "$ac_ct_STRIP"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6121 $as_echo "$ac_ct_STRIP" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6127 if test "x$ac_ct_STRIP" = x; then
6128 STRIP="strip"
6129 else
6130 case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 STRIP=$ac_ct_STRIP
6138 else
6139 STRIP="$ac_cv_prog_STRIP"
6142 if test -n "$ac_tool_prefix"; then
6143 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6144 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_RANLIB+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -n "$RANLIB"; then
6151 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 RANLIB=$ac_cv_prog_RANLIB
6171 if test -n "$RANLIB"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6173 $as_echo "$RANLIB" >&6; }
6174 else
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6181 if test -z "$ac_cv_prog_RANLIB"; then
6182 ac_ct_RANLIB=$RANLIB
6183 # Extract the first word of "ranlib", so it can be a program name with args.
6184 set dummy ranlib; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 if test -n "$ac_ct_RANLIB"; then
6191 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_ac_ct_RANLIB="ranlib"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6211 if test -n "$ac_ct_RANLIB"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6213 $as_echo "$ac_ct_RANLIB" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6219 if test "x$ac_ct_RANLIB" = x; then
6220 RANLIB=":"
6221 else
6222 case $cross_compiling:$ac_tool_warned in
6223 yes:)
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6226 ac_tool_warned=yes ;;
6227 esac
6228 RANLIB=$ac_ct_RANLIB
6230 else
6231 RANLIB="$ac_cv_prog_RANLIB"
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6235 $as_echo_n "checking whether ln -s works... " >&6; }
6236 LN_S=$as_ln_s
6237 if test "$LN_S" = "ln -s"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6239 $as_echo "yes" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6242 $as_echo "no, using $LN_S" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6246 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6247 if ${ac_cv_path_GREP+:} false; then :
6248 $as_echo_n "(cached) " >&6
6249 else
6250 if test -z "$GREP"; then
6251 ac_path_GREP_found=false
6252 # Loop through the user's path and test for each of PROGNAME-LIST
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6256 IFS=$as_save_IFS
6257 test -z "$as_dir" && as_dir=.
6258 for ac_prog in grep ggrep; do
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6261 as_fn_executable_p "$ac_path_GREP" || continue
6262 # Check for GNU ac_path_GREP and select it if it is found.
6263 # Check for GNU $ac_path_GREP
6264 case `"$ac_path_GREP" --version 2>&1` in
6265 *GNU*)
6266 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6268 ac_count=0
6269 $as_echo_n 0123456789 >"conftest.in"
6270 while :
6272 cat "conftest.in" "conftest.in" >"conftest.tmp"
6273 mv "conftest.tmp" "conftest.in"
6274 cp "conftest.in" "conftest.nl"
6275 $as_echo 'GREP' >> "conftest.nl"
6276 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6277 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6278 as_fn_arith $ac_count + 1 && ac_count=$as_val
6279 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6280 # Best one so far, save it but keep looking for a better one
6281 ac_cv_path_GREP="$ac_path_GREP"
6282 ac_path_GREP_max=$ac_count
6284 # 10*(2^10) chars as input seems more than enough
6285 test $ac_count -gt 10 && break
6286 done
6287 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6288 esac
6290 $ac_path_GREP_found && break 3
6291 done
6292 done
6293 done
6294 IFS=$as_save_IFS
6295 if test -z "$ac_cv_path_GREP"; then
6296 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6298 else
6299 ac_cv_path_GREP=$GREP
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6304 $as_echo "$ac_cv_path_GREP" >&6; }
6305 GREP="$ac_cv_path_GREP"
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6309 $as_echo_n "checking for egrep... " >&6; }
6310 if ${ac_cv_path_EGREP+:} false; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6314 then ac_cv_path_EGREP="$GREP -E"
6315 else
6316 if test -z "$EGREP"; then
6317 ac_path_EGREP_found=false
6318 # Loop through the user's path and test for each of PROGNAME-LIST
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6322 IFS=$as_save_IFS
6323 test -z "$as_dir" && as_dir=.
6324 for ac_prog in egrep; do
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6327 as_fn_executable_p "$ac_path_EGREP" || continue
6328 # Check for GNU ac_path_EGREP and select it if it is found.
6329 # Check for GNU $ac_path_EGREP
6330 case `"$ac_path_EGREP" --version 2>&1` in
6331 *GNU*)
6332 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6334 ac_count=0
6335 $as_echo_n 0123456789 >"conftest.in"
6336 while :
6338 cat "conftest.in" "conftest.in" >"conftest.tmp"
6339 mv "conftest.tmp" "conftest.in"
6340 cp "conftest.in" "conftest.nl"
6341 $as_echo 'EGREP' >> "conftest.nl"
6342 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6343 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6344 as_fn_arith $ac_count + 1 && ac_count=$as_val
6345 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6346 # Best one so far, save it but keep looking for a better one
6347 ac_cv_path_EGREP="$ac_path_EGREP"
6348 ac_path_EGREP_max=$ac_count
6350 # 10*(2^10) chars as input seems more than enough
6351 test $ac_count -gt 10 && break
6352 done
6353 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6354 esac
6356 $ac_path_EGREP_found && break 3
6357 done
6358 done
6359 done
6360 IFS=$as_save_IFS
6361 if test -z "$ac_cv_path_EGREP"; then
6362 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6364 else
6365 ac_cv_path_EGREP=$EGREP
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6371 $as_echo "$ac_cv_path_EGREP" >&6; }
6372 EGREP="$ac_cv_path_EGREP"
6375 # Extract the first word of "ldconfig", so it can be a program name with args.
6376 set dummy ldconfig; ac_word=$2
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if ${ac_cv_path_LDCONFIG+:} false; then :
6380 $as_echo_n "(cached) " >&6
6381 else
6382 case $LDCONFIG in
6383 [\\/]* | ?:[\\/]*)
6384 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in /sbin /usr/sbin $PATH
6390 IFS=$as_save_IFS
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6394 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 break 2
6398 done
6399 done
6400 IFS=$as_save_IFS
6402 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6404 esac
6406 LDCONFIG=$ac_cv_path_LDCONFIG
6407 if test -n "$LDCONFIG"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6409 $as_echo "$LDCONFIG" >&6; }
6410 else
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6416 for ac_prog in msgfmt
6418 # Extract the first word of "$ac_prog", so it can be a program name with args.
6419 set dummy $ac_prog; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_MSGFMT+:} false; then :
6423 $as_echo_n "(cached) " >&6
6424 else
6425 if test -n "$MSGFMT"; then
6426 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6427 else
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 for as_dir in $PATH
6431 IFS=$as_save_IFS
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435 ac_cv_prog_MSGFMT="$ac_prog"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437 break 2
6439 done
6440 done
6441 IFS=$as_save_IFS
6445 MSGFMT=$ac_cv_prog_MSGFMT
6446 if test -n "$MSGFMT"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6448 $as_echo "$MSGFMT" >&6; }
6449 else
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6455 test -n "$MSGFMT" && break
6456 done
6457 test -n "$MSGFMT" || MSGFMT="false"
6459 if ${ac_tool_prefix+:} false; then :
6460 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6461 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 if test -n "$PKG_CONFIG"; then
6468 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6469 else
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH
6473 IFS=$as_save_IFS
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 break 2
6481 done
6482 done
6483 IFS=$as_save_IFS
6487 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6488 if test -n "$PKG_CONFIG"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6490 $as_echo "$PKG_CONFIG" >&6; }
6491 else
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6498 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6499 if test "x$cross_compiling" = xyes; then :
6501 else
6502 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6503 # Extract the first word of "pkg-config", so it can be a program name with args.
6504 set dummy pkg-config; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$PKG_CONFIG"; then
6511 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_PKG_CONFIG="pkg-config"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6531 if test -n "$PKG_CONFIG"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6533 $as_echo "$PKG_CONFIG" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6541 else
6542 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6545 if test "x$enable_maintainer_mode" != "xyes"
6546 then
6547 FONTFORGE=""
6548 RSVG=""
6549 CONVERT=""
6550 ICOTOOL=""
6551 else
6552 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6553 for ac_prog in fontforge
6555 # Extract the first word of "$ac_prog", so it can be a program name with args.
6556 set dummy $ac_prog; ac_word=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if ${ac_cv_prog_FONTFORGE+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 if test -n "$FONTFORGE"; then
6563 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6564 else
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 for as_dir in $PATH
6568 IFS=$as_save_IFS
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_FONTFORGE="$ac_prog"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 FONTFORGE=$ac_cv_prog_FONTFORGE
6583 if test -n "$FONTFORGE"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6585 $as_echo "$FONTFORGE" >&6; }
6586 else
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6592 test -n "$FONTFORGE" && break
6593 done
6594 test -n "$FONTFORGE" || FONTFORGE="false"
6596 for ac_prog in rsvg-convert rsvg
6598 # Extract the first word of "$ac_prog", so it can be a program name with args.
6599 set dummy $ac_prog; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if ${ac_cv_prog_RSVG+:} false; then :
6603 $as_echo_n "(cached) " >&6
6604 else
6605 if test -n "$RSVG"; then
6606 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6607 else
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 for as_dir in $PATH
6611 IFS=$as_save_IFS
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6615 ac_cv_prog_RSVG="$ac_prog"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 break 2
6619 done
6620 done
6621 IFS=$as_save_IFS
6625 RSVG=$ac_cv_prog_RSVG
6626 if test -n "$RSVG"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6628 $as_echo "$RSVG" >&6; }
6629 else
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6635 test -n "$RSVG" && break
6636 done
6637 test -n "$RSVG" || RSVG="false"
6639 for ac_prog in convert
6641 # Extract the first word of "$ac_prog", so it can be a program name with args.
6642 set dummy $ac_prog; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_CONVERT+:} false; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$CONVERT"; then
6649 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_CONVERT="$ac_prog"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 CONVERT=$ac_cv_prog_CONVERT
6669 if test -n "$CONVERT"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6671 $as_echo "$CONVERT" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6678 test -n "$CONVERT" && break
6679 done
6680 test -n "$CONVERT" || CONVERT="false"
6682 for ac_prog in icotool
6684 # Extract the first word of "$ac_prog", so it can be a program name with args.
6685 set dummy $ac_prog; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_ICOTOOL+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 if test -n "$ICOTOOL"; then
6692 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6697 IFS=$as_save_IFS
6698 test -z "$as_dir" && as_dir=.
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6701 ac_cv_prog_ICOTOOL="$ac_prog"
6702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 break 2
6705 done
6706 done
6707 IFS=$as_save_IFS
6711 ICOTOOL=$ac_cv_prog_ICOTOOL
6712 if test -n "$ICOTOOL"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6714 $as_echo "$ICOTOOL" >&6; }
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6721 test -n "$ICOTOOL" && break
6722 done
6723 test -n "$ICOTOOL" || ICOTOOL="false"
6725 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6726 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6728 if test "$CONVERT" = false
6729 then
6730 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6731 else
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6733 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6734 convert_version=`convert --version | head -n1`
6735 if test "x$convert_version" != "x"
6736 then
6737 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6738 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6739 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6740 then
6741 CONVERT=false
6744 if test "$CONVERT" = false
6745 then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6747 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6748 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6749 else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6751 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6755 if test "$ICOTOOL" = false
6756 then
6757 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6758 else
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6760 $as_echo_n "checking for recent enough icotool... " >&6; }
6761 icotool_version=`icotool --version | head -n1`
6762 if test "x$icotool_version" != "x"
6763 then
6764 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6765 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6766 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6767 then
6768 ICOTOOL=false
6769 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6772 if test "$ICOTOOL" = false
6773 then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6775 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6776 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6779 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6783 with_gettext=yes
6784 with_gettextpo=yes
6787 test "x$with_gettext" != xno || MSGFMT=false
6788 if test "$MSGFMT" != "false"
6789 then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6791 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6792 if ${wine_cv_msgfmt_contexts+:} false; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 cat >conftest.po <<EOF
6796 # comment
6797 msgctxt "ctxt"
6798 msgid "id"
6799 msgstr "str"
6801 if $MSGFMT -o /dev/null conftest.po 2>&5
6802 then
6803 wine_cv_msgfmt_contexts=yes
6804 else
6805 wine_cv_msgfmt_contexts=no
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6809 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6810 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6812 if test "$MSGFMT" = false; then :
6813 case "x$with_gettext" in
6814 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6815 xno) ;;
6816 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6817 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6818 esac
6819 enable_po=${enable_po:-no}
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6824 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6825 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 ac_check_lib_save_LIBS=$LIBS
6829 LIBS="-li386 $LIBS"
6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h. */
6833 /* Override any GCC internal prototype to avoid an error.
6834 Use char because int might match the return type of a GCC
6835 builtin and then its argument prototype would still apply. */
6836 #ifdef __cplusplus
6837 extern "C"
6838 #endif
6839 char i386_set_ldt ();
6841 main ()
6843 return i386_set_ldt ();
6845 return 0;
6847 _ACEOF
6848 if ac_fn_c_try_link "$LINENO"; then :
6849 ac_cv_lib_i386_i386_set_ldt=yes
6850 else
6851 ac_cv_lib_i386_i386_set_ldt=no
6853 rm -f core conftest.err conftest.$ac_objext \
6854 conftest$ac_exeext conftest.$ac_ext
6855 LIBS=$ac_check_lib_save_LIBS
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6858 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6859 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6860 I386_LIBS="-li386"
6865 OPENGL_LIBS=""
6869 # Check whether --enable-largefile was given.
6870 if test "${enable_largefile+set}" = set; then :
6871 enableval=$enable_largefile;
6874 if test "$enable_largefile" != no; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6877 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6878 if ${ac_cv_sys_largefile_CC+:} false; then :
6879 $as_echo_n "(cached) " >&6
6880 else
6881 ac_cv_sys_largefile_CC=no
6882 if test "$GCC" != yes; then
6883 ac_save_CC=$CC
6884 while :; do
6885 # IRIX 6.2 and later do not support large files by default,
6886 # so use the C compiler's -n32 option if that helps.
6887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6888 /* end confdefs.h. */
6889 #include <sys/types.h>
6890 /* Check that off_t can represent 2**63 - 1 correctly.
6891 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6892 since some C++ compilers masquerading as C compilers
6893 incorrectly reject 9223372036854775807. */
6894 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6895 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6896 && LARGE_OFF_T % 2147483647 == 1)
6897 ? 1 : -1];
6899 main ()
6903 return 0;
6905 _ACEOF
6906 if ac_fn_c_try_compile "$LINENO"; then :
6907 break
6909 rm -f core conftest.err conftest.$ac_objext
6910 CC="$CC -n32"
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912 ac_cv_sys_largefile_CC=' -n32'; break
6914 rm -f core conftest.err conftest.$ac_objext
6915 break
6916 done
6917 CC=$ac_save_CC
6918 rm -f conftest.$ac_ext
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6922 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6923 if test "$ac_cv_sys_largefile_CC" != no; then
6924 CC=$CC$ac_cv_sys_largefile_CC
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6928 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6929 if ${ac_cv_sys_file_offset_bits+:} false; then :
6930 $as_echo_n "(cached) " >&6
6931 else
6932 while :; do
6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6934 /* end confdefs.h. */
6935 #include <sys/types.h>
6936 /* Check that off_t can represent 2**63 - 1 correctly.
6937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6938 since some C++ compilers masquerading as C compilers
6939 incorrectly reject 9223372036854775807. */
6940 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6942 && LARGE_OFF_T % 2147483647 == 1)
6943 ? 1 : -1];
6945 main ()
6949 return 0;
6951 _ACEOF
6952 if ac_fn_c_try_compile "$LINENO"; then :
6953 ac_cv_sys_file_offset_bits=no; break
6955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #define _FILE_OFFSET_BITS 64
6959 #include <sys/types.h>
6960 /* Check that off_t can represent 2**63 - 1 correctly.
6961 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6962 since some C++ compilers masquerading as C compilers
6963 incorrectly reject 9223372036854775807. */
6964 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6965 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6966 && LARGE_OFF_T % 2147483647 == 1)
6967 ? 1 : -1];
6969 main ()
6973 return 0;
6975 _ACEOF
6976 if ac_fn_c_try_compile "$LINENO"; then :
6977 ac_cv_sys_file_offset_bits=64; break
6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6980 ac_cv_sys_file_offset_bits=unknown
6981 break
6982 done
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6985 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6986 case $ac_cv_sys_file_offset_bits in #(
6987 no | unknown) ;;
6989 cat >>confdefs.h <<_ACEOF
6990 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6991 _ACEOF
6993 esac
6994 rm -rf conftest*
6995 if test $ac_cv_sys_file_offset_bits = unknown; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6997 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6998 if ${ac_cv_sys_large_files+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 while :; do
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 #include <sys/types.h>
7005 /* Check that off_t can represent 2**63 - 1 correctly.
7006 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7007 since some C++ compilers masquerading as C compilers
7008 incorrectly reject 9223372036854775807. */
7009 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7010 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7011 && LARGE_OFF_T % 2147483647 == 1)
7012 ? 1 : -1];
7014 main ()
7018 return 0;
7020 _ACEOF
7021 if ac_fn_c_try_compile "$LINENO"; then :
7022 ac_cv_sys_large_files=no; break
7024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #define _LARGE_FILES 1
7028 #include <sys/types.h>
7029 /* Check that off_t can represent 2**63 - 1 correctly.
7030 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7031 since some C++ compilers masquerading as C compilers
7032 incorrectly reject 9223372036854775807. */
7033 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7034 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7035 && LARGE_OFF_T % 2147483647 == 1)
7036 ? 1 : -1];
7038 main ()
7042 return 0;
7044 _ACEOF
7045 if ac_fn_c_try_compile "$LINENO"; then :
7046 ac_cv_sys_large_files=1; break
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7049 ac_cv_sys_large_files=unknown
7050 break
7051 done
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7054 $as_echo "$ac_cv_sys_large_files" >&6; }
7055 case $ac_cv_sys_large_files in #(
7056 no | unknown) ;;
7058 cat >>confdefs.h <<_ACEOF
7059 #define _LARGE_FILES $ac_cv_sys_large_files
7060 _ACEOF
7062 esac
7063 rm -rf conftest*
7070 ac_ext=c
7071 ac_cpp='$CPP $CPPFLAGS'
7072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7076 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7077 # On Suns, sometimes $CPP names a directory.
7078 if test -n "$CPP" && test -d "$CPP"; then
7079 CPP=
7081 if test -z "$CPP"; then
7082 if ${ac_cv_prog_CPP+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 # Double quotes because CPP needs to be expanded
7086 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7088 ac_preproc_ok=false
7089 for ac_c_preproc_warn_flag in '' yes
7091 # Use a header file that comes with gcc, so configuring glibc
7092 # with a fresh cross-compiler works.
7093 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7094 # <limits.h> exists even on freestanding compilers.
7095 # On the NeXT, cc -E runs the code through the compiler's parser,
7096 # not just through cpp. "Syntax error" is here to catch this case.
7097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7099 #ifdef __STDC__
7100 # include <limits.h>
7101 #else
7102 # include <assert.h>
7103 #endif
7104 Syntax error
7105 _ACEOF
7106 if ac_fn_c_try_cpp "$LINENO"; then :
7108 else
7109 # Broken: fails on valid input.
7110 continue
7112 rm -f conftest.err conftest.i conftest.$ac_ext
7114 # OK, works on sane cases. Now check whether nonexistent headers
7115 # can be detected and how.
7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7118 #include <ac_nonexistent.h>
7119 _ACEOF
7120 if ac_fn_c_try_cpp "$LINENO"; then :
7121 # Broken: success on invalid input.
7122 continue
7123 else
7124 # Passes both tests.
7125 ac_preproc_ok=:
7126 break
7128 rm -f conftest.err conftest.i conftest.$ac_ext
7130 done
7131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7132 rm -f conftest.i conftest.err conftest.$ac_ext
7133 if $ac_preproc_ok; then :
7134 break
7137 done
7138 ac_cv_prog_CPP=$CPP
7141 CPP=$ac_cv_prog_CPP
7142 else
7143 ac_cv_prog_CPP=$CPP
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7146 $as_echo "$CPP" >&6; }
7147 ac_preproc_ok=false
7148 for ac_c_preproc_warn_flag in '' yes
7150 # Use a header file that comes with gcc, so configuring glibc
7151 # with a fresh cross-compiler works.
7152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7153 # <limits.h> exists even on freestanding compilers.
7154 # On the NeXT, cc -E runs the code through the compiler's parser,
7155 # not just through cpp. "Syntax error" is here to catch this case.
7156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h. */
7158 #ifdef __STDC__
7159 # include <limits.h>
7160 #else
7161 # include <assert.h>
7162 #endif
7163 Syntax error
7164 _ACEOF
7165 if ac_fn_c_try_cpp "$LINENO"; then :
7167 else
7168 # Broken: fails on valid input.
7169 continue
7171 rm -f conftest.err conftest.i conftest.$ac_ext
7173 # OK, works on sane cases. Now check whether nonexistent headers
7174 # can be detected and how.
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 #include <ac_nonexistent.h>
7178 _ACEOF
7179 if ac_fn_c_try_cpp "$LINENO"; then :
7180 # Broken: success on invalid input.
7181 continue
7182 else
7183 # Passes both tests.
7184 ac_preproc_ok=:
7185 break
7187 rm -f conftest.err conftest.i conftest.$ac_ext
7189 done
7190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7191 rm -f conftest.i conftest.err conftest.$ac_ext
7192 if $ac_preproc_ok; then :
7194 else
7195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7197 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7198 See \`config.log' for more details" "$LINENO" 5; }
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7209 $as_echo_n "checking for ANSI C header files... " >&6; }
7210 if ${ac_cv_header_stdc+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7214 /* end confdefs.h. */
7215 #include <stdlib.h>
7216 #include <stdarg.h>
7217 #include <string.h>
7218 #include <float.h>
7221 main ()
7225 return 0;
7227 _ACEOF
7228 if ac_fn_c_try_compile "$LINENO"; then :
7229 ac_cv_header_stdc=yes
7230 else
7231 ac_cv_header_stdc=no
7233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7235 if test $ac_cv_header_stdc = yes; then
7236 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7239 #include <string.h>
7241 _ACEOF
7242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7243 $EGREP "memchr" >/dev/null 2>&1; then :
7245 else
7246 ac_cv_header_stdc=no
7248 rm -f conftest*
7252 if test $ac_cv_header_stdc = yes; then
7253 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256 #include <stdlib.h>
7258 _ACEOF
7259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7260 $EGREP "free" >/dev/null 2>&1; then :
7262 else
7263 ac_cv_header_stdc=no
7265 rm -f conftest*
7269 if test $ac_cv_header_stdc = yes; then
7270 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7271 if test "$cross_compiling" = yes; then :
7273 else
7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7276 #include <ctype.h>
7277 #include <stdlib.h>
7278 #if ((' ' & 0x0FF) == 0x020)
7279 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7280 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7281 #else
7282 # define ISLOWER(c) \
7283 (('a' <= (c) && (c) <= 'i') \
7284 || ('j' <= (c) && (c) <= 'r') \
7285 || ('s' <= (c) && (c) <= 'z'))
7286 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7287 #endif
7289 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7291 main ()
7293 int i;
7294 for (i = 0; i < 256; i++)
7295 if (XOR (islower (i), ISLOWER (i))
7296 || toupper (i) != TOUPPER (i))
7297 return 2;
7298 return 0;
7300 _ACEOF
7301 if ac_fn_c_try_run "$LINENO"; then :
7303 else
7304 ac_cv_header_stdc=no
7306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7307 conftest.$ac_objext conftest.beam conftest.$ac_ext
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7313 $as_echo "$ac_cv_header_stdc" >&6; }
7314 if test $ac_cv_header_stdc = yes; then
7316 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7320 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7321 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7322 inttypes.h stdint.h unistd.h
7323 do :
7324 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7325 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7327 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7328 cat >>confdefs.h <<_ACEOF
7329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7330 _ACEOF
7334 done
7337 for ac_header in \
7338 AL/al.h \
7339 ApplicationServices/ApplicationServices.h \
7340 AudioToolbox/AudioConverter.h \
7341 AudioUnit/AudioUnit.h \
7342 AudioUnit/AudioComponent.h \
7343 CL/cl.h \
7344 Carbon/Carbon.h \
7345 CommonCrypto/CommonCryptor.h \
7346 CoreAudio/CoreAudio.h \
7347 CoreServices/CoreServices.h \
7348 DiskArbitration/DiskArbitration.h \
7349 EGL/egl.h \
7350 IOKit/IOKitLib.h \
7351 IOKit/hid/IOHIDLib.h \
7352 OpenAL/al.h \
7353 OpenCL/opencl.h \
7354 QuickTime/ImageCompression.h \
7355 Security/Security.h \
7356 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7357 SystemConfiguration/SCNetworkConfiguration.h \
7358 alias.h \
7359 arpa/inet.h \
7360 arpa/nameser.h \
7361 asm/types.h \
7362 asm/user.h \
7363 curses.h \
7364 dirent.h \
7365 dlfcn.h \
7366 elf.h \
7367 float.h \
7368 fnmatch.h \
7369 getopt.h \
7370 gettext-po.h \
7371 grp.h \
7372 gsm.h \
7373 gsm/gsm.h \
7374 ieeefp.h \
7375 inet/mib2.h \
7376 kstat.h \
7377 libproc.h \
7378 link.h \
7379 linux/cdrom.h \
7380 linux/compiler.h \
7381 linux/filter.h \
7382 linux/hdreg.h \
7383 linux/hidraw.h \
7384 linux/input.h \
7385 linux/ioctl.h \
7386 linux/joystick.h \
7387 linux/major.h \
7388 linux/param.h \
7389 linux/serial.h \
7390 linux/types.h \
7391 linux/ucdrom.h \
7392 lwp.h \
7393 mach-o/nlist.h \
7394 mach-o/loader.h \
7395 mach/mach.h \
7396 mach/machine.h \
7397 machine/cpu.h \
7398 machine/limits.h \
7399 machine/sysarch.h \
7400 mntent.h \
7401 ncurses.h \
7402 netdb.h \
7403 netinet/in.h \
7404 netinet/in_systm.h \
7405 netinet/tcp.h \
7406 netinet/tcp_fsm.h \
7407 pcap/pcap.h \
7408 poll.h \
7409 port.h \
7410 pthread.h \
7411 pwd.h \
7412 sched.h \
7413 scsi/scsi.h \
7414 scsi/scsi_ioctl.h \
7415 scsi/sg.h \
7416 stdbool.h \
7417 stdint.h \
7418 stropts.h \
7419 sys/attr.h \
7420 sys/auxv.h \
7421 sys/cdio.h \
7422 sys/elf32.h \
7423 sys/epoll.h \
7424 sys/event.h \
7425 sys/exec_elf.h \
7426 sys/filio.h \
7427 sys/ioctl.h \
7428 sys/ipc.h \
7429 sys/limits.h \
7430 sys/link.h \
7431 sys/mman.h \
7432 sys/modem.h \
7433 sys/msg.h \
7434 sys/mtio.h \
7435 sys/param.h \
7436 sys/poll.h \
7437 sys/prctl.h \
7438 sys/protosw.h \
7439 sys/ptrace.h \
7440 sys/queue.h \
7441 sys/resource.h \
7442 sys/scsiio.h \
7443 sys/shm.h \
7444 sys/signal.h \
7445 sys/socket.h \
7446 sys/socketvar.h \
7447 sys/sockio.h \
7448 sys/statvfs.h \
7449 sys/strtio.h \
7450 sys/syscall.h \
7451 sys/sysinfo.h \
7452 sys/tihdr.h \
7453 sys/time.h \
7454 sys/timeout.h \
7455 sys/times.h \
7456 sys/uio.h \
7457 sys/user.h \
7458 sys/utsname.h \
7459 sys/vnode.h \
7460 sys/wait.h \
7461 syscall.h \
7462 termios.h \
7463 unistd.h \
7464 utime.h \
7465 valgrind/memcheck.h \
7466 valgrind/valgrind.h
7468 do :
7469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7470 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7472 cat >>confdefs.h <<_ACEOF
7473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 _ACEOF
7478 done
7480 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7481 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7483 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7488 if test $ac_cv_header_sys_mkdev_h = no; then
7489 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7490 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7492 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7499 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7500 if ${ac_cv_header_stat_broken+:} false; then :
7501 $as_echo_n "(cached) " >&6
7502 else
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 #include <sys/types.h>
7506 #include <sys/stat.h>
7508 #if defined S_ISBLK && defined S_IFDIR
7509 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7510 #endif
7512 #if defined S_ISBLK && defined S_IFCHR
7513 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7514 #endif
7516 #if defined S_ISLNK && defined S_IFREG
7517 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7518 #endif
7520 #if defined S_ISSOCK && defined S_IFREG
7521 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7522 #endif
7524 _ACEOF
7525 if ac_fn_c_try_compile "$LINENO"; then :
7526 ac_cv_header_stat_broken=no
7527 else
7528 ac_cv_header_stat_broken=yes
7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7533 $as_echo "$ac_cv_header_stat_broken" >&6; }
7534 if test $ac_cv_header_stat_broken = yes; then
7536 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7542 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7543 do :
7544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7546 #ifdef HAVE_SYS_PARAM_H
7547 # include <sys/param.h>
7548 #endif
7550 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7551 cat >>confdefs.h <<_ACEOF
7552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7560 for ac_header in \
7561 netinet/ip.h \
7562 net/if.h \
7563 net/if_arp.h \
7564 net/if_dl.h \
7565 net/if_types.h \
7566 net/route.h \
7567 netinet/if_ether.h \
7568 netinet/if_inarp.h \
7569 netinet/in_pcb.h \
7570 netinet/ip_icmp.h \
7571 netinet/ip_var.h \
7572 netinet/udp.h \
7573 netipx/ipx.h \
7574 sys/un.h \
7576 do :
7577 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7578 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7579 #ifdef HAVE_SYS_SOCKET_H
7580 # include <sys/socket.h>
7581 #endif
7582 #ifdef HAVE_SYS_SOCKETVAR_H
7583 # include <sys/socketvar.h>
7584 #endif
7585 #ifdef HAVE_NET_ROUTE_H
7586 # include <net/route.h>
7587 #endif
7588 #ifdef HAVE_NETINET_IN_H
7589 # include <netinet/in.h>
7590 #endif
7591 #ifdef HAVE_NETINET_IN_SYSTM_H
7592 # include <netinet/in_systm.h>
7593 #endif
7594 #ifdef HAVE_NET_IF_H
7595 # include <net/if.h>
7596 #endif
7597 #ifdef HAVE_NETINET_IP_H
7598 # include <netinet/ip.h>
7599 #endif
7601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7602 cat >>confdefs.h <<_ACEOF
7603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604 _ACEOF
7608 done
7611 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7612 do :
7613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7615 #ifdef HAVE_ALIAS_H
7616 # include <alias.h>
7617 #endif
7618 #ifdef HAVE_SYS_SOCKET_H
7619 # include <sys/socket.h>
7620 #endif
7621 #ifdef HAVE_SYS_SOCKETVAR_H
7622 # include <sys/socketvar.h>
7623 #endif
7624 #ifdef HAVE_SYS_TIMEOUT_H
7625 # include <sys/timeout.h>
7626 #endif
7627 #ifdef HAVE_NETINET_IN_H
7628 # include <netinet/in.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_SYSTM_H
7631 # include <netinet/in_systm.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IP_H
7634 # include <netinet/ip.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IP_VAR_H
7637 # include <netinet/ip_var.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_ICMP_H
7640 # include <netinet/ip_icmp.h>
7641 #endif
7642 #ifdef HAVE_NETINET_UDP_H
7643 # include <netinet/udp.h>
7644 #endif
7645 #ifdef HAVE_NETINET_TCP_H
7646 # include <netinet/tcp.h>
7647 #endif
7648 #ifdef HAVE_NETINET_TCP_TIMER_H
7649 #include <netinet/tcp_timer.h>
7650 #endif
7652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7653 cat >>confdefs.h <<_ACEOF
7654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7655 _ACEOF
7659 done
7662 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7663 do :
7664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7666 #ifdef HAVE_ASM_TYPES_H
7667 # include <asm/types.h>
7668 #endif
7669 #ifdef HAVE_SYS_SOCKET_H
7670 # include <sys/socket.h>
7671 #endif
7672 #ifdef HAVE_LINUX_TYPES_H
7673 # include <linux/types.h>
7674 #endif
7676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7677 cat >>confdefs.h <<_ACEOF
7678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7679 _ACEOF
7683 done
7686 for ac_header in resolv.h
7687 do :
7688 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7689 #ifdef HAVE_SYS_SOCKET_H
7690 # include <sys/socket.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IN_H
7693 # include <netinet/in.h>
7694 #endif
7695 #ifdef HAVE_ARPA_NAMESER_H
7696 # include <arpa/nameser.h>
7697 #endif
7699 if test "x$ac_cv_header_resolv_h" = xyes; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define HAVE_RESOLV_H 1
7702 _ACEOF
7706 done
7709 for ac_header in ifaddrs.h
7710 do :
7711 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7713 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7714 cat >>confdefs.h <<_ACEOF
7715 #define HAVE_IFADDRS_H 1
7716 _ACEOF
7720 done
7723 for ac_header in sys/ucontext.h
7724 do :
7725 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7727 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_SYS_UCONTEXT_H 1
7730 _ACEOF
7734 done
7737 for ac_header in sys/thr.h
7738 do :
7739 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7740 #ifdef HAVE_SYS_UCONTEXT_H
7741 #include <sys/ucontext.h>
7742 #endif
7744 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_SYS_THR_H 1
7747 _ACEOF
7751 done
7754 for ac_header in pthread_np.h
7755 do :
7756 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7757 #include <pthread.h>
7758 #endif
7760 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_PTHREAD_NP_H 1
7763 _ACEOF
7767 done
7770 for ac_header in linux/videodev2.h
7771 do :
7772 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7773 #include <sys/time.h>
7774 #endif
7775 #include <sys/types.h>
7776 #ifdef HAVE_ASM_TYPES_H
7777 #include <asm/types.h>
7778 #endif
7780 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define HAVE_LINUX_VIDEODEV2_H 1
7783 _ACEOF
7787 done
7790 for ac_header in libprocstat.h
7791 do :
7792 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7793 #include <sys/param.h>
7794 #endif
7795 #ifdef HAVE_SYS_QUEUE_H
7796 #include <sys/queue.h>
7797 #endif
7798 #ifdef HAVE_SYS_SOCKET_H
7799 #include <sys/socket.h>
7800 #endif
7802 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_LIBPROCSTAT_H 1
7805 _ACEOF
7809 done
7813 DLLFLAGS="-D_REENTRANT"
7815 LDRPATH_INSTALL=""
7817 LDRPATH_LOCAL=""
7819 LDDLLFLAGS=""
7821 LDEXECFLAGS=""
7823 TOP_INSTALL_LIB=""
7825 TOP_INSTALL_DEV=""
7827 WINELOADER_LDFLAGS=""
7829 WINEPRELOADER_LDFLAGS=""
7831 LIBEXT="so"
7832 DLLEXT=".so"
7833 # Extract the first word of "ldd", so it can be a program name with args.
7834 set dummy ldd; ac_word=$2
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7836 $as_echo_n "checking for $ac_word... " >&6; }
7837 if ${ac_cv_path_LDD+:} false; then :
7838 $as_echo_n "(cached) " >&6
7839 else
7840 case $LDD in
7841 [\\/]* | ?:[\\/]*)
7842 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 as_dummy="/sbin:/usr/sbin:$PATH"
7847 for as_dir in $as_dummy
7849 IFS=$as_save_IFS
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7853 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 break 2
7857 done
7858 done
7859 IFS=$as_save_IFS
7861 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7863 esac
7865 LDD=$ac_cv_path_LDD
7866 if test -n "$LDD"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7868 $as_echo "$LDD" >&6; }
7869 else
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871 $as_echo "no" >&6; }
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}otool; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_OTOOL+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$OTOOL"; then
7884 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7903 OTOOL=$ac_cv_prog_OTOOL
7904 if test -n "$OTOOL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7906 $as_echo "$OTOOL" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7914 if test -z "$ac_cv_prog_OTOOL"; then
7915 ac_ct_OTOOL=$OTOOL
7916 # Extract the first word of "otool", so it can be a program name with args.
7917 set dummy otool; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$ac_ct_OTOOL"; then
7924 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_OTOOL="otool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7944 if test -n "$ac_ct_OTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7946 $as_echo "$ac_ct_OTOOL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7952 if test "x$ac_ct_OTOOL" = x; then
7953 OTOOL="otool"
7954 else
7955 case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961 OTOOL=$ac_ct_OTOOL
7963 else
7964 OTOOL="$ac_cv_prog_OTOOL"
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_READELF+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$READELF"; then
7976 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7995 READELF=$ac_cv_prog_READELF
7996 if test -n "$READELF"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7998 $as_echo "$READELF" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_READELF"; then
8007 ac_ct_READELF=$READELF
8008 # Extract the first word of "readelf", so it can be a program name with args.
8009 set dummy readelf; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_READELF"; then
8016 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_READELF="readelf"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8036 if test -n "$ac_ct_READELF"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8038 $as_echo "$ac_ct_READELF" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_READELF" = x; then
8045 READELF="true"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 READELF=$ac_ct_READELF
8055 else
8056 READELF="$ac_cv_prog_READELF"
8059 wine_rules_file=conf$$rules.make
8060 rm -f $wine_rules_file
8061 SUBDIRS=""
8063 DISABLED_SUBDIRS=""
8065 CONFIGURE_TARGETS=""
8068 wine_fn_append_file ()
8070 as_fn_append $1 " \\$as_nl $2"
8073 wine_fn_append_rule ()
8075 $as_echo "$1" >>$wine_rules_file
8078 wine_fn_config_makefile ()
8080 wine_fn_append_file SUBDIRS $1
8081 if eval test \"x\$"$2"\" = x"no"; then :
8082 wine_fn_append_file DISABLED_SUBDIRS $1
8086 wine_fn_config_symlink ()
8088 ac_links=$@
8089 wine_fn_append_rule \
8090 "$ac_links:
8091 @./config.status \$@"
8092 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8095 wine_binary="wine"
8096 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8097 WINELOADER_PROGRAMS="$wine_binary"
8099 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8101 case $host_os in
8102 cygwin*|mingw32*)
8103 if test -n "$ac_tool_prefix"; then
8104 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8105 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_DLLTOOL+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 if test -n "$DLLTOOL"; then
8112 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8113 else
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8117 IFS=$as_save_IFS
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 break 2
8125 done
8126 done
8127 IFS=$as_save_IFS
8131 DLLTOOL=$ac_cv_prog_DLLTOOL
8132 if test -n "$DLLTOOL"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8134 $as_echo "$DLLTOOL" >&6; }
8135 else
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8142 if test -z "$ac_cv_prog_DLLTOOL"; then
8143 ac_ct_DLLTOOL=$DLLTOOL
8144 # Extract the first word of "dlltool", so it can be a program name with args.
8145 set dummy dlltool; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 if test -n "$ac_ct_DLLTOOL"; then
8152 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8157 IFS=$as_save_IFS
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 break 2
8165 done
8166 done
8167 IFS=$as_save_IFS
8171 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8172 if test -n "$ac_ct_DLLTOOL"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8174 $as_echo "$ac_ct_DLLTOOL" >&6; }
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8180 if test "x$ac_ct_DLLTOOL" = x; then
8181 DLLTOOL="false"
8182 else
8183 case $cross_compiling:$ac_tool_warned in
8184 yes:)
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8187 ac_tool_warned=yes ;;
8188 esac
8189 DLLTOOL=$ac_ct_DLLTOOL
8191 else
8192 DLLTOOL="$ac_cv_prog_DLLTOOL"
8195 LIBEXT="dll"
8196 DLLEXT=""
8197 case $host_cpu in
8198 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8199 esac
8200 enable_iphlpapi=${enable_iphlpapi:-no}
8201 enable_kernel32=${enable_kernel32:-no}
8202 enable_ntdll=${enable_ntdll:-no}
8203 enable_ws2_32=${enable_ws2_32:-no}
8204 enable_loader=${enable_loader:-no}
8205 enable_server=${enable_server:-no}
8206 with_x=${with_x:-no}
8207 with_pthread=${with_pthread:-no}
8210 darwin*|macosx*)
8211 ac_ext=m
8212 ac_cpp='$OBJCPP $CPPFLAGS'
8213 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8214 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8215 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8217 ac_ext=m
8218 ac_cpp='$OBJCPP $CPPFLAGS'
8219 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8220 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8221 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8222 if test -n "$ac_tool_prefix"; then
8223 for ac_prog in gcc objcc objc cc CC
8225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_OBJC+:} false; then :
8230 $as_echo_n "(cached) " >&6
8231 else
8232 if test -n "$OBJC"; then
8233 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8238 IFS=$as_save_IFS
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 break 2
8246 done
8247 done
8248 IFS=$as_save_IFS
8252 OBJC=$ac_cv_prog_OBJC
8253 if test -n "$OBJC"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8255 $as_echo "$OBJC" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8262 test -n "$OBJC" && break
8263 done
8265 if test -z "$OBJC"; then
8266 ac_ct_OBJC=$OBJC
8267 for ac_prog in gcc objcc objc cc CC
8269 # Extract the first word of "$ac_prog", so it can be a program name with args.
8270 set dummy $ac_prog; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272 $as_echo_n "checking for $ac_word... " >&6; }
8273 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 if test -n "$ac_ct_OBJC"; then
8277 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8278 else
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280 for as_dir in $PATH
8282 IFS=$as_save_IFS
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8286 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 break 2
8290 done
8291 done
8292 IFS=$as_save_IFS
8296 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8297 if test -n "$ac_ct_OBJC"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8299 $as_echo "$ac_ct_OBJC" >&6; }
8300 else
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8306 test -n "$ac_ct_OBJC" && break
8307 done
8309 if test "x$ac_ct_OBJC" = x; then
8310 OBJC="gcc"
8311 else
8312 case $cross_compiling:$ac_tool_warned in
8313 yes:)
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8316 ac_tool_warned=yes ;;
8317 esac
8318 OBJC=$ac_ct_OBJC
8322 # Provide some information about the compiler.
8323 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8324 set X $ac_compile
8325 ac_compiler=$2
8326 for ac_option in --version -v -V -qversion; do
8327 { { ac_try="$ac_compiler $ac_option >&5"
8328 case "(($ac_try" in
8329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8330 *) ac_try_echo=$ac_try;;
8331 esac
8332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8333 $as_echo "$ac_try_echo"; } >&5
8334 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8335 ac_status=$?
8336 if test -s conftest.err; then
8337 sed '10a\
8338 ... rest of stderr output deleted ...
8339 10q' conftest.err >conftest.er1
8340 cat conftest.er1 >&5
8342 rm -f conftest.er1 conftest.err
8343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8344 test $ac_status = 0; }
8345 done
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8348 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8349 if ${ac_cv_objc_compiler_gnu+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8356 main ()
8358 #ifndef __GNUC__
8359 choke me
8360 #endif
8363 return 0;
8365 _ACEOF
8366 if ac_fn_objc_try_compile "$LINENO"; then :
8367 ac_compiler_gnu=yes
8368 else
8369 ac_compiler_gnu=no
8371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8372 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8376 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8377 if test $ac_compiler_gnu = yes; then
8378 GOBJC=yes
8379 else
8380 GOBJC=
8382 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8383 ac_save_OBJCFLAGS=$OBJCFLAGS
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8385 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8386 if ${ac_cv_prog_objc_g+:} false; then :
8387 $as_echo_n "(cached) " >&6
8388 else
8389 ac_save_objc_werror_flag=$ac_objc_werror_flag
8390 ac_objc_werror_flag=yes
8391 ac_cv_prog_objc_g=no
8392 OBJCFLAGS="-g"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8397 main ()
8401 return 0;
8403 _ACEOF
8404 if ac_fn_objc_try_compile "$LINENO"; then :
8405 ac_cv_prog_objc_g=yes
8406 else
8407 OBJCFLAGS=""
8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8412 main ()
8416 return 0;
8418 _ACEOF
8419 if ac_fn_objc_try_compile "$LINENO"; then :
8421 else
8422 ac_objc_werror_flag=$ac_save_objc_werror_flag
8423 OBJCFLAGS="-g"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8428 main ()
8432 return 0;
8434 _ACEOF
8435 if ac_fn_objc_try_compile "$LINENO"; then :
8436 ac_cv_prog_objc_g=yes
8438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 ac_objc_werror_flag=$ac_save_objc_werror_flag
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8446 $as_echo "$ac_cv_prog_objc_g" >&6; }
8447 if test "$ac_test_OBJCFLAGS" = set; then
8448 OBJCFLAGS=$ac_save_OBJCFLAGS
8449 elif test $ac_cv_prog_objc_g = yes; then
8450 if test "$GOBJC" = yes; then
8451 OBJCFLAGS="-g -O2"
8452 else
8453 OBJCFLAGS="-g"
8455 else
8456 if test "$GOBJC" = yes; then
8457 OBJCFLAGS="-O2"
8458 else
8459 OBJCFLAGS=
8462 ac_ext=m
8463 ac_cpp='$OBJCPP $CPPFLAGS'
8464 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8465 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8466 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8475 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8476 if test -z "$OBJCPP"; then
8477 if ${ac_cv_prog_OBJCPP+:} false; then :
8478 $as_echo_n "(cached) " >&6
8479 else
8480 # Double quotes because OBJCPP needs to be expanded
8481 for OBJCPP in "$OBJC -E" "/lib/cpp"
8483 ac_preproc_ok=false
8484 for ac_objc_preproc_warn_flag in '' yes
8486 # Use a header file that comes with gcc, so configuring glibc
8487 # with a fresh cross-compiler works.
8488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8489 # <limits.h> exists even on freestanding compilers.
8490 # On the NeXT, cc -E runs the code through the compiler's parser,
8491 # not just through cpp. "Syntax error" is here to catch this case.
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 #ifdef __STDC__
8495 # include <limits.h>
8496 #else
8497 # include <assert.h>
8498 #endif
8499 Syntax error
8500 _ACEOF
8501 if ac_fn_objc_try_cpp "$LINENO"; then :
8503 else
8504 # Broken: fails on valid input.
8505 continue
8507 rm -f conftest.err conftest.i conftest.$ac_ext
8509 # OK, works on sane cases. Now check whether nonexistent headers
8510 # can be detected and how.
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 #include <ac_nonexistent.h>
8514 _ACEOF
8515 if ac_fn_objc_try_cpp "$LINENO"; then :
8516 # Broken: success on invalid input.
8517 continue
8518 else
8519 # Passes both tests.
8520 ac_preproc_ok=:
8521 break
8523 rm -f conftest.err conftest.i conftest.$ac_ext
8525 done
8526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8527 rm -f conftest.i conftest.err conftest.$ac_ext
8528 if $ac_preproc_ok; then :
8529 break
8532 done
8533 ac_cv_prog_OBJCPP=$OBJCPP
8536 OBJCPP=$ac_cv_prog_OBJCPP
8537 else
8538 ac_cv_prog_OBJCPP=$OBJCPP
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8541 $as_echo "$OBJCPP" >&6; }
8542 ac_preproc_ok=false
8543 for ac_objc_preproc_warn_flag in '' yes
8545 # Use a header file that comes with gcc, so configuring glibc
8546 # with a fresh cross-compiler works.
8547 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8548 # <limits.h> exists even on freestanding compilers.
8549 # On the NeXT, cc -E runs the code through the compiler's parser,
8550 # not just through cpp. "Syntax error" is here to catch this case.
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 #ifdef __STDC__
8554 # include <limits.h>
8555 #else
8556 # include <assert.h>
8557 #endif
8558 Syntax error
8559 _ACEOF
8560 if ac_fn_objc_try_cpp "$LINENO"; then :
8562 else
8563 # Broken: fails on valid input.
8564 continue
8566 rm -f conftest.err conftest.i conftest.$ac_ext
8568 # OK, works on sane cases. Now check whether nonexistent headers
8569 # can be detected and how.
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 #include <ac_nonexistent.h>
8573 _ACEOF
8574 if ac_fn_objc_try_cpp "$LINENO"; then :
8575 # Broken: success on invalid input.
8576 continue
8577 else
8578 # Passes both tests.
8579 ac_preproc_ok=:
8580 break
8582 rm -f conftest.err conftest.i conftest.$ac_ext
8584 done
8585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8586 rm -f conftest.i conftest.err conftest.$ac_ext
8587 if $ac_preproc_ok; then :
8589 else
8590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8592 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8593 See \`config.log' for more details" "$LINENO" 5; }
8596 ac_ext=m
8597 ac_cpp='$OBJCPP $CPPFLAGS'
8598 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8599 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8600 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8603 for ac_header in Metal/Metal.h
8604 do :
8605 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8606 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8607 cat >>confdefs.h <<_ACEOF
8608 #define HAVE_METAL_METAL_H 1
8609 _ACEOF
8613 done
8615 ac_ext=c
8616 ac_cpp='$CPP $CPPFLAGS'
8617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8621 LIBEXT="dylib"
8622 DLLFLAGS="$DLLFLAGS -fPIC"
8623 LDDLLFLAGS="-fPIC"
8624 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8625 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8626 COREFOUNDATION_LIBS="-framework CoreFoundation"
8628 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8630 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8632 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8634 CORESERVICES_LIBS="-framework CoreServices"
8636 APPKIT_LIBS="-framework AppKit"
8638 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8641 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8643 wine_can_build_preloader=yes
8644 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8646 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8647 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 ac_cv_cflags__Wl__no_new_main__e__main=yes
8658 else
8659 ac_cv_cflags__Wl__no_new_main__e__main=no
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8666 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8667 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8668 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8670 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8671 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 ac_wine_try_cflags_saved=$CFLAGS
8675 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 int main(int argc, char **argv) { return 0; }
8679 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then :
8681 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8682 else
8683 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8685 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8690 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8691 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8692 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8693 else
8694 { $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
8695 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8696 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 int main(int argc, char **argv) { return 0; }
8704 _ACEOF
8705 if ac_fn_c_try_link "$LINENO"; then :
8706 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8707 else
8708 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { $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
8715 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8716 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8717 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8718 else
8719 wine_can_build_preloader=no
8722 else
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8724 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8725 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_wine_try_cflags_saved=$CFLAGS
8729 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 int main(int argc, char **argv) { return 0; }
8733 _ACEOF
8734 if ac_fn_c_try_link "$LINENO"; then :
8735 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8736 else
8737 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 CFLAGS=$ac_wine_try_cflags_saved
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8744 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8745 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8746 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8747 else
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8749 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8750 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 ac_wine_try_cflags_saved=$CFLAGS
8754 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 int main(int argc, char **argv) { return 0; }
8758 _ACEOF
8759 if ac_fn_c_try_link "$LINENO"; then :
8760 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8761 else
8762 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8764 rm -f core conftest.err conftest.$ac_objext \
8765 conftest$ac_exeext conftest.$ac_ext
8766 CFLAGS=$ac_wine_try_cflags_saved
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8769 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8770 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8771 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8772 else
8773 wine_can_build_preloader=no
8777 if test "$wine_can_build_preloader" = "yes"
8778 then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8780 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8781 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -Wl,-no_pie"
8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8788 int main(int argc, char **argv) { return 0; }
8789 _ACEOF
8790 if ac_fn_c_try_link "$LINENO"; then :
8791 ac_cv_cflags__Wl__no_pie=yes
8792 else
8793 ac_cv_cflags__Wl__no_pie=no
8795 rm -f core conftest.err conftest.$ac_objext \
8796 conftest$ac_exeext conftest.$ac_ext
8797 CFLAGS=$ac_wine_try_cflags_saved
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8800 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8801 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8802 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8804 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8805 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8806 else
8807 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8810 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8811 then
8812 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8815 if test "$ac_cv_header_Security_Security_h" = "yes"
8816 then
8817 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8819 ac_save_LIBS="$LIBS"
8820 LIBS="$LIBS $SECURITY_LIBS"
8821 for ac_func in SSLCopyPeerCertificates
8822 do :
8823 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8824 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8825 cat >>confdefs.h <<_ACEOF
8826 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8827 _ACEOF
8830 done
8832 LIBS="$ac_save_LIBS"
8834 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8835 then
8836 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8837 then
8838 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8840 else
8841 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8844 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8845 ac_save_LIBS="$LIBS"
8846 LIBS="$LIBS $COREAUDIO_LIBS"
8847 for ac_func in AUGraphAddNode
8848 do :
8849 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8850 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8851 cat >>confdefs.h <<_ACEOF
8852 #define HAVE_AUGRAPHADDNODE 1
8853 _ACEOF
8856 done
8858 LIBS="$ac_save_LIBS"
8860 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8861 then
8862 OPENAL_LIBS="-framework OpenAL"
8865 cat >>confdefs.h <<_ACEOF
8866 #define HAVE_OPENAL 1
8867 _ACEOF
8869 ac_cv_lib_openal=yes
8871 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8872 then
8873 OPENCL_LIBS="-framework OpenCL"
8875 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8877 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8878 then
8879 ac_save_LIBS="$LIBS"
8880 LIBS="$LIBS $IOKIT_LIBS"
8881 for ac_func in IOHIDManagerCreate
8882 do :
8883 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8884 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8885 cat >>confdefs.h <<_ACEOF
8886 #define HAVE_IOHIDMANAGERCREATE 1
8887 _ACEOF
8890 done
8892 LIBS="$ac_save_LIBS"
8894 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8895 then
8896 ac_save_LIBS="$LIBS"
8897 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8899 $as_echo_n "checking for the QuickTime framework... " >&6; }
8900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8902 #include <QuickTime/ImageCompression.h>
8904 main ()
8906 CodecManagerVersion(NULL);
8908 return 0;
8910 _ACEOF
8911 if ac_fn_c_try_link "$LINENO"; then :
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8913 $as_echo "yes" >&6; }
8914 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8916 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8920 ac_cv_header_QuickTime_ImageCompression_h=no
8922 rm -f core conftest.err conftest.$ac_objext \
8923 conftest$ac_exeext conftest.$ac_ext
8924 LIBS="$ac_save_LIBS"
8926 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8927 then
8928 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8930 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8931 then
8932 CARBON_LIBS="-framework Carbon"
8935 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8936 then
8937 METAL_LIBS="-framework Metal -framework QuartzCore"
8941 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8942 then
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8944 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8945 ac_ext=m
8946 ac_cpp='$OBJCPP $CPPFLAGS'
8947 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8948 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8949 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8953 #include <Metal/Metal.h>
8955 main ()
8957 id<MTLDevice> device; device.registryID;
8959 return 0;
8961 _ACEOF
8962 if ac_fn_objc_try_compile "$LINENO"; then :
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8964 $as_echo "yes" >&6; }
8966 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8973 ac_ext=c
8974 ac_cpp='$CPP $CPPFLAGS'
8975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8981 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8982 then
8983 ac_save_LIBS="$LIBS"
8984 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8985 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8986 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8987 enable_winemac_drv=${enable_winemac_drv:-yes}
8990 LIBS="$ac_save_LIBS"
8993 if test "x$enable_win16" = "xyes"
8994 then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8996 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8997 if test "$cross_compiling" = yes; then :
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8999 $as_echo "cross-compiling, assuming yes" >&6; }
9000 else
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9003 asm(".text\n"
9004 "bad:\tnop;nop\n"
9005 "good:\tnop;nop\n\t"
9006 ".globl _testfunc\n"
9007 "_testfunc:\tcallw good");
9008 extern void testfunc();
9010 main ()
9012 unsigned short *p = (unsigned short *)testfunc;
9013 return p[0] != 0xe866 || p[1] != 0xfffa
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_run "$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9020 $as_echo "yes" >&6; }
9021 else
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9024 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
9026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9027 conftest.$ac_objext conftest.beam conftest.$ac_ext
9032 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9034 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9036 WINELOADER_DEPENDS="wine_info.plist"
9038 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9039 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9042 linux-android*)
9043 DLLFLAGS="$DLLFLAGS -fPIC"
9044 LDDLLFLAGS="-fPIC"
9045 LDEXECFLAGS="-Wl,-pie"
9046 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9048 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9049 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9050 $as_echo_n "(cached) " >&6
9051 else
9052 ac_wine_try_cflags_saved=$CFLAGS
9053 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9056 int main(int argc, char **argv) { return 0; }
9057 _ACEOF
9058 if ac_fn_c_try_link "$LINENO"; then :
9059 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9060 else
9061 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9063 rm -f core conftest.err conftest.$ac_objext \
9064 conftest$ac_exeext conftest.$ac_ext
9065 CFLAGS=$ac_wine_try_cflags_saved
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9068 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9069 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9070 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9072 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9073 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9075 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9076 if eval \${$as_ac_var+:} false; then :
9077 $as_echo_n "(cached) " >&6
9078 else
9079 ac_wine_try_cflags_saved=$CFLAGS
9080 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 int main(int argc, char **argv) { return 0; }
9084 _ACEOF
9085 if ac_fn_c_try_link "$LINENO"; then :
9086 eval "$as_ac_var=yes"
9087 else
9088 eval "$as_ac_var=no"
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 CFLAGS=$ac_wine_try_cflags_saved
9094 eval ac_res=\$$as_ac_var
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9096 $as_echo "$ac_res" >&6; }
9097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9098 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9099 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9100 else
9101 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9103 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9104 if eval \${$as_ac_var+:} false; then :
9105 $as_echo_n "(cached) " >&6
9106 else
9107 ac_wine_try_cflags_saved=$CFLAGS
9108 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 int main(int argc, char **argv) { return 0; }
9112 _ACEOF
9113 if ac_fn_c_try_link "$LINENO"; then :
9114 eval "$as_ac_var=yes"
9115 else
9116 eval "$as_ac_var=no"
9118 rm -f core conftest.err conftest.$ac_objext \
9119 conftest$ac_exeext conftest.$ac_ext
9120 CFLAGS=$ac_wine_try_cflags_saved
9122 eval ac_res=\$$as_ac_var
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9124 $as_echo "$ac_res" >&6; }
9125 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9126 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9127 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9131 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9132 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9133 $as_echo_n "(cached) " >&6
9134 else
9135 ac_wine_try_cflags_saved=$CFLAGS
9136 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 int main(int argc, char **argv) { return 0; }
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 ac_cv_cflags__Wl___enable_new_dtags=yes
9143 else
9144 ac_cv_cflags__Wl___enable_new_dtags=no
9146 rm -f core conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9148 CFLAGS=$ac_wine_try_cflags_saved
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9151 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9152 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9153 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9156 LIBWINE_SHAREDLIB="libwine.so"
9158 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9160 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9163 $as_echo_n "checking for -lEGL... " >&6; }
9164 if ${ac_cv_lib_soname_EGL+:} false; then :
9165 $as_echo_n "(cached) " >&6
9166 else
9167 ac_check_soname_save_LIBS=$LIBS
9168 LIBS="-lEGL $LIBS"
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9172 /* Override any GCC internal prototype to avoid an error.
9173 Use char because int might match the return type of a GCC
9174 builtin and then its argument prototype would still apply. */
9175 #ifdef __cplusplus
9176 extern "C"
9177 #endif
9178 char eglGetProcAddress ();
9180 main ()
9182 return eglGetProcAddress ();
9184 return 0;
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 case "$LIBEXT" in
9189 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9190 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'` ;;
9191 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9192 if ${ac_cv_lib_soname_EGL:+false} :; then :
9193 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9194 fi ;;
9195 esac
9196 else
9197 ac_cv_lib_soname_EGL=
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_soname_save_LIBS
9203 if ${ac_cv_lib_soname_EGL:+false} :; then :
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9205 $as_echo "not found" >&6; }
9207 else
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9209 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9211 cat >>confdefs.h <<_ACEOF
9212 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9213 _ACEOF
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9218 $as_echo_n "checking for -lGLESv2... " >&6; }
9219 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 ac_check_soname_save_LIBS=$LIBS
9223 LIBS="-lGLESv2 $LIBS"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9230 #ifdef __cplusplus
9231 extern "C"
9232 #endif
9233 char glFlush ();
9235 main ()
9237 return glFlush ();
9239 return 0;
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 case "$LIBEXT" in
9244 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9245 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'` ;;
9246 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9247 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9248 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9249 fi ;;
9250 esac
9251 else
9252 ac_cv_lib_soname_GLESv2=
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_soname_save_LIBS
9258 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9260 $as_echo "not found" >&6; }
9262 else
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9264 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9266 cat >>confdefs.h <<_ACEOF
9267 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9268 _ACEOF
9273 if test "x$exec_prefix" = xNONE
9274 then
9275 case $host_cpu in
9276 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9277 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9278 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9279 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9280 esac
9285 case $host_cpu in
9286 *i[3456789]86*)
9287 DLLFLAGS="$DLLFLAGS -fno-PIC"
9288 LDDLLFLAGS="-fno-PIC" ;;
9290 DLLFLAGS="$DLLFLAGS -fPIC"
9291 LDDLLFLAGS="-fPIC" ;;
9292 esac
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9294 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9295 if ${ac_cv_c_dll_gnuelf+:} false; then :
9296 $as_echo_n "(cached) " >&6
9297 else
9298 ac_wine_try_cflags_saved=$CFLAGS
9299 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9302 void myfunc() {}
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9306 else
9307 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 CFLAGS=$ac_wine_try_cflags_saved
9312 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9313 ac_cv_c_dll_gnuelf="yes"
9314 else
9315 ac_cv_c_dll_gnuelf="no"
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9319 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9320 if test "$ac_cv_c_dll_gnuelf" = "yes"
9321 then
9322 LIBWINE_LDFLAGS="-shared"
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9324 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9325 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_wine_try_cflags_saved=$CFLAGS
9329 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 int main(int argc, char **argv) { return 0; }
9333 _ACEOF
9334 if ac_fn_c_try_link "$LINENO"; then :
9335 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9336 else
9337 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9339 rm -f core conftest.err conftest.$ac_objext \
9340 conftest$ac_exeext conftest.$ac_ext
9341 CFLAGS=$ac_wine_try_cflags_saved
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9344 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9345 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9346 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9347 else
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9349 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9350 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_wine_try_cflags_saved=$CFLAGS
9354 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9357 int main(int argc, char **argv) { return 0; }
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9361 else
9362 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 CFLAGS=$ac_wine_try_cflags_saved
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9369 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9370 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9371 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9375 echo '{ global: *; };' >conftest.map
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9377 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9378 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_wine_try_cflags_saved=$CFLAGS
9382 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9385 int main(int argc, char **argv) { return 0; }
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9389 else
9390 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 CFLAGS=$ac_wine_try_cflags_saved
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9397 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9398 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9399 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9401 rm -f conftest.map
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9404 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9405 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_wine_try_cflags_saved=$CFLAGS
9409 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 int main(int argc, char **argv) { return 0; }
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_cflags__Wl___export_dynamic=yes
9416 else
9417 ac_cv_cflags__Wl___export_dynamic=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9424 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9425 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9426 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9428 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9430 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9432 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9433 if eval \${$as_ac_var+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_wine_try_cflags_saved=$CFLAGS
9437 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int main(int argc, char **argv) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 eval "$as_ac_var=yes"
9444 else
9445 eval "$as_ac_var=no"
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 CFLAGS=$ac_wine_try_cflags_saved
9451 eval ac_res=\$$as_ac_var
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9453 $as_echo "$ac_res" >&6; }
9454 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9455 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9456 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9457 else
9458 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9460 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9461 if eval \${$as_ac_var+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_wine_try_cflags_saved=$CFLAGS
9465 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 int main(int argc, char **argv) { return 0; }
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 eval "$as_ac_var=yes"
9472 else
9473 eval "$as_ac_var=no"
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 CFLAGS=$ac_wine_try_cflags_saved
9479 eval ac_res=\$$as_ac_var
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9481 $as_echo "$ac_res" >&6; }
9482 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9483 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9484 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9489 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9490 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 ac_wine_try_cflags_saved=$CFLAGS
9494 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9497 int main(int argc, char **argv) { return 0; }
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500 ac_cv_cflags__Wl___enable_new_dtags=yes
9501 else
9502 ac_cv_cflags__Wl___enable_new_dtags=no
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 CFLAGS=$ac_wine_try_cflags_saved
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9509 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9510 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9511 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9514 case $host_cpu in
9515 *i[3456789]86* | x86_64 | *aarch64*)
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9517 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9518 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 ac_wine_try_cflags_saved=$CFLAGS
9522 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9525 int main(int argc, char **argv) { return 0; }
9526 _ACEOF
9527 if ac_fn_c_try_link "$LINENO"; then :
9528 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9529 else
9530 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9532 rm -f core conftest.err conftest.$ac_objext \
9533 conftest$ac_exeext conftest.$ac_ext
9534 CFLAGS=$ac_wine_try_cflags_saved
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9537 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9538 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9539 case $host_os in
9540 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9541 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9542 esac
9543 else
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9545 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9546 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_wine_try_cflags_saved=$CFLAGS
9550 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9553 int main(int argc, char **argv) { return 0; }
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9557 else
9558 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 CFLAGS=$ac_wine_try_cflags_saved
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9565 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9566 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9567 case $host_os in
9568 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9569 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9570 esac
9572 # Extract the first word of "prelink", so it can be a program name with args.
9573 set dummy prelink; ac_word=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 $as_echo_n "checking for $ac_word... " >&6; }
9576 if ${ac_cv_path_PRELINK+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 case $PRELINK in
9580 [\\/]* | ?:[\\/]*)
9581 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9585 for as_dir in /sbin /usr/sbin $PATH
9587 IFS=$as_save_IFS
9588 test -z "$as_dir" && as_dir=.
9589 for ac_exec_ext in '' $ac_executable_extensions; do
9590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9591 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9593 break 2
9595 done
9596 done
9597 IFS=$as_save_IFS
9599 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9601 esac
9603 PRELINK=$ac_cv_path_PRELINK
9604 if test -n "$PRELINK"; then
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9606 $as_echo "$PRELINK" >&6; }
9607 else
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9609 $as_echo "no" >&6; }
9613 if test "x$PRELINK" = xfalse
9614 then
9615 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9619 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9620 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_wine_try_cflags_saved=$CFLAGS
9624 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9627 int main(int argc, char **argv) { return 0; }
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9631 else
9632 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 CFLAGS=$ac_wine_try_cflags_saved
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9639 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9640 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9641 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9644 esac
9646 else
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9648 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9649 if ${ac_cv_c_dll_unixware+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 ac_wine_try_cflags_saved=$CFLAGS
9653 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9656 void myfunc() {}
9657 _ACEOF
9658 if ac_fn_c_try_link "$LINENO"; then :
9659 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9660 else
9661 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9663 rm -f core conftest.err conftest.$ac_objext \
9664 conftest$ac_exeext conftest.$ac_ext
9665 CFLAGS=$ac_wine_try_cflags_saved
9666 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9667 ac_cv_c_dll_unixware="yes"
9668 else
9669 ac_cv_c_dll_unixware="no"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9673 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9674 if test "$ac_cv_c_dll_unixware" = "yes"
9675 then
9676 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9679 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9681 LIBWINE_DEPENDS="wine.map"
9683 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9684 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9686 esac
9688 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9689 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9690 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9691 enable_winemac_drv=${enable_winemac_drv:-no}
9692 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9694 CROSSTARGET=""
9696 if test "x$with_mingw" != xno
9697 then
9698 case "x$with_mingw" in
9699 x|xyes) case "$host_cpu" in
9700 aarch64*)
9701 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9702 arm*)
9703 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9704 i[3456789]86*)
9705 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
9706 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9707 mingw32-gcc" ;;
9708 x86_64)
9709 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
9710 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9712 ac_prefix_list="" ;;
9713 esac
9714 for ac_prog in $ac_prefix_list
9716 # Extract the first word of "$ac_prog", so it can be a program name with args.
9717 set dummy $ac_prog; ac_word=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 $as_echo_n "checking for $ac_word... " >&6; }
9720 if ${ac_cv_prog_CROSSCC+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 if test -n "$CROSSCC"; then
9724 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9725 else
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 for as_dir in $PATH
9729 IFS=$as_save_IFS
9730 test -z "$as_dir" && as_dir=.
9731 for ac_exec_ext in '' $ac_executable_extensions; do
9732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9733 ac_cv_prog_CROSSCC="$ac_prog"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9735 break 2
9737 done
9738 done
9739 IFS=$as_save_IFS
9743 CROSSCC=$ac_cv_prog_CROSSCC
9744 if test -n "$CROSSCC"; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9746 $as_echo "$CROSSCC" >&6; }
9747 else
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 $as_echo "no" >&6; }
9753 test -n "$CROSSCC" && break
9754 done
9755 test -n "$CROSSCC" || CROSSCC="false"
9757 *) CROSSCC=$with_mingw ;;
9758 esac
9759 if test "$CROSSCC" != "false"
9760 then
9761 ac_save_CC="$CC"
9762 saved_CFLAGS=$CFLAGS
9763 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9765 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9769 CC="$CROSSCC"
9770 CFLAGS=$CROSSCFLAGS
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9772 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9773 if ${wine_cv_crosscc+:} false; then :
9774 $as_echo_n "(cached) " >&6
9775 else
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9780 main ()
9784 return 0;
9786 _ACEOF
9787 if ac_fn_c_try_compile "$LINENO"; then :
9788 wine_cv_crosscc=yes
9789 else
9790 wine_cv_crosscc=no
9792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9795 $as_echo "$wine_cv_crosscc" >&6; }
9796 if test $wine_cv_crosscc = yes
9797 then
9798 set x $CROSSCC
9799 shift
9800 while test $# -ge 1
9802 case "$1" in
9803 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9804 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9805 esac
9806 shift
9807 done
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9810 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9811 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_wine_try_cflags_saved=$CFLAGS
9815 ac_wine_try_cflags_saved_cc=$CC
9816 ac_wine_try_cflags_saved_exeext=$ac_exeext
9817 CFLAGS="$CFLAGS -fno-strict-aliasing"
9818 CC="$CROSSCC"
9819 ac_exeext=".exe"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9822 int main(int argc, char **argv) { return 0; }
9823 _ACEOF
9824 if ac_fn_c_try_link "$LINENO"; then :
9825 ac_cv_crosscflags__fno_strict_aliasing=yes
9826 else
9827 ac_cv_crosscflags__fno_strict_aliasing=no
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 CFLAGS=$ac_wine_try_cflags_saved
9832 CC=$ac_wine_try_cflags_saved_cc
9833 ac_exeext=$ac_wine_try_cflags_saved_exeext
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9836 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9837 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9838 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9841 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9842 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9843 $as_echo_n "(cached) " >&6
9844 else
9845 ac_wine_try_cflags_saved=$CFLAGS
9846 ac_wine_try_cflags_saved_cc=$CC
9847 ac_wine_try_cflags_saved_exeext=$ac_exeext
9848 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9849 CC="$CROSSCC"
9850 ac_exeext=".exe"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9853 int main(int argc, char **argv) { return 0; }
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9857 else
9858 ac_cv_crosscflags__Werror_unknown_warning_option=no
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 CFLAGS=$ac_wine_try_cflags_saved
9863 CC=$ac_wine_try_cflags_saved_cc
9864 ac_exeext=$ac_wine_try_cflags_saved_exeext
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9867 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9868 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9869 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9872 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9873 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 ac_wine_try_cflags_saved_cc=$CC
9878 ac_wine_try_cflags_saved_exeext=$ac_exeext
9879 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9880 CC="$CROSSCC"
9881 ac_exeext=".exe"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 int main(int argc, char **argv) { return 0; }
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9888 else
9889 ac_cv_crosscflags__Wdeclaration_after_statement=no
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9894 CC=$ac_wine_try_cflags_saved_cc
9895 ac_exeext=$ac_wine_try_cflags_saved_exeext
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9898 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9899 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9900 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9903 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9904 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_wine_try_cflags_saved=$CFLAGS
9908 ac_wine_try_cflags_saved_cc=$CC
9909 ac_wine_try_cflags_saved_exeext=$ac_exeext
9910 CFLAGS="$CFLAGS -Wempty-body"
9911 CC="$CROSSCC"
9912 ac_exeext=".exe"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9915 int main(int argc, char **argv) { return 0; }
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_crosscflags__Wempty_body=yes
9919 else
9920 ac_cv_crosscflags__Wempty_body=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 CFLAGS=$ac_wine_try_cflags_saved
9925 CC=$ac_wine_try_cflags_saved_cc
9926 ac_exeext=$ac_wine_try_cflags_saved_exeext
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9929 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9930 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9931 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9934 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9935 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_wine_try_cflags_saved=$CFLAGS
9939 ac_wine_try_cflags_saved_cc=$CC
9940 ac_wine_try_cflags_saved_exeext=$ac_exeext
9941 CFLAGS="$CFLAGS -Wignored-qualifiers"
9942 CC="$CROSSCC"
9943 ac_exeext=".exe"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 int main(int argc, char **argv) { return 0; }
9947 _ACEOF
9948 if ac_fn_c_try_link "$LINENO"; then :
9949 ac_cv_crosscflags__Wignored_qualifiers=yes
9950 else
9951 ac_cv_crosscflags__Wignored_qualifiers=no
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9956 CC=$ac_wine_try_cflags_saved_cc
9957 ac_exeext=$ac_wine_try_cflags_saved_exeext
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9960 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9961 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9962 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9965 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9966 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 ac_wine_try_cflags_saved_cc=$CC
9971 ac_wine_try_cflags_saved_exeext=$ac_exeext
9972 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9973 CC="$CROSSCC"
9974 ac_exeext=".exe"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9977 int main(int argc, char **argv) { return 0; }
9978 _ACEOF
9979 if ac_fn_c_try_link "$LINENO"; then :
9980 ac_cv_crosscflags__Wpacked_not_aligned=yes
9981 else
9982 ac_cv_crosscflags__Wpacked_not_aligned=no
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 CFLAGS=$ac_wine_try_cflags_saved
9987 CC=$ac_wine_try_cflags_saved_cc
9988 ac_exeext=$ac_wine_try_cflags_saved_exeext
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9991 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9992 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9993 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9996 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9997 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_wine_try_cflags_saved=$CFLAGS
10001 ac_wine_try_cflags_saved_cc=$CC
10002 ac_wine_try_cflags_saved_exeext=$ac_exeext
10003 CFLAGS="$CFLAGS -Wpragma-pack"
10004 CC="$CROSSCC"
10005 ac_exeext=".exe"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 int main(int argc, char **argv) { return 0; }
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 ac_cv_crosscflags__Wpragma_pack=yes
10012 else
10013 ac_cv_crosscflags__Wpragma_pack=no
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10018 CC=$ac_wine_try_cflags_saved_cc
10019 ac_exeext=$ac_wine_try_cflags_saved_exeext
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10022 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10023 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10024 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10027 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10028 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_wine_try_cflags_saved=$CFLAGS
10032 ac_wine_try_cflags_saved_cc=$CC
10033 ac_wine_try_cflags_saved_exeext=$ac_exeext
10034 CFLAGS="$CFLAGS -Wshift-overflow=2"
10035 CC="$CROSSCC"
10036 ac_exeext=".exe"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 int main(int argc, char **argv) { return 0; }
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_crosscflags__Wshift_overflow_2=yes
10043 else
10044 ac_cv_crosscflags__Wshift_overflow_2=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 CFLAGS=$ac_wine_try_cflags_saved
10049 CC=$ac_wine_try_cflags_saved_cc
10050 ac_exeext=$ac_wine_try_cflags_saved_exeext
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10053 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10054 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10055 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10058 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10059 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_wine_try_cflags_saved=$CFLAGS
10063 ac_wine_try_cflags_saved_cc=$CC
10064 ac_wine_try_cflags_saved_exeext=$ac_exeext
10065 CFLAGS="$CFLAGS -Wstrict-prototypes"
10066 CC="$CROSSCC"
10067 ac_exeext=".exe"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 int main(int argc, char **argv) { return 0; }
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 ac_cv_crosscflags__Wstrict_prototypes=yes
10074 else
10075 ac_cv_crosscflags__Wstrict_prototypes=no
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 CFLAGS=$ac_wine_try_cflags_saved
10080 CC=$ac_wine_try_cflags_saved_cc
10081 ac_exeext=$ac_wine_try_cflags_saved_exeext
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10084 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10085 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10086 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10089 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10090 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 ac_wine_try_cflags_saved_cc=$CC
10095 ac_wine_try_cflags_saved_exeext=$ac_exeext
10096 CFLAGS="$CFLAGS -Wtype-limits"
10097 CC="$CROSSCC"
10098 ac_exeext=".exe"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10101 int main(int argc, char **argv) { return 0; }
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 ac_cv_crosscflags__Wtype_limits=yes
10105 else
10106 ac_cv_crosscflags__Wtype_limits=no
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 CFLAGS=$ac_wine_try_cflags_saved
10111 CC=$ac_wine_try_cflags_saved_cc
10112 ac_exeext=$ac_wine_try_cflags_saved_exeext
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10115 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10116 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10117 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10120 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10121 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_wine_try_cflags_saved=$CFLAGS
10125 ac_wine_try_cflags_saved_cc=$CC
10126 ac_wine_try_cflags_saved_exeext=$ac_exeext
10127 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10128 CC="$CROSSCC"
10129 ac_exeext=".exe"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 int main(int argc, char **argv) { return 0; }
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10136 else
10137 ac_cv_crosscflags__Wunused_but_set_parameter=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_wine_try_cflags_saved
10142 CC=$ac_wine_try_cflags_saved_cc
10143 ac_exeext=$ac_wine_try_cflags_saved_exeext
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10146 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10147 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10148 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10151 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10152 if ${ac_cv_crosscflags__Wvla+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_wine_try_cflags_saved=$CFLAGS
10156 ac_wine_try_cflags_saved_cc=$CC
10157 ac_wine_try_cflags_saved_exeext=$ac_exeext
10158 CFLAGS="$CFLAGS -Wvla"
10159 CC="$CROSSCC"
10160 ac_exeext=".exe"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int main(int argc, char **argv) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 ac_cv_crosscflags__Wvla=yes
10167 else
10168 ac_cv_crosscflags__Wvla=no
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10173 CC=$ac_wine_try_cflags_saved_cc
10174 ac_exeext=$ac_wine_try_cflags_saved_exeext
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10177 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10178 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10182 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10183 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10186 ac_wine_try_cflags_saved=$CFLAGS
10187 ac_wine_try_cflags_saved_cc=$CC
10188 ac_wine_try_cflags_saved_exeext=$ac_exeext
10189 CFLAGS="$CFLAGS -Wwrite-strings"
10190 CC="$CROSSCC"
10191 ac_exeext=".exe"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_crosscflags__Wwrite_strings=yes
10198 else
10199 ac_cv_crosscflags__Wwrite_strings=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 CFLAGS=$ac_wine_try_cflags_saved
10204 CC=$ac_wine_try_cflags_saved_cc
10205 ac_exeext=$ac_wine_try_cflags_saved_exeext
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10208 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10209 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10210 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10213 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10214 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_wine_try_cflags_saved=$CFLAGS
10218 ac_wine_try_cflags_saved_cc=$CC
10219 ac_wine_try_cflags_saved_exeext=$ac_exeext
10220 CFLAGS="$CFLAGS -Wpointer-arith"
10221 CC="$CROSSCC"
10222 ac_exeext=".exe"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 int main(int argc, char **argv) { return 0; }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_crosscflags__Wpointer_arith=yes
10229 else
10230 ac_cv_crosscflags__Wpointer_arith=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 CFLAGS=$ac_wine_try_cflags_saved
10235 CC=$ac_wine_try_cflags_saved_cc
10236 ac_exeext=$ac_wine_try_cflags_saved_exeext
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10239 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10240 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10241 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10244 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10245 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_wine_try_cflags_saved=$CFLAGS
10249 ac_wine_try_cflags_saved_cc=$CC
10250 ac_wine_try_cflags_saved_exeext=$ac_exeext
10251 CFLAGS="$CFLAGS -Wlogical-op"
10252 CC="$CROSSCC"
10253 ac_exeext=".exe"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 int main(int argc, char **argv) { return 0; }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_crosscflags__Wlogical_op=yes
10260 else
10261 ac_cv_crosscflags__Wlogical_op=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10266 CC=$ac_wine_try_cflags_saved_cc
10267 ac_exeext=$ac_wine_try_cflags_saved_exeext
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10270 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10271 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10272 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10275 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10276 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 ac_wine_try_cflags_saved=$CFLAGS
10280 ac_wine_try_cflags_saved_cc=$CC
10281 ac_wine_try_cflags_saved_exeext=$ac_exeext
10282 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10283 CC="$CROSSCC"
10284 ac_exeext=".exe"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10287 int main(int argc, char **argv) { return 0; }
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10291 else
10292 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10294 rm -f core conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 CFLAGS=$ac_wine_try_cflags_saved
10297 CC=$ac_wine_try_cflags_saved_cc
10298 ac_exeext=$ac_wine_try_cflags_saved_exeext
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10301 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10302 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10303 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10306 case $host_cpu in
10307 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10308 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10309 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_wine_try_cflags_saved=$CFLAGS
10313 ac_wine_try_cflags_saved_cc=$CC
10314 ac_wine_try_cflags_saved_exeext=$ac_exeext
10315 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10316 CC="$CROSSCC"
10317 ac_exeext=".exe"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 int main(int argc, char **argv) { return 0; }
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10324 else
10325 ac_cv_crosscflags__fno_omit_frame_pointer=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 CFLAGS=$ac_wine_try_cflags_saved
10330 CC=$ac_wine_try_cflags_saved_cc
10331 ac_exeext=$ac_wine_try_cflags_saved_exeext
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10334 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10335 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10336 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10337 fi ;;
10338 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10339 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10340 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10341 $as_echo_n "(cached) " >&6
10342 else
10343 ac_wine_try_cflags_saved=$CFLAGS
10344 ac_wine_try_cflags_saved_cc=$CC
10345 ac_wine_try_cflags_saved_exeext=$ac_exeext
10346 CFLAGS="$CFLAGS -Wno-format"
10347 CC="$CROSSCC"
10348 ac_exeext=".exe"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10351 int main(int argc, char **argv) { return 0; }
10352 _ACEOF
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 ac_cv_crosscflags__Wno_format=yes
10355 else
10356 ac_cv_crosscflags__Wno_format=no
10358 rm -f core conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 CFLAGS=$ac_wine_try_cflags_saved
10361 CC=$ac_wine_try_cflags_saved_cc
10362 ac_exeext=$ac_wine_try_cflags_saved_exeext
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10365 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10366 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10367 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10368 fi ;;
10369 esac
10371 for ac_flag in $CROSSCFLAGS; do
10372 case $ac_flag in
10373 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10374 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10375 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_wine_try_cflags_saved=$CFLAGS
10379 ac_wine_try_cflags_saved_cc=$CC
10380 ac_wine_try_cflags_saved_exeext=$ac_exeext
10381 CFLAGS="$CFLAGS -gdwarf-2"
10382 CC="$CROSSCC"
10383 ac_exeext=".exe"
10384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10386 int main(int argc, char **argv) { return 0; }
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 ac_cv_crosscflags__gdwarf_2=yes
10390 else
10391 ac_cv_crosscflags__gdwarf_2=no
10393 rm -f core conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 CFLAGS=$ac_wine_try_cflags_saved
10396 CC=$ac_wine_try_cflags_saved_cc
10397 ac_exeext=$ac_wine_try_cflags_saved_exeext
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10400 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10401 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10402 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10405 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10406 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_wine_try_cflags_saved=$CFLAGS
10410 ac_wine_try_cflags_saved_cc=$CC
10411 ac_wine_try_cflags_saved_exeext=$ac_exeext
10412 CFLAGS="$CFLAGS -gstrict-dwarf"
10413 CC="$CROSSCC"
10414 ac_exeext=".exe"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 int main(int argc, char **argv) { return 0; }
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"; then :
10420 ac_cv_crosscflags__gstrict_dwarf=yes
10421 else
10422 ac_cv_crosscflags__gstrict_dwarf=no
10424 rm -f core conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 CFLAGS=$ac_wine_try_cflags_saved
10427 CC=$ac_wine_try_cflags_saved_cc
10428 ac_exeext=$ac_wine_try_cflags_saved_exeext
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10431 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10432 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10433 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10434 fi ;;
10435 esac
10436 done
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10439 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10440 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_wine_try_cflags_saved=$CFLAGS
10444 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10447 int main(int argc, char **argv) { return 0; }
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"; then :
10450 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10451 else
10452 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 CFLAGS=$ac_wine_try_cflags_saved
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10459 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10460 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10461 DELAYLOADFLAG="-Wl,-delayload,"
10465 if test "x$enable_maintainer_mode" = xyes
10466 then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10468 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10469 if ${ac_cv_crosscflags__Werror+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_wine_try_cflags_saved=$CFLAGS
10473 ac_wine_try_cflags_saved_cc=$CC
10474 ac_wine_try_cflags_saved_exeext=$ac_exeext
10475 CFLAGS="$CFLAGS -Werror"
10476 CC="$CROSSCC"
10477 ac_exeext=".exe"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int main(int argc, char **argv) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10483 ac_cv_crosscflags__Werror=yes
10484 else
10485 ac_cv_crosscflags__Werror=no
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 CFLAGS=$ac_wine_try_cflags_saved
10490 CC=$ac_wine_try_cflags_saved_cc
10491 ac_exeext=$ac_wine_try_cflags_saved_exeext
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10494 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10495 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10496 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10500 CFLAGS=$saved_CFLAGS
10501 CC="$ac_save_CC"
10504 if test "x$CROSSTARGET" = "x"; then :
10505 case "x$with_mingw" in
10506 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10507 xno) ;;
10508 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10509 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10510 esac
10515 if test "$ac_cv_header_pthread_h" = "yes"
10516 then
10517 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10518 if test "x$ac_cv_func_pthread_create" = xyes; then :
10520 else
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10522 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10523 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 ac_check_lib_save_LIBS=$LIBS
10527 LIBS="-lpthread $LIBS"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10531 /* Override any GCC internal prototype to avoid an error.
10532 Use char because int might match the return type of a GCC
10533 builtin and then its argument prototype would still apply. */
10534 #ifdef __cplusplus
10535 extern "C"
10536 #endif
10537 char pthread_create ();
10539 main ()
10541 return pthread_create ();
10543 return 0;
10545 _ACEOF
10546 if ac_fn_c_try_link "$LINENO"; then :
10547 ac_cv_lib_pthread_pthread_create=yes
10548 else
10549 ac_cv_lib_pthread_pthread_create=no
10551 rm -f core conftest.err conftest.$ac_objext \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_lib_save_LIBS
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10556 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10557 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10558 PTHREAD_LIBS="-lpthread"
10565 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10566 case "x$with_pthread" in
10567 xno) ;;
10568 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10569 Wine cannot support threads without libpthread.
10570 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10571 esac
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10577 $as_echo_n "checking for X... " >&6; }
10580 # Check whether --with-x was given.
10581 if test "${with_x+set}" = set; then :
10582 withval=$with_x;
10585 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10586 if test "x$with_x" = xno; then
10587 # The user explicitly disabled X.
10588 have_x=disabled
10589 else
10590 case $x_includes,$x_libraries in #(
10591 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10592 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 # One or both of the vars are not set, and there is no cached value.
10596 ac_x_includes=no ac_x_libraries=no
10597 rm -f -r conftest.dir
10598 if mkdir conftest.dir; then
10599 cd conftest.dir
10600 cat >Imakefile <<'_ACEOF'
10601 incroot:
10602 @echo incroot='${INCROOT}'
10603 usrlibdir:
10604 @echo usrlibdir='${USRLIBDIR}'
10605 libdir:
10606 @echo libdir='${LIBDIR}'
10607 _ACEOF
10608 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10610 for ac_var in incroot usrlibdir libdir; do
10611 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10612 done
10613 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10614 for ac_extension in a so sl dylib la dll; do
10615 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10616 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10617 ac_im_usrlibdir=$ac_im_libdir; break
10619 done
10620 # Screen out bogus values from the imake configuration. They are
10621 # bogus both because they are the default anyway, and because
10622 # using them would break gcc on systems where it needs fixed includes.
10623 case $ac_im_incroot in
10624 /usr/include) ac_x_includes= ;;
10625 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10626 esac
10627 case $ac_im_usrlibdir in
10628 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10629 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10630 esac
10632 cd ..
10633 rm -f -r conftest.dir
10636 # Standard set of common directories for X headers.
10637 # Check X11 before X11Rn because it is often a symlink to the current release.
10638 ac_x_header_dirs='
10639 /usr/X11/include
10640 /usr/X11R7/include
10641 /usr/X11R6/include
10642 /usr/X11R5/include
10643 /usr/X11R4/include
10645 /usr/include/X11
10646 /usr/include/X11R7
10647 /usr/include/X11R6
10648 /usr/include/X11R5
10649 /usr/include/X11R4
10651 /usr/local/X11/include
10652 /usr/local/X11R7/include
10653 /usr/local/X11R6/include
10654 /usr/local/X11R5/include
10655 /usr/local/X11R4/include
10657 /usr/local/include/X11
10658 /usr/local/include/X11R7
10659 /usr/local/include/X11R6
10660 /usr/local/include/X11R5
10661 /usr/local/include/X11R4
10663 /usr/X386/include
10664 /usr/x386/include
10665 /usr/XFree86/include/X11
10667 /usr/include
10668 /usr/local/include
10669 /usr/unsupported/include
10670 /usr/athena/include
10671 /usr/local/x11r5/include
10672 /usr/lpp/Xamples/include
10674 /usr/openwin/include
10675 /usr/openwin/share/include'
10677 if test "$ac_x_includes" = no; then
10678 # Guess where to find include files, by looking for Xlib.h.
10679 # First, try using that file with no special directory specified.
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10682 #include <X11/Xlib.h>
10683 _ACEOF
10684 if ac_fn_c_try_cpp "$LINENO"; then :
10685 # We can compile using X headers with no special include directory.
10686 ac_x_includes=
10687 else
10688 for ac_dir in $ac_x_header_dirs; do
10689 if test -r "$ac_dir/X11/Xlib.h"; then
10690 ac_x_includes=$ac_dir
10691 break
10693 done
10695 rm -f conftest.err conftest.i conftest.$ac_ext
10696 fi # $ac_x_includes = no
10698 if test "$ac_x_libraries" = no; then
10699 # Check for the libraries.
10700 # See if we find them without any special options.
10701 # Don't add to $LIBS permanently.
10702 ac_save_LIBS=$LIBS
10703 LIBS="-lX11 $LIBS"
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10706 #include <X11/Xlib.h>
10708 main ()
10710 XrmInitialize ()
10712 return 0;
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 LIBS=$ac_save_LIBS
10717 # We can link X programs with no special library path.
10718 ac_x_libraries=
10719 else
10720 LIBS=$ac_save_LIBS
10721 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10723 # Don't even attempt the hair of trying to link an X program!
10724 for ac_extension in a so sl dylib la dll; do
10725 if test -r "$ac_dir/libX11.$ac_extension"; then
10726 ac_x_libraries=$ac_dir
10727 break 2
10729 done
10730 done
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 fi # $ac_x_libraries = no
10736 case $ac_x_includes,$ac_x_libraries in #(
10737 no,* | *,no | *\'*)
10738 # Didn't find X, or a directory has "'" in its name.
10739 ac_cv_have_x="have_x=no";; #(
10741 # Record where we found X for the cache.
10742 ac_cv_have_x="have_x=yes\
10743 ac_x_includes='$ac_x_includes'\
10744 ac_x_libraries='$ac_x_libraries'"
10745 esac
10747 ;; #(
10748 *) have_x=yes;;
10749 esac
10750 eval "$ac_cv_have_x"
10751 fi # $with_x != no
10753 if test "$have_x" != yes; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10755 $as_echo "$have_x" >&6; }
10756 no_x=yes
10757 else
10758 # If each of the values was on the command line, it overrides each guess.
10759 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10760 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10761 # Update the cache value to reflect the command line values.
10762 ac_cv_have_x="have_x=yes\
10763 ac_x_includes='$x_includes'\
10764 ac_x_libraries='$x_libraries'"
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10766 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10769 if test "$no_x" = yes; then
10770 # Not all programs may use this symbol, but it does not hurt to define it.
10772 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10774 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10775 else
10776 if test -n "$x_includes"; then
10777 X_CFLAGS="$X_CFLAGS -I$x_includes"
10780 # It would also be nice to do this for all -L options, not just this one.
10781 if test -n "$x_libraries"; then
10782 X_LIBS="$X_LIBS -L$x_libraries"
10783 # For Solaris; some versions of Sun CC require a space after -R and
10784 # others require no space. Words are not sufficient . . . .
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10786 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10787 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10788 ac_xsave_c_werror_flag=$ac_c_werror_flag
10789 ac_c_werror_flag=yes
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10794 main ()
10798 return 0;
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"; then :
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10803 $as_echo "no" >&6; }
10804 X_LIBS="$X_LIBS -R$x_libraries"
10805 else
10806 LIBS="$ac_xsave_LIBS -R $x_libraries"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10811 main ()
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10820 $as_echo "yes" >&6; }
10821 X_LIBS="$X_LIBS -R $x_libraries"
10822 else
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10824 $as_echo "neither works" >&6; }
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 ac_c_werror_flag=$ac_xsave_c_werror_flag
10832 LIBS=$ac_xsave_LIBS
10835 # Check for system-dependent libraries X programs must link with.
10836 # Do this before checking for the system-independent R6 libraries
10837 # (-lICE), since we may need -lsocket or whatever for X linking.
10839 if test "$ISC" = yes; then
10840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10841 else
10842 # Martyn Johnson says this is needed for Ultrix, if the X
10843 # libraries were built with DECnet support. And Karl Berry says
10844 # the Alpha needs dnet_stub (dnet does not exist).
10845 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char XOpenDisplay ();
10857 main ()
10859 return XOpenDisplay ();
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10866 else
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10868 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10869 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10870 $as_echo_n "(cached) " >&6
10871 else
10872 ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-ldnet $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10880 #ifdef __cplusplus
10881 extern "C"
10882 #endif
10883 char dnet_ntoa ();
10885 main ()
10887 return dnet_ntoa ();
10889 return 0;
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"; then :
10893 ac_cv_lib_dnet_dnet_ntoa=yes
10894 else
10895 ac_cv_lib_dnet_dnet_ntoa=no
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10902 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10903 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10904 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10907 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10909 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10910 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10911 $as_echo_n "(cached) " >&6
10912 else
10913 ac_check_lib_save_LIBS=$LIBS
10914 LIBS="-ldnet_stub $LIBS"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10918 /* Override any GCC internal prototype to avoid an error.
10919 Use char because int might match the return type of a GCC
10920 builtin and then its argument prototype would still apply. */
10921 #ifdef __cplusplus
10922 extern "C"
10923 #endif
10924 char dnet_ntoa ();
10926 main ()
10928 return dnet_ntoa ();
10930 return 0;
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10935 else
10936 ac_cv_lib_dnet_stub_dnet_ntoa=no
10938 rm -f core conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LIBS=$ac_check_lib_save_LIBS
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10943 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10944 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10945 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10950 rm -f core conftest.err conftest.$ac_objext \
10951 conftest$ac_exeext conftest.$ac_ext
10952 LIBS="$ac_xsave_LIBS"
10954 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10955 # to get the SysV transport functions.
10956 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10957 # needs -lnsl.
10958 # The nsl library prevents programs from opening the X display
10959 # on Irix 5.2, according to T.E. Dickey.
10960 # The functions gethostbyname, getservbyname, and inet_addr are
10961 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10962 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10963 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10967 if test $ac_cv_func_gethostbyname = no; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10969 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10970 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_lib_save_LIBS=$LIBS
10974 LIBS="-lnsl $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char gethostbyname ();
10986 main ()
10988 return gethostbyname ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 ac_cv_lib_nsl_gethostbyname=yes
10995 else
10996 ac_cv_lib_nsl_gethostbyname=no
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11003 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11004 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11005 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11008 if test $ac_cv_lib_nsl_gethostbyname = no; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11010 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11011 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lbsd $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char gethostbyname ();
11027 main ()
11029 return gethostbyname ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_bsd_gethostbyname=yes
11036 else
11037 ac_cv_lib_bsd_gethostbyname=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11044 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11045 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11046 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11053 # socket/setsockopt and other routines are undefined under SCO ODT
11054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11055 # on later versions), says Simon Leinen: it contains gethostby*
11056 # variants that don't use the name server (or something). -lsocket
11057 # must be given before -lnsl if both are needed. We assume that
11058 # if connect needs -lnsl, so does gethostbyname.
11059 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11060 if test "x$ac_cv_func_connect" = xyes; then :
11064 if test $ac_cv_func_connect = no; then
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11066 $as_echo_n "checking for connect in -lsocket... " >&6; }
11067 if ${ac_cv_lib_socket_connect+:} false; then :
11068 $as_echo_n "(cached) " >&6
11069 else
11070 ac_check_lib_save_LIBS=$LIBS
11071 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char connect ();
11083 main ()
11085 return connect ();
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 ac_cv_lib_socket_connect=yes
11092 else
11093 ac_cv_lib_socket_connect=no
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11100 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11101 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11102 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11107 # Guillermo Gomez says -lposix is necessary on A/UX.
11108 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11109 if test "x$ac_cv_func_remove" = xyes; then :
11113 if test $ac_cv_func_remove = no; then
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11115 $as_echo_n "checking for remove in -lposix... " >&6; }
11116 if ${ac_cv_lib_posix_remove+:} false; then :
11117 $as_echo_n "(cached) " >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lposix $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char remove ();
11132 main ()
11134 return remove ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 ac_cv_lib_posix_remove=yes
11141 else
11142 ac_cv_lib_posix_remove=no
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11149 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11150 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11156 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11157 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11158 if test "x$ac_cv_func_shmat" = xyes; then :
11162 if test $ac_cv_func_shmat = no; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11164 $as_echo_n "checking for shmat in -lipc... " >&6; }
11165 if ${ac_cv_lib_ipc_shmat+:} false; then :
11166 $as_echo_n "(cached) " >&6
11167 else
11168 ac_check_lib_save_LIBS=$LIBS
11169 LIBS="-lipc $LIBS"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11176 #ifdef __cplusplus
11177 extern "C"
11178 #endif
11179 char shmat ();
11181 main ()
11183 return shmat ();
11185 return 0;
11187 _ACEOF
11188 if ac_fn_c_try_link "$LINENO"; then :
11189 ac_cv_lib_ipc_shmat=yes
11190 else
11191 ac_cv_lib_ipc_shmat=no
11193 rm -f core conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11195 LIBS=$ac_check_lib_save_LIBS
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11198 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11199 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11206 # Check for libraries that X11R6 Xt/Xaw programs need.
11207 ac_save_LDFLAGS=$LDFLAGS
11208 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11209 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11210 # check for ICE first), but we must link in the order -lSM -lICE or
11211 # we get undefined symbols. So assume we have SM if we have ICE.
11212 # These have to be linked with before -lX11, unlike the other
11213 # libraries we check for below, so use a different variable.
11214 # John Interrante, Karl Berry
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11216 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11217 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char IceConnectionNumber ();
11233 main ()
11235 return IceConnectionNumber ();
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 ac_cv_lib_ICE_IceConnectionNumber=yes
11242 else
11243 ac_cv_lib_ICE_IceConnectionNumber=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11250 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11251 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11252 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11255 LDFLAGS=$ac_save_LDFLAGS
11260 if test "$have_x" = "yes"
11261 then
11262 ac_save_CPPFLAGS="$CPPFLAGS"
11263 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11266 $as_echo_n "checking for -lX11... " >&6; }
11267 if ${ac_cv_lib_soname_X11+:} false; then :
11268 $as_echo_n "(cached) " >&6
11269 else
11270 ac_check_soname_save_LIBS=$LIBS
11271 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11278 #ifdef __cplusplus
11279 extern "C"
11280 #endif
11281 char XCreateWindow ();
11283 main ()
11285 return XCreateWindow ();
11287 return 0;
11289 _ACEOF
11290 if ac_fn_c_try_link "$LINENO"; then :
11291 case "$LIBEXT" in
11292 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11293 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'` ;;
11294 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11295 if ${ac_cv_lib_soname_X11:+false} :; then :
11296 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11297 fi ;;
11298 esac
11299 else
11300 ac_cv_lib_soname_X11=
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_soname_save_LIBS
11306 if ${ac_cv_lib_soname_X11:+false} :; then :
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11308 $as_echo "not found" >&6; }
11310 else
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11312 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11314 cat >>confdefs.h <<_ACEOF
11315 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11316 _ACEOF
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11321 $as_echo_n "checking for -lXext... " >&6; }
11322 if ${ac_cv_lib_soname_Xext+:} false; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_soname_save_LIBS=$LIBS
11326 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char XextCreateExtension ();
11338 main ()
11340 return XextCreateExtension ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 case "$LIBEXT" in
11347 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11348 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'` ;;
11349 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11350 if ${ac_cv_lib_soname_Xext:+false} :; then :
11351 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11352 fi ;;
11353 esac
11354 else
11355 ac_cv_lib_soname_Xext=
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_soname_save_LIBS
11361 if ${ac_cv_lib_soname_Xext:+false} :; then :
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11363 $as_echo "not found" >&6; }
11365 else
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11367 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11369 cat >>confdefs.h <<_ACEOF
11370 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11371 _ACEOF
11373 X_LIBS="$X_LIBS -lXext"
11375 X_LIBS="$X_LIBS -lX11"
11377 for ac_header in X11/Xlib.h \
11378 X11/XKBlib.h \
11379 X11/Xutil.h \
11380 X11/Xcursor/Xcursor.h \
11381 X11/extensions/shape.h \
11382 X11/extensions/XInput.h \
11383 X11/extensions/XInput2.h \
11384 X11/extensions/XShm.h \
11385 X11/extensions/Xcomposite.h \
11386 X11/extensions/Xfixes.h \
11387 X11/extensions/Xinerama.h \
11388 X11/extensions/Xrandr.h \
11389 X11/extensions/Xrender.h \
11390 X11/extensions/xf86vmode.h \
11391 X11/extensions/xf86vmproto.h
11392 do :
11393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11394 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11395 # include <X11/Xlib.h>
11396 #endif
11397 #ifdef HAVE_X11_XUTIL_H
11398 # include <X11/Xutil.h>
11399 #endif
11401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11402 cat >>confdefs.h <<_ACEOF
11403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11404 _ACEOF
11408 done
11411 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11412 then
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11414 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11415 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11416 $as_echo_n "(cached) " >&6
11417 else
11418 ac_check_lib_save_LIBS=$LIBS
11419 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11426 #ifdef __cplusplus
11427 extern "C"
11428 #endif
11429 char XkbQueryExtension ();
11431 main ()
11433 return XkbQueryExtension ();
11435 return 0;
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"; then :
11439 ac_cv_lib_X11_XkbQueryExtension=yes
11440 else
11441 ac_cv_lib_X11_XkbQueryExtension=no
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_lib_save_LIBS
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11448 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11449 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11451 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11457 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11458 then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11460 $as_echo_n "checking for -lXcursor... " >&6; }
11461 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11462 $as_echo_n "(cached) " >&6
11463 else
11464 ac_check_soname_save_LIBS=$LIBS
11465 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11472 #ifdef __cplusplus
11473 extern "C"
11474 #endif
11475 char XcursorImageLoadCursor ();
11477 main ()
11479 return XcursorImageLoadCursor ();
11481 return 0;
11483 _ACEOF
11484 if ac_fn_c_try_link "$LINENO"; then :
11485 case "$LIBEXT" in
11486 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11487 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'` ;;
11488 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11489 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11490 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11491 fi ;;
11492 esac
11493 else
11494 ac_cv_lib_soname_Xcursor=
11496 rm -f core conftest.err conftest.$ac_objext \
11497 conftest$ac_exeext conftest.$ac_ext
11498 LIBS=$ac_check_soname_save_LIBS
11500 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11502 $as_echo "not found" >&6; }
11504 else
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11506 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11508 cat >>confdefs.h <<_ACEOF
11509 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11510 _ACEOF
11515 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11516 case "x$with_xcursor" in
11517 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11518 xno) ;;
11519 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11520 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11521 esac
11525 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11526 then
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11528 $as_echo_n "checking for -lXi... " >&6; }
11529 if ${ac_cv_lib_soname_Xi+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_soname_save_LIBS=$LIBS
11533 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char XOpenDevice ();
11545 main ()
11547 return XOpenDevice ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 case "$LIBEXT" in
11554 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_Xi:+false} :; then :
11558 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11559 fi ;;
11560 esac
11561 else
11562 ac_cv_lib_soname_Xi=
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_Xi:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11572 else
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11574 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11576 cat >>confdefs.h <<_ACEOF
11577 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11578 _ACEOF
11583 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11584 case "x$with_xinput" in
11585 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11586 xno) ;;
11587 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11588 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11589 esac
11593 if test "x$ac_cv_lib_soname_Xi" != x
11594 then
11595 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11596 case "x$with_xinput2" in
11597 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11598 xno) ;;
11599 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11600 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11601 esac
11606 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11607 then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11609 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11610 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11611 $as_echo_n "(cached) " >&6
11612 else
11613 ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char XShmQueryExtension ();
11626 main ()
11628 return XShmQueryExtension ();
11630 return 0;
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 ac_cv_lib_Xext_XShmQueryExtension=yes
11635 else
11636 ac_cv_lib_Xext_XShmQueryExtension=no
11638 rm -f core conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11643 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11644 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11646 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11651 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11652 case "x$with_xshm" in
11653 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11654 xno) ;;
11655 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11656 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11657 esac
11661 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11662 then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11664 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11665 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11666 $as_echo_n "(cached) " >&6
11667 else
11668 ac_check_lib_save_LIBS=$LIBS
11669 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11676 #ifdef __cplusplus
11677 extern "C"
11678 #endif
11679 char XShapeQueryExtension ();
11681 main ()
11683 return XShapeQueryExtension ();
11685 return 0;
11687 _ACEOF
11688 if ac_fn_c_try_link "$LINENO"; then :
11689 ac_cv_lib_Xext_XShapeQueryExtension=yes
11690 else
11691 ac_cv_lib_Xext_XShapeQueryExtension=no
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_lib_save_LIBS
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11698 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11699 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11701 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11706 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11707 case "x$with_xshape" in
11708 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11709 xno) ;;
11710 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11711 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11712 esac
11716 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11719 $as_echo_n "checking for -lXxf86vm... " >&6; }
11720 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char XF86VidModeQueryExtension ();
11736 main ()
11738 return XF86VidModeQueryExtension ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11749 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11752 else
11753 ac_cv_lib_soname_Xxf86vm=
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_soname_save_LIBS
11759 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11761 $as_echo "not found" >&6; }
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11765 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11767 cat >>confdefs.h <<_ACEOF
11768 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11769 _ACEOF
11774 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11775 case "x$with_xxf86vm" in
11776 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11779 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11785 then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11787 $as_echo_n "checking for -lXrender... " >&6; }
11788 if ${ac_cv_lib_soname_Xrender+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_soname_save_LIBS=$LIBS
11792 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char XRenderQueryExtension ();
11804 main ()
11806 return XRenderQueryExtension ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 case "$LIBEXT" in
11813 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11814 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'` ;;
11815 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11816 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11817 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11818 fi ;;
11819 esac
11820 else
11821 ac_cv_lib_soname_Xrender=
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_soname_save_LIBS
11827 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11829 $as_echo "not found" >&6; }
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11833 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11835 cat >>confdefs.h <<_ACEOF
11836 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11837 _ACEOF
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11840 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11841 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char XRenderSetPictureTransform ();
11857 main ()
11859 return XRenderSetPictureTransform ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11866 else
11867 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11869 rm -f core conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_lib_save_LIBS
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11874 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11875 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11877 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11882 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11883 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11884 $as_echo_n "(cached) " >&6
11885 else
11886 ac_check_lib_save_LIBS=$LIBS
11887 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11894 #ifdef __cplusplus
11895 extern "C"
11896 #endif
11897 char XRenderCreateLinearGradient ();
11899 main ()
11901 return XRenderCreateLinearGradient ();
11903 return 0;
11905 _ACEOF
11906 if ac_fn_c_try_link "$LINENO"; then :
11907 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11908 else
11909 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11911 rm -f core conftest.err conftest.$ac_objext \
11912 conftest$ac_exeext conftest.$ac_ext
11913 LIBS=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11916 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11917 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11919 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11926 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11927 case "x$with_xrender" in
11928 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11929 xno) ;;
11930 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11931 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11932 esac
11936 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11937 then
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #include <X11/Xlib.h>
11941 #include <X11/extensions/Xrandr.h>
11943 main ()
11945 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_compile "$LINENO"; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11952 $as_echo_n "checking for -lXrandr... " >&6; }
11953 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11954 $as_echo_n "(cached) " >&6
11955 else
11956 ac_check_soname_save_LIBS=$LIBS
11957 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11964 #ifdef __cplusplus
11965 extern "C"
11966 #endif
11967 char XRRQueryExtension ();
11969 main ()
11971 return XRRQueryExtension ();
11973 return 0;
11975 _ACEOF
11976 if ac_fn_c_try_link "$LINENO"; then :
11977 case "$LIBEXT" in
11978 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11979 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'` ;;
11980 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11981 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11982 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11983 fi ;;
11984 esac
11985 else
11986 ac_cv_lib_soname_Xrandr=
11988 rm -f core conftest.err conftest.$ac_objext \
11989 conftest$ac_exeext conftest.$ac_ext
11990 LIBS=$ac_check_soname_save_LIBS
11992 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11994 $as_echo "not found" >&6; }
11996 else
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11998 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12000 cat >>confdefs.h <<_ACEOF
12001 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12002 _ACEOF
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12006 #include <X11/Xlib.h>
12007 #include <X11/extensions/Xrandr.h>
12009 main ()
12011 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_compile "$LINENO"; then :
12018 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12024 #include <X11/Xlib.h>
12025 #include <X11/extensions/Xrandr.h>
12027 main ()
12029 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_compile "$LINENO"; then :
12036 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12038 else
12039 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12046 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12047 case "x$with_xrandr" in
12048 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12051 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12052 esac
12056 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12057 then
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12060 #include <X11/Xlib.h>
12061 #include <X11/extensions/Xfixes.h>
12063 main ()
12065 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_compile "$LINENO"; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12072 $as_echo_n "checking for -lXfixes... " >&6; }
12073 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_soname_save_LIBS=$LIBS
12077 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char XFixesQueryVersion ();
12089 main ()
12091 return XFixesQueryVersion ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 case "$LIBEXT" in
12098 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12102 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12103 fi ;;
12104 esac
12105 else
12106 ac_cv_lib_soname_Xfixes=
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_soname_save_LIBS
12112 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12114 $as_echo "not found" >&6; }
12116 else
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12118 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12120 cat >>confdefs.h <<_ACEOF
12121 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12122 _ACEOF
12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12129 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12130 case "x$with_xfixes" in
12131 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12132 xno) ;;
12133 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12134 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12135 esac
12139 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12140 then
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12143 #include <X11/Xlib.h>
12144 #include <X11/extensions/Xinerama.h>
12146 main ()
12148 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12150 return 0;
12152 _ACEOF
12153 if ac_fn_c_try_compile "$LINENO"; then :
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12155 $as_echo_n "checking for -lXinerama... " >&6; }
12156 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12157 $as_echo_n "(cached) " >&6
12158 else
12159 ac_check_soname_save_LIBS=$LIBS
12160 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12167 #ifdef __cplusplus
12168 extern "C"
12169 #endif
12170 char XineramaQueryScreens ();
12172 main ()
12174 return XineramaQueryScreens ();
12176 return 0;
12178 _ACEOF
12179 if ac_fn_c_try_link "$LINENO"; then :
12180 case "$LIBEXT" in
12181 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12182 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'` ;;
12183 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12184 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12185 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12186 fi ;;
12187 esac
12188 else
12189 ac_cv_lib_soname_Xinerama=
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_soname_save_LIBS
12195 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12197 $as_echo "not found" >&6; }
12199 else
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12201 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12203 cat >>confdefs.h <<_ACEOF
12204 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12205 _ACEOF
12210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12212 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12213 case "x$with_xinerama" in
12214 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12215 xno) ;;
12216 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12217 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12218 esac
12222 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12223 then
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12225 $as_echo_n "checking for -lXcomposite... " >&6; }
12226 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 ac_check_soname_save_LIBS=$LIBS
12230 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 char XCompositeRedirectWindow ();
12242 main ()
12244 return XCompositeRedirectWindow ();
12246 return 0;
12248 _ACEOF
12249 if ac_fn_c_try_link "$LINENO"; then :
12250 case "$LIBEXT" in
12251 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12252 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'` ;;
12253 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12254 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12255 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12256 fi ;;
12257 esac
12258 else
12259 ac_cv_lib_soname_Xcomposite=
12261 rm -f core conftest.err conftest.$ac_objext \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_soname_save_LIBS
12265 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12267 $as_echo "not found" >&6; }
12269 else
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12271 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12273 cat >>confdefs.h <<_ACEOF
12274 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12275 _ACEOF
12280 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12281 case "x$with_xcomposite" in
12282 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12283 xno) ;;
12284 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12285 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12286 esac
12290 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12291 #include <X11/Xlib.h>
12292 #endif
12294 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12296 cat >>confdefs.h <<_ACEOF
12297 #define HAVE_XICCALLBACK_CALLBACK 1
12298 _ACEOF
12302 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12303 #include <X11/Xlib.h>
12304 #endif
12306 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12308 cat >>confdefs.h <<_ACEOF
12309 #define HAVE_XEVENT_XCOOKIE 1
12310 _ACEOF
12317 opengl_msg=""
12318 if test "x$with_opengl" != "xno"
12319 then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12321 $as_echo_n "checking for -lGL... " >&6; }
12322 if ${ac_cv_lib_soname_GL+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_soname_save_LIBS=$LIBS
12326 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char glXCreateContext ();
12338 main ()
12340 return glXCreateContext ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 case "$LIBEXT" in
12347 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12350 if ${ac_cv_lib_soname_GL:+false} :; then :
12351 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12352 fi ;;
12353 esac
12354 else
12355 ac_cv_lib_soname_GL=
12357 rm -f core conftest.err conftest.$ac_objext \
12358 conftest$ac_exeext conftest.$ac_ext
12359 LIBS=$ac_check_soname_save_LIBS
12361 if ${ac_cv_lib_soname_GL:+false} :; then :
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12363 $as_echo "not found" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12365 $as_echo_n "checking for -lGL... " >&6; }
12366 if ${ac_cv_lib_soname_GL+:} false; then :
12367 $as_echo_n "(cached) " >&6
12368 else
12369 ac_check_soname_save_LIBS=$LIBS
12370 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"
12371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12374 /* Override any GCC internal prototype to avoid an error.
12375 Use char because int might match the return type of a GCC
12376 builtin and then its argument prototype would still apply. */
12377 #ifdef __cplusplus
12378 extern "C"
12379 #endif
12380 char glXCreateContext ();
12382 main ()
12384 return glXCreateContext ();
12386 return 0;
12388 _ACEOF
12389 if ac_fn_c_try_link "$LINENO"; then :
12390 case "$LIBEXT" in
12391 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12392 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'` ;;
12393 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12394 if ${ac_cv_lib_soname_GL:+false} :; then :
12395 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12396 fi ;;
12397 esac
12398 else
12399 ac_cv_lib_soname_GL=
12401 rm -f core conftest.err conftest.$ac_objext \
12402 conftest$ac_exeext conftest.$ac_ext
12403 LIBS=$ac_check_soname_save_LIBS
12405 if ${ac_cv_lib_soname_GL:+false} :; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12407 $as_echo "not found" >&6; }
12408 if test -f /usr/X11R6/lib/libGL.a
12409 then
12410 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12411 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12412 else
12413 opengl_msg="No OpenGL library found on this system."
12415 else
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12417 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12419 cat >>confdefs.h <<_ACEOF
12420 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12421 _ACEOF
12423 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"
12425 else
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12427 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12429 cat >>confdefs.h <<_ACEOF
12430 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12431 _ACEOF
12433 OPENGL_LIBS="-lGL"
12435 if test "x$with_glu" != "xno"
12436 then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12438 $as_echo_n "checking for -lGLU... " >&6; }
12439 if ${ac_cv_lib_soname_GLU+:} false; then :
12440 $as_echo_n "(cached) " >&6
12441 else
12442 ac_check_soname_save_LIBS=$LIBS
12443 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12447 /* Override any GCC internal prototype to avoid an error.
12448 Use char because int might match the return type of a GCC
12449 builtin and then its argument prototype would still apply. */
12450 #ifdef __cplusplus
12451 extern "C"
12452 #endif
12453 char gluLookAt ();
12455 main ()
12457 return gluLookAt ();
12459 return 0;
12461 _ACEOF
12462 if ac_fn_c_try_link "$LINENO"; then :
12463 case "$LIBEXT" in
12464 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12465 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'` ;;
12466 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12467 if ${ac_cv_lib_soname_GLU:+false} :; then :
12468 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12469 fi ;;
12470 esac
12471 else
12472 ac_cv_lib_soname_GLU=
12474 rm -f core conftest.err conftest.$ac_objext \
12475 conftest$ac_exeext conftest.$ac_ext
12476 LIBS=$ac_check_soname_save_LIBS
12478 if ${ac_cv_lib_soname_GLU:+false} :; then :
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12480 $as_echo "not found" >&6; }
12482 else
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12484 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12486 cat >>confdefs.h <<_ACEOF
12487 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12488 _ACEOF
12492 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12493 case "x$with_glu" in
12494 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12495 xno) ;;
12496 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12497 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12498 esac
12503 if test "x$with_osmesa" != "xno"
12504 then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12506 $as_echo_n "checking for -lOSMesa... " >&6; }
12507 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12508 $as_echo_n "(cached) " >&6
12509 else
12510 ac_check_soname_save_LIBS=$LIBS
12511 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12518 #ifdef __cplusplus
12519 extern "C"
12520 #endif
12521 char OSMesaGetProcAddress ();
12523 main ()
12525 return OSMesaGetProcAddress ();
12527 return 0;
12529 _ACEOF
12530 if ac_fn_c_try_link "$LINENO"; then :
12531 case "$LIBEXT" in
12532 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12533 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'` ;;
12534 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12535 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12536 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12537 fi ;;
12538 esac
12539 else
12540 ac_cv_lib_soname_OSMesa=
12542 rm -f core conftest.err conftest.$ac_objext \
12543 conftest$ac_exeext conftest.$ac_ext
12544 LIBS=$ac_check_soname_save_LIBS
12546 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12548 $as_echo "not found" >&6; }
12550 else
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12552 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12554 cat >>confdefs.h <<_ACEOF
12555 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12556 _ACEOF
12560 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12561 case "x$with_osmesa" in
12562 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12563 xno) ;;
12564 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12565 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12566 esac
12571 if test -n "$opengl_msg"; then :
12572 case "x$with_opengl" in
12573 x) as_fn_append wine_warnings "|$opengl_msg
12574 OpenGL and Direct3D won't be supported." ;;
12575 xno) ;;
12576 *) as_fn_error $? "$opengl_msg
12577 OpenGL and Direct3D won't be supported.
12578 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12579 esac
12583 CPPFLAGS="$ac_save_CPPFLAGS"
12584 else
12585 X_CFLAGS=""
12586 X_LIBS=""
12589 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12590 then
12591 if test "x$X_LIBS" = "x"; then :
12592 case "x$with_x" in
12593 xno) ;;
12594 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12595 without X support, which probably isn't what you want. You will need
12596 to install ${notice_platform}development packages of Xlib at the very least.
12597 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12598 esac
12599 enable_winex11_drv=${enable_winex11_drv:-no}
12601 else
12602 if test "x$X_LIBS" = "x"; then :
12603 case "x$with_x" in
12604 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12605 xno) ;;
12606 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12607 This is an error since --with-x was requested." "$LINENO" 5 ;;
12608 esac
12609 enable_winex11_drv=${enable_winex11_drv:-no}
12613 if test "$ac_cv_header_CL_cl_h" = "yes"
12614 then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12616 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12617 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12618 $as_echo_n "(cached) " >&6
12619 else
12620 ac_check_lib_save_LIBS=$LIBS
12621 LIBS="-lOpenCL $LIBS"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12628 #ifdef __cplusplus
12629 extern "C"
12630 #endif
12631 char clGetPlatformInfo ();
12633 main ()
12635 return clGetPlatformInfo ();
12637 return 0;
12639 _ACEOF
12640 if ac_fn_c_try_link "$LINENO"; then :
12641 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12642 else
12643 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_lib_save_LIBS
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12650 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12651 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12652 OPENCL_LIBS="-lOpenCL"
12657 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12658 case "x$with_opencl" in
12659 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12660 xno) ;;
12661 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12662 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12663 esac
12664 enable_opencl=${enable_opencl:-no}
12667 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12668 then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12670 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12671 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12672 $as_echo_n "(cached) " >&6
12673 else
12674 ac_check_lib_save_LIBS=$LIBS
12675 LIBS="-lpcap $LIBS"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 #ifdef __cplusplus
12683 extern "C"
12684 #endif
12685 char pcap_create ();
12687 main ()
12689 return pcap_create ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"; then :
12695 ac_cv_lib_pcap_pcap_create=yes
12696 else
12697 ac_cv_lib_pcap_pcap_create=no
12699 rm -f core conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12701 LIBS=$ac_check_lib_save_LIBS
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12704 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12705 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12706 PCAP_LIBS="-lpcap"
12711 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12712 case "x$with_pcap" in
12713 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12714 xno) ;;
12715 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12716 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12717 esac
12718 enable_wpcap=${enable_wpcap:-no}
12722 if test "x$with_xml" != "xno"
12723 then
12724 if ${XML2_CFLAGS:+false} :; then :
12725 if ${PKG_CONFIG+:} false; then :
12726 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12729 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12730 if ${XML2_LIBS:+false} :; then :
12731 if ${PKG_CONFIG+:} false; then :
12732 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12735 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12736 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12737 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12738 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12739 ac_save_CPPFLAGS=$CPPFLAGS
12740 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12741 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12742 do :
12743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12744 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12746 cat >>confdefs.h <<_ACEOF
12747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12748 _ACEOF
12752 done
12754 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"
12755 then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12757 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12758 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 ac_check_lib_save_LIBS=$LIBS
12762 LIBS="-lxml2 $XML2_LIBS $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char xmlParseMemory ();
12774 main ()
12776 return xmlParseMemory ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 ac_cv_lib_xml2_xmlParseMemory=yes
12783 else
12784 ac_cv_lib_xml2_xmlParseMemory=no
12786 rm -f core conftest.err conftest.$ac_objext \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12791 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12792 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12794 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12796 else
12797 XML2_LIBS=""
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12801 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12802 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12803 $as_echo_n "(cached) " >&6
12804 else
12805 ac_check_lib_save_LIBS=$LIBS
12806 LIBS="-lxml2 $XML2_LIBS $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 char xmlReadMemory ();
12818 main ()
12820 return xmlReadMemory ();
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_lib_xml2_xmlReadMemory=yes
12827 else
12828 ac_cv_lib_xml2_xmlReadMemory=no
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12835 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12836 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12838 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12843 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12844 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lxml2 $XML2_LIBS $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char xmlNewDocPI ();
12860 main ()
12862 return xmlNewDocPI ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_xml2_xmlNewDocPI=yes
12869 else
12870 ac_cv_lib_xml2_xmlNewDocPI=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12877 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12878 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12880 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12885 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12886 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lxml2 $XML2_LIBS $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char xmlSchemaSetParserStructuredErrors ();
12902 main ()
12904 return xmlSchemaSetParserStructuredErrors ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12911 else
12912 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12919 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12920 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12922 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12927 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12928 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_lib_save_LIBS=$LIBS
12932 LIBS="-lxml2 $XML2_LIBS $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char xmlSchemaSetValidStructuredErrors ();
12944 main ()
12946 return xmlSchemaSetValidStructuredErrors ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12953 else
12954 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_lib_save_LIBS
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12961 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12962 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12964 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12969 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12970 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12971 $as_echo_n "(cached) " >&6
12972 else
12973 ac_check_lib_save_LIBS=$LIBS
12974 LIBS="-lxml2 $XML2_LIBS $LIBS"
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12978 /* Override any GCC internal prototype to avoid an error.
12979 Use char because int might match the return type of a GCC
12980 builtin and then its argument prototype would still apply. */
12981 #ifdef __cplusplus
12982 extern "C"
12983 #endif
12984 char xmlFirstElementChild ();
12986 main ()
12988 return xmlFirstElementChild ();
12990 return 0;
12992 _ACEOF
12993 if ac_fn_c_try_link "$LINENO"; then :
12994 ac_cv_lib_xml2_xmlFirstElementChild=yes
12995 else
12996 ac_cv_lib_xml2_xmlFirstElementChild=no
12998 rm -f core conftest.err conftest.$ac_objext \
12999 conftest$ac_exeext conftest.$ac_ext
13000 LIBS=$ac_check_lib_save_LIBS
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13003 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13004 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13006 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13010 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13012 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13014 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13018 else
13019 XML2_CFLAGS=""
13020 XML2_LIBS=""
13022 CPPFLAGS=$ac_save_CPPFLAGS
13023 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13024 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13027 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13028 case "x$with_xml" in
13029 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13030 xno) ;;
13031 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13032 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13033 esac
13037 if test "x$with_xslt" != "xno"
13038 then
13039 if ${XSLT_CFLAGS:+false} :; then :
13040 if ${PKG_CONFIG+:} false; then :
13041 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13044 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13045 if ${XSLT_LIBS:+false} :; then :
13046 if ${PKG_CONFIG+:} false; then :
13047 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13050 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13051 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13052 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13053 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13054 ac_save_CPPFLAGS=$CPPFLAGS
13055 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13056 for ac_header in libxslt/pattern.h libxslt/transform.h
13057 do :
13058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13060 # include <libxslt/pattern.h>
13061 #endif
13063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13064 cat >>confdefs.h <<_ACEOF
13065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13066 _ACEOF
13070 done
13072 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13073 then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13075 $as_echo_n "checking for -lxslt... " >&6; }
13076 if ${ac_cv_lib_soname_xslt+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_soname_save_LIBS=$LIBS
13080 LIBS="-lxslt $XSLT_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char xsltCompilePattern ();
13092 main ()
13094 return xsltCompilePattern ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 case "$LIBEXT" in
13101 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13102 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'` ;;
13103 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13104 if ${ac_cv_lib_soname_xslt:+false} :; then :
13105 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13106 fi ;;
13107 esac
13108 else
13109 ac_cv_lib_soname_xslt=
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_soname_save_LIBS
13115 if ${ac_cv_lib_soname_xslt:+false} :; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13117 $as_echo "not found" >&6; }
13119 else
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13121 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13123 cat >>confdefs.h <<_ACEOF
13124 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13125 _ACEOF
13129 else
13130 XSLT_CFLAGS=""
13132 CPPFLAGS=$ac_save_CPPFLAGS
13133 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13138 case "x$with_xslt" in
13139 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13140 xno) ;;
13141 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13142 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13143 esac
13147 if test "x$with_inotify" != "xno"
13148 then
13149 if ${INOTIFY_CFLAGS:+false} :; then :
13150 if ${PKG_CONFIG+:} false; then :
13151 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13155 if ${INOTIFY_LIBS:+false} :; then :
13156 if ${PKG_CONFIG+:} false; then :
13157 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13163 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13164 ac_save_CPPFLAGS=$CPPFLAGS
13165 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13166 for ac_header in sys/inotify.h
13167 do :
13168 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13170 cat >>confdefs.h <<_ACEOF
13171 #define HAVE_SYS_INOTIFY_H 1
13172 _ACEOF
13176 done
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13179 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13180 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13181 $as_echo_n "(cached) " >&6
13182 else
13183 ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 #ifdef __cplusplus
13192 extern "C"
13193 #endif
13194 char inotify_add_watch ();
13196 main ()
13198 return inotify_add_watch ();
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_link "$LINENO"; then :
13204 ac_cv_lib_inotify_inotify_add_watch=yes
13205 else
13206 ac_cv_lib_inotify_inotify_add_watch=no
13208 rm -f core conftest.err conftest.$ac_objext \
13209 conftest$ac_exeext conftest.$ac_ext
13210 LIBS=$ac_check_lib_save_LIBS
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13213 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13214 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13216 else
13217 INOTIFY_LIBS=""
13220 CPPFLAGS=$ac_save_CPPFLAGS
13221 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13222 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13225 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13226 case "x$with_inotify" in
13227 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13228 xno) ;;
13229 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13230 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13231 esac
13235 if test "x$with_dbus" != "xno"
13236 then
13237 if ${DBUS_CFLAGS:+false} :; then :
13238 if ${PKG_CONFIG+:} false; then :
13239 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13243 if ${DBUS_LIBS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13250 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13251 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13252 ac_save_CPPFLAGS=$CPPFLAGS
13253 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13254 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13255 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13257 $as_echo_n "checking for -ldbus-1... " >&6; }
13258 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13259 $as_echo_n "(cached) " >&6
13260 else
13261 ac_check_soname_save_LIBS=$LIBS
13262 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 /* Override any GCC internal prototype to avoid an error.
13267 Use char because int might match the return type of a GCC
13268 builtin and then its argument prototype would still apply. */
13269 #ifdef __cplusplus
13270 extern "C"
13271 #endif
13272 char dbus_connection_close ();
13274 main ()
13276 return dbus_connection_close ();
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_link "$LINENO"; then :
13282 case "$LIBEXT" in
13283 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13284 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'` ;;
13285 *) 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'`
13286 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13287 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13288 fi ;;
13289 esac
13290 else
13291 ac_cv_lib_soname_dbus_1=
13293 rm -f core conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_soname_save_LIBS
13297 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13299 $as_echo "not found" >&6; }
13300 DBUS_CFLAGS=""
13301 else
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13303 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13305 cat >>confdefs.h <<_ACEOF
13306 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13307 _ACEOF
13311 else
13312 DBUS_CFLAGS=""
13316 CPPFLAGS=$ac_save_CPPFLAGS
13317 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13322 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13323 case "x$with_dbus" in
13324 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13325 xno) ;;
13326 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13327 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13328 esac
13332 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13333 then
13334 if ${HAL_CFLAGS:+false} :; then :
13335 if ${PKG_CONFIG+:} false; then :
13336 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13340 if ${HAL_LIBS:+false} :; then :
13341 if ${PKG_CONFIG+:} false; then :
13342 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13346 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13347 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13348 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13349 ac_save_CPPFLAGS=$CPPFLAGS
13350 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13351 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13352 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13354 $as_echo_n "checking for -lhal... " >&6; }
13355 if ${ac_cv_lib_soname_hal+:} false; then :
13356 $as_echo_n "(cached) " >&6
13357 else
13358 ac_check_soname_save_LIBS=$LIBS
13359 LIBS="-lhal $HAL_LIBS $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13366 #ifdef __cplusplus
13367 extern "C"
13368 #endif
13369 char libhal_ctx_new ();
13371 main ()
13373 return libhal_ctx_new ();
13375 return 0;
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"; then :
13379 case "$LIBEXT" in
13380 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13381 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'` ;;
13382 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13383 if ${ac_cv_lib_soname_hal:+false} :; then :
13384 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13385 fi ;;
13386 esac
13387 else
13388 ac_cv_lib_soname_hal=
13390 rm -f core conftest.err conftest.$ac_objext \
13391 conftest$ac_exeext conftest.$ac_ext
13392 LIBS=$ac_check_soname_save_LIBS
13394 if ${ac_cv_lib_soname_hal:+false} :; then :
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13396 $as_echo "not found" >&6; }
13397 HAL_CFLAGS=""
13398 else
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13400 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13402 cat >>confdefs.h <<_ACEOF
13403 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13404 _ACEOF
13408 else
13409 HAL_CFLAGS=""
13413 CPPFLAGS=$ac_save_CPPFLAGS
13414 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13415 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13417 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13418 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13419 case "x$with_hal" in
13420 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13421 xno) ;;
13422 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13423 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13424 esac
13429 if test "x$with_gnutls" != "xno"
13430 then
13431 if ${GNUTLS_CFLAGS:+false} :; then :
13432 if ${PKG_CONFIG+:} false; then :
13433 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13437 if ${GNUTLS_LIBS:+false} :; then :
13438 if ${PKG_CONFIG+:} false; then :
13439 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13444 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13445 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13446 ac_save_CPPFLAGS=$CPPFLAGS
13447 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13448 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13449 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13452 #include <gnutls/gnutls.h>
13453 #include <gnutls/crypto.h>
13455 main ()
13457 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13459 return 0;
13461 _ACEOF
13462 if ac_fn_c_try_compile "$LINENO"; then :
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13464 $as_echo_n "checking for -lgnutls... " >&6; }
13465 if ${ac_cv_lib_soname_gnutls+:} false; then :
13466 $as_echo_n "(cached) " >&6
13467 else
13468 ac_check_soname_save_LIBS=$LIBS
13469 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13473 /* Override any GCC internal prototype to avoid an error.
13474 Use char because int might match the return type of a GCC
13475 builtin and then its argument prototype would still apply. */
13476 #ifdef __cplusplus
13477 extern "C"
13478 #endif
13479 char gnutls_global_init ();
13481 main ()
13483 return gnutls_global_init ();
13485 return 0;
13487 _ACEOF
13488 if ac_fn_c_try_link "$LINENO"; then :
13489 case "$LIBEXT" in
13490 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13491 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'` ;;
13492 *) 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'`
13493 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13494 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'`
13495 fi ;;
13496 esac
13497 else
13498 ac_cv_lib_soname_gnutls=
13500 rm -f core conftest.err conftest.$ac_objext \
13501 conftest$ac_exeext conftest.$ac_ext
13502 LIBS=$ac_check_soname_save_LIBS
13504 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13506 $as_echo "not found" >&6; }
13507 GNUTLS_CFLAGS=""
13508 else
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13510 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13512 cat >>confdefs.h <<_ACEOF
13513 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13514 _ACEOF
13518 ac_wine_check_funcs_save_LIBS="$LIBS"
13519 LIBS="$LIBS $GNUTLS_LIBS"
13520 for ac_func in gnutls_cipher_init
13521 do :
13522 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13523 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13524 cat >>confdefs.h <<_ACEOF
13525 #define HAVE_GNUTLS_CIPHER_INIT 1
13526 _ACEOF
13528 else
13529 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13531 done
13533 LIBS="$ac_wine_check_funcs_save_LIBS"
13535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13536 else
13537 GNUTLS_CFLAGS=""
13541 CPPFLAGS=$ac_save_CPPFLAGS
13542 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13543 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13546 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13547 case "x$with_gnutls" in
13548 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13549 xno) ;;
13550 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13551 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13552 esac
13556 CURSES_LIBS=""
13557 if test "$ac_cv_header_ncurses_h" = "yes"
13558 then
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13560 $as_echo_n "checking for -lncurses... " >&6; }
13561 if ${ac_cv_lib_soname_ncurses+:} false; then :
13562 $as_echo_n "(cached) " >&6
13563 else
13564 ac_check_soname_save_LIBS=$LIBS
13565 LIBS="-lncurses $LIBS"
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13572 #ifdef __cplusplus
13573 extern "C"
13574 #endif
13575 char waddch ();
13577 main ()
13579 return waddch ();
13581 return 0;
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 case "$LIBEXT" in
13586 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13587 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'` ;;
13588 *) 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'`
13589 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13590 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13591 fi ;;
13592 esac
13593 else
13594 ac_cv_lib_soname_ncurses=
13596 rm -f core conftest.err conftest.$ac_objext \
13597 conftest$ac_exeext conftest.$ac_ext
13598 LIBS=$ac_check_soname_save_LIBS
13600 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13602 $as_echo "not found" >&6; }
13604 else
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13606 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13610 _ACEOF
13612 CURSES_LIBS="-lncurses"
13614 elif test "$ac_cv_header_curses_h" = "yes"
13615 then
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13617 $as_echo_n "checking for -lcurses... " >&6; }
13618 if ${ac_cv_lib_soname_curses+:} false; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 ac_check_soname_save_LIBS=$LIBS
13622 LIBS="-lcurses $LIBS"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13626 /* Override any GCC internal prototype to avoid an error.
13627 Use char because int might match the return type of a GCC
13628 builtin and then its argument prototype would still apply. */
13629 #ifdef __cplusplus
13630 extern "C"
13631 #endif
13632 char waddch ();
13634 main ()
13636 return waddch ();
13638 return 0;
13640 _ACEOF
13641 if ac_fn_c_try_link "$LINENO"; then :
13642 case "$LIBEXT" in
13643 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13644 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'` ;;
13645 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13646 if ${ac_cv_lib_soname_curses:+false} :; then :
13647 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13648 fi ;;
13649 esac
13650 else
13651 ac_cv_lib_soname_curses=
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 LIBS=$ac_check_soname_save_LIBS
13657 if ${ac_cv_lib_soname_curses:+false} :; then :
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13659 $as_echo "not found" >&6; }
13661 else
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13663 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13665 cat >>confdefs.h <<_ACEOF
13666 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13667 _ACEOF
13669 CURSES_LIBS="-lcurses"
13672 ac_save_LIBS="$LIBS"
13673 LIBS="$LIBS $CURSES_LIBS"
13674 for ac_func in mousemask
13675 do :
13676 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13677 if test "x$ac_cv_func_mousemask" = xyes; then :
13678 cat >>confdefs.h <<_ACEOF
13679 #define HAVE_MOUSEMASK 1
13680 _ACEOF
13683 done
13685 LIBS="$ac_save_LIBS"
13686 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13687 case "x$with_curses" in
13688 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13689 xno) ;;
13690 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13691 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13692 esac
13696 if test "x$with_sane" != "xno"
13697 then
13698 if ${SANE_CFLAGS:+false} :; then :
13699 if ${PKG_CONFIG+:} false; then :
13700 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13703 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13704 if ${SANE_LIBS:+false} :; then :
13705 if ${PKG_CONFIG+:} false; then :
13706 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13709 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13711 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13712 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13713 ac_save_CPPFLAGS=$CPPFLAGS
13714 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13715 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13716 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13718 $as_echo_n "checking for -lsane... " >&6; }
13719 if ${ac_cv_lib_soname_sane+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 ac_check_soname_save_LIBS=$LIBS
13723 LIBS="-lsane $SANE_LIBS $LIBS"
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13730 #ifdef __cplusplus
13731 extern "C"
13732 #endif
13733 char sane_init ();
13735 main ()
13737 return sane_init ();
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 case "$LIBEXT" in
13744 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13745 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'` ;;
13746 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13747 if ${ac_cv_lib_soname_sane:+false} :; then :
13748 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13749 fi ;;
13750 esac
13751 else
13752 ac_cv_lib_soname_sane=
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_soname_save_LIBS
13758 if ${ac_cv_lib_soname_sane:+false} :; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13760 $as_echo "not found" >&6; }
13761 SANE_CFLAGS=""
13762 else
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13764 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13766 cat >>confdefs.h <<_ACEOF
13767 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13768 _ACEOF
13772 else
13773 SANE_CFLAGS=""
13777 CPPFLAGS=$ac_save_CPPFLAGS
13778 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13779 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13782 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13783 case "x$with_sane" in
13784 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13785 xno) ;;
13786 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13787 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13788 esac
13792 if test "x$with_v4l2" != "xno"
13793 then
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13795 $as_echo_n "checking for -lv4l2... " >&6; }
13796 if ${ac_cv_lib_soname_v4l2+:} false; then :
13797 $as_echo_n "(cached) " >&6
13798 else
13799 ac_check_soname_save_LIBS=$LIBS
13800 LIBS="-lv4l2 $LIBS"
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13804 /* Override any GCC internal prototype to avoid an error.
13805 Use char because int might match the return type of a GCC
13806 builtin and then its argument prototype would still apply. */
13807 #ifdef __cplusplus
13808 extern "C"
13809 #endif
13810 char v4l2_open ();
13812 main ()
13814 return v4l2_open ();
13816 return 0;
13818 _ACEOF
13819 if ac_fn_c_try_link "$LINENO"; then :
13820 case "$LIBEXT" in
13821 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13822 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'` ;;
13823 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13824 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13825 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13826 fi ;;
13827 esac
13828 else
13829 ac_cv_lib_soname_v4l2=
13831 rm -f core conftest.err conftest.$ac_objext \
13832 conftest$ac_exeext conftest.$ac_ext
13833 LIBS=$ac_check_soname_save_LIBS
13835 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13837 $as_echo "not found" >&6; }
13839 else
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13841 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13843 cat >>confdefs.h <<_ACEOF
13844 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13845 _ACEOF
13850 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13851 case "x$with_v4l2" in
13852 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13853 xno) ;;
13854 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13855 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13856 esac
13860 if test "x$with_gphoto" != "xno"
13861 then
13862 if ${GPHOTO2_CFLAGS:+false} :; then :
13863 if ${PKG_CONFIG+:} false; then :
13864 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13867 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13868 if ${GPHOTO2_LIBS:+false} :; then :
13869 if ${PKG_CONFIG+:} false; then :
13870 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13873 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13874 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13875 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13876 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13877 ac_save_CPPFLAGS=$CPPFLAGS
13878 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13879 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13880 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13882 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13883 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 ac_check_lib_save_LIBS=$LIBS
13887 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 /* Override any GCC internal prototype to avoid an error.
13892 Use char because int might match the return type of a GCC
13893 builtin and then its argument prototype would still apply. */
13894 #ifdef __cplusplus
13895 extern "C"
13896 #endif
13897 char gp_camera_new ();
13899 main ()
13901 return gp_camera_new ();
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"; then :
13907 ac_cv_lib_gphoto2_gp_camera_new=yes
13908 else
13909 ac_cv_lib_gphoto2_gp_camera_new=no
13911 rm -f core conftest.err conftest.$ac_objext \
13912 conftest$ac_exeext conftest.$ac_ext
13913 LIBS=$ac_check_lib_save_LIBS
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13916 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13917 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13919 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13921 else
13922 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13925 else
13926 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13930 CPPFLAGS=$ac_save_CPPFLAGS
13931 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13932 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13934 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13935 if ${PKG_CONFIG+:} false; then :
13936 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13939 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13940 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13941 if ${PKG_CONFIG+:} false; then :
13942 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13945 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13946 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13947 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13948 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13949 ac_save_CPPFLAGS=$CPPFLAGS
13950 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13951 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13952 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13954 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13955 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 ac_check_lib_save_LIBS=$LIBS
13959 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13963 /* Override any GCC internal prototype to avoid an error.
13964 Use char because int might match the return type of a GCC
13965 builtin and then its argument prototype would still apply. */
13966 #ifdef __cplusplus
13967 extern "C"
13968 #endif
13969 char gp_port_info_list_new ();
13971 main ()
13973 return gp_port_info_list_new ();
13975 return 0;
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13980 else
13981 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 LIBS=$ac_check_lib_save_LIBS
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13988 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13989 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13991 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13993 else
13994 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13997 else
13998 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14002 CPPFLAGS=$ac_save_CPPFLAGS
14003 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14004 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14007 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14008 case "x$with_gphoto" in
14009 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14010 xno) ;;
14011 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14012 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14013 esac
14016 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14017 case "x$with_gphoto" in
14018 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14019 xno) ;;
14020 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14021 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14022 esac
14027 if test "$ac_cv_header_resolv_h" = "yes"
14028 then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14030 $as_echo_n "checking for resolver library... " >&6; }
14031 if ${ac_cv_have_resolv+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_save_LIBS="$LIBS"
14035 for lib in '' -lresolv
14037 LIBS="$lib $ac_save_LIBS"
14038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 #ifdef HAVE_NETINET_IN_H
14041 #include <netinet/in.h>
14042 #endif
14043 #include <resolv.h>
14045 main ()
14047 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"; then :
14053 ac_cv_have_resolv=${lib:-"none required"}
14054 else
14055 ac_cv_have_resolv="not found"
14057 rm -f core conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059 test "x$ac_cv_have_resolv" = "xnot found" || break
14060 done
14061 LIBS="$ac_save_LIBS"
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14064 $as_echo "$ac_cv_have_resolv" >&6; }
14066 case "$ac_cv_have_resolv" in
14067 "not found") ;;
14068 "none required")
14070 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14073 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14075 RESOLV_LIBS=$ac_cv_have_resolv
14077 esac
14080 if test "x$with_cms" != "xno"
14081 then
14082 if ${LCMS2_CFLAGS:+false} :; then :
14083 if ${PKG_CONFIG+:} false; then :
14084 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14088 if ${LCMS2_LIBS:+false} :; then :
14089 if ${PKG_CONFIG+:} false; then :
14090 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14094 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14095 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14096 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14097 ac_save_CPPFLAGS=$CPPFLAGS
14098 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14099 for ac_header in lcms2.h
14100 do :
14101 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14102 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14103 cat >>confdefs.h <<_ACEOF
14104 #define HAVE_LCMS2_H 1
14105 _ACEOF
14109 done
14111 if test "$ac_cv_header_lcms2_h" = "yes"
14112 then
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14114 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14115 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14116 $as_echo_n "(cached) " >&6
14117 else
14118 ac_check_lib_save_LIBS=$LIBS
14119 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14123 /* Override any GCC internal prototype to avoid an error.
14124 Use char because int might match the return type of a GCC
14125 builtin and then its argument prototype would still apply. */
14126 #ifdef __cplusplus
14127 extern "C"
14128 #endif
14129 char cmsOpenProfileFromFile ();
14131 main ()
14133 return cmsOpenProfileFromFile ();
14135 return 0;
14137 _ACEOF
14138 if ac_fn_c_try_link "$LINENO"; then :
14139 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14140 else
14141 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14143 rm -f core conftest.err conftest.$ac_objext \
14144 conftest$ac_exeext conftest.$ac_ext
14145 LIBS=$ac_check_lib_save_LIBS
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14148 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14149 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14151 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14153 else
14154 LCMS2_LIBS=""
14157 else
14158 LCMS2_CFLAGS=""
14159 LCMS2_LIBS=""
14161 CPPFLAGS=$ac_save_CPPFLAGS
14162 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14163 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14166 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14167 case "x$with_cms" in
14168 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14169 xno) ;;
14170 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14171 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14172 esac
14176 if test "x$with_freetype" != "xno"
14177 then
14178 if ${FREETYPE_CFLAGS:+false} :; then :
14179 if ${PKG_CONFIG+:} false; then :
14180 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14183 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14184 if ${FREETYPE_LIBS:+false} :; then :
14185 if ${PKG_CONFIG+:} false; then :
14186 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14189 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14190 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14191 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14192 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14193 ac_save_CPPFLAGS=$CPPFLAGS
14194 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14195 for ac_header in ft2build.h
14196 do :
14197 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14198 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14199 cat >>confdefs.h <<_ACEOF
14200 #define HAVE_FT2BUILD_H 1
14201 _ACEOF
14205 done
14207 if test "$ac_cv_header_ft2build_h" = "yes"
14208 then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14210 $as_echo_n "checking for -lfreetype... " >&6; }
14211 if ${ac_cv_lib_soname_freetype+:} false; then :
14212 $as_echo_n "(cached) " >&6
14213 else
14214 ac_check_soname_save_LIBS=$LIBS
14215 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14222 #ifdef __cplusplus
14223 extern "C"
14224 #endif
14225 char FT_Init_FreeType ();
14227 main ()
14229 return FT_Init_FreeType ();
14231 return 0;
14233 _ACEOF
14234 if ac_fn_c_try_link "$LINENO"; then :
14235 case "$LIBEXT" in
14236 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14237 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'` ;;
14238 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14239 if ${ac_cv_lib_soname_freetype:+false} :; then :
14240 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14241 fi ;;
14242 esac
14243 else
14244 ac_cv_lib_soname_freetype=
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 LIBS=$ac_check_soname_save_LIBS
14250 if ${ac_cv_lib_soname_freetype:+false} :; then :
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14252 $as_echo "not found" >&6; }
14253 FREETYPE_LIBS=""
14254 else
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14256 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14258 cat >>confdefs.h <<_ACEOF
14259 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14260 _ACEOF
14263 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14265 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14266 #include FT_MODULE_H
14268 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14270 cat >>confdefs.h <<_ACEOF
14271 #define HAVE_FT_TRUETYPEENGINETYPE 1
14272 _ACEOF
14278 else
14279 FREETYPE_CFLAGS=""
14280 FREETYPE_LIBS=""
14282 CPPFLAGS=$ac_save_CPPFLAGS
14283 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14284 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14287 if test "x$ac_cv_lib_soname_freetype" = x; then :
14288 case "x$with_freetype" in
14289 xno) ;;
14290 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14291 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14292 esac
14293 enable_fonts=${enable_fonts:-no}
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14297 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14298 if ${ac_cv_c_ppdev+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14303 #ifdef HAVE_SYS_IOCTL_H
14304 # include <sys/ioctl.h>
14305 #endif
14306 #include <linux/ppdev.h>
14308 main ()
14310 ioctl (1,PPCLAIM,0)
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_compile "$LINENO"; then :
14316 ac_cv_c_ppdev="yes"
14317 else
14318 ac_cv_c_ppdev="no"
14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14323 $as_echo "$ac_cv_c_ppdev" >&6; }
14324 if test "$ac_cv_c_ppdev" = "yes"
14325 then
14327 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14331 ac_wine_check_funcs_save_LIBS="$LIBS"
14332 LIBS="$LIBS $PTHREAD_LIBS"
14333 for ac_func in \
14334 pthread_getthreadid_np
14335 do :
14336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14339 cat >>confdefs.h <<_ACEOF
14340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14341 _ACEOF
14344 done
14346 LIBS="$ac_wine_check_funcs_save_LIBS"
14348 if test "x$with_zlib" != "xno"
14349 then
14350 if ${Z_CFLAGS:+false} :; then :
14351 if ${PKG_CONFIG+:} false; then :
14352 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14356 if ${Z_LIBS:+false} :; then :
14357 if ${PKG_CONFIG+:} false; then :
14358 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14362 Z_LIBS=${Z_LIBS:-"-lz"}
14363 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14364 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14365 ac_save_CPPFLAGS=$CPPFLAGS
14366 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14367 for ac_header in zlib.h
14368 do :
14369 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14370 if test "x$ac_cv_header_zlib_h" = xyes; then :
14371 cat >>confdefs.h <<_ACEOF
14372 #define HAVE_ZLIB_H 1
14373 _ACEOF
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14375 $as_echo_n "checking for inflate in -lz... " >&6; }
14376 if ${ac_cv_lib_z_inflate+:} false; then :
14377 $as_echo_n "(cached) " >&6
14378 else
14379 ac_check_lib_save_LIBS=$LIBS
14380 LIBS="-lz $Z_LIBS $LIBS"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14384 /* Override any GCC internal prototype to avoid an error.
14385 Use char because int might match the return type of a GCC
14386 builtin and then its argument prototype would still apply. */
14387 #ifdef __cplusplus
14388 extern "C"
14389 #endif
14390 char inflate ();
14392 main ()
14394 return inflate ();
14396 return 0;
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"; then :
14400 ac_cv_lib_z_inflate=yes
14401 else
14402 ac_cv_lib_z_inflate=no
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14406 LIBS=$ac_check_lib_save_LIBS
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14409 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14410 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14412 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14414 else
14415 Z_LIBS=""
14418 else
14419 Z_LIBS=""
14422 done
14424 CPPFLAGS=$ac_save_CPPFLAGS
14425 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14426 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14429 if test "x$Z_LIBS" = "x"; then :
14430 case "x$with_zlib" in
14431 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14432 xno) ;;
14433 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14434 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14435 esac
14439 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14440 then
14441 if test "$ac_cv_header_gettext_po_h" = "yes"
14442 then
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14444 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14445 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14446 $as_echo_n "(cached) " >&6
14447 else
14448 ac_check_lib_save_LIBS=$LIBS
14449 LIBS="-lgettextpo $LIBS"
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14453 /* Override any GCC internal prototype to avoid an error.
14454 Use char because int might match the return type of a GCC
14455 builtin and then its argument prototype would still apply. */
14456 #ifdef __cplusplus
14457 extern "C"
14458 #endif
14459 char po_message_msgctxt ();
14461 main ()
14463 return po_message_msgctxt ();
14465 return 0;
14467 _ACEOF
14468 if ac_fn_c_try_link "$LINENO"; then :
14469 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14470 else
14471 ac_cv_lib_gettextpo_po_message_msgctxt=no
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14478 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14479 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14481 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14483 GETTEXTPO_LIBS="-lgettextpo"
14488 if test "x$GETTEXTPO_LIBS" = "x"; then :
14489 case "x$with_gettextpo" in
14490 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14491 xno) ;;
14492 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14493 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14494 esac
14497 if test "$srcdir" != .; then :
14498 case "x$with_gettextpo" in
14499 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14500 xno) ;;
14501 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14502 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14503 esac
14508 if test "x$with_pulse" != "xno";
14509 then
14510 if ${PULSE_CFLAGS:+false} :; then :
14511 if ${PKG_CONFIG+:} false; then :
14512 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14516 if ${PULSE_LIBS:+false} :; then :
14517 if ${PKG_CONFIG+:} false; then :
14518 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14523 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14524 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14525 ac_save_CPPFLAGS=$CPPFLAGS
14526 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14527 for ac_header in pulse/pulseaudio.h
14528 do :
14529 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14530 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14531 cat >>confdefs.h <<_ACEOF
14532 #define HAVE_PULSE_PULSEAUDIO_H 1
14533 _ACEOF
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14535 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14536 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_check_lib_save_LIBS=$LIBS
14540 LIBS="-lpulse $PULSE_LIBS $LIBS"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14547 #ifdef __cplusplus
14548 extern "C"
14549 #endif
14550 char pa_stream_is_corked ();
14552 main ()
14554 return pa_stream_is_corked ();
14556 return 0;
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 ac_cv_lib_pulse_pa_stream_is_corked=yes
14561 else
14562 ac_cv_lib_pulse_pa_stream_is_corked=no
14564 rm -f core conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14566 LIBS=$ac_check_lib_save_LIBS
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14569 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14570 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14572 else
14573 PULSE_LIBS=""
14576 else
14577 PULSE_LIBS=""
14580 done
14582 CPPFLAGS=$ac_save_CPPFLAGS
14583 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14584 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14587 if test -z "$PULSE_LIBS"; then :
14588 case "x$with_pulse" in
14589 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14590 xno) ;;
14591 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14592 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14593 esac
14594 enable_winepulse_drv=${enable_winepulse_drv:-no}
14597 if test "x$with_gstreamer" != "xno"
14598 then
14599 if ${GSTREAMER_CFLAGS:+false} :; then :
14600 if ${PKG_CONFIG+:} false; then :
14601 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14605 if ${GSTREAMER_LIBS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14612 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14613 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14614 ac_save_CPPFLAGS=$CPPFLAGS
14615 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14616 ac_gst_incl=""
14617 for i in $GSTREAMER_CFLAGS
14619 case "$i" in
14620 -I*) ac_gst_incl="$ac_gst_incl $i";;
14621 esac
14622 done
14623 GSTREAMER_CFLAGS=$ac_gst_incl
14624 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14625 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14626 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14628 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14631 #include <gst/gst.h>
14633 main ()
14635 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14637 return 0;
14639 _ACEOF
14640 if ac_fn_c_try_compile "$LINENO"; then :
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14642 $as_echo "yes" >&6; }
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14644 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14645 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 ac_check_lib_save_LIBS=$LIBS
14649 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14653 /* Override any GCC internal prototype to avoid an error.
14654 Use char because int might match the return type of a GCC
14655 builtin and then its argument prototype would still apply. */
14656 #ifdef __cplusplus
14657 extern "C"
14658 #endif
14659 char gst_pad_new ();
14661 main ()
14663 return gst_pad_new ();
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"; then :
14669 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14670 else
14671 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LIBS=$ac_check_lib_save_LIBS
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14678 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14679 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14683 else
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14685 $as_echo "no" >&6; }
14686 ac_glib2_broken=yes
14687 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14693 CPPFLAGS=$ac_save_CPPFLAGS
14694 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14695 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14698 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 :
14699 case "x$with_gstreamer" in
14700 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14701 xno) ;;
14702 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14703 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14704 esac
14707 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14709 ALSA_LIBS=""
14711 if test "x$with_alsa" != "xno"
14712 then
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14714 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14715 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14716 $as_echo_n "(cached) " >&6
14717 else
14718 ac_check_lib_save_LIBS=$LIBS
14719 LIBS="-lasound $LIBS"
14720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14723 /* Override any GCC internal prototype to avoid an error.
14724 Use char because int might match the return type of a GCC
14725 builtin and then its argument prototype would still apply. */
14726 #ifdef __cplusplus
14727 extern "C"
14728 #endif
14729 char snd_pcm_hw_params_get_access_mask ();
14731 main ()
14733 return snd_pcm_hw_params_get_access_mask ();
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14740 else
14741 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LIBS=$ac_check_lib_save_LIBS
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14748 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14749 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 #include <alsa/asoundlib.h>
14754 main ()
14756 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_compile "$LINENO"; then :
14762 ALSA_LIBS="-lasound"
14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14770 if test "x$with_oss" != xno
14771 then
14772 ac_save_CPPFLAGS="$CPPFLAGS"
14773 if test -f /etc/oss.conf
14774 then
14775 . /etc/oss.conf
14777 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14778 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14779 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14780 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14781 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14783 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14785 cat >>confdefs.h <<_ACEOF
14786 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14787 _ACEOF
14789 OSS4_CFLAGS="$ac_oss_incl"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14792 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14793 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lossaudio $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char _oss_ioctl ();
14809 main ()
14811 return _oss_ioctl ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_ossaudio__oss_ioctl=yes
14818 else
14819 ac_cv_lib_ossaudio__oss_ioctl=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14826 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14827 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14828 OSS4_LIBS="-lossaudio"
14837 CPPFLAGS="$ac_save_CPPFLAGS"
14839 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14840 case "x$with_oss" in
14841 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14842 xno) ;;
14843 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14844 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14845 esac
14846 enable_wineoss_drv=${enable_wineoss_drv:-no}
14849 if test "x$with_udev" != "xno"
14850 then
14851 if ${UDEV_CFLAGS:+false} :; then :
14852 if ${PKG_CONFIG+:} false; then :
14853 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14857 if ${UDEV_LIBS:+false} :; then :
14858 if ${PKG_CONFIG+:} false; then :
14859 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14863 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14864 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14866 ac_save_CPPFLAGS=$CPPFLAGS
14867 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14868 for ac_header in libudev.h
14869 do :
14870 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14871 if test "x$ac_cv_header_libudev_h" = xyes; then :
14872 cat >>confdefs.h <<_ACEOF
14873 #define HAVE_LIBUDEV_H 1
14874 _ACEOF
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14876 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14877 if ${ac_cv_lib_udev_udev_new+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 ac_check_lib_save_LIBS=$LIBS
14881 LIBS="-ludev $UDEV_LIBS $LIBS"
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14888 #ifdef __cplusplus
14889 extern "C"
14890 #endif
14891 char udev_new ();
14893 main ()
14895 return udev_new ();
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_lib_udev_udev_new=yes
14902 else
14903 ac_cv_lib_udev_udev_new=no
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_lib_save_LIBS
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14910 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14911 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14913 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14915 else
14916 UDEV_LIBS=""
14919 else
14920 UDEV_LIBS=""
14923 done
14925 CPPFLAGS=$ac_save_CPPFLAGS
14926 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14927 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14930 if test "x$UDEV_LIBS" = "x"; then :
14931 case "x$with_udev" in
14932 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14933 xno) ;;
14934 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14935 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14936 esac
14940 if test "x$with_unwind" != xno
14941 then
14942 if ${UNWIND_CFLAGS:+false} :; then :
14943 if ${PKG_CONFIG+:} false; then :
14944 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14948 if ${UNWIND_LIBS:+false} :; then :
14949 if ${PKG_CONFIG+:} false; then :
14950 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14954 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14955 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14956 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14957 ac_save_CPPFLAGS=$CPPFLAGS
14958 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14960 $as_echo_n "checking for unw_step... " >&6; }
14961 if ${wine_cv_have_unw_step+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 #define UNW_LOCAL_ONLY
14967 #include <libunwind.h>
14969 main ()
14971 unw_cursor_t cursor; unw_step( &cursor );
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 wine_cv_have_unw_step="yes"
14978 else
14979 wine_cv_have_unw_step="no"
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14985 $as_echo "$wine_cv_have_unw_step" >&6; }
14986 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14987 then
14988 save_libs=$LIBS
14989 LIBS="$UNWIND_LIBS $LIBS"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14991 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14992 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 #define UNW_LOCAL_ONLY
14998 #include <libunwind.h>
15000 main ()
15002 unw_cursor_t cursor; unw_step( &cursor );
15004 return 0;
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 wine_cv_have_libunwind_unw_step="yes"
15009 else
15010 wine_cv_have_libunwind_unw_step="no"
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15016 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15017 LIBS=$save_libs
15019 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15020 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15021 then
15023 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15026 CPPFLAGS=$ac_save_CPPFLAGS
15027 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15028 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15031 case $host in
15032 aarch64*|*-darwin*)
15033 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15034 case "x$with_unwind" in
15035 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15036 xno) ;;
15037 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15038 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15039 esac
15041 fi ;;
15042 esac
15044 if test "x$with_sdl" != "xno"
15045 then
15046 if ${SDL2_CFLAGS:+false} :; then :
15047 if ${PKG_CONFIG+:} false; then :
15048 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15052 if ${SDL2_LIBS:+false} :; then :
15053 if ${PKG_CONFIG+:} false; then :
15054 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15058 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15059 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15060 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15061 ac_save_CPPFLAGS=$CPPFLAGS
15062 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15063 for ac_header in SDL2/SDL.h
15064 do :
15065 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15066 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15067 cat >>confdefs.h <<_ACEOF
15068 #define HAVE_SDL2_SDL_H 1
15069 _ACEOF
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15071 $as_echo_n "checking for -lSDL2... " >&6; }
15072 if ${ac_cv_lib_soname_SDL2+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 ac_check_soname_save_LIBS=$LIBS
15076 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 #ifdef __cplusplus
15084 extern "C"
15085 #endif
15086 char SDL_Init ();
15088 main ()
15090 return SDL_Init ();
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"; then :
15096 case "$LIBEXT" in
15097 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15098 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'` ;;
15099 *) 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'`
15100 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15101 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15102 fi ;;
15103 esac
15104 else
15105 ac_cv_lib_soname_SDL2=
15107 rm -f core conftest.err conftest.$ac_objext \
15108 conftest$ac_exeext conftest.$ac_ext
15109 LIBS=$ac_check_soname_save_LIBS
15111 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15113 $as_echo "not found" >&6; }
15115 else
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15117 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15119 cat >>confdefs.h <<_ACEOF
15120 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15121 _ACEOF
15127 done
15129 CPPFLAGS=$ac_save_CPPFLAGS
15130 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15131 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15134 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15135 case "x$with_sdl" in
15136 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15137 xno) ;;
15138 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15139 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15140 esac
15144 if test "x$with_faudio" != "xno"
15145 then
15146 if ${FAUDIO_CFLAGS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15152 if ${FAUDIO_LIBS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15158 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15159 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15160 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15161 ac_save_CPPFLAGS=$CPPFLAGS
15162 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15163 for ac_header in FAudio.h
15164 do :
15165 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15166 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_FAUDIO_H 1
15169 _ACEOF
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15171 $as_echo_n "checking for -lFAudio... " >&6; }
15172 if ${ac_cv_lib_soname_FAudio+:} false; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175 ac_check_soname_save_LIBS=$LIBS
15176 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15183 #ifdef __cplusplus
15184 extern "C"
15185 #endif
15186 char FAudioCreate ();
15188 main ()
15190 return FAudioCreate ();
15192 return 0;
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"; then :
15196 case "$LIBEXT" in
15197 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15198 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'` ;;
15199 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15200 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15201 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15202 fi ;;
15203 esac
15204 else
15205 ac_cv_lib_soname_FAudio=
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext conftest.$ac_ext
15209 LIBS=$ac_check_soname_save_LIBS
15211 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15213 $as_echo "not found" >&6; }
15215 else
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15217 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15219 cat >>confdefs.h <<_ACEOF
15220 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15221 _ACEOF
15227 done
15229 ac_wine_check_funcs_save_LIBS="$LIBS"
15230 LIBS="$LIBS $FAUDIO_LIBS"
15231 for ac_func in FAudio_CommitOperationSet \
15232 F3DAudioInitialize8
15233 do :
15234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15239 _ACEOF
15242 done
15244 LIBS="$ac_wine_check_funcs_save_LIBS"
15246 CPPFLAGS=$ac_save_CPPFLAGS
15247 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15248 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15251 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15252 case "x$with_faudio" in
15253 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15254 xno) ;;
15255 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15256 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15257 esac
15261 if test "x$with_capi" != "xno"
15262 then
15263 if ${CAPI20_CFLAGS:+false} :; then :
15264 if ${PKG_CONFIG+:} false; then :
15265 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15269 if ${CAPI20_LIBS:+false} :; then :
15270 if ${PKG_CONFIG+:} false; then :
15271 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15276 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15277 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15278 ac_save_CPPFLAGS=$CPPFLAGS
15279 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15280 for ac_header in capi20.h linux/capi.h
15281 do :
15282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15283 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15288 _ACEOF
15292 done
15294 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15295 then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15297 $as_echo_n "checking for -lcapi20... " >&6; }
15298 if ${ac_cv_lib_soname_capi20+:} false; then :
15299 $as_echo_n "(cached) " >&6
15300 else
15301 ac_check_soname_save_LIBS=$LIBS
15302 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15306 /* Override any GCC internal prototype to avoid an error.
15307 Use char because int might match the return type of a GCC
15308 builtin and then its argument prototype would still apply. */
15309 #ifdef __cplusplus
15310 extern "C"
15311 #endif
15312 char capi20_register ();
15314 main ()
15316 return capi20_register ();
15318 return 0;
15320 _ACEOF
15321 if ac_fn_c_try_link "$LINENO"; then :
15322 case "$LIBEXT" in
15323 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15324 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'` ;;
15325 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15326 if ${ac_cv_lib_soname_capi20:+false} :; then :
15327 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15328 fi ;;
15329 esac
15330 else
15331 ac_cv_lib_soname_capi20=
15333 rm -f core conftest.err conftest.$ac_objext \
15334 conftest$ac_exeext conftest.$ac_ext
15335 LIBS=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_capi20:+false} :; then :
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15339 $as_echo "not found" >&6; }
15341 else
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15343 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15345 cat >>confdefs.h <<_ACEOF
15346 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15347 _ACEOF
15352 CPPFLAGS=$ac_save_CPPFLAGS
15353 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15354 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15357 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15358 case "x$with_capi" in
15359 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15360 xno) ;;
15361 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15362 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15363 esac
15367 if test "x$with_cups" != "xno"
15368 then
15369 if ${CUPS_CFLAGS:+false} :; then :
15370 if ${PKG_CONFIG+:} false; then :
15371 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15374 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15375 if ${CUPS_LIBS:+false} :; then :
15376 if ${PKG_CONFIG+:} false; then :
15377 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15380 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15381 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15382 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15383 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15384 ac_save_CPPFLAGS=$CPPFLAGS
15385 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15386 for ac_header in cups/cups.h cups/ppd.h
15387 do :
15388 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15389 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15391 cat >>confdefs.h <<_ACEOF
15392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15393 _ACEOF
15397 done
15399 if test "$ac_cv_header_cups_cups_h" = "yes"
15400 then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15402 $as_echo_n "checking for -lcups... " >&6; }
15403 if ${ac_cv_lib_soname_cups+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 ac_check_soname_save_LIBS=$LIBS
15407 LIBS="-lcups $CUPS_LIBS $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 #ifdef __cplusplus
15415 extern "C"
15416 #endif
15417 char cupsGetDefault ();
15419 main ()
15421 return cupsGetDefault ();
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"; then :
15427 case "$LIBEXT" in
15428 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15429 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'` ;;
15430 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15431 if ${ac_cv_lib_soname_cups:+false} :; then :
15432 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15433 fi ;;
15434 esac
15435 else
15436 ac_cv_lib_soname_cups=
15438 rm -f core conftest.err conftest.$ac_objext \
15439 conftest$ac_exeext conftest.$ac_ext
15440 LIBS=$ac_check_soname_save_LIBS
15442 if ${ac_cv_lib_soname_cups:+false} :; then :
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15444 $as_echo "not found" >&6; }
15445 CUPS_LIBS=""
15446 else
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15448 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15450 cat >>confdefs.h <<_ACEOF
15451 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15452 _ACEOF
15456 else
15457 CUPS_CFLAGS=""
15458 CUPS_LIBS=""
15460 CPPFLAGS=$ac_save_CPPFLAGS
15461 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15462 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15465 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15466 case "x$with_cups" in
15467 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15468 xno) ;;
15469 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15470 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15471 esac
15475 if test "x$with_fontconfig" != "xno"
15476 then
15477 if ${FONTCONFIG_CFLAGS:+false} :; then :
15478 if ${PKG_CONFIG+:} false; then :
15479 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15482 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15483 if ${FONTCONFIG_LIBS:+false} :; then :
15484 if ${PKG_CONFIG+:} false; then :
15485 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15488 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15490 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15491 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15492 ac_save_CPPFLAGS=$CPPFLAGS
15493 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15494 for ac_header in fontconfig/fontconfig.h
15495 do :
15496 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15497 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15498 cat >>confdefs.h <<_ACEOF
15499 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15500 _ACEOF
15504 done
15506 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15507 then
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15509 $as_echo_n "checking for -lfontconfig... " >&6; }
15510 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15511 $as_echo_n "(cached) " >&6
15512 else
15513 ac_check_soname_save_LIBS=$LIBS
15514 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15521 #ifdef __cplusplus
15522 extern "C"
15523 #endif
15524 char FcInit ();
15526 main ()
15528 return FcInit ();
15530 return 0;
15532 _ACEOF
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 case "$LIBEXT" in
15535 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15536 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'` ;;
15537 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15538 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15539 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15540 fi ;;
15541 esac
15542 else
15543 ac_cv_lib_soname_fontconfig=
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15547 LIBS=$ac_check_soname_save_LIBS
15549 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15551 $as_echo "not found" >&6; }
15552 FONTCONFIG_CFLAGS=""
15553 else
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15555 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15557 cat >>confdefs.h <<_ACEOF
15558 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15559 _ACEOF
15563 else
15564 FONTCONFIG_CFLAGS=""
15566 CPPFLAGS=$ac_save_CPPFLAGS
15567 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15568 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15571 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15572 case "x$with_fontconfig" in
15573 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15574 xno) ;;
15575 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15576 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15577 esac
15581 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15582 then
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15584 $as_echo_n "checking for -lgsm... " >&6; }
15585 if ${ac_cv_lib_soname_gsm+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 ac_check_soname_save_LIBS=$LIBS
15589 LIBS="-lgsm $LIBS"
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char gsm_create ();
15601 main ()
15603 return gsm_create ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 case "$LIBEXT" in
15610 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15611 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'` ;;
15612 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15613 if ${ac_cv_lib_soname_gsm:+false} :; then :
15614 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15615 fi ;;
15616 esac
15617 else
15618 ac_cv_lib_soname_gsm=
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15622 LIBS=$ac_check_soname_save_LIBS
15624 if ${ac_cv_lib_soname_gsm:+false} :; then :
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15626 $as_echo "not found" >&6; }
15628 else
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15630 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15632 cat >>confdefs.h <<_ACEOF
15633 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15634 _ACEOF
15639 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15640 case "x$with_gsm" in
15641 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15642 xno) ;;
15643 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15644 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15645 esac
15649 if test "x$with_krb5" != "xno"
15650 then
15651 if ${KRB5_CFLAGS:+false} :; then :
15652 if ${PKG_CONFIG+:} false; then :
15653 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15656 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15657 if ${KRB5_LIBS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15662 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15664 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15666 ac_save_CPPFLAGS=$CPPFLAGS
15667 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15668 for ac_header in krb5/krb5.h
15669 do :
15670 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15671 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_KRB5_KRB5_H 1
15674 _ACEOF
15678 done
15680 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15681 then
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15683 $as_echo_n "checking for -lkrb5... " >&6; }
15684 if ${ac_cv_lib_soname_krb5+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15687 ac_check_soname_save_LIBS=$LIBS
15688 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char krb5_is_config_principal ();
15700 main ()
15702 return krb5_is_config_principal ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 case "$LIBEXT" in
15709 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15710 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'` ;;
15711 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15712 if ${ac_cv_lib_soname_krb5:+false} :; then :
15713 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15714 fi ;;
15715 esac
15716 else
15717 ac_cv_lib_soname_krb5=
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_soname_save_LIBS
15723 if ${ac_cv_lib_soname_krb5:+false} :; then :
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15725 $as_echo "not found" >&6; }
15726 KRB5_CFLAGS=""
15727 else
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15729 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15731 cat >>confdefs.h <<_ACEOF
15732 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15733 _ACEOF
15737 else
15738 KRB5_CFLAGS=""
15740 CPPFLAGS=$ac_save_CPPFLAGS
15741 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15742 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15745 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15746 case "x$with_krb5" in
15747 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15748 xno) ;;
15749 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15750 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15751 esac
15754 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15756 if test "x$with_gssapi" != "xno"
15757 then
15758 if ${GSSAPI_CFLAGS:+false} :; then :
15759 if ${PKG_CONFIG+:} false; then :
15760 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15763 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15764 if ${GSSAPI_LIBS:+false} :; then :
15765 if ${PKG_CONFIG+:} false; then :
15766 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15769 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15771 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15772 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15773 ac_save_CPPFLAGS=$CPPFLAGS
15774 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15775 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15776 do :
15777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15778 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15780 cat >>confdefs.h <<_ACEOF
15781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15782 _ACEOF
15786 done
15788 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15789 then
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15791 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15792 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15793 $as_echo_n "(cached) " >&6
15794 else
15795 ac_check_soname_save_LIBS=$LIBS
15796 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15798 /* end confdefs.h. */
15800 /* Override any GCC internal prototype to avoid an error.
15801 Use char because int might match the return type of a GCC
15802 builtin and then its argument prototype would still apply. */
15803 #ifdef __cplusplus
15804 extern "C"
15805 #endif
15806 char gss_init_sec_context ();
15808 main ()
15810 return gss_init_sec_context ();
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"; then :
15816 case "$LIBEXT" in
15817 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15818 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'` ;;
15819 *) 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'`
15820 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15821 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15822 fi ;;
15823 esac
15824 else
15825 ac_cv_lib_soname_gssapi_krb5=
15827 rm -f core conftest.err conftest.$ac_objext \
15828 conftest$ac_exeext conftest.$ac_ext
15829 LIBS=$ac_check_soname_save_LIBS
15831 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15833 $as_echo "not found" >&6; }
15834 GSSAPI_CFLAGS=""
15835 else
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15837 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15839 cat >>confdefs.h <<_ACEOF
15840 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15841 _ACEOF
15845 else
15846 GSSAPI_CFLAGS=""
15848 CPPFLAGS=$ac_save_CPPFLAGS
15849 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15850 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15853 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15854 case "x$with_gssapi" in
15855 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15856 xno) ;;
15857 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15858 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15859 esac
15863 if test "x$with_jpeg" != "xno"
15864 then
15865 if ${JPEG_CFLAGS:+false} :; then :
15866 if ${PKG_CONFIG+:} false; then :
15867 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15871 if ${JPEG_LIBS:+false} :; then :
15872 if ${PKG_CONFIG+:} false; then :
15873 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15878 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15879 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15880 ac_save_CPPFLAGS=$CPPFLAGS
15881 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15882 for ac_header in jpeglib.h
15883 do :
15884 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15885 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15886 cat >>confdefs.h <<_ACEOF
15887 #define HAVE_JPEGLIB_H 1
15888 _ACEOF
15892 done
15894 if test "$ac_cv_header_jpeglib_h" = "yes"
15895 then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15897 $as_echo_n "checking for -ljpeg... " >&6; }
15898 if ${ac_cv_lib_soname_jpeg+:} false; then :
15899 $as_echo_n "(cached) " >&6
15900 else
15901 ac_check_soname_save_LIBS=$LIBS
15902 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15906 /* Override any GCC internal prototype to avoid an error.
15907 Use char because int might match the return type of a GCC
15908 builtin and then its argument prototype would still apply. */
15909 #ifdef __cplusplus
15910 extern "C"
15911 #endif
15912 char jpeg_start_decompress ();
15914 main ()
15916 return jpeg_start_decompress ();
15918 return 0;
15920 _ACEOF
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 case "$LIBEXT" in
15923 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15924 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'` ;;
15925 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15926 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15927 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15928 fi ;;
15929 esac
15930 else
15931 ac_cv_lib_soname_jpeg=
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext conftest.$ac_ext
15935 LIBS=$ac_check_soname_save_LIBS
15937 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15939 $as_echo "not found" >&6; }
15940 JPEG_CFLAGS=""
15941 else
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15943 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15945 cat >>confdefs.h <<_ACEOF
15946 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15947 _ACEOF
15951 else
15952 JPEG_CFLAGS=""
15954 CPPFLAGS=$ac_save_CPPFLAGS
15955 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15956 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15959 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15960 case "x$with_jpeg" in
15961 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15962 xno) ;;
15963 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15964 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15965 esac
15969 if test "x$with_png" != "xno"
15970 then
15971 if ${PNG_CFLAGS:+false} :; then :
15972 if ${PKG_CONFIG+:} false; then :
15973 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15976 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15977 if ${PNG_LIBS:+false} :; then :
15978 if ${PKG_CONFIG+:} false; then :
15979 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15982 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15984 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15985 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15986 ac_save_CPPFLAGS=$CPPFLAGS
15987 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15988 for ac_header in png.h
15989 do :
15990 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15991 if test "x$ac_cv_header_png_h" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_PNG_H 1
15994 _ACEOF
15998 done
16000 if test "$ac_cv_header_png_h" = "yes"
16001 then
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16003 $as_echo_n "checking for -lpng... " >&6; }
16004 if ${ac_cv_lib_soname_png+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006 else
16007 ac_check_soname_save_LIBS=$LIBS
16008 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16012 /* Override any GCC internal prototype to avoid an error.
16013 Use char because int might match the return type of a GCC
16014 builtin and then its argument prototype would still apply. */
16015 #ifdef __cplusplus
16016 extern "C"
16017 #endif
16018 char png_create_read_struct ();
16020 main ()
16022 return png_create_read_struct ();
16024 return 0;
16026 _ACEOF
16027 if ac_fn_c_try_link "$LINENO"; then :
16028 case "$LIBEXT" in
16029 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16030 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'` ;;
16031 *) 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'`
16032 if ${ac_cv_lib_soname_png:+false} :; then :
16033 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16034 fi ;;
16035 esac
16036 else
16037 ac_cv_lib_soname_png=
16039 rm -f core conftest.err conftest.$ac_objext \
16040 conftest$ac_exeext conftest.$ac_ext
16041 LIBS=$ac_check_soname_save_LIBS
16043 if ${ac_cv_lib_soname_png:+false} :; then :
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16045 $as_echo "not found" >&6; }
16046 PNG_CFLAGS=""
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16049 $as_echo "$ac_cv_lib_soname_png" >&6; }
16051 cat >>confdefs.h <<_ACEOF
16052 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16053 _ACEOF
16057 else
16058 PNG_CFLAGS=""
16060 CPPFLAGS=$ac_save_CPPFLAGS
16061 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16062 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16065 if test "x$ac_cv_lib_soname_png" = "x"; then :
16066 case "x$with_png" in
16067 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16068 xno) ;;
16069 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16070 This is an error since --with-png was requested." "$LINENO" 5 ;;
16071 esac
16075 if test "x$with_tiff" != "xno"
16076 then
16077 if ${TIFF_CFLAGS:+false} :; then :
16078 if ${PKG_CONFIG+:} false; then :
16079 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16083 if ${TIFF_LIBS:+false} :; then :
16084 if ${PKG_CONFIG+:} false; then :
16085 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16090 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16091 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16092 ac_save_CPPFLAGS=$CPPFLAGS
16093 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16094 for ac_header in tiffio.h
16095 do :
16096 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16097 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_TIFFIO_H 1
16100 _ACEOF
16104 done
16106 if test "$ac_cv_header_tiffio_h" = "yes"
16107 then
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16109 $as_echo_n "checking for -ltiff... " >&6; }
16110 if ${ac_cv_lib_soname_tiff+:} false; then :
16111 $as_echo_n "(cached) " >&6
16112 else
16113 ac_check_soname_save_LIBS=$LIBS
16114 LIBS="-ltiff $TIFF_LIBS $LIBS"
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16118 /* Override any GCC internal prototype to avoid an error.
16119 Use char because int might match the return type of a GCC
16120 builtin and then its argument prototype would still apply. */
16121 #ifdef __cplusplus
16122 extern "C"
16123 #endif
16124 char TIFFClientOpen ();
16126 main ()
16128 return TIFFClientOpen ();
16130 return 0;
16132 _ACEOF
16133 if ac_fn_c_try_link "$LINENO"; then :
16134 case "$LIBEXT" in
16135 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16136 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'` ;;
16137 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16138 if ${ac_cv_lib_soname_tiff:+false} :; then :
16139 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16140 fi ;;
16141 esac
16142 else
16143 ac_cv_lib_soname_tiff=
16145 rm -f core conftest.err conftest.$ac_objext \
16146 conftest$ac_exeext conftest.$ac_ext
16147 LIBS=$ac_check_soname_save_LIBS
16149 if ${ac_cv_lib_soname_tiff:+false} :; then :
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16151 $as_echo "not found" >&6; }
16153 else
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16155 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16157 cat >>confdefs.h <<_ACEOF
16158 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16159 _ACEOF
16164 CPPFLAGS=$ac_save_CPPFLAGS
16165 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16166 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16169 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16170 case "x$with_tiff" in
16171 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16172 xno) ;;
16173 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16174 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16175 esac
16179 if test "x$with_mpg123" != "xno"
16180 then
16181 if ${MPG123_CFLAGS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16187 if ${MPG123_LIBS:+false} :; then :
16188 if ${PKG_CONFIG+:} false; then :
16189 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16193 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16194 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16195 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16196 ac_save_CPPFLAGS=$CPPFLAGS
16197 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16198 for ac_header in mpg123.h
16199 do :
16200 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16201 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_MPG123_H 1
16204 _ACEOF
16208 done
16210 if test "$ac_cv_header_mpg123_h" = "yes"
16211 then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16213 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16214 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 ac_check_lib_save_LIBS=$LIBS
16218 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 char mpg123_feed ();
16230 main ()
16232 return mpg123_feed ();
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 ac_cv_lib_mpg123_mpg123_feed=yes
16239 else
16240 ac_cv_lib_mpg123_mpg123_feed=no
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_lib_save_LIBS
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16247 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16248 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16250 else
16251 MPG123_LIBS=""
16254 else
16255 MPG123_CFLAGS=""
16256 MPG123_LIBS=""
16258 CPPFLAGS=$ac_save_CPPFLAGS
16259 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16260 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16263 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16264 case "x$with_mpg123" in
16265 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16266 xno) ;;
16267 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16268 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16269 esac
16270 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16272 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16274 if test "$ac_cv_header_AL_al_h" = "yes"
16275 then
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16277 $as_echo_n "checking for -lopenal... " >&6; }
16278 if ${ac_cv_lib_soname_openal+:} false; then :
16279 $as_echo_n "(cached) " >&6
16280 else
16281 ac_check_soname_save_LIBS=$LIBS
16282 LIBS="-lopenal $LIBS"
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16286 /* Override any GCC internal prototype to avoid an error.
16287 Use char because int might match the return type of a GCC
16288 builtin and then its argument prototype would still apply. */
16289 #ifdef __cplusplus
16290 extern "C"
16291 #endif
16292 char alGetSource3i ();
16294 main ()
16296 return alGetSource3i ();
16298 return 0;
16300 _ACEOF
16301 if ac_fn_c_try_link "$LINENO"; then :
16302 case "$LIBEXT" in
16303 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16304 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'` ;;
16305 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16306 if ${ac_cv_lib_soname_openal:+false} :; then :
16307 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16308 fi ;;
16309 esac
16310 else
16311 ac_cv_lib_soname_openal=
16313 rm -f core conftest.err conftest.$ac_objext \
16314 conftest$ac_exeext conftest.$ac_ext
16315 LIBS=$ac_check_soname_save_LIBS
16317 if ${ac_cv_lib_soname_openal:+false} :; then :
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16319 $as_echo "not found" >&6; }
16321 else
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16323 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16325 cat >>confdefs.h <<_ACEOF
16326 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16327 _ACEOF
16329 OPENAL_LIBS="-lopenal"
16331 ac_cv_lib_openal=yes
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_OPENAL 1
16335 _ACEOF
16339 if test "x$ac_cv_lib_openal" != xyes; then :
16340 case "x$with_openal" in
16341 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16342 xno) ;;
16343 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16344 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16345 esac
16346 enable_openal32=${enable_openal32:-no}
16349 if test "x$ac_cv_lib_soname_FAudio" = "x"
16350 then
16351 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16352 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16353 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16354 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16355 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16356 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16357 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16358 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16359 enable_xapofx1_1=${enable_xapofx1_1:-no}
16360 enable_xapofx1_2=${enable_xapofx1_2:-no}
16361 enable_xapofx1_3=${enable_xapofx1_3:-no}
16362 enable_xapofx1_4=${enable_xapofx1_4:-no}
16363 enable_xapofx1_5=${enable_xapofx1_5:-no}
16364 enable_xaudio2_0=${enable_xaudio2_0:-no}
16365 enable_xaudio2_1=${enable_xaudio2_1:-no}
16366 enable_xaudio2_2=${enable_xaudio2_2:-no}
16367 enable_xaudio2_3=${enable_xaudio2_3:-no}
16368 enable_xaudio2_4=${enable_xaudio2_4:-no}
16369 enable_xaudio2_5=${enable_xaudio2_5:-no}
16370 enable_xaudio2_6=${enable_xaudio2_6:-no}
16371 enable_xaudio2_7=${enable_xaudio2_7:-no}
16372 enable_xaudio2_8=${enable_xaudio2_8:-no}
16373 enable_xaudio2_9=${enable_xaudio2_9:-no}
16376 if test "$ac_cv_header_kstat_h" = "yes"
16377 then
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16379 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16380 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 ac_check_lib_save_LIBS=$LIBS
16384 LIBS="-lkstat $LIBS"
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16388 /* Override any GCC internal prototype to avoid an error.
16389 Use char because int might match the return type of a GCC
16390 builtin and then its argument prototype would still apply. */
16391 #ifdef __cplusplus
16392 extern "C"
16393 #endif
16394 char kstat_open ();
16396 main ()
16398 return kstat_open ();
16400 return 0;
16402 _ACEOF
16403 if ac_fn_c_try_link "$LINENO"; then :
16404 ac_cv_lib_kstat_kstat_open=yes
16405 else
16406 ac_cv_lib_kstat_kstat_open=no
16408 rm -f core conftest.err conftest.$ac_objext \
16409 conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_lib_save_LIBS
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16413 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16414 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16416 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16418 KSTAT_LIBS="-lkstat"
16424 if test "$ac_cv_header_libprocstat_h" = "yes"
16425 then
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16427 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16428 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 ac_check_lib_save_LIBS=$LIBS
16432 LIBS="-lprocstat $LIBS"
16433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16436 /* Override any GCC internal prototype to avoid an error.
16437 Use char because int might match the return type of a GCC
16438 builtin and then its argument prototype would still apply. */
16439 #ifdef __cplusplus
16440 extern "C"
16441 #endif
16442 char procstat_open_sysctl ();
16444 main ()
16446 return procstat_open_sysctl ();
16448 return 0;
16450 _ACEOF
16451 if ac_fn_c_try_link "$LINENO"; then :
16452 ac_cv_lib_procstat_procstat_open_sysctl=yes
16453 else
16454 ac_cv_lib_procstat_procstat_open_sysctl=no
16456 rm -f core conftest.err conftest.$ac_objext \
16457 conftest$ac_exeext conftest.$ac_ext
16458 LIBS=$ac_check_lib_save_LIBS
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16461 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16462 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16464 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16466 PROCSTAT_LIBS="-lprocstat"
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16473 $as_echo_n "checking for -lodbc... " >&6; }
16474 if ${ac_cv_lib_soname_odbc+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 ac_check_soname_save_LIBS=$LIBS
16478 LIBS="-lodbc $LIBS"
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 #ifdef __cplusplus
16486 extern "C"
16487 #endif
16488 char SQLConnect ();
16490 main ()
16492 return SQLConnect ();
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"; then :
16498 case "$LIBEXT" in
16499 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16500 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'` ;;
16501 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16502 if ${ac_cv_lib_soname_odbc:+false} :; then :
16503 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16504 fi ;;
16505 esac
16506 else
16507 ac_cv_lib_soname_odbc=
16509 rm -f core conftest.err conftest.$ac_objext \
16510 conftest$ac_exeext conftest.$ac_ext
16511 LIBS=$ac_check_soname_save_LIBS
16513 if ${ac_cv_lib_soname_odbc:+false} :; then :
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16515 $as_echo "not found" >&6; }
16516 cat >>confdefs.h <<_ACEOF
16517 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16518 _ACEOF
16520 else
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16522 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16524 cat >>confdefs.h <<_ACEOF
16525 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16526 _ACEOF
16531 if test "x$with_netapi" != "xno"
16532 then
16533 if ${NETAPI_CFLAGS:+false} :; then :
16534 if ${PKG_CONFIG+:} false; then :
16535 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16539 if ${NETAPI_LIBS:+false} :; then :
16540 if ${PKG_CONFIG+:} false; then :
16541 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16546 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16547 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16548 ac_save_CPPFLAGS=$CPPFLAGS
16549 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16551 $as_echo_n "checking for -lnetapi... " >&6; }
16552 if ${ac_cv_lib_soname_netapi+:} false; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16555 ac_check_soname_save_LIBS=$LIBS
16556 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558 /* end confdefs.h. */
16560 /* Override any GCC internal prototype to avoid an error.
16561 Use char because int might match the return type of a GCC
16562 builtin and then its argument prototype would still apply. */
16563 #ifdef __cplusplus
16564 extern "C"
16565 #endif
16566 char libnetapi_init ();
16568 main ()
16570 return libnetapi_init ();
16572 return 0;
16574 _ACEOF
16575 if ac_fn_c_try_link "$LINENO"; then :
16576 case "$LIBEXT" in
16577 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16578 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'` ;;
16579 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16580 if ${ac_cv_lib_soname_netapi:+false} :; then :
16581 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16582 fi ;;
16583 esac
16584 else
16585 ac_cv_lib_soname_netapi=
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16589 LIBS=$ac_check_soname_save_LIBS
16591 if ${ac_cv_lib_soname_netapi:+false} :; then :
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16593 $as_echo "not found" >&6; }
16594 cat >>confdefs.h <<_ACEOF
16595 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16596 _ACEOF
16598 else
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16600 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16602 cat >>confdefs.h <<_ACEOF
16603 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16604 _ACEOF
16608 CPPFLAGS=$ac_save_CPPFLAGS
16609 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16610 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16614 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16615 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16616 then
16617 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16620 if test "x$with_vulkan" != "xno"
16621 then
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16623 $as_echo_n "checking for -lvulkan... " >&6; }
16624 if ${ac_cv_lib_soname_vulkan+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 ac_check_soname_save_LIBS=$LIBS
16628 LIBS="-lvulkan $LIBS"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16632 /* Override any GCC internal prototype to avoid an error.
16633 Use char because int might match the return type of a GCC
16634 builtin and then its argument prototype would still apply. */
16635 #ifdef __cplusplus
16636 extern "C"
16637 #endif
16638 char vkGetInstanceProcAddr ();
16640 main ()
16642 return vkGetInstanceProcAddr ();
16644 return 0;
16646 _ACEOF
16647 if ac_fn_c_try_link "$LINENO"; then :
16648 case "$LIBEXT" in
16649 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16650 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'` ;;
16651 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16652 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16653 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16654 fi ;;
16655 esac
16656 else
16657 ac_cv_lib_soname_vulkan=
16659 rm -f core conftest.err conftest.$ac_objext \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_soname_save_LIBS
16663 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16665 $as_echo "not found" >&6; }
16667 else
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16669 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16671 cat >>confdefs.h <<_ACEOF
16672 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16673 _ACEOF
16677 if test "x$ac_cv_lib_soname_vulkan" = "x"
16678 then
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16680 $as_echo_n "checking for -lMoltenVK... " >&6; }
16681 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16682 $as_echo_n "(cached) " >&6
16683 else
16684 ac_check_soname_save_LIBS=$LIBS
16685 LIBS="-lMoltenVK $LIBS"
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16689 /* Override any GCC internal prototype to avoid an error.
16690 Use char because int might match the return type of a GCC
16691 builtin and then its argument prototype would still apply. */
16692 #ifdef __cplusplus
16693 extern "C"
16694 #endif
16695 char vkGetInstanceProcAddr ();
16697 main ()
16699 return vkGetInstanceProcAddr ();
16701 return 0;
16703 _ACEOF
16704 if ac_fn_c_try_link "$LINENO"; then :
16705 case "$LIBEXT" in
16706 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16707 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'` ;;
16708 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16709 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16710 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16711 fi ;;
16712 esac
16713 else
16714 ac_cv_lib_soname_MoltenVK=
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16718 LIBS=$ac_check_soname_save_LIBS
16720 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16722 $as_echo "not found" >&6; }
16724 else
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16726 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16728 cat >>confdefs.h <<_ACEOF
16729 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16730 _ACEOF
16736 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16737 case "x$with_vulkan" in
16738 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16739 xno) ;;
16740 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16741 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16742 esac
16746 if test "x$with_vkd3d" != "xno"
16747 then
16748 if ${VKD3D_CFLAGS:+false} :; then :
16749 if ${PKG_CONFIG+:} false; then :
16750 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16754 if ${VKD3D_LIBS:+false} :; then :
16755 if ${PKG_CONFIG+:} false; then :
16756 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16761 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16762 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16763 ac_save_CPPFLAGS=$CPPFLAGS
16764 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16766 $as_echo_n "checking for -lvkd3d... " >&6; }
16767 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16768 $as_echo_n "(cached) " >&6
16769 else
16770 ac_check_soname_save_LIBS=$LIBS
16771 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16775 /* Override any GCC internal prototype to avoid an error.
16776 Use char because int might match the return type of a GCC
16777 builtin and then its argument prototype would still apply. */
16778 #ifdef __cplusplus
16779 extern "C"
16780 #endif
16781 char vkd3d_get_dxgi_format ();
16783 main ()
16785 return vkd3d_get_dxgi_format ();
16787 return 0;
16789 _ACEOF
16790 if ac_fn_c_try_link "$LINENO"; then :
16791 case "$LIBEXT" in
16792 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16793 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'` ;;
16794 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16795 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16796 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16797 fi ;;
16798 esac
16799 else
16800 ac_cv_lib_soname_vkd3d=
16802 rm -f core conftest.err conftest.$ac_objext \
16803 conftest$ac_exeext conftest.$ac_ext
16804 LIBS=$ac_check_soname_save_LIBS
16806 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16808 $as_echo "not found" >&6; }
16810 else
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16812 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16814 cat >>confdefs.h <<_ACEOF
16815 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16816 _ACEOF
16820 CPPFLAGS=$ac_save_CPPFLAGS
16821 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16822 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16825 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16826 case "x$with_vkd3d" in
16827 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16828 xno) ;;
16829 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16830 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16831 esac
16834 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16837 EXTRACFLAGS=""
16839 if test "x${GCC}" = "xyes"
16840 then
16841 EXTRACFLAGS="-Wall -pipe"
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16844 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16845 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 ac_wine_try_cflags_saved=$CFLAGS
16849 CFLAGS="$CFLAGS -fcf-protection=none"
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852 int main(int argc, char **argv) { return 0; }
16853 _ACEOF
16854 if ac_fn_c_try_link "$LINENO"; then :
16855 ac_cv_cflags__fcf_protection_none=yes
16856 else
16857 ac_cv_cflags__fcf_protection_none=no
16859 rm -f core conftest.err conftest.$ac_objext \
16860 conftest$ac_exeext conftest.$ac_ext
16861 CFLAGS=$ac_wine_try_cflags_saved
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16864 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16865 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16866 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16869 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16870 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16871 $as_echo_n "(cached) " >&6
16872 else
16873 ac_wine_try_cflags_saved=$CFLAGS
16874 CFLAGS="$CFLAGS -fno-stack-protector"
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16877 int main(int argc, char **argv) { return 0; }
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 ac_cv_cflags__fno_stack_protector=yes
16881 else
16882 ac_cv_cflags__fno_stack_protector=no
16884 rm -f core conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886 CFLAGS=$ac_wine_try_cflags_saved
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16889 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16890 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16891 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16894 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16895 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 ac_wine_try_cflags_saved=$CFLAGS
16899 CFLAGS="$CFLAGS -fno-strict-aliasing"
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16902 int main(int argc, char **argv) { return 0; }
16903 _ACEOF
16904 if ac_fn_c_try_link "$LINENO"; then :
16905 ac_cv_cflags__fno_strict_aliasing=yes
16906 else
16907 ac_cv_cflags__fno_strict_aliasing=no
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16911 CFLAGS=$ac_wine_try_cflags_saved
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16914 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16915 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16916 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16919 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16920 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16921 $as_echo_n "(cached) " >&6
16922 else
16923 ac_wine_try_cflags_saved=$CFLAGS
16924 CFLAGS="$CFLAGS -fexcess-precision=standard"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 int main(int argc, char **argv) { return 0; }
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"; then :
16930 ac_cv_cflags__fexcess_precision_standard=yes
16931 else
16932 ac_cv_cflags__fexcess_precision_standard=no
16934 rm -f core conftest.err conftest.$ac_objext \
16935 conftest$ac_exeext conftest.$ac_ext
16936 CFLAGS=$ac_wine_try_cflags_saved
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16939 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16940 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16941 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16944 saved_CFLAGS=$CFLAGS
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16946 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16947 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 ac_wine_try_cflags_saved=$CFLAGS
16951 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 int main(int argc, char **argv) { return 0; }
16955 _ACEOF
16956 if ac_fn_c_try_link "$LINENO"; then :
16957 ac_cv_cflags__Werror_unknown_warning_option=yes
16958 else
16959 ac_cv_cflags__Werror_unknown_warning_option=no
16961 rm -f core conftest.err conftest.$ac_objext \
16962 conftest$ac_exeext conftest.$ac_ext
16963 CFLAGS=$ac_wine_try_cflags_saved
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16966 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16967 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16968 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16971 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16972 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16973 $as_echo_n "(cached) " >&6
16974 else
16975 ac_wine_try_cflags_saved=$CFLAGS
16976 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16979 int main(int argc, char **argv) { return 0; }
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_cflags__Werror_unused_command_line_argument=yes
16983 else
16984 ac_cv_cflags__Werror_unused_command_line_argument=no
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 CFLAGS=$ac_wine_try_cflags_saved
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16991 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16992 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16993 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16996 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16997 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16998 $as_echo_n "(cached) " >&6
16999 else
17000 ac_wine_try_cflags_saved=$CFLAGS
17001 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 int main(int argc, char **argv) { return 0; }
17005 _ACEOF
17006 if ac_fn_c_try_link "$LINENO"; then :
17007 ac_cv_cflags__Wdeclaration_after_statement=yes
17008 else
17009 ac_cv_cflags__Wdeclaration_after_statement=no
17011 rm -f core conftest.err conftest.$ac_objext \
17012 conftest$ac_exeext conftest.$ac_ext
17013 CFLAGS=$ac_wine_try_cflags_saved
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17016 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17017 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17018 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17021 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17022 if ${ac_cv_cflags__Wempty_body+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_wine_try_cflags_saved=$CFLAGS
17026 CFLAGS="$CFLAGS -Wempty-body"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 int main(int argc, char **argv) { return 0; }
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_cflags__Wempty_body=yes
17033 else
17034 ac_cv_cflags__Wempty_body=no
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 CFLAGS=$ac_wine_try_cflags_saved
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17041 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17042 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17043 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17046 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17047 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_wine_try_cflags_saved=$CFLAGS
17051 CFLAGS="$CFLAGS -Wignored-qualifiers"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 int main(int argc, char **argv) { return 0; }
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_cflags__Wignored_qualifiers=yes
17058 else
17059 ac_cv_cflags__Wignored_qualifiers=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 CFLAGS=$ac_wine_try_cflags_saved
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17066 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17067 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17068 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17071 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17072 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Wpacked_not_aligned=yes
17083 else
17084 ac_cv_cflags__Wpacked_not_aligned=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17091 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17092 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17093 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17096 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17097 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -Wpragma-pack"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__Wpragma_pack=yes
17108 else
17109 ac_cv_cflags__Wpragma_pack=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17116 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17117 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17118 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17121 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17122 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -Wshift-overflow=2"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__Wshift_overflow_2=yes
17133 else
17134 ac_cv_cflags__Wshift_overflow_2=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17141 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17142 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17143 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17146 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17147 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -Wstrict-prototypes"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__Wstrict_prototypes=yes
17158 else
17159 ac_cv_cflags__Wstrict_prototypes=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17166 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17167 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17171 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17172 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wtype-limits"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wtype_limits=yes
17183 else
17184 ac_cv_cflags__Wtype_limits=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17191 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17192 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17196 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17197 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wunused_but_set_parameter=yes
17208 else
17209 ac_cv_cflags__Wunused_but_set_parameter=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17216 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17217 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17221 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17222 if ${ac_cv_cflags__Wvla+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -Wvla"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__Wvla=yes
17233 else
17234 ac_cv_cflags__Wvla=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17241 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17242 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17246 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17247 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Wwrite-strings"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Wwrite_strings=yes
17258 else
17259 ac_cv_cflags__Wwrite_strings=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17266 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17267 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17272 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17273 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 ac_wine_try_cflags_saved=$CFLAGS
17277 CFLAGS="$CFLAGS -Wpointer-arith"
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 int main(int argc, char **argv) { return 0; }
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"; then :
17283 ac_cv_cflags__Wpointer_arith=yes
17284 else
17285 ac_cv_cflags__Wpointer_arith=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17289 CFLAGS=$ac_wine_try_cflags_saved
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17292 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17293 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17294 saved_string_h_CFLAGS=$CFLAGS
17295 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17297 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17298 if ${ac_cv_c_string_h_warnings+:} false; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 #include <string.h>
17305 main ()
17309 return 0;
17311 _ACEOF
17312 if ac_fn_c_try_compile "$LINENO"; then :
17313 ac_cv_c_string_h_warnings=no
17314 else
17315 ac_cv_c_string_h_warnings=yes
17317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17320 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17321 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17322 CFLAGS=$saved_string_h_CFLAGS
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17326 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17327 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 ac_wine_try_cflags_saved=$CFLAGS
17331 CFLAGS="$CFLAGS -Wlogical-op"
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 int main(int argc, char **argv) { return 0; }
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 ac_cv_cflags__Wlogical_op=yes
17338 else
17339 ac_cv_cflags__Wlogical_op=no
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 CFLAGS=$ac_wine_try_cflags_saved
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17346 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17347 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17348 saved_string_h_CFLAGS=$CFLAGS
17349 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17351 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17352 if ${ac_cv_c_logicalop_noisy+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #include <string.h>
17358 char*f(const char *h,char n) {return strchr(h,n);}
17360 main ()
17364 return 0;
17366 _ACEOF
17367 if ac_fn_c_try_compile "$LINENO"; then :
17368 ac_cv_c_logicalop_noisy=no
17369 else
17370 ac_cv_c_logicalop_noisy=yes
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17375 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17376 CFLAGS=$saved_string_h_CFLAGS
17377 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17380 for ac_flag in $CFLAGS; do
17381 case $ac_flag in
17382 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17383 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17384 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_wine_try_cflags_saved=$CFLAGS
17388 CFLAGS="$CFLAGS -gdwarf-2"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 int main(int argc, char **argv) { return 0; }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394 ac_cv_cflags__gdwarf_2=yes
17395 else
17396 ac_cv_cflags__gdwarf_2=no
17398 rm -f core conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400 CFLAGS=$ac_wine_try_cflags_saved
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17403 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17404 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17405 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17408 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17409 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 ac_wine_try_cflags_saved=$CFLAGS
17413 CFLAGS="$CFLAGS -gstrict-dwarf"
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 int main(int argc, char **argv) { return 0; }
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"; then :
17419 ac_cv_cflags__gstrict_dwarf=yes
17420 else
17421 ac_cv_cflags__gstrict_dwarf=no
17423 rm -f core conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17425 CFLAGS=$ac_wine_try_cflags_saved
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17428 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17429 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17430 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17431 fi ;;
17432 esac
17433 done
17435 MSVCRTFLAGS=""
17437 case $host_os in
17438 mingw32*) ;;
17439 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17440 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17441 if ${ac_cv_cflags__fno_builtin+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 ac_wine_try_cflags_saved=$CFLAGS
17445 CFLAGS="$CFLAGS -fno-builtin"
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 int main(int argc, char **argv) { return 0; }
17449 _ACEOF
17450 if ac_fn_c_try_link "$LINENO"; then :
17451 ac_cv_cflags__fno_builtin=yes
17452 else
17453 ac_cv_cflags__fno_builtin=no
17455 rm -f core conftest.err conftest.$ac_objext \
17456 conftest$ac_exeext conftest.$ac_ext
17457 CFLAGS=$ac_wine_try_cflags_saved
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17460 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17461 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17462 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17465 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17466 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17467 $as_echo_n "(cached) " >&6
17468 else
17469 ac_wine_try_cflags_saved=$CFLAGS
17470 CFLAGS="$CFLAGS -fshort-wchar"
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 int main(int argc, char **argv) { return 0; }
17474 _ACEOF
17475 if ac_fn_c_try_link "$LINENO"; then :
17476 ac_cv_cflags__fshort_wchar=yes
17477 else
17478 ac_cv_cflags__fshort_wchar=no
17480 rm -f core conftest.err conftest.$ac_objext \
17481 conftest$ac_exeext conftest.$ac_ext
17482 CFLAGS=$ac_wine_try_cflags_saved
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17485 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17486 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17487 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17488 fi ;;
17489 esac
17491 case $host_cpu in
17492 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17493 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17494 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 ac_wine_try_cflags_saved=$CFLAGS
17498 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 int main(int argc, char **argv) { return 0; }
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 ac_cv_cflags__fno_omit_frame_pointer=yes
17505 else
17506 ac_cv_cflags__fno_omit_frame_pointer=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17510 CFLAGS=$ac_wine_try_cflags_saved
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17513 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17514 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17515 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17516 fi ;;
17517 *x86_64*)
17518 case $host_os in
17519 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17520 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17521 if ${ac_cv_cflags__Wno_format+:} false; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524 ac_wine_try_cflags_saved=$CFLAGS
17525 CFLAGS="$CFLAGS -Wno-format"
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 int main(int argc, char **argv) { return 0; }
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"; then :
17531 ac_cv_cflags__Wno_format=yes
17532 else
17533 ac_cv_cflags__Wno_format=no
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17537 CFLAGS=$ac_wine_try_cflags_saved
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17540 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17541 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17542 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17543 fi ;;
17544 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17545 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17546 if ${ac_cv_cflags__mabi_ms+:} false; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17549 ac_wine_try_cflags_saved=$CFLAGS
17550 CFLAGS="$CFLAGS -mabi=ms"
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 int main(int argc, char **argv) { return 0; }
17554 _ACEOF
17555 if ac_fn_c_try_link "$LINENO"; then :
17556 ac_cv_cflags__mabi_ms=yes
17557 else
17558 ac_cv_cflags__mabi_ms=no
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17562 CFLAGS=$ac_wine_try_cflags_saved
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17565 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17566 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17567 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17568 fi ;;
17569 esac ;;
17570 esac
17572 CFLAGS=$saved_CFLAGS
17574 if test "x$enable_maintainer_mode" = "xyes"
17575 then
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17577 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17578 if ${ac_cv_cflags__Werror+:} false; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17581 ac_wine_try_cflags_saved=$CFLAGS
17582 CFLAGS="$CFLAGS -Werror"
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 int main(int argc, char **argv) { return 0; }
17586 _ACEOF
17587 if ac_fn_c_try_link "$LINENO"; then :
17588 ac_cv_cflags__Werror=yes
17589 else
17590 ac_cv_cflags__Werror=no
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17594 CFLAGS=$ac_wine_try_cflags_saved
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17597 $as_echo "$ac_cv_cflags__Werror" >&6; }
17598 if test "x$ac_cv_cflags__Werror" = xyes; then :
17599 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17606 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17607 if ${ac_cv_c_fortify_enabled+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17612 #include <string.h>
17614 main ()
17616 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17617 #error Fortify enabled
17618 #endif
17620 return 0;
17622 _ACEOF
17623 if ac_fn_c_try_compile "$LINENO"; then :
17624 ac_cv_c_fortify_enabled=no
17625 else
17626 ac_cv_c_fortify_enabled=yes
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17631 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17632 if test "$ac_cv_c_fortify_enabled" = yes
17633 then
17634 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17639 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17640 if ${ac_cv_c_cfi_support+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17647 main ()
17651 return 0;
17653 _ACEOF
17654 if ac_fn_c_try_compile "$LINENO"; then :
17655 ac_cv_c_cfi_support="yes"
17656 else
17657 ac_cv_c_cfi_support="no"
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17662 $as_echo "$ac_cv_c_cfi_support" >&6; }
17663 if test "$ac_cv_c_cfi_support" = "yes"
17664 then
17665 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17666 else
17667 if test "x$enable_win64" = "xyes"
17668 then
17669 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17674 case $build_os in
17675 cygwin*|mingw32*) TOOLSEXT=".exe"
17677 esac
17679 case $host_os in
17680 linux*)
17681 case $host_cpu in
17682 *i[3456789]86*|x86_64*|*aarch64*)
17683 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17684 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17686 esac
17688 esac
17691 ac_save_CFLAGS="$CFLAGS"
17692 CFLAGS="$CFLAGS $BUILTINFLAG"
17693 for ac_func in \
17694 __res_get_state \
17695 __res_getservers \
17696 _spawnvp \
17697 dlopen \
17698 epoll_create \
17699 ffs \
17700 finitef \
17701 fnmatch \
17702 fork \
17703 fpclass \
17704 fstatfs \
17705 fstatvfs \
17706 futimens \
17707 futimes \
17708 futimesat \
17709 getattrlist \
17710 getauxval \
17711 getifaddrs \
17712 getopt_long_only \
17713 kqueue \
17714 lstat \
17715 mach_continuous_time \
17716 pipe2 \
17717 poll \
17718 port_create \
17719 prctl \
17720 pread \
17721 proc_pidinfo \
17722 pwrite \
17723 readdir \
17724 readlink \
17725 sched_yield \
17726 select \
17727 setproctitle \
17728 setprogname \
17729 settimeofday \
17730 sigprocmask \
17731 statfs \
17732 statvfs \
17733 strnlen \
17734 strtold \
17735 symlink \
17736 sysinfo \
17737 tcdrain \
17738 thr_kill2 \
17739 timegm \
17740 usleep
17742 do :
17743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17745 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17746 cat >>confdefs.h <<_ACEOF
17747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17748 _ACEOF
17751 done
17753 CFLAGS="$ac_save_CFLAGS"
17755 if test "$ac_cv_func_dlopen" = no
17756 then
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17758 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17759 if ${ac_cv_lib_dl_dlopen+:} false; then :
17760 $as_echo_n "(cached) " >&6
17761 else
17762 ac_check_lib_save_LIBS=$LIBS
17763 LIBS="-ldl $LIBS"
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17767 /* Override any GCC internal prototype to avoid an error.
17768 Use char because int might match the return type of a GCC
17769 builtin and then its argument prototype would still apply. */
17770 #ifdef __cplusplus
17771 extern "C"
17772 #endif
17773 char dlopen ();
17775 main ()
17777 return dlopen ();
17779 return 0;
17781 _ACEOF
17782 if ac_fn_c_try_link "$LINENO"; then :
17783 ac_cv_lib_dl_dlopen=yes
17784 else
17785 ac_cv_lib_dl_dlopen=no
17787 rm -f core conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17789 LIBS=$ac_check_lib_save_LIBS
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17792 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17793 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17794 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17795 DL_LIBS="-ldl"
17800 ac_wine_check_funcs_save_LIBS="$LIBS"
17801 LIBS="$LIBS $DL_LIBS"
17802 for ac_func in dladdr
17803 do :
17804 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17805 if test "x$ac_cv_func_dladdr" = xyes; then :
17806 cat >>confdefs.h <<_ACEOF
17807 #define HAVE_DLADDR 1
17808 _ACEOF
17811 done
17813 LIBS="$ac_wine_check_funcs_save_LIBS"
17815 if test "$ac_cv_func_poll" = no
17816 then
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17818 $as_echo_n "checking for poll in -lpoll... " >&6; }
17819 if ${ac_cv_lib_poll_poll+:} false; then :
17820 $as_echo_n "(cached) " >&6
17821 else
17822 ac_check_lib_save_LIBS=$LIBS
17823 LIBS="-lpoll $LIBS"
17824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17827 /* Override any GCC internal prototype to avoid an error.
17828 Use char because int might match the return type of a GCC
17829 builtin and then its argument prototype would still apply. */
17830 #ifdef __cplusplus
17831 extern "C"
17832 #endif
17833 char poll ();
17835 main ()
17837 return poll ();
17839 return 0;
17841 _ACEOF
17842 if ac_fn_c_try_link "$LINENO"; then :
17843 ac_cv_lib_poll_poll=yes
17844 else
17845 ac_cv_lib_poll_poll=no
17847 rm -f core conftest.err conftest.$ac_objext \
17848 conftest$ac_exeext conftest.$ac_ext
17849 LIBS=$ac_check_lib_save_LIBS
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17852 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17853 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17854 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17855 POLL_LIBS="-lpoll"
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17862 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17863 if ${ac_cv_search_gethostbyname+:} false; then :
17864 $as_echo_n "(cached) " >&6
17865 else
17866 ac_func_search_save_LIBS=$LIBS
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 /* Override any GCC internal prototype to avoid an error.
17871 Use char because int might match the return type of a GCC
17872 builtin and then its argument prototype would still apply. */
17873 #ifdef __cplusplus
17874 extern "C"
17875 #endif
17876 char gethostbyname ();
17878 main ()
17880 return gethostbyname ();
17882 return 0;
17884 _ACEOF
17885 for ac_lib in '' nsl; do
17886 if test -z "$ac_lib"; then
17887 ac_res="none required"
17888 else
17889 ac_res=-l$ac_lib
17890 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_search_gethostbyname=$ac_res
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext
17897 if ${ac_cv_search_gethostbyname+:} false; then :
17898 break
17900 done
17901 if ${ac_cv_search_gethostbyname+:} false; then :
17903 else
17904 ac_cv_search_gethostbyname=no
17906 rm conftest.$ac_ext
17907 LIBS=$ac_func_search_save_LIBS
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17910 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17911 ac_res=$ac_cv_search_gethostbyname
17912 if test "$ac_res" != no; then :
17913 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17919 $as_echo_n "checking for library containing connect... " >&6; }
17920 if ${ac_cv_search_connect+:} false; then :
17921 $as_echo_n "(cached) " >&6
17922 else
17923 ac_func_search_save_LIBS=$LIBS
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17927 /* Override any GCC internal prototype to avoid an error.
17928 Use char because int might match the return type of a GCC
17929 builtin and then its argument prototype would still apply. */
17930 #ifdef __cplusplus
17931 extern "C"
17932 #endif
17933 char connect ();
17935 main ()
17937 return connect ();
17939 return 0;
17941 _ACEOF
17942 for ac_lib in '' socket; do
17943 if test -z "$ac_lib"; then
17944 ac_res="none required"
17945 else
17946 ac_res=-l$ac_lib
17947 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17949 if ac_fn_c_try_link "$LINENO"; then :
17950 ac_cv_search_connect=$ac_res
17952 rm -f core conftest.err conftest.$ac_objext \
17953 conftest$ac_exeext
17954 if ${ac_cv_search_connect+:} false; then :
17955 break
17957 done
17958 if ${ac_cv_search_connect+:} false; then :
17960 else
17961 ac_cv_search_connect=no
17963 rm conftest.$ac_ext
17964 LIBS=$ac_func_search_save_LIBS
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17967 $as_echo "$ac_cv_search_connect" >&6; }
17968 ac_res=$ac_cv_search_connect
17969 if test "$ac_res" != no; then :
17970 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17976 $as_echo_n "checking for library containing inet_aton... " >&6; }
17977 if ${ac_cv_search_inet_aton+:} false; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 ac_func_search_save_LIBS=$LIBS
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 /* Override any GCC internal prototype to avoid an error.
17985 Use char because int might match the return type of a GCC
17986 builtin and then its argument prototype would still apply. */
17987 #ifdef __cplusplus
17988 extern "C"
17989 #endif
17990 char inet_aton ();
17992 main ()
17994 return inet_aton ();
17996 return 0;
17998 _ACEOF
17999 for ac_lib in '' resolv; do
18000 if test -z "$ac_lib"; then
18001 ac_res="none required"
18002 else
18003 ac_res=-l$ac_lib
18004 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18006 if ac_fn_c_try_link "$LINENO"; then :
18007 ac_cv_search_inet_aton=$ac_res
18009 rm -f core conftest.err conftest.$ac_objext \
18010 conftest$ac_exeext
18011 if ${ac_cv_search_inet_aton+:} false; then :
18012 break
18014 done
18015 if ${ac_cv_search_inet_aton+:} false; then :
18017 else
18018 ac_cv_search_inet_aton=no
18020 rm conftest.$ac_ext
18021 LIBS=$ac_func_search_save_LIBS
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18024 $as_echo "$ac_cv_search_inet_aton" >&6; }
18025 ac_res=$ac_cv_search_inet_aton
18026 if test "$ac_res" != no; then :
18027 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18032 for ac_func in \
18033 getaddrinfo \
18034 getnameinfo \
18035 getnetbyname \
18036 getprotobyname \
18037 getprotobynumber \
18038 getservbyport \
18039 inet_addr \
18040 inet_network \
18041 inet_ntop \
18042 inet_pton \
18044 do :
18045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18048 cat >>confdefs.h <<_ACEOF
18049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18050 _ACEOF
18053 done
18056 case $host_os in
18057 darwin*|macosx*) ;;
18058 *) ac_save_LIBS=$LIBS
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18060 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18061 if ${ac_cv_search_clock_gettime+:} false; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18064 ac_func_search_save_LIBS=$LIBS
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18068 /* Override any GCC internal prototype to avoid an error.
18069 Use char because int might match the return type of a GCC
18070 builtin and then its argument prototype would still apply. */
18071 #ifdef __cplusplus
18072 extern "C"
18073 #endif
18074 char clock_gettime ();
18076 main ()
18078 return clock_gettime ();
18080 return 0;
18082 _ACEOF
18083 for ac_lib in '' rt; do
18084 if test -z "$ac_lib"; then
18085 ac_res="none required"
18086 else
18087 ac_res=-l$ac_lib
18088 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18090 if ac_fn_c_try_link "$LINENO"; then :
18091 ac_cv_search_clock_gettime=$ac_res
18093 rm -f core conftest.err conftest.$ac_objext \
18094 conftest$ac_exeext
18095 if ${ac_cv_search_clock_gettime+:} false; then :
18096 break
18098 done
18099 if ${ac_cv_search_clock_gettime+:} false; then :
18101 else
18102 ac_cv_search_clock_gettime=no
18104 rm conftest.$ac_ext
18105 LIBS=$ac_func_search_save_LIBS
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18108 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18109 ac_res=$ac_cv_search_clock_gettime
18110 if test "$ac_res" != no; then :
18111 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18113 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18115 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18119 LIBS=$ac_save_LIBS
18121 esac
18123 if test "x$with_ldap" != "xno"
18124 then
18125 if ${LDAP_CFLAGS:+false} :; then :
18126 if ${PKG_CONFIG+:} false; then :
18127 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18131 if ${LDAP_LIBS:+false} :; then :
18132 if ${PKG_CONFIG+:} false; then :
18133 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18137 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18138 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18139 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18140 ac_save_CPPFLAGS=$CPPFLAGS
18141 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18142 for ac_header in ldap.h lber.h
18143 do :
18144 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18145 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18146 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18147 cat >>confdefs.h <<_ACEOF
18148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18149 _ACEOF
18153 done
18155 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18156 then
18157 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18159 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18161 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18162 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 ac_check_lib_save_LIBS=$LIBS
18166 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18173 #ifdef __cplusplus
18174 extern "C"
18175 #endif
18176 char ldap_initialize ();
18178 main ()
18180 return ldap_initialize ();
18182 return 0;
18184 _ACEOF
18185 if ac_fn_c_try_link "$LINENO"; then :
18186 ac_cv_lib_ldap_r_ldap_initialize=yes
18187 else
18188 ac_cv_lib_ldap_r_ldap_initialize=no
18190 rm -f core conftest.err conftest.$ac_objext \
18191 conftest$ac_exeext conftest.$ac_ext
18192 LIBS=$ac_check_lib_save_LIBS
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18195 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18196 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18198 $as_echo_n "checking for ber_init in -llber... " >&6; }
18199 if ${ac_cv_lib_lber_ber_init+:} false; then :
18200 $as_echo_n "(cached) " >&6
18201 else
18202 ac_check_lib_save_LIBS=$LIBS
18203 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18207 /* Override any GCC internal prototype to avoid an error.
18208 Use char because int might match the return type of a GCC
18209 builtin and then its argument prototype would still apply. */
18210 #ifdef __cplusplus
18211 extern "C"
18212 #endif
18213 char ber_init ();
18215 main ()
18217 return ber_init ();
18219 return 0;
18221 _ACEOF
18222 if ac_fn_c_try_link "$LINENO"; then :
18223 ac_cv_lib_lber_ber_init=yes
18224 else
18225 ac_cv_lib_lber_ber_init=no
18227 rm -f core conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext conftest.$ac_ext
18229 LIBS=$ac_check_lib_save_LIBS
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18232 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18233 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18235 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18237 else
18238 LDAP_LIBS=""
18241 else
18242 LDAP_LIBS=""
18245 else
18246 LDAP_LIBS=""
18249 ac_wine_check_funcs_save_LIBS="$LIBS"
18250 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18251 for ac_func in \
18252 ldap_count_references \
18253 ldap_first_reference \
18254 ldap_next_reference \
18255 ldap_parse_reference \
18256 ldap_parse_sort_control \
18257 ldap_parse_sortresponse_control \
18258 ldap_parse_vlv_control \
18259 ldap_parse_vlvresponse_control
18260 do :
18261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18264 cat >>confdefs.h <<_ACEOF
18265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18266 _ACEOF
18269 done
18271 LIBS="$ac_wine_check_funcs_save_LIBS"
18272 else
18273 LDAP_LIBS=""
18275 CPPFLAGS=$ac_save_CPPFLAGS
18276 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18277 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18280 if test "x$LDAP_LIBS" = "x"; then :
18281 case "x$with_ldap" in
18282 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18283 xno) ;;
18284 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18285 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18286 esac
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18291 $as_echo_n "checking for sched_setaffinity... " >&6; }
18292 if ${wine_cv_have_sched_setaffinity+:} false; then :
18293 $as_echo_n "(cached) " >&6
18294 else
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #define _GNU_SOURCE
18298 #include <sched.h>
18300 main ()
18302 sched_setaffinity(0, 0, 0);
18304 return 0;
18306 _ACEOF
18307 if ac_fn_c_try_link "$LINENO"; then :
18308 wine_cv_have_sched_setaffinity=yes
18309 else
18310 wine_cv_have_sched_setaffinity=no
18312 rm -f core conftest.err conftest.$ac_objext \
18313 conftest$ac_exeext conftest.$ac_ext
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18316 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18317 if test "$wine_cv_have_sched_setaffinity" = "yes"
18318 then
18320 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18325 $as_echo_n "checking for fallocate... " >&6; }
18326 if ${wine_cv_have_fallocate+:} false; then :
18327 $as_echo_n "(cached) " >&6
18328 else
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18331 #define _GNU_SOURCE
18332 #include <fcntl.h>
18334 main ()
18336 fallocate(-1, 0, 0, 0);
18338 return 0;
18340 _ACEOF
18341 if ac_fn_c_try_link "$LINENO"; then :
18342 wine_cv_have_fallocate=yes
18343 else
18344 wine_cv_have_fallocate=no
18346 rm -f core conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext conftest.$ac_ext
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18350 $as_echo "$wine_cv_have_fallocate" >&6; }
18351 if test "$wine_cv_have_fallocate" = "yes"
18352 then
18354 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18360 $as_echo_n "checking for inline... " >&6; }
18361 if ${ac_cv_c_inline+:} false; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364 ac_cv_c_inline=no
18365 for ac_kw in inline __inline__ __inline; do
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18368 #ifndef __cplusplus
18369 typedef int foo_t;
18370 static $ac_kw foo_t static_foo () {return 0; }
18371 $ac_kw foo_t foo () {return 0; }
18372 #endif
18374 _ACEOF
18375 if ac_fn_c_try_compile "$LINENO"; then :
18376 ac_cv_c_inline=$ac_kw
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379 test "$ac_cv_c_inline" != no && break
18380 done
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18384 $as_echo "$ac_cv_c_inline" >&6; }
18386 case $ac_cv_c_inline in
18387 inline | yes) ;;
18389 case $ac_cv_c_inline in
18390 no) ac_val=;;
18391 *) ac_val=$ac_cv_c_inline;;
18392 esac
18393 cat >>confdefs.h <<_ACEOF
18394 #ifndef __cplusplus
18395 #define inline $ac_val
18396 #endif
18397 _ACEOF
18399 esac
18401 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18402 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18404 cat >>confdefs.h <<_ACEOF
18405 #define HAVE_FSBLKCNT_T 1
18406 _ACEOF
18410 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18411 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18413 cat >>confdefs.h <<_ACEOF
18414 #define HAVE_FSFILCNT_T 1
18415 _ACEOF
18420 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18421 #include <signal.h>
18423 if test "x$ac_cv_type_sigset_t" = xyes; then :
18425 cat >>confdefs.h <<_ACEOF
18426 #define HAVE_SIGSET_T 1
18427 _ACEOF
18432 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18434 if test "x$ac_cv_type_request_sense" = xyes; then :
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_REQUEST_SENSE 1
18438 _ACEOF
18444 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18445 #ifdef HAVE_SYS_SOCKET_H
18446 #include <sys/socket.h>
18447 #endif
18448 #ifdef HAVE_SYS_SOCKETVAR_H
18449 #include <sys/socketvar.h>
18450 #endif
18451 #ifdef HAVE_NET_ROUTE_H
18452 #include <net/route.h>
18453 #endif
18454 #ifdef HAVE_NETINET_IN_H
18455 #include <netinet/in.h>
18456 #endif
18457 #ifdef HAVE_NETINET_IN_SYSTM_H
18458 #include <netinet/in_systm.h>
18459 #endif
18460 #ifdef HAVE_NETINET_IP_H
18461 #include <netinet/ip.h>
18462 #endif
18463 #ifdef HAVE_NETINET_IN_PCB_H
18464 #include <netinet/in_pcb.h>
18465 #endif
18467 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_STRUCT_XINPGEN 1
18471 _ACEOF
18477 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18478 #include <link.h>
18479 #endif
18480 #ifdef HAVE_SYS_LINK_H
18481 #include <sys/link.h>
18482 #endif
18484 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18486 cat >>confdefs.h <<_ACEOF
18487 #define HAVE_STRUCT_R_DEBUG 1
18488 _ACEOF
18492 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18493 #include <link.h>
18494 #endif
18495 #ifdef HAVE_SYS_LINK_H
18496 #include <sys/link.h>
18497 #endif
18499 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18501 cat >>confdefs.h <<_ACEOF
18502 #define HAVE_STRUCT_LINK_MAP 1
18503 _ACEOF
18509 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18510 #include <linux/input.h>
18511 #endif
18513 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18515 cat >>confdefs.h <<_ACEOF
18516 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18517 _ACEOF
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18524 $as_echo_n "checking for if_nameindex... " >&6; }
18525 if ${wine_cv_have_if_nameindex+:} false; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18530 #ifdef HAVE_SYS_TYPES_H
18531 #include <sys/types.h>
18532 #endif
18533 #ifdef HAVE_SYS_SOCKET_H
18534 #include <sys/socket.h>
18535 #endif
18536 #ifdef HAVE_NET_IF_H
18537 # include <net/if.h>
18538 #endif
18540 main ()
18542 struct if_nameindex *p = if_nameindex(); return p->if_index;
18544 return 0;
18546 _ACEOF
18547 if ac_fn_c_try_link "$LINENO"; then :
18548 wine_cv_have_if_nameindex=yes
18549 else
18550 wine_cv_have_if_nameindex=no
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18556 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18557 if test "$wine_cv_have_if_nameindex" = "yes"
18558 then
18560 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18565 $as_echo_n "checking for sigaddset... " >&6; }
18566 if ${wine_cv_have_sigaddset+:} false; then :
18567 $as_echo_n "(cached) " >&6
18568 else
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571 #include <signal.h>
18573 main ()
18575 sigset_t set; sigaddset(&set,SIGTERM);
18577 return 0;
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"; then :
18581 wine_cv_have_sigaddset=yes
18582 else
18583 wine_cv_have_sigaddset=no
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18589 $as_echo "$wine_cv_have_sigaddset" >&6; }
18590 if test "$wine_cv_have_sigaddset" = "yes"
18591 then
18593 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18599 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18600 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18601 $as_echo_n "(cached) " >&6
18602 else
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #include <netdb.h>
18607 main ()
18610 char *name=0;
18611 struct hostent he;
18612 struct hostent *result;
18613 char *buf=0;
18614 int bufsize=0;
18615 int errnr;
18616 char *addr=0;
18617 int addrlen=0;
18618 int addrtype=0;
18619 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18620 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18623 return 0;
18625 _ACEOF
18626 if ac_fn_c_try_link "$LINENO"; then :
18627 wine_cv_linux_gethostbyname_r_6=yes
18628 else
18629 wine_cv_linux_gethostbyname_r_6=no
18632 rm -f core conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18637 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18638 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18639 then
18641 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18645 if test "$ac_cv_header_linux_joystick_h" = "yes"
18646 then
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18648 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18649 if ${wine_cv_linux_joystick_22_api+:} false; then :
18650 $as_echo_n "(cached) " >&6
18651 else
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18655 #include <sys/ioctl.h>
18656 #include <sys/types.h>
18657 #include <linux/joystick.h>
18659 struct js_event blub;
18660 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18661 #error "no 2.2 header"
18662 #endif
18665 main ()
18667 /*empty*/
18669 return 0;
18671 _ACEOF
18672 if ac_fn_c_try_compile "$LINENO"; then :
18673 wine_cv_linux_joystick_22_api=yes
18674 else
18675 wine_cv_linux_joystick_22_api=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18681 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18682 if test "$wine_cv_linux_joystick_22_api" = "yes"
18683 then
18685 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18691 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18692 #ifdef HAVE_SYS_PARAM_H
18693 # include <sys/param.h>
18694 #endif
18695 #ifdef HAVE_SYS_MOUNT_H
18696 # include <sys/mount.h>
18697 #endif
18698 #ifdef HAVE_SYS_VFS_H
18699 # include <sys/vfs.h>
18700 #endif
18701 #ifdef HAVE_SYS_STATFS_H
18702 # include <sys/statfs.h>
18703 #endif
18705 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_STRUCT_STATFS_F_BFREE 1
18709 _ACEOF
18713 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18714 #ifdef HAVE_SYS_PARAM_H
18715 # include <sys/param.h>
18716 #endif
18717 #ifdef HAVE_SYS_MOUNT_H
18718 # include <sys/mount.h>
18719 #endif
18720 #ifdef HAVE_SYS_VFS_H
18721 # include <sys/vfs.h>
18722 #endif
18723 #ifdef HAVE_SYS_STATFS_H
18724 # include <sys/statfs.h>
18725 #endif
18727 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18731 _ACEOF
18735 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18736 #ifdef HAVE_SYS_PARAM_H
18737 # include <sys/param.h>
18738 #endif
18739 #ifdef HAVE_SYS_MOUNT_H
18740 # include <sys/mount.h>
18741 #endif
18742 #ifdef HAVE_SYS_VFS_H
18743 # include <sys/vfs.h>
18744 #endif
18745 #ifdef HAVE_SYS_STATFS_H
18746 # include <sys/statfs.h>
18747 #endif
18749 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18753 _ACEOF
18757 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18758 #ifdef HAVE_SYS_PARAM_H
18759 # include <sys/param.h>
18760 #endif
18761 #ifdef HAVE_SYS_MOUNT_H
18762 # include <sys/mount.h>
18763 #endif
18764 #ifdef HAVE_SYS_VFS_H
18765 # include <sys/vfs.h>
18766 #endif
18767 #ifdef HAVE_SYS_STATFS_H
18768 # include <sys/statfs.h>
18769 #endif
18771 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18773 cat >>confdefs.h <<_ACEOF
18774 #define HAVE_STRUCT_STATFS_F_FFREE 1
18775 _ACEOF
18779 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18780 #ifdef HAVE_SYS_PARAM_H
18781 # include <sys/param.h>
18782 #endif
18783 #ifdef HAVE_SYS_MOUNT_H
18784 # include <sys/mount.h>
18785 #endif
18786 #ifdef HAVE_SYS_VFS_H
18787 # include <sys/vfs.h>
18788 #endif
18789 #ifdef HAVE_SYS_STATFS_H
18790 # include <sys/statfs.h>
18791 #endif
18793 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18797 _ACEOF
18801 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18802 #ifdef HAVE_SYS_PARAM_H
18803 # include <sys/param.h>
18804 #endif
18805 #ifdef HAVE_SYS_MOUNT_H
18806 # include <sys/mount.h>
18807 #endif
18808 #ifdef HAVE_SYS_VFS_H
18809 # include <sys/vfs.h>
18810 #endif
18811 #ifdef HAVE_SYS_STATFS_H
18812 # include <sys/statfs.h>
18813 #endif
18815 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18817 cat >>confdefs.h <<_ACEOF
18818 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18819 _ACEOF
18825 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18826 #include <sys/statvfs.h>
18827 #endif
18829 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18833 _ACEOF
18839 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18840 #include <dirent.h>
18841 #endif
18843 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18847 _ACEOF
18853 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18854 #ifdef HAVE_SYS_SOCKET_H
18855 # include <sys/socket.h>
18856 #endif
18857 #ifdef HAVE_SYS_UN_H
18858 # include <sys/un.h>
18859 #endif
18861 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18863 cat >>confdefs.h <<_ACEOF
18864 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18865 _ACEOF
18869 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18870 #ifdef HAVE_SYS_SOCKET_H
18871 # include <sys/socket.h>
18872 #endif
18873 #ifdef HAVE_SYS_UN_H
18874 # include <sys/un.h>
18875 #endif
18877 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18879 cat >>confdefs.h <<_ACEOF
18880 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18881 _ACEOF
18885 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18886 #ifdef HAVE_SYS_SOCKET_H
18887 # include <sys/socket.h>
18888 #endif
18889 #ifdef HAVE_SYS_UN_H
18890 # include <sys/un.h>
18891 #endif
18893 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18897 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18904 #ifdef HAVE_SCSI_SG_H
18905 #include <scsi/sg.h>
18906 #endif
18908 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18910 cat >>confdefs.h <<_ACEOF
18911 #define HAVE_SCSIREQ_T_CMD 1
18912 _ACEOF
18916 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>
18917 #ifdef HAVE_SCSI_SG_H
18918 #include <scsi/sg.h>
18919 #endif
18921 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18925 _ACEOF
18931 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18933 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_SIGINFO_T_SI_FD 1
18937 _ACEOF
18943 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18944 #ifdef HAVE_SYS_MTIO_H
18945 #include <sys/mtio.h>
18946 #endif
18948 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18952 _ACEOF
18956 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18957 #ifdef HAVE_SYS_MTIO_H
18958 #include <sys/mtio.h>
18959 #endif
18961 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18963 cat >>confdefs.h <<_ACEOF
18964 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18965 _ACEOF
18969 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18970 #ifdef HAVE_SYS_MTIO_H
18971 #include <sys/mtio.h>
18972 #endif
18974 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18978 _ACEOF
18984 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18985 #include <getopt.h>
18986 #endif
18988 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18990 cat >>confdefs.h <<_ACEOF
18991 #define HAVE_STRUCT_OPTION_NAME 1
18992 _ACEOF
18998 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18999 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19003 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19008 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_STAT_ST_MTIM 1
19012 _ACEOF
19016 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19017 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19021 _ACEOF
19025 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19026 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_STRUCT_STAT_ST_CTIM 1
19030 _ACEOF
19034 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19035 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19039 _ACEOF
19043 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19044 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_STAT_ST_ATIM 1
19048 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19053 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19062 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19066 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19071 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19080 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19089 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19093 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19098 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19102 _ACEOF
19108 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
19109 #include <sys/types.h>
19110 #endif
19111 #ifdef HAVE_NETINET_IN_H
19112 #include <netinet/in.h>
19113 #endif
19115 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19119 _ACEOF
19125 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19126 #include <sys/types.h>
19127 #endif
19128 #ifdef HAVE_NETINET_IN_H
19129 #include <netinet/in.h>
19130 #endif
19131 #ifdef HAVE_RESOLV_H
19132 #include <resolv.h>
19133 #endif
19135 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT___RES_STATE 1
19139 _ACEOF
19145 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
19146 #include <resolv.h>
19147 #endif
19149 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19153 _ACEOF
19159 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19160 #include <sys/types.h>
19161 #endif
19162 #ifdef HAVE_NETINET_IN_H
19163 # include <netinet/in.h>
19164 #endif
19165 #ifdef HAVE_ARPA_NAMESER_H
19166 # include <arpa/nameser.h>
19167 #endif
19169 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_NS_MSG__MSG_PTR 1
19173 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19180 #include <sys/types.h>
19181 #endif
19182 #ifdef HAVE_NETINET_IN_H
19183 #include <netinet/in.h>
19184 #endif
19185 #ifdef HAVE_NETINET_IP_H
19186 #include <netinet/ip.h>
19187 #endif
19188 #ifdef HAVE_NETINET_IP_ICMP_H
19189 #include <netinet/ip_icmp.h>
19190 #endif
19191 #ifdef HAVE_NETINET_ICMP_VAR_H
19192 #include <netinet/icmp_var.h>
19193 #endif
19195 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19199 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19206 #include <sys/types.h>
19207 #endif
19208 #ifdef HAVE_ALIAS_H
19209 #include <alias.h>
19210 #endif
19211 #ifdef HAVE_SYS_SOCKET_H
19212 #include <sys/socket.h>
19213 #endif
19214 #ifdef HAVE_SYS_SOCKETVAR_H
19215 #include <sys/socketvar.h>
19216 #endif
19217 #ifdef HAVE_SYS_TIMEOUT_H
19218 #include <sys/timeout.h>
19219 #endif
19220 #ifdef HAVE_NETINET_IN_H
19221 #include <netinet/in.h>
19222 #endif
19223 #ifdef HAVE_NETINET_IN_SYSTM_H
19224 #include <netinet/in_systm.h>
19225 #endif
19226 #ifdef HAVE_NETINET_IP_H
19227 #include <netinet/ip.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IP_VAR_H
19230 #include <netinet/ip_var.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IP_ICMP_H
19233 #include <netinet/ip_icmp.h>
19234 #endif
19235 #ifdef HAVE_NETINET_ICMP_VAR_H
19236 #include <netinet/icmp_var.h>
19237 #endif
19239 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19241 cat >>confdefs.h <<_ACEOF
19242 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19243 _ACEOF
19249 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19250 #include <sys/types.h>
19251 #endif
19252 #ifdef HAVE_SYS_SOCKETVAR_H
19253 #include <sys/socketvar.h>
19254 #endif
19255 #ifdef HAVE_NETINET_IN_H
19256 #include <netinet/in.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IP_VAR_H
19259 #include <netinet/ip_var.h>
19260 #endif
19262 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19266 _ACEOF
19272 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
19273 #include <netinet/ip_var.h>
19274 #endif
19276 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19280 _ACEOF
19286 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19287 #include <sys/types.h>
19288 #endif
19289 #ifdef HAVE_SYS_SOCKETVAR_H
19290 #include <sys/socketvar.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IN_H
19293 #include <netinet/in.h>
19294 #endif
19295 #ifdef HAVE_NETINET_TCP_H
19296 #include <netinet/tcp.h>
19297 #endif
19298 #ifdef HAVE_NETINET_TCP_VAR_H
19299 #include <netinet/tcp_var.h>
19300 #endif
19302 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19306 _ACEOF
19312 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
19313 #include <netinet/tcp_var.h>
19314 #endif
19316 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19320 _ACEOF
19326 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19327 #include <sys/types.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_H
19330 #include <netinet/in.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IP_VAR_H
19333 #include <netinet/ip_var.h>
19334 #endif
19335 #ifdef HAVE_NETINET_UDP_H
19336 #include <netinet/udp.h>
19337 #endif
19338 #ifdef HAVE_NETINET_UDP_VAR_H
19339 #include <netinet/udp_var.h>
19340 #endif
19342 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19346 _ACEOF
19352 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19353 #include <sys/types.h>
19354 #endif
19355 #ifdef HAVE_NET_IF_H
19356 # include <net/if.h>
19357 #endif
19359 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19363 _ACEOF
19369 ac_save_LIBS="$LIBS"
19370 LIBS="$LIBS -lm"
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19372 $as_echo_n "checking for isfinite... " >&6; }
19373 if ${ac_cv_have_isfinite+:} false; then :
19374 $as_echo_n "(cached) " >&6
19375 else
19376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19377 /* end confdefs.h. */
19378 #define _GNU_SOURCE
19379 #include <math.h>
19381 main ()
19383 float f = 0.0; return isfinite(f)
19385 return 0;
19387 _ACEOF
19388 if ac_fn_c_try_link "$LINENO"; then :
19389 ac_cv_have_isfinite="yes"
19390 else
19391 ac_cv_have_isfinite="no"
19393 rm -f core conftest.err conftest.$ac_objext \
19394 conftest$ac_exeext conftest.$ac_ext
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19397 $as_echo "$ac_cv_have_isfinite" >&6; }
19398 if test "$ac_cv_have_isfinite" = "yes"
19399 then
19401 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19406 $as_echo_n "checking for isinf... " >&6; }
19407 if ${ac_cv_have_isinf+:} false; then :
19408 $as_echo_n "(cached) " >&6
19409 else
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <math.h>
19414 main ()
19416 float f = 0.0; return isinf(f)
19418 return 0;
19420 _ACEOF
19421 if ac_fn_c_try_link "$LINENO"; then :
19422 ac_cv_have_isinf="yes"
19423 else
19424 ac_cv_have_isinf="no"
19426 rm -f core conftest.err conftest.$ac_objext \
19427 conftest$ac_exeext conftest.$ac_ext
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19430 $as_echo "$ac_cv_have_isinf" >&6; }
19431 if test "$ac_cv_have_isinf" = "yes"
19432 then
19434 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19439 $as_echo_n "checking for isnan... " >&6; }
19440 if ${ac_cv_have_isnan+:} false; then :
19441 $as_echo_n "(cached) " >&6
19442 else
19443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19445 #include <math.h>
19447 main ()
19449 float f = 0.0; return isnan(f)
19451 return 0;
19453 _ACEOF
19454 if ac_fn_c_try_link "$LINENO"; then :
19455 ac_cv_have_isnan="yes"
19456 else
19457 ac_cv_have_isnan="no"
19459 rm -f core conftest.err conftest.$ac_objext \
19460 conftest$ac_exeext conftest.$ac_ext
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19463 $as_echo "$ac_cv_have_isnan" >&6; }
19464 if test "$ac_cv_have_isnan" = "yes"
19465 then
19467 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19471 for ac_func in \
19472 acosh \
19473 acoshf \
19474 asinh \
19475 asinhf \
19476 atanh \
19477 atanhf \
19478 cbrt \
19479 cbrtf \
19480 erf \
19481 erfc \
19482 erfcf \
19483 erff \
19484 exp2 \
19485 exp2f \
19486 expm1 \
19487 expm1f \
19488 fma \
19489 fmaf \
19490 ilogb \
19491 ilogbf \
19492 j0 \
19493 j1 \
19494 jn \
19495 lgamma \
19496 lgammaf \
19497 llrint \
19498 llrintf \
19499 llround \
19500 llroundf \
19501 log1p \
19502 log1pf \
19503 log2 \
19504 log2f \
19505 lrint \
19506 lrintf \
19507 lround \
19508 lroundf \
19509 nearbyint \
19510 nearbyintf \
19511 nexttoward \
19512 nexttowardf \
19513 powl \
19514 remainder \
19515 remainderf \
19516 remquo \
19517 remquof \
19518 rint \
19519 rintf \
19520 round \
19521 roundf \
19522 tgamma \
19523 tgammaf \
19524 trunc \
19525 truncf \
19526 y0 \
19527 y1 \
19530 do :
19531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19533 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19534 cat >>confdefs.h <<_ACEOF
19535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19536 _ACEOF
19539 done
19541 LIBS="$ac_save_LIBS"
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19544 $as_echo_n "checking for __builtin_popcount... " >&6; }
19545 if ${ac_cv_have___builtin_popcount+:} false; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19552 main ()
19554 return __builtin_popcount(1)
19556 return 0;
19558 _ACEOF
19559 if ac_fn_c_try_link "$LINENO"; then :
19560 ac_cv_have___builtin_popcount="yes"
19561 else
19562 ac_cv_have___builtin_popcount="no"
19564 rm -f core conftest.err conftest.$ac_objext \
19565 conftest$ac_exeext conftest.$ac_ext
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19568 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19569 if test "$ac_cv_have___builtin_popcount" = "yes"
19570 then
19572 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19577 $as_echo_n "checking for __clear_cache... " >&6; }
19578 if ${ac_cv_have___clear_cache+:} false; then :
19579 $as_echo_n "(cached) " >&6
19580 else
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19585 main ()
19587 __clear_cache((void*)0, (void*)0); return 0;
19589 return 0;
19591 _ACEOF
19592 if ac_fn_c_try_link "$LINENO"; then :
19593 ac_cv_have___clear_cache="yes"
19594 else
19595 ac_cv_have___clear_cache="no"
19597 rm -f core conftest.err conftest.$ac_objext \
19598 conftest$ac_exeext conftest.$ac_ext
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19601 $as_echo "$ac_cv_have___clear_cache" >&6; }
19602 if test "$ac_cv_have___clear_cache" = "yes"
19603 then
19605 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19610 case $host_cpu in
19611 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19612 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19613 if ${ac_cv_cpp_def___i386__+:} false; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19618 #ifndef __i386__
19620 #endif
19621 _ACEOF
19622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19623 $EGREP "yes" >/dev/null 2>&1; then :
19624 ac_cv_cpp_def___i386__=yes
19625 else
19626 ac_cv_cpp_def___i386__=no
19628 rm -f conftest*
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19632 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19633 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19634 CFLAGS="$CFLAGS -D__i386__"
19635 LINTFLAGS="$LINTFLAGS -D__i386__"
19636 fi ;;
19637 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19638 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19639 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19640 $as_echo_n "(cached) " >&6
19641 else
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 #ifndef __x86_64__
19646 #endif
19647 _ACEOF
19648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19649 $EGREP "yes" >/dev/null 2>&1; then :
19650 ac_cv_cpp_def___x86_64__=yes
19651 else
19652 ac_cv_cpp_def___x86_64__=no
19654 rm -f conftest*
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19658 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19659 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19660 CFLAGS="$CFLAGS -D__x86_64__"
19661 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19662 fi ;;
19663 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19664 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19665 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #ifndef __sparc64__
19672 #endif
19673 _ACEOF
19674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19675 $EGREP "yes" >/dev/null 2>&1; then :
19676 ac_cv_cpp_def___sparc64__=yes
19677 else
19678 ac_cv_cpp_def___sparc64__=no
19680 rm -f conftest*
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19684 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19685 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19686 CFLAGS="$CFLAGS -D__sparc64__"
19687 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19688 fi ;;
19689 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19690 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19691 if ${ac_cv_cpp_def___sparc__+:} false; then :
19692 $as_echo_n "(cached) " >&6
19693 else
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19696 #ifndef __sparc__
19698 #endif
19699 _ACEOF
19700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19701 $EGREP "yes" >/dev/null 2>&1; then :
19702 ac_cv_cpp_def___sparc__=yes
19703 else
19704 ac_cv_cpp_def___sparc__=no
19706 rm -f conftest*
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19710 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19711 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19712 CFLAGS="$CFLAGS -D__sparc__"
19713 LINTFLAGS="$LINTFLAGS -D__sparc__"
19714 fi ;;
19715 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19716 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19717 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #ifndef __powerpc64__
19724 #endif
19725 _ACEOF
19726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19727 $EGREP "yes" >/dev/null 2>&1; then :
19728 ac_cv_cpp_def___powerpc64__=yes
19729 else
19730 ac_cv_cpp_def___powerpc64__=no
19732 rm -f conftest*
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19736 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19737 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19738 CFLAGS="$CFLAGS -D__powerpc64__"
19739 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19740 fi ;;
19741 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19742 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19743 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19744 $as_echo_n "(cached) " >&6
19745 else
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19748 #ifndef __powerpc__
19750 #endif
19751 _ACEOF
19752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19753 $EGREP "yes" >/dev/null 2>&1; then :
19754 ac_cv_cpp_def___powerpc__=yes
19755 else
19756 ac_cv_cpp_def___powerpc__=no
19758 rm -f conftest*
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19762 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19763 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19764 CFLAGS="$CFLAGS -D__powerpc__"
19765 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19766 fi ;;
19767 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19768 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19769 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19774 #ifndef __aarch64__
19776 #endif
19777 _ACEOF
19778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19779 $EGREP "yes" >/dev/null 2>&1; then :
19780 ac_cv_cpp_def___aarch64__=yes
19781 else
19782 ac_cv_cpp_def___aarch64__=no
19784 rm -f conftest*
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19788 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19789 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19790 CFLAGS="$CFLAGS -D__aarch64__"
19791 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19792 fi ;;
19793 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19794 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19795 if ${ac_cv_cpp_def___arm__+:} false; then :
19796 $as_echo_n "(cached) " >&6
19797 else
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800 #ifndef __arm__
19802 #endif
19803 _ACEOF
19804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19805 $EGREP "yes" >/dev/null 2>&1; then :
19806 ac_cv_cpp_def___arm__=yes
19807 else
19808 ac_cv_cpp_def___arm__=no
19810 rm -f conftest*
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19814 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19815 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19816 CFLAGS="$CFLAGS -D__arm__"
19817 LINTFLAGS="$LINTFLAGS -D__arm__"
19818 fi ;;
19819 esac
19821 case $host_vendor in
19822 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19823 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19824 if ${ac_cv_cpp_def___sun__+:} false; then :
19825 $as_echo_n "(cached) " >&6
19826 else
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h. */
19829 #ifndef __sun__
19831 #endif
19832 _ACEOF
19833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19834 $EGREP "yes" >/dev/null 2>&1; then :
19835 ac_cv_cpp_def___sun__=yes
19836 else
19837 ac_cv_cpp_def___sun__=no
19839 rm -f conftest*
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19843 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19844 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19845 CFLAGS="$CFLAGS -D__sun__"
19846 LINTFLAGS="$LINTFLAGS -D__sun__"
19847 fi ;;
19848 esac
19854 ac_config_commands="$ac_config_commands include/stamp-h"
19856 $as_echo_n "creating Makefile rules..." >&6
19858 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19859 OPENGL_LIBS = $OPENGL_LIBS
19860 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19861 IOKIT_LIBS = $IOKIT_LIBS
19862 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19863 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19864 CORESERVICES_LIBS = $CORESERVICES_LIBS
19865 APPKIT_LIBS = $APPKIT_LIBS
19866 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19867 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19868 SECURITY_LIBS = $SECURITY_LIBS
19869 COREAUDIO_LIBS = $COREAUDIO_LIBS
19870 OPENAL_LIBS = $OPENAL_LIBS
19871 OPENCL_LIBS = $OPENCL_LIBS
19872 QUICKTIME_LIBS = $QUICKTIME_LIBS
19873 CARBON_LIBS = $CARBON_LIBS
19874 METAL_LIBS = $METAL_LIBS
19875 PTHREAD_LIBS = $PTHREAD_LIBS
19876 X_CFLAGS = $X_CFLAGS
19877 X_PRE_LIBS = $X_PRE_LIBS
19878 X_LIBS = $X_LIBS
19879 X_EXTRA_LIBS = $X_EXTRA_LIBS
19880 PCAP_LIBS = $PCAP_LIBS
19881 XML2_CFLAGS = $XML2_CFLAGS
19882 XML2_LIBS = $XML2_LIBS
19883 XSLT_CFLAGS = $XSLT_CFLAGS
19884 XSLT_LIBS = $XSLT_LIBS
19885 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19886 INOTIFY_LIBS = $INOTIFY_LIBS
19887 DBUS_CFLAGS = $DBUS_CFLAGS
19888 DBUS_LIBS = $DBUS_LIBS
19889 HAL_CFLAGS = $HAL_CFLAGS
19890 HAL_LIBS = $HAL_LIBS
19891 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19892 GNUTLS_LIBS = $GNUTLS_LIBS
19893 SANE_CFLAGS = $SANE_CFLAGS
19894 SANE_LIBS = $SANE_LIBS
19895 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19896 GPHOTO2_LIBS = $GPHOTO2_LIBS
19897 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19898 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19899 RESOLV_LIBS = $RESOLV_LIBS
19900 LCMS2_CFLAGS = $LCMS2_CFLAGS
19901 LCMS2_LIBS = $LCMS2_LIBS
19902 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19903 FREETYPE_LIBS = $FREETYPE_LIBS
19904 Z_CFLAGS = $Z_CFLAGS
19905 Z_LIBS = $Z_LIBS
19906 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19907 PULSE_CFLAGS = $PULSE_CFLAGS
19908 PULSE_LIBS = $PULSE_LIBS
19909 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19910 GSTREAMER_LIBS = $GSTREAMER_LIBS
19911 ALSA_LIBS = $ALSA_LIBS
19912 OSS4_CFLAGS = $OSS4_CFLAGS
19913 OSS4_LIBS = $OSS4_LIBS
19914 UDEV_CFLAGS = $UDEV_CFLAGS
19915 UDEV_LIBS = $UDEV_LIBS
19916 UNWIND_CFLAGS = $UNWIND_CFLAGS
19917 UNWIND_LIBS = $UNWIND_LIBS
19918 SDL2_CFLAGS = $SDL2_CFLAGS
19919 SDL2_LIBS = $SDL2_LIBS
19920 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19921 FAUDIO_LIBS = $FAUDIO_LIBS
19922 CAPI20_CFLAGS = $CAPI20_CFLAGS
19923 CAPI20_LIBS = $CAPI20_LIBS
19924 CUPS_CFLAGS = $CUPS_CFLAGS
19925 CUPS_LIBS = $CUPS_LIBS
19926 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19927 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19928 KRB5_CFLAGS = $KRB5_CFLAGS
19929 KRB5_LIBS = $KRB5_LIBS
19930 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19931 GSSAPI_LIBS = $GSSAPI_LIBS
19932 JPEG_CFLAGS = $JPEG_CFLAGS
19933 JPEG_LIBS = $JPEG_LIBS
19934 PNG_CFLAGS = $PNG_CFLAGS
19935 PNG_LIBS = $PNG_LIBS
19936 TIFF_CFLAGS = $TIFF_CFLAGS
19937 TIFF_LIBS = $TIFF_LIBS
19938 MPG123_CFLAGS = $MPG123_CFLAGS
19939 MPG123_LIBS = $MPG123_LIBS
19940 KSTAT_LIBS = $KSTAT_LIBS
19941 PROCSTAT_LIBS = $PROCSTAT_LIBS
19942 NETAPI_CFLAGS = $NETAPI_CFLAGS
19943 NETAPI_LIBS = $NETAPI_LIBS
19944 VKD3D_CFLAGS = $VKD3D_CFLAGS
19945 VKD3D_LIBS = $VKD3D_LIBS
19946 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19947 DL_LIBS = $DL_LIBS
19948 POLL_LIBS = $POLL_LIBS
19949 RT_LIBS = $RT_LIBS
19950 LDAP_CFLAGS = $LDAP_CFLAGS
19951 LDAP_LIBS = $LDAP_LIBS
19956 wine_fn_append_rule "
19957 # Rules automatically generated by configure
19959 .INIT: Makefile
19960 .MAKEFILEDEPS:
19961 all: Makefile
19962 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19963 @./config.status Make.tmp Makefile
19964 depend: \$(MAKEDEP) dummy
19965 \$(MAKEDEP)"
19967 ac_config_links="$ac_config_links wine:tools/winewrapper"
19968 wine_fn_config_symlink wine
19969 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19970 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19971 wine_fn_config_symlink wine64
19974 wine_fn_config_makefile dlls/acledit enable_acledit
19975 wine_fn_config_makefile dlls/aclui enable_aclui
19976 wine_fn_config_makefile dlls/activeds enable_activeds
19977 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19978 wine_fn_config_makefile dlls/adsiid enable_adsiid
19979 wine_fn_config_makefile dlls/adsldp enable_adsldp
19980 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19981 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19982 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19983 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19984 wine_fn_config_makefile dlls/advpack enable_advpack
19985 wine_fn_config_makefile dlls/advpack/tests enable_tests
19986 wine_fn_config_makefile dlls/amsi enable_amsi
19987 wine_fn_config_makefile dlls/amstream enable_amstream
19988 wine_fn_config_makefile dlls/amstream/tests enable_tests
19989 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19991 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19992 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19999 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20007 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20009 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20011 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20013 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20014 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20015 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20021 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20024 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20033 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20037 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20043 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20044 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20056 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20068 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20069 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20175 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20179 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20196 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20198 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20204 wine_fn_config_makefile dlls/apphelp enable_apphelp
20205 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20206 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20207 wine_fn_config_makefile dlls/atl enable_atl
20208 wine_fn_config_makefile dlls/atl/tests enable_tests
20209 wine_fn_config_makefile dlls/atl100 enable_atl100
20210 wine_fn_config_makefile dlls/atl100/tests enable_tests
20211 wine_fn_config_makefile dlls/atl110 enable_atl110
20212 wine_fn_config_makefile dlls/atl80 enable_atl80
20213 wine_fn_config_makefile dlls/atl80/tests enable_tests
20214 wine_fn_config_makefile dlls/atl90 enable_atl90
20215 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20216 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20217 wine_fn_config_makefile dlls/atmlib enable_atmlib
20218 wine_fn_config_makefile dlls/authz enable_authz
20219 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20220 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20221 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20222 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20223 wine_fn_config_makefile dlls/avrt enable_avrt
20224 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20225 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20226 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20227 wine_fn_config_makefile dlls/browseui enable_browseui
20228 wine_fn_config_makefile dlls/browseui/tests enable_tests
20229 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20230 wine_fn_config_makefile dlls/cabinet enable_cabinet
20231 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20232 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20233 wine_fn_config_makefile dlls/cards enable_cards
20234 wine_fn_config_makefile dlls/cdosys enable_cdosys
20235 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20236 wine_fn_config_makefile dlls/clusapi enable_clusapi
20237 wine_fn_config_makefile dlls/combase enable_combase
20238 wine_fn_config_makefile dlls/combase/tests enable_tests
20239 wine_fn_config_makefile dlls/comcat enable_comcat
20240 wine_fn_config_makefile dlls/comcat/tests enable_tests
20241 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20242 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20243 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20244 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20245 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20246 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20247 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20248 wine_fn_config_makefile dlls/compstui enable_compstui
20249 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20250 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20251 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20252 wine_fn_config_makefile dlls/connect enable_connect
20253 wine_fn_config_makefile dlls/credui enable_credui
20254 wine_fn_config_makefile dlls/credui/tests enable_tests
20255 wine_fn_config_makefile dlls/crtdll enable_crtdll
20256 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20257 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20258 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20259 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20260 wine_fn_config_makefile dlls/cryptext enable_cryptext
20261 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20262 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20263 wine_fn_config_makefile dlls/cryptui enable_cryptui
20264 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20265 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20266 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20267 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20268 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20269 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20270 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20271 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20272 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20273 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20274 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20275 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20276 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20277 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20278 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20279 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20280 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20281 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20282 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20283 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20284 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20285 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20286 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20287 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20288 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20289 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20290 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20291 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20292 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20293 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20294 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20295 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20296 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20297 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20298 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20299 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20300 wine_fn_config_makefile dlls/d3dim enable_d3dim
20301 wine_fn_config_makefile dlls/d3drm enable_d3drm
20302 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20303 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20304 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20305 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20306 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20307 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20308 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20309 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20310 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20311 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20312 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20313 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20314 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20315 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20316 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20317 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20318 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20319 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20320 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20321 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20322 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20323 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20324 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20325 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20326 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20327 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20328 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20329 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20330 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20331 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20332 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20333 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20334 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20335 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20336 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20337 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20338 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20339 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20340 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20341 wine_fn_config_makefile dlls/davclnt enable_davclnt
20342 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20343 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20344 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20345 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20346 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20347 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20348 wine_fn_config_makefile dlls/ddraw enable_ddraw
20349 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20350 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20351 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20352 wine_fn_config_makefile dlls/devenum enable_devenum
20353 wine_fn_config_makefile dlls/devenum/tests enable_tests
20354 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20355 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20356 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20357 wine_fn_config_makefile dlls/difxapi enable_difxapi
20358 wine_fn_config_makefile dlls/dinput enable_dinput
20359 wine_fn_config_makefile dlls/dinput/tests enable_tests
20360 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20361 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20362 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20363 wine_fn_config_makefile dlls/dispex enable_dispex
20364 wine_fn_config_makefile dlls/dispex/tests enable_tests
20365 wine_fn_config_makefile dlls/display.drv16 enable_win16
20366 wine_fn_config_makefile dlls/dmband enable_dmband
20367 wine_fn_config_makefile dlls/dmband/tests enable_tests
20368 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20369 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20370 wine_fn_config_makefile dlls/dmime enable_dmime
20371 wine_fn_config_makefile dlls/dmime/tests enable_tests
20372 wine_fn_config_makefile dlls/dmloader enable_dmloader
20373 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20374 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20375 wine_fn_config_makefile dlls/dmscript enable_dmscript
20376 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20377 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20378 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20379 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20380 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20381 wine_fn_config_makefile dlls/dmusic enable_dmusic
20382 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20383 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20384 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20385 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20386 wine_fn_config_makefile dlls/dplay enable_dplay
20387 wine_fn_config_makefile dlls/dplayx enable_dplayx
20388 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20389 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20390 wine_fn_config_makefile dlls/dpnet enable_dpnet
20391 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20392 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20393 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20394 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20395 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20396 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20397 wine_fn_config_makefile dlls/drmclien enable_drmclien
20398 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20399 wine_fn_config_makefile dlls/dsound enable_dsound
20400 wine_fn_config_makefile dlls/dsound/tests enable_tests
20401 wine_fn_config_makefile dlls/dsquery enable_dsquery
20402 wine_fn_config_makefile dlls/dssenh enable_dssenh
20403 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20404 wine_fn_config_makefile dlls/dswave enable_dswave
20405 wine_fn_config_makefile dlls/dswave/tests enable_tests
20406 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20407 wine_fn_config_makefile dlls/dwrite enable_dwrite
20408 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20409 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20410 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20411 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20412 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20413 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20414 wine_fn_config_makefile dlls/dxgi enable_dxgi
20415 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20416 wine_fn_config_makefile dlls/dxguid enable_dxguid
20417 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20418 wine_fn_config_makefile dlls/esent enable_esent
20419 wine_fn_config_makefile dlls/evr enable_evr
20420 wine_fn_config_makefile dlls/evr/tests enable_tests
20421 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20422 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20423 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20428 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20429 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20432 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20457 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20463 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
20464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20474 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20475 wine_fn_config_makefile dlls/faultrep enable_faultrep
20476 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20477 wine_fn_config_makefile dlls/feclient enable_feclient
20478 wine_fn_config_makefile dlls/fltlib enable_fltlib
20479 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20480 wine_fn_config_makefile dlls/fntcache enable_fntcache
20481 wine_fn_config_makefile dlls/fontsub enable_fontsub
20482 wine_fn_config_makefile dlls/fusion enable_fusion
20483 wine_fn_config_makefile dlls/fusion/tests enable_tests
20484 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20485 wine_fn_config_makefile dlls/gameux enable_gameux
20486 wine_fn_config_makefile dlls/gameux/tests enable_tests
20487 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20488 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20489 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20490 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20491 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20492 wine_fn_config_makefile dlls/glu32 enable_glu32
20493 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20494 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20495 wine_fn_config_makefile dlls/hal enable_hal
20496 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20497 wine_fn_config_makefile dlls/hid enable_hid
20498 wine_fn_config_makefile dlls/hid/tests enable_tests
20499 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20500 wine_fn_config_makefile dlls/hlink enable_hlink
20501 wine_fn_config_makefile dlls/hlink/tests enable_tests
20502 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20503 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20504 wine_fn_config_makefile dlls/http.sys enable_http_sys
20505 wine_fn_config_makefile dlls/httpapi enable_httpapi
20506 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20507 wine_fn_config_makefile dlls/iccvid enable_iccvid
20508 wine_fn_config_makefile dlls/icmp enable_icmp
20509 wine_fn_config_makefile dlls/ieframe enable_ieframe
20510 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20511 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20512 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20513 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20514 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20515 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20516 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20517 wine_fn_config_makefile dlls/imm32 enable_imm32
20518 wine_fn_config_makefile dlls/imm32/tests enable_tests
20519 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20520 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20521 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20522 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20523 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20524 wine_fn_config_makefile dlls/infosoft enable_infosoft
20525 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20526 wine_fn_config_makefile dlls/initpki enable_initpki
20527 wine_fn_config_makefile dlls/inkobj enable_inkobj
20528 wine_fn_config_makefile dlls/inseng enable_inseng
20529 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20530 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20531 wine_fn_config_makefile dlls/iprop enable_iprop
20532 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20533 wine_fn_config_makefile dlls/itircl enable_itircl
20534 wine_fn_config_makefile dlls/itss enable_itss
20535 wine_fn_config_makefile dlls/itss/tests enable_tests
20536 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20537 wine_fn_config_makefile dlls/jscript enable_jscript
20538 wine_fn_config_makefile dlls/jscript/tests enable_tests
20539 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20540 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20541 wine_fn_config_makefile dlls/kerberos enable_kerberos
20542 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20543 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20544 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20545 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20546 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20547 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20548 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20549 wine_fn_config_makefile dlls/ksuser enable_ksuser
20550 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20551 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20552 wine_fn_config_makefile dlls/loadperf enable_loadperf
20553 wine_fn_config_makefile dlls/localspl enable_localspl
20554 wine_fn_config_makefile dlls/localspl/tests enable_tests
20555 wine_fn_config_makefile dlls/localui enable_localui
20556 wine_fn_config_makefile dlls/localui/tests enable_tests
20557 wine_fn_config_makefile dlls/lz32 enable_lz32
20558 wine_fn_config_makefile dlls/lz32/tests enable_tests
20559 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20560 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20561 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20562 wine_fn_config_makefile dlls/mapistub enable_mapistub
20563 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20564 wine_fn_config_makefile dlls/mcicda enable_mcicda
20565 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20566 wine_fn_config_makefile dlls/mciseq enable_mciseq
20567 wine_fn_config_makefile dlls/mciwave enable_mciwave
20568 wine_fn_config_makefile dlls/mf enable_mf
20569 wine_fn_config_makefile dlls/mf/tests enable_tests
20570 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20571 wine_fn_config_makefile dlls/mferror enable_mferror
20572 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20573 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20574 wine_fn_config_makefile dlls/mfplat enable_mfplat
20575 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20576 wine_fn_config_makefile dlls/mfplay enable_mfplay
20577 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20578 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20579 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20580 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20581 wine_fn_config_makefile dlls/midimap enable_midimap
20582 wine_fn_config_makefile dlls/mlang enable_mlang
20583 wine_fn_config_makefile dlls/mlang/tests enable_tests
20584 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20585 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20586 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20587 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20588 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20589 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20590 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20591 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20592 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20593 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20594 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20595 wine_fn_config_makefile dlls/mpr enable_mpr
20596 wine_fn_config_makefile dlls/mpr/tests enable_tests
20597 wine_fn_config_makefile dlls/mprapi enable_mprapi
20598 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20599 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20600 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20601 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20602 wine_fn_config_makefile dlls/msado15 enable_msado15
20603 wine_fn_config_makefile dlls/msado15/tests enable_tests
20604 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20605 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20606 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20607 wine_fn_config_makefile dlls/mscms enable_mscms
20608 wine_fn_config_makefile dlls/mscms/tests enable_tests
20609 wine_fn_config_makefile dlls/mscoree enable_mscoree
20610 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20611 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20612 wine_fn_config_makefile dlls/msctf enable_msctf
20613 wine_fn_config_makefile dlls/msctf/tests enable_tests
20614 wine_fn_config_makefile dlls/msctfp enable_msctfp
20615 wine_fn_config_makefile dlls/msdaps enable_msdaps
20616 wine_fn_config_makefile dlls/msdelta enable_msdelta
20617 wine_fn_config_makefile dlls/msdmo enable_msdmo
20618 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20619 wine_fn_config_makefile dlls/msdrm enable_msdrm
20620 wine_fn_config_makefile dlls/msftedit enable_msftedit
20621 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20622 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20623 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20624 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20625 wine_fn_config_makefile dlls/mshtml enable_mshtml
20626 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20627 wine_fn_config_makefile dlls/msi enable_msi
20628 wine_fn_config_makefile dlls/msi/tests enable_tests
20629 wine_fn_config_makefile dlls/msident enable_msident
20630 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20631 wine_fn_config_makefile dlls/msimsg enable_msimsg
20632 wine_fn_config_makefile dlls/msimtf enable_msimtf
20633 wine_fn_config_makefile dlls/msisip enable_msisip
20634 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20635 wine_fn_config_makefile dlls/msls31 enable_msls31
20636 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20637 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20638 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20639 wine_fn_config_makefile dlls/msports enable_msports
20640 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20641 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20642 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20643 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20644 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20645 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20646 wine_fn_config_makefile dlls/mstask enable_mstask
20647 wine_fn_config_makefile dlls/mstask/tests enable_tests
20648 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20649 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20650 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20651 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20652 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20653 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20654 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20655 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20656 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20657 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20659 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20660 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20661 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20662 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20663 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20664 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20665 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20666 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20667 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20668 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20669 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20670 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20671 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20672 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20673 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20674 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20675 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20676 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20677 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20678 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20679 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20680 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20681 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20682 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20683 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20684 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20685 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20686 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20687 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20688 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20689 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20690 wine_fn_config_makefile dlls/mswsock enable_mswsock
20691 wine_fn_config_makefile dlls/msxml enable_msxml
20692 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20693 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20694 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20695 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20696 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20697 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20698 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20699 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20700 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20701 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20702 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20703 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20704 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20705 wine_fn_config_makefile dlls/netprofm enable_netprofm
20706 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20707 wine_fn_config_makefile dlls/newdev enable_newdev
20708 wine_fn_config_makefile dlls/ninput enable_ninput
20709 wine_fn_config_makefile dlls/ninput/tests enable_tests
20710 wine_fn_config_makefile dlls/normaliz enable_normaliz
20711 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20712 wine_fn_config_makefile dlls/npptools enable_npptools
20713 wine_fn_config_makefile dlls/ntdll enable_ntdll
20714 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20715 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20716 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20717 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20718 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20719 wine_fn_config_makefile dlls/ntprint enable_ntprint
20720 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20721 wine_fn_config_makefile dlls/objsel enable_objsel
20722 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20723 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20724 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20725 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20726 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20727 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20728 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20729 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20730 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20731 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20732 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20733 wine_fn_config_makefile dlls/ole32 enable_ole32
20734 wine_fn_config_makefile dlls/ole32/tests enable_tests
20735 wine_fn_config_makefile dlls/oleacc enable_oleacc
20736 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20737 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20738 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20739 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20740 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20741 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20742 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20743 wine_fn_config_makefile dlls/oledlg enable_oledlg
20744 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20745 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20746 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20747 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20748 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20749 wine_fn_config_makefile dlls/opcservices enable_opcservices
20750 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20751 wine_fn_config_makefile dlls/openal32 enable_openal32
20752 wine_fn_config_makefile dlls/opencl enable_opencl
20753 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20754 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20755 wine_fn_config_makefile dlls/packager enable_packager
20756 wine_fn_config_makefile dlls/packager/tests enable_tests
20757 wine_fn_config_makefile dlls/pdh enable_pdh
20758 wine_fn_config_makefile dlls/pdh/tests enable_tests
20759 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20760 wine_fn_config_makefile dlls/pidgen enable_pidgen
20761 wine_fn_config_makefile dlls/powrprof enable_powrprof
20762 wine_fn_config_makefile dlls/printui enable_printui
20763 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20764 wine_fn_config_makefile dlls/propsys enable_propsys
20765 wine_fn_config_makefile dlls/propsys/tests enable_tests
20766 wine_fn_config_makefile dlls/psapi enable_psapi
20767 wine_fn_config_makefile dlls/psapi/tests enable_tests
20768 wine_fn_config_makefile dlls/pstorec enable_pstorec
20769 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20770 wine_fn_config_makefile dlls/qcap enable_qcap
20771 wine_fn_config_makefile dlls/qcap/tests enable_tests
20772 wine_fn_config_makefile dlls/qedit enable_qedit
20773 wine_fn_config_makefile dlls/qedit/tests enable_tests
20774 wine_fn_config_makefile dlls/qmgr enable_qmgr
20775 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20776 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20777 wine_fn_config_makefile dlls/quartz enable_quartz
20778 wine_fn_config_makefile dlls/quartz/tests enable_tests
20779 wine_fn_config_makefile dlls/query enable_query
20780 wine_fn_config_makefile dlls/qwave enable_qwave
20781 wine_fn_config_makefile dlls/qwave/tests enable_tests
20782 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20783 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20784 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20785 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20786 wine_fn_config_makefile dlls/regapi enable_regapi
20787 wine_fn_config_makefile dlls/resutils enable_resutils
20788 wine_fn_config_makefile dlls/riched20 enable_riched20
20789 wine_fn_config_makefile dlls/riched20/tests enable_tests
20790 wine_fn_config_makefile dlls/riched32 enable_riched32
20791 wine_fn_config_makefile dlls/riched32/tests enable_tests
20792 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20793 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20794 wine_fn_config_makefile dlls/rsabase enable_rsabase
20795 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20796 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20797 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20798 wine_fn_config_makefile dlls/rtutils enable_rtutils
20799 wine_fn_config_makefile dlls/samlib enable_samlib
20800 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20801 wine_fn_config_makefile dlls/sapi enable_sapi
20802 wine_fn_config_makefile dlls/sapi/tests enable_tests
20803 wine_fn_config_makefile dlls/sas enable_sas
20804 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20805 wine_fn_config_makefile dlls/sccbase enable_sccbase
20806 wine_fn_config_makefile dlls/schannel enable_schannel
20807 wine_fn_config_makefile dlls/schannel/tests enable_tests
20808 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20809 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20810 wine_fn_config_makefile dlls/scrobj enable_scrobj
20811 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20812 wine_fn_config_makefile dlls/scrrun enable_scrrun
20813 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20814 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20815 wine_fn_config_makefile dlls/secur32 enable_secur32
20816 wine_fn_config_makefile dlls/secur32/tests enable_tests
20817 wine_fn_config_makefile dlls/security enable_security
20818 wine_fn_config_makefile dlls/sensapi enable_sensapi
20819 wine_fn_config_makefile dlls/serialui enable_serialui
20820 wine_fn_config_makefile dlls/serialui/tests enable_tests
20821 wine_fn_config_makefile dlls/setupapi enable_setupapi
20822 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20823 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20824 wine_fn_config_makefile dlls/sfc enable_sfc
20825 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20826 wine_fn_config_makefile dlls/shcore enable_shcore
20827 wine_fn_config_makefile dlls/shcore/tests enable_tests
20828 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20829 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20830 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20831 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20832 wine_fn_config_makefile dlls/shell32 enable_shell32
20833 wine_fn_config_makefile dlls/shell32/tests enable_tests
20834 wine_fn_config_makefile dlls/shfolder enable_shfolder
20835 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20836 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20837 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20838 wine_fn_config_makefile dlls/slc enable_slc
20839 wine_fn_config_makefile dlls/slc/tests enable_tests
20840 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20841 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20842 wine_fn_config_makefile dlls/softpub enable_softpub
20843 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20844 wine_fn_config_makefile dlls/spoolss enable_spoolss
20845 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20846 wine_fn_config_makefile dlls/srclient enable_srclient
20847 wine_fn_config_makefile dlls/sspicli enable_sspicli
20848 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20849 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20850 wine_fn_config_makefile dlls/sti enable_sti
20851 wine_fn_config_makefile dlls/sti/tests enable_tests
20852 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20853 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20854 wine_fn_config_makefile dlls/strmbase enable_strmbase
20855 wine_fn_config_makefile dlls/strmdll enable_strmdll
20856 wine_fn_config_makefile dlls/strmiids enable_strmiids
20857 wine_fn_config_makefile dlls/svrapi enable_svrapi
20858 wine_fn_config_makefile dlls/sxs enable_sxs
20859 wine_fn_config_makefile dlls/sxs/tests enable_tests
20860 wine_fn_config_makefile dlls/system.drv16 enable_win16
20861 wine_fn_config_makefile dlls/t2embed enable_t2embed
20862 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20863 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20864 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20865 wine_fn_config_makefile dlls/taskschd enable_taskschd
20866 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20867 wine_fn_config_makefile dlls/tdh enable_tdh
20868 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20869 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20870 wine_fn_config_makefile dlls/traffic enable_traffic
20871 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20872 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20873 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20874 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20875 wine_fn_config_makefile dlls/tzres enable_tzres
20876 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20877 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20878 wine_fn_config_makefile dlls/uianimation enable_uianimation
20879 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20880 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20881 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20882 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20883 wine_fn_config_makefile dlls/unicows enable_unicows
20884 wine_fn_config_makefile dlls/updspapi enable_updspapi
20885 wine_fn_config_makefile dlls/url enable_url
20886 wine_fn_config_makefile dlls/urlmon enable_urlmon
20887 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20888 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20889 wine_fn_config_makefile dlls/user.exe16 enable_win16
20890 wine_fn_config_makefile dlls/user32 enable_user32
20891 wine_fn_config_makefile dlls/user32/tests enable_tests
20892 wine_fn_config_makefile dlls/userenv enable_userenv
20893 wine_fn_config_makefile dlls/userenv/tests enable_tests
20894 wine_fn_config_makefile dlls/usp10 enable_usp10
20895 wine_fn_config_makefile dlls/usp10/tests enable_tests
20896 wine_fn_config_makefile dlls/utildll enable_utildll
20897 wine_fn_config_makefile dlls/uuid enable_uuid
20898 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20899 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20900 wine_fn_config_makefile dlls/vbscript enable_vbscript
20901 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20902 wine_fn_config_makefile dlls/vcomp enable_vcomp
20903 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20904 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20905 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20906 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20907 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20908 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20909 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20910 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20911 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20912 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20913 wine_fn_config_makefile dlls/version enable_version
20914 wine_fn_config_makefile dlls/version/tests enable_tests
20915 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20916 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20917 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20918 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20919 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20920 wine_fn_config_makefile dlls/vssapi enable_vssapi
20921 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20922 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20923 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20924 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20925 wine_fn_config_makefile dlls/w32skrnl enable_win16
20926 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20927 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20928 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20929 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20930 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20931 wine_fn_config_makefile dlls/wdscore enable_wdscore
20932 wine_fn_config_makefile dlls/webservices enable_webservices
20933 wine_fn_config_makefile dlls/webservices/tests enable_tests
20934 wine_fn_config_makefile dlls/wer enable_wer
20935 wine_fn_config_makefile dlls/wer/tests enable_tests
20936 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20937 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20938 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20939 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20940 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20941 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20942 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20943 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20944 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20945 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20946 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20947 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20948 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20949 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20950 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20951 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20952 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20953 wine_fn_config_makefile dlls/wined3d enable_wined3d
20954 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20955 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20956 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20957 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20958 wine_fn_config_makefile dlls/winemapi enable_winemapi
20959 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20960 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20961 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20962 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20963 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20964 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20965 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20966 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20967 wine_fn_config_makefile dlls/wing32 enable_wing32
20968 wine_fn_config_makefile dlls/winhttp enable_winhttp
20969 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20970 wine_fn_config_makefile dlls/wininet enable_wininet
20971 wine_fn_config_makefile dlls/wininet/tests enable_tests
20972 wine_fn_config_makefile dlls/winmm enable_winmm
20973 wine_fn_config_makefile dlls/winmm/tests enable_tests
20974 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20975 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20976 wine_fn_config_makefile dlls/winscard enable_winscard
20977 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20978 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20979 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20980 wine_fn_config_makefile dlls/winsta enable_winsta
20981 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20982 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20983 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20984 wine_fn_config_makefile dlls/wintrust enable_wintrust
20985 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20986 wine_fn_config_makefile dlls/winusb enable_winusb
20987 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20988 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20989 wine_fn_config_makefile dlls/wlanui enable_wlanui
20990 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20991 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20992 wine_fn_config_makefile dlls/wmasf enable_wmasf
20993 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20994 wine_fn_config_makefile dlls/wmi enable_wmi
20995 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20996 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20997 wine_fn_config_makefile dlls/wmp enable_wmp
20998 wine_fn_config_makefile dlls/wmp/tests enable_tests
20999 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21000 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21001 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21002 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21003 wine_fn_config_makefile dlls/wow32 enable_win16
21004 wine_fn_config_makefile dlls/wpc enable_wpc
21005 wine_fn_config_makefile dlls/wpc/tests enable_tests
21006 wine_fn_config_makefile dlls/wpcap enable_wpcap
21007 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21008 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21009 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21010 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21011 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21012 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21013 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21014 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21015 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21016 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21017 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21018 wine_fn_config_makefile dlls/wuapi enable_wuapi
21019 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21020 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21021 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21022 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21023 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21024 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21025 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21026 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21027 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21028 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21029 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21030 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21031 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21032 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21033 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21034 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21035 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21036 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21037 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21038 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21039 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21040 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21041 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21042 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21043 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21044 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21045 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21046 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21047 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21048 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21049 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21050 wine_fn_config_makefile dlls/xmllite enable_xmllite
21051 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21052 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21053 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21054 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21055 wine_fn_config_makefile fonts enable_fonts
21056 wine_fn_config_makefile include enable_include
21057 wine_fn_config_makefile libs/port enable_port
21058 wine_fn_config_makefile libs/wine enable_wine
21059 wine_fn_config_makefile libs/wpp enable_wpp
21060 wine_fn_config_makefile loader enable_loader
21061 wine_fn_config_makefile po enable_po
21062 wine_fn_config_makefile programs/arp enable_arp
21063 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21064 wine_fn_config_makefile programs/attrib enable_attrib
21065 wine_fn_config_makefile programs/cabarc enable_cabarc
21066 wine_fn_config_makefile programs/cacls enable_cacls
21067 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21068 wine_fn_config_makefile programs/clock enable_clock
21069 wine_fn_config_makefile programs/cmd enable_cmd
21070 wine_fn_config_makefile programs/cmd/tests enable_tests
21071 wine_fn_config_makefile programs/conhost enable_conhost
21072 wine_fn_config_makefile programs/control enable_control
21073 wine_fn_config_makefile programs/cscript enable_cscript
21074 wine_fn_config_makefile programs/dism enable_dism
21075 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21076 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21077 wine_fn_config_makefile programs/eject enable_eject
21078 wine_fn_config_makefile programs/expand enable_expand
21079 wine_fn_config_makefile programs/explorer enable_explorer
21080 wine_fn_config_makefile programs/extrac32 enable_extrac32
21081 wine_fn_config_makefile programs/fc enable_fc
21082 wine_fn_config_makefile programs/find enable_find
21083 wine_fn_config_makefile programs/find/tests enable_tests
21084 wine_fn_config_makefile programs/findstr enable_findstr
21085 wine_fn_config_makefile programs/fsutil enable_fsutil
21086 wine_fn_config_makefile programs/hh enable_hh
21087 wine_fn_config_makefile programs/hostname enable_hostname
21088 wine_fn_config_makefile programs/icacls enable_icacls
21089 wine_fn_config_makefile programs/icinfo enable_icinfo
21090 wine_fn_config_makefile programs/iexplore enable_iexplore
21091 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21092 wine_fn_config_makefile programs/lodctr enable_lodctr
21093 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21094 wine_fn_config_makefile programs/mshta enable_mshta
21095 wine_fn_config_makefile programs/msidb enable_msidb
21096 wine_fn_config_makefile programs/msiexec enable_msiexec
21097 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21098 wine_fn_config_makefile programs/net enable_net
21099 wine_fn_config_makefile programs/netsh enable_netsh
21100 wine_fn_config_makefile programs/netstat enable_netstat
21101 wine_fn_config_makefile programs/ngen enable_ngen
21102 wine_fn_config_makefile programs/notepad enable_notepad
21103 wine_fn_config_makefile programs/oleview enable_oleview
21104 wine_fn_config_makefile programs/ping enable_ping
21105 wine_fn_config_makefile programs/plugplay enable_plugplay
21106 wine_fn_config_makefile programs/powershell enable_powershell
21107 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21108 wine_fn_config_makefile programs/progman enable_progman
21109 wine_fn_config_makefile programs/reg enable_reg
21110 wine_fn_config_makefile programs/reg/tests enable_tests
21111 wine_fn_config_makefile programs/regasm enable_regasm
21112 wine_fn_config_makefile programs/regedit enable_regedit
21113 wine_fn_config_makefile programs/regedit/tests enable_tests
21114 wine_fn_config_makefile programs/regini enable_regini
21115 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21116 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21117 wine_fn_config_makefile programs/rpcss enable_rpcss
21118 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21119 wine_fn_config_makefile programs/rundll32 enable_rundll32
21120 wine_fn_config_makefile programs/sc enable_sc
21121 wine_fn_config_makefile programs/schtasks enable_schtasks
21122 wine_fn_config_makefile programs/schtasks/tests enable_tests
21123 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21124 wine_fn_config_makefile programs/secedit enable_secedit
21125 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21126 wine_fn_config_makefile programs/services enable_services
21127 wine_fn_config_makefile programs/services/tests enable_tests
21128 wine_fn_config_makefile programs/shutdown enable_shutdown
21129 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21130 wine_fn_config_makefile programs/start enable_start
21131 wine_fn_config_makefile programs/subst enable_subst
21132 wine_fn_config_makefile programs/svchost enable_svchost
21133 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21134 wine_fn_config_makefile programs/taskkill enable_taskkill
21135 wine_fn_config_makefile programs/tasklist enable_tasklist
21136 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21137 wine_fn_config_makefile programs/termsv enable_termsv
21138 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21139 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21140 wine_fn_config_makefile programs/view enable_view
21141 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21142 wine_fn_config_makefile programs/wineboot enable_wineboot
21143 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21144 wine_fn_config_makefile programs/winecfg enable_winecfg
21145 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21146 wine_fn_config_makefile programs/winedbg enable_winedbg
21147 wine_fn_config_makefile programs/winedevice enable_winedevice
21148 wine_fn_config_makefile programs/winefile enable_winefile
21149 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21150 wine_fn_config_makefile programs/winemine enable_winemine
21151 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21152 wine_fn_config_makefile programs/winepath enable_winepath
21153 wine_fn_config_makefile programs/winetest enable_winetest
21154 wine_fn_config_makefile programs/winevdm enable_win16
21155 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21156 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21157 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21158 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21159 wine_fn_config_makefile programs/winver enable_winver
21160 wine_fn_config_makefile programs/wmic enable_wmic
21161 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21162 wine_fn_config_makefile programs/wordpad enable_wordpad
21163 wine_fn_config_makefile programs/write enable_write
21164 wine_fn_config_makefile programs/wscript enable_wscript
21165 wine_fn_config_makefile programs/wscript/tests enable_tests
21166 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21167 wine_fn_config_makefile programs/wusa enable_wusa
21168 wine_fn_config_makefile programs/xcopy enable_xcopy
21169 wine_fn_config_makefile programs/xcopy/tests enable_tests
21170 wine_fn_config_makefile server enable_server
21171 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21172 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21173 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21174 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21175 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21176 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21177 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21178 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21179 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21182 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21183 wine_fn_append_file CONFIGURE_TARGETS "tags"
21184 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21185 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21186 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21187 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21188 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21189 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21191 if test "x$enable_tools" != xno
21192 then
21193 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21194 ac_config_commands="$ac_config_commands tools/makedep"
21198 ac_config_commands="$ac_config_commands Makefile"
21201 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21205 if test "x$enable_maintainer_mode" = xyes
21206 then
21207 wine_fn_append_rule "configure: configure.ac aclocal.m4
21208 autoconf --warnings=all
21209 include/config.h.in: include/stamp-h.in
21210 include/stamp-h.in: configure.ac aclocal.m4
21211 autoheader --warnings=all
21212 @echo timestamp > \$@"
21215 if test "x$enable_tools" != xno
21216 then
21217 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21218 @./config.status tools/makedep
21219 Makefile: tools/makedep$ac_exeext
21220 fonts: tools/sfnt2fon
21221 include: tools tools/widl"
21222 else
21223 wine_fn_append_rule "\$(MAKEDEP):
21224 @echo \"You need to run make in $TOOLSDIR first\" && false"
21227 if test -n "$with_wine64"
21228 then
21229 case "$with_wine64" in
21230 /*) reldir="" ;;
21231 *) reldir="../" ;;
21232 esac
21233 rm -f fonts server 2>/dev/null
21234 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21235 loader/wine64 loader/wine64-preloader:
21236 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21237 $with_wine64/loader/wine:
21238 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21239 $with_wine64/loader/wine-preloader:
21240 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21241 clean::
21242 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21243 else
21244 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21245 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21246 fonts \
21247 loader/l_intl.nls \
21248 loader/wine.inf \
21249 loader/winebus.inf \
21250 loader/winehid.inf \
21251 programs/msidb/msidb \
21252 programs/msiexec/msiexec \
21253 programs/notepad/notepad \
21254 programs/regedit/regedit \
21255 programs/regsvr32/regsvr32 \
21256 programs/wineboot/wineboot \
21257 programs/winecfg/winecfg \
21258 programs/wineconsole/wineconsole \
21259 programs/winedbg/winedbg \
21260 programs/winefile/winefile \
21261 programs/winemine/winemine \
21262 programs/winepath/winepath \
21263 server/wineserver"
21265 case $host_os in
21266 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21267 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21268 esac
21271 $as_echo " done" >&6
21272 cat >confcache <<\_ACEOF
21273 # This file is a shell script that caches the results of configure
21274 # tests run on this system so they can be shared between configure
21275 # scripts and configure runs, see configure's option --config-cache.
21276 # It is not useful on other systems. If it contains results you don't
21277 # want to keep, you may remove or edit it.
21279 # config.status only pays attention to the cache file if you give it
21280 # the --recheck option to rerun configure.
21282 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21283 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21284 # following values.
21286 _ACEOF
21288 # The following way of writing the cache mishandles newlines in values,
21289 # but we know of no workaround that is simple, portable, and efficient.
21290 # So, we kill variables containing newlines.
21291 # Ultrix sh set writes to stderr and can't be redirected directly,
21292 # and sets the high bit in the cache file unless we assign to the vars.
21294 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21295 eval ac_val=\$$ac_var
21296 case $ac_val in #(
21297 *${as_nl}*)
21298 case $ac_var in #(
21299 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21301 esac
21302 case $ac_var in #(
21303 _ | IFS | as_nl) ;; #(
21304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21305 *) { eval $ac_var=; unset $ac_var;} ;;
21306 esac ;;
21307 esac
21308 done
21310 (set) 2>&1 |
21311 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21312 *${as_nl}ac_space=\ *)
21313 # `set' does not quote correctly, so add quotes: double-quote
21314 # substitution turns \\\\ into \\, and sed turns \\ into \.
21315 sed -n \
21316 "s/'/'\\\\''/g;
21317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21318 ;; #(
21320 # `set' quotes correctly as required by POSIX, so do not add quotes.
21321 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21323 esac |
21324 sort
21326 sed '
21327 /^ac_cv_env_/b end
21328 t clear
21329 :clear
21330 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21331 t end
21332 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21333 :end' >>confcache
21334 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21335 if test -w "$cache_file"; then
21336 if test "x$cache_file" != "x/dev/null"; then
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21338 $as_echo "$as_me: updating cache $cache_file" >&6;}
21339 if test ! -f "$cache_file" || test -h "$cache_file"; then
21340 cat confcache >"$cache_file"
21341 else
21342 case $cache_file in #(
21343 */* | ?:*)
21344 mv -f confcache "$cache_file"$$ &&
21345 mv -f "$cache_file"$$ "$cache_file" ;; #(
21347 mv -f confcache "$cache_file" ;;
21348 esac
21351 else
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21353 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21356 rm -f confcache
21358 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21359 # Let make expand exec_prefix.
21360 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21362 DEFS=-DHAVE_CONFIG_H
21364 ac_libobjs=
21365 ac_ltlibobjs=
21367 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21368 # 1. Remove the extension, and $U if already installed.
21369 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21370 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21371 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21372 # will be set to the directory where LIBOBJS objects are built.
21373 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21374 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21375 done
21376 LIBOBJS=$ac_libobjs
21378 LTLIBOBJS=$ac_ltlibobjs
21382 : "${CONFIG_STATUS=./config.status}"
21383 ac_write_fail=0
21384 ac_clean_files_save=$ac_clean_files
21385 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21387 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21388 as_write_fail=0
21389 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21390 #! $SHELL
21391 # Generated by $as_me.
21392 # Run this file to recreate the current configuration.
21393 # Compiler output produced by configure, useful for debugging
21394 # configure, is in config.log if it exists.
21396 debug=false
21397 ac_cs_recheck=false
21398 ac_cs_silent=false
21400 SHELL=\${CONFIG_SHELL-$SHELL}
21401 export SHELL
21402 _ASEOF
21403 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21404 ## -------------------- ##
21405 ## M4sh Initialization. ##
21406 ## -------------------- ##
21408 # Be more Bourne compatible
21409 DUALCASE=1; export DUALCASE # for MKS sh
21410 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21411 emulate sh
21412 NULLCMD=:
21413 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21414 # is contrary to our usage. Disable this feature.
21415 alias -g '${1+"$@"}'='"$@"'
21416 setopt NO_GLOB_SUBST
21417 else
21418 case `(set -o) 2>/dev/null` in #(
21419 *posix*) :
21420 set -o posix ;; #(
21421 *) :
21423 esac
21427 as_nl='
21429 export as_nl
21430 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21431 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21432 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21433 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21434 # Prefer a ksh shell builtin over an external printf program on Solaris,
21435 # but without wasting forks for bash or zsh.
21436 if test -z "$BASH_VERSION$ZSH_VERSION" \
21437 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21438 as_echo='print -r --'
21439 as_echo_n='print -rn --'
21440 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21441 as_echo='printf %s\n'
21442 as_echo_n='printf %s'
21443 else
21444 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21445 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21446 as_echo_n='/usr/ucb/echo -n'
21447 else
21448 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21449 as_echo_n_body='eval
21450 arg=$1;
21451 case $arg in #(
21452 *"$as_nl"*)
21453 expr "X$arg" : "X\\(.*\\)$as_nl";
21454 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21455 esac;
21456 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21458 export as_echo_n_body
21459 as_echo_n='sh -c $as_echo_n_body as_echo'
21461 export as_echo_body
21462 as_echo='sh -c $as_echo_body as_echo'
21465 # The user is always right.
21466 if test "${PATH_SEPARATOR+set}" != set; then
21467 PATH_SEPARATOR=:
21468 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21469 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21470 PATH_SEPARATOR=';'
21475 # IFS
21476 # We need space, tab and new line, in precisely that order. Quoting is
21477 # there to prevent editors from complaining about space-tab.
21478 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21479 # splitting by setting IFS to empty value.)
21480 IFS=" "" $as_nl"
21482 # Find who we are. Look in the path if we contain no directory separator.
21483 as_myself=
21484 case $0 in #((
21485 *[\\/]* ) as_myself=$0 ;;
21486 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21487 for as_dir in $PATH
21489 IFS=$as_save_IFS
21490 test -z "$as_dir" && as_dir=.
21491 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21492 done
21493 IFS=$as_save_IFS
21496 esac
21497 # We did not find ourselves, most probably we were run as `sh COMMAND'
21498 # in which case we are not to be found in the path.
21499 if test "x$as_myself" = x; then
21500 as_myself=$0
21502 if test ! -f "$as_myself"; then
21503 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21504 exit 1
21507 # Unset variables that we do not need and which cause bugs (e.g. in
21508 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21509 # suppresses any "Segmentation fault" message there. '((' could
21510 # trigger a bug in pdksh 5.2.14.
21511 for as_var in BASH_ENV ENV MAIL MAILPATH
21512 do eval test x\${$as_var+set} = xset \
21513 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21514 done
21515 PS1='$ '
21516 PS2='> '
21517 PS4='+ '
21519 # NLS nuisances.
21520 LC_ALL=C
21521 export LC_ALL
21522 LANGUAGE=C
21523 export LANGUAGE
21525 # CDPATH.
21526 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21529 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21530 # ----------------------------------------
21531 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21532 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21533 # script with STATUS, using 1 if that was 0.
21534 as_fn_error ()
21536 as_status=$1; test $as_status -eq 0 && as_status=1
21537 if test "$4"; then
21538 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21539 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21541 $as_echo "$as_me: error: $2" >&2
21542 as_fn_exit $as_status
21543 } # as_fn_error
21546 # as_fn_set_status STATUS
21547 # -----------------------
21548 # Set $? to STATUS, without forking.
21549 as_fn_set_status ()
21551 return $1
21552 } # as_fn_set_status
21554 # as_fn_exit STATUS
21555 # -----------------
21556 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21557 as_fn_exit ()
21559 set +e
21560 as_fn_set_status $1
21561 exit $1
21562 } # as_fn_exit
21564 # as_fn_unset VAR
21565 # ---------------
21566 # Portably unset VAR.
21567 as_fn_unset ()
21569 { eval $1=; unset $1;}
21571 as_unset=as_fn_unset
21572 # as_fn_append VAR VALUE
21573 # ----------------------
21574 # Append the text in VALUE to the end of the definition contained in VAR. Take
21575 # advantage of any shell optimizations that allow amortized linear growth over
21576 # repeated appends, instead of the typical quadratic growth present in naive
21577 # implementations.
21578 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21579 eval 'as_fn_append ()
21581 eval $1+=\$2
21583 else
21584 as_fn_append ()
21586 eval $1=\$$1\$2
21588 fi # as_fn_append
21590 # as_fn_arith ARG...
21591 # ------------------
21592 # Perform arithmetic evaluation on the ARGs, and store the result in the
21593 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21594 # must be portable across $(()) and expr.
21595 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21596 eval 'as_fn_arith ()
21598 as_val=$(( $* ))
21600 else
21601 as_fn_arith ()
21603 as_val=`expr "$@" || test $? -eq 1`
21605 fi # as_fn_arith
21608 if expr a : '\(a\)' >/dev/null 2>&1 &&
21609 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21610 as_expr=expr
21611 else
21612 as_expr=false
21615 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21616 as_basename=basename
21617 else
21618 as_basename=false
21621 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21622 as_dirname=dirname
21623 else
21624 as_dirname=false
21627 as_me=`$as_basename -- "$0" ||
21628 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21629 X"$0" : 'X\(//\)$' \| \
21630 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21631 $as_echo X/"$0" |
21632 sed '/^.*\/\([^/][^/]*\)\/*$/{
21633 s//\1/
21636 /^X\/\(\/\/\)$/{
21637 s//\1/
21640 /^X\/\(\/\).*/{
21641 s//\1/
21644 s/.*/./; q'`
21646 # Avoid depending upon Character Ranges.
21647 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21648 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21649 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21650 as_cr_digits='0123456789'
21651 as_cr_alnum=$as_cr_Letters$as_cr_digits
21653 ECHO_C= ECHO_N= ECHO_T=
21654 case `echo -n x` in #(((((
21655 -n*)
21656 case `echo 'xy\c'` in
21657 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21658 xy) ECHO_C='\c';;
21659 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21660 ECHO_T=' ';;
21661 esac;;
21663 ECHO_N='-n';;
21664 esac
21666 rm -f conf$$ conf$$.exe conf$$.file
21667 if test -d conf$$.dir; then
21668 rm -f conf$$.dir/conf$$.file
21669 else
21670 rm -f conf$$.dir
21671 mkdir conf$$.dir 2>/dev/null
21673 if (echo >conf$$.file) 2>/dev/null; then
21674 if ln -s conf$$.file conf$$ 2>/dev/null; then
21675 as_ln_s='ln -s'
21676 # ... but there are two gotchas:
21677 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21678 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21679 # In both cases, we have to default to `cp -pR'.
21680 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21681 as_ln_s='cp -pR'
21682 elif ln conf$$.file conf$$ 2>/dev/null; then
21683 as_ln_s=ln
21684 else
21685 as_ln_s='cp -pR'
21687 else
21688 as_ln_s='cp -pR'
21690 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21691 rmdir conf$$.dir 2>/dev/null
21694 # as_fn_mkdir_p
21695 # -------------
21696 # Create "$as_dir" as a directory, including parents if necessary.
21697 as_fn_mkdir_p ()
21700 case $as_dir in #(
21701 -*) as_dir=./$as_dir;;
21702 esac
21703 test -d "$as_dir" || eval $as_mkdir_p || {
21704 as_dirs=
21705 while :; do
21706 case $as_dir in #(
21707 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21708 *) as_qdir=$as_dir;;
21709 esac
21710 as_dirs="'$as_qdir' $as_dirs"
21711 as_dir=`$as_dirname -- "$as_dir" ||
21712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21713 X"$as_dir" : 'X\(//\)[^/]' \| \
21714 X"$as_dir" : 'X\(//\)$' \| \
21715 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21716 $as_echo X"$as_dir" |
21717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21718 s//\1/
21721 /^X\(\/\/\)[^/].*/{
21722 s//\1/
21725 /^X\(\/\/\)$/{
21726 s//\1/
21729 /^X\(\/\).*/{
21730 s//\1/
21733 s/.*/./; q'`
21734 test -d "$as_dir" && break
21735 done
21736 test -z "$as_dirs" || eval "mkdir $as_dirs"
21737 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21740 } # as_fn_mkdir_p
21741 if mkdir -p . 2>/dev/null; then
21742 as_mkdir_p='mkdir -p "$as_dir"'
21743 else
21744 test -d ./-p && rmdir ./-p
21745 as_mkdir_p=false
21749 # as_fn_executable_p FILE
21750 # -----------------------
21751 # Test if FILE is an executable regular file.
21752 as_fn_executable_p ()
21754 test -f "$1" && test -x "$1"
21755 } # as_fn_executable_p
21756 as_test_x='test -x'
21757 as_executable_p=as_fn_executable_p
21759 # Sed expression to map a string onto a valid CPP name.
21760 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21762 # Sed expression to map a string onto a valid variable name.
21763 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21766 exec 6>&1
21767 ## ----------------------------------- ##
21768 ## Main body of $CONFIG_STATUS script. ##
21769 ## ----------------------------------- ##
21770 _ASEOF
21771 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21774 # Save the log message, to keep $0 and so on meaningful, and to
21775 # report actual input values of CONFIG_FILES etc. instead of their
21776 # values after options handling.
21777 ac_log="
21778 This file was extended by Wine $as_me 5.0, which was
21779 generated by GNU Autoconf 2.69. Invocation command line was
21781 CONFIG_FILES = $CONFIG_FILES
21782 CONFIG_HEADERS = $CONFIG_HEADERS
21783 CONFIG_LINKS = $CONFIG_LINKS
21784 CONFIG_COMMANDS = $CONFIG_COMMANDS
21785 $ $0 $@
21787 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21790 _ACEOF
21792 case $ac_config_files in *"
21793 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21794 esac
21796 case $ac_config_headers in *"
21797 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21798 esac
21801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21802 # Files that config.status was made for.
21803 config_files="$ac_config_files"
21804 config_headers="$ac_config_headers"
21805 config_links="$ac_config_links"
21806 config_commands="$ac_config_commands"
21808 _ACEOF
21810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21811 ac_cs_usage="\
21812 \`$as_me' instantiates files and other configuration actions
21813 from templates according to the current configuration. Unless the files
21814 and actions are specified as TAGs, all are instantiated by default.
21816 Usage: $0 [OPTION]... [TAG]...
21818 -h, --help print this help, then exit
21819 -V, --version print version number and configuration settings, then exit
21820 --config print configuration, then exit
21821 -q, --quiet, --silent
21822 do not print progress messages
21823 -d, --debug don't remove temporary files
21824 --recheck update $as_me by reconfiguring in the same conditions
21825 --file=FILE[:TEMPLATE]
21826 instantiate the configuration file FILE
21827 --header=FILE[:TEMPLATE]
21828 instantiate the configuration header FILE
21830 Configuration files:
21831 $config_files
21833 Configuration headers:
21834 $config_headers
21836 Configuration links:
21837 $config_links
21839 Configuration commands:
21840 $config_commands
21842 Report bugs to <wine-devel@winehq.org>.
21843 Wine home page: <https://www.winehq.org>."
21845 _ACEOF
21846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21847 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21848 ac_cs_version="\\
21849 Wine config.status 5.0
21850 configured by $0, generated by GNU Autoconf 2.69,
21851 with options \\"\$ac_cs_config\\"
21853 Copyright (C) 2012 Free Software Foundation, Inc.
21854 This config.status script is free software; the Free Software Foundation
21855 gives unlimited permission to copy, distribute and modify it."
21857 ac_pwd='$ac_pwd'
21858 srcdir='$srcdir'
21859 test -n "\$AWK" || AWK=awk
21860 _ACEOF
21862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21863 # The default lists apply if the user does not specify any file.
21864 ac_need_defaults=:
21865 while test $# != 0
21867 case $1 in
21868 --*=?*)
21869 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21870 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21871 ac_shift=:
21873 --*=)
21874 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21875 ac_optarg=
21876 ac_shift=:
21879 ac_option=$1
21880 ac_optarg=$2
21881 ac_shift=shift
21883 esac
21885 case $ac_option in
21886 # Handling of the options.
21887 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21888 ac_cs_recheck=: ;;
21889 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21890 $as_echo "$ac_cs_version"; exit ;;
21891 --config | --confi | --conf | --con | --co | --c )
21892 $as_echo "$ac_cs_config"; exit ;;
21893 --debug | --debu | --deb | --de | --d | -d )
21894 debug=: ;;
21895 --file | --fil | --fi | --f )
21896 $ac_shift
21897 case $ac_optarg in
21898 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21899 '') as_fn_error $? "missing file argument" ;;
21900 esac
21901 as_fn_append CONFIG_FILES " '$ac_optarg'"
21902 ac_need_defaults=false;;
21903 --header | --heade | --head | --hea )
21904 $ac_shift
21905 case $ac_optarg in
21906 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21907 esac
21908 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21909 ac_need_defaults=false;;
21910 --he | --h)
21911 # Conflict between --help and --header
21912 as_fn_error $? "ambiguous option: \`$1'
21913 Try \`$0 --help' for more information.";;
21914 --help | --hel | -h )
21915 $as_echo "$ac_cs_usage"; exit ;;
21916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21917 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21918 ac_cs_silent=: ;;
21920 # This is an error.
21921 -*) as_fn_error $? "unrecognized option: \`$1'
21922 Try \`$0 --help' for more information." ;;
21924 *) as_fn_append ac_config_targets " $1"
21925 ac_need_defaults=false ;;
21927 esac
21928 shift
21929 done
21931 ac_configure_extra_args=
21933 if $ac_cs_silent; then
21934 exec 6>/dev/null
21935 ac_configure_extra_args="$ac_configure_extra_args --silent"
21938 _ACEOF
21939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21940 if \$ac_cs_recheck; then
21941 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21942 shift
21943 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21944 CONFIG_SHELL='$SHELL'
21945 export CONFIG_SHELL
21946 exec "\$@"
21949 _ACEOF
21950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21951 exec 5>>config.log
21953 echo
21954 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21955 ## Running $as_me. ##
21956 _ASBOX
21957 $as_echo "$ac_log"
21958 } >&5
21960 _ACEOF
21961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21963 # INIT-COMMANDS
21965 wine_fn_output_makedep ()
21967 as_dir=tools; as_fn_mkdir_p
21968 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21970 wine_fn_output_makefile ()
21972 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21973 `cat $wine_rules_file`
21974 _WINE_EOF
21975 as_fn_error $? "could not create Makefile" "$LINENO" 5
21978 _ACEOF
21980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21982 # Handling of arguments.
21983 for ac_config_target in $ac_config_targets
21985 case $ac_config_target in
21986 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21987 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21988 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21989 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21990 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21991 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21992 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21994 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21995 esac
21996 done
21999 # If the user did not use the arguments to specify the items to instantiate,
22000 # then the envvar interface is used. Set only those that are not.
22001 # We use the long form for the default assignment because of an extremely
22002 # bizarre bug on SunOS 4.1.3.
22003 if $ac_need_defaults; then
22004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22006 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22010 # Have a temporary directory for convenience. Make it in the build tree
22011 # simply because there is no reason against having it here, and in addition,
22012 # creating and moving files from /tmp can sometimes cause problems.
22013 # Hook for its removal unless debugging.
22014 # Note that there is a small window in which the directory will not be cleaned:
22015 # after its creation but before its name has been assigned to `$tmp'.
22016 $debug ||
22018 tmp= ac_tmp=
22019 trap 'exit_status=$?
22020 : "${ac_tmp:=$tmp}"
22021 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22023 trap 'as_fn_exit 1' 1 2 13 15
22025 # Create a (secure) tmp directory for tmp files.
22028 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22029 test -d "$tmp"
22030 } ||
22032 tmp=./conf$$-$RANDOM
22033 (umask 077 && mkdir "$tmp")
22034 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22035 ac_tmp=$tmp
22037 # Set up the scripts for CONFIG_FILES section.
22038 # No need to generate them if there are no CONFIG_FILES.
22039 # This happens for instance with `./config.status config.h'.
22040 if test -n "$CONFIG_FILES"; then
22043 ac_cr=`echo X | tr X '\015'`
22044 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22045 # But we know of no other shell where ac_cr would be empty at this
22046 # point, so we can use a bashism as a fallback.
22047 if test "x$ac_cr" = x; then
22048 eval ac_cr=\$\'\\r\'
22050 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22051 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22052 ac_cs_awk_cr='\\r'
22053 else
22054 ac_cs_awk_cr=$ac_cr
22057 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22058 _ACEOF
22062 echo "cat >conf$$subs.awk <<_ACEOF" &&
22063 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22064 echo "_ACEOF"
22065 } >conf$$subs.sh ||
22066 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22068 ac_delim='%!_!# '
22069 for ac_last_try in false false false false false :; do
22070 . ./conf$$subs.sh ||
22071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22073 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22074 if test $ac_delim_n = $ac_delim_num; then
22075 break
22076 elif $ac_last_try; then
22077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22078 else
22079 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22081 done
22082 rm -f conf$$subs.sh
22084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22085 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22086 _ACEOF
22087 sed -n '
22089 s/^/S["/; s/!.*/"]=/
22092 s/^[^!]*!//
22093 :repl
22094 t repl
22095 s/'"$ac_delim"'$//
22096 t delim
22099 s/\(.\{148\}\)..*/\1/
22100 t more1
22101 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22104 b repl
22105 :more1
22106 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22109 s/.\{148\}//
22110 t nl
22111 :delim
22113 s/\(.\{148\}\)..*/\1/
22114 t more2
22115 s/["\\]/\\&/g; s/^/"/; s/$/"/
22118 :more2
22119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22122 s/.\{148\}//
22123 t delim
22124 ' <conf$$subs.awk | sed '
22125 /^[^""]/{
22127 s/\n//
22129 ' >>$CONFIG_STATUS || ac_write_fail=1
22130 rm -f conf$$subs.awk
22131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22132 _ACAWK
22133 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22134 for (key in S) S_is_set[key] = 1
22135 FS = "\a"
22139 line = $ 0
22140 nfields = split(line, field, "@")
22141 substed = 0
22142 len = length(field[1])
22143 for (i = 2; i < nfields; i++) {
22144 key = field[i]
22145 keylen = length(key)
22146 if (S_is_set[key]) {
22147 value = S[key]
22148 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22149 len += length(value) + length(field[++i])
22150 substed = 1
22151 } else
22152 len += 1 + keylen
22155 print line
22158 _ACAWK
22159 _ACEOF
22160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22161 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22162 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22163 else
22165 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22166 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22167 _ACEOF
22169 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22170 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22171 # trailing colons and then remove the whole line if VPATH becomes empty
22172 # (actually we leave an empty line to preserve line numbers).
22173 if test "x$srcdir" = x.; then
22174 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22176 s///
22177 s/^/:/
22178 s/[ ]*$/:/
22179 s/:\$(srcdir):/:/g
22180 s/:\${srcdir}:/:/g
22181 s/:@srcdir@:/:/g
22182 s/^:*//
22183 s/:*$//
22185 s/\(=[ ]*\).*/\1/
22187 s/\n//
22188 s/^[^=]*=[ ]*$//
22192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22193 fi # test -n "$CONFIG_FILES"
22195 # Set up the scripts for CONFIG_HEADERS section.
22196 # No need to generate them if there are no CONFIG_HEADERS.
22197 # This happens for instance with `./config.status Makefile'.
22198 if test -n "$CONFIG_HEADERS"; then
22199 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22200 BEGIN {
22201 _ACEOF
22203 # Transform confdefs.h into an awk script `defines.awk', embedded as
22204 # here-document in config.status, that substitutes the proper values into
22205 # config.h.in to produce config.h.
22207 # Create a delimiter string that does not exist in confdefs.h, to ease
22208 # handling of long lines.
22209 ac_delim='%!_!# '
22210 for ac_last_try in false false :; do
22211 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22212 if test -z "$ac_tt"; then
22213 break
22214 elif $ac_last_try; then
22215 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22216 else
22217 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22219 done
22221 # For the awk script, D is an array of macro values keyed by name,
22222 # likewise P contains macro parameters if any. Preserve backslash
22223 # newline sequences.
22225 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22226 sed -n '
22227 s/.\{148\}/&'"$ac_delim"'/g
22228 t rset
22229 :rset
22230 s/^[ ]*#[ ]*define[ ][ ]*/ /
22231 t def
22233 :def
22234 s/\\$//
22235 t bsnl
22236 s/["\\]/\\&/g
22237 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22238 D["\1"]=" \3"/p
22239 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22241 :bsnl
22242 s/["\\]/\\&/g
22243 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22244 D["\1"]=" \3\\\\\\n"\\/p
22245 t cont
22246 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22247 t cont
22249 :cont
22251 s/.\{148\}/&'"$ac_delim"'/g
22252 t clear
22253 :clear
22254 s/\\$//
22255 t bsnlc
22256 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22258 :bsnlc
22259 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22260 b cont
22261 ' <confdefs.h | sed '
22262 s/'"$ac_delim"'/"\\\
22263 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22266 for (key in D) D_is_set[key] = 1
22267 FS = "\a"
22269 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22270 line = \$ 0
22271 split(line, arg, " ")
22272 if (arg[1] == "#") {
22273 defundef = arg[2]
22274 mac1 = arg[3]
22275 } else {
22276 defundef = substr(arg[1], 2)
22277 mac1 = arg[2]
22279 split(mac1, mac2, "(") #)
22280 macro = mac2[1]
22281 prefix = substr(line, 1, index(line, defundef) - 1)
22282 if (D_is_set[macro]) {
22283 # Preserve the white space surrounding the "#".
22284 print prefix "define", macro P[macro] D[macro]
22285 next
22286 } else {
22287 # Replace #undef with comments. This is necessary, for example,
22288 # in the case of _POSIX_SOURCE, which is predefined and required
22289 # on some systems where configure will not decide to define it.
22290 if (defundef == "undef") {
22291 print "/*", prefix defundef, macro, "*/"
22292 next
22296 { print }
22297 _ACAWK
22298 _ACEOF
22299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22300 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22301 fi # test -n "$CONFIG_HEADERS"
22304 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22305 shift
22306 for ac_tag
22308 case $ac_tag in
22309 :[FHLC]) ac_mode=$ac_tag; continue;;
22310 esac
22311 case $ac_mode$ac_tag in
22312 :[FHL]*:*);;
22313 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22314 :[FH]-) ac_tag=-:-;;
22315 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22316 esac
22317 ac_save_IFS=$IFS
22318 IFS=:
22319 set x $ac_tag
22320 IFS=$ac_save_IFS
22321 shift
22322 ac_file=$1
22323 shift
22325 case $ac_mode in
22326 :L) ac_source=$1;;
22327 :[FH])
22328 ac_file_inputs=
22329 for ac_f
22331 case $ac_f in
22332 -) ac_f="$ac_tmp/stdin";;
22333 *) # Look for the file first in the build tree, then in the source tree
22334 # (if the path is not absolute). The absolute path cannot be DOS-style,
22335 # because $ac_f cannot contain `:'.
22336 test -f "$ac_f" ||
22337 case $ac_f in
22338 [\\/$]*) false;;
22339 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22340 esac ||
22341 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22342 esac
22343 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22344 as_fn_append ac_file_inputs " '$ac_f'"
22345 done
22347 # Let's still pretend it is `configure' which instantiates (i.e., don't
22348 # use $as_me), people would be surprised to read:
22349 # /* config.h. Generated by config.status. */
22350 configure_input='Generated from '`
22351 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22352 `' by configure.'
22353 if test x"$ac_file" != x-; then
22354 configure_input="$ac_file. $configure_input"
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22356 $as_echo "$as_me: creating $ac_file" >&6;}
22358 # Neutralize special characters interpreted by sed in replacement strings.
22359 case $configure_input in #(
22360 *\&* | *\|* | *\\* )
22361 ac_sed_conf_input=`$as_echo "$configure_input" |
22362 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22363 *) ac_sed_conf_input=$configure_input;;
22364 esac
22366 case $ac_tag in
22367 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22369 esac
22371 esac
22373 ac_dir=`$as_dirname -- "$ac_file" ||
22374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22375 X"$ac_file" : 'X\(//\)[^/]' \| \
22376 X"$ac_file" : 'X\(//\)$' \| \
22377 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22378 $as_echo X"$ac_file" |
22379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22380 s//\1/
22383 /^X\(\/\/\)[^/].*/{
22384 s//\1/
22387 /^X\(\/\/\)$/{
22388 s//\1/
22391 /^X\(\/\).*/{
22392 s//\1/
22395 s/.*/./; q'`
22396 as_dir="$ac_dir"; as_fn_mkdir_p
22397 ac_builddir=.
22399 case "$ac_dir" in
22400 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22402 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22403 # A ".." for each directory in $ac_dir_suffix.
22404 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22405 case $ac_top_builddir_sub in
22406 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22407 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22408 esac ;;
22409 esac
22410 ac_abs_top_builddir=$ac_pwd
22411 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22412 # for backward compatibility:
22413 ac_top_builddir=$ac_top_build_prefix
22415 case $srcdir in
22416 .) # We are building in place.
22417 ac_srcdir=.
22418 ac_top_srcdir=$ac_top_builddir_sub
22419 ac_abs_top_srcdir=$ac_pwd ;;
22420 [\\/]* | ?:[\\/]* ) # Absolute name.
22421 ac_srcdir=$srcdir$ac_dir_suffix;
22422 ac_top_srcdir=$srcdir
22423 ac_abs_top_srcdir=$srcdir ;;
22424 *) # Relative name.
22425 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22426 ac_top_srcdir=$ac_top_build_prefix$srcdir
22427 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22428 esac
22429 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22432 case $ac_mode in
22435 # CONFIG_FILE
22438 _ACEOF
22440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22441 # If the template does not know about datarootdir, expand it.
22442 # FIXME: This hack should be removed a few years after 2.60.
22443 ac_datarootdir_hack=; ac_datarootdir_seen=
22444 ac_sed_dataroot='
22445 /datarootdir/ {
22449 /@datadir@/p
22450 /@docdir@/p
22451 /@infodir@/p
22452 /@localedir@/p
22453 /@mandir@/p'
22454 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22455 *datarootdir*) ac_datarootdir_seen=yes;;
22456 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22458 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22459 _ACEOF
22460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22461 ac_datarootdir_hack='
22462 s&@datadir@&$datadir&g
22463 s&@docdir@&$docdir&g
22464 s&@infodir@&$infodir&g
22465 s&@localedir@&$localedir&g
22466 s&@mandir@&$mandir&g
22467 s&\\\${datarootdir}&$datarootdir&g' ;;
22468 esac
22469 _ACEOF
22471 # Neutralize VPATH when `$srcdir' = `.'.
22472 # Shell code in configure.ac might set extrasub.
22473 # FIXME: do we really want to maintain this feature?
22474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22475 ac_sed_extra="$ac_vpsub
22476 $extrasub
22477 _ACEOF
22478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22480 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22481 s|@configure_input@|$ac_sed_conf_input|;t t
22482 s&@top_builddir@&$ac_top_builddir_sub&;t t
22483 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22484 s&@srcdir@&$ac_srcdir&;t t
22485 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22486 s&@top_srcdir@&$ac_top_srcdir&;t t
22487 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22488 s&@builddir@&$ac_builddir&;t t
22489 s&@abs_builddir@&$ac_abs_builddir&;t t
22490 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22491 $ac_datarootdir_hack
22493 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22494 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22496 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22497 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22498 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22499 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22501 which seems to be undefined. Please make sure it is defined" >&5
22502 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22503 which seems to be undefined. Please make sure it is defined" >&2;}
22505 rm -f "$ac_tmp/stdin"
22506 case $ac_file in
22507 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22508 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22509 esac \
22510 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22514 # CONFIG_HEADER
22516 if test x"$ac_file" != x-; then
22518 $as_echo "/* $configure_input */" \
22519 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22520 } >"$ac_tmp/config.h" \
22521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22522 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22524 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22525 else
22526 rm -f "$ac_file"
22527 mv "$ac_tmp/config.h" "$ac_file" \
22528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22530 else
22531 $as_echo "/* $configure_input */" \
22532 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22533 || as_fn_error $? "could not create -" "$LINENO" 5
22538 # CONFIG_LINK
22541 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22543 else
22544 # Prefer the file from the source tree if names are identical.
22545 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22546 ac_source=$srcdir/$ac_source
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22550 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22552 if test ! -r "$ac_source"; then
22553 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22555 rm -f "$ac_file"
22557 # Try a relative symlink, then a hard link, then a copy.
22558 case $ac_source in
22559 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22560 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22561 esac
22562 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22563 ln "$ac_source" "$ac_file" 2>/dev/null ||
22564 cp -p "$ac_source" "$ac_file" ||
22565 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22568 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22569 $as_echo "$as_me: executing $ac_file commands" >&6;}
22571 esac
22574 case $ac_file$ac_mode in
22575 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22576 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22577 "Makefile":C) wine_fn_output_makefile Makefile ;;
22579 esac
22580 done # for ac_tag
22583 as_fn_exit 0
22584 _ACEOF
22585 ac_clean_files=$ac_clean_files_save
22587 test $ac_write_fail = 0 ||
22588 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22591 # configure is writing to config.log, and then calls config.status.
22592 # config.status does its own redirection, appending to config.log.
22593 # Unfortunately, on DOS this fails, as config.log is still kept open
22594 # by configure, so config.status won't be able to write to it; its
22595 # output is simply discarded. So we exec the FD to /dev/null,
22596 # effectively closing config.log, so it can be properly (re)opened and
22597 # appended to by config.status. When coming back to configure, we
22598 # need to make the FD available again.
22599 if test "$no_create" != yes; then
22600 ac_cs_success=:
22601 ac_config_status_args=
22602 test "$silent" = yes &&
22603 ac_config_status_args="$ac_config_status_args --quiet"
22604 exec 5>/dev/null
22605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22606 exec 5>>config.log
22607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22608 # would make configure fail if this is the last instruction.
22609 $ac_cs_success || as_fn_exit 1
22611 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22613 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22617 if test "$no_create" = "yes"
22618 then
22619 exit 0
22622 ac_save_IFS="$IFS"
22623 if test "x$wine_notices" != x; then
22624 echo >&6
22625 IFS="|"
22626 for msg in $wine_notices; do
22627 IFS="$ac_save_IFS"
22628 if ${msg:+false} :; then :
22630 else
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22632 $as_echo "$as_me: $msg" >&6;}
22634 done
22636 IFS="|"
22637 for msg in $wine_warnings; do
22638 IFS="$ac_save_IFS"
22639 if ${msg:+false} :; then :
22641 else
22642 echo >&2
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22644 $as_echo "$as_me: WARNING: $msg" >&2;}
22646 done
22647 IFS="$ac_save_IFS"
22649 $as_echo "
22650 $as_me: Finished. Do '${ac_make}' to compile Wine.
22651 " >&6