ucrtbase: Add strtoumax and _strtoumax_l.
[wine.git] / configure
blob0c54e27f5fb250a708e765e04e7a35d7840a8479
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.15.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.15'
584 PACKAGE_STRING='Wine 4.15'
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 EXTRACROSSCFLAGS
710 CROSSCFLAGS
711 CROSSCC
712 CROSSTARGET
713 LIBWINE_DEPENDS
714 PRELINK
715 WINELOADER_DEPENDS
716 LIBWINE_LDFLAGS
717 LIBWINE_SHAREDLIB
718 METAL_LIBS
719 CARBON_LIBS
720 QUICKTIME_LIBS
721 OPENCL_LIBS
722 OPENAL_LIBS
723 COREAUDIO_LIBS
724 SECURITY_LIBS
725 DISKARBITRATION_LIBS
726 APPKIT_LIBS
727 CORESERVICES_LIBS
728 APPLICATIONSERVICES_LIBS
729 FORCEFEEDBACK_LIBS
730 IOKIT_LIBS
731 COREFOUNDATION_LIBS
732 OBJCPP
733 ac_ct_OBJC
734 OBJCFLAGS
735 OBJC
736 DLLTOOL
737 WINELOADER_PROGRAMS
738 CONFIGURE_TARGETS
739 DISABLED_SUBDIRS
740 SUBDIRS
741 READELF
742 OTOOL
744 WINEPRELOADER_LDFLAGS
745 WINELOADER_LDFLAGS
746 TOP_INSTALL_DEV
747 TOP_INSTALL_LIB
748 LDEXECFLAGS
749 LDDLLFLAGS
750 LDRPATH_LOCAL
751 LDRPATH_INSTALL
752 DLLFLAGS
754 OPENGL_LIBS
755 I386_LIBS
756 ICOTOOL
757 CONVERT
758 RSVG
759 FONTFORGE
760 PKG_CONFIG
761 MSGFMT
762 LDCONFIG
763 EGREP
764 GREP
765 LN_S
766 RANLIB
767 STRIP
768 ac_ct_AR
770 BISON
771 FLEX
772 TOOLSDIR
773 TARGETFLAGS
775 CPPBIN
776 ac_ct_CXX
777 CXXFLAGS
779 OBJEXT
780 EXEEXT
781 ac_ct_CC
782 CPPFLAGS
783 LDFLAGS
784 CFLAGS
786 SET_MAKE
787 host_os
788 host_vendor
789 host_cpu
790 host
791 build_os
792 build_vendor
793 build_cpu
794 build
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 runstatedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_win16
838 enable_win64
839 enable_tests
840 enable_maintainer_mode
841 with_alsa
842 with_capi
843 with_cms
844 with_coreaudio
845 with_cups
846 with_curses
847 with_dbus
848 with_faudio
849 with_float_abi
850 with_fontconfig
851 with_freetype
852 with_gettext
853 with_gettextpo
854 with_gphoto
855 with_glu
856 with_gnutls
857 with_gsm
858 with_gssapi
859 with_gstreamer
860 with_hal
861 with_inotify
862 with_jpeg
863 with_krb5
864 with_ldap
865 with_mingw
866 with_mpg123
867 with_netapi
868 with_openal
869 with_opencl
870 with_opengl
871 with_osmesa
872 with_oss
873 with_pcap
874 with_png
875 with_pthread
876 with_pulse
877 with_sane
878 with_sdl
879 with_tiff
880 with_udev
881 with_unwind
882 with_v4l2
883 with_vkd3d
884 with_vulkan
885 with_xcomposite
886 with_xcursor
887 with_xfixes
888 with_xinerama
889 with_xinput
890 with_xinput2
891 with_xml
892 with_xrandr
893 with_xrender
894 with_xshape
895 with_xshm
896 with_xslt
897 with_xxf86vm
898 with_zlib
899 with_wine_tools
900 with_wine64
901 enable_largefile
902 with_x
903 enable_acledit
904 enable_aclui
905 enable_activeds
906 enable_actxprxy
907 enable_adsiid
908 enable_adsldp
909 enable_adsldpc
910 enable_advapi32
911 enable_advpack
912 enable_amsi
913 enable_amstream
914 enable_api_ms_win_appmodel_identity_l1_1_0
915 enable_api_ms_win_appmodel_runtime_l1_1_1
916 enable_api_ms_win_appmodel_runtime_l1_1_2
917 enable_api_ms_win_core_apiquery_l1_1_0
918 enable_api_ms_win_core_appcompat_l1_1_1
919 enable_api_ms_win_core_appinit_l1_1_0
920 enable_api_ms_win_core_atoms_l1_1_0
921 enable_api_ms_win_core_bem_l1_1_0
922 enable_api_ms_win_core_com_l1_1_0
923 enable_api_ms_win_core_com_l1_1_1
924 enable_api_ms_win_core_com_private_l1_1_0
925 enable_api_ms_win_core_comm_l1_1_0
926 enable_api_ms_win_core_console_l1_1_0
927 enable_api_ms_win_core_console_l2_1_0
928 enable_api_ms_win_core_crt_l1_1_0
929 enable_api_ms_win_core_crt_l2_1_0
930 enable_api_ms_win_core_datetime_l1_1_0
931 enable_api_ms_win_core_datetime_l1_1_1
932 enable_api_ms_win_core_debug_l1_1_0
933 enable_api_ms_win_core_debug_l1_1_1
934 enable_api_ms_win_core_delayload_l1_1_0
935 enable_api_ms_win_core_delayload_l1_1_1
936 enable_api_ms_win_core_errorhandling_l1_1_0
937 enable_api_ms_win_core_errorhandling_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_2
939 enable_api_ms_win_core_errorhandling_l1_1_3
940 enable_api_ms_win_core_fibers_l1_1_0
941 enable_api_ms_win_core_fibers_l1_1_1
942 enable_api_ms_win_core_file_l1_1_0
943 enable_api_ms_win_core_file_l1_2_0
944 enable_api_ms_win_core_file_l1_2_1
945 enable_api_ms_win_core_file_l1_2_2
946 enable_api_ms_win_core_file_l2_1_0
947 enable_api_ms_win_core_file_l2_1_1
948 enable_api_ms_win_core_file_l2_1_2
949 enable_api_ms_win_core_handle_l1_1_0
950 enable_api_ms_win_core_heap_l1_1_0
951 enable_api_ms_win_core_heap_l1_2_0
952 enable_api_ms_win_core_heap_l2_1_0
953 enable_api_ms_win_core_heap_obsolete_l1_1_0
954 enable_api_ms_win_core_interlocked_l1_1_0
955 enable_api_ms_win_core_interlocked_l1_2_0
956 enable_api_ms_win_core_io_l1_1_0
957 enable_api_ms_win_core_io_l1_1_1
958 enable_api_ms_win_core_job_l1_1_0
959 enable_api_ms_win_core_job_l2_1_0
960 enable_api_ms_win_core_kernel32_legacy_l1_1_0
961 enable_api_ms_win_core_kernel32_legacy_l1_1_1
962 enable_api_ms_win_core_kernel32_private_l1_1_1
963 enable_api_ms_win_core_largeinteger_l1_1_0
964 enable_api_ms_win_core_libraryloader_l1_1_0
965 enable_api_ms_win_core_libraryloader_l1_1_1
966 enable_api_ms_win_core_libraryloader_l1_2_0
967 enable_api_ms_win_core_libraryloader_l1_2_1
968 enable_api_ms_win_core_libraryloader_l1_2_2
969 enable_api_ms_win_core_localization_l1_1_0
970 enable_api_ms_win_core_localization_l1_2_0
971 enable_api_ms_win_core_localization_l1_2_1
972 enable_api_ms_win_core_localization_l2_1_0
973 enable_api_ms_win_core_localization_obsolete_l1_1_0
974 enable_api_ms_win_core_localization_obsolete_l1_2_0
975 enable_api_ms_win_core_localization_obsolete_l1_3_0
976 enable_api_ms_win_core_localization_private_l1_1_0
977 enable_api_ms_win_core_localregistry_l1_1_0
978 enable_api_ms_win_core_memory_l1_1_0
979 enable_api_ms_win_core_memory_l1_1_1
980 enable_api_ms_win_core_memory_l1_1_2
981 enable_api_ms_win_core_misc_l1_1_0
982 enable_api_ms_win_core_namedpipe_l1_1_0
983 enable_api_ms_win_core_namedpipe_l1_2_0
984 enable_api_ms_win_core_namespace_l1_1_0
985 enable_api_ms_win_core_normalization_l1_1_0
986 enable_api_ms_win_core_path_l1_1_0
987 enable_api_ms_win_core_privateprofile_l1_1_1
988 enable_api_ms_win_core_processenvironment_l1_1_0
989 enable_api_ms_win_core_processenvironment_l1_2_0
990 enable_api_ms_win_core_processthreads_l1_1_0
991 enable_api_ms_win_core_processthreads_l1_1_1
992 enable_api_ms_win_core_processthreads_l1_1_2
993 enable_api_ms_win_core_processthreads_l1_1_3
994 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
995 enable_api_ms_win_core_profile_l1_1_0
996 enable_api_ms_win_core_psapi_ansi_l1_1_0
997 enable_api_ms_win_core_psapi_l1_1_0
998 enable_api_ms_win_core_psapi_obsolete_l1_1_0
999 enable_api_ms_win_core_quirks_l1_1_0
1000 enable_api_ms_win_core_realtime_l1_1_0
1001 enable_api_ms_win_core_registry_l1_1_0
1002 enable_api_ms_win_core_registry_l2_1_0
1003 enable_api_ms_win_core_registryuserspecific_l1_1_0
1004 enable_api_ms_win_core_rtlsupport_l1_1_0
1005 enable_api_ms_win_core_rtlsupport_l1_2_0
1006 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1007 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1008 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1009 enable_api_ms_win_core_shutdown_l1_1_0
1010 enable_api_ms_win_core_sidebyside_l1_1_0
1011 enable_api_ms_win_core_string_l1_1_0
1012 enable_api_ms_win_core_string_l2_1_0
1013 enable_api_ms_win_core_string_obsolete_l1_1_0
1014 enable_api_ms_win_core_stringansi_l1_1_0
1015 enable_api_ms_win_core_stringloader_l1_1_1
1016 enable_api_ms_win_core_synch_ansi_l1_1_0
1017 enable_api_ms_win_core_synch_l1_1_0
1018 enable_api_ms_win_core_synch_l1_2_0
1019 enable_api_ms_win_core_synch_l1_2_1
1020 enable_api_ms_win_core_sysinfo_l1_1_0
1021 enable_api_ms_win_core_sysinfo_l1_2_0
1022 enable_api_ms_win_core_sysinfo_l1_2_1
1023 enable_api_ms_win_core_threadpool_l1_1_0
1024 enable_api_ms_win_core_threadpool_l1_2_0
1025 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1026 enable_api_ms_win_core_threadpool_private_l1_1_0
1027 enable_api_ms_win_core_timezone_l1_1_0
1028 enable_api_ms_win_core_toolhelp_l1_1_0
1029 enable_api_ms_win_core_url_l1_1_0
1030 enable_api_ms_win_core_util_l1_1_0
1031 enable_api_ms_win_core_version_l1_1_0
1032 enable_api_ms_win_core_version_l1_1_1
1033 enable_api_ms_win_core_version_private_l1_1_0
1034 enable_api_ms_win_core_versionansi_l1_1_0
1035 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1036 enable_api_ms_win_core_winrt_error_l1_1_0
1037 enable_api_ms_win_core_winrt_error_l1_1_1
1038 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1039 enable_api_ms_win_core_winrt_l1_1_0
1040 enable_api_ms_win_core_winrt_registration_l1_1_0
1041 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1042 enable_api_ms_win_core_winrt_string_l1_1_0
1043 enable_api_ms_win_core_winrt_string_l1_1_1
1044 enable_api_ms_win_core_wow64_l1_1_0
1045 enable_api_ms_win_core_wow64_l1_1_1
1046 enable_api_ms_win_core_xstate_l1_1_0
1047 enable_api_ms_win_core_xstate_l2_1_0
1048 enable_api_ms_win_crt_conio_l1_1_0
1049 enable_api_ms_win_crt_convert_l1_1_0
1050 enable_api_ms_win_crt_environment_l1_1_0
1051 enable_api_ms_win_crt_filesystem_l1_1_0
1052 enable_api_ms_win_crt_heap_l1_1_0
1053 enable_api_ms_win_crt_locale_l1_1_0
1054 enable_api_ms_win_crt_math_l1_1_0
1055 enable_api_ms_win_crt_multibyte_l1_1_0
1056 enable_api_ms_win_crt_private_l1_1_0
1057 enable_api_ms_win_crt_process_l1_1_0
1058 enable_api_ms_win_crt_runtime_l1_1_0
1059 enable_api_ms_win_crt_stdio_l1_1_0
1060 enable_api_ms_win_crt_string_l1_1_0
1061 enable_api_ms_win_crt_time_l1_1_0
1062 enable_api_ms_win_crt_utility_l1_1_0
1063 enable_api_ms_win_devices_config_l1_1_0
1064 enable_api_ms_win_devices_config_l1_1_1
1065 enable_api_ms_win_devices_query_l1_1_1
1066 enable_api_ms_win_downlevel_advapi32_l1_1_0
1067 enable_api_ms_win_downlevel_advapi32_l2_1_0
1068 enable_api_ms_win_downlevel_normaliz_l1_1_0
1069 enable_api_ms_win_downlevel_ole32_l1_1_0
1070 enable_api_ms_win_downlevel_shell32_l1_1_0
1071 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1072 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1073 enable_api_ms_win_downlevel_user32_l1_1_0
1074 enable_api_ms_win_downlevel_version_l1_1_0
1075 enable_api_ms_win_dx_d3dkmt_l1_1_0
1076 enable_api_ms_win_eventing_classicprovider_l1_1_0
1077 enable_api_ms_win_eventing_consumer_l1_1_0
1078 enable_api_ms_win_eventing_controller_l1_1_0
1079 enable_api_ms_win_eventing_legacy_l1_1_0
1080 enable_api_ms_win_eventing_provider_l1_1_0
1081 enable_api_ms_win_eventlog_legacy_l1_1_0
1082 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1083 enable_api_ms_win_mm_joystick_l1_1_0
1084 enable_api_ms_win_mm_misc_l1_1_1
1085 enable_api_ms_win_mm_mme_l1_1_0
1086 enable_api_ms_win_mm_time_l1_1_0
1087 enable_api_ms_win_ntuser_dc_access_l1_1_0
1088 enable_api_ms_win_ntuser_rectangle_l1_1_0
1089 enable_api_ms_win_ntuser_sysparams_l1_1_0
1090 enable_api_ms_win_perf_legacy_l1_1_0
1091 enable_api_ms_win_power_base_l1_1_0
1092 enable_api_ms_win_power_setting_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1094 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1096 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1100 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1101 enable_api_ms_win_security_audit_l1_1_1
1102 enable_api_ms_win_security_base_l1_1_0
1103 enable_api_ms_win_security_base_l1_2_0
1104 enable_api_ms_win_security_base_private_l1_1_1
1105 enable_api_ms_win_security_credentials_l1_1_0
1106 enable_api_ms_win_security_cryptoapi_l1_1_0
1107 enable_api_ms_win_security_grouppolicy_l1_1_0
1108 enable_api_ms_win_security_lsalookup_l1_1_0
1109 enable_api_ms_win_security_lsalookup_l1_1_1
1110 enable_api_ms_win_security_lsalookup_l2_1_0
1111 enable_api_ms_win_security_lsalookup_l2_1_1
1112 enable_api_ms_win_security_lsapolicy_l1_1_0
1113 enable_api_ms_win_security_provider_l1_1_0
1114 enable_api_ms_win_security_sddl_l1_1_0
1115 enable_api_ms_win_security_systemfunctions_l1_1_0
1116 enable_api_ms_win_service_core_l1_1_0
1117 enable_api_ms_win_service_core_l1_1_1
1118 enable_api_ms_win_service_management_l1_1_0
1119 enable_api_ms_win_service_management_l2_1_0
1120 enable_api_ms_win_service_private_l1_1_1
1121 enable_api_ms_win_service_winsvc_l1_1_0
1122 enable_api_ms_win_service_winsvc_l1_2_0
1123 enable_api_ms_win_shcore_obsolete_l1_1_0
1124 enable_api_ms_win_shcore_scaling_l1_1_1
1125 enable_api_ms_win_shcore_stream_l1_1_0
1126 enable_api_ms_win_shcore_thread_l1_1_0
1127 enable_api_ms_win_shell_shellcom_l1_1_0
1128 enable_api_ms_win_shell_shellfolders_l1_1_0
1129 enable_apphelp
1130 enable_appwiz_cpl
1131 enable_atl
1132 enable_atl100
1133 enable_atl110
1134 enable_atl80
1135 enable_atl90
1136 enable_atlthunk
1137 enable_atmlib
1138 enable_authz
1139 enable_avicap32
1140 enable_avifil32
1141 enable_avrt
1142 enable_bcrypt
1143 enable_bluetoothapis
1144 enable_browseui
1145 enable_bthprops_cpl
1146 enable_cabinet
1147 enable_capi2032
1148 enable_cards
1149 enable_cdosys
1150 enable_cfgmgr32
1151 enable_clusapi
1152 enable_combase
1153 enable_comcat
1154 enable_comctl32
1155 enable_comdlg32
1156 enable_compstui
1157 enable_comsvcs
1158 enable_concrt140
1159 enable_connect
1160 enable_credui
1161 enable_crtdll
1162 enable_crypt32
1163 enable_cryptdlg
1164 enable_cryptdll
1165 enable_cryptext
1166 enable_cryptnet
1167 enable_cryptui
1168 enable_ctapi32
1169 enable_ctl3d32
1170 enable_d2d1
1171 enable_d3d10
1172 enable_d3d10_1
1173 enable_d3d10core
1174 enable_d3d11
1175 enable_d3d12
1176 enable_d3d8
1177 enable_d3d9
1178 enable_d3dcompiler_33
1179 enable_d3dcompiler_34
1180 enable_d3dcompiler_35
1181 enable_d3dcompiler_36
1182 enable_d3dcompiler_37
1183 enable_d3dcompiler_38
1184 enable_d3dcompiler_39
1185 enable_d3dcompiler_40
1186 enable_d3dcompiler_41
1187 enable_d3dcompiler_42
1188 enable_d3dcompiler_43
1189 enable_d3dcompiler_46
1190 enable_d3dcompiler_47
1191 enable_d3dim
1192 enable_d3drm
1193 enable_d3dx10_33
1194 enable_d3dx10_34
1195 enable_d3dx10_35
1196 enable_d3dx10_36
1197 enable_d3dx10_37
1198 enable_d3dx10_38
1199 enable_d3dx10_39
1200 enable_d3dx10_40
1201 enable_d3dx10_41
1202 enable_d3dx10_42
1203 enable_d3dx10_43
1204 enable_d3dx11_42
1205 enable_d3dx11_43
1206 enable_d3dx9_24
1207 enable_d3dx9_25
1208 enable_d3dx9_26
1209 enable_d3dx9_27
1210 enable_d3dx9_28
1211 enable_d3dx9_29
1212 enable_d3dx9_30
1213 enable_d3dx9_31
1214 enable_d3dx9_32
1215 enable_d3dx9_33
1216 enable_d3dx9_34
1217 enable_d3dx9_35
1218 enable_d3dx9_36
1219 enable_d3dx9_37
1220 enable_d3dx9_38
1221 enable_d3dx9_39
1222 enable_d3dx9_40
1223 enable_d3dx9_41
1224 enable_d3dx9_42
1225 enable_d3dx9_43
1226 enable_d3dxof
1227 enable_davclnt
1228 enable_dbgeng
1229 enable_dbghelp
1230 enable_dciman32
1231 enable_ddraw
1232 enable_ddrawex
1233 enable_devenum
1234 enable_dhcpcsvc
1235 enable_dhtmled_ocx
1236 enable_difxapi
1237 enable_dinput
1238 enable_dinput8
1239 enable_dispex
1240 enable_dmband
1241 enable_dmcompos
1242 enable_dmime
1243 enable_dmloader
1244 enable_dmoguids
1245 enable_dmscript
1246 enable_dmstyle
1247 enable_dmsynth
1248 enable_dmusic
1249 enable_dmusic32
1250 enable_dnsapi
1251 enable_dplay
1252 enable_dplayx
1253 enable_dpnaddr
1254 enable_dpnet
1255 enable_dpnhpast
1256 enable_dpnlobby
1257 enable_dpvoice
1258 enable_dpwsockx
1259 enable_drmclien
1260 enable_dsound
1261 enable_dsquery
1262 enable_dssenh
1263 enable_dswave
1264 enable_dwmapi
1265 enable_dwrite
1266 enable_dx8vb
1267 enable_dxdiagn
1268 enable_dxerr8
1269 enable_dxerr9
1270 enable_dxgi
1271 enable_dxguid
1272 enable_dxva2
1273 enable_esent
1274 enable_evr
1275 enable_explorerframe
1276 enable_ext_ms_win_authz_context_l1_1_0
1277 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1278 enable_ext_ms_win_dwmapi_ext_l1_1_0
1279 enable_ext_ms_win_gdi_dc_create_l1_1_0
1280 enable_ext_ms_win_gdi_dc_create_l1_1_1
1281 enable_ext_ms_win_gdi_dc_l1_2_0
1282 enable_ext_ms_win_gdi_devcaps_l1_1_0
1283 enable_ext_ms_win_gdi_draw_l1_1_0
1284 enable_ext_ms_win_gdi_draw_l1_1_1
1285 enable_ext_ms_win_gdi_font_l1_1_0
1286 enable_ext_ms_win_gdi_font_l1_1_1
1287 enable_ext_ms_win_gdi_render_l1_1_0
1288 enable_ext_ms_win_kernel32_package_current_l1_1_0
1289 enable_ext_ms_win_kernel32_package_l1_1_1
1290 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1291 enable_ext_ms_win_ntuser_draw_l1_1_0
1292 enable_ext_ms_win_ntuser_gui_l1_1_0
1293 enable_ext_ms_win_ntuser_gui_l1_3_0
1294 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1295 enable_ext_ms_win_ntuser_message_l1_1_0
1296 enable_ext_ms_win_ntuser_message_l1_1_1
1297 enable_ext_ms_win_ntuser_misc_l1_1_0
1298 enable_ext_ms_win_ntuser_misc_l1_2_0
1299 enable_ext_ms_win_ntuser_misc_l1_5_1
1300 enable_ext_ms_win_ntuser_mouse_l1_1_0
1301 enable_ext_ms_win_ntuser_private_l1_1_1
1302 enable_ext_ms_win_ntuser_private_l1_3_1
1303 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1304 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1305 enable_ext_ms_win_ntuser_window_l1_1_0
1306 enable_ext_ms_win_ntuser_window_l1_1_1
1307 enable_ext_ms_win_ntuser_window_l1_1_4
1308 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1309 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1310 enable_ext_ms_win_oleacc_l1_1_0
1311 enable_ext_ms_win_ras_rasapi32_l1_1_0
1312 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1313 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1314 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1316 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1317 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1319 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1322 enable_ext_ms_win_security_credui_l1_1_0
1323 enable_ext_ms_win_security_cryptui_l1_1_0
1324 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1325 enable_ext_ms_win_shell_comdlg32_l1_1_0
1326 enable_ext_ms_win_shell_shell32_l1_2_0
1327 enable_ext_ms_win_uxtheme_themes_l1_1_0
1328 enable_faultrep
1329 enable_feclient
1330 enable_fltlib
1331 enable_fltmgr_sys
1332 enable_fntcache
1333 enable_fontsub
1334 enable_fusion
1335 enable_fwpuclnt
1336 enable_gameux
1337 enable_gdi32
1338 enable_gdiplus
1339 enable_glu32
1340 enable_gphoto2_ds
1341 enable_gpkcsp
1342 enable_hal
1343 enable_hhctrl_ocx
1344 enable_hid
1345 enable_hidclass_sys
1346 enable_hlink
1347 enable_hnetcfg
1348 enable_http_sys
1349 enable_httpapi
1350 enable_iccvid
1351 enable_icmp
1352 enable_ieframe
1353 enable_ieproxy
1354 enable_imaadp32_acm
1355 enable_imagehlp
1356 enable_imm32
1357 enable_inetcomm
1358 enable_inetcpl_cpl
1359 enable_inetmib1
1360 enable_infosoft
1361 enable_initpki
1362 enable_inkobj
1363 enable_inseng
1364 enable_iphlpapi
1365 enable_iprop
1366 enable_irprops_cpl
1367 enable_itircl
1368 enable_itss
1369 enable_joy_cpl
1370 enable_jscript
1371 enable_jsproxy
1372 enable_kerberos
1373 enable_kernel32
1374 enable_kernelbase
1375 enable_ksecdd_sys
1376 enable_ksuser
1377 enable_ktmw32
1378 enable_l3codeca_acm
1379 enable_loadperf
1380 enable_localspl
1381 enable_localui
1382 enable_lz32
1383 enable_mapi32
1384 enable_mapistub
1385 enable_mciavi32
1386 enable_mcicda
1387 enable_mciqtz32
1388 enable_mciseq
1389 enable_mciwave
1390 enable_mf
1391 enable_mf3216
1392 enable_mferror
1393 enable_mfmediaengine
1394 enable_mfplat
1395 enable_mfplay
1396 enable_mfreadwrite
1397 enable_mfuuid
1398 enable_mgmtapi
1399 enable_midimap
1400 enable_mlang
1401 enable_mmcndmgr
1402 enable_mmdevapi
1403 enable_mountmgr_sys
1404 enable_mp3dmod
1405 enable_mpr
1406 enable_mprapi
1407 enable_msacm32_drv
1408 enable_msacm32
1409 enable_msadp32_acm
1410 enable_msasn1
1411 enable_mscat32
1412 enable_mscms
1413 enable_mscoree
1414 enable_mscorwks
1415 enable_msctf
1416 enable_msctfp
1417 enable_msdaps
1418 enable_msdelta
1419 enable_msdmo
1420 enable_msdrm
1421 enable_msftedit
1422 enable_msg711_acm
1423 enable_msgsm32_acm
1424 enable_mshtml_tlb
1425 enable_mshtml
1426 enable_msi
1427 enable_msident
1428 enable_msimg32
1429 enable_msimsg
1430 enable_msimtf
1431 enable_msisip
1432 enable_msisys_ocx
1433 enable_msls31
1434 enable_msnet32
1435 enable_mspatcha
1436 enable_msports
1437 enable_msrle32
1438 enable_msscript_ocx
1439 enable_mssign32
1440 enable_mssip32
1441 enable_mstask
1442 enable_msvcirt
1443 enable_msvcm80
1444 enable_msvcm90
1445 enable_msvcp100
1446 enable_msvcp110
1447 enable_msvcp120
1448 enable_msvcp120_app
1449 enable_msvcp140
1450 enable_msvcp60
1451 enable_msvcp70
1452 enable_msvcp71
1453 enable_msvcp80
1454 enable_msvcp90
1455 enable_msvcr100
1456 enable_msvcr110
1457 enable_msvcr120
1458 enable_msvcr120_app
1459 enable_msvcr70
1460 enable_msvcr71
1461 enable_msvcr80
1462 enable_msvcr90
1463 enable_msvcrt
1464 enable_msvcrt20
1465 enable_msvcrt40
1466 enable_msvcrtd
1467 enable_msvfw32
1468 enable_msvidc32
1469 enable_mswsock
1470 enable_msxml
1471 enable_msxml2
1472 enable_msxml3
1473 enable_msxml4
1474 enable_msxml6
1475 enable_mtxdm
1476 enable_ncrypt
1477 enable_nddeapi
1478 enable_ndis_sys
1479 enable_netapi32
1480 enable_netcfgx
1481 enable_netprofm
1482 enable_newdev
1483 enable_ninput
1484 enable_normaliz
1485 enable_npmshtml
1486 enable_npptools
1487 enable_ntdll
1488 enable_ntdsapi
1489 enable_ntoskrnl_exe
1490 enable_ntprint
1491 enable_objsel
1492 enable_odbc32
1493 enable_odbccp32
1494 enable_odbccu32
1495 enable_ole32
1496 enable_oleacc
1497 enable_oleaut32
1498 enable_olecli32
1499 enable_oledb32
1500 enable_oledlg
1501 enable_olepro32
1502 enable_olesvr32
1503 enable_olethk32
1504 enable_opcservices
1505 enable_openal32
1506 enable_opencl
1507 enable_opengl32
1508 enable_packager
1509 enable_pdh
1510 enable_photometadatahandler
1511 enable_pidgen
1512 enable_powrprof
1513 enable_printui
1514 enable_prntvpt
1515 enable_propsys
1516 enable_psapi
1517 enable_pstorec
1518 enable_qcap
1519 enable_qedit
1520 enable_qmgr
1521 enable_qmgrprxy
1522 enable_quartz
1523 enable_query
1524 enable_qwave
1525 enable_rasapi32
1526 enable_rasdlg
1527 enable_regapi
1528 enable_resutils
1529 enable_riched20
1530 enable_riched32
1531 enable_rpcrt4
1532 enable_rsabase
1533 enable_rsaenh
1534 enable_rstrtmgr
1535 enable_rtutils
1536 enable_samlib
1537 enable_sane_ds
1538 enable_sapi
1539 enable_sas
1540 enable_scarddlg
1541 enable_sccbase
1542 enable_schannel
1543 enable_schedsvc
1544 enable_scrobj
1545 enable_scrrun
1546 enable_scsiport_sys
1547 enable_secur32
1548 enable_security
1549 enable_sensapi
1550 enable_serialui
1551 enable_setupapi
1552 enable_sfc
1553 enable_sfc_os
1554 enable_shcore
1555 enable_shdoclc
1556 enable_shdocvw
1557 enable_shell32
1558 enable_shfolder
1559 enable_shlwapi
1560 enable_slbcsp
1561 enable_slc
1562 enable_snmpapi
1563 enable_softpub
1564 enable_spoolss
1565 enable_srclient
1566 enable_sspicli
1567 enable_stdole2_tlb
1568 enable_stdole32_tlb
1569 enable_sti
1570 enable_strmbase
1571 enable_strmdll
1572 enable_strmiids
1573 enable_svrapi
1574 enable_sxs
1575 enable_t2embed
1576 enable_tapi32
1577 enable_taskschd
1578 enable_tdh
1579 enable_tdi_sys
1580 enable_traffic
1581 enable_twain_32
1582 enable_tzres
1583 enable_ucrtbase
1584 enable_uianimation
1585 enable_uiautomationcore
1586 enable_uiribbon
1587 enable_unicows
1588 enable_updspapi
1589 enable_url
1590 enable_urlmon
1591 enable_usbd_sys
1592 enable_user32
1593 enable_userenv
1594 enable_usp10
1595 enable_utildll
1596 enable_uuid
1597 enable_uxtheme
1598 enable_vbscript
1599 enable_vcomp
1600 enable_vcomp100
1601 enable_vcomp110
1602 enable_vcomp120
1603 enable_vcomp140
1604 enable_vcomp90
1605 enable_vcruntime140
1606 enable_vdmdbg
1607 enable_version
1608 enable_virtdisk
1609 enable_vssapi
1610 enable_vulkan_1
1611 enable_wbemdisp
1612 enable_wbemprox
1613 enable_wdscore
1614 enable_webservices
1615 enable_wer
1616 enable_wevtapi
1617 enable_wiaservc
1618 enable_wimgapi
1619 enable_windowscodecs
1620 enable_windowscodecsext
1621 enable_winealsa_drv
1622 enable_wineandroid_drv
1623 enable_winebus_sys
1624 enable_winecoreaudio_drv
1625 enable_winecrt0
1626 enable_wined3d
1627 enable_winegstreamer
1628 enable_winehid_sys
1629 enable_winejoystick_drv
1630 enable_winemac_drv
1631 enable_winemapi
1632 enable_wineoss_drv
1633 enable_wineps_drv
1634 enable_winepulse_drv
1635 enable_wineqtdecoder
1636 enable_winevulkan
1637 enable_winex11_drv
1638 enable_wing32
1639 enable_winhttp
1640 enable_wininet
1641 enable_winmm
1642 enable_winnls32
1643 enable_winscard
1644 enable_winspool_drv
1645 enable_winsta
1646 enable_wintab32
1647 enable_wintrust
1648 enable_winusb
1649 enable_wlanapi
1650 enable_wlanui
1651 enable_wldap32
1652 enable_wmasf
1653 enable_wmcodecdspuuid
1654 enable_wmi
1655 enable_wmiutils
1656 enable_wmp
1657 enable_wmphoto
1658 enable_wmvcore
1659 enable_wnaspi32
1660 enable_wpc
1661 enable_wpcap
1662 enable_ws2_32
1663 enable_wsdapi
1664 enable_wshom_ocx
1665 enable_wsnmp32
1666 enable_wsock32
1667 enable_wtsapi32
1668 enable_wuapi
1669 enable_wuaueng
1670 enable_x3daudio1_0
1671 enable_x3daudio1_1
1672 enable_x3daudio1_2
1673 enable_x3daudio1_3
1674 enable_x3daudio1_4
1675 enable_x3daudio1_5
1676 enable_x3daudio1_6
1677 enable_x3daudio1_7
1678 enable_xapofx1_1
1679 enable_xapofx1_2
1680 enable_xapofx1_3
1681 enable_xapofx1_4
1682 enable_xapofx1_5
1683 enable_xaudio2_0
1684 enable_xaudio2_1
1685 enable_xaudio2_2
1686 enable_xaudio2_3
1687 enable_xaudio2_4
1688 enable_xaudio2_5
1689 enable_xaudio2_6
1690 enable_xaudio2_7
1691 enable_xaudio2_8
1692 enable_xaudio2_9
1693 enable_xinput1_1
1694 enable_xinput1_2
1695 enable_xinput1_3
1696 enable_xinput1_4
1697 enable_xinput9_1_0
1698 enable_xmllite
1699 enable_xolehlp
1700 enable_xpsprint
1701 enable_xpssvcs
1702 enable_fonts
1703 enable_include
1704 enable_port
1705 enable_wine
1706 enable_wpp
1707 enable_loader
1708 enable_po
1709 enable_arp
1710 enable_aspnet_regiis
1711 enable_attrib
1712 enable_cabarc
1713 enable_cacls
1714 enable_clock
1715 enable_cmd
1716 enable_conhost
1717 enable_control
1718 enable_cscript
1719 enable_dism
1720 enable_dpnsvr
1721 enable_dxdiag
1722 enable_eject
1723 enable_expand
1724 enable_explorer
1725 enable_extrac32
1726 enable_fc
1727 enable_find
1728 enable_findstr
1729 enable_fsutil
1730 enable_hh
1731 enable_hostname
1732 enable_icacls
1733 enable_icinfo
1734 enable_iexplore
1735 enable_ipconfig
1736 enable_lodctr
1737 enable_mofcomp
1738 enable_mshta
1739 enable_msidb
1740 enable_msiexec
1741 enable_msinfo32
1742 enable_net
1743 enable_netsh
1744 enable_netstat
1745 enable_ngen
1746 enable_notepad
1747 enable_oleview
1748 enable_ping
1749 enable_plugplay
1750 enable_powershell
1751 enable_presentationfontcache
1752 enable_progman
1753 enable_reg
1754 enable_regasm
1755 enable_regedit
1756 enable_regini
1757 enable_regsvcs
1758 enable_regsvr32
1759 enable_rpcss
1760 enable_rundll32
1761 enable_sc
1762 enable_schtasks
1763 enable_sdbinst
1764 enable_secedit
1765 enable_servicemodelreg
1766 enable_services
1767 enable_shutdown
1768 enable_spoolsv
1769 enable_start
1770 enable_subst
1771 enable_svchost
1772 enable_systeminfo
1773 enable_taskkill
1774 enable_tasklist
1775 enable_taskmgr
1776 enable_termsv
1777 enable_uninstaller
1778 enable_unlodctr
1779 enable_view
1780 enable_wevtutil
1781 enable_wineboot
1782 enable_winebrowser
1783 enable_winecfg
1784 enable_wineconsole
1785 enable_winedbg
1786 enable_winedevice
1787 enable_winefile
1788 enable_winemenubuilder
1789 enable_winemine
1790 enable_winemsibuilder
1791 enable_winepath
1792 enable_winetest
1793 enable_winhlp32
1794 enable_winmgmt
1795 enable_winver
1796 enable_wmic
1797 enable_wmplayer
1798 enable_wordpad
1799 enable_write
1800 enable_wscript
1801 enable_wuauserv
1802 enable_wusa
1803 enable_xcopy
1804 enable_server
1805 enable_tools
1806 enable_sfnt2fon
1807 enable_widl
1808 enable_winebuild
1809 enable_winedump
1810 enable_winegcc
1811 enable_winemaker
1812 enable_wmc
1813 enable_wrc
1815 ac_precious_vars='build_alias
1816 host_alias
1817 target_alias
1819 CFLAGS
1820 LDFLAGS
1821 LIBS
1822 CPPFLAGS
1824 CXXFLAGS
1827 OBJC
1828 OBJCFLAGS
1829 OBJCPP
1830 XMKMF
1831 XML2_CFLAGS
1832 XML2_LIBS
1833 XSLT_CFLAGS
1834 XSLT_LIBS
1835 INOTIFY_CFLAGS
1836 INOTIFY_LIBS
1837 DBUS_CFLAGS
1838 DBUS_LIBS
1839 HAL_CFLAGS
1840 HAL_LIBS
1841 GNUTLS_CFLAGS
1842 GNUTLS_LIBS
1843 SANE_CFLAGS
1844 SANE_LIBS
1845 GPHOTO2_CFLAGS
1846 GPHOTO2_LIBS
1847 GPHOTO2_PORT_CFLAGS
1848 GPHOTO2_PORT_LIBS
1849 LCMS2_CFLAGS
1850 LCMS2_LIBS
1851 FREETYPE_CFLAGS
1852 FREETYPE_LIBS
1853 Z_CFLAGS
1854 Z_LIBS
1855 PULSE_CFLAGS
1856 PULSE_LIBS
1857 GSTREAMER_CFLAGS
1858 GSTREAMER_LIBS
1859 UDEV_CFLAGS
1860 UDEV_LIBS
1861 UNWIND_CFLAGS
1862 UNWIND_LIBS
1863 SDL2_CFLAGS
1864 SDL2_LIBS
1865 FAUDIO_CFLAGS
1866 FAUDIO_LIBS
1867 CAPI20_CFLAGS
1868 CAPI20_LIBS
1869 CUPS_CFLAGS
1870 CUPS_LIBS
1871 FONTCONFIG_CFLAGS
1872 FONTCONFIG_LIBS
1873 KRB5_CFLAGS
1874 KRB5_LIBS
1875 GSSAPI_CFLAGS
1876 GSSAPI_LIBS
1877 JPEG_CFLAGS
1878 JPEG_LIBS
1879 PNG_CFLAGS
1880 PNG_LIBS
1881 TIFF_CFLAGS
1882 TIFF_LIBS
1883 MPG123_CFLAGS
1884 MPG123_LIBS
1885 NETAPI_CFLAGS
1886 NETAPI_LIBS
1887 VKD3D_CFLAGS
1888 VKD3D_LIBS
1889 LDAP_CFLAGS
1890 LDAP_LIBS'
1893 # Initialize some variables set by options.
1894 ac_init_help=
1895 ac_init_version=false
1896 ac_unrecognized_opts=
1897 ac_unrecognized_sep=
1898 # The variables have the same names as the options, with
1899 # dashes changed to underlines.
1900 cache_file=/dev/null
1901 exec_prefix=NONE
1902 no_create=
1903 no_recursion=
1904 prefix=NONE
1905 program_prefix=NONE
1906 program_suffix=NONE
1907 program_transform_name=s,x,x,
1908 silent=
1909 site=
1910 srcdir=
1911 verbose=
1912 x_includes=NONE
1913 x_libraries=NONE
1915 # Installation directory options.
1916 # These are left unexpanded so users can "make install exec_prefix=/foo"
1917 # and all the variables that are supposed to be based on exec_prefix
1918 # by default will actually change.
1919 # Use braces instead of parens because sh, perl, etc. also accept them.
1920 # (The list follows the same order as the GNU Coding Standards.)
1921 bindir='${exec_prefix}/bin'
1922 sbindir='${exec_prefix}/sbin'
1923 libexecdir='${exec_prefix}/libexec'
1924 datarootdir='${prefix}/share'
1925 datadir='${datarootdir}'
1926 sysconfdir='${prefix}/etc'
1927 sharedstatedir='${prefix}/com'
1928 localstatedir='${prefix}/var'
1929 runstatedir='${localstatedir}/run'
1930 includedir='${prefix}/include'
1931 oldincludedir='/usr/include'
1932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1933 infodir='${datarootdir}/info'
1934 htmldir='${docdir}'
1935 dvidir='${docdir}'
1936 pdfdir='${docdir}'
1937 psdir='${docdir}'
1938 libdir='${exec_prefix}/lib'
1939 localedir='${datarootdir}/locale'
1940 mandir='${datarootdir}/man'
1942 ac_prev=
1943 ac_dashdash=
1944 for ac_option
1946 # If the previous option needs an argument, assign it.
1947 if test -n "$ac_prev"; then
1948 eval $ac_prev=\$ac_option
1949 ac_prev=
1950 continue
1953 case $ac_option in
1954 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1955 *=) ac_optarg= ;;
1956 *) ac_optarg=yes ;;
1957 esac
1959 # Accept the important Cygnus configure options, so we can diagnose typos.
1961 case $ac_dashdash$ac_option in
1963 ac_dashdash=yes ;;
1965 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1966 ac_prev=bindir ;;
1967 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1968 bindir=$ac_optarg ;;
1970 -build | --build | --buil | --bui | --bu)
1971 ac_prev=build_alias ;;
1972 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1973 build_alias=$ac_optarg ;;
1975 -cache-file | --cache-file | --cache-fil | --cache-fi \
1976 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1977 ac_prev=cache_file ;;
1978 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1979 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1980 cache_file=$ac_optarg ;;
1982 --config-cache | -C)
1983 cache_file=config.cache ;;
1985 -datadir | --datadir | --datadi | --datad)
1986 ac_prev=datadir ;;
1987 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1988 datadir=$ac_optarg ;;
1990 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1991 | --dataroo | --dataro | --datar)
1992 ac_prev=datarootdir ;;
1993 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1994 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1995 datarootdir=$ac_optarg ;;
1997 -disable-* | --disable-*)
1998 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1999 # Reject names that are not valid shell variable names.
2000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2001 as_fn_error $? "invalid feature name: $ac_useropt"
2002 ac_useropt_orig=$ac_useropt
2003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2004 case $ac_user_opts in
2006 "enable_$ac_useropt"
2007 "*) ;;
2008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2009 ac_unrecognized_sep=', ';;
2010 esac
2011 eval enable_$ac_useropt=no ;;
2013 -docdir | --docdir | --docdi | --doc | --do)
2014 ac_prev=docdir ;;
2015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2016 docdir=$ac_optarg ;;
2018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2019 ac_prev=dvidir ;;
2020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2021 dvidir=$ac_optarg ;;
2023 -enable-* | --enable-*)
2024 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2025 # Reject names that are not valid shell variable names.
2026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2027 as_fn_error $? "invalid feature name: $ac_useropt"
2028 ac_useropt_orig=$ac_useropt
2029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2030 case $ac_user_opts in
2032 "enable_$ac_useropt"
2033 "*) ;;
2034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2035 ac_unrecognized_sep=', ';;
2036 esac
2037 eval enable_$ac_useropt=\$ac_optarg ;;
2039 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2040 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2041 | --exec | --exe | --ex)
2042 ac_prev=exec_prefix ;;
2043 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2044 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2045 | --exec=* | --exe=* | --ex=*)
2046 exec_prefix=$ac_optarg ;;
2048 -gas | --gas | --ga | --g)
2049 # Obsolete; use --with-gas.
2050 with_gas=yes ;;
2052 -help | --help | --hel | --he | -h)
2053 ac_init_help=long ;;
2054 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2055 ac_init_help=recursive ;;
2056 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2057 ac_init_help=short ;;
2059 -host | --host | --hos | --ho)
2060 ac_prev=host_alias ;;
2061 -host=* | --host=* | --hos=* | --ho=*)
2062 host_alias=$ac_optarg ;;
2064 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2065 ac_prev=htmldir ;;
2066 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2067 | --ht=*)
2068 htmldir=$ac_optarg ;;
2070 -includedir | --includedir | --includedi | --included | --include \
2071 | --includ | --inclu | --incl | --inc)
2072 ac_prev=includedir ;;
2073 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2074 | --includ=* | --inclu=* | --incl=* | --inc=*)
2075 includedir=$ac_optarg ;;
2077 -infodir | --infodir | --infodi | --infod | --info | --inf)
2078 ac_prev=infodir ;;
2079 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2080 infodir=$ac_optarg ;;
2082 -libdir | --libdir | --libdi | --libd)
2083 ac_prev=libdir ;;
2084 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2085 libdir=$ac_optarg ;;
2087 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2088 | --libexe | --libex | --libe)
2089 ac_prev=libexecdir ;;
2090 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2091 | --libexe=* | --libex=* | --libe=*)
2092 libexecdir=$ac_optarg ;;
2094 -localedir | --localedir | --localedi | --localed | --locale)
2095 ac_prev=localedir ;;
2096 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2097 localedir=$ac_optarg ;;
2099 -localstatedir | --localstatedir | --localstatedi | --localstated \
2100 | --localstate | --localstat | --localsta | --localst | --locals)
2101 ac_prev=localstatedir ;;
2102 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2103 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2104 localstatedir=$ac_optarg ;;
2106 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2107 ac_prev=mandir ;;
2108 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2109 mandir=$ac_optarg ;;
2111 -nfp | --nfp | --nf)
2112 # Obsolete; use --without-fp.
2113 with_fp=no ;;
2115 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2116 | --no-cr | --no-c | -n)
2117 no_create=yes ;;
2119 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2120 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2121 no_recursion=yes ;;
2123 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2124 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2125 | --oldin | --oldi | --old | --ol | --o)
2126 ac_prev=oldincludedir ;;
2127 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2128 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2129 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2130 oldincludedir=$ac_optarg ;;
2132 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2133 ac_prev=prefix ;;
2134 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2135 prefix=$ac_optarg ;;
2137 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2138 | --program-pre | --program-pr | --program-p)
2139 ac_prev=program_prefix ;;
2140 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2141 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2142 program_prefix=$ac_optarg ;;
2144 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2145 | --program-suf | --program-su | --program-s)
2146 ac_prev=program_suffix ;;
2147 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2148 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2149 program_suffix=$ac_optarg ;;
2151 -program-transform-name | --program-transform-name \
2152 | --program-transform-nam | --program-transform-na \
2153 | --program-transform-n | --program-transform- \
2154 | --program-transform | --program-transfor \
2155 | --program-transfo | --program-transf \
2156 | --program-trans | --program-tran \
2157 | --progr-tra | --program-tr | --program-t)
2158 ac_prev=program_transform_name ;;
2159 -program-transform-name=* | --program-transform-name=* \
2160 | --program-transform-nam=* | --program-transform-na=* \
2161 | --program-transform-n=* | --program-transform-=* \
2162 | --program-transform=* | --program-transfor=* \
2163 | --program-transfo=* | --program-transf=* \
2164 | --program-trans=* | --program-tran=* \
2165 | --progr-tra=* | --program-tr=* | --program-t=*)
2166 program_transform_name=$ac_optarg ;;
2168 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2169 ac_prev=pdfdir ;;
2170 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2171 pdfdir=$ac_optarg ;;
2173 -psdir | --psdir | --psdi | --psd | --ps)
2174 ac_prev=psdir ;;
2175 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2176 psdir=$ac_optarg ;;
2178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2179 | -silent | --silent | --silen | --sile | --sil)
2180 silent=yes ;;
2182 -runstatedir | --runstatedir | --runstatedi | --runstated \
2183 | --runstate | --runstat | --runsta | --runst | --runs \
2184 | --run | --ru | --r)
2185 ac_prev=runstatedir ;;
2186 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2187 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2188 | --run=* | --ru=* | --r=*)
2189 runstatedir=$ac_optarg ;;
2191 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2192 ac_prev=sbindir ;;
2193 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2194 | --sbi=* | --sb=*)
2195 sbindir=$ac_optarg ;;
2197 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2198 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2199 | --sharedst | --shareds | --shared | --share | --shar \
2200 | --sha | --sh)
2201 ac_prev=sharedstatedir ;;
2202 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2203 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2204 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2205 | --sha=* | --sh=*)
2206 sharedstatedir=$ac_optarg ;;
2208 -site | --site | --sit)
2209 ac_prev=site ;;
2210 -site=* | --site=* | --sit=*)
2211 site=$ac_optarg ;;
2213 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2214 ac_prev=srcdir ;;
2215 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2216 srcdir=$ac_optarg ;;
2218 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2219 | --syscon | --sysco | --sysc | --sys | --sy)
2220 ac_prev=sysconfdir ;;
2221 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2222 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2223 sysconfdir=$ac_optarg ;;
2225 -target | --target | --targe | --targ | --tar | --ta | --t)
2226 ac_prev=target_alias ;;
2227 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2228 target_alias=$ac_optarg ;;
2230 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2231 verbose=yes ;;
2233 -version | --version | --versio | --versi | --vers | -V)
2234 ac_init_version=: ;;
2236 -with-* | --with-*)
2237 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2238 # Reject names that are not valid shell variable names.
2239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2240 as_fn_error $? "invalid package name: $ac_useropt"
2241 ac_useropt_orig=$ac_useropt
2242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2243 case $ac_user_opts in
2245 "with_$ac_useropt"
2246 "*) ;;
2247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2248 ac_unrecognized_sep=', ';;
2249 esac
2250 eval with_$ac_useropt=\$ac_optarg ;;
2252 -without-* | --without-*)
2253 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2254 # Reject names that are not valid shell variable names.
2255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2256 as_fn_error $? "invalid package name: $ac_useropt"
2257 ac_useropt_orig=$ac_useropt
2258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2259 case $ac_user_opts in
2261 "with_$ac_useropt"
2262 "*) ;;
2263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2264 ac_unrecognized_sep=', ';;
2265 esac
2266 eval with_$ac_useropt=no ;;
2268 --x)
2269 # Obsolete; use --with-x.
2270 with_x=yes ;;
2272 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2273 | --x-incl | --x-inc | --x-in | --x-i)
2274 ac_prev=x_includes ;;
2275 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2276 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2277 x_includes=$ac_optarg ;;
2279 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2280 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2281 ac_prev=x_libraries ;;
2282 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2283 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2284 x_libraries=$ac_optarg ;;
2286 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2287 Try \`$0 --help' for more information"
2290 *=*)
2291 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2292 # Reject names that are not valid shell variable names.
2293 case $ac_envvar in #(
2294 '' | [0-9]* | *[!_$as_cr_alnum]* )
2295 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2296 esac
2297 eval $ac_envvar=\$ac_optarg
2298 export $ac_envvar ;;
2301 # FIXME: should be removed in autoconf 3.0.
2302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2305 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2308 esac
2309 done
2311 if test -n "$ac_prev"; then
2312 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2313 as_fn_error $? "missing argument to $ac_option"
2316 if test -n "$ac_unrecognized_opts"; then
2317 case $enable_option_checking in
2318 no) ;;
2319 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2321 esac
2324 # Check all directory arguments for consistency.
2325 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2326 datadir sysconfdir sharedstatedir localstatedir includedir \
2327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2328 libdir localedir mandir runstatedir
2330 eval ac_val=\$$ac_var
2331 # Remove trailing slashes.
2332 case $ac_val in
2333 */ )
2334 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2335 eval $ac_var=\$ac_val;;
2336 esac
2337 # Be sure to have absolute directory names.
2338 case $ac_val in
2339 [\\/$]* | ?:[\\/]* ) continue;;
2340 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2341 esac
2342 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2343 done
2345 # There might be people who depend on the old broken behavior: `$host'
2346 # used to hold the argument of --host etc.
2347 # FIXME: To remove some day.
2348 build=$build_alias
2349 host=$host_alias
2350 target=$target_alias
2352 # FIXME: To remove some day.
2353 if test "x$host_alias" != x; then
2354 if test "x$build_alias" = x; then
2355 cross_compiling=maybe
2356 elif test "x$build_alias" != "x$host_alias"; then
2357 cross_compiling=yes
2361 ac_tool_prefix=
2362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2364 test "$silent" = yes && exec 6>/dev/null
2367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2368 ac_ls_di=`ls -di .` &&
2369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2370 as_fn_error $? "working directory cannot be determined"
2371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2372 as_fn_error $? "pwd does not report name of working directory"
2375 # Find the source files, if location was not specified.
2376 if test -z "$srcdir"; then
2377 ac_srcdir_defaulted=yes
2378 # Try the directory containing this script, then the parent directory.
2379 ac_confdir=`$as_dirname -- "$as_myself" ||
2380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2381 X"$as_myself" : 'X\(//\)[^/]' \| \
2382 X"$as_myself" : 'X\(//\)$' \| \
2383 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2384 $as_echo X"$as_myself" |
2385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2386 s//\1/
2389 /^X\(\/\/\)[^/].*/{
2390 s//\1/
2393 /^X\(\/\/\)$/{
2394 s//\1/
2397 /^X\(\/\).*/{
2398 s//\1/
2401 s/.*/./; q'`
2402 srcdir=$ac_confdir
2403 if test ! -r "$srcdir/$ac_unique_file"; then
2404 srcdir=..
2406 else
2407 ac_srcdir_defaulted=no
2409 if test ! -r "$srcdir/$ac_unique_file"; then
2410 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2411 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2414 ac_abs_confdir=`(
2415 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2416 pwd)`
2417 # When building in place, set srcdir=.
2418 if test "$ac_abs_confdir" = "$ac_pwd"; then
2419 srcdir=.
2421 # Remove unnecessary trailing slashes from srcdir.
2422 # Double slashes in file names in object file debugging info
2423 # mess up M-x gdb in Emacs.
2424 case $srcdir in
2425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2426 esac
2427 for ac_var in $ac_precious_vars; do
2428 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2429 eval ac_env_${ac_var}_value=\$${ac_var}
2430 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2431 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2432 done
2435 # Report the --help message.
2437 if test "$ac_init_help" = "long"; then
2438 # Omit some internal or obsolete options to make the list less imposing.
2439 # This message is too long to be a string in the A/UX 3.1 sh.
2440 cat <<_ACEOF
2441 \`configure' configures Wine 4.15 to adapt to many kinds of systems.
2443 Usage: $0 [OPTION]... [VAR=VALUE]...
2445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2446 VAR=VALUE. See below for descriptions of some of the useful variables.
2448 Defaults for the options are specified in brackets.
2450 Configuration:
2451 -h, --help display this help and exit
2452 --help=short display options specific to this package
2453 --help=recursive display the short help of all the included packages
2454 -V, --version display version information and exit
2455 -q, --quiet, --silent do not print \`checking ...' messages
2456 --cache-file=FILE cache test results in FILE [disabled]
2457 -C, --config-cache alias for \`--cache-file=config.cache'
2458 -n, --no-create do not create output files
2459 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2461 Installation directories:
2462 --prefix=PREFIX install architecture-independent files in PREFIX
2463 [$ac_default_prefix]
2464 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2465 [PREFIX]
2467 By default, \`make install' will install all the files in
2468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2470 for instance \`--prefix=\$HOME'.
2472 For better control, use the options below.
2474 Fine tuning of the installation directories:
2475 --bindir=DIR user executables [EPREFIX/bin]
2476 --sbindir=DIR system admin executables [EPREFIX/sbin]
2477 --libexecdir=DIR program executables [EPREFIX/libexec]
2478 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2479 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2480 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2481 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2482 --libdir=DIR object code libraries [EPREFIX/lib]
2483 --includedir=DIR C header files [PREFIX/include]
2484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2487 --infodir=DIR info documentation [DATAROOTDIR/info]
2488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2489 --mandir=DIR man documentation [DATAROOTDIR/man]
2490 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2491 --htmldir=DIR html documentation [DOCDIR]
2492 --dvidir=DIR dvi documentation [DOCDIR]
2493 --pdfdir=DIR pdf documentation [DOCDIR]
2494 --psdir=DIR ps documentation [DOCDIR]
2495 _ACEOF
2497 cat <<\_ACEOF
2499 X features:
2500 --x-includes=DIR X include files are in DIR
2501 --x-libraries=DIR X library files are in DIR
2503 System types:
2504 --build=BUILD configure for building on BUILD [guessed]
2505 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2506 _ACEOF
2509 if test -n "$ac_init_help"; then
2510 case $ac_init_help in
2511 short | recursive ) echo "Configuration of Wine 4.15:";;
2512 esac
2513 cat <<\_ACEOF
2515 Optional Features:
2516 --disable-option-checking ignore unrecognized --enable/--with options
2517 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2518 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2519 --disable-win16 do not include Win16 support
2520 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2521 binaries)
2522 --disable-tests do not build the regression tests
2523 --enable-maintainer-mode
2524 enable maintainer-specific build rules
2525 --disable-largefile omit support for large files
2527 Optional Packages:
2528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2530 --without-alsa do not use the Alsa sound support
2531 --without-capi do not use CAPI (ISDN support)
2532 --without-cms do not use CMS (color management support)
2533 --without-coreaudio do not use the CoreAudio sound support
2534 --without-cups do not use CUPS
2535 --without-curses do not use (n)curses
2536 --without-dbus do not use DBus (dynamic device support)
2537 --without-faudio do not use FAudio (XAudio2 support)
2538 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2539 --without-fontconfig do not use fontconfig
2540 --without-freetype do not use the FreeType library
2541 --without-gettext do not use gettext
2542 --with-gettextpo use the GetTextPO library to rebuild po files
2543 --without-gphoto do not use gphoto (Digital Camera support)
2544 --without-glu do not use the GLU library
2545 --without-gnutls do not use GnuTLS (schannel support)
2546 --without-gsm do not use libgsm (GSM 06.10 codec support)
2547 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2548 --without-gstreamer do not use GStreamer (codecs support)
2549 --without-hal do not use HAL (dynamic device support)
2550 --without-inotify do not use inotify (filesystem change notifications)
2551 --without-jpeg do not use JPEG
2552 --without-krb5 do not use krb5 (Kerberos)
2553 --without-ldap do not use LDAP
2554 --without-mingw do not use the MinGW cross-compiler
2555 --without-mpg123 do not use the mpg123 library
2556 --without-netapi do not use the Samba NetAPI library
2557 --without-openal do not use OpenAL
2558 --without-opencl do not use OpenCL
2559 --without-opengl do not use OpenGL
2560 --without-osmesa do not use the OSMesa library
2561 --without-oss do not use the OSS sound support
2562 --without-pcap do not use the Packet Capture library
2563 --without-png do not use PNG
2564 --without-pthread do not use the pthread library
2565 --without-pulse do not use PulseAudio sound support
2566 --without-sane do not use SANE (scanner support)
2567 --without-sdl do not use SDL
2568 --without-tiff do not use TIFF
2569 --without-udev do not use udev (plug and play support)
2570 --without-unwind do not use the libunwind library (exception
2571 handling)
2572 --without-v4l2 do not use v4l2 (video capture)
2573 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2574 --without-vulkan do not use Vulkan
2575 --without-xcomposite do not use the Xcomposite extension
2576 --without-xcursor do not use the Xcursor extension
2577 --without-xfixes do not use Xfixes for clipboard change notifications
2578 --without-xinerama do not use Xinerama (multi-monitor support)
2579 --without-xinput do not use the Xinput extension
2580 --without-xinput2 do not use the Xinput 2 extension
2581 --without-xml do not use XML
2582 --without-xrandr do not use Xrandr (resolution changes)
2583 --without-xrender do not use the Xrender extension
2584 --without-xshape do not use the Xshape extension
2585 --without-xshm do not use XShm (shared memory extension)
2586 --without-xslt do not use XSLT
2587 --without-xxf86vm do not use XFree video mode extension
2588 --without-zlib do not use Zlib (data compression)
2589 --with-wine-tools=DIR use Wine tools from directory DIR
2590 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2591 --with-x use the X Window System
2593 Some influential environment variables:
2594 CC C compiler command
2595 CFLAGS C compiler flags
2596 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2597 nonstandard directory <lib dir>
2598 LIBS libraries to pass to the linker, e.g. -l<library>
2599 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2600 you have headers in a nonstandard directory <include dir>
2601 CXX C++ compiler command
2602 CXXFLAGS C++ compiler flags
2603 CPP C preprocessor
2604 OBJC Objective C compiler command
2605 OBJCFLAGS Objective C compiler flags
2606 OBJCPP Objective C preprocessor
2607 XMKMF Path to xmkmf, Makefile generator for X Window System
2608 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2609 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2610 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2611 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2612 INOTIFY_CFLAGS
2613 C compiler flags for libinotify, overriding pkg-config
2614 INOTIFY_LIBS
2615 Linker flags for libinotify, overriding pkg-config
2616 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2617 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2618 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2619 HAL_LIBS Linker flags for hal, overriding pkg-config
2620 GNUTLS_CFLAGS
2621 C compiler flags for gnutls, overriding pkg-config
2622 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2623 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2624 SANE_LIBS Linker flags for libsane, overriding pkg-config
2625 GPHOTO2_CFLAGS
2626 C compiler flags for libgphoto2, overriding pkg-config
2627 GPHOTO2_LIBS
2628 Linker flags for libgphoto2, overriding pkg-config
2629 GPHOTO2_PORT_CFLAGS
2630 C compiler flags for libgphoto2_port, overriding pkg-config
2631 GPHOTO2_PORT_LIBS
2632 Linker flags for libgphoto2_port, overriding pkg-config
2633 LCMS2_CFLAGS
2634 C compiler flags for lcms2, overriding pkg-config
2635 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2636 FREETYPE_CFLAGS
2637 C compiler flags for freetype2, overriding pkg-config
2638 FREETYPE_LIBS
2639 Linker flags for freetype2, overriding pkg-config
2640 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2641 Z_LIBS Linker flags for libz, overriding pkg-config
2642 PULSE_CFLAGS
2643 C compiler flags for libpulse, overriding pkg-config
2644 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2645 GSTREAMER_CFLAGS
2646 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2647 gstreamer-audio-1.0, overriding pkg-config
2648 GSTREAMER_LIBS
2649 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2650 gstreamer-audio-1.0, overriding pkg-config
2651 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2652 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2653 UNWIND_CFLAGS
2654 C compiler flags for libunwind, overriding pkg-config
2655 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2656 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2657 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2658 FAUDIO_CFLAGS
2659 C compiler flags for faudio, overriding pkg-config
2660 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2661 CAPI20_CFLAGS
2662 C compiler flags for capi20, overriding pkg-config
2663 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2664 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2665 CUPS_LIBS Linker flags for cups, overriding pkg-config
2666 FONTCONFIG_CFLAGS
2667 C compiler flags for fontconfig, overriding pkg-config
2668 FONTCONFIG_LIBS
2669 Linker flags for fontconfig, overriding pkg-config
2670 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2671 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2672 GSSAPI_CFLAGS
2673 C compiler flags for krb5-gssapi, overriding pkg-config
2674 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2675 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2676 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2677 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2678 PNG_LIBS Linker flags for libpng, overriding pkg-config
2679 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2680 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2681 MPG123_CFLAGS
2682 C compiler flags for libmpg123, overriding pkg-config
2683 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2684 NETAPI_CFLAGS
2685 C compiler flags for netapi, overriding pkg-config
2686 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2687 VKD3D_CFLAGS
2688 C compiler flags for libvkd3d, overriding pkg-config
2689 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2690 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2691 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2693 Use these variables to override the choices made by `configure' or to help
2694 it to find libraries and programs with nonstandard names/locations.
2696 Report bugs to <wine-devel@winehq.org>.
2697 Wine home page: <https://www.winehq.org>.
2698 _ACEOF
2699 ac_status=$?
2702 if test "$ac_init_help" = "recursive"; then
2703 # If there are subdirs, report their specific --help.
2704 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2705 test -d "$ac_dir" ||
2706 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2707 continue
2708 ac_builddir=.
2710 case "$ac_dir" in
2711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2714 # A ".." for each directory in $ac_dir_suffix.
2715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2716 case $ac_top_builddir_sub in
2717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2719 esac ;;
2720 esac
2721 ac_abs_top_builddir=$ac_pwd
2722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2723 # for backward compatibility:
2724 ac_top_builddir=$ac_top_build_prefix
2726 case $srcdir in
2727 .) # We are building in place.
2728 ac_srcdir=.
2729 ac_top_srcdir=$ac_top_builddir_sub
2730 ac_abs_top_srcdir=$ac_pwd ;;
2731 [\\/]* | ?:[\\/]* ) # Absolute name.
2732 ac_srcdir=$srcdir$ac_dir_suffix;
2733 ac_top_srcdir=$srcdir
2734 ac_abs_top_srcdir=$srcdir ;;
2735 *) # Relative name.
2736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2737 ac_top_srcdir=$ac_top_build_prefix$srcdir
2738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2739 esac
2740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2742 cd "$ac_dir" || { ac_status=$?; continue; }
2743 # Check for guested configure.
2744 if test -f "$ac_srcdir/configure.gnu"; then
2745 echo &&
2746 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2747 elif test -f "$ac_srcdir/configure"; then
2748 echo &&
2749 $SHELL "$ac_srcdir/configure" --help=recursive
2750 else
2751 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2752 fi || ac_status=$?
2753 cd "$ac_pwd" || { ac_status=$?; break; }
2754 done
2757 test -n "$ac_init_help" && exit $ac_status
2758 if $ac_init_version; then
2759 cat <<\_ACEOF
2760 Wine configure 4.15
2761 generated by GNU Autoconf 2.69
2763 Copyright (C) 2012 Free Software Foundation, Inc.
2764 This configure script is free software; the Free Software Foundation
2765 gives unlimited permission to copy, distribute and modify it.
2766 _ACEOF
2767 exit
2770 ## ------------------------ ##
2771 ## Autoconf initialization. ##
2772 ## ------------------------ ##
2774 # ac_fn_c_try_compile LINENO
2775 # --------------------------
2776 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2777 ac_fn_c_try_compile ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 rm -f conftest.$ac_objext
2781 if { { ac_try="$ac_compile"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 $as_echo "$ac_try_echo"; } >&5
2788 (eval "$ac_compile") 2>conftest.err
2789 ac_status=$?
2790 if test -s conftest.err; then
2791 grep -v '^ *+' conftest.err >conftest.er1
2792 cat conftest.er1 >&5
2793 mv -f conftest.er1 conftest.err
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; } && {
2797 test -z "$ac_c_werror_flag" ||
2798 test ! -s conftest.err
2799 } && test -s conftest.$ac_objext; then :
2800 ac_retval=0
2801 else
2802 $as_echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_compile
2812 # ac_fn_cxx_try_compile LINENO
2813 # ----------------------------
2814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_cxx_try_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext
2819 if { { ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 $as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_compile") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext; then :
2838 ac_retval=0
2839 else
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_retval=1
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_cxx_try_compile
2850 # ac_fn_c_try_link LINENO
2851 # -----------------------
2852 # Try to link conftest.$ac_ext, and return whether this succeeded.
2853 ac_fn_c_try_link ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext conftest$ac_exeext
2857 if { { ac_try="$ac_link"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 $as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_link") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_c_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest$ac_exeext && {
2876 test "$cross_compiling" = yes ||
2877 test -x conftest$ac_exeext
2878 }; then :
2879 ac_retval=0
2880 else
2881 $as_echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 ac_retval=1
2886 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2887 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2888 # interfere with the next link command; also delete a directory that is
2889 # left behind by Apple's compiler. We do this before executing the actions.
2890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_link
2896 # ac_fn_c_try_cpp LINENO
2897 # ----------------------
2898 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2899 ac_fn_c_try_cpp ()
2901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2902 if { { ac_try="$ac_cpp conftest.$ac_ext"
2903 case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906 esac
2907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2908 $as_echo "$ac_try_echo"; } >&5
2909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2910 ac_status=$?
2911 if test -s conftest.err; then
2912 grep -v '^ *+' conftest.err >conftest.er1
2913 cat conftest.er1 >&5
2914 mv -f conftest.er1 conftest.err
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; } > conftest.i && {
2918 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 }; then :
2921 ac_retval=0
2922 else
2923 $as_echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 ac_retval=1
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 as_fn_set_status $ac_retval
2931 } # ac_fn_c_try_cpp
2933 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2934 # -------------------------------------------------------
2935 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2936 # the include files in INCLUDES and setting the cache variable VAR
2937 # accordingly.
2938 ac_fn_c_check_header_mongrel ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 if eval \${$3+:} false; then :
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 eval ac_res=\$$3
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2949 $as_echo "$ac_res" >&6; }
2950 else
2951 # Is the header compilable?
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2953 $as_echo_n "checking $2 usability... " >&6; }
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2957 #include <$2>
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 ac_header_compiler=yes
2961 else
2962 ac_header_compiler=no
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2966 $as_echo "$ac_header_compiler" >&6; }
2968 # Is the header present?
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2970 $as_echo_n "checking $2 presence... " >&6; }
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2973 #include <$2>
2974 _ACEOF
2975 if ac_fn_c_try_cpp "$LINENO"; then :
2976 ac_header_preproc=yes
2977 else
2978 ac_header_preproc=no
2980 rm -f conftest.err conftest.i conftest.$ac_ext
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2982 $as_echo "$ac_header_preproc" >&6; }
2984 # So? What about this header?
2985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2986 yes:no: )
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2988 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2990 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2992 no:yes:* )
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2994 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2996 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2998 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3000 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3002 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3003 ( $as_echo "## ------------------------------------ ##
3004 ## Report this to wine-devel@winehq.org ##
3005 ## ------------------------------------ ##"
3006 ) | sed "s/^/$as_me: WARNING: /" >&2
3008 esac
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3010 $as_echo_n "checking for $2... " >&6; }
3011 if eval \${$3+:} false; then :
3012 $as_echo_n "(cached) " >&6
3013 else
3014 eval "$3=\$ac_header_compiler"
3016 eval ac_res=\$$3
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3018 $as_echo "$ac_res" >&6; }
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 } # ac_fn_c_check_header_mongrel
3024 # ac_fn_c_try_run LINENO
3025 # ----------------------
3026 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3027 # that executables *can* be run.
3028 ac_fn_c_try_run ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 if { { ac_try="$ac_link"
3032 case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_link") 2>&5
3039 ac_status=$?
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3042 { { case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_try") 2>&5
3049 ac_status=$?
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; }; then :
3052 ac_retval=0
3053 else
3054 $as_echo "$as_me: program exited with status $ac_status" >&5
3055 $as_echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 ac_retval=$ac_status
3060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3062 as_fn_set_status $ac_retval
3064 } # ac_fn_c_try_run
3066 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3067 # -------------------------------------------------------
3068 # Tests whether HEADER exists and can be compiled using the include files in
3069 # INCLUDES, setting the cache variable VAR accordingly.
3070 ac_fn_c_check_header_compile ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3074 $as_echo_n "checking for $2... " >&6; }
3075 if eval \${$3+:} false; then :
3076 $as_echo_n "(cached) " >&6
3077 else
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3081 #include <$2>
3082 _ACEOF
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 eval "$3=yes"
3085 else
3086 eval "$3=no"
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090 eval ac_res=\$$3
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 $as_echo "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_header_compile
3097 # ac_fn_objc_try_compile LINENO
3098 # -----------------------------
3099 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3100 ac_fn_objc_try_compile ()
3102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3103 rm -f conftest.$ac_objext
3104 if { { ac_try="$ac_compile"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_compile") 2>conftest.err
3112 ac_status=$?
3113 if test -s conftest.err; then
3114 grep -v '^ *+' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 mv -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } && {
3120 test -z "$ac_objc_werror_flag" ||
3121 test ! -s conftest.err
3122 } && test -s conftest.$ac_objext; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_compile
3135 # ac_fn_objc_try_cpp LINENO
3136 # -------------------------
3137 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3138 ac_fn_objc_try_cpp ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 if { { ac_try="$ac_cpp conftest.$ac_ext"
3142 case "(($ac_try" in
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3145 esac
3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3147 $as_echo "$ac_try_echo"; } >&5
3148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3149 ac_status=$?
3150 if test -s conftest.err; then
3151 grep -v '^ *+' conftest.err >conftest.er1
3152 cat conftest.er1 >&5
3153 mv -f conftest.er1 conftest.err
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; } > conftest.i && {
3157 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3158 test ! -s conftest.err
3159 }; then :
3160 ac_retval=0
3161 else
3162 $as_echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3165 ac_retval=1
3167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 as_fn_set_status $ac_retval
3170 } # ac_fn_objc_try_cpp
3172 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3173 # ----------------------------------------------------------
3174 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3175 # the include files in INCLUDES and setting the cache variable VAR
3176 # accordingly.
3177 ac_fn_objc_check_header_mongrel ()
3179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3180 if eval \${$3+:} false; then :
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3186 eval ac_res=\$$3
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3188 $as_echo "$ac_res" >&6; }
3189 else
3190 # Is the header compilable?
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3192 $as_echo_n "checking $2 usability... " >&6; }
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3196 #include <$2>
3197 _ACEOF
3198 if ac_fn_objc_try_compile "$LINENO"; then :
3199 ac_header_compiler=yes
3200 else
3201 ac_header_compiler=no
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3205 $as_echo "$ac_header_compiler" >&6; }
3207 # Is the header present?
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3209 $as_echo_n "checking $2 presence... " >&6; }
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3212 #include <$2>
3213 _ACEOF
3214 if ac_fn_objc_try_cpp "$LINENO"; then :
3215 ac_header_preproc=yes
3216 else
3217 ac_header_preproc=no
3219 rm -f conftest.err conftest.i conftest.$ac_ext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3221 $as_echo "$ac_header_preproc" >&6; }
3223 # So? What about this header?
3224 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3225 yes:no: )
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3227 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3231 no:yes:* )
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3233 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3235 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3237 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3239 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3242 ( $as_echo "## ------------------------------------ ##
3243 ## Report this to wine-devel@winehq.org ##
3244 ## ------------------------------------ ##"
3245 ) | sed "s/^/$as_me: WARNING: /" >&2
3247 esac
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3249 $as_echo_n "checking for $2... " >&6; }
3250 if eval \${$3+:} false; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 eval "$3=\$ac_header_compiler"
3255 eval ac_res=\$$3
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 } # ac_fn_objc_check_header_mongrel
3263 # ac_fn_c_check_func LINENO FUNC VAR
3264 # ----------------------------------
3265 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3266 ac_fn_c_check_func ()
3268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3270 $as_echo_n "checking for $2... " >&6; }
3271 if eval \${$3+:} false; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3276 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3278 #define $2 innocuous_$2
3280 /* System header to define __stub macros and hopefully few prototypes,
3281 which can conflict with char $2 (); below.
3282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3283 <limits.h> exists even on freestanding compilers. */
3285 #ifdef __STDC__
3286 # include <limits.h>
3287 #else
3288 # include <assert.h>
3289 #endif
3291 #undef $2
3293 /* Override any GCC internal prototype to avoid an error.
3294 Use char because int might match the return type of a GCC
3295 builtin and then its argument prototype would still apply. */
3296 #ifdef __cplusplus
3297 extern "C"
3298 #endif
3299 char $2 ();
3300 /* The GNU C library defines this for functions which it implements
3301 to always fail with ENOSYS. Some functions are actually named
3302 something starting with __ and the normal name is an alias. */
3303 #if defined __stub_$2 || defined __stub___$2
3304 choke me
3305 #endif
3308 main ()
3310 return $2 ();
3312 return 0;
3314 _ACEOF
3315 if ac_fn_c_try_link "$LINENO"; then :
3316 eval "$3=yes"
3317 else
3318 eval "$3=no"
3320 rm -f core conftest.err conftest.$ac_objext \
3321 conftest$ac_exeext conftest.$ac_ext
3323 eval ac_res=\$$3
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3325 $as_echo "$ac_res" >&6; }
3326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3328 } # ac_fn_c_check_func
3330 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3331 # ----------------------------------------------------
3332 # Tries to find if the field MEMBER exists in type AGGR, after including
3333 # INCLUDES, setting cache variable VAR accordingly.
3334 ac_fn_c_check_member ()
3336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3338 $as_echo_n "checking for $2.$3... " >&6; }
3339 if eval \${$4+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3348 static $2 ac_aggr;
3349 if (ac_aggr.$3)
3350 return 0;
3352 return 0;
3354 _ACEOF
3355 if ac_fn_c_try_compile "$LINENO"; then :
3356 eval "$4=yes"
3357 else
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3362 main ()
3364 static $2 ac_aggr;
3365 if (sizeof ac_aggr.$3)
3366 return 0;
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 eval "$4=yes"
3373 else
3374 eval "$4=no"
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 eval ac_res=\$$4
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3382 $as_echo "$ac_res" >&6; }
3383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3385 } # ac_fn_c_check_member
3387 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3388 # -------------------------------------------
3389 # Tests whether TYPE exists after having included INCLUDES, setting cache
3390 # variable VAR accordingly.
3391 ac_fn_c_check_type ()
3393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3395 $as_echo_n "checking for $2... " >&6; }
3396 if eval \${$3+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 eval "$3=no"
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3404 main ()
3406 if (sizeof ($2))
3407 return 0;
3409 return 0;
3411 _ACEOF
3412 if ac_fn_c_try_compile "$LINENO"; then :
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3417 main ()
3419 if (sizeof (($2)))
3420 return 0;
3422 return 0;
3424 _ACEOF
3425 if ac_fn_c_try_compile "$LINENO"; then :
3427 else
3428 eval "$3=yes"
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 eval ac_res=\$$3
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3436 $as_echo "$ac_res" >&6; }
3437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3439 } # ac_fn_c_check_type
3440 cat >config.log <<_ACEOF
3441 This file contains any messages produced by compilers while
3442 running configure, to aid debugging if configure makes a mistake.
3444 It was created by Wine $as_me 4.15, which was
3445 generated by GNU Autoconf 2.69. Invocation command line was
3447 $ $0 $@
3449 _ACEOF
3450 exec 5>>config.log
3452 cat <<_ASUNAME
3453 ## --------- ##
3454 ## Platform. ##
3455 ## --------- ##
3457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3474 _ASUNAME
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH
3479 IFS=$as_save_IFS
3480 test -z "$as_dir" && as_dir=.
3481 $as_echo "PATH: $as_dir"
3482 done
3483 IFS=$as_save_IFS
3485 } >&5
3487 cat >&5 <<_ACEOF
3490 ## ----------- ##
3491 ## Core tests. ##
3492 ## ----------- ##
3494 _ACEOF
3497 # Keep a trace of the command line.
3498 # Strip out --no-create and --no-recursion so they do not pile up.
3499 # Strip out --silent because we don't want to record it for future runs.
3500 # Also quote any args containing shell meta-characters.
3501 # Make two passes to allow for proper duplicate-argument suppression.
3502 ac_configure_args=
3503 ac_configure_args0=
3504 ac_configure_args1=
3505 ac_must_keep_next=false
3506 for ac_pass in 1 2
3508 for ac_arg
3510 case $ac_arg in
3511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3513 | -silent | --silent | --silen | --sile | --sil)
3514 continue ;;
3515 *\'*)
3516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3517 esac
3518 case $ac_pass in
3519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3521 as_fn_append ac_configure_args1 " '$ac_arg'"
3522 if test $ac_must_keep_next = true; then
3523 ac_must_keep_next=false # Got value, back to normal.
3524 else
3525 case $ac_arg in
3526 *=* | --config-cache | -C | -disable-* | --disable-* \
3527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3529 | -with-* | --with-* | -without-* | --without-* | --x)
3530 case "$ac_configure_args0 " in
3531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3532 esac
3534 -* ) ac_must_keep_next=true ;;
3535 esac
3537 as_fn_append ac_configure_args " '$ac_arg'"
3539 esac
3540 done
3541 done
3542 { ac_configure_args0=; unset ac_configure_args0;}
3543 { ac_configure_args1=; unset ac_configure_args1;}
3545 # When interrupted or exit'd, cleanup temporary files, and complete
3546 # config.log. We remove comments because anyway the quotes in there
3547 # would cause problems or look ugly.
3548 # WARNING: Use '\'' to represent an apostrophe within the trap.
3549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3550 trap 'exit_status=$?
3551 # Save into config.log some information that might help in debugging.
3553 echo
3555 $as_echo "## ---------------- ##
3556 ## Cache variables. ##
3557 ## ---------------- ##"
3558 echo
3559 # The following way of writing the cache mishandles newlines in values,
3561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3562 eval ac_val=\$$ac_var
3563 case $ac_val in #(
3564 *${as_nl}*)
3565 case $ac_var in #(
3566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3568 esac
3569 case $ac_var in #(
3570 _ | IFS | as_nl) ;; #(
3571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3572 *) { eval $ac_var=; unset $ac_var;} ;;
3573 esac ;;
3574 esac
3575 done
3576 (set) 2>&1 |
3577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3578 *${as_nl}ac_space=\ *)
3579 sed -n \
3580 "s/'\''/'\''\\\\'\'''\''/g;
3581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3582 ;; #(
3584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3586 esac |
3587 sort
3589 echo
3591 $as_echo "## ----------------- ##
3592 ## Output variables. ##
3593 ## ----------------- ##"
3594 echo
3595 for ac_var in $ac_subst_vars
3597 eval ac_val=\$$ac_var
3598 case $ac_val in
3599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3600 esac
3601 $as_echo "$ac_var='\''$ac_val'\''"
3602 done | sort
3603 echo
3605 if test -n "$ac_subst_files"; then
3606 $as_echo "## ------------------- ##
3607 ## File substitutions. ##
3608 ## ------------------- ##"
3609 echo
3610 for ac_var in $ac_subst_files
3612 eval ac_val=\$$ac_var
3613 case $ac_val in
3614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3615 esac
3616 $as_echo "$ac_var='\''$ac_val'\''"
3617 done | sort
3618 echo
3621 if test -s confdefs.h; then
3622 $as_echo "## ----------- ##
3623 ## confdefs.h. ##
3624 ## ----------- ##"
3625 echo
3626 cat confdefs.h
3627 echo
3629 test "$ac_signal" != 0 &&
3630 $as_echo "$as_me: caught signal $ac_signal"
3631 $as_echo "$as_me: exit $exit_status"
3632 } >&5
3633 rm -f core *.core core.conftest.* &&
3634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3635 exit $exit_status
3637 for ac_signal in 1 2 13 15; do
3638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3639 done
3640 ac_signal=0
3642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3643 rm -f -r conftest* confdefs.h
3645 $as_echo "/* confdefs.h */" > confdefs.h
3647 # Predefined preprocessor variables.
3649 cat >>confdefs.h <<_ACEOF
3650 #define PACKAGE_NAME "$PACKAGE_NAME"
3651 _ACEOF
3653 cat >>confdefs.h <<_ACEOF
3654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3655 _ACEOF
3657 cat >>confdefs.h <<_ACEOF
3658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3659 _ACEOF
3661 cat >>confdefs.h <<_ACEOF
3662 #define PACKAGE_STRING "$PACKAGE_STRING"
3663 _ACEOF
3665 cat >>confdefs.h <<_ACEOF
3666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3667 _ACEOF
3669 cat >>confdefs.h <<_ACEOF
3670 #define PACKAGE_URL "$PACKAGE_URL"
3671 _ACEOF
3674 # Let the site file select an alternate cache file if it wants to.
3675 # Prefer an explicitly selected file to automatically selected ones.
3676 ac_site_file1=NONE
3677 ac_site_file2=NONE
3678 if test -n "$CONFIG_SITE"; then
3679 # We do not want a PATH search for config.site.
3680 case $CONFIG_SITE in #((
3681 -*) ac_site_file1=./$CONFIG_SITE;;
3682 */*) ac_site_file1=$CONFIG_SITE;;
3683 *) ac_site_file1=./$CONFIG_SITE;;
3684 esac
3685 elif test "x$prefix" != xNONE; then
3686 ac_site_file1=$prefix/share/config.site
3687 ac_site_file2=$prefix/etc/config.site
3688 else
3689 ac_site_file1=$ac_default_prefix/share/config.site
3690 ac_site_file2=$ac_default_prefix/etc/config.site
3692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3694 test "x$ac_site_file" = xNONE && continue
3695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3698 sed 's/^/| /' "$ac_site_file" >&5
3699 . "$ac_site_file" \
3700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "failed to load site script $ac_site_file
3703 See \`config.log' for more details" "$LINENO" 5; }
3705 done
3707 if test -r "$cache_file"; then
3708 # Some versions of bash will fail to source /dev/null (special files
3709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3712 $as_echo "$as_me: loading cache $cache_file" >&6;}
3713 case $cache_file in
3714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3715 *) . "./$cache_file";;
3716 esac
3718 else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3720 $as_echo "$as_me: creating cache $cache_file" >&6;}
3721 >$cache_file
3724 # Check that the precious variables saved in the cache have kept the same
3725 # value.
3726 ac_cache_corrupted=false
3727 for ac_var in $ac_precious_vars; do
3728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3729 eval ac_new_set=\$ac_env_${ac_var}_set
3730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3731 eval ac_new_val=\$ac_env_${ac_var}_value
3732 case $ac_old_set,$ac_new_set in
3733 set,)
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3736 ac_cache_corrupted=: ;;
3737 ,set)
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3740 ac_cache_corrupted=: ;;
3741 ,);;
3743 if test "x$ac_old_val" != "x$ac_new_val"; then
3744 # differences in whitespace do not lead to failure.
3745 ac_old_val_w=`echo x $ac_old_val`
3746 ac_new_val_w=`echo x $ac_new_val`
3747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3750 ac_cache_corrupted=:
3751 else
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3754 eval $ac_var=\$ac_old_val
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3760 fi;;
3761 esac
3762 # Pass precious variables to config.status.
3763 if test "$ac_new_set" = set; then
3764 case $ac_new_val in
3765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3766 *) ac_arg=$ac_var=$ac_new_val ;;
3767 esac
3768 case " $ac_configure_args " in
3769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3771 esac
3773 done
3774 if $ac_cache_corrupted; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3781 ## -------------------- ##
3782 ## Main body of script. ##
3783 ## -------------------- ##
3785 ac_ext=c
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 ac_config_headers="$ac_config_headers include/config.h"
3795 ac_aux_dir=
3796 for ac_dir in tools "$srcdir"/tools; do
3797 if test -f "$ac_dir/install-sh"; then
3798 ac_aux_dir=$ac_dir
3799 ac_install_sh="$ac_aux_dir/install-sh -c"
3800 break
3801 elif test -f "$ac_dir/install.sh"; then
3802 ac_aux_dir=$ac_dir
3803 ac_install_sh="$ac_aux_dir/install.sh -c"
3804 break
3805 elif test -f "$ac_dir/shtool"; then
3806 ac_aux_dir=$ac_dir
3807 ac_install_sh="$ac_aux_dir/shtool install -c"
3808 break
3810 done
3811 if test -z "$ac_aux_dir"; then
3812 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3815 # These three variables are undocumented and unsupported,
3816 # and are intended to be withdrawn in a future Autoconf release.
3817 # They can cause serious problems if a builder's source tree is in a directory
3818 # whose full name contains unusual characters.
3819 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3820 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3821 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3825 libwine_version="1.0"
3829 # Check whether --enable-win16 was given.
3830 if test "${enable_win16+set}" = set; then :
3831 enableval=$enable_win16;
3834 # Check whether --enable-win64 was given.
3835 if test "${enable_win64+set}" = set; then :
3836 enableval=$enable_win64;
3839 # Check whether --enable-tests was given.
3840 if test "${enable_tests+set}" = set; then :
3841 enableval=$enable_tests;
3844 # Check whether --enable-maintainer-mode was given.
3845 if test "${enable_maintainer_mode+set}" = set; then :
3846 enableval=$enable_maintainer_mode;
3851 # Check whether --with-alsa was given.
3852 if test "${with_alsa+set}" = set; then :
3853 withval=$with_alsa;
3857 # Check whether --with-capi was given.
3858 if test "${with_capi+set}" = set; then :
3859 withval=$with_capi;
3863 # Check whether --with-cms was given.
3864 if test "${with_cms+set}" = set; then :
3865 withval=$with_cms;
3869 # Check whether --with-coreaudio was given.
3870 if test "${with_coreaudio+set}" = set; then :
3871 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3875 # Check whether --with-cups was given.
3876 if test "${with_cups+set}" = set; then :
3877 withval=$with_cups;
3881 # Check whether --with-curses was given.
3882 if test "${with_curses+set}" = set; then :
3883 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3887 # Check whether --with-dbus was given.
3888 if test "${with_dbus+set}" = set; then :
3889 withval=$with_dbus;
3893 # Check whether --with-faudio was given.
3894 if test "${with_faudio+set}" = set; then :
3895 withval=$with_faudio;
3899 # Check whether --with-float-abi was given.
3900 if test "${with_float_abi+set}" = set; then :
3901 withval=$with_float_abi;
3905 # Check whether --with-fontconfig was given.
3906 if test "${with_fontconfig+set}" = set; then :
3907 withval=$with_fontconfig;
3911 # Check whether --with-freetype was given.
3912 if test "${with_freetype+set}" = set; then :
3913 withval=$with_freetype;
3917 # Check whether --with-gettext was given.
3918 if test "${with_gettext+set}" = set; then :
3919 withval=$with_gettext;
3923 # Check whether --with-gettextpo was given.
3924 if test "${with_gettextpo+set}" = set; then :
3925 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3929 # Check whether --with-gphoto was given.
3930 if test "${with_gphoto+set}" = set; then :
3931 withval=$with_gphoto;
3935 # Check whether --with-glu was given.
3936 if test "${with_glu+set}" = set; then :
3937 withval=$with_glu;
3941 # Check whether --with-gnutls was given.
3942 if test "${with_gnutls+set}" = set; then :
3943 withval=$with_gnutls;
3947 # Check whether --with-gsm was given.
3948 if test "${with_gsm+set}" = set; then :
3949 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3953 # Check whether --with-gssapi was given.
3954 if test "${with_gssapi+set}" = set; then :
3955 withval=$with_gssapi;
3959 # Check whether --with-gstreamer was given.
3960 if test "${with_gstreamer+set}" = set; then :
3961 withval=$with_gstreamer;
3965 # Check whether --with-hal was given.
3966 if test "${with_hal+set}" = set; then :
3967 withval=$with_hal;
3971 # Check whether --with-inotify was given.
3972 if test "${with_inotify+set}" = set; then :
3973 withval=$with_inotify;
3977 # Check whether --with-jpeg was given.
3978 if test "${with_jpeg+set}" = set; then :
3979 withval=$with_jpeg;
3983 # Check whether --with-krb5 was given.
3984 if test "${with_krb5+set}" = set; then :
3985 withval=$with_krb5;
3989 # Check whether --with-ldap was given.
3990 if test "${with_ldap+set}" = set; then :
3991 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3995 # Check whether --with-mingw was given.
3996 if test "${with_mingw+set}" = set; then :
3997 withval=$with_mingw;
4001 # Check whether --with-mpg123 was given.
4002 if test "${with_mpg123+set}" = set; then :
4003 withval=$with_mpg123;
4007 # Check whether --with-netapi was given.
4008 if test "${with_netapi+set}" = set; then :
4009 withval=$with_netapi;
4013 # Check whether --with-openal was given.
4014 if test "${with_openal+set}" = set; then :
4015 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4019 # Check whether --with-opencl was given.
4020 if test "${with_opencl+set}" = set; then :
4021 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then :
4027 withval=$with_opengl;
4031 # Check whether --with-osmesa was given.
4032 if test "${with_osmesa+set}" = set; then :
4033 withval=$with_osmesa;
4037 # Check whether --with-oss was given.
4038 if test "${with_oss+set}" = set; then :
4039 withval=$with_oss;
4043 # Check whether --with-pcap was given.
4044 if test "${with_pcap+set}" = set; then :
4045 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4049 # Check whether --with-png was given.
4050 if test "${with_png+set}" = set; then :
4051 withval=$with_png;
4055 # Check whether --with-pthread was given.
4056 if test "${with_pthread+set}" = set; then :
4057 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4061 # Check whether --with-pulse was given.
4062 if test "${with_pulse+set}" = set; then :
4063 withval=$with_pulse;
4067 # Check whether --with-sane was given.
4068 if test "${with_sane+set}" = set; then :
4069 withval=$with_sane;
4073 # Check whether --with-sdl was given.
4074 if test "${with_sdl+set}" = set; then :
4075 withval=$with_sdl;
4079 # Check whether --with-tiff was given.
4080 if test "${with_tiff+set}" = set; then :
4081 withval=$with_tiff;
4085 # Check whether --with-udev was given.
4086 if test "${with_udev+set}" = set; then :
4087 withval=$with_udev;
4091 # Check whether --with-unwind was given.
4092 if test "${with_unwind+set}" = set; then :
4093 withval=$with_unwind;
4097 # Check whether --with-v4l2 was given.
4098 if test "${with_v4l2+set}" = set; then :
4099 withval=$with_v4l2;
4103 # Check whether --with-vkd3d was given.
4104 if test "${with_vkd3d+set}" = set; then :
4105 withval=$with_vkd3d;
4109 # Check whether --with-vulkan was given.
4110 if test "${with_vulkan+set}" = set; then :
4111 withval=$with_vulkan;
4115 # Check whether --with-xcomposite was given.
4116 if test "${with_xcomposite+set}" = set; then :
4117 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4121 # Check whether --with-xcursor was given.
4122 if test "${with_xcursor+set}" = set; then :
4123 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4127 # Check whether --with-xfixes was given.
4128 if test "${with_xfixes+set}" = set; then :
4129 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4133 # Check whether --with-xinerama was given.
4134 if test "${with_xinerama+set}" = set; then :
4135 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4139 # Check whether --with-xinput was given.
4140 if test "${with_xinput+set}" = set; then :
4141 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4145 # Check whether --with-xinput2 was given.
4146 if test "${with_xinput2+set}" = set; then :
4147 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4151 # Check whether --with-xml was given.
4152 if test "${with_xml+set}" = set; then :
4153 withval=$with_xml;
4157 # Check whether --with-xrandr was given.
4158 if test "${with_xrandr+set}" = set; then :
4159 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4163 # Check whether --with-xrender was given.
4164 if test "${with_xrender+set}" = set; then :
4165 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4169 # Check whether --with-xshape was given.
4170 if test "${with_xshape+set}" = set; then :
4171 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4175 # Check whether --with-xshm was given.
4176 if test "${with_xshm+set}" = set; then :
4177 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4181 # Check whether --with-xslt was given.
4182 if test "${with_xslt+set}" = set; then :
4183 withval=$with_xslt;
4187 # Check whether --with-xxf86vm was given.
4188 if test "${with_xxf86vm+set}" = set; then :
4189 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
4193 # Check whether --with-zlib was given.
4194 if test "${with_zlib+set}" = set; then :
4195 withval=$with_zlib;
4200 # Check whether --with-wine-tools was given.
4201 if test "${with_wine_tools+set}" = set; then :
4202 withval=$with_wine_tools;
4206 # Check whether --with-wine64 was given.
4207 if test "${with_wine64+set}" = set; then :
4208 withval=$with_wine64;
4212 # Make sure we can run config.sub.
4213 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4214 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4217 $as_echo_n "checking build system type... " >&6; }
4218 if ${ac_cv_build+:} false; then :
4219 $as_echo_n "(cached) " >&6
4220 else
4221 ac_build_alias=$build_alias
4222 test "x$ac_build_alias" = x &&
4223 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4224 test "x$ac_build_alias" = x &&
4225 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4226 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4231 $as_echo "$ac_cv_build" >&6; }
4232 case $ac_cv_build in
4233 *-*-*) ;;
4234 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4235 esac
4236 build=$ac_cv_build
4237 ac_save_IFS=$IFS; IFS='-'
4238 set x $ac_cv_build
4239 shift
4240 build_cpu=$1
4241 build_vendor=$2
4242 shift; shift
4243 # Remember, the first character of IFS is used to create $*,
4244 # except with old shells:
4245 build_os=$*
4246 IFS=$ac_save_IFS
4247 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4251 $as_echo_n "checking host system type... " >&6; }
4252 if ${ac_cv_host+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 if test "x$host_alias" = x; then
4256 ac_cv_host=$ac_cv_build
4257 else
4258 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4259 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4264 $as_echo "$ac_cv_host" >&6; }
4265 case $ac_cv_host in
4266 *-*-*) ;;
4267 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4268 esac
4269 host=$ac_cv_host
4270 ac_save_IFS=$IFS; IFS='-'
4271 set x $ac_cv_host
4272 shift
4273 host_cpu=$1
4274 host_vendor=$2
4275 shift; shift
4276 # Remember, the first character of IFS is used to create $*,
4277 # except with old shells:
4278 host_os=$*
4279 IFS=$ac_save_IFS
4280 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4284 case "$srcdir" in
4285 .) ;;
4286 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4287 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4288 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4289 fi ;;
4290 esac
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4295 set x ${MAKE-make}
4296 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4297 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 cat >conftest.make <<\_ACEOF
4301 SHELL = /bin/sh
4302 all:
4303 @echo '@@@%%%=$(MAKE)=@@@%%%'
4304 _ACEOF
4305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4307 *@@@%%%=?*=@@@%%%*)
4308 eval ac_cv_prog_make_${ac_make}_set=yes;;
4310 eval ac_cv_prog_make_${ac_make}_set=no;;
4311 esac
4312 rm -f conftest.make
4314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4317 SET_MAKE=
4318 else
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320 $as_echo "no" >&6; }
4321 SET_MAKE="MAKE=${MAKE-make}"
4324 ac_ext=c
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 if test -n "$ac_tool_prefix"; then
4330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4339 else
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 for as_dir in $PATH
4343 IFS=$as_save_IFS
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4347 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 break 2
4351 done
4352 done
4353 IFS=$as_save_IFS
4357 CC=$ac_cv_prog_CC
4358 if test -n "$CC"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360 $as_echo "$CC" >&6; }
4361 else
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test -z "$ac_cv_prog_CC"; then
4369 ac_ct_CC=$CC
4370 # Extract the first word of "gcc", so it can be a program name with args.
4371 set dummy gcc; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 if test -n "$ac_ct_CC"; then
4378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4379 else
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_ac_ct_CC="gcc"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 break 2
4391 done
4392 done
4393 IFS=$as_save_IFS
4397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4398 if test -n "$ac_ct_CC"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4400 $as_echo "$ac_ct_CC" >&6; }
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4406 if test "x$ac_ct_CC" = x; then
4407 CC=""
4408 else
4409 case $cross_compiling:$ac_tool_warned in
4410 yes:)
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned=yes ;;
4414 esac
4415 CC=$ac_ct_CC
4417 else
4418 CC="$ac_cv_prog_CC"
4421 if test -z "$CC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}cc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CC="${ac_tool_prefix}cc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4462 if test -z "$CC"; then
4463 # Extract the first word of "cc", so it can be a program name with args.
4464 set dummy cc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$CC"; then
4471 ac_cv_prog_CC="$CC" # Let the user override the test.
4472 else
4473 ac_prog_rejected=no
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 for as_dir in $PATH
4477 IFS=$as_save_IFS
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4482 ac_prog_rejected=yes
4483 continue
4485 ac_cv_prog_CC="cc"
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 break 2
4489 done
4490 done
4491 IFS=$as_save_IFS
4493 if test $ac_prog_rejected = yes; then
4494 # We found a bogon in the path, so make sure we never use it.
4495 set dummy $ac_cv_prog_CC
4496 shift
4497 if test $# != 0; then
4498 # We chose a different compiler from the bogus one.
4499 # However, it has the same basename, so the bogon will be chosen
4500 # first if we set CC to just the basename; use the full file name.
4501 shift
4502 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4507 CC=$ac_cv_prog_CC
4508 if test -n "$CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4510 $as_echo "$CC" >&6; }
4511 else
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$CC"; then
4519 if test -n "$ac_tool_prefix"; then
4520 for ac_prog in cl.exe
4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 CC=$ac_cv_prog_CC
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4553 else
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$CC" && break
4560 done
4562 if test -z "$CC"; then
4563 ac_ct_CC=$CC
4564 for ac_prog in cl.exe
4566 # Extract the first word of "$ac_prog", so it can be a program name with args.
4567 set dummy $ac_prog; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 if test -n "$ac_ct_CC"; then
4574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4575 else
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 for as_dir in $PATH
4579 IFS=$as_save_IFS
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_ac_ct_CC="$ac_prog"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 break 2
4587 done
4588 done
4589 IFS=$as_save_IFS
4593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4594 if test -n "$ac_ct_CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4596 $as_echo "$ac_ct_CC" >&6; }
4597 else
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4603 test -n "$ac_ct_CC" && break
4604 done
4606 if test "x$ac_ct_CC" = x; then
4607 CC=""
4608 else
4609 case $cross_compiling:$ac_tool_warned in
4610 yes:)
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4613 ac_tool_warned=yes ;;
4614 esac
4615 CC=$ac_ct_CC
4622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4624 as_fn_error $? "no acceptable C compiler found in \$PATH
4625 See \`config.log' for more details" "$LINENO" 5; }
4627 # Provide some information about the compiler.
4628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4629 set X $ac_compile
4630 ac_compiler=$2
4631 for ac_option in --version -v -V -qversion; do
4632 { { ac_try="$ac_compiler $ac_option >&5"
4633 case "(($ac_try" in
4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635 *) ac_try_echo=$ac_try;;
4636 esac
4637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4638 $as_echo "$ac_try_echo"; } >&5
4639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4640 ac_status=$?
4641 if test -s conftest.err; then
4642 sed '10a\
4643 ... rest of stderr output deleted ...
4644 10q' conftest.err >conftest.er1
4645 cat conftest.er1 >&5
4647 rm -f conftest.er1 conftest.err
4648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4649 test $ac_status = 0; }
4650 done
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 main ()
4660 return 0;
4662 _ACEOF
4663 ac_clean_files_save=$ac_clean_files
4664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4665 # Try to create an executable without -o first, disregard a.out.
4666 # It will help us diagnose broken compilers, and finding out an intuition
4667 # of exeext.
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4669 $as_echo_n "checking whether the C compiler works... " >&6; }
4670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4672 # The possible output files:
4673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4675 ac_rmfiles=
4676 for ac_file in $ac_files
4678 case $ac_file in
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4681 esac
4682 done
4683 rm -f $ac_rmfiles
4685 if { { ac_try="$ac_link_default"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4691 $as_echo "$ac_try_echo"; } >&5
4692 (eval "$ac_link_default") 2>&5
4693 ac_status=$?
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }; then :
4696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4699 # so that the user can short-circuit this test for compilers unknown to
4700 # Autoconf.
4701 for ac_file in $ac_files ''
4703 test -f "$ac_file" || continue
4704 case $ac_file in
4705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4707 [ab].out )
4708 # We found the default executable, but exeext='' is most
4709 # certainly right.
4710 break;;
4711 *.* )
4712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4713 then :; else
4714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4716 # We set ac_cv_exeext here because the later test for it is not
4717 # safe: cross compilers may not add the suffix if given an `-o'
4718 # argument, so we may need to know it at that point already.
4719 # Even if this section looks crufty: it has the advantage of
4720 # actually working.
4721 break;;
4723 break;;
4724 esac
4725 done
4726 test "$ac_cv_exeext" = no && ac_cv_exeext=
4728 else
4729 ac_file=''
4731 if test -z "$ac_file"; then :
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4734 $as_echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739 as_fn_error 77 "C compiler cannot create executables
4740 See \`config.log' for more details" "$LINENO" 5; }
4741 else
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4746 $as_echo_n "checking for C compiler default output file name... " >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4748 $as_echo "$ac_file" >&6; }
4749 ac_exeext=$ac_cv_exeext
4751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4752 ac_clean_files=$ac_clean_files_save
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4754 $as_echo_n "checking for suffix of executables... " >&6; }
4755 if { { ac_try="$ac_link"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_link") 2>&5
4763 ac_status=$?
4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765 test $ac_status = 0; }; then :
4766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4768 # work properly (i.e., refer to `conftest.exe'), while it won't with
4769 # `rm'.
4770 for ac_file in conftest.exe conftest conftest.*; do
4771 test -f "$ac_file" || continue
4772 case $ac_file in
4773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4775 break;;
4776 * ) break;;
4777 esac
4778 done
4779 else
4780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4783 See \`config.log' for more details" "$LINENO" 5; }
4785 rm -f conftest conftest$ac_cv_exeext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4787 $as_echo "$ac_cv_exeext" >&6; }
4789 rm -f conftest.$ac_ext
4790 EXEEXT=$ac_cv_exeext
4791 ac_exeext=$EXEEXT
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4794 #include <stdio.h>
4796 main ()
4798 FILE *f = fopen ("conftest.out", "w");
4799 return ferror (f) || fclose (f) != 0;
4802 return 0;
4804 _ACEOF
4805 ac_clean_files="$ac_clean_files conftest.out"
4806 # Check that the compiler produces executables we can run. If not, either
4807 # the compiler is broken, or we cross compile.
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4809 $as_echo_n "checking whether we are cross compiling... " >&6; }
4810 if test "$cross_compiling" != yes; then
4811 { { ac_try="$ac_link"
4812 case "(($ac_try" in
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4815 esac
4816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4817 $as_echo "$ac_try_echo"; } >&5
4818 (eval "$ac_link") 2>&5
4819 ac_status=$?
4820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4821 test $ac_status = 0; }
4822 if { ac_try='./conftest$ac_cv_exeext'
4823 { { case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4826 esac
4827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4828 $as_echo "$ac_try_echo"; } >&5
4829 (eval "$ac_try") 2>&5
4830 ac_status=$?
4831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4832 test $ac_status = 0; }; }; then
4833 cross_compiling=no
4834 else
4835 if test "$cross_compiling" = maybe; then
4836 cross_compiling=yes
4837 else
4838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840 as_fn_error $? "cannot run C compiled programs.
4841 If you meant to cross compile, use \`--host'.
4842 See \`config.log' for more details" "$LINENO" 5; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4847 $as_echo "$cross_compiling" >&6; }
4849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4850 ac_clean_files=$ac_clean_files_save
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4852 $as_echo_n "checking for suffix of object files... " >&6; }
4853 if ${ac_cv_objext+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 rm -f conftest.o conftest.obj
4868 if { { ac_try="$ac_compile"
4869 case "(($ac_try" in
4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4872 esac
4873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874 $as_echo "$ac_try_echo"; } >&5
4875 (eval "$ac_compile") 2>&5
4876 ac_status=$?
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }; then :
4879 for ac_file in conftest.o conftest.obj conftest.*; do
4880 test -f "$ac_file" || continue;
4881 case $ac_file in
4882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4883 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4884 break;;
4885 esac
4886 done
4887 else
4888 $as_echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot compute suffix of object files: cannot compile
4894 See \`config.log' for more details" "$LINENO" 5; }
4896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4899 $as_echo "$ac_cv_objext" >&6; }
4900 OBJEXT=$ac_cv_objext
4901 ac_objext=$OBJEXT
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4904 if ${ac_cv_c_compiler_gnu+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4911 main ()
4913 #ifndef __GNUC__
4914 choke me
4915 #endif
4918 return 0;
4920 _ACEOF
4921 if ac_fn_c_try_compile "$LINENO"; then :
4922 ac_compiler_gnu=yes
4923 else
4924 ac_compiler_gnu=no
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4932 if test $ac_compiler_gnu = yes; then
4933 GCC=yes
4934 else
4935 GCC=
4937 ac_test_CFLAGS=${CFLAGS+set}
4938 ac_save_CFLAGS=$CFLAGS
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4941 if ${ac_cv_prog_cc_g+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 ac_save_c_werror_flag=$ac_c_werror_flag
4945 ac_c_werror_flag=yes
4946 ac_cv_prog_cc_g=no
4947 CFLAGS="-g"
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 main ()
4956 return 0;
4958 _ACEOF
4959 if ac_fn_c_try_compile "$LINENO"; then :
4960 ac_cv_prog_cc_g=yes
4961 else
4962 CFLAGS=""
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4976 else
4977 ac_c_werror_flag=$ac_save_c_werror_flag
4978 CFLAGS="-g"
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4983 main ()
4987 return 0;
4989 _ACEOF
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 ac_cv_prog_cc_g=yes
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 ac_c_werror_flag=$ac_save_c_werror_flag
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5001 $as_echo "$ac_cv_prog_cc_g" >&6; }
5002 if test "$ac_test_CFLAGS" = set; then
5003 CFLAGS=$ac_save_CFLAGS
5004 elif test $ac_cv_prog_cc_g = yes; then
5005 if test "$GCC" = yes; then
5006 CFLAGS="-g -O2"
5007 else
5008 CFLAGS="-g"
5010 else
5011 if test "$GCC" = yes; then
5012 CFLAGS="-O2"
5013 else
5014 CFLAGS=
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5019 if ${ac_cv_prog_cc_c89+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 ac_cv_prog_cc_c89=no
5023 ac_save_CC=$CC
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5027 #include <stdio.h>
5028 struct stat;
5029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5030 struct buf { int x; };
5031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5032 static char *e (p, i)
5033 char **p;
5034 int i;
5036 return p[i];
5038 static char *f (char * (*g) (char **, int), char **p, ...)
5040 char *s;
5041 va_list v;
5042 va_start (v,p);
5043 s = g (p, va_arg (v,int));
5044 va_end (v);
5045 return s;
5048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5049 function prototypes and stuff, but not '\xHH' hex character constants.
5050 These don't provoke an error unfortunately, instead are silently treated
5051 as 'x'. The following induces an error, until -std is added to get
5052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5053 array size at least. It's necessary to write '\x00'==0 to get something
5054 that's true only with -std. */
5055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5058 inside strings and character constants. */
5059 #define FOO(x) 'x'
5060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5062 int test (int i, double x);
5063 struct s1 {int (*f) (int a);};
5064 struct s2 {int (*f) (double a);};
5065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5066 int argc;
5067 char **argv;
5069 main ()
5071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5073 return 0;
5075 _ACEOF
5076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5079 CC="$ac_save_CC $ac_arg"
5080 if ac_fn_c_try_compile "$LINENO"; then :
5081 ac_cv_prog_cc_c89=$ac_arg
5083 rm -f core conftest.err conftest.$ac_objext
5084 test "x$ac_cv_prog_cc_c89" != "xno" && break
5085 done
5086 rm -f conftest.$ac_ext
5087 CC=$ac_save_CC
5090 # AC_CACHE_VAL
5091 case "x$ac_cv_prog_cc_c89" in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5094 $as_echo "none needed" >&6; } ;;
5095 xno)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5097 $as_echo "unsupported" >&6; } ;;
5099 CC="$CC $ac_cv_prog_cc_c89"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5102 esac
5103 if test "x$ac_cv_prog_cc_c89" != xno; then :
5107 ac_ext=c
5108 ac_cpp='$CPP $CPPFLAGS'
5109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113 ac_ext=cpp
5114 ac_cpp='$CXXCPP $CPPFLAGS'
5115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5118 if test -z "$CXX"; then
5119 if test -n "$CCC"; then
5120 CXX=$CCC
5121 else
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CXX+:} false; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 if test -n "$CXX"; then
5133 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5138 IFS=$as_save_IFS
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 break 2
5146 done
5147 done
5148 IFS=$as_save_IFS
5152 CXX=$ac_cv_prog_CXX
5153 if test -n "$CXX"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5155 $as_echo "$CXX" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 test -n "$CXX" && break
5163 done
5165 if test -z "$CXX"; then
5166 ac_ct_CXX=$CXX
5167 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$ac_ct_CXX"; then
5177 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_CXX="$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5197 if test -n "$ac_ct_CXX"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5199 $as_echo "$ac_ct_CXX" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$ac_ct_CXX" && break
5207 done
5209 if test "x$ac_ct_CXX" = x; then
5210 CXX="g++"
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 CXX=$ac_ct_CXX
5224 # Provide some information about the compiler.
5225 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5226 set X $ac_compile
5227 ac_compiler=$2
5228 for ac_option in --version -v -V -qversion; do
5229 { { ac_try="$ac_compiler $ac_option >&5"
5230 case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 $as_echo "$ac_try_echo"; } >&5
5236 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5237 ac_status=$?
5238 if test -s conftest.err; then
5239 sed '10a\
5240 ... rest of stderr output deleted ...
5241 10q' conftest.err >conftest.er1
5242 cat conftest.er1 >&5
5244 rm -f conftest.er1 conftest.err
5245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }
5247 done
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5250 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5251 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5258 main ()
5260 #ifndef __GNUC__
5261 choke me
5262 #endif
5265 return 0;
5267 _ACEOF
5268 if ac_fn_cxx_try_compile "$LINENO"; then :
5269 ac_compiler_gnu=yes
5270 else
5271 ac_compiler_gnu=no
5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5274 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5278 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5279 if test $ac_compiler_gnu = yes; then
5280 GXX=yes
5281 else
5282 GXX=
5284 ac_test_CXXFLAGS=${CXXFLAGS+set}
5285 ac_save_CXXFLAGS=$CXXFLAGS
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5287 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5288 if ${ac_cv_prog_cxx_g+:} false; then :
5289 $as_echo_n "(cached) " >&6
5290 else
5291 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5292 ac_cxx_werror_flag=yes
5293 ac_cv_prog_cxx_g=no
5294 CXXFLAGS="-g"
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5299 main ()
5303 return 0;
5305 _ACEOF
5306 if ac_fn_cxx_try_compile "$LINENO"; then :
5307 ac_cv_prog_cxx_g=yes
5308 else
5309 CXXFLAGS=""
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5323 else
5324 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5325 CXXFLAGS="-g"
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main ()
5334 return 0;
5336 _ACEOF
5337 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 ac_cv_prog_cxx_g=yes
5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5348 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5349 if test "$ac_test_CXXFLAGS" = set; then
5350 CXXFLAGS=$ac_save_CXXFLAGS
5351 elif test $ac_cv_prog_cxx_g = yes; then
5352 if test "$GXX" = yes; then
5353 CXXFLAGS="-g -O2"
5354 else
5355 CXXFLAGS="-g"
5357 else
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-O2"
5360 else
5361 CXXFLAGS=
5364 ac_ext=c
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5370 if test -n "$ac_tool_prefix"; then
5371 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5372 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_CPPBIN+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$CPPBIN"; then
5379 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 CPPBIN=$ac_cv_prog_CPPBIN
5399 if test -n "$CPPBIN"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5401 $as_echo "$CPPBIN" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5409 if test -z "$ac_cv_prog_CPPBIN"; then
5410 ac_ct_CPPBIN=$CPPBIN
5411 # Extract the first word of "cpp", so it can be a program name with args.
5412 set dummy cpp; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 if test -n "$ac_ct_CPPBIN"; then
5419 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_ac_ct_CPPBIN="cpp"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5438 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5439 if test -n "$ac_ct_CPPBIN"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5441 $as_echo "$ac_ct_CPPBIN" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5447 if test "x$ac_ct_CPPBIN" = x; then
5448 CPPBIN="cpp"
5449 else
5450 case $cross_compiling:$ac_tool_warned in
5451 yes:)
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5454 ac_tool_warned=yes ;;
5455 esac
5456 CPPBIN=$ac_ct_CPPBIN
5458 else
5459 CPPBIN="$ac_cv_prog_CPPBIN"
5463 cat >>confdefs.h <<_ACEOF
5464 #define EXEEXT "$ac_exeext"
5465 _ACEOF
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}ld; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_LD+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$LD"; then
5476 ac_cv_prog_LD="$LD" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_LD="${ac_tool_prefix}ld"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 LD=$ac_cv_prog_LD
5496 if test -n "$LD"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5498 $as_echo "$LD" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_LD"; then
5507 ac_ct_LD=$LD
5508 # Extract the first word of "ld", so it can be a program name with args.
5509 set dummy ld; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_LD"; then
5516 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_LD="ld"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5536 if test -n "$ac_ct_LD"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5538 $as_echo "$ac_ct_LD" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_LD" = x; then
5545 LD=""
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 LD=$ac_ct_LD
5555 else
5556 LD="$ac_cv_prog_LD"
5560 case $host in
5561 *-darwin*)
5562 with_fontconfig=${with_fontconfig:-no}
5564 *-mingw32*|*-cygwin*)
5565 enable_win16=${enable_win16:-no}
5566 with_mingw=${with_mingw:-no}
5567 CFLAGS="$CFLAGS -D_WIN32"
5569 esac
5571 case $host in
5572 x86_64*|amd64*)
5573 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5574 then
5575 CC="$CC -m32"
5576 CXX="$CXX -m32"
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5579 $as_echo_n "checking whether $CC works... " >&6; }
5580 if ${wine_cv_cc_m32+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5587 main ()
5591 return 0;
5593 _ACEOF
5594 if ac_fn_c_try_link "$LINENO"; then :
5595 wine_cv_cc_m32=yes
5596 else
5597 wine_cv_cc_m32=no
5599 rm -f core conftest.err conftest.$ac_objext \
5600 conftest$ac_exeext conftest.$ac_ext
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5603 $as_echo "$wine_cv_cc_m32" >&6; }
5604 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
5605 host_cpu="i386"
5606 notice_platform="32-bit "
5607 TARGETFLAGS="-m32"
5609 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5610 export PKG_CONFIG_PATH
5611 enable_win16=${enable_win16:-yes}
5612 with_unwind=${with_unwind:-no}
5613 else
5614 if test "x${GCC}" = "xyes"
5615 then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5617 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5618 if ${wine_cv_builtin_ms_va_list+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 #include <stdarg.h>
5625 main ()
5627 void func(__builtin_ms_va_list *args);
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 wine_cv_builtin_ms_va_list=yes
5634 else
5635 wine_cv_builtin_ms_va_list=no
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5640 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5641 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
5643 CC="$CC -m64"
5644 CXX="$CXX -m64"
5645 host_cpu="x86_64"
5646 notice_platform="64-bit "
5647 TARGETFLAGS="-m64"
5651 arm*)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5653 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5654 if ${wine_cv_thumb+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 int ac_test(int i) { return i; }
5661 main ()
5663 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5665 return 0;
5667 _ACEOF
5668 if ac_fn_c_try_link "$LINENO"; then :
5669 wine_cv_thumb=yes
5670 else
5671 wine_cv_thumb=no
5673 rm -f core conftest.err conftest.$ac_objext \
5674 conftest$ac_exeext conftest.$ac_ext
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5677 $as_echo "$wine_cv_thumb" >&6; }
5678 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5679 case $with_float_abi in
5680 soft|softfp|hard)
5681 float_abi=$with_float_abi ;;
5683 case $host_os in
5684 *eabihf)
5685 float_abi=hard ;;
5687 float_abi=softfp
5688 saved_CFLAGS=$CFLAGS
5689 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5691 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5692 if ${wine_cv_float_abi+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5699 main ()
5701 asm("vmrs r2,fpscr");
5703 return 0;
5705 _ACEOF
5706 if ac_fn_c_try_link "$LINENO"; then :
5707 wine_cv_float_abi=yes
5708 else
5709 wine_cv_float_abi=no
5711 rm -f core conftest.err conftest.$ac_objext \
5712 conftest$ac_exeext conftest.$ac_ext
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5715 $as_echo "$wine_cv_float_abi" >&6; }
5716 if test $wine_cv_float_abi = no
5717 then
5718 float_abi=soft
5719 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5721 CFLAGS=$saved_CFLAGS
5722 esac
5724 esac
5725 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5726 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5729 aarch64*)
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5731 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5732 if ${wine_cv_builtin_ms_va_list+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5737 #include <stdarg.h>
5739 main ()
5741 void func(__builtin_ms_va_list *args);
5743 return 0;
5745 _ACEOF
5746 if ac_fn_c_try_compile "$LINENO"; then :
5747 wine_cv_builtin_ms_va_list=yes
5748 else
5749 wine_cv_builtin_ms_va_list=no
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5754 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5755 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5757 i[3456789]86*)
5758 enable_win16=${enable_win16:-yes}
5759 with_unwind=${with_unwind:-no}
5761 esac
5763 enable_win16=${enable_win16:-no}
5764 enable_win64=${enable_win64:-no}
5766 enable_winetest=${enable_winetest:-$enable_tests}
5768 if test "x$enable_win64" = "xyes"
5769 then
5770 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5771 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5772 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5776 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5777 if ${wine_cv_toolsdir+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 wine_cv_toolsdir="$with_wine_tools"
5781 if test -z "$with_wine_tools"; then
5782 if test "$cross_compiling" = "yes"; then
5783 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5784 elif test -n "$with_wine64"; then
5785 wine_cv_toolsdir="$with_wine64"
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5790 $as_echo "$wine_cv_toolsdir" >&6; }
5791 if test -z "$wine_cv_toolsdir"; then
5792 wine_makedep=tools/makedep
5793 TOOLSDIR="\$(top_builddir)"
5795 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5796 wine_makedep=$wine_cv_toolsdir/tools/makedep
5797 case "$wine_cv_toolsdir" in
5798 /*) TOOLSDIR=$wine_cv_toolsdir
5800 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5802 esac
5803 enable_tools=${enable_tools:-no}
5804 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5805 else
5806 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5808 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5809 then
5810 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5814 for ac_prog in flex
5816 # Extract the first word of "$ac_prog", so it can be a program name with args.
5817 set dummy $ac_prog; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_FLEX+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 if test -n "$FLEX"; then
5824 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_FLEX="$ac_prog"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5837 done
5838 done
5839 IFS=$as_save_IFS
5843 FLEX=$ac_cv_prog_FLEX
5844 if test -n "$FLEX"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5846 $as_echo "$FLEX" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 test -n "$FLEX" && break
5854 done
5855 test -n "$FLEX" || FLEX="none"
5857 if test "$FLEX" = "none"
5858 then
5859 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5862 $as_echo_n "checking whether flex is recent enough... " >&6; }
5863 if ${wine_cv_recent_flex+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 cat >conftest.l <<EOF
5867 %top{
5868 #include "prediluvian.h"
5872 if $FLEX -t conftest.l >/dev/null 2>&5
5873 then
5874 wine_cv_recent_flex=yes
5875 else
5876 wine_cv_recent_flex=no
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5880 $as_echo "$wine_cv_recent_flex" >&6; }
5881 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
5883 for ac_prog in bison
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy $ac_prog; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_BISON+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -n "$BISON"; then
5893 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_BISON="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 break 2
5906 done
5907 done
5908 IFS=$as_save_IFS
5912 BISON=$ac_cv_prog_BISON
5913 if test -n "$BISON"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5915 $as_echo "$BISON" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$BISON" && break
5923 done
5924 test -n "$BISON" || BISON="none"
5926 if test "$BISON" = "none"
5927 then
5928 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5931 $as_echo_n "checking whether bison is recent enough... " >&6; }
5932 if ${wine_cv_recent_bison+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 cat >conftest.y <<EOF
5936 %define parse.error verbose
5938 empty: ;
5940 if $BISON conftest.y >/dev/null 2>&5
5941 then
5942 wine_cv_recent_bison=yes
5943 else
5944 wine_cv_recent_bison=no
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5948 $as_echo "$wine_cv_recent_bison" >&6; }
5949 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
5951 if test -n "$ac_tool_prefix"; then
5952 for ac_prog in ar gar
5954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_AR+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 if test -n "$AR"; then
5962 ac_cv_prog_AR="$AR" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5967 IFS=$as_save_IFS
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 AR=$ac_cv_prog_AR
5982 if test -n "$AR"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5984 $as_echo "$AR" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5991 test -n "$AR" && break
5992 done
5994 if test -z "$AR"; then
5995 ac_ct_AR=$AR
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$ac_ct_AR"; then
6006 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_ac_ct_AR="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6026 if test -n "$ac_ct_AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6028 $as_echo "$ac_ct_AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$ac_ct_AR" && break
6036 done
6038 if test "x$ac_ct_AR" = x; then
6039 AR="ar"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6045 ac_tool_warned=yes ;;
6046 esac
6047 AR=$ac_ct_AR
6051 if test -n "$ac_tool_prefix"; then
6052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}strip; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_STRIP+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$STRIP"; then
6060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 STRIP=$ac_cv_prog_STRIP
6080 if test -n "$STRIP"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6082 $as_echo "$STRIP" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6090 if test -z "$ac_cv_prog_STRIP"; then
6091 ac_ct_STRIP=$STRIP
6092 # Extract the first word of "strip", so it can be a program name with args.
6093 set dummy strip; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$ac_ct_STRIP"; then
6100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_ac_ct_STRIP="strip"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6115 IFS=$as_save_IFS
6119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6120 if test -n "$ac_ct_STRIP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6122 $as_echo "$ac_ct_STRIP" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6128 if test "x$ac_ct_STRIP" = x; then
6129 STRIP="strip"
6130 else
6131 case $cross_compiling:$ac_tool_warned in
6132 yes:)
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137 STRIP=$ac_ct_STRIP
6139 else
6140 STRIP="$ac_cv_prog_STRIP"
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_RANLIB+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$RANLIB"; then
6152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 RANLIB=$ac_cv_prog_RANLIB
6172 if test -n "$RANLIB"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6174 $as_echo "$RANLIB" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 if test -z "$ac_cv_prog_RANLIB"; then
6183 ac_ct_RANLIB=$RANLIB
6184 # Extract the first word of "ranlib", so it can be a program name with args.
6185 set dummy ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 if test -n "$ac_ct_RANLIB"; then
6192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197 IFS=$as_save_IFS
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_ac_ct_RANLIB="ranlib"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 break 2
6205 done
6206 done
6207 IFS=$as_save_IFS
6211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6212 if test -n "$ac_ct_RANLIB"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6214 $as_echo "$ac_ct_RANLIB" >&6; }
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6220 if test "x$ac_ct_RANLIB" = x; then
6221 RANLIB=":"
6222 else
6223 case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229 RANLIB=$ac_ct_RANLIB
6231 else
6232 RANLIB="$ac_cv_prog_RANLIB"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6236 $as_echo_n "checking whether ln -s works... " >&6; }
6237 LN_S=$as_ln_s
6238 if test "$LN_S" = "ln -s"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6240 $as_echo "yes" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6243 $as_echo "no, using $LN_S" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6247 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6248 if ${ac_cv_path_GREP+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 if test -z "$GREP"; then
6252 ac_path_GREP_found=false
6253 # Loop through the user's path and test for each of PROGNAME-LIST
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_prog in grep ggrep; do
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6262 as_fn_executable_p "$ac_path_GREP" || continue
6263 # Check for GNU ac_path_GREP and select it if it is found.
6264 # Check for GNU $ac_path_GREP
6265 case `"$ac_path_GREP" --version 2>&1` in
6266 *GNU*)
6267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6269 ac_count=0
6270 $as_echo_n 0123456789 >"conftest.in"
6271 while :
6273 cat "conftest.in" "conftest.in" >"conftest.tmp"
6274 mv "conftest.tmp" "conftest.in"
6275 cp "conftest.in" "conftest.nl"
6276 $as_echo 'GREP' >> "conftest.nl"
6277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6279 as_fn_arith $ac_count + 1 && ac_count=$as_val
6280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6281 # Best one so far, save it but keep looking for a better one
6282 ac_cv_path_GREP="$ac_path_GREP"
6283 ac_path_GREP_max=$ac_count
6285 # 10*(2^10) chars as input seems more than enough
6286 test $ac_count -gt 10 && break
6287 done
6288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6289 esac
6291 $ac_path_GREP_found && break 3
6292 done
6293 done
6294 done
6295 IFS=$as_save_IFS
6296 if test -z "$ac_cv_path_GREP"; then
6297 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6299 else
6300 ac_cv_path_GREP=$GREP
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6305 $as_echo "$ac_cv_path_GREP" >&6; }
6306 GREP="$ac_cv_path_GREP"
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6310 $as_echo_n "checking for egrep... " >&6; }
6311 if ${ac_cv_path_EGREP+:} false; then :
6312 $as_echo_n "(cached) " >&6
6313 else
6314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6315 then ac_cv_path_EGREP="$GREP -E"
6316 else
6317 if test -z "$EGREP"; then
6318 ac_path_EGREP_found=false
6319 # Loop through the user's path and test for each of PROGNAME-LIST
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6323 IFS=$as_save_IFS
6324 test -z "$as_dir" && as_dir=.
6325 for ac_prog in egrep; do
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6328 as_fn_executable_p "$ac_path_EGREP" || continue
6329 # Check for GNU ac_path_EGREP and select it if it is found.
6330 # Check for GNU $ac_path_EGREP
6331 case `"$ac_path_EGREP" --version 2>&1` in
6332 *GNU*)
6333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6335 ac_count=0
6336 $as_echo_n 0123456789 >"conftest.in"
6337 while :
6339 cat "conftest.in" "conftest.in" >"conftest.tmp"
6340 mv "conftest.tmp" "conftest.in"
6341 cp "conftest.in" "conftest.nl"
6342 $as_echo 'EGREP' >> "conftest.nl"
6343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6345 as_fn_arith $ac_count + 1 && ac_count=$as_val
6346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6347 # Best one so far, save it but keep looking for a better one
6348 ac_cv_path_EGREP="$ac_path_EGREP"
6349 ac_path_EGREP_max=$ac_count
6351 # 10*(2^10) chars as input seems more than enough
6352 test $ac_count -gt 10 && break
6353 done
6354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6355 esac
6357 $ac_path_EGREP_found && break 3
6358 done
6359 done
6360 done
6361 IFS=$as_save_IFS
6362 if test -z "$ac_cv_path_EGREP"; then
6363 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6365 else
6366 ac_cv_path_EGREP=$EGREP
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6372 $as_echo "$ac_cv_path_EGREP" >&6; }
6373 EGREP="$ac_cv_path_EGREP"
6376 # Extract the first word of "ldconfig", so it can be a program name with args.
6377 set dummy ldconfig; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_path_LDCONFIG+:} false; then :
6381 $as_echo_n "(cached) " >&6
6382 else
6383 case $LDCONFIG in
6384 [\\/]* | ?:[\\/]*)
6385 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in /sbin /usr/sbin $PATH
6391 IFS=$as_save_IFS
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 break 2
6399 done
6400 done
6401 IFS=$as_save_IFS
6403 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6405 esac
6407 LDCONFIG=$ac_cv_path_LDCONFIG
6408 if test -n "$LDCONFIG"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6410 $as_echo "$LDCONFIG" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 for ac_prog in msgfmt
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy $ac_prog; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_MSGFMT+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 if test -n "$MSGFMT"; then
6427 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6432 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_MSGFMT="$ac_prog"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 break 2
6440 done
6441 done
6442 IFS=$as_save_IFS
6446 MSGFMT=$ac_cv_prog_MSGFMT
6447 if test -n "$MSGFMT"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6449 $as_echo "$MSGFMT" >&6; }
6450 else
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6456 test -n "$MSGFMT" && break
6457 done
6458 test -n "$MSGFMT" || MSGFMT="false"
6460 if ${ac_tool_prefix+:} false; then :
6461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 if test -n "$PKG_CONFIG"; then
6469 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6474 IFS=$as_save_IFS
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 break 2
6482 done
6483 done
6484 IFS=$as_save_IFS
6488 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6489 if test -n "$PKG_CONFIG"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6491 $as_echo "$PKG_CONFIG" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6499 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6500 if test "x$cross_compiling" = xyes; then :
6502 else
6503 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6504 # Extract the first word of "pkg-config", so it can be a program name with args.
6505 set dummy pkg-config; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$PKG_CONFIG"; then
6512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_PKG_CONFIG="pkg-config"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6532 if test -n "$PKG_CONFIG"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6534 $as_echo "$PKG_CONFIG" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6542 else
6543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6546 if test "x$enable_maintainer_mode" != "xyes"
6547 then
6548 FONTFORGE=""
6549 RSVG=""
6550 CONVERT=""
6551 ICOTOOL=""
6552 else
6553 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6554 for ac_prog in fontforge
6556 # Extract the first word of "$ac_prog", so it can be a program name with args.
6557 set dummy $ac_prog; ac_word=$2
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 $as_echo_n "checking for $ac_word... " >&6; }
6560 if ${ac_cv_prog_FONTFORGE+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 if test -n "$FONTFORGE"; then
6564 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6565 else
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH
6569 IFS=$as_save_IFS
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_FONTFORGE="$ac_prog"
6574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 break 2
6577 done
6578 done
6579 IFS=$as_save_IFS
6583 FONTFORGE=$ac_cv_prog_FONTFORGE
6584 if test -n "$FONTFORGE"; then
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6586 $as_echo "$FONTFORGE" >&6; }
6587 else
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 $as_echo "no" >&6; }
6593 test -n "$FONTFORGE" && break
6594 done
6595 test -n "$FONTFORGE" || FONTFORGE="false"
6597 for ac_prog in rsvg-convert rsvg
6599 # Extract the first word of "$ac_prog", so it can be a program name with args.
6600 set dummy $ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_RSVG+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$RSVG"; then
6607 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_RSVG="$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 RSVG=$ac_cv_prog_RSVG
6627 if test -n "$RSVG"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6629 $as_echo "$RSVG" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$RSVG" && break
6637 done
6638 test -n "$RSVG" || RSVG="false"
6640 for ac_prog in convert
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_CONVERT+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$CONVERT"; then
6650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_CONVERT="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 CONVERT=$ac_cv_prog_CONVERT
6670 if test -n "$CONVERT"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6672 $as_echo "$CONVERT" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$CONVERT" && break
6680 done
6681 test -n "$CONVERT" || CONVERT="false"
6683 for ac_prog in icotool
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_ICOTOOL+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$ICOTOOL"; then
6693 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_ICOTOOL="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 ICOTOOL=$ac_cv_prog_ICOTOOL
6713 if test -n "$ICOTOOL"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6715 $as_echo "$ICOTOOL" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$ICOTOOL" && break
6723 done
6724 test -n "$ICOTOOL" || ICOTOOL="false"
6726 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6727 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6729 if test "$CONVERT" = false
6730 then
6731 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6732 else
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6734 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6735 convert_version=`convert --version | head -n1`
6736 if test "x$convert_version" != "x"
6737 then
6738 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6739 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6740 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6741 then
6742 CONVERT=false
6745 if test "$CONVERT" = false
6746 then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6748 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6749 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6752 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6756 if test "$ICOTOOL" = false
6757 then
6758 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6761 $as_echo_n "checking for recent enough icotool... " >&6; }
6762 icotool_version=`icotool --version | head -n1`
6763 if test "x$icotool_version" != "x"
6764 then
6765 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6766 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6767 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6768 then
6769 ICOTOOL=false
6770 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6773 if test "$ICOTOOL" = false
6774 then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6776 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6777 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6780 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6784 with_gettext=yes
6785 with_gettextpo=yes
6788 test "x$with_gettext" != xno || MSGFMT=false
6789 if test "$MSGFMT" != "false"
6790 then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6792 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6793 if ${wine_cv_msgfmt_contexts+:} false; then :
6794 $as_echo_n "(cached) " >&6
6795 else
6796 cat >conftest.po <<EOF
6797 # comment
6798 msgctxt "ctxt"
6799 msgid "id"
6800 msgstr "str"
6802 if $MSGFMT -o /dev/null conftest.po 2>&5
6803 then
6804 wine_cv_msgfmt_contexts=yes
6805 else
6806 wine_cv_msgfmt_contexts=no
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6810 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6811 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6813 if test "$MSGFMT" = false; then :
6814 case "x$with_gettext" in
6815 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6816 xno) ;;
6817 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6818 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6819 esac
6820 enable_po=${enable_po:-no}
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6825 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6826 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_check_lib_save_LIBS=$LIBS
6830 LIBS="-li386 $LIBS"
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6834 /* Override any GCC internal prototype to avoid an error.
6835 Use char because int might match the return type of a GCC
6836 builtin and then its argument prototype would still apply. */
6837 #ifdef __cplusplus
6838 extern "C"
6839 #endif
6840 char i386_set_ldt ();
6842 main ()
6844 return i386_set_ldt ();
6846 return 0;
6848 _ACEOF
6849 if ac_fn_c_try_link "$LINENO"; then :
6850 ac_cv_lib_i386_i386_set_ldt=yes
6851 else
6852 ac_cv_lib_i386_i386_set_ldt=no
6854 rm -f core conftest.err conftest.$ac_objext \
6855 conftest$ac_exeext conftest.$ac_ext
6856 LIBS=$ac_check_lib_save_LIBS
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6859 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6860 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6861 I386_LIBS="-li386"
6866 OPENGL_LIBS=""
6870 # Check whether --enable-largefile was given.
6871 if test "${enable_largefile+set}" = set; then :
6872 enableval=$enable_largefile;
6875 if test "$enable_largefile" != no; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6878 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6879 if ${ac_cv_sys_largefile_CC+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 ac_cv_sys_largefile_CC=no
6883 if test "$GCC" != yes; then
6884 ac_save_CC=$CC
6885 while :; do
6886 # IRIX 6.2 and later do not support large files by default,
6887 # so use the C compiler's -n32 option if that helps.
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 #include <sys/types.h>
6891 /* Check that off_t can represent 2**63 - 1 correctly.
6892 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6893 since some C++ compilers masquerading as C compilers
6894 incorrectly reject 9223372036854775807. */
6895 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6896 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6897 && LARGE_OFF_T % 2147483647 == 1)
6898 ? 1 : -1];
6900 main ()
6904 return 0;
6906 _ACEOF
6907 if ac_fn_c_try_compile "$LINENO"; then :
6908 break
6910 rm -f core conftest.err conftest.$ac_objext
6911 CC="$CC -n32"
6912 if ac_fn_c_try_compile "$LINENO"; then :
6913 ac_cv_sys_largefile_CC=' -n32'; break
6915 rm -f core conftest.err conftest.$ac_objext
6916 break
6917 done
6918 CC=$ac_save_CC
6919 rm -f conftest.$ac_ext
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6923 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6924 if test "$ac_cv_sys_largefile_CC" != no; then
6925 CC=$CC$ac_cv_sys_largefile_CC
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6929 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6930 if ${ac_cv_sys_file_offset_bits+:} false; then :
6931 $as_echo_n "(cached) " >&6
6932 else
6933 while :; do
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 /* Check that off_t can represent 2**63 - 1 correctly.
6938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6939 since some C++ compilers masquerading as C compilers
6940 incorrectly reject 9223372036854775807. */
6941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6943 && LARGE_OFF_T % 2147483647 == 1)
6944 ? 1 : -1];
6946 main ()
6950 return 0;
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 ac_cv_sys_file_offset_bits=no; break
6956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #define _FILE_OFFSET_BITS 64
6960 #include <sys/types.h>
6961 /* Check that off_t can represent 2**63 - 1 correctly.
6962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6963 since some C++ compilers masquerading as C compilers
6964 incorrectly reject 9223372036854775807. */
6965 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6967 && LARGE_OFF_T % 2147483647 == 1)
6968 ? 1 : -1];
6970 main ()
6974 return 0;
6976 _ACEOF
6977 if ac_fn_c_try_compile "$LINENO"; then :
6978 ac_cv_sys_file_offset_bits=64; break
6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6981 ac_cv_sys_file_offset_bits=unknown
6982 break
6983 done
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6986 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6987 case $ac_cv_sys_file_offset_bits in #(
6988 no | unknown) ;;
6990 cat >>confdefs.h <<_ACEOF
6991 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6992 _ACEOF
6994 esac
6995 rm -rf conftest*
6996 if test $ac_cv_sys_file_offset_bits = unknown; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6998 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6999 if ${ac_cv_sys_large_files+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 while :; do
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_sys_large_files=no; break
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 #define _LARGE_FILES 1
7029 #include <sys/types.h>
7030 /* Check that off_t can represent 2**63 - 1 correctly.
7031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7032 since some C++ compilers masquerading as C compilers
7033 incorrectly reject 9223372036854775807. */
7034 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7036 && LARGE_OFF_T % 2147483647 == 1)
7037 ? 1 : -1];
7039 main ()
7043 return 0;
7045 _ACEOF
7046 if ac_fn_c_try_compile "$LINENO"; then :
7047 ac_cv_sys_large_files=1; break
7049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 ac_cv_sys_large_files=unknown
7051 break
7052 done
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7055 $as_echo "$ac_cv_sys_large_files" >&6; }
7056 case $ac_cv_sys_large_files in #(
7057 no | unknown) ;;
7059 cat >>confdefs.h <<_ACEOF
7060 #define _LARGE_FILES $ac_cv_sys_large_files
7061 _ACEOF
7063 esac
7064 rm -rf conftest*
7071 ac_ext=c
7072 ac_cpp='$CPP $CPPFLAGS'
7073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7077 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7078 # On Suns, sometimes $CPP names a directory.
7079 if test -n "$CPP" && test -d "$CPP"; then
7080 CPP=
7082 if test -z "$CPP"; then
7083 if ${ac_cv_prog_CPP+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 # Double quotes because CPP needs to be expanded
7087 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7089 ac_preproc_ok=false
7090 for ac_c_preproc_warn_flag in '' yes
7092 # Use a header file that comes with gcc, so configuring glibc
7093 # with a fresh cross-compiler works.
7094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7095 # <limits.h> exists even on freestanding compilers.
7096 # On the NeXT, cc -E runs the code through the compiler's parser,
7097 # not just through cpp. "Syntax error" is here to catch this case.
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #ifdef __STDC__
7101 # include <limits.h>
7102 #else
7103 # include <assert.h>
7104 #endif
7105 Syntax error
7106 _ACEOF
7107 if ac_fn_c_try_cpp "$LINENO"; then :
7109 else
7110 # Broken: fails on valid input.
7111 continue
7113 rm -f conftest.err conftest.i conftest.$ac_ext
7115 # OK, works on sane cases. Now check whether nonexistent headers
7116 # can be detected and how.
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #include <ac_nonexistent.h>
7120 _ACEOF
7121 if ac_fn_c_try_cpp "$LINENO"; then :
7122 # Broken: success on invalid input.
7123 continue
7124 else
7125 # Passes both tests.
7126 ac_preproc_ok=:
7127 break
7129 rm -f conftest.err conftest.i conftest.$ac_ext
7131 done
7132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7133 rm -f conftest.i conftest.err conftest.$ac_ext
7134 if $ac_preproc_ok; then :
7135 break
7138 done
7139 ac_cv_prog_CPP=$CPP
7142 CPP=$ac_cv_prog_CPP
7143 else
7144 ac_cv_prog_CPP=$CPP
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7147 $as_echo "$CPP" >&6; }
7148 ac_preproc_ok=false
7149 for ac_c_preproc_warn_flag in '' yes
7151 # Use a header file that comes with gcc, so configuring glibc
7152 # with a fresh cross-compiler works.
7153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7154 # <limits.h> exists even on freestanding compilers.
7155 # On the NeXT, cc -E runs the code through the compiler's parser,
7156 # not just through cpp. "Syntax error" is here to catch this case.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #ifdef __STDC__
7160 # include <limits.h>
7161 #else
7162 # include <assert.h>
7163 #endif
7164 Syntax error
7165 _ACEOF
7166 if ac_fn_c_try_cpp "$LINENO"; then :
7168 else
7169 # Broken: fails on valid input.
7170 continue
7172 rm -f conftest.err conftest.i conftest.$ac_ext
7174 # OK, works on sane cases. Now check whether nonexistent headers
7175 # can be detected and how.
7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177 /* end confdefs.h. */
7178 #include <ac_nonexistent.h>
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7181 # Broken: success on invalid input.
7182 continue
7183 else
7184 # Passes both tests.
7185 ac_preproc_ok=:
7186 break
7188 rm -f conftest.err conftest.i conftest.$ac_ext
7190 done
7191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7192 rm -f conftest.i conftest.err conftest.$ac_ext
7193 if $ac_preproc_ok; then :
7195 else
7196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7198 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7199 See \`config.log' for more details" "$LINENO" 5; }
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7210 $as_echo_n "checking for ANSI C header files... " >&6; }
7211 if ${ac_cv_header_stdc+:} false; then :
7212 $as_echo_n "(cached) " >&6
7213 else
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #include <stdlib.h>
7217 #include <stdarg.h>
7218 #include <string.h>
7219 #include <float.h>
7222 main ()
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_compile "$LINENO"; then :
7230 ac_cv_header_stdc=yes
7231 else
7232 ac_cv_header_stdc=no
7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 if test $ac_cv_header_stdc = yes; then
7237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <string.h>
7242 _ACEOF
7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7244 $EGREP "memchr" >/dev/null 2>&1; then :
7246 else
7247 ac_cv_header_stdc=no
7249 rm -f conftest*
7253 if test $ac_cv_header_stdc = yes; then
7254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <stdlib.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "free" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7272 if test "$cross_compiling" = yes; then :
7274 else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #include <ctype.h>
7278 #include <stdlib.h>
7279 #if ((' ' & 0x0FF) == 0x020)
7280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7282 #else
7283 # define ISLOWER(c) \
7284 (('a' <= (c) && (c) <= 'i') \
7285 || ('j' <= (c) && (c) <= 'r') \
7286 || ('s' <= (c) && (c) <= 'z'))
7287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7288 #endif
7290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7292 main ()
7294 int i;
7295 for (i = 0; i < 256; i++)
7296 if (XOR (islower (i), ISLOWER (i))
7297 || toupper (i) != TOUPPER (i))
7298 return 2;
7299 return 0;
7301 _ACEOF
7302 if ac_fn_c_try_run "$LINENO"; then :
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7308 conftest.$ac_objext conftest.beam conftest.$ac_ext
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7314 $as_echo "$ac_cv_header_stdc" >&6; }
7315 if test $ac_cv_header_stdc = yes; then
7317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7323 inttypes.h stdint.h unistd.h
7324 do :
7325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7331 _ACEOF
7335 done
7338 for ac_header in \
7339 AL/al.h \
7340 ApplicationServices/ApplicationServices.h \
7341 AudioToolbox/AudioConverter.h \
7342 AudioUnit/AudioUnit.h \
7343 AudioUnit/AudioComponent.h \
7344 CL/cl.h \
7345 Carbon/Carbon.h \
7346 CommonCrypto/CommonCryptor.h \
7347 CoreAudio/CoreAudio.h \
7348 CoreServices/CoreServices.h \
7349 DiskArbitration/DiskArbitration.h \
7350 EGL/egl.h \
7351 IOKit/IOKitLib.h \
7352 IOKit/hid/IOHIDLib.h \
7353 OpenAL/al.h \
7354 OpenCL/opencl.h \
7355 QuickTime/ImageCompression.h \
7356 Security/Security.h \
7357 alias.h \
7358 arpa/inet.h \
7359 arpa/nameser.h \
7360 asm/types.h \
7361 asm/user.h \
7362 curses.h \
7363 dirent.h \
7364 dlfcn.h \
7365 elf.h \
7366 float.h \
7367 fnmatch.h \
7368 getopt.h \
7369 gettext-po.h \
7370 grp.h \
7371 gsm.h \
7372 gsm/gsm.h \
7373 ieeefp.h \
7374 inet/mib2.h \
7375 kstat.h \
7376 libproc.h \
7377 link.h \
7378 linux/cdrom.h \
7379 linux/compiler.h \
7380 linux/filter.h \
7381 linux/hdreg.h \
7382 linux/hidraw.h \
7383 linux/input.h \
7384 linux/ioctl.h \
7385 linux/joystick.h \
7386 linux/major.h \
7387 linux/param.h \
7388 linux/serial.h \
7389 linux/types.h \
7390 linux/ucdrom.h \
7391 lwp.h \
7392 mach-o/nlist.h \
7393 mach-o/loader.h \
7394 mach/mach.h \
7395 mach/machine.h \
7396 machine/cpu.h \
7397 machine/limits.h \
7398 machine/sysarch.h \
7399 mntent.h \
7400 ncurses.h \
7401 netdb.h \
7402 netinet/in.h \
7403 netinet/in_systm.h \
7404 netinet/tcp.h \
7405 netinet/tcp_fsm.h \
7406 pcap/pcap.h \
7407 poll.h \
7408 port.h \
7409 pthread.h \
7410 pwd.h \
7411 sched.h \
7412 scsi/scsi.h \
7413 scsi/scsi_ioctl.h \
7414 scsi/sg.h \
7415 stdbool.h \
7416 stdint.h \
7417 stropts.h \
7418 sys/attr.h \
7419 sys/auxv.h \
7420 sys/cdio.h \
7421 sys/elf32.h \
7422 sys/epoll.h \
7423 sys/event.h \
7424 sys/exec_elf.h \
7425 sys/filio.h \
7426 sys/ioctl.h \
7427 sys/ipc.h \
7428 sys/limits.h \
7429 sys/link.h \
7430 sys/mman.h \
7431 sys/modem.h \
7432 sys/msg.h \
7433 sys/mtio.h \
7434 sys/param.h \
7435 sys/poll.h \
7436 sys/prctl.h \
7437 sys/protosw.h \
7438 sys/ptrace.h \
7439 sys/queue.h \
7440 sys/resource.h \
7441 sys/scsiio.h \
7442 sys/shm.h \
7443 sys/signal.h \
7444 sys/socket.h \
7445 sys/socketvar.h \
7446 sys/sockio.h \
7447 sys/statvfs.h \
7448 sys/strtio.h \
7449 sys/syscall.h \
7450 sys/sysinfo.h \
7451 sys/tihdr.h \
7452 sys/time.h \
7453 sys/timeout.h \
7454 sys/times.h \
7455 sys/uio.h \
7456 sys/user.h \
7457 sys/utsname.h \
7458 sys/vnode.h \
7459 sys/wait.h \
7460 syscall.h \
7461 termios.h \
7462 unistd.h \
7463 utime.h \
7464 valgrind/memcheck.h \
7465 valgrind/valgrind.h
7467 do :
7468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7469 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7471 cat >>confdefs.h <<_ACEOF
7472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7473 _ACEOF
7477 done
7479 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7480 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7482 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7487 if test $ac_cv_header_sys_mkdev_h = no; then
7488 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7489 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7491 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7498 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7499 if ${ac_cv_header_stat_broken+:} false; then :
7500 $as_echo_n "(cached) " >&6
7501 else
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7504 #include <sys/types.h>
7505 #include <sys/stat.h>
7507 #if defined S_ISBLK && defined S_IFDIR
7508 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7509 #endif
7511 #if defined S_ISBLK && defined S_IFCHR
7512 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7513 #endif
7515 #if defined S_ISLNK && defined S_IFREG
7516 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7517 #endif
7519 #if defined S_ISSOCK && defined S_IFREG
7520 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7521 #endif
7523 _ACEOF
7524 if ac_fn_c_try_compile "$LINENO"; then :
7525 ac_cv_header_stat_broken=no
7526 else
7527 ac_cv_header_stat_broken=yes
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7532 $as_echo "$ac_cv_header_stat_broken" >&6; }
7533 if test $ac_cv_header_stat_broken = yes; then
7535 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7541 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7542 do :
7543 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7544 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7545 #ifdef HAVE_SYS_PARAM_H
7546 # include <sys/param.h>
7547 #endif
7549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7550 cat >>confdefs.h <<_ACEOF
7551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7559 for ac_header in \
7560 netinet/ip.h \
7561 net/if.h \
7562 net/if_arp.h \
7563 net/if_dl.h \
7564 net/if_types.h \
7565 net/route.h \
7566 netinet/if_ether.h \
7567 netinet/if_inarp.h \
7568 netinet/in_pcb.h \
7569 netinet/ip_icmp.h \
7570 netinet/ip_var.h \
7571 netinet/udp.h \
7572 netipx/ipx.h \
7573 sys/un.h \
7575 do :
7576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7578 #ifdef HAVE_SYS_SOCKET_H
7579 # include <sys/socket.h>
7580 #endif
7581 #ifdef HAVE_SYS_SOCKETVAR_H
7582 # include <sys/socketvar.h>
7583 #endif
7584 #ifdef HAVE_NET_ROUTE_H
7585 # include <net/route.h>
7586 #endif
7587 #ifdef HAVE_NETINET_IN_H
7588 # include <netinet/in.h>
7589 #endif
7590 #ifdef HAVE_NETINET_IN_SYSTM_H
7591 # include <netinet/in_systm.h>
7592 #endif
7593 #ifdef HAVE_NET_IF_H
7594 # include <net/if.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IP_H
7597 # include <netinet/ip.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7611 do :
7612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7614 #ifdef HAVE_ALIAS_H
7615 # include <alias.h>
7616 #endif
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7619 #endif
7620 #ifdef HAVE_SYS_SOCKETVAR_H
7621 # include <sys/socketvar.h>
7622 #endif
7623 #ifdef HAVE_SYS_TIMEOUT_H
7624 # include <sys/timeout.h>
7625 #endif
7626 #ifdef HAVE_NETINET_IN_H
7627 # include <netinet/in.h>
7628 #endif
7629 #ifdef HAVE_NETINET_IN_SYSTM_H
7630 # include <netinet/in_systm.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IP_H
7633 # include <netinet/ip.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IP_VAR_H
7636 # include <netinet/ip_var.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_ICMP_H
7639 # include <netinet/ip_icmp.h>
7640 #endif
7641 #ifdef HAVE_NETINET_UDP_H
7642 # include <netinet/udp.h>
7643 #endif
7644 #ifdef HAVE_NETINET_TCP_H
7645 # include <netinet/tcp.h>
7646 #endif
7647 #ifdef HAVE_NETINET_TCP_TIMER_H
7648 #include <netinet/tcp_timer.h>
7649 #endif
7651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 _ACEOF
7658 done
7661 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7662 do :
7663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7665 #ifdef HAVE_ASM_TYPES_H
7666 # include <asm/types.h>
7667 #endif
7668 #ifdef HAVE_SYS_SOCKET_H
7669 # include <sys/socket.h>
7670 #endif
7671 #ifdef HAVE_LINUX_TYPES_H
7672 # include <linux/types.h>
7673 #endif
7675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7678 _ACEOF
7682 done
7685 for ac_header in mach-o/dyld_images.h
7686 do :
7687 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7688 # include <stdbool.h>
7689 #endif
7690 #ifdef HAVE_STDINT_H
7691 # include <stdint.h>
7692 #endif
7694 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7697 _ACEOF
7701 done
7704 for ac_header in resolv.h
7705 do :
7706 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_SOCKET_H
7708 # include <sys/socket.h>
7709 #endif
7710 #ifdef HAVE_NETINET_IN_H
7711 # include <netinet/in.h>
7712 #endif
7713 #ifdef HAVE_ARPA_NAMESER_H
7714 # include <arpa/nameser.h>
7715 #endif
7717 if test "x$ac_cv_header_resolv_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_RESOLV_H 1
7720 _ACEOF
7724 done
7727 for ac_header in ifaddrs.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7731 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_IFADDRS_H 1
7734 _ACEOF
7738 done
7741 for ac_header in sys/ucontext.h
7742 do :
7743 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7745 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_SYS_UCONTEXT_H 1
7748 _ACEOF
7752 done
7755 for ac_header in sys/thr.h
7756 do :
7757 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7758 #ifdef HAVE_SYS_UCONTEXT_H
7759 #include <sys/ucontext.h>
7760 #endif
7762 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_SYS_THR_H 1
7765 _ACEOF
7769 done
7772 for ac_header in pthread_np.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7775 #include <pthread.h>
7776 #endif
7778 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_PTHREAD_NP_H 1
7781 _ACEOF
7785 done
7788 for ac_header in linux/videodev2.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7791 #include <sys/time.h>
7792 #endif
7793 #include <sys/types.h>
7794 #ifdef HAVE_ASM_TYPES_H
7795 #include <asm/types.h>
7796 #endif
7798 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_LINUX_VIDEODEV2_H 1
7801 _ACEOF
7805 done
7808 for ac_header in libprocstat.h
7809 do :
7810 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7811 #include <sys/param.h>
7812 #endif
7813 #ifdef HAVE_SYS_QUEUE_H
7814 #include <sys/queue.h>
7815 #endif
7816 #ifdef HAVE_SYS_SOCKET_H
7817 #include <sys/socket.h>
7818 #endif
7820 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_LIBPROCSTAT_H 1
7823 _ACEOF
7827 done
7831 DLLFLAGS="-D_REENTRANT"
7833 LDRPATH_INSTALL=""
7835 LDRPATH_LOCAL=""
7837 LDDLLFLAGS=""
7839 LDEXECFLAGS=""
7841 TOP_INSTALL_LIB=""
7843 TOP_INSTALL_DEV=""
7845 WINELOADER_LDFLAGS=""
7847 WINEPRELOADER_LDFLAGS=""
7849 LIBEXT="so"
7850 DLLEXT=".so"
7851 # Extract the first word of "ldd", so it can be a program name with args.
7852 set dummy ldd; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7854 $as_echo_n "checking for $ac_word... " >&6; }
7855 if ${ac_cv_path_LDD+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 case $LDD in
7859 [\\/]* | ?:[\\/]*)
7860 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 as_dummy="/sbin:/usr/sbin:$PATH"
7865 for as_dir in $as_dummy
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7879 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7881 esac
7883 LDD=$ac_cv_path_LDD
7884 if test -n "$LDD"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7886 $as_echo "$LDD" >&6; }
7887 else
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}otool; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_OTOOL+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 if test -n "$OTOOL"; then
7902 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 OTOOL=$ac_cv_prog_OTOOL
7922 if test -n "$OTOOL"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7924 $as_echo "$OTOOL" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7932 if test -z "$ac_cv_prog_OTOOL"; then
7933 ac_ct_OTOOL=$OTOOL
7934 # Extract the first word of "otool", so it can be a program name with args.
7935 set dummy otool; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$ac_ct_OTOOL"; then
7942 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_ac_ct_OTOOL="otool"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7962 if test -n "$ac_ct_OTOOL"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7964 $as_echo "$ac_ct_OTOOL" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7970 if test "x$ac_ct_OTOOL" = x; then
7971 OTOOL="otool"
7972 else
7973 case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7977 ac_tool_warned=yes ;;
7978 esac
7979 OTOOL=$ac_ct_OTOOL
7981 else
7982 OTOOL="$ac_cv_prog_OTOOL"
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_READELF+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$READELF"; then
7994 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 READELF=$ac_cv_prog_READELF
8014 if test -n "$READELF"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8016 $as_echo "$READELF" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_READELF"; then
8025 ac_ct_READELF=$READELF
8026 # Extract the first word of "readelf", so it can be a program name with args.
8027 set dummy readelf; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_READELF"; then
8034 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_READELF="readelf"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8054 if test -n "$ac_ct_READELF"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8056 $as_echo "$ac_ct_READELF" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_READELF" = x; then
8063 READELF="true"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 READELF=$ac_ct_READELF
8073 else
8074 READELF="$ac_cv_prog_READELF"
8077 wine_rules_file=conf$$rules.make
8078 rm -f $wine_rules_file
8079 SUBDIRS=""
8081 DISABLED_SUBDIRS=""
8083 CONFIGURE_TARGETS=""
8086 wine_fn_append_file ()
8088 as_fn_append $1 " \\$as_nl $2"
8091 wine_fn_append_rule ()
8093 $as_echo "$1" >>$wine_rules_file
8096 wine_fn_config_makefile ()
8098 wine_fn_append_file SUBDIRS $1
8099 if eval test \"x\$"$2"\" = x"no"; then :
8100 wine_fn_append_file DISABLED_SUBDIRS $1
8104 wine_fn_config_symlink ()
8106 ac_links=$@
8107 wine_fn_append_rule \
8108 "$ac_links:
8109 @./config.status \$@"
8110 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8113 wine_binary="wine"
8114 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8115 WINELOADER_PROGRAMS="$wine_binary"
8117 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8119 case $host_os in
8120 cygwin*|mingw32*)
8121 if test -n "$ac_tool_prefix"; then
8122 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8123 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8125 $as_echo_n "checking for $ac_word... " >&6; }
8126 if ${ac_cv_prog_DLLTOOL+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 if test -n "$DLLTOOL"; then
8130 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8131 else
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 for as_dir in $PATH
8135 IFS=$as_save_IFS
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8139 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 break 2
8143 done
8144 done
8145 IFS=$as_save_IFS
8149 DLLTOOL=$ac_cv_prog_DLLTOOL
8150 if test -n "$DLLTOOL"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8152 $as_echo "$DLLTOOL" >&6; }
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8160 if test -z "$ac_cv_prog_DLLTOOL"; then
8161 ac_ct_DLLTOOL=$DLLTOOL
8162 # Extract the first word of "dlltool", so it can be a program name with args.
8163 set dummy dlltool; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8165 $as_echo_n "checking for $ac_word... " >&6; }
8166 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 if test -n "$ac_ct_DLLTOOL"; then
8170 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8171 else
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 for as_dir in $PATH
8175 IFS=$as_save_IFS
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 break 2
8183 done
8184 done
8185 IFS=$as_save_IFS
8189 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8190 if test -n "$ac_ct_DLLTOOL"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8192 $as_echo "$ac_ct_DLLTOOL" >&6; }
8193 else
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8198 if test "x$ac_ct_DLLTOOL" = x; then
8199 DLLTOOL="false"
8200 else
8201 case $cross_compiling:$ac_tool_warned in
8202 yes:)
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8205 ac_tool_warned=yes ;;
8206 esac
8207 DLLTOOL=$ac_ct_DLLTOOL
8209 else
8210 DLLTOOL="$ac_cv_prog_DLLTOOL"
8213 LIBEXT="dll"
8214 DLLEXT=""
8215 case $host_cpu in
8216 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8217 esac
8218 enable_iphlpapi=${enable_iphlpapi:-no}
8219 enable_kernel32=${enable_kernel32:-no}
8220 enable_ntdll=${enable_ntdll:-no}
8221 enable_ws2_32=${enable_ws2_32:-no}
8222 enable_loader=${enable_loader:-no}
8223 enable_server=${enable_server:-no}
8224 with_x=${with_x:-no}
8225 with_pthread=${with_pthread:-no}
8228 darwin*|macosx*)
8229 ac_ext=m
8230 ac_cpp='$OBJCPP $CPPFLAGS'
8231 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8232 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8233 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8235 ac_ext=m
8236 ac_cpp='$OBJCPP $CPPFLAGS'
8237 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8238 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8239 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8240 if test -n "$ac_tool_prefix"; then
8241 for ac_prog in gcc objcc objc cc CC
8243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_OBJC+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 if test -n "$OBJC"; then
8251 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8256 IFS=$as_save_IFS
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 break 2
8264 done
8265 done
8266 IFS=$as_save_IFS
8270 OBJC=$ac_cv_prog_OBJC
8271 if test -n "$OBJC"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8273 $as_echo "$OBJC" >&6; }
8274 else
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8280 test -n "$OBJC" && break
8281 done
8283 if test -z "$OBJC"; then
8284 ac_ct_OBJC=$OBJC
8285 for ac_prog in gcc objcc objc cc CC
8287 # Extract the first word of "$ac_prog", so it can be a program name with args.
8288 set dummy $ac_prog; ac_word=$2
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 $as_echo_n "checking for $ac_word... " >&6; }
8291 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 if test -n "$ac_ct_OBJC"; then
8295 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8296 else
8297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 for as_dir in $PATH
8300 IFS=$as_save_IFS
8301 test -z "$as_dir" && as_dir=.
8302 for ac_exec_ext in '' $ac_executable_extensions; do
8303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8304 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8306 break 2
8308 done
8309 done
8310 IFS=$as_save_IFS
8314 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8315 if test -n "$ac_ct_OBJC"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8317 $as_echo "$ac_ct_OBJC" >&6; }
8318 else
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8324 test -n "$ac_ct_OBJC" && break
8325 done
8327 if test "x$ac_ct_OBJC" = x; then
8328 OBJC="gcc"
8329 else
8330 case $cross_compiling:$ac_tool_warned in
8331 yes:)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8334 ac_tool_warned=yes ;;
8335 esac
8336 OBJC=$ac_ct_OBJC
8340 # Provide some information about the compiler.
8341 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8342 set X $ac_compile
8343 ac_compiler=$2
8344 for ac_option in --version -v -V -qversion; do
8345 { { ac_try="$ac_compiler $ac_option >&5"
8346 case "(($ac_try" in
8347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8348 *) ac_try_echo=$ac_try;;
8349 esac
8350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8351 $as_echo "$ac_try_echo"; } >&5
8352 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8353 ac_status=$?
8354 if test -s conftest.err; then
8355 sed '10a\
8356 ... rest of stderr output deleted ...
8357 10q' conftest.err >conftest.er1
8358 cat conftest.er1 >&5
8360 rm -f conftest.er1 conftest.err
8361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8362 test $ac_status = 0; }
8363 done
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8366 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8367 if ${ac_cv_objc_compiler_gnu+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 main ()
8376 #ifndef __GNUC__
8377 choke me
8378 #endif
8381 return 0;
8383 _ACEOF
8384 if ac_fn_objc_try_compile "$LINENO"; then :
8385 ac_compiler_gnu=yes
8386 else
8387 ac_compiler_gnu=no
8389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8390 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8394 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8395 if test $ac_compiler_gnu = yes; then
8396 GOBJC=yes
8397 else
8398 GOBJC=
8400 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8401 ac_save_OBJCFLAGS=$OBJCFLAGS
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8403 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8404 if ${ac_cv_prog_objc_g+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_save_objc_werror_flag=$ac_objc_werror_flag
8408 ac_objc_werror_flag=yes
8409 ac_cv_prog_objc_g=no
8410 OBJCFLAGS="-g"
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8415 main ()
8419 return 0;
8421 _ACEOF
8422 if ac_fn_objc_try_compile "$LINENO"; then :
8423 ac_cv_prog_objc_g=yes
8424 else
8425 OBJCFLAGS=""
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8430 main ()
8434 return 0;
8436 _ACEOF
8437 if ac_fn_objc_try_compile "$LINENO"; then :
8439 else
8440 ac_objc_werror_flag=$ac_save_objc_werror_flag
8441 OBJCFLAGS="-g"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8446 main ()
8450 return 0;
8452 _ACEOF
8453 if ac_fn_objc_try_compile "$LINENO"; then :
8454 ac_cv_prog_objc_g=yes
8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 ac_objc_werror_flag=$ac_save_objc_werror_flag
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8464 $as_echo "$ac_cv_prog_objc_g" >&6; }
8465 if test "$ac_test_OBJCFLAGS" = set; then
8466 OBJCFLAGS=$ac_save_OBJCFLAGS
8467 elif test $ac_cv_prog_objc_g = yes; then
8468 if test "$GOBJC" = yes; then
8469 OBJCFLAGS="-g -O2"
8470 else
8471 OBJCFLAGS="-g"
8473 else
8474 if test "$GOBJC" = yes; then
8475 OBJCFLAGS="-O2"
8476 else
8477 OBJCFLAGS=
8480 ac_ext=m
8481 ac_cpp='$OBJCPP $CPPFLAGS'
8482 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8487 ac_ext=m
8488 ac_cpp='$OBJCPP $CPPFLAGS'
8489 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8493 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8494 if test -z "$OBJCPP"; then
8495 if ${ac_cv_prog_OBJCPP+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 # Double quotes because OBJCPP needs to be expanded
8499 for OBJCPP in "$OBJC -E" "/lib/cpp"
8501 ac_preproc_ok=false
8502 for ac_objc_preproc_warn_flag in '' yes
8504 # Use a header file that comes with gcc, so configuring glibc
8505 # with a fresh cross-compiler works.
8506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8507 # <limits.h> exists even on freestanding compilers.
8508 # On the NeXT, cc -E runs the code through the compiler's parser,
8509 # not just through cpp. "Syntax error" is here to catch this case.
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 #ifdef __STDC__
8513 # include <limits.h>
8514 #else
8515 # include <assert.h>
8516 #endif
8517 Syntax error
8518 _ACEOF
8519 if ac_fn_objc_try_cpp "$LINENO"; then :
8521 else
8522 # Broken: fails on valid input.
8523 continue
8525 rm -f conftest.err conftest.i conftest.$ac_ext
8527 # OK, works on sane cases. Now check whether nonexistent headers
8528 # can be detected and how.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #include <ac_nonexistent.h>
8532 _ACEOF
8533 if ac_fn_objc_try_cpp "$LINENO"; then :
8534 # Broken: success on invalid input.
8535 continue
8536 else
8537 # Passes both tests.
8538 ac_preproc_ok=:
8539 break
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 done
8544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8545 rm -f conftest.i conftest.err conftest.$ac_ext
8546 if $ac_preproc_ok; then :
8547 break
8550 done
8551 ac_cv_prog_OBJCPP=$OBJCPP
8554 OBJCPP=$ac_cv_prog_OBJCPP
8555 else
8556 ac_cv_prog_OBJCPP=$OBJCPP
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8559 $as_echo "$OBJCPP" >&6; }
8560 ac_preproc_ok=false
8561 for ac_objc_preproc_warn_flag in '' yes
8563 # Use a header file that comes with gcc, so configuring glibc
8564 # with a fresh cross-compiler works.
8565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8566 # <limits.h> exists even on freestanding compilers.
8567 # On the NeXT, cc -E runs the code through the compiler's parser,
8568 # not just through cpp. "Syntax error" is here to catch this case.
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8571 #ifdef __STDC__
8572 # include <limits.h>
8573 #else
8574 # include <assert.h>
8575 #endif
8576 Syntax error
8577 _ACEOF
8578 if ac_fn_objc_try_cpp "$LINENO"; then :
8580 else
8581 # Broken: fails on valid input.
8582 continue
8584 rm -f conftest.err conftest.i conftest.$ac_ext
8586 # OK, works on sane cases. Now check whether nonexistent headers
8587 # can be detected and how.
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 #include <ac_nonexistent.h>
8591 _ACEOF
8592 if ac_fn_objc_try_cpp "$LINENO"; then :
8593 # Broken: success on invalid input.
8594 continue
8595 else
8596 # Passes both tests.
8597 ac_preproc_ok=:
8598 break
8600 rm -f conftest.err conftest.i conftest.$ac_ext
8602 done
8603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8604 rm -f conftest.i conftest.err conftest.$ac_ext
8605 if $ac_preproc_ok; then :
8607 else
8608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8610 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8611 See \`config.log' for more details" "$LINENO" 5; }
8614 ac_ext=m
8615 ac_cpp='$OBJCPP $CPPFLAGS'
8616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8621 for ac_header in Metal/Metal.h
8622 do :
8623 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8624 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8625 cat >>confdefs.h <<_ACEOF
8626 #define HAVE_METAL_METAL_H 1
8627 _ACEOF
8631 done
8633 ac_ext=c
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8639 LIBEXT="dylib"
8640 DLLFLAGS="$DLLFLAGS -fPIC"
8641 LDDLLFLAGS="-fPIC"
8642 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8643 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8644 COREFOUNDATION_LIBS="-framework CoreFoundation"
8646 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8648 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8650 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8652 CORESERVICES_LIBS="-framework CoreServices"
8654 APPKIT_LIBS="-framework AppKit"
8657 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8659 wine_can_build_preloader=yes
8660 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8662 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8663 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_cflags__Wl__no_new_main__e__main=yes
8674 else
8675 ac_cv_cflags__Wl__no_new_main__e__main=no
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8682 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8683 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8684 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8686 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8687 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 ac_wine_try_cflags_saved=$CFLAGS
8691 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 int main(int argc, char **argv) { return 0; }
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8698 else
8699 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8706 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8707 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8708 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8709 else
8710 { $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
8711 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8712 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8723 else
8724 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8731 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8732 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8733 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8734 else
8735 wine_can_build_preloader=no
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8740 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8741 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 int main(int argc, char **argv) { return 0; }
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8752 else
8753 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8760 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8761 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8762 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8765 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8766 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8777 else
8778 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8785 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8786 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8787 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8788 else
8789 wine_can_build_preloader=no
8793 if test "$wine_can_build_preloader" = "yes"
8794 then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8797 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-no_pie"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__no_pie=yes
8808 else
8809 ac_cv_cflags__Wl__no_pie=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8816 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8817 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8818 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8820 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8821 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8822 else
8823 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8826 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8827 then
8828 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8831 if test "$ac_cv_header_Security_Security_h" = "yes"
8832 then
8833 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8835 ac_save_LIBS="$LIBS"
8836 LIBS="$LIBS $SECURITY_LIBS"
8837 for ac_func in SSLCopyPeerCertificates
8838 do :
8839 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8840 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8841 cat >>confdefs.h <<_ACEOF
8842 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8843 _ACEOF
8846 done
8848 LIBS="$ac_save_LIBS"
8850 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8851 then
8852 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8853 then
8854 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8856 else
8857 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8860 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8861 ac_save_LIBS="$LIBS"
8862 LIBS="$LIBS $COREAUDIO_LIBS"
8863 for ac_func in AUGraphAddNode
8864 do :
8865 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8866 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8867 cat >>confdefs.h <<_ACEOF
8868 #define HAVE_AUGRAPHADDNODE 1
8869 _ACEOF
8872 done
8874 LIBS="$ac_save_LIBS"
8876 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8877 then
8878 OPENAL_LIBS="-framework OpenAL"
8881 cat >>confdefs.h <<_ACEOF
8882 #define HAVE_OPENAL 1
8883 _ACEOF
8885 ac_cv_lib_openal=yes
8887 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8888 then
8889 OPENCL_LIBS="-framework OpenCL"
8891 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8893 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8894 then
8895 ac_save_LIBS="$LIBS"
8896 LIBS="$LIBS $IOKIT_LIBS"
8897 for ac_func in IOHIDManagerCreate
8898 do :
8899 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8900 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8901 cat >>confdefs.h <<_ACEOF
8902 #define HAVE_IOHIDMANAGERCREATE 1
8903 _ACEOF
8906 done
8908 LIBS="$ac_save_LIBS"
8910 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8911 then
8912 ac_save_LIBS="$LIBS"
8913 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8915 $as_echo_n "checking for the QuickTime framework... " >&6; }
8916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8918 #include <QuickTime/ImageCompression.h>
8920 main ()
8922 CodecManagerVersion(NULL);
8924 return 0;
8926 _ACEOF
8927 if ac_fn_c_try_link "$LINENO"; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8929 $as_echo "yes" >&6; }
8930 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8932 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8933 else
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8935 $as_echo "no" >&6; }
8936 ac_cv_header_QuickTime_ImageCompression_h=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 LIBS="$ac_save_LIBS"
8942 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8943 then
8944 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8946 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8947 then
8948 CARBON_LIBS="-framework Carbon"
8951 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8952 then
8953 METAL_LIBS="-framework Metal -framework QuartzCore"
8957 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8958 then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8960 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8961 ac_ext=m
8962 ac_cpp='$OBJCPP $CPPFLAGS'
8963 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8964 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8965 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8969 #include <Metal/Metal.h>
8971 main ()
8973 id<MTLDevice> device; device.registryID;
8975 return 0;
8977 _ACEOF
8978 if ac_fn_objc_try_compile "$LINENO"; then :
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8980 $as_echo "yes" >&6; }
8982 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8986 $as_echo "no" >&6; }
8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8989 ac_ext=c
8990 ac_cpp='$CPP $CPPFLAGS'
8991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8997 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8998 then
8999 ac_save_LIBS="$LIBS"
9000 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9001 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9002 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9003 enable_winemac_drv=${enable_winemac_drv:-yes}
9006 LIBS="$ac_save_LIBS"
9009 if test "x$enable_win16" = "xyes"
9010 then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9012 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9013 if test "$cross_compiling" = yes; then :
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9015 $as_echo "cross-compiling, assuming yes" >&6; }
9016 else
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 asm(".text\n"
9020 "bad:\tnop;nop\n"
9021 "good:\tnop;nop\n\t"
9022 ".globl _testfunc\n"
9023 "_testfunc:\tcallw good");
9024 extern void testfunc();
9026 main ()
9028 unsigned short *p = (unsigned short *)testfunc;
9029 return p[0] != 0xe866 || p[1] != 0xfffa
9031 return 0;
9033 _ACEOF
9034 if ac_fn_c_try_run "$LINENO"; then :
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9036 $as_echo "yes" >&6; }
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9040 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
9042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9043 conftest.$ac_objext conftest.beam conftest.$ac_ext
9048 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9050 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9052 WINELOADER_DEPENDS="wine_info.plist"
9054 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9055 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9058 linux-android*)
9059 DLLFLAGS="$DLLFLAGS -fPIC"
9060 LDDLLFLAGS="-fPIC"
9061 LDEXECFLAGS="-Wl,-pie"
9062 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9064 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9065 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int main(int argc, char **argv) { return 0; }
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9076 else
9077 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9084 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9085 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9086 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9088 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9089 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9091 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9092 if eval \${$as_ac_var+:} false; then :
9093 $as_echo_n "(cached) " >&6
9094 else
9095 ac_wine_try_cflags_saved=$CFLAGS
9096 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9099 int main(int argc, char **argv) { return 0; }
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9102 eval "$as_ac_var=yes"
9103 else
9104 eval "$as_ac_var=no"
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 eval ac_res=\$$as_ac_var
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9112 $as_echo "$ac_res" >&6; }
9113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9114 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9115 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9116 else
9117 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9120 if eval \${$as_ac_var+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_wine_try_cflags_saved=$CFLAGS
9124 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 int main(int argc, char **argv) { return 0; }
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 eval "$as_ac_var=yes"
9131 else
9132 eval "$as_ac_var=no"
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 eval ac_res=\$$as_ac_var
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9140 $as_echo "$ac_res" >&6; }
9141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9142 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9143 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9147 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9148 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_wine_try_cflags_saved=$CFLAGS
9152 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9155 int main(int argc, char **argv) { return 0; }
9156 _ACEOF
9157 if ac_fn_c_try_link "$LINENO"; then :
9158 ac_cv_cflags__Wl___enable_new_dtags=yes
9159 else
9160 ac_cv_cflags__Wl___enable_new_dtags=no
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 CFLAGS=$ac_wine_try_cflags_saved
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9167 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9168 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9169 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9172 LIBWINE_SHAREDLIB="libwine.so"
9174 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9176 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9179 $as_echo_n "checking for -lEGL... " >&6; }
9180 if ${ac_cv_lib_soname_EGL+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_soname_save_LIBS=$LIBS
9184 LIBS="-lEGL $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char eglGetProcAddress ();
9196 main ()
9198 return eglGetProcAddress ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 case "$LIBEXT" in
9205 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9206 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'` ;;
9207 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9208 if ${ac_cv_lib_soname_EGL:+false} :; then :
9209 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9210 fi ;;
9211 esac
9212 else
9213 ac_cv_lib_soname_EGL=
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_soname_save_LIBS
9219 if ${ac_cv_lib_soname_EGL:+false} :; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9223 else
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9225 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9227 cat >>confdefs.h <<_ACEOF
9228 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9229 _ACEOF
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9234 $as_echo_n "checking for -lGLESv2... " >&6; }
9235 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_soname_save_LIBS=$LIBS
9239 LIBS="-lGLESv2 $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char glFlush ();
9251 main ()
9253 return glFlush ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 case "$LIBEXT" in
9260 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9261 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'` ;;
9262 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9263 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9264 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9265 fi ;;
9266 esac
9267 else
9268 ac_cv_lib_soname_GLESv2=
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LIBS=$ac_check_soname_save_LIBS
9274 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9276 $as_echo "not found" >&6; }
9278 else
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9280 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9282 cat >>confdefs.h <<_ACEOF
9283 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9284 _ACEOF
9289 if test "x$exec_prefix" = xNONE
9290 then
9291 case $host_cpu in
9292 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9293 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9294 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9295 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9296 esac
9301 case $host_cpu in
9302 *i[3456789]86*)
9303 DLLFLAGS="$DLLFLAGS -fno-PIC"
9304 LDDLLFLAGS="-fno-PIC" ;;
9306 DLLFLAGS="$DLLFLAGS -fPIC"
9307 LDDLLFLAGS="-fPIC" ;;
9308 esac
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9310 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9311 if ${ac_cv_c_dll_gnuelf+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_wine_try_cflags_saved=$CFLAGS
9315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 void myfunc() {}
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_c_dll_gnuelf="yes"
9322 else
9323 ac_cv_c_dll_gnuelf="no"
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9330 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9331 if test "$ac_cv_c_dll_gnuelf" = "yes"
9332 then
9333 LIBWINE_LDFLAGS="-shared"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9335 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9336 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_wine_try_cflags_saved=$CFLAGS
9340 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9343 int main(int argc, char **argv) { return 0; }
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9347 else
9348 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 CFLAGS=$ac_wine_try_cflags_saved
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9355 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9356 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9357 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9358 else
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9360 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9361 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_wine_try_cflags_saved=$CFLAGS
9365 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 int main(int argc, char **argv) { return 0; }
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9372 else
9373 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 CFLAGS=$ac_wine_try_cflags_saved
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9380 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9381 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9382 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9386 echo '{ global: *; };' >conftest.map
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9388 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9389 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_wine_try_cflags_saved=$CFLAGS
9393 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9396 int main(int argc, char **argv) { return 0; }
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9400 else
9401 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 CFLAGS=$ac_wine_try_cflags_saved
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9408 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9409 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9410 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9412 rm -f conftest.map
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9415 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9416 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_wine_try_cflags_saved=$CFLAGS
9420 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int main(int argc, char **argv) { return 0; }
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_cflags__Wl___export_dynamic=yes
9427 else
9428 ac_cv_cflags__Wl___export_dynamic=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 CFLAGS=$ac_wine_try_cflags_saved
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9435 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9436 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9437 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9439 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9441 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9443 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9444 if eval \${$as_ac_var+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 eval "$as_ac_var=yes"
9455 else
9456 eval "$as_ac_var=no"
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 eval ac_res=\$$as_ac_var
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9464 $as_echo "$ac_res" >&6; }
9465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9466 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9467 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9468 else
9469 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9471 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9472 if eval \${$as_ac_var+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 ac_wine_try_cflags_saved=$CFLAGS
9476 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9479 int main(int argc, char **argv) { return 0; }
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482 eval "$as_ac_var=yes"
9483 else
9484 eval "$as_ac_var=no"
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 CFLAGS=$ac_wine_try_cflags_saved
9490 eval ac_res=\$$as_ac_var
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9492 $as_echo "$ac_res" >&6; }
9493 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9494 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9495 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9500 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9501 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 ac_wine_try_cflags_saved=$CFLAGS
9505 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9508 int main(int argc, char **argv) { return 0; }
9509 _ACEOF
9510 if ac_fn_c_try_link "$LINENO"; then :
9511 ac_cv_cflags__Wl___enable_new_dtags=yes
9512 else
9513 ac_cv_cflags__Wl___enable_new_dtags=no
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 CFLAGS=$ac_wine_try_cflags_saved
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9520 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9521 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9522 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9525 case $host_cpu in
9526 *i[3456789]86* | x86_64 | *aarch64*)
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9528 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9529 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_wine_try_cflags_saved=$CFLAGS
9533 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9536 int main(int argc, char **argv) { return 0; }
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9540 else
9541 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9543 rm -f core conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 CFLAGS=$ac_wine_try_cflags_saved
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9548 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9549 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9550 case $host_os in
9551 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9552 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9553 esac
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9556 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9557 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9558 $as_echo_n "(cached) " >&6
9559 else
9560 ac_wine_try_cflags_saved=$CFLAGS
9561 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9564 int main(int argc, char **argv) { return 0; }
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9568 else
9569 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 CFLAGS=$ac_wine_try_cflags_saved
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9576 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9577 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9578 case $host_os in
9579 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9580 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9581 esac
9583 # Extract the first word of "prelink", so it can be a program name with args.
9584 set dummy prelink; ac_word=$2
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9586 $as_echo_n "checking for $ac_word... " >&6; }
9587 if ${ac_cv_path_PRELINK+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 case $PRELINK in
9591 [\\/]* | ?:[\\/]*)
9592 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9596 for as_dir in /sbin /usr/sbin $PATH
9598 IFS=$as_save_IFS
9599 test -z "$as_dir" && as_dir=.
9600 for ac_exec_ext in '' $ac_executable_extensions; do
9601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9602 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9604 break 2
9606 done
9607 done
9608 IFS=$as_save_IFS
9610 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9612 esac
9614 PRELINK=$ac_cv_path_PRELINK
9615 if test -n "$PRELINK"; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9617 $as_echo "$PRELINK" >&6; }
9618 else
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9620 $as_echo "no" >&6; }
9624 if test "x$PRELINK" = xfalse
9625 then
9626 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9630 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9631 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9632 $as_echo_n "(cached) " >&6
9633 else
9634 ac_wine_try_cflags_saved=$CFLAGS
9635 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9637 /* end confdefs.h. */
9638 int main(int argc, char **argv) { return 0; }
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9642 else
9643 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 CFLAGS=$ac_wine_try_cflags_saved
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9650 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9651 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9652 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9655 esac
9657 else
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9659 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9660 if ${ac_cv_c_dll_unixware+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_wine_try_cflags_saved=$CFLAGS
9664 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9667 void myfunc() {}
9668 _ACEOF
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 ac_cv_c_dll_unixware="yes"
9671 else
9672 ac_cv_c_dll_unixware="no"
9674 rm -f core conftest.err conftest.$ac_objext \
9675 conftest$ac_exeext conftest.$ac_ext
9676 CFLAGS=$ac_wine_try_cflags_saved
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9679 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9680 if test "$ac_cv_c_dll_unixware" = "yes"
9681 then
9682 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9685 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9687 LIBWINE_DEPENDS="wine.map"
9689 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9690 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9692 esac
9694 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9695 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9696 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9697 enable_winemac_drv=${enable_winemac_drv:-no}
9698 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9700 CROSSTARGET=""
9702 if test "x$with_mingw" != xno
9703 then
9704 case "x$with_mingw" in
9705 x|xyes) case "$host_cpu" in
9706 aarch64*)
9707 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9708 arm*)
9709 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9710 i[3456789]86*)
9711 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
9712 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9713 mingw32-gcc" ;;
9714 x86_64)
9715 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
9716 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9718 ac_prefix_list="" ;;
9719 esac
9720 for ac_prog in $ac_prefix_list
9722 # Extract the first word of "$ac_prog", so it can be a program name with args.
9723 set dummy $ac_prog; ac_word=$2
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9725 $as_echo_n "checking for $ac_word... " >&6; }
9726 if ${ac_cv_prog_CROSSCC+:} false; then :
9727 $as_echo_n "(cached) " >&6
9728 else
9729 if test -n "$CROSSCC"; then
9730 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9731 else
9732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9733 for as_dir in $PATH
9735 IFS=$as_save_IFS
9736 test -z "$as_dir" && as_dir=.
9737 for ac_exec_ext in '' $ac_executable_extensions; do
9738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9739 ac_cv_prog_CROSSCC="$ac_prog"
9740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 break 2
9743 done
9744 done
9745 IFS=$as_save_IFS
9749 CROSSCC=$ac_cv_prog_CROSSCC
9750 if test -n "$CROSSCC"; then
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9752 $as_echo "$CROSSCC" >&6; }
9753 else
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9755 $as_echo "no" >&6; }
9759 test -n "$CROSSCC" && break
9760 done
9761 test -n "$CROSSCC" || CROSSCC="false"
9763 *) CROSSCC=$with_mingw ;;
9764 esac
9765 if test "$CROSSCC" != "false"
9766 then
9767 ac_save_CC="$CC"
9768 saved_CFLAGS=$CFLAGS
9769 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9771 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9774 CC="$CROSSCC"
9775 CFLAGS=$CROSSCFLAGS
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9777 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9778 if ${wine_cv_crosscc+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9785 main ()
9789 return 0;
9791 _ACEOF
9792 if ac_fn_c_try_compile "$LINENO"; then :
9793 wine_cv_crosscc=yes
9794 else
9795 wine_cv_crosscc=no
9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9800 $as_echo "$wine_cv_crosscc" >&6; }
9801 if test $wine_cv_crosscc = yes
9802 then
9803 set x $CROSSCC
9804 shift
9805 while test $# -ge 1
9807 case "$1" in
9808 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9809 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9810 esac
9811 shift
9812 done
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9815 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9816 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9817 $as_echo_n "(cached) " >&6
9818 else
9819 ac_wine_try_cflags_saved=$CFLAGS
9820 ac_wine_try_cflags_saved_cc=$CC
9821 ac_wine_try_cflags_saved_exeext=$ac_exeext
9822 CFLAGS="$CFLAGS -fno-strict-aliasing"
9823 CC="$CROSSCC"
9824 ac_exeext=".exe"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9827 int main(int argc, char **argv) { return 0; }
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_crosscflags__fno_strict_aliasing=yes
9831 else
9832 ac_cv_crosscflags__fno_strict_aliasing=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 CFLAGS=$ac_wine_try_cflags_saved
9837 CC=$ac_wine_try_cflags_saved_cc
9838 ac_exeext=$ac_wine_try_cflags_saved_exeext
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9841 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9842 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9843 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9846 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9847 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_wine_try_cflags_saved=$CFLAGS
9851 ac_wine_try_cflags_saved_cc=$CC
9852 ac_wine_try_cflags_saved_exeext=$ac_exeext
9853 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9854 CC="$CROSSCC"
9855 ac_exeext=".exe"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 int main(int argc, char **argv) { return 0; }
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9862 else
9863 ac_cv_crosscflags__Werror_unknown_warning_option=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 CFLAGS=$ac_wine_try_cflags_saved
9868 CC=$ac_wine_try_cflags_saved_cc
9869 ac_exeext=$ac_wine_try_cflags_saved_exeext
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9872 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9873 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9874 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9877 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9878 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 ac_wine_try_cflags_saved_cc=$CC
9883 ac_wine_try_cflags_saved_exeext=$ac_exeext
9884 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9885 CC="$CROSSCC"
9886 ac_exeext=".exe"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 int main(int argc, char **argv) { return 0; }
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"; then :
9892 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9893 else
9894 ac_cv_crosscflags__Wdeclaration_after_statement=no
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 CFLAGS=$ac_wine_try_cflags_saved
9899 CC=$ac_wine_try_cflags_saved_cc
9900 ac_exeext=$ac_wine_try_cflags_saved_exeext
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9903 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9904 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9905 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9908 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9909 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_wine_try_cflags_saved=$CFLAGS
9913 ac_wine_try_cflags_saved_cc=$CC
9914 ac_wine_try_cflags_saved_exeext=$ac_exeext
9915 CFLAGS="$CFLAGS -Wempty-body"
9916 CC="$CROSSCC"
9917 ac_exeext=".exe"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 int main(int argc, char **argv) { return 0; }
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 ac_cv_crosscflags__Wempty_body=yes
9924 else
9925 ac_cv_crosscflags__Wempty_body=no
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9930 CC=$ac_wine_try_cflags_saved_cc
9931 ac_exeext=$ac_wine_try_cflags_saved_exeext
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9934 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9935 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9936 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9939 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9940 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_wine_try_cflags_saved=$CFLAGS
9944 ac_wine_try_cflags_saved_cc=$CC
9945 ac_wine_try_cflags_saved_exeext=$ac_exeext
9946 CFLAGS="$CFLAGS -Wignored-qualifiers"
9947 CC="$CROSSCC"
9948 ac_exeext=".exe"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_crosscflags__Wignored_qualifiers=yes
9955 else
9956 ac_cv_crosscflags__Wignored_qualifiers=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9961 CC=$ac_wine_try_cflags_saved_cc
9962 ac_exeext=$ac_wine_try_cflags_saved_exeext
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9965 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9966 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9967 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9970 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9971 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 ac_wine_try_cflags_saved_cc=$CC
9976 ac_wine_try_cflags_saved_exeext=$ac_exeext
9977 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9978 CC="$CROSSCC"
9979 ac_exeext=".exe"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int main(int argc, char **argv) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 ac_cv_crosscflags__Wpacked_not_aligned=yes
9986 else
9987 ac_cv_crosscflags__Wpacked_not_aligned=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9992 CC=$ac_wine_try_cflags_saved_cc
9993 ac_exeext=$ac_wine_try_cflags_saved_exeext
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9996 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9997 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9998 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10001 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10002 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_wine_try_cflags_saved=$CFLAGS
10006 ac_wine_try_cflags_saved_cc=$CC
10007 ac_wine_try_cflags_saved_exeext=$ac_exeext
10008 CFLAGS="$CFLAGS -Wpragma-pack"
10009 CC="$CROSSCC"
10010 ac_exeext=".exe"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 int main(int argc, char **argv) { return 0; }
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_crosscflags__Wpragma_pack=yes
10017 else
10018 ac_cv_crosscflags__Wpragma_pack=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 CFLAGS=$ac_wine_try_cflags_saved
10023 CC=$ac_wine_try_cflags_saved_cc
10024 ac_exeext=$ac_wine_try_cflags_saved_exeext
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10027 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10028 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10029 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10032 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10033 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_wine_try_cflags_saved=$CFLAGS
10037 ac_wine_try_cflags_saved_cc=$CC
10038 ac_wine_try_cflags_saved_exeext=$ac_exeext
10039 CFLAGS="$CFLAGS -Wshift-overflow=2"
10040 CC="$CROSSCC"
10041 ac_exeext=".exe"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 int main(int argc, char **argv) { return 0; }
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_crosscflags__Wshift_overflow_2=yes
10048 else
10049 ac_cv_crosscflags__Wshift_overflow_2=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10054 CC=$ac_wine_try_cflags_saved_cc
10055 ac_exeext=$ac_wine_try_cflags_saved_exeext
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10058 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10059 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10060 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10063 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10064 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_wine_try_cflags_saved=$CFLAGS
10068 ac_wine_try_cflags_saved_cc=$CC
10069 ac_wine_try_cflags_saved_exeext=$ac_exeext
10070 CFLAGS="$CFLAGS -Wstrict-prototypes"
10071 CC="$CROSSCC"
10072 ac_exeext=".exe"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int main(int argc, char **argv) { return 0; }
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 ac_cv_crosscflags__Wstrict_prototypes=yes
10079 else
10080 ac_cv_crosscflags__Wstrict_prototypes=no
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10085 CC=$ac_wine_try_cflags_saved_cc
10086 ac_exeext=$ac_wine_try_cflags_saved_exeext
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10089 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10090 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10091 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10094 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10095 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 ac_wine_try_cflags_saved_cc=$CC
10100 ac_wine_try_cflags_saved_exeext=$ac_exeext
10101 CFLAGS="$CFLAGS -Wtype-limits"
10102 CC="$CROSSCC"
10103 ac_exeext=".exe"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 int main(int argc, char **argv) { return 0; }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_crosscflags__Wtype_limits=yes
10110 else
10111 ac_cv_crosscflags__Wtype_limits=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 CFLAGS=$ac_wine_try_cflags_saved
10116 CC=$ac_wine_try_cflags_saved_cc
10117 ac_exeext=$ac_wine_try_cflags_saved_exeext
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10120 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10121 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10122 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10125 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10126 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 ac_wine_try_cflags_saved_cc=$CC
10131 ac_wine_try_cflags_saved_exeext=$ac_exeext
10132 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10133 CC="$CROSSCC"
10134 ac_exeext=".exe"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int main(int argc, char **argv) { return 0; }
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10141 else
10142 ac_cv_crosscflags__Wunused_but_set_parameter=no
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10147 CC=$ac_wine_try_cflags_saved_cc
10148 ac_exeext=$ac_wine_try_cflags_saved_exeext
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10151 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10152 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10156 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10157 if ${ac_cv_crosscflags__Wvla+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 ac_wine_try_cflags_saved_cc=$CC
10162 ac_wine_try_cflags_saved_exeext=$ac_exeext
10163 CFLAGS="$CFLAGS -Wvla"
10164 CC="$CROSSCC"
10165 ac_exeext=".exe"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_crosscflags__Wvla=yes
10172 else
10173 ac_cv_crosscflags__Wvla=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 CFLAGS=$ac_wine_try_cflags_saved
10178 CC=$ac_wine_try_cflags_saved_cc
10179 ac_exeext=$ac_wine_try_cflags_saved_exeext
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10182 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10183 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10187 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10188 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 ac_wine_try_cflags_saved_cc=$CC
10193 ac_wine_try_cflags_saved_exeext=$ac_exeext
10194 CFLAGS="$CFLAGS -Wwrite-strings"
10195 CC="$CROSSCC"
10196 ac_exeext=".exe"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10199 int main(int argc, char **argv) { return 0; }
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 ac_cv_crosscflags__Wwrite_strings=yes
10203 else
10204 ac_cv_crosscflags__Wwrite_strings=no
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10209 CC=$ac_wine_try_cflags_saved_cc
10210 ac_exeext=$ac_wine_try_cflags_saved_exeext
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10213 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10214 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10218 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10219 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 ac_wine_try_cflags_saved_cc=$CC
10224 ac_wine_try_cflags_saved_exeext=$ac_exeext
10225 CFLAGS="$CFLAGS -Wpointer-arith"
10226 CC="$CROSSCC"
10227 ac_exeext=".exe"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_crosscflags__Wpointer_arith=yes
10234 else
10235 ac_cv_crosscflags__Wpointer_arith=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS=$ac_wine_try_cflags_saved
10240 CC=$ac_wine_try_cflags_saved_cc
10241 ac_exeext=$ac_wine_try_cflags_saved_exeext
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10244 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10245 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10249 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10250 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10251 $as_echo_n "(cached) " >&6
10252 else
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 ac_wine_try_cflags_saved_cc=$CC
10255 ac_wine_try_cflags_saved_exeext=$ac_exeext
10256 CFLAGS="$CFLAGS -Wlogical-op"
10257 CC="$CROSSCC"
10258 ac_exeext=".exe"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10261 int main(int argc, char **argv) { return 0; }
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 ac_cv_crosscflags__Wlogical_op=yes
10265 else
10266 ac_cv_crosscflags__Wlogical_op=no
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 CFLAGS=$ac_wine_try_cflags_saved
10271 CC=$ac_wine_try_cflags_saved_cc
10272 ac_exeext=$ac_wine_try_cflags_saved_exeext
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10275 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10276 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10277 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10280 case $host_cpu in
10281 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10282 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10283 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_wine_try_cflags_saved=$CFLAGS
10287 ac_wine_try_cflags_saved_cc=$CC
10288 ac_wine_try_cflags_saved_exeext=$ac_exeext
10289 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10290 CC="$CROSSCC"
10291 ac_exeext=".exe"
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10294 int main(int argc, char **argv) { return 0; }
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10298 else
10299 ac_cv_crosscflags__fno_omit_frame_pointer=no
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 CFLAGS=$ac_wine_try_cflags_saved
10304 CC=$ac_wine_try_cflags_saved_cc
10305 ac_exeext=$ac_wine_try_cflags_saved_exeext
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10308 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10309 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10310 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10311 fi ;;
10312 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10313 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10314 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10315 $as_echo_n "(cached) " >&6
10316 else
10317 ac_wine_try_cflags_saved=$CFLAGS
10318 ac_wine_try_cflags_saved_cc=$CC
10319 ac_wine_try_cflags_saved_exeext=$ac_exeext
10320 CFLAGS="$CFLAGS -Wno-format"
10321 CC="$CROSSCC"
10322 ac_exeext=".exe"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 int main(int argc, char **argv) { return 0; }
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 ac_cv_crosscflags__Wno_format=yes
10329 else
10330 ac_cv_crosscflags__Wno_format=no
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 CFLAGS=$ac_wine_try_cflags_saved
10335 CC=$ac_wine_try_cflags_saved_cc
10336 ac_exeext=$ac_wine_try_cflags_saved_exeext
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10339 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10340 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10341 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10342 fi ;;
10343 esac
10345 for ac_flag in $CROSSCFLAGS; do
10346 case $ac_flag in
10347 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10348 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10349 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10350 $as_echo_n "(cached) " >&6
10351 else
10352 ac_wine_try_cflags_saved=$CFLAGS
10353 ac_wine_try_cflags_saved_cc=$CC
10354 ac_wine_try_cflags_saved_exeext=$ac_exeext
10355 CFLAGS="$CFLAGS -gdwarf-2"
10356 CC="$CROSSCC"
10357 ac_exeext=".exe"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 int main(int argc, char **argv) { return 0; }
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 ac_cv_crosscflags__gdwarf_2=yes
10364 else
10365 ac_cv_crosscflags__gdwarf_2=no
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10370 CC=$ac_wine_try_cflags_saved_cc
10371 ac_exeext=$ac_wine_try_cflags_saved_exeext
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10374 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10375 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10376 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10379 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10380 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10381 $as_echo_n "(cached) " >&6
10382 else
10383 ac_wine_try_cflags_saved=$CFLAGS
10384 ac_wine_try_cflags_saved_cc=$CC
10385 ac_wine_try_cflags_saved_exeext=$ac_exeext
10386 CFLAGS="$CFLAGS -gstrict-dwarf"
10387 CC="$CROSSCC"
10388 ac_exeext=".exe"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int main(int argc, char **argv) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 ac_cv_crosscflags__gstrict_dwarf=yes
10395 else
10396 ac_cv_crosscflags__gstrict_dwarf=no
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10401 CC=$ac_wine_try_cflags_saved_cc
10402 ac_exeext=$ac_wine_try_cflags_saved_exeext
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10405 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10406 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10407 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10408 fi ;;
10409 esac
10410 done
10412 if test "x$enable_maintainer_mode" = xyes
10413 then
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10415 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10416 if ${ac_cv_crosscflags__Werror+:} false; then :
10417 $as_echo_n "(cached) " >&6
10418 else
10419 ac_wine_try_cflags_saved=$CFLAGS
10420 ac_wine_try_cflags_saved_cc=$CC
10421 ac_wine_try_cflags_saved_exeext=$ac_exeext
10422 CFLAGS="$CFLAGS -Werror"
10423 CC="$CROSSCC"
10424 ac_exeext=".exe"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 int main(int argc, char **argv) { return 0; }
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 ac_cv_crosscflags__Werror=yes
10431 else
10432 ac_cv_crosscflags__Werror=no
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 CFLAGS=$ac_wine_try_cflags_saved
10437 CC=$ac_wine_try_cflags_saved_cc
10438 ac_exeext=$ac_wine_try_cflags_saved_exeext
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10441 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10442 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10443 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10447 CFLAGS=$saved_CFLAGS
10448 CC="$ac_save_CC"
10451 if test "x$CROSSTARGET" = "x"; then :
10452 case "x$with_mingw" in
10453 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10454 xno) ;;
10455 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10456 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10457 esac
10462 if test "$ac_cv_header_pthread_h" = "yes"
10463 then
10464 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10465 if test "x$ac_cv_func_pthread_create" = xyes; then :
10467 else
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10469 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10470 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_check_lib_save_LIBS=$LIBS
10474 LIBS="-lpthread $LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char pthread_create ();
10486 main ()
10488 return pthread_create ();
10490 return 0;
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 ac_cv_lib_pthread_pthread_create=yes
10495 else
10496 ac_cv_lib_pthread_pthread_create=no
10498 rm -f core conftest.err conftest.$ac_objext \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_lib_save_LIBS
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10503 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10504 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10505 PTHREAD_LIBS="-lpthread"
10512 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10513 case "x$with_pthread" in
10514 xno) ;;
10515 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10516 Wine cannot support threads without libpthread.
10517 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10518 esac
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10524 $as_echo_n "checking for X... " >&6; }
10527 # Check whether --with-x was given.
10528 if test "${with_x+set}" = set; then :
10529 withval=$with_x;
10532 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10533 if test "x$with_x" = xno; then
10534 # The user explicitly disabled X.
10535 have_x=disabled
10536 else
10537 case $x_includes,$x_libraries in #(
10538 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10539 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10540 $as_echo_n "(cached) " >&6
10541 else
10542 # One or both of the vars are not set, and there is no cached value.
10543 ac_x_includes=no ac_x_libraries=no
10544 rm -f -r conftest.dir
10545 if mkdir conftest.dir; then
10546 cd conftest.dir
10547 cat >Imakefile <<'_ACEOF'
10548 incroot:
10549 @echo incroot='${INCROOT}'
10550 usrlibdir:
10551 @echo usrlibdir='${USRLIBDIR}'
10552 libdir:
10553 @echo libdir='${LIBDIR}'
10554 _ACEOF
10555 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10556 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10557 for ac_var in incroot usrlibdir libdir; do
10558 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10559 done
10560 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10561 for ac_extension in a so sl dylib la dll; do
10562 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10563 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10564 ac_im_usrlibdir=$ac_im_libdir; break
10566 done
10567 # Screen out bogus values from the imake configuration. They are
10568 # bogus both because they are the default anyway, and because
10569 # using them would break gcc on systems where it needs fixed includes.
10570 case $ac_im_incroot in
10571 /usr/include) ac_x_includes= ;;
10572 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10573 esac
10574 case $ac_im_usrlibdir in
10575 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10576 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10577 esac
10579 cd ..
10580 rm -f -r conftest.dir
10583 # Standard set of common directories for X headers.
10584 # Check X11 before X11Rn because it is often a symlink to the current release.
10585 ac_x_header_dirs='
10586 /usr/X11/include
10587 /usr/X11R7/include
10588 /usr/X11R6/include
10589 /usr/X11R5/include
10590 /usr/X11R4/include
10592 /usr/include/X11
10593 /usr/include/X11R7
10594 /usr/include/X11R6
10595 /usr/include/X11R5
10596 /usr/include/X11R4
10598 /usr/local/X11/include
10599 /usr/local/X11R7/include
10600 /usr/local/X11R6/include
10601 /usr/local/X11R5/include
10602 /usr/local/X11R4/include
10604 /usr/local/include/X11
10605 /usr/local/include/X11R7
10606 /usr/local/include/X11R6
10607 /usr/local/include/X11R5
10608 /usr/local/include/X11R4
10610 /usr/X386/include
10611 /usr/x386/include
10612 /usr/XFree86/include/X11
10614 /usr/include
10615 /usr/local/include
10616 /usr/unsupported/include
10617 /usr/athena/include
10618 /usr/local/x11r5/include
10619 /usr/lpp/Xamples/include
10621 /usr/openwin/include
10622 /usr/openwin/share/include'
10624 if test "$ac_x_includes" = no; then
10625 # Guess where to find include files, by looking for Xlib.h.
10626 # First, try using that file with no special directory specified.
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10629 #include <X11/Xlib.h>
10630 _ACEOF
10631 if ac_fn_c_try_cpp "$LINENO"; then :
10632 # We can compile using X headers with no special include directory.
10633 ac_x_includes=
10634 else
10635 for ac_dir in $ac_x_header_dirs; do
10636 if test -r "$ac_dir/X11/Xlib.h"; then
10637 ac_x_includes=$ac_dir
10638 break
10640 done
10642 rm -f conftest.err conftest.i conftest.$ac_ext
10643 fi # $ac_x_includes = no
10645 if test "$ac_x_libraries" = no; then
10646 # Check for the libraries.
10647 # See if we find them without any special options.
10648 # Don't add to $LIBS permanently.
10649 ac_save_LIBS=$LIBS
10650 LIBS="-lX11 $LIBS"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10653 #include <X11/Xlib.h>
10655 main ()
10657 XrmInitialize ()
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 LIBS=$ac_save_LIBS
10664 # We can link X programs with no special library path.
10665 ac_x_libraries=
10666 else
10667 LIBS=$ac_save_LIBS
10668 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10670 # Don't even attempt the hair of trying to link an X program!
10671 for ac_extension in a so sl dylib la dll; do
10672 if test -r "$ac_dir/libX11.$ac_extension"; then
10673 ac_x_libraries=$ac_dir
10674 break 2
10676 done
10677 done
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 fi # $ac_x_libraries = no
10683 case $ac_x_includes,$ac_x_libraries in #(
10684 no,* | *,no | *\'*)
10685 # Didn't find X, or a directory has "'" in its name.
10686 ac_cv_have_x="have_x=no";; #(
10688 # Record where we found X for the cache.
10689 ac_cv_have_x="have_x=yes\
10690 ac_x_includes='$ac_x_includes'\
10691 ac_x_libraries='$ac_x_libraries'"
10692 esac
10694 ;; #(
10695 *) have_x=yes;;
10696 esac
10697 eval "$ac_cv_have_x"
10698 fi # $with_x != no
10700 if test "$have_x" != yes; then
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10702 $as_echo "$have_x" >&6; }
10703 no_x=yes
10704 else
10705 # If each of the values was on the command line, it overrides each guess.
10706 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10707 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10708 # Update the cache value to reflect the command line values.
10709 ac_cv_have_x="have_x=yes\
10710 ac_x_includes='$x_includes'\
10711 ac_x_libraries='$x_libraries'"
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10713 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10716 if test "$no_x" = yes; then
10717 # Not all programs may use this symbol, but it does not hurt to define it.
10719 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10721 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10722 else
10723 if test -n "$x_includes"; then
10724 X_CFLAGS="$X_CFLAGS -I$x_includes"
10727 # It would also be nice to do this for all -L options, not just this one.
10728 if test -n "$x_libraries"; then
10729 X_LIBS="$X_LIBS -L$x_libraries"
10730 # For Solaris; some versions of Sun CC require a space after -R and
10731 # others require no space. Words are not sufficient . . . .
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10733 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10734 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10735 ac_xsave_c_werror_flag=$ac_c_werror_flag
10736 ac_c_werror_flag=yes
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10741 main ()
10745 return 0;
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10750 $as_echo "no" >&6; }
10751 X_LIBS="$X_LIBS -R$x_libraries"
10752 else
10753 LIBS="$ac_xsave_LIBS -R $x_libraries"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10758 main ()
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10767 $as_echo "yes" >&6; }
10768 X_LIBS="$X_LIBS -R $x_libraries"
10769 else
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10771 $as_echo "neither works" >&6; }
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 ac_c_werror_flag=$ac_xsave_c_werror_flag
10779 LIBS=$ac_xsave_LIBS
10782 # Check for system-dependent libraries X programs must link with.
10783 # Do this before checking for the system-independent R6 libraries
10784 # (-lICE), since we may need -lsocket or whatever for X linking.
10786 if test "$ISC" = yes; then
10787 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10788 else
10789 # Martyn Johnson says this is needed for Ultrix, if the X
10790 # libraries were built with DECnet support. And Karl Berry says
10791 # the Alpha needs dnet_stub (dnet does not exist).
10792 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char XOpenDisplay ();
10804 main ()
10806 return XOpenDisplay ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10813 else
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10815 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10816 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 ac_check_lib_save_LIBS=$LIBS
10820 LIBS="-ldnet $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char dnet_ntoa ();
10832 main ()
10834 return dnet_ntoa ();
10836 return 0;
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840 ac_cv_lib_dnet_dnet_ntoa=yes
10841 else
10842 ac_cv_lib_dnet_dnet_ntoa=no
10844 rm -f core conftest.err conftest.$ac_objext \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10849 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10850 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10851 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10854 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10856 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10857 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10858 $as_echo_n "(cached) " >&6
10859 else
10860 ac_check_lib_save_LIBS=$LIBS
10861 LIBS="-ldnet_stub $LIBS"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10868 #ifdef __cplusplus
10869 extern "C"
10870 #endif
10871 char dnet_ntoa ();
10873 main ()
10875 return dnet_ntoa ();
10877 return 0;
10879 _ACEOF
10880 if ac_fn_c_try_link "$LINENO"; then :
10881 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10882 else
10883 ac_cv_lib_dnet_stub_dnet_ntoa=no
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 LIBS=$ac_check_lib_save_LIBS
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10890 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10891 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10892 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS="$ac_xsave_LIBS"
10901 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10902 # to get the SysV transport functions.
10903 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10904 # needs -lnsl.
10905 # The nsl library prevents programs from opening the X display
10906 # on Irix 5.2, according to T.E. Dickey.
10907 # The functions gethostbyname, getservbyname, and inet_addr are
10908 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10909 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10910 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10914 if test $ac_cv_func_gethostbyname = no; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10916 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10917 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10918 $as_echo_n "(cached) " >&6
10919 else
10920 ac_check_lib_save_LIBS=$LIBS
10921 LIBS="-lnsl $LIBS"
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10928 #ifdef __cplusplus
10929 extern "C"
10930 #endif
10931 char gethostbyname ();
10933 main ()
10935 return gethostbyname ();
10937 return 0;
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 ac_cv_lib_nsl_gethostbyname=yes
10942 else
10943 ac_cv_lib_nsl_gethostbyname=no
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10950 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10951 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10952 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10955 if test $ac_cv_lib_nsl_gethostbyname = no; then
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10957 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10958 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lbsd $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char gethostbyname ();
10974 main ()
10976 return gethostbyname ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 ac_cv_lib_bsd_gethostbyname=yes
10983 else
10984 ac_cv_lib_bsd_gethostbyname=no
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10991 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10992 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10999 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11000 # socket/setsockopt and other routines are undefined under SCO ODT
11001 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11002 # on later versions), says Simon Leinen: it contains gethostby*
11003 # variants that don't use the name server (or something). -lsocket
11004 # must be given before -lnsl if both are needed. We assume that
11005 # if connect needs -lnsl, so does gethostbyname.
11006 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11007 if test "x$ac_cv_func_connect" = xyes; then :
11011 if test $ac_cv_func_connect = no; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11013 $as_echo_n "checking for connect in -lsocket... " >&6; }
11014 if ${ac_cv_lib_socket_connect+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char connect ();
11030 main ()
11032 return connect ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_socket_connect=yes
11039 else
11040 ac_cv_lib_socket_connect=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11047 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11048 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11049 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11054 # Guillermo Gomez says -lposix is necessary on A/UX.
11055 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11056 if test "x$ac_cv_func_remove" = xyes; then :
11060 if test $ac_cv_func_remove = no; then
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11062 $as_echo_n "checking for remove in -lposix... " >&6; }
11063 if ${ac_cv_lib_posix_remove+:} false; then :
11064 $as_echo_n "(cached) " >&6
11065 else
11066 ac_check_lib_save_LIBS=$LIBS
11067 LIBS="-lposix $LIBS"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 char remove ();
11079 main ()
11081 return remove ();
11083 return 0;
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"; then :
11087 ac_cv_lib_posix_remove=yes
11088 else
11089 ac_cv_lib_posix_remove=no
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS=$ac_check_lib_save_LIBS
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11096 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11097 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11098 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11103 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11104 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11105 if test "x$ac_cv_func_shmat" = xyes; then :
11109 if test $ac_cv_func_shmat = no; then
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11111 $as_echo_n "checking for shmat in -lipc... " >&6; }
11112 if ${ac_cv_lib_ipc_shmat+:} false; then :
11113 $as_echo_n "(cached) " >&6
11114 else
11115 ac_check_lib_save_LIBS=$LIBS
11116 LIBS="-lipc $LIBS"
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11123 #ifdef __cplusplus
11124 extern "C"
11125 #endif
11126 char shmat ();
11128 main ()
11130 return shmat ();
11132 return 0;
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"; then :
11136 ac_cv_lib_ipc_shmat=yes
11137 else
11138 ac_cv_lib_ipc_shmat=no
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_lib_save_LIBS
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11145 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11146 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11153 # Check for libraries that X11R6 Xt/Xaw programs need.
11154 ac_save_LDFLAGS=$LDFLAGS
11155 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11156 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11157 # check for ICE first), but we must link in the order -lSM -lICE or
11158 # we get undefined symbols. So assume we have SM if we have ICE.
11159 # These have to be linked with before -lX11, unlike the other
11160 # libraries we check for below, so use a different variable.
11161 # John Interrante, Karl Berry
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11163 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11164 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char IceConnectionNumber ();
11180 main ()
11182 return IceConnectionNumber ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 ac_cv_lib_ICE_IceConnectionNumber=yes
11189 else
11190 ac_cv_lib_ICE_IceConnectionNumber=no
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11197 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11198 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11199 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11202 LDFLAGS=$ac_save_LDFLAGS
11207 if test "$have_x" = "yes"
11208 then
11209 ac_save_CPPFLAGS="$CPPFLAGS"
11210 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11213 $as_echo_n "checking for -lX11... " >&6; }
11214 if ${ac_cv_lib_soname_X11+:} false; then :
11215 $as_echo_n "(cached) " >&6
11216 else
11217 ac_check_soname_save_LIBS=$LIBS
11218 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11225 #ifdef __cplusplus
11226 extern "C"
11227 #endif
11228 char XCreateWindow ();
11230 main ()
11232 return XCreateWindow ();
11234 return 0;
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"; then :
11238 case "$LIBEXT" in
11239 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11240 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'` ;;
11241 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11242 if ${ac_cv_lib_soname_X11:+false} :; then :
11243 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11244 fi ;;
11245 esac
11246 else
11247 ac_cv_lib_soname_X11=
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_soname_save_LIBS
11253 if ${ac_cv_lib_soname_X11:+false} :; then :
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11255 $as_echo "not found" >&6; }
11257 else
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11259 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11261 cat >>confdefs.h <<_ACEOF
11262 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11263 _ACEOF
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11268 $as_echo_n "checking for -lXext... " >&6; }
11269 if ${ac_cv_lib_soname_Xext+:} false; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_soname_save_LIBS=$LIBS
11273 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char XextCreateExtension ();
11285 main ()
11287 return XextCreateExtension ();
11289 return 0;
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 case "$LIBEXT" in
11294 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11295 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'` ;;
11296 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11297 if ${ac_cv_lib_soname_Xext:+false} :; then :
11298 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11299 fi ;;
11300 esac
11301 else
11302 ac_cv_lib_soname_Xext=
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_soname_save_LIBS
11308 if ${ac_cv_lib_soname_Xext:+false} :; then :
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11310 $as_echo "not found" >&6; }
11312 else
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11314 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11316 cat >>confdefs.h <<_ACEOF
11317 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11318 _ACEOF
11320 X_LIBS="$X_LIBS -lXext"
11322 X_LIBS="$X_LIBS -lX11"
11324 for ac_header in X11/Xlib.h \
11325 X11/XKBlib.h \
11326 X11/Xutil.h \
11327 X11/Xcursor/Xcursor.h \
11328 X11/extensions/shape.h \
11329 X11/extensions/XInput.h \
11330 X11/extensions/XInput2.h \
11331 X11/extensions/XShm.h \
11332 X11/extensions/Xcomposite.h \
11333 X11/extensions/Xfixes.h \
11334 X11/extensions/Xinerama.h \
11335 X11/extensions/Xrandr.h \
11336 X11/extensions/Xrender.h \
11337 X11/extensions/xf86vmode.h \
11338 X11/extensions/xf86vmproto.h
11339 do :
11340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11341 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11342 # include <X11/Xlib.h>
11343 #endif
11344 #ifdef HAVE_X11_XUTIL_H
11345 # include <X11/Xutil.h>
11346 #endif
11348 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11349 cat >>confdefs.h <<_ACEOF
11350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11351 _ACEOF
11355 done
11358 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11359 then
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11361 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11362 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char XkbQueryExtension ();
11378 main ()
11380 return XkbQueryExtension ();
11382 return 0;
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 ac_cv_lib_X11_XkbQueryExtension=yes
11387 else
11388 ac_cv_lib_X11_XkbQueryExtension=no
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_lib_save_LIBS
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11395 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11396 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11398 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11404 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11405 then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11407 $as_echo_n "checking for -lXcursor... " >&6; }
11408 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11409 $as_echo_n "(cached) " >&6
11410 else
11411 ac_check_soname_save_LIBS=$LIBS
11412 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char XcursorImageLoadCursor ();
11424 main ()
11426 return XcursorImageLoadCursor ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 case "$LIBEXT" in
11433 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11434 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'` ;;
11435 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11436 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11437 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11438 fi ;;
11439 esac
11440 else
11441 ac_cv_lib_soname_Xcursor=
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_soname_save_LIBS
11447 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11449 $as_echo "not found" >&6; }
11451 else
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11453 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11455 cat >>confdefs.h <<_ACEOF
11456 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11457 _ACEOF
11462 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11463 case "x$with_xcursor" in
11464 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11465 xno) ;;
11466 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11467 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11468 esac
11472 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11473 then
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11475 $as_echo_n "checking for -lXi... " >&6; }
11476 if ${ac_cv_lib_soname_Xi+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char XOpenDevice ();
11492 main ()
11494 return XOpenDevice ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11504 if ${ac_cv_lib_soname_Xi:+false} :; then :
11505 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11508 else
11509 ac_cv_lib_soname_Xi=
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_Xi:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11521 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11525 _ACEOF
11530 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11531 case "x$with_xinput" in
11532 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11533 xno) ;;
11534 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11535 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11536 esac
11540 if test "x$ac_cv_lib_soname_Xi" != x
11541 then
11542 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11543 case "x$with_xinput2" in
11544 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11545 xno) ;;
11546 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11547 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11548 esac
11553 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11554 then
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11556 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11557 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11558 $as_echo_n "(cached) " >&6
11559 else
11560 ac_check_lib_save_LIBS=$LIBS
11561 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11565 /* Override any GCC internal prototype to avoid an error.
11566 Use char because int might match the return type of a GCC
11567 builtin and then its argument prototype would still apply. */
11568 #ifdef __cplusplus
11569 extern "C"
11570 #endif
11571 char XShmQueryExtension ();
11573 main ()
11575 return XShmQueryExtension ();
11577 return 0;
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"; then :
11581 ac_cv_lib_Xext_XShmQueryExtension=yes
11582 else
11583 ac_cv_lib_Xext_XShmQueryExtension=no
11585 rm -f core conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_lib_save_LIBS
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11590 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11591 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11593 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11598 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11599 case "x$with_xshm" in
11600 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11601 xno) ;;
11602 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11603 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11604 esac
11608 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11609 then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11611 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11612 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char XShapeQueryExtension ();
11628 main ()
11630 return XShapeQueryExtension ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 ac_cv_lib_Xext_XShapeQueryExtension=yes
11637 else
11638 ac_cv_lib_Xext_XShapeQueryExtension=no
11640 rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11645 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11646 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11648 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11653 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11654 case "x$with_xshape" in
11655 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11656 xno) ;;
11657 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11658 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11659 esac
11663 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11664 then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11666 $as_echo_n "checking for -lXxf86vm... " >&6; }
11667 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11668 $as_echo_n "(cached) " >&6
11669 else
11670 ac_check_soname_save_LIBS=$LIBS
11671 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11678 #ifdef __cplusplus
11679 extern "C"
11680 #endif
11681 char XF86VidModeQueryExtension ();
11683 main ()
11685 return XF86VidModeQueryExtension ();
11687 return 0;
11689 _ACEOF
11690 if ac_fn_c_try_link "$LINENO"; then :
11691 case "$LIBEXT" in
11692 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11693 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'` ;;
11694 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11695 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11696 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11697 fi ;;
11698 esac
11699 else
11700 ac_cv_lib_soname_Xxf86vm=
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_soname_save_LIBS
11706 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11708 $as_echo "not found" >&6; }
11710 else
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11712 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11714 cat >>confdefs.h <<_ACEOF
11715 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11716 _ACEOF
11721 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11722 case "x$with_xxf86vm" in
11723 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11724 xno) ;;
11725 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11726 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11727 esac
11731 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11732 then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11734 $as_echo_n "checking for -lXrender... " >&6; }
11735 if ${ac_cv_lib_soname_Xrender+:} false; then :
11736 $as_echo_n "(cached) " >&6
11737 else
11738 ac_check_soname_save_LIBS=$LIBS
11739 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11746 #ifdef __cplusplus
11747 extern "C"
11748 #endif
11749 char XRenderQueryExtension ();
11751 main ()
11753 return XRenderQueryExtension ();
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_link "$LINENO"; then :
11759 case "$LIBEXT" in
11760 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11761 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'` ;;
11762 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11763 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11764 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11765 fi ;;
11766 esac
11767 else
11768 ac_cv_lib_soname_Xrender=
11770 rm -f core conftest.err conftest.$ac_objext \
11771 conftest$ac_exeext conftest.$ac_ext
11772 LIBS=$ac_check_soname_save_LIBS
11774 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11776 $as_echo "not found" >&6; }
11778 else
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11780 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11782 cat >>confdefs.h <<_ACEOF
11783 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11784 _ACEOF
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11787 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11788 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_lib_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 XRenderSetPictureTransform ();
11804 main ()
11806 return XRenderSetPictureTransform ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11813 else
11814 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_lib_save_LIBS
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11821 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11822 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11824 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11829 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11830 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11831 $as_echo_n "(cached) " >&6
11832 else
11833 ac_check_lib_save_LIBS=$LIBS
11834 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11841 #ifdef __cplusplus
11842 extern "C"
11843 #endif
11844 char XRenderCreateLinearGradient ();
11846 main ()
11848 return XRenderCreateLinearGradient ();
11850 return 0;
11852 _ACEOF
11853 if ac_fn_c_try_link "$LINENO"; then :
11854 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11855 else
11856 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11858 rm -f core conftest.err conftest.$ac_objext \
11859 conftest$ac_exeext conftest.$ac_ext
11860 LIBS=$ac_check_lib_save_LIBS
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11863 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11864 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11866 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11873 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11874 case "x$with_xrender" in
11875 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11876 xno) ;;
11877 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11878 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11879 esac
11883 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11884 then
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11887 #include <X11/Xlib.h>
11888 #include <X11/extensions/Xrandr.h>
11890 main ()
11892 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_compile "$LINENO"; then :
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11899 $as_echo_n "checking for -lXrandr... " >&6; }
11900 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11901 $as_echo_n "(cached) " >&6
11902 else
11903 ac_check_soname_save_LIBS=$LIBS
11904 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11908 /* Override any GCC internal prototype to avoid an error.
11909 Use char because int might match the return type of a GCC
11910 builtin and then its argument prototype would still apply. */
11911 #ifdef __cplusplus
11912 extern "C"
11913 #endif
11914 char XRRQueryExtension ();
11916 main ()
11918 return XRRQueryExtension ();
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 case "$LIBEXT" in
11925 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11926 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'` ;;
11927 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11928 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11929 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11930 fi ;;
11931 esac
11932 else
11933 ac_cv_lib_soname_Xrandr=
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_soname_save_LIBS
11939 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11941 $as_echo "not found" >&6; }
11943 else
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11945 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11947 cat >>confdefs.h <<_ACEOF
11948 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11949 _ACEOF
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11953 #include <X11/Xlib.h>
11954 #include <X11/extensions/Xrandr.h>
11956 main ()
11958 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11960 return 0;
11962 _ACEOF
11963 if ac_fn_c_try_compile "$LINENO"; then :
11965 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11973 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11974 case "x$with_xrandr" in
11975 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11976 xno) ;;
11977 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11978 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11979 esac
11983 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11984 then
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11987 #include <X11/Xlib.h>
11988 #include <X11/extensions/Xfixes.h>
11990 main ()
11992 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_compile "$LINENO"; then :
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11999 $as_echo_n "checking for -lXfixes... " >&6; }
12000 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_soname_save_LIBS=$LIBS
12004 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char XFixesQueryVersion ();
12016 main ()
12018 return XFixesQueryVersion ();
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"; then :
12024 case "$LIBEXT" in
12025 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12026 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'` ;;
12027 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12028 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12029 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12030 fi ;;
12031 esac
12032 else
12033 ac_cv_lib_soname_Xfixes=
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_soname_save_LIBS
12039 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12041 $as_echo "not found" >&6; }
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12045 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12047 cat >>confdefs.h <<_ACEOF
12048 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12049 _ACEOF
12054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12056 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12057 case "x$with_xfixes" in
12058 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12061 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12067 then
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12070 #include <X11/Xlib.h>
12071 #include <X11/extensions/Xinerama.h>
12073 main ()
12075 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_compile "$LINENO"; then :
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12082 $as_echo_n "checking for -lXinerama... " >&6; }
12083 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_soname_save_LIBS=$LIBS
12087 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char XineramaQueryScreens ();
12099 main ()
12101 return XineramaQueryScreens ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 case "$LIBEXT" in
12108 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12112 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12113 fi ;;
12114 esac
12115 else
12116 ac_cv_lib_soname_Xinerama=
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_soname_save_LIBS
12122 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12124 $as_echo "not found" >&6; }
12126 else
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12128 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12130 cat >>confdefs.h <<_ACEOF
12131 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12132 _ACEOF
12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12139 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12140 case "x$with_xinerama" in
12141 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12142 xno) ;;
12143 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12144 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12145 esac
12149 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12150 then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12152 $as_echo_n "checking for -lXcomposite... " >&6; }
12153 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_soname_save_LIBS=$LIBS
12157 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char XCompositeRedirectWindow ();
12169 main ()
12171 return XCompositeRedirectWindow ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 case "$LIBEXT" in
12178 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12179 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'` ;;
12180 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12181 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12182 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12183 fi ;;
12184 esac
12185 else
12186 ac_cv_lib_soname_Xcomposite=
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_soname_save_LIBS
12192 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12194 $as_echo "not found" >&6; }
12196 else
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12198 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12200 cat >>confdefs.h <<_ACEOF
12201 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12202 _ACEOF
12207 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12208 case "x$with_xcomposite" in
12209 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12210 xno) ;;
12211 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12212 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12213 esac
12217 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12218 #include <X11/Xlib.h>
12219 #endif
12221 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12223 cat >>confdefs.h <<_ACEOF
12224 #define HAVE_XICCALLBACK_CALLBACK 1
12225 _ACEOF
12229 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12230 #include <X11/Xlib.h>
12231 #endif
12233 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12235 cat >>confdefs.h <<_ACEOF
12236 #define HAVE_XEVENT_XCOOKIE 1
12237 _ACEOF
12244 opengl_msg=""
12245 if test "x$with_opengl" != "xno"
12246 then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12248 $as_echo_n "checking for -lGL... " >&6; }
12249 if ${ac_cv_lib_soname_GL+:} false; then :
12250 $as_echo_n "(cached) " >&6
12251 else
12252 ac_check_soname_save_LIBS=$LIBS
12253 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12260 #ifdef __cplusplus
12261 extern "C"
12262 #endif
12263 char glXCreateContext ();
12265 main ()
12267 return glXCreateContext ();
12269 return 0;
12271 _ACEOF
12272 if ac_fn_c_try_link "$LINENO"; then :
12273 case "$LIBEXT" in
12274 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12275 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'` ;;
12276 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12277 if ${ac_cv_lib_soname_GL:+false} :; then :
12278 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12279 fi ;;
12280 esac
12281 else
12282 ac_cv_lib_soname_GL=
12284 rm -f core conftest.err conftest.$ac_objext \
12285 conftest$ac_exeext conftest.$ac_ext
12286 LIBS=$ac_check_soname_save_LIBS
12288 if ${ac_cv_lib_soname_GL:+false} :; then :
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12290 $as_echo "not found" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12292 $as_echo_n "checking for -lGL... " >&6; }
12293 if ${ac_cv_lib_soname_GL+:} false; then :
12294 $as_echo_n "(cached) " >&6
12295 else
12296 ac_check_soname_save_LIBS=$LIBS
12297 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"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12304 #ifdef __cplusplus
12305 extern "C"
12306 #endif
12307 char glXCreateContext ();
12309 main ()
12311 return glXCreateContext ();
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"; then :
12317 case "$LIBEXT" in
12318 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12319 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'` ;;
12320 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12321 if ${ac_cv_lib_soname_GL:+false} :; then :
12322 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12323 fi ;;
12324 esac
12325 else
12326 ac_cv_lib_soname_GL=
12328 rm -f core conftest.err conftest.$ac_objext \
12329 conftest$ac_exeext conftest.$ac_ext
12330 LIBS=$ac_check_soname_save_LIBS
12332 if ${ac_cv_lib_soname_GL:+false} :; then :
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12334 $as_echo "not found" >&6; }
12335 if test -f /usr/X11R6/lib/libGL.a
12336 then
12337 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12338 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12339 else
12340 opengl_msg="No OpenGL library found on this system."
12342 else
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12344 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12346 cat >>confdefs.h <<_ACEOF
12347 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12348 _ACEOF
12350 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"
12352 else
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12354 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12356 cat >>confdefs.h <<_ACEOF
12357 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12358 _ACEOF
12360 OPENGL_LIBS="-lGL"
12362 if test "x$with_glu" != "xno"
12363 then
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12365 $as_echo_n "checking for -lGLU... " >&6; }
12366 if ${ac_cv_lib_soname_GLU+:} false; then :
12367 $as_echo_n "(cached) " >&6
12368 else
12369 ac_check_soname_save_LIBS=$LIBS
12370 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $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 gluLookAt ();
12382 main ()
12384 return gluLookAt ();
12386 return 0;
12388 _ACEOF
12389 if ac_fn_c_try_link "$LINENO"; then :
12390 case "$LIBEXT" in
12391 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12392 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'` ;;
12393 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12394 if ${ac_cv_lib_soname_GLU:+false} :; then :
12395 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12396 fi ;;
12397 esac
12398 else
12399 ac_cv_lib_soname_GLU=
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_GLU:+false} :; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12407 $as_echo "not found" >&6; }
12409 else
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12411 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12413 cat >>confdefs.h <<_ACEOF
12414 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12415 _ACEOF
12419 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12420 case "x$with_glu" in
12421 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12422 xno) ;;
12423 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12424 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12425 esac
12430 if test "x$with_osmesa" != "xno"
12431 then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12433 $as_echo_n "checking for -lOSMesa... " >&6; }
12434 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12435 $as_echo_n "(cached) " >&6
12436 else
12437 ac_check_soname_save_LIBS=$LIBS
12438 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 /* Override any GCC internal prototype to avoid an error.
12443 Use char because int might match the return type of a GCC
12444 builtin and then its argument prototype would still apply. */
12445 #ifdef __cplusplus
12446 extern "C"
12447 #endif
12448 char OSMesaGetProcAddress ();
12450 main ()
12452 return OSMesaGetProcAddress ();
12454 return 0;
12456 _ACEOF
12457 if ac_fn_c_try_link "$LINENO"; then :
12458 case "$LIBEXT" in
12459 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12460 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'` ;;
12461 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12462 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12463 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12464 fi ;;
12465 esac
12466 else
12467 ac_cv_lib_soname_OSMesa=
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 LIBS=$ac_check_soname_save_LIBS
12473 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12475 $as_echo "not found" >&6; }
12477 else
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12479 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12481 cat >>confdefs.h <<_ACEOF
12482 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12483 _ACEOF
12487 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12488 case "x$with_osmesa" in
12489 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12490 xno) ;;
12491 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12492 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12493 esac
12498 if test -n "$opengl_msg"; then :
12499 case "x$with_opengl" in
12500 x) as_fn_append wine_warnings "|$opengl_msg
12501 OpenGL and Direct3D won't be supported." ;;
12502 xno) ;;
12503 *) as_fn_error $? "$opengl_msg
12504 OpenGL and Direct3D won't be supported.
12505 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12506 esac
12510 CPPFLAGS="$ac_save_CPPFLAGS"
12511 else
12512 X_CFLAGS=""
12513 X_LIBS=""
12516 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12517 then
12518 if test "x$X_LIBS" = "x"; then :
12519 case "x$with_x" in
12520 xno) ;;
12521 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12522 without X support, which probably isn't what you want. You will need
12523 to install ${notice_platform}development packages of Xlib at the very least.
12524 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12525 esac
12526 enable_winex11_drv=${enable_winex11_drv:-no}
12528 else
12529 if test "x$X_LIBS" = "x"; then :
12530 case "x$with_x" in
12531 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12532 xno) ;;
12533 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12534 This is an error since --with-x was requested." "$LINENO" 5 ;;
12535 esac
12536 enable_winex11_drv=${enable_winex11_drv:-no}
12540 if test "$ac_cv_header_CL_cl_h" = "yes"
12541 then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12543 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12544 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12545 $as_echo_n "(cached) " >&6
12546 else
12547 ac_check_lib_save_LIBS=$LIBS
12548 LIBS="-lOpenCL $LIBS"
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12555 #ifdef __cplusplus
12556 extern "C"
12557 #endif
12558 char clGetPlatformInfo ();
12560 main ()
12562 return clGetPlatformInfo ();
12564 return 0;
12566 _ACEOF
12567 if ac_fn_c_try_link "$LINENO"; then :
12568 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12569 else
12570 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12572 rm -f core conftest.err conftest.$ac_objext \
12573 conftest$ac_exeext conftest.$ac_ext
12574 LIBS=$ac_check_lib_save_LIBS
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12577 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12578 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12579 OPENCL_LIBS="-lOpenCL"
12584 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12585 case "x$with_opencl" in
12586 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12587 xno) ;;
12588 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12589 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12590 esac
12591 enable_opencl=${enable_opencl:-no}
12594 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12595 then
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12597 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12598 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12599 $as_echo_n "(cached) " >&6
12600 else
12601 ac_check_lib_save_LIBS=$LIBS
12602 LIBS="-lpcap $LIBS"
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12609 #ifdef __cplusplus
12610 extern "C"
12611 #endif
12612 char pcap_create ();
12614 main ()
12616 return pcap_create ();
12618 return 0;
12620 _ACEOF
12621 if ac_fn_c_try_link "$LINENO"; then :
12622 ac_cv_lib_pcap_pcap_create=yes
12623 else
12624 ac_cv_lib_pcap_pcap_create=no
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_lib_save_LIBS
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12631 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12632 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12633 PCAP_LIBS="-lpcap"
12638 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12639 case "x$with_pcap" in
12640 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12641 xno) ;;
12642 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12643 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12644 esac
12645 enable_wpcap=${enable_wpcap:-no}
12649 if test "x$with_xml" != "xno"
12650 then
12651 if ${XML2_CFLAGS:+false} :; then :
12652 if ${PKG_CONFIG+:} false; then :
12653 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12656 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12657 if ${XML2_LIBS:+false} :; then :
12658 if ${PKG_CONFIG+:} false; then :
12659 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12662 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12663 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12664 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12665 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12666 ac_save_CPPFLAGS=$CPPFLAGS
12667 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12668 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12669 do :
12670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12671 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12673 cat >>confdefs.h <<_ACEOF
12674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12675 _ACEOF
12679 done
12681 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"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12684 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12685 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_lib_save_LIBS=$LIBS
12689 LIBS="-lxml2 $XML2_LIBS $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char xmlParseMemory ();
12701 main ()
12703 return xmlParseMemory ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 ac_cv_lib_xml2_xmlParseMemory=yes
12710 else
12711 ac_cv_lib_xml2_xmlParseMemory=no
12713 rm -f core conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_lib_save_LIBS
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12718 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12719 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12721 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12723 else
12724 XML2_LIBS=""
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12728 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12729 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12730 $as_echo_n "(cached) " >&6
12731 else
12732 ac_check_lib_save_LIBS=$LIBS
12733 LIBS="-lxml2 $XML2_LIBS $LIBS"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 #ifdef __cplusplus
12741 extern "C"
12742 #endif
12743 char xmlReadMemory ();
12745 main ()
12747 return xmlReadMemory ();
12749 return 0;
12751 _ACEOF
12752 if ac_fn_c_try_link "$LINENO"; then :
12753 ac_cv_lib_xml2_xmlReadMemory=yes
12754 else
12755 ac_cv_lib_xml2_xmlReadMemory=no
12757 rm -f core conftest.err conftest.$ac_objext \
12758 conftest$ac_exeext conftest.$ac_ext
12759 LIBS=$ac_check_lib_save_LIBS
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12762 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12763 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12765 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12770 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12771 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12772 $as_echo_n "(cached) " >&6
12773 else
12774 ac_check_lib_save_LIBS=$LIBS
12775 LIBS="-lxml2 $XML2_LIBS $LIBS"
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char xmlNewDocPI ();
12787 main ()
12789 return xmlNewDocPI ();
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_link "$LINENO"; then :
12795 ac_cv_lib_xml2_xmlNewDocPI=yes
12796 else
12797 ac_cv_lib_xml2_xmlNewDocPI=no
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_lib_save_LIBS
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12804 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12805 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12807 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12812 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12813 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12814 $as_echo_n "(cached) " >&6
12815 else
12816 ac_check_lib_save_LIBS=$LIBS
12817 LIBS="-lxml2 $XML2_LIBS $LIBS"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 char xmlSchemaSetParserStructuredErrors ();
12829 main ()
12831 return xmlSchemaSetParserStructuredErrors ();
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_link "$LINENO"; then :
12837 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12838 else
12839 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12846 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12847 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12849 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12854 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12855 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_lib_save_LIBS=$LIBS
12859 LIBS="-lxml2 $XML2_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char xmlSchemaSetValidStructuredErrors ();
12871 main ()
12873 return xmlSchemaSetValidStructuredErrors ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12880 else
12881 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12888 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12889 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12891 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12896 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12897 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12898 $as_echo_n "(cached) " >&6
12899 else
12900 ac_check_lib_save_LIBS=$LIBS
12901 LIBS="-lxml2 $XML2_LIBS $LIBS"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12908 #ifdef __cplusplus
12909 extern "C"
12910 #endif
12911 char xmlFirstElementChild ();
12913 main ()
12915 return xmlFirstElementChild ();
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_link "$LINENO"; then :
12921 ac_cv_lib_xml2_xmlFirstElementChild=yes
12922 else
12923 ac_cv_lib_xml2_xmlFirstElementChild=no
12925 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12930 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12931 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12933 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12937 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12939 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12941 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12945 else
12946 XML2_CFLAGS=""
12947 XML2_LIBS=""
12949 CPPFLAGS=$ac_save_CPPFLAGS
12950 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12951 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12954 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12955 case "x$with_xml" in
12956 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12957 xno) ;;
12958 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12959 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12960 esac
12964 if test "x$with_xslt" != "xno"
12965 then
12966 if ${XSLT_CFLAGS:+false} :; then :
12967 if ${PKG_CONFIG+:} false; then :
12968 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12971 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12972 if ${XSLT_LIBS:+false} :; then :
12973 if ${PKG_CONFIG+:} false; then :
12974 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12977 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12978 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12979 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12980 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12981 ac_save_CPPFLAGS=$CPPFLAGS
12982 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12983 for ac_header in libxslt/pattern.h libxslt/transform.h
12984 do :
12985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12987 # include <libxslt/pattern.h>
12988 #endif
12990 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12991 cat >>confdefs.h <<_ACEOF
12992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12993 _ACEOF
12997 done
12999 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13000 then
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13002 $as_echo_n "checking for -lxslt... " >&6; }
13003 if ${ac_cv_lib_soname_xslt+:} false; then :
13004 $as_echo_n "(cached) " >&6
13005 else
13006 ac_check_soname_save_LIBS=$LIBS
13007 LIBS="-lxslt $XSLT_LIBS $LIBS"
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13011 /* Override any GCC internal prototype to avoid an error.
13012 Use char because int might match the return type of a GCC
13013 builtin and then its argument prototype would still apply. */
13014 #ifdef __cplusplus
13015 extern "C"
13016 #endif
13017 char xsltCompilePattern ();
13019 main ()
13021 return xsltCompilePattern ();
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_link "$LINENO"; then :
13027 case "$LIBEXT" in
13028 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13029 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'` ;;
13030 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13031 if ${ac_cv_lib_soname_xslt:+false} :; then :
13032 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13033 fi ;;
13034 esac
13035 else
13036 ac_cv_lib_soname_xslt=
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_xslt:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13048 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13050 cat >>confdefs.h <<_ACEOF
13051 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13052 _ACEOF
13056 else
13057 XSLT_CFLAGS=""
13059 CPPFLAGS=$ac_save_CPPFLAGS
13060 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13065 case "x$with_xslt" in
13066 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13067 xno) ;;
13068 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13069 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13070 esac
13074 if test "x$with_inotify" != "xno"
13075 then
13076 if ${INOTIFY_CFLAGS:+false} :; then :
13077 if ${PKG_CONFIG+:} false; then :
13078 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13082 if ${INOTIFY_LIBS:+false} :; then :
13083 if ${PKG_CONFIG+:} false; then :
13084 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13089 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13090 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13091 ac_save_CPPFLAGS=$CPPFLAGS
13092 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13093 for ac_header in sys/inotify.h
13094 do :
13095 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13096 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13097 cat >>confdefs.h <<_ACEOF
13098 #define HAVE_SYS_INOTIFY_H 1
13099 _ACEOF
13103 done
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13106 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13107 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_check_lib_save_LIBS=$LIBS
13111 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char inotify_add_watch ();
13123 main ()
13125 return inotify_add_watch ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"; then :
13131 ac_cv_lib_inotify_inotify_add_watch=yes
13132 else
13133 ac_cv_lib_inotify_inotify_add_watch=no
13135 rm -f core conftest.err conftest.$ac_objext \
13136 conftest$ac_exeext conftest.$ac_ext
13137 LIBS=$ac_check_lib_save_LIBS
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13140 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13141 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13143 else
13144 INOTIFY_LIBS=""
13147 CPPFLAGS=$ac_save_CPPFLAGS
13148 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13149 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13152 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13153 case "x$with_inotify" in
13154 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13155 xno) ;;
13156 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13157 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13158 esac
13162 if test "x$with_dbus" != "xno"
13163 then
13164 if ${DBUS_CFLAGS:+false} :; then :
13165 if ${PKG_CONFIG+:} false; then :
13166 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13170 if ${DBUS_LIBS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13177 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13178 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13179 ac_save_CPPFLAGS=$CPPFLAGS
13180 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13181 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13182 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13184 $as_echo_n "checking for -ldbus-1... " >&6; }
13185 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13186 $as_echo_n "(cached) " >&6
13187 else
13188 ac_check_soname_save_LIBS=$LIBS
13189 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13196 #ifdef __cplusplus
13197 extern "C"
13198 #endif
13199 char dbus_connection_close ();
13201 main ()
13203 return dbus_connection_close ();
13205 return 0;
13207 _ACEOF
13208 if ac_fn_c_try_link "$LINENO"; then :
13209 case "$LIBEXT" in
13210 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13211 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'` ;;
13212 *) 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'`
13213 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13214 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13215 fi ;;
13216 esac
13217 else
13218 ac_cv_lib_soname_dbus_1=
13220 rm -f core conftest.err conftest.$ac_objext \
13221 conftest$ac_exeext conftest.$ac_ext
13222 LIBS=$ac_check_soname_save_LIBS
13224 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13226 $as_echo "not found" >&6; }
13227 DBUS_CFLAGS=""
13228 else
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13230 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13232 cat >>confdefs.h <<_ACEOF
13233 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13234 _ACEOF
13238 else
13239 DBUS_CFLAGS=""
13243 CPPFLAGS=$ac_save_CPPFLAGS
13244 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13245 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13248 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13249 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13250 case "x$with_dbus" in
13251 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13252 xno) ;;
13253 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13254 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13255 esac
13259 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13260 then
13261 if ${HAL_CFLAGS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13267 if ${HAL_LIBS:+false} :; then :
13268 if ${PKG_CONFIG+:} false; then :
13269 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13273 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13274 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13275 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13276 ac_save_CPPFLAGS=$CPPFLAGS
13277 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13278 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13279 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13281 $as_echo_n "checking for -lhal... " >&6; }
13282 if ${ac_cv_lib_soname_hal+:} false; then :
13283 $as_echo_n "(cached) " >&6
13284 else
13285 ac_check_soname_save_LIBS=$LIBS
13286 LIBS="-lhal $HAL_LIBS $LIBS"
13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13293 #ifdef __cplusplus
13294 extern "C"
13295 #endif
13296 char libhal_ctx_new ();
13298 main ()
13300 return libhal_ctx_new ();
13302 return 0;
13304 _ACEOF
13305 if ac_fn_c_try_link "$LINENO"; then :
13306 case "$LIBEXT" in
13307 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13308 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'` ;;
13309 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13310 if ${ac_cv_lib_soname_hal:+false} :; then :
13311 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13312 fi ;;
13313 esac
13314 else
13315 ac_cv_lib_soname_hal=
13317 rm -f core conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_soname_save_LIBS
13321 if ${ac_cv_lib_soname_hal:+false} :; then :
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13323 $as_echo "not found" >&6; }
13324 HAL_CFLAGS=""
13325 else
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13327 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13329 cat >>confdefs.h <<_ACEOF
13330 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13331 _ACEOF
13335 else
13336 HAL_CFLAGS=""
13340 CPPFLAGS=$ac_save_CPPFLAGS
13341 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13342 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13344 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13345 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13346 case "x$with_hal" in
13347 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13348 xno) ;;
13349 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13350 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13351 esac
13356 if test "x$with_gnutls" != "xno"
13357 then
13358 if ${GNUTLS_CFLAGS:+false} :; then :
13359 if ${PKG_CONFIG+:} false; then :
13360 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13364 if ${GNUTLS_LIBS:+false} :; then :
13365 if ${PKG_CONFIG+:} false; then :
13366 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13371 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13372 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13373 ac_save_CPPFLAGS=$CPPFLAGS
13374 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13375 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13376 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13379 #include <gnutls/gnutls.h>
13380 #include <gnutls/crypto.h>
13382 main ()
13384 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_compile "$LINENO"; then :
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13391 $as_echo_n "checking for -lgnutls... " >&6; }
13392 if ${ac_cv_lib_soname_gnutls+:} false; then :
13393 $as_echo_n "(cached) " >&6
13394 else
13395 ac_check_soname_save_LIBS=$LIBS
13396 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13403 #ifdef __cplusplus
13404 extern "C"
13405 #endif
13406 char gnutls_global_init ();
13408 main ()
13410 return gnutls_global_init ();
13412 return 0;
13414 _ACEOF
13415 if ac_fn_c_try_link "$LINENO"; then :
13416 case "$LIBEXT" in
13417 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13418 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'` ;;
13419 *) 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'`
13420 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13421 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'`
13422 fi ;;
13423 esac
13424 else
13425 ac_cv_lib_soname_gnutls=
13427 rm -f core conftest.err conftest.$ac_objext \
13428 conftest$ac_exeext conftest.$ac_ext
13429 LIBS=$ac_check_soname_save_LIBS
13431 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13433 $as_echo "not found" >&6; }
13434 GNUTLS_CFLAGS=""
13435 else
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13437 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13439 cat >>confdefs.h <<_ACEOF
13440 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13441 _ACEOF
13445 ac_wine_check_funcs_save_LIBS="$LIBS"
13446 LIBS="$LIBS $GNUTLS_LIBS"
13447 for ac_func in gnutls_cipher_init
13448 do :
13449 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13450 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13451 cat >>confdefs.h <<_ACEOF
13452 #define HAVE_GNUTLS_CIPHER_INIT 1
13453 _ACEOF
13455 else
13456 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13458 done
13460 LIBS="$ac_wine_check_funcs_save_LIBS"
13462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13463 else
13464 GNUTLS_CFLAGS=""
13468 CPPFLAGS=$ac_save_CPPFLAGS
13469 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13470 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13473 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13474 case "x$with_gnutls" in
13475 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13476 xno) ;;
13477 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13478 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13479 esac
13483 CURSES_LIBS=""
13484 if test "$ac_cv_header_ncurses_h" = "yes"
13485 then
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13487 $as_echo_n "checking for -lncurses... " >&6; }
13488 if ${ac_cv_lib_soname_ncurses+:} false; then :
13489 $as_echo_n "(cached) " >&6
13490 else
13491 ac_check_soname_save_LIBS=$LIBS
13492 LIBS="-lncurses $LIBS"
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13496 /* Override any GCC internal prototype to avoid an error.
13497 Use char because int might match the return type of a GCC
13498 builtin and then its argument prototype would still apply. */
13499 #ifdef __cplusplus
13500 extern "C"
13501 #endif
13502 char waddch ();
13504 main ()
13506 return waddch ();
13508 return 0;
13510 _ACEOF
13511 if ac_fn_c_try_link "$LINENO"; then :
13512 case "$LIBEXT" in
13513 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13514 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'` ;;
13515 *) 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'`
13516 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13517 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13518 fi ;;
13519 esac
13520 else
13521 ac_cv_lib_soname_ncurses=
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LIBS=$ac_check_soname_save_LIBS
13527 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13529 $as_echo "not found" >&6; }
13531 else
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13533 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13535 cat >>confdefs.h <<_ACEOF
13536 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13537 _ACEOF
13539 CURSES_LIBS="-lncurses"
13541 elif test "$ac_cv_header_curses_h" = "yes"
13542 then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13544 $as_echo_n "checking for -lcurses... " >&6; }
13545 if ${ac_cv_lib_soname_curses+:} false; then :
13546 $as_echo_n "(cached) " >&6
13547 else
13548 ac_check_soname_save_LIBS=$LIBS
13549 LIBS="-lcurses $LIBS"
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 #ifdef __cplusplus
13557 extern "C"
13558 #endif
13559 char waddch ();
13561 main ()
13563 return waddch ();
13565 return 0;
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"; then :
13569 case "$LIBEXT" in
13570 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13571 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'` ;;
13572 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13573 if ${ac_cv_lib_soname_curses:+false} :; then :
13574 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13575 fi ;;
13576 esac
13577 else
13578 ac_cv_lib_soname_curses=
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 LIBS=$ac_check_soname_save_LIBS
13584 if ${ac_cv_lib_soname_curses:+false} :; then :
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13586 $as_echo "not found" >&6; }
13588 else
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13590 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13592 cat >>confdefs.h <<_ACEOF
13593 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13594 _ACEOF
13596 CURSES_LIBS="-lcurses"
13599 ac_save_LIBS="$LIBS"
13600 LIBS="$LIBS $CURSES_LIBS"
13601 for ac_func in mousemask
13602 do :
13603 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13604 if test "x$ac_cv_func_mousemask" = xyes; then :
13605 cat >>confdefs.h <<_ACEOF
13606 #define HAVE_MOUSEMASK 1
13607 _ACEOF
13610 done
13612 LIBS="$ac_save_LIBS"
13613 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13614 case "x$with_curses" in
13615 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13616 xno) ;;
13617 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13618 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13619 esac
13623 if test "x$with_sane" != "xno"
13624 then
13625 if ${SANE_CFLAGS:+false} :; then :
13626 if ${PKG_CONFIG+:} false; then :
13627 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13630 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13631 if ${SANE_LIBS:+false} :; then :
13632 if ${PKG_CONFIG+:} false; then :
13633 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13636 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13638 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13639 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13640 ac_save_CPPFLAGS=$CPPFLAGS
13641 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13642 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13643 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13645 $as_echo_n "checking for -lsane... " >&6; }
13646 if ${ac_cv_lib_soname_sane+:} false; then :
13647 $as_echo_n "(cached) " >&6
13648 else
13649 ac_check_soname_save_LIBS=$LIBS
13650 LIBS="-lsane $SANE_LIBS $LIBS"
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13654 /* Override any GCC internal prototype to avoid an error.
13655 Use char because int might match the return type of a GCC
13656 builtin and then its argument prototype would still apply. */
13657 #ifdef __cplusplus
13658 extern "C"
13659 #endif
13660 char sane_init ();
13662 main ()
13664 return sane_init ();
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 case "$LIBEXT" in
13671 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13672 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'` ;;
13673 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13674 if ${ac_cv_lib_soname_sane:+false} :; then :
13675 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13676 fi ;;
13677 esac
13678 else
13679 ac_cv_lib_soname_sane=
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 LIBS=$ac_check_soname_save_LIBS
13685 if ${ac_cv_lib_soname_sane:+false} :; then :
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13687 $as_echo "not found" >&6; }
13688 SANE_CFLAGS=""
13689 else
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13691 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13693 cat >>confdefs.h <<_ACEOF
13694 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13695 _ACEOF
13699 else
13700 SANE_CFLAGS=""
13704 CPPFLAGS=$ac_save_CPPFLAGS
13705 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13706 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13709 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13710 case "x$with_sane" in
13711 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13712 xno) ;;
13713 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13714 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13715 esac
13719 if test "x$with_v4l2" != "xno"
13720 then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13722 $as_echo_n "checking for -lv4l2... " >&6; }
13723 if ${ac_cv_lib_soname_v4l2+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_check_soname_save_LIBS=$LIBS
13727 LIBS="-lv4l2 $LIBS"
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13734 #ifdef __cplusplus
13735 extern "C"
13736 #endif
13737 char v4l2_open ();
13739 main ()
13741 return v4l2_open ();
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"; then :
13747 case "$LIBEXT" in
13748 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13749 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'` ;;
13750 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13751 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13752 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13753 fi ;;
13754 esac
13755 else
13756 ac_cv_lib_soname_v4l2=
13758 rm -f core conftest.err conftest.$ac_objext \
13759 conftest$ac_exeext conftest.$ac_ext
13760 LIBS=$ac_check_soname_save_LIBS
13762 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13764 $as_echo "not found" >&6; }
13766 else
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13768 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13770 cat >>confdefs.h <<_ACEOF
13771 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13772 _ACEOF
13777 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13778 case "x$with_v4l2" in
13779 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13780 xno) ;;
13781 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13782 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13783 esac
13787 if test "x$with_gphoto" != "xno"
13788 then
13789 if ${GPHOTO2_CFLAGS:+false} :; then :
13790 if ${PKG_CONFIG+:} false; then :
13791 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13794 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13795 if ${GPHOTO2_LIBS:+false} :; then :
13796 if ${PKG_CONFIG+:} false; then :
13797 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13800 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13801 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13802 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13803 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13804 ac_save_CPPFLAGS=$CPPFLAGS
13805 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13806 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13807 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13809 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13810 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13811 $as_echo_n "(cached) " >&6
13812 else
13813 ac_check_lib_save_LIBS=$LIBS
13814 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 #ifdef __cplusplus
13822 extern "C"
13823 #endif
13824 char gp_camera_new ();
13826 main ()
13828 return gp_camera_new ();
13830 return 0;
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"; then :
13834 ac_cv_lib_gphoto2_gp_camera_new=yes
13835 else
13836 ac_cv_lib_gphoto2_gp_camera_new=no
13838 rm -f core conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13840 LIBS=$ac_check_lib_save_LIBS
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13843 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13844 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13846 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13848 else
13849 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13852 else
13853 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13857 CPPFLAGS=$ac_save_CPPFLAGS
13858 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13859 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13861 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13862 if ${PKG_CONFIG+:} false; then :
13863 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13866 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13867 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13868 if ${PKG_CONFIG+:} false; then :
13869 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13872 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13873 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13874 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13875 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13876 ac_save_CPPFLAGS=$CPPFLAGS
13877 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13878 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13879 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13881 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13882 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 ac_check_lib_save_LIBS=$LIBS
13886 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13890 /* Override any GCC internal prototype to avoid an error.
13891 Use char because int might match the return type of a GCC
13892 builtin and then its argument prototype would still apply. */
13893 #ifdef __cplusplus
13894 extern "C"
13895 #endif
13896 char gp_port_info_list_new ();
13898 main ()
13900 return gp_port_info_list_new ();
13902 return 0;
13904 _ACEOF
13905 if ac_fn_c_try_link "$LINENO"; then :
13906 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13907 else
13908 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13910 rm -f core conftest.err conftest.$ac_objext \
13911 conftest$ac_exeext conftest.$ac_ext
13912 LIBS=$ac_check_lib_save_LIBS
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13915 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13916 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13918 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13920 else
13921 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13924 else
13925 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13929 CPPFLAGS=$ac_save_CPPFLAGS
13930 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13931 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13934 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13935 case "x$with_gphoto" in
13936 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13937 xno) ;;
13938 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13939 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13940 esac
13943 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13944 case "x$with_gphoto" in
13945 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13946 xno) ;;
13947 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13948 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13949 esac
13954 if test "$ac_cv_header_resolv_h" = "yes"
13955 then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13957 $as_echo_n "checking for resolver library... " >&6; }
13958 if ${ac_cv_have_resolv+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 ac_save_LIBS="$LIBS"
13962 for lib in '' -lresolv
13964 LIBS="$lib $ac_save_LIBS"
13965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13967 #ifdef HAVE_NETINET_IN_H
13968 #include <netinet/in.h>
13969 #endif
13970 #include <resolv.h>
13972 main ()
13974 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13976 return 0;
13978 _ACEOF
13979 if ac_fn_c_try_link "$LINENO"; then :
13980 ac_cv_have_resolv=${lib:-"none required"}
13981 else
13982 ac_cv_have_resolv="not found"
13984 rm -f core conftest.err conftest.$ac_objext \
13985 conftest$ac_exeext conftest.$ac_ext
13986 test "x$ac_cv_have_resolv" = "xnot found" || break
13987 done
13988 LIBS="$ac_save_LIBS"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13991 $as_echo "$ac_cv_have_resolv" >&6; }
13993 case "$ac_cv_have_resolv" in
13994 "not found") ;;
13995 "none required")
13997 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14000 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14002 RESOLV_LIBS=$ac_cv_have_resolv
14004 esac
14007 if test "x$with_cms" != "xno"
14008 then
14009 if ${LCMS2_CFLAGS:+false} :; then :
14010 if ${PKG_CONFIG+:} false; then :
14011 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14015 if ${LCMS2_LIBS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14021 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14022 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14023 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14024 ac_save_CPPFLAGS=$CPPFLAGS
14025 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14026 for ac_header in lcms2.h
14027 do :
14028 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14029 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14030 cat >>confdefs.h <<_ACEOF
14031 #define HAVE_LCMS2_H 1
14032 _ACEOF
14036 done
14038 if test "$ac_cv_header_lcms2_h" = "yes"
14039 then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14041 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14042 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_check_lib_save_LIBS=$LIBS
14046 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 #ifdef __cplusplus
14054 extern "C"
14055 #endif
14056 char cmsOpenProfileFromFile ();
14058 main ()
14060 return cmsOpenProfileFromFile ();
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14067 else
14068 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 LIBS=$ac_check_lib_save_LIBS
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14075 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14076 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14078 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14080 else
14081 LCMS2_LIBS=""
14084 else
14085 LCMS2_CFLAGS=""
14086 LCMS2_LIBS=""
14088 CPPFLAGS=$ac_save_CPPFLAGS
14089 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14090 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14093 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14094 case "x$with_cms" in
14095 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14096 xno) ;;
14097 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14098 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14099 esac
14103 if test "x$with_freetype" != "xno"
14104 then
14105 if ${FREETYPE_CFLAGS:+false} :; then :
14106 if ${PKG_CONFIG+:} false; then :
14107 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14110 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14111 if ${FREETYPE_LIBS:+false} :; then :
14112 if ${PKG_CONFIG+:} false; then :
14113 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14116 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14117 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14118 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14119 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14120 ac_save_CPPFLAGS=$CPPFLAGS
14121 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14122 for ac_header in ft2build.h
14123 do :
14124 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14125 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14126 cat >>confdefs.h <<_ACEOF
14127 #define HAVE_FT2BUILD_H 1
14128 _ACEOF
14132 done
14134 if test "$ac_cv_header_ft2build_h" = "yes"
14135 then
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14137 $as_echo_n "checking for -lfreetype... " >&6; }
14138 if ${ac_cv_lib_soname_freetype+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_check_soname_save_LIBS=$LIBS
14142 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14149 #ifdef __cplusplus
14150 extern "C"
14151 #endif
14152 char FT_Init_FreeType ();
14154 main ()
14156 return FT_Init_FreeType ();
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 case "$LIBEXT" in
14163 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14164 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'` ;;
14165 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14166 if ${ac_cv_lib_soname_freetype:+false} :; then :
14167 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14168 fi ;;
14169 esac
14170 else
14171 ac_cv_lib_soname_freetype=
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 LIBS=$ac_check_soname_save_LIBS
14177 if ${ac_cv_lib_soname_freetype:+false} :; then :
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14179 $as_echo "not found" >&6; }
14180 FREETYPE_LIBS=""
14181 else
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14183 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14185 cat >>confdefs.h <<_ACEOF
14186 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14187 _ACEOF
14190 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14192 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14193 #include FT_MODULE_H
14195 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14197 cat >>confdefs.h <<_ACEOF
14198 #define HAVE_FT_TRUETYPEENGINETYPE 1
14199 _ACEOF
14205 else
14206 FREETYPE_CFLAGS=""
14207 FREETYPE_LIBS=""
14209 CPPFLAGS=$ac_save_CPPFLAGS
14210 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14211 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14214 if test "x$ac_cv_lib_soname_freetype" = x; then :
14215 case "x$with_freetype" in
14216 xno) ;;
14217 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14218 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14219 esac
14220 enable_fonts=${enable_fonts:-no}
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14224 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14225 if ${ac_cv_c_ppdev+:} false; then :
14226 $as_echo_n "(cached) " >&6
14227 else
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14230 #ifdef HAVE_SYS_IOCTL_H
14231 # include <sys/ioctl.h>
14232 #endif
14233 #include <linux/ppdev.h>
14235 main ()
14237 ioctl (1,PPCLAIM,0)
14239 return 0;
14241 _ACEOF
14242 if ac_fn_c_try_compile "$LINENO"; then :
14243 ac_cv_c_ppdev="yes"
14244 else
14245 ac_cv_c_ppdev="no"
14247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14250 $as_echo "$ac_cv_c_ppdev" >&6; }
14251 if test "$ac_cv_c_ppdev" = "yes"
14252 then
14254 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14258 ac_wine_check_funcs_save_LIBS="$LIBS"
14259 LIBS="$LIBS $PTHREAD_LIBS"
14260 for ac_func in \
14261 pthread_getthreadid_np
14262 do :
14263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14265 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14266 cat >>confdefs.h <<_ACEOF
14267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14268 _ACEOF
14271 done
14273 LIBS="$ac_wine_check_funcs_save_LIBS"
14275 if test "x$with_zlib" != "xno"
14276 then
14277 if ${Z_CFLAGS:+false} :; then :
14278 if ${PKG_CONFIG+:} false; then :
14279 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14283 if ${Z_LIBS:+false} :; then :
14284 if ${PKG_CONFIG+:} false; then :
14285 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14289 Z_LIBS=${Z_LIBS:-"-lz"}
14290 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14291 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14292 ac_save_CPPFLAGS=$CPPFLAGS
14293 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14294 for ac_header in zlib.h
14295 do :
14296 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14297 if test "x$ac_cv_header_zlib_h" = xyes; then :
14298 cat >>confdefs.h <<_ACEOF
14299 #define HAVE_ZLIB_H 1
14300 _ACEOF
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14302 $as_echo_n "checking for inflate in -lz... " >&6; }
14303 if ${ac_cv_lib_z_inflate+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_check_lib_save_LIBS=$LIBS
14307 LIBS="-lz $Z_LIBS $LIBS"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 /* Override any GCC internal prototype to avoid an error.
14312 Use char because int might match the return type of a GCC
14313 builtin and then its argument prototype would still apply. */
14314 #ifdef __cplusplus
14315 extern "C"
14316 #endif
14317 char inflate ();
14319 main ()
14321 return inflate ();
14323 return 0;
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_lib_z_inflate=yes
14328 else
14329 ac_cv_lib_z_inflate=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_lib_save_LIBS
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14336 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14337 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14339 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14341 else
14342 Z_LIBS=""
14345 else
14346 Z_LIBS=""
14349 done
14351 CPPFLAGS=$ac_save_CPPFLAGS
14352 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14353 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14356 if test "x$Z_LIBS" = "x"; then :
14357 case "x$with_zlib" in
14358 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14359 xno) ;;
14360 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14361 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14362 esac
14366 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14367 then
14368 if test "$ac_cv_header_gettext_po_h" = "yes"
14369 then
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14371 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14372 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14373 $as_echo_n "(cached) " >&6
14374 else
14375 ac_check_lib_save_LIBS=$LIBS
14376 LIBS="-lgettextpo $LIBS"
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14383 #ifdef __cplusplus
14384 extern "C"
14385 #endif
14386 char po_message_msgctxt ();
14388 main ()
14390 return po_message_msgctxt ();
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14397 else
14398 ac_cv_lib_gettextpo_po_message_msgctxt=no
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_lib_save_LIBS
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14405 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14406 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14408 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14410 GETTEXTPO_LIBS="-lgettextpo"
14415 if test "x$GETTEXTPO_LIBS" = "x"; then :
14416 case "x$with_gettextpo" in
14417 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14418 xno) ;;
14419 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14420 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14421 esac
14424 if test "$srcdir" != .; then :
14425 case "x$with_gettextpo" in
14426 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14427 xno) ;;
14428 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14429 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14430 esac
14435 if test "x$with_pulse" != "xno";
14436 then
14437 if ${PULSE_CFLAGS:+false} :; then :
14438 if ${PKG_CONFIG+:} false; then :
14439 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14443 if ${PULSE_LIBS:+false} :; then :
14444 if ${PKG_CONFIG+:} false; then :
14445 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14450 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14451 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14452 ac_save_CPPFLAGS=$CPPFLAGS
14453 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14454 for ac_header in pulse/pulseaudio.h
14455 do :
14456 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14457 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define HAVE_PULSE_PULSEAUDIO_H 1
14460 _ACEOF
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14462 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14463 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 ac_check_lib_save_LIBS=$LIBS
14467 LIBS="-lpulse $PULSE_LIBS $LIBS"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 #ifdef __cplusplus
14475 extern "C"
14476 #endif
14477 char pa_stream_is_corked ();
14479 main ()
14481 return pa_stream_is_corked ();
14483 return 0;
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_lib_pulse_pa_stream_is_corked=yes
14488 else
14489 ac_cv_lib_pulse_pa_stream_is_corked=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LIBS=$ac_check_lib_save_LIBS
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14496 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14497 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14499 else
14500 PULSE_LIBS=""
14503 else
14504 PULSE_LIBS=""
14507 done
14509 CPPFLAGS=$ac_save_CPPFLAGS
14510 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14511 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14514 if test -z "$PULSE_LIBS"; then :
14515 case "x$with_pulse" in
14516 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14517 xno) ;;
14518 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14519 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14520 esac
14521 enable_winepulse_drv=${enable_winepulse_drv:-no}
14524 if test "x$with_gstreamer" != "xno"
14525 then
14526 if ${GSTREAMER_CFLAGS:+false} :; then :
14527 if ${PKG_CONFIG+:} false; then :
14528 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14532 if ${GSTREAMER_LIBS:+false} :; then :
14533 if ${PKG_CONFIG+:} false; then :
14534 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14539 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14540 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14541 ac_save_CPPFLAGS=$CPPFLAGS
14542 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14543 ac_gst_incl=""
14544 for i in $GSTREAMER_CFLAGS
14546 case "$i" in
14547 -I*) ac_gst_incl="$ac_gst_incl $i";;
14548 esac
14549 done
14550 GSTREAMER_CFLAGS=$ac_gst_incl
14551 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14552 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14553 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14555 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14557 /* end confdefs.h. */
14558 #include <gst/gst.h>
14560 main ()
14562 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14564 return 0;
14566 _ACEOF
14567 if ac_fn_c_try_compile "$LINENO"; then :
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14569 $as_echo "yes" >&6; }
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14571 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14572 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 ac_check_lib_save_LIBS=$LIBS
14576 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 /* Override any GCC internal prototype to avoid an error.
14581 Use char because int might match the return type of a GCC
14582 builtin and then its argument prototype would still apply. */
14583 #ifdef __cplusplus
14584 extern "C"
14585 #endif
14586 char gst_pad_new ();
14588 main ()
14590 return gst_pad_new ();
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14597 else
14598 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 LIBS=$ac_check_lib_save_LIBS
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14605 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14606 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14610 else
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14612 $as_echo "no" >&6; }
14613 ac_glib2_broken=yes
14614 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14620 CPPFLAGS=$ac_save_CPPFLAGS
14621 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14622 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14625 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 :
14626 case "x$with_gstreamer" in
14627 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14628 xno) ;;
14629 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14630 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14631 esac
14634 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14636 ALSA_LIBS=""
14638 if test "x$with_alsa" != "xno"
14639 then
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14641 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14642 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_check_lib_save_LIBS=$LIBS
14646 LIBS="-lasound $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 #ifdef __cplusplus
14654 extern "C"
14655 #endif
14656 char snd_pcm_hw_params_get_access_mask ();
14658 main ()
14660 return snd_pcm_hw_params_get_access_mask ();
14662 return 0;
14664 _ACEOF
14665 if ac_fn_c_try_link "$LINENO"; then :
14666 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14667 else
14668 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext conftest.$ac_ext
14672 LIBS=$ac_check_lib_save_LIBS
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14675 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14676 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14679 #include <alsa/asoundlib.h>
14681 main ()
14683 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14685 return 0;
14687 _ACEOF
14688 if ac_fn_c_try_compile "$LINENO"; then :
14689 ALSA_LIBS="-lasound"
14691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14695 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14697 if test "x$with_oss" != xno
14698 then
14699 ac_save_CPPFLAGS="$CPPFLAGS"
14700 if test -f /etc/oss.conf
14701 then
14702 . /etc/oss.conf
14704 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14705 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14706 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14707 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14708 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14710 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14712 cat >>confdefs.h <<_ACEOF
14713 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14714 _ACEOF
14716 OSS4_CFLAGS="$ac_oss_incl"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14719 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14720 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_check_lib_save_LIBS=$LIBS
14724 LIBS="-lossaudio $LIBS"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14728 /* Override any GCC internal prototype to avoid an error.
14729 Use char because int might match the return type of a GCC
14730 builtin and then its argument prototype would still apply. */
14731 #ifdef __cplusplus
14732 extern "C"
14733 #endif
14734 char _oss_ioctl ();
14736 main ()
14738 return _oss_ioctl ();
14740 return 0;
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 ac_cv_lib_ossaudio__oss_ioctl=yes
14745 else
14746 ac_cv_lib_ossaudio__oss_ioctl=no
14748 rm -f core conftest.err conftest.$ac_objext \
14749 conftest$ac_exeext conftest.$ac_ext
14750 LIBS=$ac_check_lib_save_LIBS
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14753 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14754 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14755 OSS4_LIBS="-lossaudio"
14764 CPPFLAGS="$ac_save_CPPFLAGS"
14766 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14767 case "x$with_oss" in
14768 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14769 xno) ;;
14770 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14771 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14772 esac
14773 enable_wineoss_drv=${enable_wineoss_drv:-no}
14776 if test "x$with_udev" != "xno"
14777 then
14778 if ${UDEV_CFLAGS:+false} :; then :
14779 if ${PKG_CONFIG+:} false; then :
14780 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14784 if ${UDEV_LIBS:+false} :; then :
14785 if ${PKG_CONFIG+:} false; then :
14786 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14790 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14791 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14792 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14793 ac_save_CPPFLAGS=$CPPFLAGS
14794 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14795 for ac_header in libudev.h
14796 do :
14797 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14798 if test "x$ac_cv_header_libudev_h" = xyes; then :
14799 cat >>confdefs.h <<_ACEOF
14800 #define HAVE_LIBUDEV_H 1
14801 _ACEOF
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14803 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14804 if ${ac_cv_lib_udev_udev_new+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_check_lib_save_LIBS=$LIBS
14808 LIBS="-ludev $UDEV_LIBS $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 char udev_new ();
14820 main ()
14822 return udev_new ();
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_lib_udev_udev_new=yes
14829 else
14830 ac_cv_lib_udev_udev_new=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14837 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14838 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14840 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14842 else
14843 UDEV_LIBS=""
14846 else
14847 UDEV_LIBS=""
14850 done
14852 CPPFLAGS=$ac_save_CPPFLAGS
14853 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14854 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14857 if test "x$UDEV_LIBS" = "x"; then :
14858 case "x$with_udev" in
14859 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14860 xno) ;;
14861 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14862 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14863 esac
14867 if test "x$with_unwind" != xno
14868 then
14869 if ${UNWIND_CFLAGS:+false} :; then :
14870 if ${PKG_CONFIG+:} false; then :
14871 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14875 if ${UNWIND_LIBS:+false} :; then :
14876 if ${PKG_CONFIG+:} false; then :
14877 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14881 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14882 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14883 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14884 ac_save_CPPFLAGS=$CPPFLAGS
14885 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_getcontext" >&5
14887 $as_echo_n "checking for unw_getcontext... " >&6; }
14888 if ${wine_cv_have_unw_getcontext+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14893 #define UNW_LOCAL_ONLY
14894 #include <libunwind.h>
14896 main ()
14898 unw_context_t context; unw_getcontext( &context );
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 wine_cv_have_unw_getcontext="yes"
14905 else
14906 wine_cv_have_unw_getcontext="no"
14908 rm -f core conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_getcontext" >&5
14912 $as_echo "$wine_cv_have_unw_getcontext" >&6; }
14913 if test "$wine_cv_have_unw_getcontext" = no -a -n "$UNWIND_LIBS"
14914 then
14915 save_libs=$LIBS
14916 LIBS="$UNWIND_LIBS $LIBS"
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_getcontext in libunwind" >&5
14918 $as_echo_n "checking for unw_getcontext in libunwind... " >&6; }
14919 if ${wine_cv_have_libunwind_unw_getcontext+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #define UNW_LOCAL_ONLY
14925 #include <libunwind.h>
14927 main ()
14929 unw_context_t context; unw_getcontext( &context );
14931 return 0;
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 wine_cv_have_libunwind_unw_getcontext="yes"
14936 else
14937 wine_cv_have_libunwind_unw_getcontext="no"
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_getcontext" >&5
14943 $as_echo "$wine_cv_have_libunwind_unw_getcontext" >&6; }
14944 LIBS=$save_libs
14946 test "$wine_cv_have_libunwind_unw_getcontext" = yes || UNWIND_LIBS=""
14947 if test "x$wine_cv_have_unw_getcontext$wine_cv_have_libunwind_unw_getcontext" != xnono
14948 then
14950 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14953 CPPFLAGS=$ac_save_CPPFLAGS
14954 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14955 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14958 case $host in
14959 aarch64*|*-darwin*)
14960 if test "x$wine_cv_have_unw_getcontext$wine_cv_have_libunwind_unw_getcontext" != xnono; then :
14961 case "x$with_unwind" in
14962 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14963 xno) ;;
14964 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14965 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14966 esac
14968 fi ;;
14969 esac
14971 if test "x$with_sdl" != "xno"
14972 then
14973 if ${SDL2_CFLAGS:+false} :; then :
14974 if ${PKG_CONFIG+:} false; then :
14975 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14979 if ${SDL2_LIBS:+false} :; then :
14980 if ${PKG_CONFIG+:} false; then :
14981 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14985 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14986 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14987 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14988 ac_save_CPPFLAGS=$CPPFLAGS
14989 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14990 for ac_header in SDL2/SDL.h
14991 do :
14992 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14993 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14994 cat >>confdefs.h <<_ACEOF
14995 #define HAVE_SDL2_SDL_H 1
14996 _ACEOF
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14998 $as_echo_n "checking for -lSDL2... " >&6; }
14999 if ${ac_cv_lib_soname_SDL2+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_check_soname_save_LIBS=$LIBS
15003 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15010 #ifdef __cplusplus
15011 extern "C"
15012 #endif
15013 char SDL_Init ();
15015 main ()
15017 return SDL_Init ();
15019 return 0;
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"; then :
15023 case "$LIBEXT" in
15024 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15025 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'` ;;
15026 *) 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'`
15027 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15028 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15029 fi ;;
15030 esac
15031 else
15032 ac_cv_lib_soname_SDL2=
15034 rm -f core conftest.err conftest.$ac_objext \
15035 conftest$ac_exeext conftest.$ac_ext
15036 LIBS=$ac_check_soname_save_LIBS
15038 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15040 $as_echo "not found" >&6; }
15042 else
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15044 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15046 cat >>confdefs.h <<_ACEOF
15047 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15048 _ACEOF
15054 done
15056 CPPFLAGS=$ac_save_CPPFLAGS
15057 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15058 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15061 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15062 case "x$with_sdl" in
15063 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15064 xno) ;;
15065 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15066 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15067 esac
15071 if test "x$with_faudio" != "xno"
15072 then
15073 if ${FAUDIO_CFLAGS:+false} :; then :
15074 if ${PKG_CONFIG+:} false; then :
15075 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15079 if ${FAUDIO_LIBS:+false} :; then :
15080 if ${PKG_CONFIG+:} false; then :
15081 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15085 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15086 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15087 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15088 ac_save_CPPFLAGS=$CPPFLAGS
15089 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15090 for ac_header in FAudio.h
15091 do :
15092 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15093 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15094 cat >>confdefs.h <<_ACEOF
15095 #define HAVE_FAUDIO_H 1
15096 _ACEOF
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15098 $as_echo_n "checking for -lFAudio... " >&6; }
15099 if ${ac_cv_lib_soname_FAudio+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_check_soname_save_LIBS=$LIBS
15103 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15107 /* Override any GCC internal prototype to avoid an error.
15108 Use char because int might match the return type of a GCC
15109 builtin and then its argument prototype would still apply. */
15110 #ifdef __cplusplus
15111 extern "C"
15112 #endif
15113 char FAudioCreate ();
15115 main ()
15117 return FAudioCreate ();
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"; then :
15123 case "$LIBEXT" in
15124 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15125 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'` ;;
15126 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15127 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15128 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15129 fi ;;
15130 esac
15131 else
15132 ac_cv_lib_soname_FAudio=
15134 rm -f core conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 LIBS=$ac_check_soname_save_LIBS
15138 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15140 $as_echo "not found" >&6; }
15142 else
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15144 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15146 cat >>confdefs.h <<_ACEOF
15147 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15148 _ACEOF
15154 done
15156 ac_wine_check_funcs_save_LIBS="$LIBS"
15157 LIBS="$LIBS $FAUDIO_LIBS"
15158 for ac_func in FAudio_CommitOperationSet \
15159 F3DAudioInitialize8
15160 do :
15161 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15162 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15163 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15166 _ACEOF
15169 done
15171 LIBS="$ac_wine_check_funcs_save_LIBS"
15173 CPPFLAGS=$ac_save_CPPFLAGS
15174 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15175 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15178 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15179 case "x$with_faudio" in
15180 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15181 xno) ;;
15182 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15183 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15184 esac
15188 if test "x$with_capi" != "xno"
15189 then
15190 if ${CAPI20_CFLAGS:+false} :; then :
15191 if ${PKG_CONFIG+:} false; then :
15192 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15196 if ${CAPI20_LIBS:+false} :; then :
15197 if ${PKG_CONFIG+:} false; then :
15198 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15203 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15204 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15205 ac_save_CPPFLAGS=$CPPFLAGS
15206 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15207 for ac_header in capi20.h linux/capi.h
15208 do :
15209 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15210 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15213 cat >>confdefs.h <<_ACEOF
15214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15215 _ACEOF
15219 done
15221 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15222 then
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15224 $as_echo_n "checking for -lcapi20... " >&6; }
15225 if ${ac_cv_lib_soname_capi20+:} false; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15228 ac_check_soname_save_LIBS=$LIBS
15229 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15233 /* Override any GCC internal prototype to avoid an error.
15234 Use char because int might match the return type of a GCC
15235 builtin and then its argument prototype would still apply. */
15236 #ifdef __cplusplus
15237 extern "C"
15238 #endif
15239 char capi20_register ();
15241 main ()
15243 return capi20_register ();
15245 return 0;
15247 _ACEOF
15248 if ac_fn_c_try_link "$LINENO"; then :
15249 case "$LIBEXT" in
15250 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15251 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'` ;;
15252 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15253 if ${ac_cv_lib_soname_capi20:+false} :; then :
15254 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15255 fi ;;
15256 esac
15257 else
15258 ac_cv_lib_soname_capi20=
15260 rm -f core conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_check_soname_save_LIBS
15264 if ${ac_cv_lib_soname_capi20:+false} :; then :
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15266 $as_echo "not found" >&6; }
15268 else
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15270 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15272 cat >>confdefs.h <<_ACEOF
15273 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15274 _ACEOF
15279 CPPFLAGS=$ac_save_CPPFLAGS
15280 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15281 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15284 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15285 case "x$with_capi" in
15286 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15287 xno) ;;
15288 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15289 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15290 esac
15294 if test "x$with_cups" != "xno"
15295 then
15296 if ${CUPS_CFLAGS:+false} :; then :
15297 if ${PKG_CONFIG+:} false; then :
15298 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15301 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15302 if ${CUPS_LIBS:+false} :; then :
15303 if ${PKG_CONFIG+:} false; then :
15304 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15307 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15308 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15309 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15310 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15311 ac_save_CPPFLAGS=$CPPFLAGS
15312 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15313 for ac_header in cups/cups.h cups/ppd.h
15314 do :
15315 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15316 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15318 cat >>confdefs.h <<_ACEOF
15319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15320 _ACEOF
15324 done
15326 if test "$ac_cv_header_cups_cups_h" = "yes"
15327 then
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15329 $as_echo_n "checking for -lcups... " >&6; }
15330 if ${ac_cv_lib_soname_cups+:} false; then :
15331 $as_echo_n "(cached) " >&6
15332 else
15333 ac_check_soname_save_LIBS=$LIBS
15334 LIBS="-lcups $CUPS_LIBS $LIBS"
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15338 /* Override any GCC internal prototype to avoid an error.
15339 Use char because int might match the return type of a GCC
15340 builtin and then its argument prototype would still apply. */
15341 #ifdef __cplusplus
15342 extern "C"
15343 #endif
15344 char cupsGetDefault ();
15346 main ()
15348 return cupsGetDefault ();
15350 return 0;
15352 _ACEOF
15353 if ac_fn_c_try_link "$LINENO"; then :
15354 case "$LIBEXT" in
15355 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15356 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'` ;;
15357 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15358 if ${ac_cv_lib_soname_cups:+false} :; then :
15359 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15360 fi ;;
15361 esac
15362 else
15363 ac_cv_lib_soname_cups=
15365 rm -f core conftest.err conftest.$ac_objext \
15366 conftest$ac_exeext conftest.$ac_ext
15367 LIBS=$ac_check_soname_save_LIBS
15369 if ${ac_cv_lib_soname_cups:+false} :; then :
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15371 $as_echo "not found" >&6; }
15372 CUPS_LIBS=""
15373 else
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15375 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15377 cat >>confdefs.h <<_ACEOF
15378 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15379 _ACEOF
15383 else
15384 CUPS_CFLAGS=""
15385 CUPS_LIBS=""
15387 CPPFLAGS=$ac_save_CPPFLAGS
15388 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15389 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15392 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15393 case "x$with_cups" in
15394 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15395 xno) ;;
15396 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15397 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15398 esac
15402 if test "x$with_fontconfig" != "xno"
15403 then
15404 if ${FONTCONFIG_CFLAGS:+false} :; then :
15405 if ${PKG_CONFIG+:} false; then :
15406 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15409 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15410 if ${FONTCONFIG_LIBS:+false} :; then :
15411 if ${PKG_CONFIG+:} false; then :
15412 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15415 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15417 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15418 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15419 ac_save_CPPFLAGS=$CPPFLAGS
15420 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15421 for ac_header in fontconfig/fontconfig.h
15422 do :
15423 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15424 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15427 _ACEOF
15431 done
15433 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15434 then
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15436 $as_echo_n "checking for -lfontconfig... " >&6; }
15437 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15438 $as_echo_n "(cached) " >&6
15439 else
15440 ac_check_soname_save_LIBS=$LIBS
15441 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15445 /* Override any GCC internal prototype to avoid an error.
15446 Use char because int might match the return type of a GCC
15447 builtin and then its argument prototype would still apply. */
15448 #ifdef __cplusplus
15449 extern "C"
15450 #endif
15451 char FcInit ();
15453 main ()
15455 return FcInit ();
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_link "$LINENO"; then :
15461 case "$LIBEXT" in
15462 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15463 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'` ;;
15464 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15465 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15466 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15467 fi ;;
15468 esac
15469 else
15470 ac_cv_lib_soname_fontconfig=
15472 rm -f core conftest.err conftest.$ac_objext \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_soname_save_LIBS
15476 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15478 $as_echo "not found" >&6; }
15479 FONTCONFIG_CFLAGS=""
15480 else
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15482 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15484 cat >>confdefs.h <<_ACEOF
15485 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15486 _ACEOF
15490 else
15491 FONTCONFIG_CFLAGS=""
15493 CPPFLAGS=$ac_save_CPPFLAGS
15494 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15495 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15498 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15499 case "x$with_fontconfig" in
15500 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15501 xno) ;;
15502 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15503 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15504 esac
15508 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15509 then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15511 $as_echo_n "checking for -lgsm... " >&6; }
15512 if ${ac_cv_lib_soname_gsm+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-lgsm $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char gsm_create ();
15528 main ()
15530 return gsm_create ();
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 case "$LIBEXT" in
15537 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15538 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'` ;;
15539 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15540 if ${ac_cv_lib_soname_gsm:+false} :; then :
15541 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15542 fi ;;
15543 esac
15544 else
15545 ac_cv_lib_soname_gsm=
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext conftest.$ac_ext
15549 LIBS=$ac_check_soname_save_LIBS
15551 if ${ac_cv_lib_soname_gsm:+false} :; then :
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 $as_echo "not found" >&6; }
15555 else
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15557 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15559 cat >>confdefs.h <<_ACEOF
15560 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15561 _ACEOF
15566 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15567 case "x$with_gsm" in
15568 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15569 xno) ;;
15570 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15571 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15572 esac
15576 if test "x$with_krb5" != "xno"
15577 then
15578 if ${KRB5_CFLAGS:+false} :; then :
15579 if ${PKG_CONFIG+:} false; then :
15580 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15583 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15584 if ${KRB5_LIBS:+false} :; then :
15585 if ${PKG_CONFIG+:} false; then :
15586 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15589 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15591 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15592 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15593 ac_save_CPPFLAGS=$CPPFLAGS
15594 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15595 for ac_header in krb5/krb5.h
15596 do :
15597 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15598 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_KRB5_KRB5_H 1
15601 _ACEOF
15605 done
15607 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15608 then
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15610 $as_echo_n "checking for -lkrb5... " >&6; }
15611 if ${ac_cv_lib_soname_krb5+:} false; then :
15612 $as_echo_n "(cached) " >&6
15613 else
15614 ac_check_soname_save_LIBS=$LIBS
15615 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15617 /* end confdefs.h. */
15619 /* Override any GCC internal prototype to avoid an error.
15620 Use char because int might match the return type of a GCC
15621 builtin and then its argument prototype would still apply. */
15622 #ifdef __cplusplus
15623 extern "C"
15624 #endif
15625 char krb5_is_config_principal ();
15627 main ()
15629 return krb5_is_config_principal ();
15631 return 0;
15633 _ACEOF
15634 if ac_fn_c_try_link "$LINENO"; then :
15635 case "$LIBEXT" in
15636 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15637 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'` ;;
15638 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15639 if ${ac_cv_lib_soname_krb5:+false} :; then :
15640 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15641 fi ;;
15642 esac
15643 else
15644 ac_cv_lib_soname_krb5=
15646 rm -f core conftest.err conftest.$ac_objext \
15647 conftest$ac_exeext conftest.$ac_ext
15648 LIBS=$ac_check_soname_save_LIBS
15650 if ${ac_cv_lib_soname_krb5:+false} :; then :
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15652 $as_echo "not found" >&6; }
15653 KRB5_CFLAGS=""
15654 else
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15656 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15658 cat >>confdefs.h <<_ACEOF
15659 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15660 _ACEOF
15664 else
15665 KRB5_CFLAGS=""
15667 CPPFLAGS=$ac_save_CPPFLAGS
15668 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15669 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15671 else
15672 with_gssapi=${with_gssapi:-no}
15674 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15675 case "x$with_krb5" in
15676 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15677 xno) ;;
15678 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15679 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15680 esac
15684 if test "x$with_gssapi" != "xno"
15685 then
15686 if ${GSSAPI_CFLAGS:+false} :; then :
15687 if ${PKG_CONFIG+:} false; then :
15688 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15691 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15692 if ${GSSAPI_LIBS:+false} :; then :
15693 if ${PKG_CONFIG+:} false; then :
15694 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15697 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15699 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15700 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15701 ac_save_CPPFLAGS=$CPPFLAGS
15702 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15703 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15704 do :
15705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15710 _ACEOF
15714 done
15716 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15717 then
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15719 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15720 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15721 $as_echo_n "(cached) " >&6
15722 else
15723 ac_check_soname_save_LIBS=$LIBS
15724 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15731 #ifdef __cplusplus
15732 extern "C"
15733 #endif
15734 char gss_init_sec_context ();
15736 main ()
15738 return gss_init_sec_context ();
15740 return 0;
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 case "$LIBEXT" in
15745 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15746 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'` ;;
15747 *) 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'`
15748 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15749 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15750 fi ;;
15751 esac
15752 else
15753 ac_cv_lib_soname_gssapi_krb5=
15755 rm -f core conftest.err conftest.$ac_objext \
15756 conftest$ac_exeext conftest.$ac_ext
15757 LIBS=$ac_check_soname_save_LIBS
15759 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15761 $as_echo "not found" >&6; }
15762 GSSAPI_CFLAGS=""
15763 else
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15765 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15767 cat >>confdefs.h <<_ACEOF
15768 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15769 _ACEOF
15773 else
15774 GSSAPI_CFLAGS=""
15776 CPPFLAGS=$ac_save_CPPFLAGS
15777 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15778 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15781 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15782 case "x$with_gssapi" in
15783 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15784 xno) ;;
15785 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15786 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15787 esac
15791 if test "x$with_jpeg" != "xno"
15792 then
15793 if ${JPEG_CFLAGS:+false} :; then :
15794 if ${PKG_CONFIG+:} false; then :
15795 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15799 if ${JPEG_LIBS:+false} :; then :
15800 if ${PKG_CONFIG+:} false; then :
15801 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15806 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15807 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15808 ac_save_CPPFLAGS=$CPPFLAGS
15809 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15810 for ac_header in jpeglib.h
15811 do :
15812 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15813 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define HAVE_JPEGLIB_H 1
15816 _ACEOF
15820 done
15822 if test "$ac_cv_header_jpeglib_h" = "yes"
15823 then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15825 $as_echo_n "checking for -ljpeg... " >&6; }
15826 if ${ac_cv_lib_soname_jpeg+:} false; then :
15827 $as_echo_n "(cached) " >&6
15828 else
15829 ac_check_soname_save_LIBS=$LIBS
15830 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15834 /* Override any GCC internal prototype to avoid an error.
15835 Use char because int might match the return type of a GCC
15836 builtin and then its argument prototype would still apply. */
15837 #ifdef __cplusplus
15838 extern "C"
15839 #endif
15840 char jpeg_start_decompress ();
15842 main ()
15844 return jpeg_start_decompress ();
15846 return 0;
15848 _ACEOF
15849 if ac_fn_c_try_link "$LINENO"; then :
15850 case "$LIBEXT" in
15851 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15852 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'` ;;
15853 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15854 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15855 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15856 fi ;;
15857 esac
15858 else
15859 ac_cv_lib_soname_jpeg=
15861 rm -f core conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15863 LIBS=$ac_check_soname_save_LIBS
15865 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15867 $as_echo "not found" >&6; }
15868 JPEG_CFLAGS=""
15869 else
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15871 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15873 cat >>confdefs.h <<_ACEOF
15874 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15875 _ACEOF
15879 else
15880 JPEG_CFLAGS=""
15882 CPPFLAGS=$ac_save_CPPFLAGS
15883 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15884 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15887 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15888 case "x$with_jpeg" in
15889 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15890 xno) ;;
15891 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15892 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15893 esac
15897 if test "x$with_png" != "xno"
15898 then
15899 if ${PNG_CFLAGS:+false} :; then :
15900 if ${PKG_CONFIG+:} false; then :
15901 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15904 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15905 if ${PNG_LIBS:+false} :; then :
15906 if ${PKG_CONFIG+:} false; then :
15907 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15910 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15912 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15913 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15914 ac_save_CPPFLAGS=$CPPFLAGS
15915 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15916 for ac_header in png.h
15917 do :
15918 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15919 if test "x$ac_cv_header_png_h" = xyes; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define HAVE_PNG_H 1
15922 _ACEOF
15926 done
15928 if test "$ac_cv_header_png_h" = "yes"
15929 then
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15931 $as_echo_n "checking for -lpng... " >&6; }
15932 if ${ac_cv_lib_soname_png+:} false; then :
15933 $as_echo_n "(cached) " >&6
15934 else
15935 ac_check_soname_save_LIBS=$LIBS
15936 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15940 /* Override any GCC internal prototype to avoid an error.
15941 Use char because int might match the return type of a GCC
15942 builtin and then its argument prototype would still apply. */
15943 #ifdef __cplusplus
15944 extern "C"
15945 #endif
15946 char png_create_read_struct ();
15948 main ()
15950 return png_create_read_struct ();
15952 return 0;
15954 _ACEOF
15955 if ac_fn_c_try_link "$LINENO"; then :
15956 case "$LIBEXT" in
15957 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15958 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'` ;;
15959 *) 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'`
15960 if ${ac_cv_lib_soname_png:+false} :; then :
15961 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15962 fi ;;
15963 esac
15964 else
15965 ac_cv_lib_soname_png=
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext conftest.$ac_ext
15969 LIBS=$ac_check_soname_save_LIBS
15971 if ${ac_cv_lib_soname_png:+false} :; then :
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15973 $as_echo "not found" >&6; }
15974 PNG_CFLAGS=""
15975 else
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15977 $as_echo "$ac_cv_lib_soname_png" >&6; }
15979 cat >>confdefs.h <<_ACEOF
15980 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15981 _ACEOF
15985 else
15986 PNG_CFLAGS=""
15988 CPPFLAGS=$ac_save_CPPFLAGS
15989 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15990 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15993 if test "x$ac_cv_lib_soname_png" = "x"; then :
15994 case "x$with_png" in
15995 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15996 xno) ;;
15997 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15998 This is an error since --with-png was requested." "$LINENO" 5 ;;
15999 esac
16003 if test "x$with_tiff" != "xno"
16004 then
16005 if ${TIFF_CFLAGS:+false} :; then :
16006 if ${PKG_CONFIG+:} false; then :
16007 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16011 if ${TIFF_LIBS:+false} :; then :
16012 if ${PKG_CONFIG+:} false; then :
16013 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16018 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16019 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16020 ac_save_CPPFLAGS=$CPPFLAGS
16021 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16022 for ac_header in tiffio.h
16023 do :
16024 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16025 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_TIFFIO_H 1
16028 _ACEOF
16032 done
16034 if test "$ac_cv_header_tiffio_h" = "yes"
16035 then
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16037 $as_echo_n "checking for -ltiff... " >&6; }
16038 if ${ac_cv_lib_soname_tiff+:} false; then :
16039 $as_echo_n "(cached) " >&6
16040 else
16041 ac_check_soname_save_LIBS=$LIBS
16042 LIBS="-ltiff $TIFF_LIBS $LIBS"
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16046 /* Override any GCC internal prototype to avoid an error.
16047 Use char because int might match the return type of a GCC
16048 builtin and then its argument prototype would still apply. */
16049 #ifdef __cplusplus
16050 extern "C"
16051 #endif
16052 char TIFFClientOpen ();
16054 main ()
16056 return TIFFClientOpen ();
16058 return 0;
16060 _ACEOF
16061 if ac_fn_c_try_link "$LINENO"; then :
16062 case "$LIBEXT" in
16063 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16064 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'` ;;
16065 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16066 if ${ac_cv_lib_soname_tiff:+false} :; then :
16067 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16068 fi ;;
16069 esac
16070 else
16071 ac_cv_lib_soname_tiff=
16073 rm -f core conftest.err conftest.$ac_objext \
16074 conftest$ac_exeext conftest.$ac_ext
16075 LIBS=$ac_check_soname_save_LIBS
16077 if ${ac_cv_lib_soname_tiff:+false} :; then :
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16079 $as_echo "not found" >&6; }
16081 else
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16083 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16085 cat >>confdefs.h <<_ACEOF
16086 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16087 _ACEOF
16092 CPPFLAGS=$ac_save_CPPFLAGS
16093 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16094 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16097 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16098 case "x$with_tiff" in
16099 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16100 xno) ;;
16101 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16102 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16103 esac
16107 if test "x$with_mpg123" != "xno"
16108 then
16109 if ${MPG123_CFLAGS:+false} :; then :
16110 if ${PKG_CONFIG+:} false; then :
16111 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16115 if ${MPG123_LIBS:+false} :; then :
16116 if ${PKG_CONFIG+:} false; then :
16117 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16121 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16122 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16123 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16124 ac_save_CPPFLAGS=$CPPFLAGS
16125 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16126 for ac_header in mpg123.h
16127 do :
16128 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16129 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_MPG123_H 1
16132 _ACEOF
16136 done
16138 if test "$ac_cv_header_mpg123_h" = "yes"
16139 then
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16141 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16142 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16143 $as_echo_n "(cached) " >&6
16144 else
16145 ac_check_lib_save_LIBS=$LIBS
16146 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 #ifdef __cplusplus
16154 extern "C"
16155 #endif
16156 char mpg123_feed ();
16158 main ()
16160 return mpg123_feed ();
16162 return 0;
16164 _ACEOF
16165 if ac_fn_c_try_link "$LINENO"; then :
16166 ac_cv_lib_mpg123_mpg123_feed=yes
16167 else
16168 ac_cv_lib_mpg123_mpg123_feed=no
16170 rm -f core conftest.err conftest.$ac_objext \
16171 conftest$ac_exeext conftest.$ac_ext
16172 LIBS=$ac_check_lib_save_LIBS
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16175 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16176 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16178 else
16179 MPG123_LIBS=""
16182 else
16183 MPG123_CFLAGS=""
16184 MPG123_LIBS=""
16186 CPPFLAGS=$ac_save_CPPFLAGS
16187 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16188 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16191 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16192 case "x$with_mpg123" in
16193 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16194 xno) ;;
16195 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16196 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16197 esac
16198 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16200 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16202 if test "$ac_cv_header_AL_al_h" = "yes"
16203 then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16205 $as_echo_n "checking for -lopenal... " >&6; }
16206 if ${ac_cv_lib_soname_openal+:} false; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 ac_check_soname_save_LIBS=$LIBS
16210 LIBS="-lopenal $LIBS"
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 /* Override any GCC internal prototype to avoid an error.
16215 Use char because int might match the return type of a GCC
16216 builtin and then its argument prototype would still apply. */
16217 #ifdef __cplusplus
16218 extern "C"
16219 #endif
16220 char alGetSource3i ();
16222 main ()
16224 return alGetSource3i ();
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_link "$LINENO"; then :
16230 case "$LIBEXT" in
16231 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16232 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'` ;;
16233 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16234 if ${ac_cv_lib_soname_openal:+false} :; then :
16235 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16236 fi ;;
16237 esac
16238 else
16239 ac_cv_lib_soname_openal=
16241 rm -f core conftest.err conftest.$ac_objext \
16242 conftest$ac_exeext conftest.$ac_ext
16243 LIBS=$ac_check_soname_save_LIBS
16245 if ${ac_cv_lib_soname_openal:+false} :; then :
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16247 $as_echo "not found" >&6; }
16249 else
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16251 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16253 cat >>confdefs.h <<_ACEOF
16254 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16255 _ACEOF
16257 OPENAL_LIBS="-lopenal"
16259 ac_cv_lib_openal=yes
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_OPENAL 1
16263 _ACEOF
16267 if test "x$ac_cv_lib_openal" != xyes; then :
16268 case "x$with_openal" in
16269 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16270 xno) ;;
16271 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16272 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16273 esac
16274 enable_openal32=${enable_openal32:-no}
16277 if test "x$ac_cv_lib_soname_FAudio" = "x"
16278 then
16279 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16280 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16281 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16282 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16283 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16284 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16285 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16286 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16287 enable_xapofx1_1=${enable_xapofx1_1:-no}
16288 enable_xapofx1_2=${enable_xapofx1_2:-no}
16289 enable_xapofx1_3=${enable_xapofx1_3:-no}
16290 enable_xapofx1_4=${enable_xapofx1_4:-no}
16291 enable_xapofx1_5=${enable_xapofx1_5:-no}
16292 enable_xaudio2_0=${enable_xaudio2_0:-no}
16293 enable_xaudio2_1=${enable_xaudio2_1:-no}
16294 enable_xaudio2_2=${enable_xaudio2_2:-no}
16295 enable_xaudio2_3=${enable_xaudio2_3:-no}
16296 enable_xaudio2_4=${enable_xaudio2_4:-no}
16297 enable_xaudio2_5=${enable_xaudio2_5:-no}
16298 enable_xaudio2_6=${enable_xaudio2_6:-no}
16299 enable_xaudio2_7=${enable_xaudio2_7:-no}
16300 enable_xaudio2_8=${enable_xaudio2_8:-no}
16301 enable_xaudio2_9=${enable_xaudio2_9:-no}
16304 if test "$ac_cv_header_kstat_h" = "yes"
16305 then
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16307 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16308 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16309 $as_echo_n "(cached) " >&6
16310 else
16311 ac_check_lib_save_LIBS=$LIBS
16312 LIBS="-lkstat $LIBS"
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16316 /* Override any GCC internal prototype to avoid an error.
16317 Use char because int might match the return type of a GCC
16318 builtin and then its argument prototype would still apply. */
16319 #ifdef __cplusplus
16320 extern "C"
16321 #endif
16322 char kstat_open ();
16324 main ()
16326 return kstat_open ();
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_link "$LINENO"; then :
16332 ac_cv_lib_kstat_kstat_open=yes
16333 else
16334 ac_cv_lib_kstat_kstat_open=no
16336 rm -f core conftest.err conftest.$ac_objext \
16337 conftest$ac_exeext conftest.$ac_ext
16338 LIBS=$ac_check_lib_save_LIBS
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16341 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16342 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16344 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16346 KSTAT_LIBS="-lkstat"
16352 if test "$ac_cv_header_libprocstat_h" = "yes"
16353 then
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16355 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16356 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 ac_check_lib_save_LIBS=$LIBS
16360 LIBS="-lprocstat $LIBS"
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16364 /* Override any GCC internal prototype to avoid an error.
16365 Use char because int might match the return type of a GCC
16366 builtin and then its argument prototype would still apply. */
16367 #ifdef __cplusplus
16368 extern "C"
16369 #endif
16370 char procstat_open_sysctl ();
16372 main ()
16374 return procstat_open_sysctl ();
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_link "$LINENO"; then :
16380 ac_cv_lib_procstat_procstat_open_sysctl=yes
16381 else
16382 ac_cv_lib_procstat_procstat_open_sysctl=no
16384 rm -f core conftest.err conftest.$ac_objext \
16385 conftest$ac_exeext conftest.$ac_ext
16386 LIBS=$ac_check_lib_save_LIBS
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16389 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16390 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16392 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16394 PROCSTAT_LIBS="-lprocstat"
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16401 $as_echo_n "checking for -lodbc... " >&6; }
16402 if ${ac_cv_lib_soname_odbc+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 ac_check_soname_save_LIBS=$LIBS
16406 LIBS="-lodbc $LIBS"
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16410 /* Override any GCC internal prototype to avoid an error.
16411 Use char because int might match the return type of a GCC
16412 builtin and then its argument prototype would still apply. */
16413 #ifdef __cplusplus
16414 extern "C"
16415 #endif
16416 char SQLConnect ();
16418 main ()
16420 return SQLConnect ();
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_link "$LINENO"; then :
16426 case "$LIBEXT" in
16427 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16428 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'` ;;
16429 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16430 if ${ac_cv_lib_soname_odbc:+false} :; then :
16431 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16432 fi ;;
16433 esac
16434 else
16435 ac_cv_lib_soname_odbc=
16437 rm -f core conftest.err conftest.$ac_objext \
16438 conftest$ac_exeext conftest.$ac_ext
16439 LIBS=$ac_check_soname_save_LIBS
16441 if ${ac_cv_lib_soname_odbc:+false} :; then :
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16443 $as_echo "not found" >&6; }
16444 cat >>confdefs.h <<_ACEOF
16445 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16446 _ACEOF
16448 else
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16450 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16452 cat >>confdefs.h <<_ACEOF
16453 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16454 _ACEOF
16459 if test "x$with_netapi" != "xno"
16460 then
16461 if ${NETAPI_CFLAGS:+false} :; then :
16462 if ${PKG_CONFIG+:} false; then :
16463 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16467 if ${NETAPI_LIBS:+false} :; then :
16468 if ${PKG_CONFIG+:} false; then :
16469 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16474 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16475 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16476 ac_save_CPPFLAGS=$CPPFLAGS
16477 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16479 $as_echo_n "checking for -lnetapi... " >&6; }
16480 if ${ac_cv_lib_soname_netapi+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 ac_check_soname_save_LIBS=$LIBS
16484 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16488 /* Override any GCC internal prototype to avoid an error.
16489 Use char because int might match the return type of a GCC
16490 builtin and then its argument prototype would still apply. */
16491 #ifdef __cplusplus
16492 extern "C"
16493 #endif
16494 char libnetapi_init ();
16496 main ()
16498 return libnetapi_init ();
16500 return 0;
16502 _ACEOF
16503 if ac_fn_c_try_link "$LINENO"; then :
16504 case "$LIBEXT" in
16505 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16506 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'` ;;
16507 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16508 if ${ac_cv_lib_soname_netapi:+false} :; then :
16509 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16510 fi ;;
16511 esac
16512 else
16513 ac_cv_lib_soname_netapi=
16515 rm -f core conftest.err conftest.$ac_objext \
16516 conftest$ac_exeext conftest.$ac_ext
16517 LIBS=$ac_check_soname_save_LIBS
16519 if ${ac_cv_lib_soname_netapi:+false} :; then :
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16521 $as_echo "not found" >&6; }
16522 cat >>confdefs.h <<_ACEOF
16523 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16524 _ACEOF
16526 else
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16528 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16530 cat >>confdefs.h <<_ACEOF
16531 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16532 _ACEOF
16536 CPPFLAGS=$ac_save_CPPFLAGS
16537 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16538 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16542 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16543 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16544 then
16545 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16548 if test "x$with_vulkan" != "xno"
16549 then
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16551 $as_echo_n "checking for -lvulkan... " >&6; }
16552 if ${ac_cv_lib_soname_vulkan+:} false; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16555 ac_check_soname_save_LIBS=$LIBS
16556 LIBS="-lvulkan $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 vkGetInstanceProcAddr ();
16568 main ()
16570 return vkGetInstanceProcAddr ();
16572 return 0;
16574 _ACEOF
16575 if ac_fn_c_try_link "$LINENO"; then :
16576 case "$LIBEXT" in
16577 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16578 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'` ;;
16579 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16580 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16581 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16582 fi ;;
16583 esac
16584 else
16585 ac_cv_lib_soname_vulkan=
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_vulkan:+false} :; then :
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16593 $as_echo "not found" >&6; }
16595 else
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16597 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16599 cat >>confdefs.h <<_ACEOF
16600 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16601 _ACEOF
16605 if test "x$ac_cv_lib_soname_vulkan" = "x"
16606 then
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16608 $as_echo_n "checking for -lMoltenVK... " >&6; }
16609 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16610 $as_echo_n "(cached) " >&6
16611 else
16612 ac_check_soname_save_LIBS=$LIBS
16613 LIBS="-lMoltenVK $LIBS"
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 #ifdef __cplusplus
16621 extern "C"
16622 #endif
16623 char vkGetInstanceProcAddr ();
16625 main ()
16627 return vkGetInstanceProcAddr ();
16629 return 0;
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"; then :
16633 case "$LIBEXT" in
16634 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16635 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'` ;;
16636 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16637 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16638 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16639 fi ;;
16640 esac
16641 else
16642 ac_cv_lib_soname_MoltenVK=
16644 rm -f core conftest.err conftest.$ac_objext \
16645 conftest$ac_exeext conftest.$ac_ext
16646 LIBS=$ac_check_soname_save_LIBS
16648 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16650 $as_echo "not found" >&6; }
16652 else
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16654 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16656 cat >>confdefs.h <<_ACEOF
16657 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16658 _ACEOF
16664 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16665 case "x$with_vulkan" in
16666 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16667 xno) ;;
16668 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16669 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16670 esac
16674 if test "x$with_vkd3d" != "xno"
16675 then
16676 if ${VKD3D_CFLAGS:+false} :; then :
16677 if ${PKG_CONFIG+:} false; then :
16678 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16682 if ${VKD3D_LIBS:+false} :; then :
16683 if ${PKG_CONFIG+:} false; then :
16684 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16689 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16690 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16691 ac_save_CPPFLAGS=$CPPFLAGS
16692 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16694 $as_echo_n "checking for -lvkd3d... " >&6; }
16695 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 ac_check_soname_save_LIBS=$LIBS
16699 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16703 /* Override any GCC internal prototype to avoid an error.
16704 Use char because int might match the return type of a GCC
16705 builtin and then its argument prototype would still apply. */
16706 #ifdef __cplusplus
16707 extern "C"
16708 #endif
16709 char vkd3d_get_dxgi_format ();
16711 main ()
16713 return vkd3d_get_dxgi_format ();
16715 return 0;
16717 _ACEOF
16718 if ac_fn_c_try_link "$LINENO"; then :
16719 case "$LIBEXT" in
16720 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16721 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'` ;;
16722 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16723 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16724 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16725 fi ;;
16726 esac
16727 else
16728 ac_cv_lib_soname_vkd3d=
16730 rm -f core conftest.err conftest.$ac_objext \
16731 conftest$ac_exeext conftest.$ac_ext
16732 LIBS=$ac_check_soname_save_LIBS
16734 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16736 $as_echo "not found" >&6; }
16738 else
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16740 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16742 cat >>confdefs.h <<_ACEOF
16743 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16744 _ACEOF
16748 CPPFLAGS=$ac_save_CPPFLAGS
16749 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16750 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16753 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16754 case "x$with_vkd3d" in
16755 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16756 xno) ;;
16757 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16758 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16759 esac
16762 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16765 EXTRACFLAGS=""
16767 if test "x${GCC}" = "xyes"
16768 then
16769 EXTRACFLAGS="-Wall -pipe"
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16772 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16773 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 if test "$cross_compiling" = yes; then :
16777 ac_cv_c_gcc_strength_bug="no"
16778 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16781 int L[4] = {0,1,2,3};
16783 main ()
16785 static int Array[3];
16786 unsigned int B = 3;
16787 int i;
16788 for(i=0; i<B; i++) Array[i] = i - 3;
16789 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16790 L[i] = 4;
16791 return (Array[1] != -2 || L[2] != 3)
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_run "$LINENO"; then :
16797 ac_cv_c_gcc_strength_bug="no"
16798 else
16799 ac_cv_c_gcc_strength_bug="yes"
16801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16802 conftest.$ac_objext conftest.beam conftest.$ac_ext
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16807 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16808 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16809 then
16810 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16814 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16815 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16816 $as_echo_n "(cached) " >&6
16817 else
16818 ac_wine_try_cflags_saved=$CFLAGS
16819 CFLAGS="$CFLAGS -fno-strict-aliasing"
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16822 int main(int argc, char **argv) { return 0; }
16823 _ACEOF
16824 if ac_fn_c_try_link "$LINENO"; then :
16825 ac_cv_cflags__fno_strict_aliasing=yes
16826 else
16827 ac_cv_cflags__fno_strict_aliasing=no
16829 rm -f core conftest.err conftest.$ac_objext \
16830 conftest$ac_exeext conftest.$ac_ext
16831 CFLAGS=$ac_wine_try_cflags_saved
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16834 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16835 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16836 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16839 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16840 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16841 $as_echo_n "(cached) " >&6
16842 else
16843 ac_wine_try_cflags_saved=$CFLAGS
16844 CFLAGS="$CFLAGS -fexcess-precision=standard"
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 int main(int argc, char **argv) { return 0; }
16848 _ACEOF
16849 if ac_fn_c_try_link "$LINENO"; then :
16850 ac_cv_cflags__fexcess_precision_standard=yes
16851 else
16852 ac_cv_cflags__fexcess_precision_standard=no
16854 rm -f core conftest.err conftest.$ac_objext \
16855 conftest$ac_exeext conftest.$ac_ext
16856 CFLAGS=$ac_wine_try_cflags_saved
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16859 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16860 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16861 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16864 saved_CFLAGS=$CFLAGS
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16866 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16867 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16868 $as_echo_n "(cached) " >&6
16869 else
16870 ac_wine_try_cflags_saved=$CFLAGS
16871 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16873 /* end confdefs.h. */
16874 int main(int argc, char **argv) { return 0; }
16875 _ACEOF
16876 if ac_fn_c_try_link "$LINENO"; then :
16877 ac_cv_cflags__Werror_unknown_warning_option=yes
16878 else
16879 ac_cv_cflags__Werror_unknown_warning_option=no
16881 rm -f core conftest.err conftest.$ac_objext \
16882 conftest$ac_exeext conftest.$ac_ext
16883 CFLAGS=$ac_wine_try_cflags_saved
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16886 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16887 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16888 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16891 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16892 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16893 $as_echo_n "(cached) " >&6
16894 else
16895 ac_wine_try_cflags_saved=$CFLAGS
16896 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 int main(int argc, char **argv) { return 0; }
16900 _ACEOF
16901 if ac_fn_c_try_link "$LINENO"; then :
16902 ac_cv_cflags__Werror_unused_command_line_argument=yes
16903 else
16904 ac_cv_cflags__Werror_unused_command_line_argument=no
16906 rm -f core conftest.err conftest.$ac_objext \
16907 conftest$ac_exeext conftest.$ac_ext
16908 CFLAGS=$ac_wine_try_cflags_saved
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16911 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16912 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16913 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16916 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16917 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 ac_wine_try_cflags_saved=$CFLAGS
16921 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 int main(int argc, char **argv) { return 0; }
16925 _ACEOF
16926 if ac_fn_c_try_link "$LINENO"; then :
16927 ac_cv_cflags__Wdeclaration_after_statement=yes
16928 else
16929 ac_cv_cflags__Wdeclaration_after_statement=no
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16933 CFLAGS=$ac_wine_try_cflags_saved
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16936 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16937 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16938 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16941 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16942 if ${ac_cv_cflags__Wempty_body+:} false; then :
16943 $as_echo_n "(cached) " >&6
16944 else
16945 ac_wine_try_cflags_saved=$CFLAGS
16946 CFLAGS="$CFLAGS -Wempty-body"
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 int main(int argc, char **argv) { return 0; }
16950 _ACEOF
16951 if ac_fn_c_try_link "$LINENO"; then :
16952 ac_cv_cflags__Wempty_body=yes
16953 else
16954 ac_cv_cflags__Wempty_body=no
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext conftest.$ac_ext
16958 CFLAGS=$ac_wine_try_cflags_saved
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16961 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16962 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16963 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16966 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16967 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 ac_wine_try_cflags_saved=$CFLAGS
16971 CFLAGS="$CFLAGS -Wignored-qualifiers"
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 int main(int argc, char **argv) { return 0; }
16975 _ACEOF
16976 if ac_fn_c_try_link "$LINENO"; then :
16977 ac_cv_cflags__Wignored_qualifiers=yes
16978 else
16979 ac_cv_cflags__Wignored_qualifiers=no
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16983 CFLAGS=$ac_wine_try_cflags_saved
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16986 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16987 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16988 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16991 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16992 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 ac_wine_try_cflags_saved=$CFLAGS
16996 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
16999 int main(int argc, char **argv) { return 0; }
17000 _ACEOF
17001 if ac_fn_c_try_link "$LINENO"; then :
17002 ac_cv_cflags__Wpacked_not_aligned=yes
17003 else
17004 ac_cv_cflags__Wpacked_not_aligned=no
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17008 CFLAGS=$ac_wine_try_cflags_saved
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17011 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17012 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17013 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17016 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17017 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17020 ac_wine_try_cflags_saved=$CFLAGS
17021 CFLAGS="$CFLAGS -Wpragma-pack"
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 int main(int argc, char **argv) { return 0; }
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027 ac_cv_cflags__Wpragma_pack=yes
17028 else
17029 ac_cv_cflags__Wpragma_pack=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17033 CFLAGS=$ac_wine_try_cflags_saved
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17036 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17037 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17038 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17041 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17042 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17043 $as_echo_n "(cached) " >&6
17044 else
17045 ac_wine_try_cflags_saved=$CFLAGS
17046 CFLAGS="$CFLAGS -Wshift-overflow=2"
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 int main(int argc, char **argv) { return 0; }
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"; then :
17052 ac_cv_cflags__Wshift_overflow_2=yes
17053 else
17054 ac_cv_cflags__Wshift_overflow_2=no
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17058 CFLAGS=$ac_wine_try_cflags_saved
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17061 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17062 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17063 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17066 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17067 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 ac_wine_try_cflags_saved=$CFLAGS
17071 CFLAGS="$CFLAGS -Wstrict-prototypes"
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 int main(int argc, char **argv) { return 0; }
17075 _ACEOF
17076 if ac_fn_c_try_link "$LINENO"; then :
17077 ac_cv_cflags__Wstrict_prototypes=yes
17078 else
17079 ac_cv_cflags__Wstrict_prototypes=no
17081 rm -f core conftest.err conftest.$ac_objext \
17082 conftest$ac_exeext conftest.$ac_ext
17083 CFLAGS=$ac_wine_try_cflags_saved
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17086 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17087 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17088 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17091 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17092 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17093 $as_echo_n "(cached) " >&6
17094 else
17095 ac_wine_try_cflags_saved=$CFLAGS
17096 CFLAGS="$CFLAGS -Wtype-limits"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17099 int main(int argc, char **argv) { return 0; }
17100 _ACEOF
17101 if ac_fn_c_try_link "$LINENO"; then :
17102 ac_cv_cflags__Wtype_limits=yes
17103 else
17104 ac_cv_cflags__Wtype_limits=no
17106 rm -f core conftest.err conftest.$ac_objext \
17107 conftest$ac_exeext conftest.$ac_ext
17108 CFLAGS=$ac_wine_try_cflags_saved
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17111 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17112 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17113 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17116 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17117 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 ac_wine_try_cflags_saved=$CFLAGS
17121 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 int main(int argc, char **argv) { return 0; }
17125 _ACEOF
17126 if ac_fn_c_try_link "$LINENO"; then :
17127 ac_cv_cflags__Wunused_but_set_parameter=yes
17128 else
17129 ac_cv_cflags__Wunused_but_set_parameter=no
17131 rm -f core conftest.err conftest.$ac_objext \
17132 conftest$ac_exeext conftest.$ac_ext
17133 CFLAGS=$ac_wine_try_cflags_saved
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17136 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17137 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17138 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17141 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17142 if ${ac_cv_cflags__Wvla+:} false; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17145 ac_wine_try_cflags_saved=$CFLAGS
17146 CFLAGS="$CFLAGS -Wvla"
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149 int main(int argc, char **argv) { return 0; }
17150 _ACEOF
17151 if ac_fn_c_try_link "$LINENO"; then :
17152 ac_cv_cflags__Wvla=yes
17153 else
17154 ac_cv_cflags__Wvla=no
17156 rm -f core conftest.err conftest.$ac_objext \
17157 conftest$ac_exeext conftest.$ac_ext
17158 CFLAGS=$ac_wine_try_cflags_saved
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17161 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17162 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17163 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17166 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17167 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170 ac_wine_try_cflags_saved=$CFLAGS
17171 CFLAGS="$CFLAGS -Wwrite-strings"
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 int main(int argc, char **argv) { return 0; }
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 ac_cv_cflags__Wwrite_strings=yes
17178 else
17179 ac_cv_cflags__Wwrite_strings=no
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17183 CFLAGS=$ac_wine_try_cflags_saved
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17186 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17187 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17188 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17192 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17193 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 ac_wine_try_cflags_saved=$CFLAGS
17197 CFLAGS="$CFLAGS -Wpointer-arith"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 int main(int argc, char **argv) { return 0; }
17201 _ACEOF
17202 if ac_fn_c_try_link "$LINENO"; then :
17203 ac_cv_cflags__Wpointer_arith=yes
17204 else
17205 ac_cv_cflags__Wpointer_arith=no
17207 rm -f core conftest.err conftest.$ac_objext \
17208 conftest$ac_exeext conftest.$ac_ext
17209 CFLAGS=$ac_wine_try_cflags_saved
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17212 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17213 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17214 saved_string_h_CFLAGS=$CFLAGS
17215 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17217 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17218 if ${ac_cv_c_string_h_warnings+:} false; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #include <string.h>
17225 main ()
17229 return 0;
17231 _ACEOF
17232 if ac_fn_c_try_compile "$LINENO"; then :
17233 ac_cv_c_string_h_warnings=no
17234 else
17235 ac_cv_c_string_h_warnings=yes
17237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17240 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17241 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17242 CFLAGS=$saved_string_h_CFLAGS
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17246 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17247 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Wlogical-op"
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__Wlogical_op=yes
17258 else
17259 ac_cv_cflags__Wlogical_op=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__Wlogical_op" >&5
17266 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17267 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17268 saved_string_h_CFLAGS=$CFLAGS
17269 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17271 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17272 if ${ac_cv_c_logicalop_noisy+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17277 #include <string.h>
17278 char*f(const char *h,char n) {return strchr(h,n);}
17280 main ()
17284 return 0;
17286 _ACEOF
17287 if ac_fn_c_try_compile "$LINENO"; then :
17288 ac_cv_c_logicalop_noisy=no
17289 else
17290 ac_cv_c_logicalop_noisy=yes
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17295 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17296 CFLAGS=$saved_string_h_CFLAGS
17297 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17300 for ac_flag in $CFLAGS; do
17301 case $ac_flag in
17302 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17303 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17304 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 ac_wine_try_cflags_saved=$CFLAGS
17308 CFLAGS="$CFLAGS -gdwarf-2"
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 int main(int argc, char **argv) { return 0; }
17312 _ACEOF
17313 if ac_fn_c_try_link "$LINENO"; then :
17314 ac_cv_cflags__gdwarf_2=yes
17315 else
17316 ac_cv_cflags__gdwarf_2=no
17318 rm -f core conftest.err conftest.$ac_objext \
17319 conftest$ac_exeext conftest.$ac_ext
17320 CFLAGS=$ac_wine_try_cflags_saved
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17323 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17324 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17325 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17328 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17329 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 ac_wine_try_cflags_saved=$CFLAGS
17333 CFLAGS="$CFLAGS -gstrict-dwarf"
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 int main(int argc, char **argv) { return 0; }
17337 _ACEOF
17338 if ac_fn_c_try_link "$LINENO"; then :
17339 ac_cv_cflags__gstrict_dwarf=yes
17340 else
17341 ac_cv_cflags__gstrict_dwarf=no
17343 rm -f core conftest.err conftest.$ac_objext \
17344 conftest$ac_exeext conftest.$ac_ext
17345 CFLAGS=$ac_wine_try_cflags_saved
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17348 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17349 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17350 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17351 fi ;;
17352 esac
17353 done
17355 MSVCRTFLAGS=""
17357 case $host_os in
17358 cygwin*|mingw32*) ;;
17359 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17360 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17361 if ${ac_cv_cflags__fno_builtin+:} false; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 ac_wine_try_cflags_saved=$CFLAGS
17365 CFLAGS="$CFLAGS -fno-builtin"
17366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 int main(int argc, char **argv) { return 0; }
17369 _ACEOF
17370 if ac_fn_c_try_link "$LINENO"; then :
17371 ac_cv_cflags__fno_builtin=yes
17372 else
17373 ac_cv_cflags__fno_builtin=no
17375 rm -f core conftest.err conftest.$ac_objext \
17376 conftest$ac_exeext conftest.$ac_ext
17377 CFLAGS=$ac_wine_try_cflags_saved
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17380 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17381 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17382 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17385 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17386 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 ac_wine_try_cflags_saved=$CFLAGS
17390 CFLAGS="$CFLAGS -fshort-wchar"
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17393 int main(int argc, char **argv) { return 0; }
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"; then :
17396 ac_cv_cflags__fshort_wchar=yes
17397 else
17398 ac_cv_cflags__fshort_wchar=no
17400 rm -f core conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17402 CFLAGS=$ac_wine_try_cflags_saved
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17405 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17406 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17407 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17408 fi ;;
17409 esac
17411 case $host_cpu in
17412 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17413 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17414 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17417 ac_wine_try_cflags_saved=$CFLAGS
17418 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17421 int main(int argc, char **argv) { return 0; }
17422 _ACEOF
17423 if ac_fn_c_try_link "$LINENO"; then :
17424 ac_cv_cflags__fno_omit_frame_pointer=yes
17425 else
17426 ac_cv_cflags__fno_omit_frame_pointer=no
17428 rm -f core conftest.err conftest.$ac_objext \
17429 conftest$ac_exeext conftest.$ac_ext
17430 CFLAGS=$ac_wine_try_cflags_saved
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17433 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17434 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17435 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17436 fi ;;
17437 *x86_64*)
17438 case $host_os in
17439 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17440 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17441 if ${ac_cv_cflags__Wno_format+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 ac_wine_try_cflags_saved=$CFLAGS
17445 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
17452 else
17453 ac_cv_cflags__Wno_format=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__Wno_format" >&5
17460 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17461 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17462 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17463 fi ;;
17464 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17465 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17466 if ${ac_cv_cflags__mabi_ms+:} false; then :
17467 $as_echo_n "(cached) " >&6
17468 else
17469 ac_wine_try_cflags_saved=$CFLAGS
17470 CFLAGS="$CFLAGS -mabi=ms"
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__mabi_ms=yes
17477 else
17478 ac_cv_cflags__mabi_ms=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__mabi_ms" >&5
17485 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17486 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17487 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17488 fi ;;
17489 esac ;;
17490 esac
17492 CFLAGS=$saved_CFLAGS
17494 if test "x$enable_maintainer_mode" = "xyes"
17495 then
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17497 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17498 if ${ac_cv_cflags__Werror+:} false; then :
17499 $as_echo_n "(cached) " >&6
17500 else
17501 ac_wine_try_cflags_saved=$CFLAGS
17502 CFLAGS="$CFLAGS -Werror"
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 int main(int argc, char **argv) { return 0; }
17506 _ACEOF
17507 if ac_fn_c_try_link "$LINENO"; then :
17508 ac_cv_cflags__Werror=yes
17509 else
17510 ac_cv_cflags__Werror=no
17512 rm -f core conftest.err conftest.$ac_objext \
17513 conftest$ac_exeext conftest.$ac_ext
17514 CFLAGS=$ac_wine_try_cflags_saved
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17517 $as_echo "$ac_cv_cflags__Werror" >&6; }
17518 if test "x$ac_cv_cflags__Werror" = xyes; then :
17519 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17526 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17527 if ${ac_cv_c_fortify_enabled+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #include <string.h>
17534 main ()
17536 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17537 #error Fortify enabled
17538 #endif
17540 return 0;
17542 _ACEOF
17543 if ac_fn_c_try_compile "$LINENO"; then :
17544 ac_cv_c_fortify_enabled=no
17545 else
17546 ac_cv_c_fortify_enabled=yes
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17551 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17552 if test "$ac_cv_c_fortify_enabled" = yes
17553 then
17554 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17559 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17560 if ${ac_cv_c_cfi_support+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17567 main ()
17571 return 0;
17573 _ACEOF
17574 if ac_fn_c_try_compile "$LINENO"; then :
17575 ac_cv_c_cfi_support="yes"
17576 else
17577 ac_cv_c_cfi_support="no"
17579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17582 $as_echo "$ac_cv_c_cfi_support" >&6; }
17583 if test "$ac_cv_c_cfi_support" = "yes"
17584 then
17585 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17586 else
17587 if test "x$enable_win64" = "xyes"
17588 then
17589 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17594 case $build_os in
17595 cygwin*|mingw32*) TOOLSEXT=".exe"
17597 esac
17599 case $host_os in
17600 linux*)
17601 case $host_cpu in
17602 *i[3456789]86*|x86_64*|*aarch64*)
17603 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17604 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17606 esac
17608 esac
17611 ac_save_CFLAGS="$CFLAGS"
17612 CFLAGS="$CFLAGS $BUILTINFLAG"
17613 for ac_func in \
17614 __res_get_state \
17615 __res_getservers \
17616 _spawnvp \
17617 dlopen \
17618 epoll_create \
17619 ffs \
17620 finitef \
17621 fnmatch \
17622 fork \
17623 fpclass \
17624 fstatfs \
17625 fstatvfs \
17626 futimens \
17627 futimes \
17628 futimesat \
17629 getattrlist \
17630 getauxval \
17631 getifaddrs \
17632 getopt_long_only \
17633 kqueue \
17634 lstat \
17635 pipe2 \
17636 poll \
17637 port_create \
17638 prctl \
17639 pread \
17640 proc_pidinfo \
17641 pwrite \
17642 readdir \
17643 readlink \
17644 sched_yield \
17645 select \
17646 setproctitle \
17647 setprogname \
17648 settimeofday \
17649 sigprocmask \
17650 statfs \
17651 statvfs \
17652 strnlen \
17653 strtold \
17654 symlink \
17655 sysinfo \
17656 tcdrain \
17657 thr_kill2 \
17658 timegm \
17659 usleep
17661 do :
17662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17665 cat >>confdefs.h <<_ACEOF
17666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17667 _ACEOF
17670 done
17672 CFLAGS="$ac_save_CFLAGS"
17674 if test "$ac_cv_func_dlopen" = no
17675 then
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17677 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17678 if ${ac_cv_lib_dl_dlopen+:} false; then :
17679 $as_echo_n "(cached) " >&6
17680 else
17681 ac_check_lib_save_LIBS=$LIBS
17682 LIBS="-ldl $LIBS"
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17686 /* Override any GCC internal prototype to avoid an error.
17687 Use char because int might match the return type of a GCC
17688 builtin and then its argument prototype would still apply. */
17689 #ifdef __cplusplus
17690 extern "C"
17691 #endif
17692 char dlopen ();
17694 main ()
17696 return dlopen ();
17698 return 0;
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702 ac_cv_lib_dl_dlopen=yes
17703 else
17704 ac_cv_lib_dl_dlopen=no
17706 rm -f core conftest.err conftest.$ac_objext \
17707 conftest$ac_exeext conftest.$ac_ext
17708 LIBS=$ac_check_lib_save_LIBS
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17711 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17712 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17713 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17714 DL_LIBS="-ldl"
17719 ac_wine_check_funcs_save_LIBS="$LIBS"
17720 LIBS="$LIBS $DL_LIBS"
17721 for ac_func in dladdr
17722 do :
17723 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17724 if test "x$ac_cv_func_dladdr" = xyes; then :
17725 cat >>confdefs.h <<_ACEOF
17726 #define HAVE_DLADDR 1
17727 _ACEOF
17730 done
17732 LIBS="$ac_wine_check_funcs_save_LIBS"
17734 if test "$ac_cv_func_poll" = no
17735 then
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17737 $as_echo_n "checking for poll in -lpoll... " >&6; }
17738 if ${ac_cv_lib_poll_poll+:} false; then :
17739 $as_echo_n "(cached) " >&6
17740 else
17741 ac_check_lib_save_LIBS=$LIBS
17742 LIBS="-lpoll $LIBS"
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 /* Override any GCC internal prototype to avoid an error.
17747 Use char because int might match the return type of a GCC
17748 builtin and then its argument prototype would still apply. */
17749 #ifdef __cplusplus
17750 extern "C"
17751 #endif
17752 char poll ();
17754 main ()
17756 return poll ();
17758 return 0;
17760 _ACEOF
17761 if ac_fn_c_try_link "$LINENO"; then :
17762 ac_cv_lib_poll_poll=yes
17763 else
17764 ac_cv_lib_poll_poll=no
17766 rm -f core conftest.err conftest.$ac_objext \
17767 conftest$ac_exeext conftest.$ac_ext
17768 LIBS=$ac_check_lib_save_LIBS
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17771 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17772 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17773 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17774 POLL_LIBS="-lpoll"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17781 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17782 if ${ac_cv_search_gethostbyname+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 ac_func_search_save_LIBS=$LIBS
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17792 #ifdef __cplusplus
17793 extern "C"
17794 #endif
17795 char gethostbyname ();
17797 main ()
17799 return gethostbyname ();
17801 return 0;
17803 _ACEOF
17804 for ac_lib in '' nsl; do
17805 if test -z "$ac_lib"; then
17806 ac_res="none required"
17807 else
17808 ac_res=-l$ac_lib
17809 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17811 if ac_fn_c_try_link "$LINENO"; then :
17812 ac_cv_search_gethostbyname=$ac_res
17814 rm -f core conftest.err conftest.$ac_objext \
17815 conftest$ac_exeext
17816 if ${ac_cv_search_gethostbyname+:} false; then :
17817 break
17819 done
17820 if ${ac_cv_search_gethostbyname+:} false; then :
17822 else
17823 ac_cv_search_gethostbyname=no
17825 rm conftest.$ac_ext
17826 LIBS=$ac_func_search_save_LIBS
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17829 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17830 ac_res=$ac_cv_search_gethostbyname
17831 if test "$ac_res" != no; then :
17832 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17838 $as_echo_n "checking for library containing connect... " >&6; }
17839 if ${ac_cv_search_connect+:} false; then :
17840 $as_echo_n "(cached) " >&6
17841 else
17842 ac_func_search_save_LIBS=$LIBS
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17846 /* Override any GCC internal prototype to avoid an error.
17847 Use char because int might match the return type of a GCC
17848 builtin and then its argument prototype would still apply. */
17849 #ifdef __cplusplus
17850 extern "C"
17851 #endif
17852 char connect ();
17854 main ()
17856 return connect ();
17858 return 0;
17860 _ACEOF
17861 for ac_lib in '' socket; do
17862 if test -z "$ac_lib"; then
17863 ac_res="none required"
17864 else
17865 ac_res=-l$ac_lib
17866 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17868 if ac_fn_c_try_link "$LINENO"; then :
17869 ac_cv_search_connect=$ac_res
17871 rm -f core conftest.err conftest.$ac_objext \
17872 conftest$ac_exeext
17873 if ${ac_cv_search_connect+:} false; then :
17874 break
17876 done
17877 if ${ac_cv_search_connect+:} false; then :
17879 else
17880 ac_cv_search_connect=no
17882 rm conftest.$ac_ext
17883 LIBS=$ac_func_search_save_LIBS
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17886 $as_echo "$ac_cv_search_connect" >&6; }
17887 ac_res=$ac_cv_search_connect
17888 if test "$ac_res" != no; then :
17889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17895 $as_echo_n "checking for library containing inet_aton... " >&6; }
17896 if ${ac_cv_search_inet_aton+:} false; then :
17897 $as_echo_n "(cached) " >&6
17898 else
17899 ac_func_search_save_LIBS=$LIBS
17900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17901 /* end confdefs.h. */
17903 /* Override any GCC internal prototype to avoid an error.
17904 Use char because int might match the return type of a GCC
17905 builtin and then its argument prototype would still apply. */
17906 #ifdef __cplusplus
17907 extern "C"
17908 #endif
17909 char inet_aton ();
17911 main ()
17913 return inet_aton ();
17915 return 0;
17917 _ACEOF
17918 for ac_lib in '' resolv; do
17919 if test -z "$ac_lib"; then
17920 ac_res="none required"
17921 else
17922 ac_res=-l$ac_lib
17923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17925 if ac_fn_c_try_link "$LINENO"; then :
17926 ac_cv_search_inet_aton=$ac_res
17928 rm -f core conftest.err conftest.$ac_objext \
17929 conftest$ac_exeext
17930 if ${ac_cv_search_inet_aton+:} false; then :
17931 break
17933 done
17934 if ${ac_cv_search_inet_aton+:} false; then :
17936 else
17937 ac_cv_search_inet_aton=no
17939 rm conftest.$ac_ext
17940 LIBS=$ac_func_search_save_LIBS
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17943 $as_echo "$ac_cv_search_inet_aton" >&6; }
17944 ac_res=$ac_cv_search_inet_aton
17945 if test "$ac_res" != no; then :
17946 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17951 for ac_func in \
17952 getaddrinfo \
17953 getnameinfo \
17954 getnetbyname \
17955 getprotobyname \
17956 getprotobynumber \
17957 getservbyport \
17958 inet_addr \
17959 inet_network \
17960 inet_ntop \
17961 inet_pton \
17963 do :
17964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17966 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17967 cat >>confdefs.h <<_ACEOF
17968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17969 _ACEOF
17972 done
17975 case $host_os in
17976 darwin*|macosx*) ;;
17977 *) ac_save_LIBS=$LIBS
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17979 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17980 if ${ac_cv_search_clock_gettime+:} false; then :
17981 $as_echo_n "(cached) " >&6
17982 else
17983 ac_func_search_save_LIBS=$LIBS
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17990 #ifdef __cplusplus
17991 extern "C"
17992 #endif
17993 char clock_gettime ();
17995 main ()
17997 return clock_gettime ();
17999 return 0;
18001 _ACEOF
18002 for ac_lib in '' rt; do
18003 if test -z "$ac_lib"; then
18004 ac_res="none required"
18005 else
18006 ac_res=-l$ac_lib
18007 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18009 if ac_fn_c_try_link "$LINENO"; then :
18010 ac_cv_search_clock_gettime=$ac_res
18012 rm -f core conftest.err conftest.$ac_objext \
18013 conftest$ac_exeext
18014 if ${ac_cv_search_clock_gettime+:} false; then :
18015 break
18017 done
18018 if ${ac_cv_search_clock_gettime+:} false; then :
18020 else
18021 ac_cv_search_clock_gettime=no
18023 rm conftest.$ac_ext
18024 LIBS=$ac_func_search_save_LIBS
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18027 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18028 ac_res=$ac_cv_search_clock_gettime
18029 if test "$ac_res" != no; then :
18030 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18032 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18034 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18038 LIBS=$ac_save_LIBS
18040 esac
18042 if test "x$with_ldap" != "xno"
18043 then
18044 if ${LDAP_CFLAGS:+false} :; then :
18045 if ${PKG_CONFIG+:} false; then :
18046 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18050 if ${LDAP_LIBS:+false} :; then :
18051 if ${PKG_CONFIG+:} false; then :
18052 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18056 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18057 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18058 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18059 ac_save_CPPFLAGS=$CPPFLAGS
18060 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18061 for ac_header in ldap.h lber.h
18062 do :
18063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18068 _ACEOF
18072 done
18074 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18075 then
18076 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18078 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18080 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18081 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084 ac_check_lib_save_LIBS=$LIBS
18085 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18089 /* Override any GCC internal prototype to avoid an error.
18090 Use char because int might match the return type of a GCC
18091 builtin and then its argument prototype would still apply. */
18092 #ifdef __cplusplus
18093 extern "C"
18094 #endif
18095 char ldap_initialize ();
18097 main ()
18099 return ldap_initialize ();
18101 return 0;
18103 _ACEOF
18104 if ac_fn_c_try_link "$LINENO"; then :
18105 ac_cv_lib_ldap_r_ldap_initialize=yes
18106 else
18107 ac_cv_lib_ldap_r_ldap_initialize=no
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18111 LIBS=$ac_check_lib_save_LIBS
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18114 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18115 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18117 $as_echo_n "checking for ber_init in -llber... " >&6; }
18118 if ${ac_cv_lib_lber_ber_init+:} false; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18121 ac_check_lib_save_LIBS=$LIBS
18122 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18126 /* Override any GCC internal prototype to avoid an error.
18127 Use char because int might match the return type of a GCC
18128 builtin and then its argument prototype would still apply. */
18129 #ifdef __cplusplus
18130 extern "C"
18131 #endif
18132 char ber_init ();
18134 main ()
18136 return ber_init ();
18138 return 0;
18140 _ACEOF
18141 if ac_fn_c_try_link "$LINENO"; then :
18142 ac_cv_lib_lber_ber_init=yes
18143 else
18144 ac_cv_lib_lber_ber_init=no
18146 rm -f core conftest.err conftest.$ac_objext \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18151 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18152 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18154 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18156 else
18157 LDAP_LIBS=""
18160 else
18161 LDAP_LIBS=""
18164 else
18165 LDAP_LIBS=""
18168 ac_wine_check_funcs_save_LIBS="$LIBS"
18169 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18170 for ac_func in \
18171 ldap_count_references \
18172 ldap_first_reference \
18173 ldap_next_reference \
18174 ldap_parse_reference \
18175 ldap_parse_sort_control \
18176 ldap_parse_sortresponse_control \
18177 ldap_parse_vlv_control \
18178 ldap_parse_vlvresponse_control
18179 do :
18180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18183 cat >>confdefs.h <<_ACEOF
18184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18185 _ACEOF
18188 done
18190 LIBS="$ac_wine_check_funcs_save_LIBS"
18191 else
18192 LDAP_LIBS=""
18194 CPPFLAGS=$ac_save_CPPFLAGS
18195 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18196 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18199 if test "x$LDAP_LIBS" = "x"; then :
18200 case "x$with_ldap" in
18201 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18202 xno) ;;
18203 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18204 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18205 esac
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18210 $as_echo_n "checking for sched_setaffinity... " >&6; }
18211 if ${wine_cv_have_sched_setaffinity+:} false; then :
18212 $as_echo_n "(cached) " >&6
18213 else
18214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215 /* end confdefs.h. */
18216 #define _GNU_SOURCE
18217 #include <sched.h>
18219 main ()
18221 sched_setaffinity(0, 0, 0);
18223 return 0;
18225 _ACEOF
18226 if ac_fn_c_try_link "$LINENO"; then :
18227 wine_cv_have_sched_setaffinity=yes
18228 else
18229 wine_cv_have_sched_setaffinity=no
18231 rm -f core conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext conftest.$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18235 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18236 if test "$wine_cv_have_sched_setaffinity" = "yes"
18237 then
18239 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18244 $as_echo_n "checking for fallocate... " >&6; }
18245 if ${wine_cv_have_fallocate+:} false; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18250 #define _GNU_SOURCE
18251 #include <fcntl.h>
18253 main ()
18255 fallocate(-1, 0, 0, 0);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"; then :
18261 wine_cv_have_fallocate=yes
18262 else
18263 wine_cv_have_fallocate=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18269 $as_echo "$wine_cv_have_fallocate" >&6; }
18270 if test "$wine_cv_have_fallocate" = "yes"
18271 then
18273 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18279 $as_echo_n "checking for inline... " >&6; }
18280 if ${ac_cv_c_inline+:} false; then :
18281 $as_echo_n "(cached) " >&6
18282 else
18283 ac_cv_c_inline=no
18284 for ac_kw in inline __inline__ __inline; do
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #ifndef __cplusplus
18288 typedef int foo_t;
18289 static $ac_kw foo_t static_foo () {return 0; }
18290 $ac_kw foo_t foo () {return 0; }
18291 #endif
18293 _ACEOF
18294 if ac_fn_c_try_compile "$LINENO"; then :
18295 ac_cv_c_inline=$ac_kw
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18298 test "$ac_cv_c_inline" != no && break
18299 done
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18303 $as_echo "$ac_cv_c_inline" >&6; }
18305 case $ac_cv_c_inline in
18306 inline | yes) ;;
18308 case $ac_cv_c_inline in
18309 no) ac_val=;;
18310 *) ac_val=$ac_cv_c_inline;;
18311 esac
18312 cat >>confdefs.h <<_ACEOF
18313 #ifndef __cplusplus
18314 #define inline $ac_val
18315 #endif
18316 _ACEOF
18318 esac
18320 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18321 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18323 cat >>confdefs.h <<_ACEOF
18324 #define HAVE_FSBLKCNT_T 1
18325 _ACEOF
18329 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18330 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18332 cat >>confdefs.h <<_ACEOF
18333 #define HAVE_FSFILCNT_T 1
18334 _ACEOF
18339 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18340 #include <signal.h>
18342 if test "x$ac_cv_type_sigset_t" = xyes; then :
18344 cat >>confdefs.h <<_ACEOF
18345 #define HAVE_SIGSET_T 1
18346 _ACEOF
18351 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18353 if test "x$ac_cv_type_request_sense" = xyes; then :
18355 cat >>confdefs.h <<_ACEOF
18356 #define HAVE_REQUEST_SENSE 1
18357 _ACEOF
18363 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18364 #ifdef HAVE_SYS_SOCKET_H
18365 #include <sys/socket.h>
18366 #endif
18367 #ifdef HAVE_SYS_SOCKETVAR_H
18368 #include <sys/socketvar.h>
18369 #endif
18370 #ifdef HAVE_NET_ROUTE_H
18371 #include <net/route.h>
18372 #endif
18373 #ifdef HAVE_NETINET_IN_H
18374 #include <netinet/in.h>
18375 #endif
18376 #ifdef HAVE_NETINET_IN_SYSTM_H
18377 #include <netinet/in_systm.h>
18378 #endif
18379 #ifdef HAVE_NETINET_IP_H
18380 #include <netinet/ip.h>
18381 #endif
18382 #ifdef HAVE_NETINET_IN_PCB_H
18383 #include <netinet/in_pcb.h>
18384 #endif
18386 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18388 cat >>confdefs.h <<_ACEOF
18389 #define HAVE_STRUCT_XINPGEN 1
18390 _ACEOF
18396 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18397 #include <link.h>
18398 #endif
18399 #ifdef HAVE_SYS_LINK_H
18400 #include <sys/link.h>
18401 #endif
18403 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18405 cat >>confdefs.h <<_ACEOF
18406 #define HAVE_STRUCT_R_DEBUG 1
18407 _ACEOF
18411 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18412 #include <link.h>
18413 #endif
18414 #ifdef HAVE_SYS_LINK_H
18415 #include <sys/link.h>
18416 #endif
18418 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18420 cat >>confdefs.h <<_ACEOF
18421 #define HAVE_STRUCT_LINK_MAP 1
18422 _ACEOF
18428 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18429 #include <linux/input.h>
18430 #endif
18432 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18434 cat >>confdefs.h <<_ACEOF
18435 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18436 _ACEOF
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18443 $as_echo_n "checking for if_nameindex... " >&6; }
18444 if ${wine_cv_have_if_nameindex+:} false; then :
18445 $as_echo_n "(cached) " >&6
18446 else
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18449 #ifdef HAVE_SYS_TYPES_H
18450 #include <sys/types.h>
18451 #endif
18452 #ifdef HAVE_SYS_SOCKET_H
18453 #include <sys/socket.h>
18454 #endif
18455 #ifdef HAVE_NET_IF_H
18456 # include <net/if.h>
18457 #endif
18459 main ()
18461 struct if_nameindex *p = if_nameindex(); return p->if_index;
18463 return 0;
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467 wine_cv_have_if_nameindex=yes
18468 else
18469 wine_cv_have_if_nameindex=no
18471 rm -f core conftest.err conftest.$ac_objext \
18472 conftest$ac_exeext conftest.$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18475 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18476 if test "$wine_cv_have_if_nameindex" = "yes"
18477 then
18479 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18484 $as_echo_n "checking for sigaddset... " >&6; }
18485 if ${wine_cv_have_sigaddset+:} false; then :
18486 $as_echo_n "(cached) " >&6
18487 else
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18490 #include <signal.h>
18492 main ()
18494 sigset_t set; sigaddset(&set,SIGTERM);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"; then :
18500 wine_cv_have_sigaddset=yes
18501 else
18502 wine_cv_have_sigaddset=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18508 $as_echo "$wine_cv_have_sigaddset" >&6; }
18509 if test "$wine_cv_have_sigaddset" = "yes"
18510 then
18512 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18518 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18519 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 #include <netdb.h>
18526 main ()
18529 char *name=0;
18530 struct hostent he;
18531 struct hostent *result;
18532 char *buf=0;
18533 int bufsize=0;
18534 int errnr;
18535 char *addr=0;
18536 int addrlen=0;
18537 int addrtype=0;
18538 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18539 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18542 return 0;
18544 _ACEOF
18545 if ac_fn_c_try_link "$LINENO"; then :
18546 wine_cv_linux_gethostbyname_r_6=yes
18547 else
18548 wine_cv_linux_gethostbyname_r_6=no
18551 rm -f core conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18556 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18557 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18558 then
18560 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18564 if test "$ac_cv_header_linux_joystick_h" = "yes"
18565 then
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18567 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18568 if ${wine_cv_linux_joystick_22_api+:} false; then :
18569 $as_echo_n "(cached) " >&6
18570 else
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18574 #include <sys/ioctl.h>
18575 #include <sys/types.h>
18576 #include <linux/joystick.h>
18578 struct js_event blub;
18579 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18580 #error "no 2.2 header"
18581 #endif
18584 main ()
18586 /*empty*/
18588 return 0;
18590 _ACEOF
18591 if ac_fn_c_try_compile "$LINENO"; then :
18592 wine_cv_linux_joystick_22_api=yes
18593 else
18594 wine_cv_linux_joystick_22_api=no
18596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18600 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18601 if test "$wine_cv_linux_joystick_22_api" = "yes"
18602 then
18604 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18610 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18611 #ifdef HAVE_SYS_PARAM_H
18612 # include <sys/param.h>
18613 #endif
18614 #ifdef HAVE_SYS_MOUNT_H
18615 # include <sys/mount.h>
18616 #endif
18617 #ifdef HAVE_SYS_VFS_H
18618 # include <sys/vfs.h>
18619 #endif
18620 #ifdef HAVE_SYS_STATFS_H
18621 # include <sys/statfs.h>
18622 #endif
18624 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18626 cat >>confdefs.h <<_ACEOF
18627 #define HAVE_STRUCT_STATFS_F_BFREE 1
18628 _ACEOF
18632 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18633 #ifdef HAVE_SYS_PARAM_H
18634 # include <sys/param.h>
18635 #endif
18636 #ifdef HAVE_SYS_MOUNT_H
18637 # include <sys/mount.h>
18638 #endif
18639 #ifdef HAVE_SYS_VFS_H
18640 # include <sys/vfs.h>
18641 #endif
18642 #ifdef HAVE_SYS_STATFS_H
18643 # include <sys/statfs.h>
18644 #endif
18646 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18648 cat >>confdefs.h <<_ACEOF
18649 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18650 _ACEOF
18654 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18655 #ifdef HAVE_SYS_PARAM_H
18656 # include <sys/param.h>
18657 #endif
18658 #ifdef HAVE_SYS_MOUNT_H
18659 # include <sys/mount.h>
18660 #endif
18661 #ifdef HAVE_SYS_VFS_H
18662 # include <sys/vfs.h>
18663 #endif
18664 #ifdef HAVE_SYS_STATFS_H
18665 # include <sys/statfs.h>
18666 #endif
18668 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18670 cat >>confdefs.h <<_ACEOF
18671 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18672 _ACEOF
18676 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18677 #ifdef HAVE_SYS_PARAM_H
18678 # include <sys/param.h>
18679 #endif
18680 #ifdef HAVE_SYS_MOUNT_H
18681 # include <sys/mount.h>
18682 #endif
18683 #ifdef HAVE_SYS_VFS_H
18684 # include <sys/vfs.h>
18685 #endif
18686 #ifdef HAVE_SYS_STATFS_H
18687 # include <sys/statfs.h>
18688 #endif
18690 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_STRUCT_STATFS_F_FFREE 1
18694 _ACEOF
18698 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18699 #ifdef HAVE_SYS_PARAM_H
18700 # include <sys/param.h>
18701 #endif
18702 #ifdef HAVE_SYS_MOUNT_H
18703 # include <sys/mount.h>
18704 #endif
18705 #ifdef HAVE_SYS_VFS_H
18706 # include <sys/vfs.h>
18707 #endif
18708 #ifdef HAVE_SYS_STATFS_H
18709 # include <sys/statfs.h>
18710 #endif
18712 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18714 cat >>confdefs.h <<_ACEOF
18715 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18716 _ACEOF
18720 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18721 #ifdef HAVE_SYS_PARAM_H
18722 # include <sys/param.h>
18723 #endif
18724 #ifdef HAVE_SYS_MOUNT_H
18725 # include <sys/mount.h>
18726 #endif
18727 #ifdef HAVE_SYS_VFS_H
18728 # include <sys/vfs.h>
18729 #endif
18730 #ifdef HAVE_SYS_STATFS_H
18731 # include <sys/statfs.h>
18732 #endif
18734 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18738 _ACEOF
18744 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18745 #include <sys/statvfs.h>
18746 #endif
18748 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18750 cat >>confdefs.h <<_ACEOF
18751 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18752 _ACEOF
18758 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18759 #include <dirent.h>
18760 #endif
18762 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18764 cat >>confdefs.h <<_ACEOF
18765 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18766 _ACEOF
18772 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18773 #ifdef HAVE_SYS_SOCKET_H
18774 # include <sys/socket.h>
18775 #endif
18776 #ifdef HAVE_SYS_UN_H
18777 # include <sys/un.h>
18778 #endif
18780 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18784 _ACEOF
18788 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18789 #ifdef HAVE_SYS_SOCKET_H
18790 # include <sys/socket.h>
18791 #endif
18792 #ifdef HAVE_SYS_UN_H
18793 # include <sys/un.h>
18794 #endif
18796 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18800 _ACEOF
18804 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18805 #ifdef HAVE_SYS_SOCKET_H
18806 # include <sys/socket.h>
18807 #endif
18808 #ifdef HAVE_SYS_UN_H
18809 # include <sys/un.h>
18810 #endif
18812 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18814 cat >>confdefs.h <<_ACEOF
18815 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18816 _ACEOF
18822 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18823 #ifdef HAVE_SCSI_SG_H
18824 #include <scsi/sg.h>
18825 #endif
18827 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_SCSIREQ_T_CMD 1
18831 _ACEOF
18835 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>
18836 #ifdef HAVE_SCSI_SG_H
18837 #include <scsi/sg.h>
18838 #endif
18840 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18842 cat >>confdefs.h <<_ACEOF
18843 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18844 _ACEOF
18850 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18852 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18854 cat >>confdefs.h <<_ACEOF
18855 #define HAVE_SIGINFO_T_SI_FD 1
18856 _ACEOF
18862 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18863 #ifdef HAVE_SYS_MTIO_H
18864 #include <sys/mtio.h>
18865 #endif
18867 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18871 _ACEOF
18875 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18876 #ifdef HAVE_SYS_MTIO_H
18877 #include <sys/mtio.h>
18878 #endif
18880 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18884 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18889 #ifdef HAVE_SYS_MTIO_H
18890 #include <sys/mtio.h>
18891 #endif
18893 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18897 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18904 #include <getopt.h>
18905 #endif
18907 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_STRUCT_OPTION_NAME 1
18911 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18918 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18922 _ACEOF
18926 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18927 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_STRUCT_STAT_ST_MTIM 1
18931 _ACEOF
18935 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18936 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18940 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18945 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18947 cat >>confdefs.h <<_ACEOF
18948 #define HAVE_STRUCT_STAT_ST_CTIM 1
18949 _ACEOF
18953 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18954 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18958 _ACEOF
18962 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18963 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STRUCT_STAT_ST_ATIM 1
18967 _ACEOF
18971 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18972 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18976 _ACEOF
18980 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18981 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18990 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18992 cat >>confdefs.h <<_ACEOF
18993 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18994 _ACEOF
18998 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18999 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19003 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19008 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19012 _ACEOF
19016 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19017 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19021 _ACEOF
19027 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
19028 #include <sys/types.h>
19029 #endif
19030 #ifdef HAVE_NETINET_IN_H
19031 #include <netinet/in.h>
19032 #endif
19034 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19038 _ACEOF
19044 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19045 #include <sys/types.h>
19046 #endif
19047 #ifdef HAVE_NETINET_IN_H
19048 #include <netinet/in.h>
19049 #endif
19050 #ifdef HAVE_RESOLV_H
19051 #include <resolv.h>
19052 #endif
19054 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT___RES_STATE 1
19058 _ACEOF
19064 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
19065 #include <resolv.h>
19066 #endif
19068 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19072 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19079 #include <sys/types.h>
19080 #endif
19081 #ifdef HAVE_NETINET_IN_H
19082 # include <netinet/in.h>
19083 #endif
19084 #ifdef HAVE_ARPA_NAMESER_H
19085 # include <arpa/nameser.h>
19086 #endif
19088 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_NS_MSG__MSG_PTR 1
19092 _ACEOF
19098 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19099 #include <sys/types.h>
19100 #endif
19101 #ifdef HAVE_NETINET_IN_H
19102 #include <netinet/in.h>
19103 #endif
19104 #ifdef HAVE_NETINET_IP_H
19105 #include <netinet/ip.h>
19106 #endif
19107 #ifdef HAVE_NETINET_IP_ICMP_H
19108 #include <netinet/ip_icmp.h>
19109 #endif
19110 #ifdef HAVE_NETINET_ICMP_VAR_H
19111 #include <netinet/icmp_var.h>
19112 #endif
19114 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19118 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19125 #include <sys/types.h>
19126 #endif
19127 #ifdef HAVE_ALIAS_H
19128 #include <alias.h>
19129 #endif
19130 #ifdef HAVE_SYS_SOCKET_H
19131 #include <sys/socket.h>
19132 #endif
19133 #ifdef HAVE_SYS_SOCKETVAR_H
19134 #include <sys/socketvar.h>
19135 #endif
19136 #ifdef HAVE_SYS_TIMEOUT_H
19137 #include <sys/timeout.h>
19138 #endif
19139 #ifdef HAVE_NETINET_IN_H
19140 #include <netinet/in.h>
19141 #endif
19142 #ifdef HAVE_NETINET_IN_SYSTM_H
19143 #include <netinet/in_systm.h>
19144 #endif
19145 #ifdef HAVE_NETINET_IP_H
19146 #include <netinet/ip.h>
19147 #endif
19148 #ifdef HAVE_NETINET_IP_VAR_H
19149 #include <netinet/ip_var.h>
19150 #endif
19151 #ifdef HAVE_NETINET_IP_ICMP_H
19152 #include <netinet/ip_icmp.h>
19153 #endif
19154 #ifdef HAVE_NETINET_ICMP_VAR_H
19155 #include <netinet/icmp_var.h>
19156 #endif
19158 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19160 cat >>confdefs.h <<_ACEOF
19161 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19162 _ACEOF
19168 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19169 #include <sys/types.h>
19170 #endif
19171 #ifdef HAVE_SYS_SOCKETVAR_H
19172 #include <sys/socketvar.h>
19173 #endif
19174 #ifdef HAVE_NETINET_IN_H
19175 #include <netinet/in.h>
19176 #endif
19177 #ifdef HAVE_NETINET_IP_VAR_H
19178 #include <netinet/ip_var.h>
19179 #endif
19181 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19185 _ACEOF
19191 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
19192 #include <netinet/ip_var.h>
19193 #endif
19195 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19199 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19206 #include <sys/types.h>
19207 #endif
19208 #ifdef HAVE_SYS_SOCKETVAR_H
19209 #include <sys/socketvar.h>
19210 #endif
19211 #ifdef HAVE_NETINET_IN_H
19212 #include <netinet/in.h>
19213 #endif
19214 #ifdef HAVE_NETINET_TCP_H
19215 #include <netinet/tcp.h>
19216 #endif
19217 #ifdef HAVE_NETINET_TCP_VAR_H
19218 #include <netinet/tcp_var.h>
19219 #endif
19221 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19225 _ACEOF
19231 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
19232 #include <netinet/tcp_var.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19239 _ACEOF
19245 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19246 #include <sys/types.h>
19247 #endif
19248 #ifdef HAVE_NETINET_IN_H
19249 #include <netinet/in.h>
19250 #endif
19251 #ifdef HAVE_NETINET_IP_VAR_H
19252 #include <netinet/ip_var.h>
19253 #endif
19254 #ifdef HAVE_NETINET_UDP_H
19255 #include <netinet/udp.h>
19256 #endif
19257 #ifdef HAVE_NETINET_UDP_VAR_H
19258 #include <netinet/udp_var.h>
19259 #endif
19261 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19265 _ACEOF
19271 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19272 #include <sys/types.h>
19273 #endif
19274 #ifdef HAVE_NET_IF_H
19275 # include <net/if.h>
19276 #endif
19278 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19282 _ACEOF
19288 ac_save_LIBS="$LIBS"
19289 LIBS="$LIBS -lm"
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19291 $as_echo_n "checking for isfinite... " >&6; }
19292 if ${ac_cv_have_isfinite+:} false; then :
19293 $as_echo_n "(cached) " >&6
19294 else
19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 #define _GNU_SOURCE
19298 #include <math.h>
19300 main ()
19302 float f = 0.0; return isfinite(f)
19304 return 0;
19306 _ACEOF
19307 if ac_fn_c_try_link "$LINENO"; then :
19308 ac_cv_have_isfinite="yes"
19309 else
19310 ac_cv_have_isfinite="no"
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19316 $as_echo "$ac_cv_have_isfinite" >&6; }
19317 if test "$ac_cv_have_isfinite" = "yes"
19318 then
19320 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19325 $as_echo_n "checking for isinf... " >&6; }
19326 if ${ac_cv_have_isinf+:} false; then :
19327 $as_echo_n "(cached) " >&6
19328 else
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <math.h>
19333 main ()
19335 float f = 0.0; return isinf(f)
19337 return 0;
19339 _ACEOF
19340 if ac_fn_c_try_link "$LINENO"; then :
19341 ac_cv_have_isinf="yes"
19342 else
19343 ac_cv_have_isinf="no"
19345 rm -f core conftest.err conftest.$ac_objext \
19346 conftest$ac_exeext conftest.$ac_ext
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19349 $as_echo "$ac_cv_have_isinf" >&6; }
19350 if test "$ac_cv_have_isinf" = "yes"
19351 then
19353 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19358 $as_echo_n "checking for isnan... " >&6; }
19359 if ${ac_cv_have_isnan+:} false; then :
19360 $as_echo_n "(cached) " >&6
19361 else
19362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19364 #include <math.h>
19366 main ()
19368 float f = 0.0; return isnan(f)
19370 return 0;
19372 _ACEOF
19373 if ac_fn_c_try_link "$LINENO"; then :
19374 ac_cv_have_isnan="yes"
19375 else
19376 ac_cv_have_isnan="no"
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19382 $as_echo "$ac_cv_have_isnan" >&6; }
19383 if test "$ac_cv_have_isnan" = "yes"
19384 then
19386 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19390 for ac_func in \
19391 acosh \
19392 acoshf \
19393 asinh \
19394 asinhf \
19395 atanh \
19396 atanhf \
19397 cbrt \
19398 cbrtf \
19399 erf \
19400 erfc \
19401 erfcf \
19402 erff \
19403 exp2 \
19404 exp2f \
19405 expm1 \
19406 expm1f \
19407 fma \
19408 fmaf \
19409 ilogb \
19410 ilogbf \
19411 j0 \
19412 j1 \
19413 jn \
19414 lgamma \
19415 lgammaf \
19416 llrint \
19417 llrintf \
19418 llround \
19419 llroundf \
19420 log1p \
19421 log1pf \
19422 log2 \
19423 log2f \
19424 lrint \
19425 lrintf \
19426 lround \
19427 lroundf \
19428 nearbyint \
19429 nearbyintf \
19430 nexttoward \
19431 nexttowardf \
19432 powl \
19433 remainder \
19434 remainderf \
19435 remquo \
19436 remquof \
19437 rint \
19438 rintf \
19439 round \
19440 roundf \
19441 tgamma \
19442 tgammaf \
19443 trunc \
19444 truncf \
19445 y0 \
19446 y1 \
19449 do :
19450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19453 cat >>confdefs.h <<_ACEOF
19454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19455 _ACEOF
19458 done
19460 LIBS="$ac_save_LIBS"
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19463 $as_echo_n "checking for __builtin_clz... " >&6; }
19464 if ${ac_cv_have___builtin_clz+:} false; then :
19465 $as_echo_n "(cached) " >&6
19466 else
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19471 main ()
19473 return __builtin_clz(1)
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_link "$LINENO"; then :
19479 ac_cv_have___builtin_clz="yes"
19480 else
19481 ac_cv_have___builtin_clz="no"
19483 rm -f core conftest.err conftest.$ac_objext \
19484 conftest$ac_exeext conftest.$ac_ext
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19487 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19488 if test "$ac_cv_have___builtin_clz" = "yes"
19489 then
19491 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19496 $as_echo_n "checking for __builtin_popcount... " >&6; }
19497 if ${ac_cv_have___builtin_popcount+:} false; then :
19498 $as_echo_n "(cached) " >&6
19499 else
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19504 main ()
19506 return __builtin_popcount(1)
19508 return 0;
19510 _ACEOF
19511 if ac_fn_c_try_link "$LINENO"; then :
19512 ac_cv_have___builtin_popcount="yes"
19513 else
19514 ac_cv_have___builtin_popcount="no"
19516 rm -f core conftest.err conftest.$ac_objext \
19517 conftest$ac_exeext conftest.$ac_ext
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19520 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19521 if test "$ac_cv_have___builtin_popcount" = "yes"
19522 then
19524 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19529 $as_echo_n "checking for __clear_cache... " >&6; }
19530 if ${ac_cv_have___clear_cache+:} false; then :
19531 $as_echo_n "(cached) " >&6
19532 else
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19537 main ()
19539 __clear_cache((void*)0, (void*)0); return 0;
19541 return 0;
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"; then :
19545 ac_cv_have___clear_cache="yes"
19546 else
19547 ac_cv_have___clear_cache="no"
19549 rm -f core conftest.err conftest.$ac_objext \
19550 conftest$ac_exeext conftest.$ac_ext
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19553 $as_echo "$ac_cv_have___clear_cache" >&6; }
19554 if test "$ac_cv_have___clear_cache" = "yes"
19555 then
19557 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19562 case $host_cpu in
19563 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19564 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19565 if ${ac_cv_cpp_def___i386__+:} false; then :
19566 $as_echo_n "(cached) " >&6
19567 else
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570 #ifndef __i386__
19572 #endif
19573 _ACEOF
19574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19575 $EGREP "yes" >/dev/null 2>&1; then :
19576 ac_cv_cpp_def___i386__=yes
19577 else
19578 ac_cv_cpp_def___i386__=no
19580 rm -f conftest*
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19584 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19585 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19586 CFLAGS="$CFLAGS -D__i386__"
19587 LINTFLAGS="$LINTFLAGS -D__i386__"
19588 fi ;;
19589 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19590 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19591 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19592 $as_echo_n "(cached) " >&6
19593 else
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19596 #ifndef __x86_64__
19598 #endif
19599 _ACEOF
19600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19601 $EGREP "yes" >/dev/null 2>&1; then :
19602 ac_cv_cpp_def___x86_64__=yes
19603 else
19604 ac_cv_cpp_def___x86_64__=no
19606 rm -f conftest*
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19610 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19611 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19612 CFLAGS="$CFLAGS -D__x86_64__"
19613 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19614 fi ;;
19615 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19616 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19617 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19618 $as_echo_n "(cached) " >&6
19619 else
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #ifndef __sparc64__
19624 #endif
19625 _ACEOF
19626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19627 $EGREP "yes" >/dev/null 2>&1; then :
19628 ac_cv_cpp_def___sparc64__=yes
19629 else
19630 ac_cv_cpp_def___sparc64__=no
19632 rm -f conftest*
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19636 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19637 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19638 CFLAGS="$CFLAGS -D__sparc64__"
19639 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19640 fi ;;
19641 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19642 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19643 if ${ac_cv_cpp_def___sparc__+:} false; then :
19644 $as_echo_n "(cached) " >&6
19645 else
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #ifndef __sparc__
19650 #endif
19651 _ACEOF
19652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19653 $EGREP "yes" >/dev/null 2>&1; then :
19654 ac_cv_cpp_def___sparc__=yes
19655 else
19656 ac_cv_cpp_def___sparc__=no
19658 rm -f conftest*
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19662 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19663 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19664 CFLAGS="$CFLAGS -D__sparc__"
19665 LINTFLAGS="$LINTFLAGS -D__sparc__"
19666 fi ;;
19667 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19668 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19669 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #ifndef __powerpc64__
19676 #endif
19677 _ACEOF
19678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19679 $EGREP "yes" >/dev/null 2>&1; then :
19680 ac_cv_cpp_def___powerpc64__=yes
19681 else
19682 ac_cv_cpp_def___powerpc64__=no
19684 rm -f conftest*
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19688 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19689 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19690 CFLAGS="$CFLAGS -D__powerpc64__"
19691 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19692 fi ;;
19693 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19694 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19695 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #ifndef __powerpc__
19702 #endif
19703 _ACEOF
19704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19705 $EGREP "yes" >/dev/null 2>&1; then :
19706 ac_cv_cpp_def___powerpc__=yes
19707 else
19708 ac_cv_cpp_def___powerpc__=no
19710 rm -f conftest*
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19714 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19715 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19716 CFLAGS="$CFLAGS -D__powerpc__"
19717 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19718 fi ;;
19719 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19720 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19721 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19722 $as_echo_n "(cached) " >&6
19723 else
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 #ifndef __aarch64__
19728 #endif
19729 _ACEOF
19730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19731 $EGREP "yes" >/dev/null 2>&1; then :
19732 ac_cv_cpp_def___aarch64__=yes
19733 else
19734 ac_cv_cpp_def___aarch64__=no
19736 rm -f conftest*
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19740 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19741 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19742 CFLAGS="$CFLAGS -D__aarch64__"
19743 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19744 fi ;;
19745 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19746 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19747 if ${ac_cv_cpp_def___arm__+:} false; then :
19748 $as_echo_n "(cached) " >&6
19749 else
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 #ifndef __arm__
19754 #endif
19755 _ACEOF
19756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19757 $EGREP "yes" >/dev/null 2>&1; then :
19758 ac_cv_cpp_def___arm__=yes
19759 else
19760 ac_cv_cpp_def___arm__=no
19762 rm -f conftest*
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19766 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19767 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19768 CFLAGS="$CFLAGS -D__arm__"
19769 LINTFLAGS="$LINTFLAGS -D__arm__"
19770 fi ;;
19771 esac
19773 case $host_vendor in
19774 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19775 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19776 if ${ac_cv_cpp_def___sun__+:} false; then :
19777 $as_echo_n "(cached) " >&6
19778 else
19779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19780 /* end confdefs.h. */
19781 #ifndef __sun__
19783 #endif
19784 _ACEOF
19785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19786 $EGREP "yes" >/dev/null 2>&1; then :
19787 ac_cv_cpp_def___sun__=yes
19788 else
19789 ac_cv_cpp_def___sun__=no
19791 rm -f conftest*
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19795 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19796 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19797 CFLAGS="$CFLAGS -D__sun__"
19798 LINTFLAGS="$LINTFLAGS -D__sun__"
19799 fi ;;
19800 esac
19806 ac_config_commands="$ac_config_commands include/stamp-h"
19808 $as_echo_n "creating Makefile rules..." >&6
19810 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19811 OPENGL_LIBS = $OPENGL_LIBS
19812 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19813 IOKIT_LIBS = $IOKIT_LIBS
19814 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19815 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19816 CORESERVICES_LIBS = $CORESERVICES_LIBS
19817 APPKIT_LIBS = $APPKIT_LIBS
19818 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19819 SECURITY_LIBS = $SECURITY_LIBS
19820 COREAUDIO_LIBS = $COREAUDIO_LIBS
19821 OPENAL_LIBS = $OPENAL_LIBS
19822 OPENCL_LIBS = $OPENCL_LIBS
19823 QUICKTIME_LIBS = $QUICKTIME_LIBS
19824 CARBON_LIBS = $CARBON_LIBS
19825 METAL_LIBS = $METAL_LIBS
19826 PTHREAD_LIBS = $PTHREAD_LIBS
19827 X_CFLAGS = $X_CFLAGS
19828 X_PRE_LIBS = $X_PRE_LIBS
19829 X_LIBS = $X_LIBS
19830 X_EXTRA_LIBS = $X_EXTRA_LIBS
19831 PCAP_LIBS = $PCAP_LIBS
19832 XML2_CFLAGS = $XML2_CFLAGS
19833 XML2_LIBS = $XML2_LIBS
19834 XSLT_CFLAGS = $XSLT_CFLAGS
19835 XSLT_LIBS = $XSLT_LIBS
19836 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19837 INOTIFY_LIBS = $INOTIFY_LIBS
19838 DBUS_CFLAGS = $DBUS_CFLAGS
19839 DBUS_LIBS = $DBUS_LIBS
19840 HAL_CFLAGS = $HAL_CFLAGS
19841 HAL_LIBS = $HAL_LIBS
19842 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19843 GNUTLS_LIBS = $GNUTLS_LIBS
19844 SANE_CFLAGS = $SANE_CFLAGS
19845 SANE_LIBS = $SANE_LIBS
19846 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19847 GPHOTO2_LIBS = $GPHOTO2_LIBS
19848 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19849 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19850 RESOLV_LIBS = $RESOLV_LIBS
19851 LCMS2_CFLAGS = $LCMS2_CFLAGS
19852 LCMS2_LIBS = $LCMS2_LIBS
19853 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19854 FREETYPE_LIBS = $FREETYPE_LIBS
19855 Z_CFLAGS = $Z_CFLAGS
19856 Z_LIBS = $Z_LIBS
19857 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19858 PULSE_CFLAGS = $PULSE_CFLAGS
19859 PULSE_LIBS = $PULSE_LIBS
19860 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19861 GSTREAMER_LIBS = $GSTREAMER_LIBS
19862 ALSA_LIBS = $ALSA_LIBS
19863 OSS4_CFLAGS = $OSS4_CFLAGS
19864 OSS4_LIBS = $OSS4_LIBS
19865 UDEV_CFLAGS = $UDEV_CFLAGS
19866 UDEV_LIBS = $UDEV_LIBS
19867 UNWIND_CFLAGS = $UNWIND_CFLAGS
19868 UNWIND_LIBS = $UNWIND_LIBS
19869 SDL2_CFLAGS = $SDL2_CFLAGS
19870 SDL2_LIBS = $SDL2_LIBS
19871 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19872 FAUDIO_LIBS = $FAUDIO_LIBS
19873 CAPI20_CFLAGS = $CAPI20_CFLAGS
19874 CAPI20_LIBS = $CAPI20_LIBS
19875 CUPS_CFLAGS = $CUPS_CFLAGS
19876 CUPS_LIBS = $CUPS_LIBS
19877 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19878 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19879 KRB5_CFLAGS = $KRB5_CFLAGS
19880 KRB5_LIBS = $KRB5_LIBS
19881 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19882 GSSAPI_LIBS = $GSSAPI_LIBS
19883 JPEG_CFLAGS = $JPEG_CFLAGS
19884 JPEG_LIBS = $JPEG_LIBS
19885 PNG_CFLAGS = $PNG_CFLAGS
19886 PNG_LIBS = $PNG_LIBS
19887 TIFF_CFLAGS = $TIFF_CFLAGS
19888 TIFF_LIBS = $TIFF_LIBS
19889 MPG123_CFLAGS = $MPG123_CFLAGS
19890 MPG123_LIBS = $MPG123_LIBS
19891 KSTAT_LIBS = $KSTAT_LIBS
19892 PROCSTAT_LIBS = $PROCSTAT_LIBS
19893 NETAPI_CFLAGS = $NETAPI_CFLAGS
19894 NETAPI_LIBS = $NETAPI_LIBS
19895 VKD3D_CFLAGS = $VKD3D_CFLAGS
19896 VKD3D_LIBS = $VKD3D_LIBS
19897 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19898 DL_LIBS = $DL_LIBS
19899 POLL_LIBS = $POLL_LIBS
19900 RT_LIBS = $RT_LIBS
19901 LDAP_CFLAGS = $LDAP_CFLAGS
19902 LDAP_LIBS = $LDAP_LIBS
19907 wine_fn_append_rule "
19908 # Rules automatically generated by configure
19910 .INIT: Makefile
19911 .MAKEFILEDEPS:
19912 all: Makefile
19913 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19914 @./config.status Make.tmp Makefile
19915 depend: \$(MAKEDEP) dummy
19916 \$(MAKEDEP)"
19918 if test "x$enable_fonts" != xno; then
19919 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19920 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19921 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19922 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19923 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19924 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19926 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19927 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19928 ac_config_links="$ac_config_links wine:tools/winewrapper"
19929 wine_fn_config_symlink wine
19930 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19931 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19932 wine_fn_config_symlink wine64
19935 wine_fn_config_makefile dlls/acledit enable_acledit
19936 wine_fn_config_makefile dlls/aclui enable_aclui
19937 wine_fn_config_makefile dlls/activeds enable_activeds
19938 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19939 wine_fn_config_makefile dlls/adsiid enable_adsiid
19940 wine_fn_config_makefile dlls/adsldp enable_adsldp
19941 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19942 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19943 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19944 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19945 wine_fn_config_makefile dlls/advpack enable_advpack
19946 wine_fn_config_makefile dlls/advpack/tests enable_tests
19947 wine_fn_config_makefile dlls/amsi enable_amsi
19948 wine_fn_config_makefile dlls/amstream enable_amstream
19949 wine_fn_config_makefile dlls/amstream/tests enable_tests
19950 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19952 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19953 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19955 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19960 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19968 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19970 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19972 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19974 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19975 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19976 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19978 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19981 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19982 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19984 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19985 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19999 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20005 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20008 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20017 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20029 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20030 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20052 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20056 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20059 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20132 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20136 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20138 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20140 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20157 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20159 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20165 wine_fn_config_makefile dlls/apphelp enable_apphelp
20166 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20167 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20168 wine_fn_config_makefile dlls/atl enable_atl
20169 wine_fn_config_makefile dlls/atl/tests enable_tests
20170 wine_fn_config_makefile dlls/atl100 enable_atl100
20171 wine_fn_config_makefile dlls/atl100/tests enable_tests
20172 wine_fn_config_makefile dlls/atl110 enable_atl110
20173 wine_fn_config_makefile dlls/atl80 enable_atl80
20174 wine_fn_config_makefile dlls/atl80/tests enable_tests
20175 wine_fn_config_makefile dlls/atl90 enable_atl90
20176 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20177 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20178 wine_fn_config_makefile dlls/atmlib enable_atmlib
20179 wine_fn_config_makefile dlls/authz enable_authz
20180 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20181 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20182 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20183 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20184 wine_fn_config_makefile dlls/avrt enable_avrt
20185 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20186 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20187 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20188 wine_fn_config_makefile dlls/browseui enable_browseui
20189 wine_fn_config_makefile dlls/browseui/tests enable_tests
20190 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20191 wine_fn_config_makefile dlls/cabinet enable_cabinet
20192 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20193 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20194 wine_fn_config_makefile dlls/cards enable_cards
20195 wine_fn_config_makefile dlls/cdosys enable_cdosys
20196 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20197 wine_fn_config_makefile dlls/clusapi enable_clusapi
20198 wine_fn_config_makefile dlls/combase enable_combase
20199 wine_fn_config_makefile dlls/combase/tests enable_tests
20200 wine_fn_config_makefile dlls/comcat enable_comcat
20201 wine_fn_config_makefile dlls/comcat/tests enable_tests
20202 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20203 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20204 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20205 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20206 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20207 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20208 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20209 wine_fn_config_makefile dlls/compstui enable_compstui
20210 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20211 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20212 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20213 wine_fn_config_makefile dlls/connect enable_connect
20214 wine_fn_config_makefile dlls/credui enable_credui
20215 wine_fn_config_makefile dlls/credui/tests enable_tests
20216 wine_fn_config_makefile dlls/crtdll enable_crtdll
20217 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20218 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20219 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20220 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20221 wine_fn_config_makefile dlls/cryptext enable_cryptext
20222 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20223 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20224 wine_fn_config_makefile dlls/cryptui enable_cryptui
20225 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20226 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20227 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20228 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20229 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20230 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20231 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20232 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20233 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20234 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20235 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20236 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20237 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20238 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20239 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20240 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20241 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20242 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20243 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20244 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20245 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20246 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20247 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20248 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20249 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20250 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20251 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20252 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20253 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20254 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20255 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20256 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20257 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20258 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20259 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20260 wine_fn_config_makefile dlls/d3dim enable_d3dim
20261 wine_fn_config_makefile dlls/d3drm enable_d3drm
20262 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20263 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20264 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20265 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20266 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20267 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20268 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20269 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20270 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20271 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20272 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20273 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20274 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20275 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20276 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20277 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20278 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20279 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20280 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20281 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20282 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20283 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20284 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20285 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20286 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20287 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20288 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20289 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20290 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20291 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20292 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20293 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20294 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20295 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20296 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20297 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20298 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20299 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20300 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20301 wine_fn_config_makefile dlls/davclnt enable_davclnt
20302 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20303 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20304 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20305 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20306 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20307 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20308 wine_fn_config_makefile dlls/ddraw enable_ddraw
20309 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20310 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20311 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20312 wine_fn_config_makefile dlls/devenum enable_devenum
20313 wine_fn_config_makefile dlls/devenum/tests enable_tests
20314 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20315 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20316 wine_fn_config_makefile dlls/difxapi enable_difxapi
20317 wine_fn_config_makefile dlls/dinput enable_dinput
20318 wine_fn_config_makefile dlls/dinput/tests enable_tests
20319 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20320 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20321 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20322 wine_fn_config_makefile dlls/dispex enable_dispex
20323 wine_fn_config_makefile dlls/dispex/tests enable_tests
20324 wine_fn_config_makefile dlls/display.drv16 enable_win16
20325 wine_fn_config_makefile dlls/dmband enable_dmband
20326 wine_fn_config_makefile dlls/dmband/tests enable_tests
20327 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20328 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20329 wine_fn_config_makefile dlls/dmime enable_dmime
20330 wine_fn_config_makefile dlls/dmime/tests enable_tests
20331 wine_fn_config_makefile dlls/dmloader enable_dmloader
20332 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20333 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20334 wine_fn_config_makefile dlls/dmscript enable_dmscript
20335 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20336 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20337 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20338 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20339 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20340 wine_fn_config_makefile dlls/dmusic enable_dmusic
20341 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20342 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20343 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20344 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20345 wine_fn_config_makefile dlls/dplay enable_dplay
20346 wine_fn_config_makefile dlls/dplayx enable_dplayx
20347 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20348 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20349 wine_fn_config_makefile dlls/dpnet enable_dpnet
20350 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20351 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20352 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20353 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20354 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20355 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20356 wine_fn_config_makefile dlls/drmclien enable_drmclien
20357 wine_fn_config_makefile dlls/dsound enable_dsound
20358 wine_fn_config_makefile dlls/dsound/tests enable_tests
20359 wine_fn_config_makefile dlls/dsquery enable_dsquery
20360 wine_fn_config_makefile dlls/dssenh enable_dssenh
20361 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20362 wine_fn_config_makefile dlls/dswave enable_dswave
20363 wine_fn_config_makefile dlls/dswave/tests enable_tests
20364 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20365 wine_fn_config_makefile dlls/dwrite enable_dwrite
20366 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20367 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20368 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20369 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20370 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20371 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20372 wine_fn_config_makefile dlls/dxgi enable_dxgi
20373 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20374 wine_fn_config_makefile dlls/dxguid enable_dxguid
20375 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20376 wine_fn_config_makefile dlls/esent enable_esent
20377 wine_fn_config_makefile dlls/evr enable_evr
20378 wine_fn_config_makefile dlls/evr/tests enable_tests
20379 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20380 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20381 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20382 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20383 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20384 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20385 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20386 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20387 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20388 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20389 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20390 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20391 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20392 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20393 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20394 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20395 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20396 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20397 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20398 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20399 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20400 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20401 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20402 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20403 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20404 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20405 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20406 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20407 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20408 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20409 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20410 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20411 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20412 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20413 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20414 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20415 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20417 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20420 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20421 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
20422 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20423 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20424 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20432 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20433 wine_fn_config_makefile dlls/faultrep enable_faultrep
20434 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20435 wine_fn_config_makefile dlls/feclient enable_feclient
20436 wine_fn_config_makefile dlls/fltlib enable_fltlib
20437 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20438 wine_fn_config_makefile dlls/fntcache enable_fntcache
20439 wine_fn_config_makefile dlls/fontsub enable_fontsub
20440 wine_fn_config_makefile dlls/fusion enable_fusion
20441 wine_fn_config_makefile dlls/fusion/tests enable_tests
20442 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20443 wine_fn_config_makefile dlls/gameux enable_gameux
20444 wine_fn_config_makefile dlls/gameux/tests enable_tests
20445 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20446 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20447 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20448 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20449 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20450 wine_fn_config_makefile dlls/glu32 enable_glu32
20451 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20452 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20453 wine_fn_config_makefile dlls/hal enable_hal
20454 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20455 wine_fn_config_makefile dlls/hid enable_hid
20456 wine_fn_config_makefile dlls/hid/tests enable_tests
20457 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20458 wine_fn_config_makefile dlls/hlink enable_hlink
20459 wine_fn_config_makefile dlls/hlink/tests enable_tests
20460 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20461 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20462 wine_fn_config_makefile dlls/http.sys enable_http_sys
20463 wine_fn_config_makefile dlls/httpapi enable_httpapi
20464 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20465 wine_fn_config_makefile dlls/iccvid enable_iccvid
20466 wine_fn_config_makefile dlls/icmp enable_icmp
20467 wine_fn_config_makefile dlls/ieframe enable_ieframe
20468 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20469 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20470 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20471 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20472 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20473 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20474 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20475 wine_fn_config_makefile dlls/imm32 enable_imm32
20476 wine_fn_config_makefile dlls/imm32/tests enable_tests
20477 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20478 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20479 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20480 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20481 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20482 wine_fn_config_makefile dlls/infosoft enable_infosoft
20483 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20484 wine_fn_config_makefile dlls/initpki enable_initpki
20485 wine_fn_config_makefile dlls/inkobj enable_inkobj
20486 wine_fn_config_makefile dlls/inseng enable_inseng
20487 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20488 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20489 wine_fn_config_makefile dlls/iprop enable_iprop
20490 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20491 wine_fn_config_makefile dlls/itircl enable_itircl
20492 wine_fn_config_makefile dlls/itss enable_itss
20493 wine_fn_config_makefile dlls/itss/tests enable_tests
20494 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20495 wine_fn_config_makefile dlls/jscript enable_jscript
20496 wine_fn_config_makefile dlls/jscript/tests enable_tests
20497 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20498 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20499 wine_fn_config_makefile dlls/kerberos enable_kerberos
20500 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20501 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20502 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20503 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20504 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20505 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20506 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20507 wine_fn_config_makefile dlls/ksuser enable_ksuser
20508 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20509 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20510 wine_fn_config_makefile dlls/loadperf enable_loadperf
20511 wine_fn_config_makefile dlls/localspl enable_localspl
20512 wine_fn_config_makefile dlls/localspl/tests enable_tests
20513 wine_fn_config_makefile dlls/localui enable_localui
20514 wine_fn_config_makefile dlls/localui/tests enable_tests
20515 wine_fn_config_makefile dlls/lz32 enable_lz32
20516 wine_fn_config_makefile dlls/lz32/tests enable_tests
20517 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20518 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20519 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20520 wine_fn_config_makefile dlls/mapistub enable_mapistub
20521 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20522 wine_fn_config_makefile dlls/mcicda enable_mcicda
20523 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20524 wine_fn_config_makefile dlls/mciseq enable_mciseq
20525 wine_fn_config_makefile dlls/mciwave enable_mciwave
20526 wine_fn_config_makefile dlls/mf enable_mf
20527 wine_fn_config_makefile dlls/mf/tests enable_tests
20528 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20529 wine_fn_config_makefile dlls/mferror enable_mferror
20530 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20531 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20532 wine_fn_config_makefile dlls/mfplat enable_mfplat
20533 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20534 wine_fn_config_makefile dlls/mfplay enable_mfplay
20535 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20536 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20537 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20538 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20539 wine_fn_config_makefile dlls/midimap enable_midimap
20540 wine_fn_config_makefile dlls/mlang enable_mlang
20541 wine_fn_config_makefile dlls/mlang/tests enable_tests
20542 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20543 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20544 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20545 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20546 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20547 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20548 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20549 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20550 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20551 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20552 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20553 wine_fn_config_makefile dlls/mpr enable_mpr
20554 wine_fn_config_makefile dlls/mpr/tests enable_tests
20555 wine_fn_config_makefile dlls/mprapi enable_mprapi
20556 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20557 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20558 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20559 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20560 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20561 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20562 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20563 wine_fn_config_makefile dlls/mscms enable_mscms
20564 wine_fn_config_makefile dlls/mscms/tests enable_tests
20565 wine_fn_config_makefile dlls/mscoree enable_mscoree
20566 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20567 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20568 wine_fn_config_makefile dlls/msctf enable_msctf
20569 wine_fn_config_makefile dlls/msctf/tests enable_tests
20570 wine_fn_config_makefile dlls/msctfp enable_msctfp
20571 wine_fn_config_makefile dlls/msdaps enable_msdaps
20572 wine_fn_config_makefile dlls/msdelta enable_msdelta
20573 wine_fn_config_makefile dlls/msdmo enable_msdmo
20574 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20575 wine_fn_config_makefile dlls/msdrm enable_msdrm
20576 wine_fn_config_makefile dlls/msftedit enable_msftedit
20577 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20578 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20579 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20580 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20581 wine_fn_config_makefile dlls/mshtml enable_mshtml
20582 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20583 wine_fn_config_makefile dlls/msi enable_msi
20584 wine_fn_config_makefile dlls/msi/tests enable_tests
20585 wine_fn_config_makefile dlls/msident enable_msident
20586 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20587 wine_fn_config_makefile dlls/msimsg enable_msimsg
20588 wine_fn_config_makefile dlls/msimtf enable_msimtf
20589 wine_fn_config_makefile dlls/msisip enable_msisip
20590 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20591 wine_fn_config_makefile dlls/msls31 enable_msls31
20592 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20593 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20594 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20595 wine_fn_config_makefile dlls/msports enable_msports
20596 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20597 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20598 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20599 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20600 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20601 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20602 wine_fn_config_makefile dlls/mstask enable_mstask
20603 wine_fn_config_makefile dlls/mstask/tests enable_tests
20604 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20605 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20606 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20607 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20608 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20609 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20610 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20611 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20612 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20613 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20614 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20615 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20616 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20617 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20618 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20619 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20620 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20621 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20622 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20623 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20624 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20625 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20626 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20627 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20628 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20629 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20630 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20631 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20632 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20633 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20634 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20635 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20636 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20637 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20638 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20639 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20640 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20641 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20642 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20643 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20644 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20645 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20646 wine_fn_config_makefile dlls/mswsock enable_mswsock
20647 wine_fn_config_makefile dlls/msxml enable_msxml
20648 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20649 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20650 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20651 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20652 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20653 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20654 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20655 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20656 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20657 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20658 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20659 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20660 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20661 wine_fn_config_makefile dlls/netprofm enable_netprofm
20662 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20663 wine_fn_config_makefile dlls/newdev enable_newdev
20664 wine_fn_config_makefile dlls/ninput enable_ninput
20665 wine_fn_config_makefile dlls/ninput/tests enable_tests
20666 wine_fn_config_makefile dlls/normaliz enable_normaliz
20667 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20668 wine_fn_config_makefile dlls/npptools enable_npptools
20669 wine_fn_config_makefile dlls/ntdll enable_ntdll
20670 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20671 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20672 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20673 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20674 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20675 wine_fn_config_makefile dlls/ntprint enable_ntprint
20676 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20677 wine_fn_config_makefile dlls/objsel enable_objsel
20678 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20679 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20680 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20681 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20682 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20683 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20684 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20685 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20686 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20687 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20688 wine_fn_config_makefile dlls/ole32 enable_ole32
20689 wine_fn_config_makefile dlls/ole32/tests enable_tests
20690 wine_fn_config_makefile dlls/oleacc enable_oleacc
20691 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20692 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20693 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20694 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20695 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20696 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20697 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20698 wine_fn_config_makefile dlls/oledlg enable_oledlg
20699 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20700 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20701 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20702 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20703 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20704 wine_fn_config_makefile dlls/opcservices enable_opcservices
20705 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20706 wine_fn_config_makefile dlls/openal32 enable_openal32
20707 wine_fn_config_makefile dlls/opencl enable_opencl
20708 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20709 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20710 wine_fn_config_makefile dlls/packager enable_packager
20711 wine_fn_config_makefile dlls/packager/tests enable_tests
20712 wine_fn_config_makefile dlls/pdh enable_pdh
20713 wine_fn_config_makefile dlls/pdh/tests enable_tests
20714 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20715 wine_fn_config_makefile dlls/pidgen enable_pidgen
20716 wine_fn_config_makefile dlls/powrprof enable_powrprof
20717 wine_fn_config_makefile dlls/printui enable_printui
20718 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20719 wine_fn_config_makefile dlls/propsys enable_propsys
20720 wine_fn_config_makefile dlls/propsys/tests enable_tests
20721 wine_fn_config_makefile dlls/psapi enable_psapi
20722 wine_fn_config_makefile dlls/psapi/tests enable_tests
20723 wine_fn_config_makefile dlls/pstorec enable_pstorec
20724 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20725 wine_fn_config_makefile dlls/qcap enable_qcap
20726 wine_fn_config_makefile dlls/qcap/tests enable_tests
20727 wine_fn_config_makefile dlls/qedit enable_qedit
20728 wine_fn_config_makefile dlls/qedit/tests enable_tests
20729 wine_fn_config_makefile dlls/qmgr enable_qmgr
20730 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20731 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20732 wine_fn_config_makefile dlls/quartz enable_quartz
20733 wine_fn_config_makefile dlls/quartz/tests enable_tests
20734 wine_fn_config_makefile dlls/query enable_query
20735 wine_fn_config_makefile dlls/qwave enable_qwave
20736 wine_fn_config_makefile dlls/qwave/tests enable_tests
20737 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20738 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20739 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20740 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20741 wine_fn_config_makefile dlls/regapi enable_regapi
20742 wine_fn_config_makefile dlls/resutils enable_resutils
20743 wine_fn_config_makefile dlls/riched20 enable_riched20
20744 wine_fn_config_makefile dlls/riched20/tests enable_tests
20745 wine_fn_config_makefile dlls/riched32 enable_riched32
20746 wine_fn_config_makefile dlls/riched32/tests enable_tests
20747 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20748 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20749 wine_fn_config_makefile dlls/rsabase enable_rsabase
20750 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20751 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20752 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20753 wine_fn_config_makefile dlls/rtutils enable_rtutils
20754 wine_fn_config_makefile dlls/samlib enable_samlib
20755 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20756 wine_fn_config_makefile dlls/sapi enable_sapi
20757 wine_fn_config_makefile dlls/sapi/tests enable_tests
20758 wine_fn_config_makefile dlls/sas enable_sas
20759 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20760 wine_fn_config_makefile dlls/sccbase enable_sccbase
20761 wine_fn_config_makefile dlls/schannel enable_schannel
20762 wine_fn_config_makefile dlls/schannel/tests enable_tests
20763 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20764 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20765 wine_fn_config_makefile dlls/scrobj enable_scrobj
20766 wine_fn_config_makefile dlls/scrrun enable_scrrun
20767 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20768 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20769 wine_fn_config_makefile dlls/secur32 enable_secur32
20770 wine_fn_config_makefile dlls/secur32/tests enable_tests
20771 wine_fn_config_makefile dlls/security enable_security
20772 wine_fn_config_makefile dlls/sensapi enable_sensapi
20773 wine_fn_config_makefile dlls/serialui enable_serialui
20774 wine_fn_config_makefile dlls/serialui/tests enable_tests
20775 wine_fn_config_makefile dlls/setupapi enable_setupapi
20776 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20777 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20778 wine_fn_config_makefile dlls/sfc enable_sfc
20779 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20780 wine_fn_config_makefile dlls/shcore enable_shcore
20781 wine_fn_config_makefile dlls/shcore/tests enable_tests
20782 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20783 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20784 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20785 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20786 wine_fn_config_makefile dlls/shell32 enable_shell32
20787 wine_fn_config_makefile dlls/shell32/tests enable_tests
20788 wine_fn_config_makefile dlls/shfolder enable_shfolder
20789 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20790 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20791 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20792 wine_fn_config_makefile dlls/slc enable_slc
20793 wine_fn_config_makefile dlls/slc/tests enable_tests
20794 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20795 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20796 wine_fn_config_makefile dlls/softpub enable_softpub
20797 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20798 wine_fn_config_makefile dlls/spoolss enable_spoolss
20799 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20800 wine_fn_config_makefile dlls/srclient enable_srclient
20801 wine_fn_config_makefile dlls/sspicli enable_sspicli
20802 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20803 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20804 wine_fn_config_makefile dlls/sti enable_sti
20805 wine_fn_config_makefile dlls/sti/tests enable_tests
20806 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20807 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20808 wine_fn_config_makefile dlls/strmbase enable_strmbase
20809 wine_fn_config_makefile dlls/strmdll enable_strmdll
20810 wine_fn_config_makefile dlls/strmiids enable_strmiids
20811 wine_fn_config_makefile dlls/svrapi enable_svrapi
20812 wine_fn_config_makefile dlls/sxs enable_sxs
20813 wine_fn_config_makefile dlls/sxs/tests enable_tests
20814 wine_fn_config_makefile dlls/system.drv16 enable_win16
20815 wine_fn_config_makefile dlls/t2embed enable_t2embed
20816 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20817 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20818 wine_fn_config_makefile dlls/taskschd enable_taskschd
20819 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20820 wine_fn_config_makefile dlls/tdh enable_tdh
20821 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20822 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20823 wine_fn_config_makefile dlls/traffic enable_traffic
20824 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20825 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20826 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20827 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20828 wine_fn_config_makefile dlls/tzres enable_tzres
20829 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20830 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20831 wine_fn_config_makefile dlls/uianimation enable_uianimation
20832 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20833 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20834 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20835 wine_fn_config_makefile dlls/unicows enable_unicows
20836 wine_fn_config_makefile dlls/updspapi enable_updspapi
20837 wine_fn_config_makefile dlls/url enable_url
20838 wine_fn_config_makefile dlls/urlmon enable_urlmon
20839 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20840 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20841 wine_fn_config_makefile dlls/user.exe16 enable_win16
20842 wine_fn_config_makefile dlls/user32 enable_user32
20843 wine_fn_config_makefile dlls/user32/tests enable_tests
20844 wine_fn_config_makefile dlls/userenv enable_userenv
20845 wine_fn_config_makefile dlls/userenv/tests enable_tests
20846 wine_fn_config_makefile dlls/usp10 enable_usp10
20847 wine_fn_config_makefile dlls/usp10/tests enable_tests
20848 wine_fn_config_makefile dlls/utildll enable_utildll
20849 wine_fn_config_makefile dlls/uuid enable_uuid
20850 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20851 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20852 wine_fn_config_makefile dlls/vbscript enable_vbscript
20853 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20854 wine_fn_config_makefile dlls/vcomp enable_vcomp
20855 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20856 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20857 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20858 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20859 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20860 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20861 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20862 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20863 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20864 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20865 wine_fn_config_makefile dlls/version enable_version
20866 wine_fn_config_makefile dlls/version/tests enable_tests
20867 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20868 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20869 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20870 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20871 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20872 wine_fn_config_makefile dlls/vssapi enable_vssapi
20873 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20874 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20875 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20876 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20877 wine_fn_config_makefile dlls/w32skrnl enable_win16
20878 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20879 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20880 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20881 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20882 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20883 wine_fn_config_makefile dlls/wdscore enable_wdscore
20884 wine_fn_config_makefile dlls/webservices enable_webservices
20885 wine_fn_config_makefile dlls/webservices/tests enable_tests
20886 wine_fn_config_makefile dlls/wer enable_wer
20887 wine_fn_config_makefile dlls/wer/tests enable_tests
20888 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20889 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20890 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20891 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20892 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20893 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20894 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20895 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20896 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20897 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20898 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20899 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20900 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20901 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20902 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20903 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20904 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20905 wine_fn_config_makefile dlls/wined3d enable_wined3d
20906 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20907 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20908 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20909 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20910 wine_fn_config_makefile dlls/winemapi enable_winemapi
20911 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20912 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20913 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20914 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20915 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20916 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20917 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20918 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20919 wine_fn_config_makefile dlls/wing32 enable_wing32
20920 wine_fn_config_makefile dlls/winhttp enable_winhttp
20921 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20922 wine_fn_config_makefile dlls/wininet enable_wininet
20923 wine_fn_config_makefile dlls/wininet/tests enable_tests
20924 wine_fn_config_makefile dlls/winmm enable_winmm
20925 wine_fn_config_makefile dlls/winmm/tests enable_tests
20926 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20927 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20928 wine_fn_config_makefile dlls/winscard enable_winscard
20929 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20930 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20931 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20932 wine_fn_config_makefile dlls/winsta enable_winsta
20933 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20934 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20935 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20936 wine_fn_config_makefile dlls/wintrust enable_wintrust
20937 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20938 wine_fn_config_makefile dlls/winusb enable_winusb
20939 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20940 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20941 wine_fn_config_makefile dlls/wlanui enable_wlanui
20942 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20943 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20944 wine_fn_config_makefile dlls/wmasf enable_wmasf
20945 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20946 wine_fn_config_makefile dlls/wmi enable_wmi
20947 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20948 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20949 wine_fn_config_makefile dlls/wmp enable_wmp
20950 wine_fn_config_makefile dlls/wmp/tests enable_tests
20951 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20952 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20953 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20954 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20955 wine_fn_config_makefile dlls/wow32 enable_win16
20956 wine_fn_config_makefile dlls/wpc enable_wpc
20957 wine_fn_config_makefile dlls/wpc/tests enable_tests
20958 wine_fn_config_makefile dlls/wpcap enable_wpcap
20959 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20960 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20961 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20962 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20963 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20964 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20965 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20966 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20967 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20968 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20969 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20970 wine_fn_config_makefile dlls/wuapi enable_wuapi
20971 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20972 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20973 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20974 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20975 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20976 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20977 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20978 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20979 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20980 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20981 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20982 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20983 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20984 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20985 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20986 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20987 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20988 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20989 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20990 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20991 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20992 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20993 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20994 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20995 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20996 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20997 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20998 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20999 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21000 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21001 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21002 wine_fn_config_makefile dlls/xmllite enable_xmllite
21003 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21004 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21005 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21006 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21007 wine_fn_config_makefile fonts enable_fonts
21008 wine_fn_config_makefile include enable_include
21009 wine_fn_config_makefile libs/port enable_port
21010 wine_fn_config_makefile libs/wine enable_wine
21011 wine_fn_config_makefile libs/wpp enable_wpp
21012 wine_fn_config_makefile loader enable_loader
21013 wine_fn_config_makefile po enable_po
21014 wine_fn_config_makefile programs/arp enable_arp
21015 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21016 wine_fn_config_makefile programs/attrib enable_attrib
21017 wine_fn_config_makefile programs/cabarc enable_cabarc
21018 wine_fn_config_makefile programs/cacls enable_cacls
21019 wine_fn_config_makefile programs/clock enable_clock
21020 wine_fn_config_makefile programs/cmd enable_cmd
21021 wine_fn_config_makefile programs/cmd/tests enable_tests
21022 wine_fn_config_makefile programs/conhost enable_conhost
21023 wine_fn_config_makefile programs/control enable_control
21024 wine_fn_config_makefile programs/cscript enable_cscript
21025 wine_fn_config_makefile programs/dism enable_dism
21026 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21027 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21028 wine_fn_config_makefile programs/eject enable_eject
21029 wine_fn_config_makefile programs/expand enable_expand
21030 wine_fn_config_makefile programs/explorer enable_explorer
21031 wine_fn_config_makefile programs/extrac32 enable_extrac32
21032 wine_fn_config_makefile programs/fc enable_fc
21033 wine_fn_config_makefile programs/find enable_find
21034 wine_fn_config_makefile programs/find/tests enable_tests
21035 wine_fn_config_makefile programs/findstr enable_findstr
21036 wine_fn_config_makefile programs/fsutil enable_fsutil
21037 wine_fn_config_makefile programs/hh enable_hh
21038 wine_fn_config_makefile programs/hostname enable_hostname
21039 wine_fn_config_makefile programs/icacls enable_icacls
21040 wine_fn_config_makefile programs/icinfo enable_icinfo
21041 wine_fn_config_makefile programs/iexplore enable_iexplore
21042 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21043 wine_fn_config_makefile programs/lodctr enable_lodctr
21044 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21045 wine_fn_config_makefile programs/mshta enable_mshta
21046 wine_fn_config_makefile programs/msidb enable_msidb
21047 wine_fn_config_makefile programs/msiexec enable_msiexec
21048 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21049 wine_fn_config_makefile programs/net enable_net
21050 wine_fn_config_makefile programs/netsh enable_netsh
21051 wine_fn_config_makefile programs/netstat enable_netstat
21052 wine_fn_config_makefile programs/ngen enable_ngen
21053 wine_fn_config_makefile programs/notepad enable_notepad
21054 wine_fn_config_makefile programs/oleview enable_oleview
21055 wine_fn_config_makefile programs/ping enable_ping
21056 wine_fn_config_makefile programs/plugplay enable_plugplay
21057 wine_fn_config_makefile programs/powershell enable_powershell
21058 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21059 wine_fn_config_makefile programs/progman enable_progman
21060 wine_fn_config_makefile programs/reg enable_reg
21061 wine_fn_config_makefile programs/reg/tests enable_tests
21062 wine_fn_config_makefile programs/regasm enable_regasm
21063 wine_fn_config_makefile programs/regedit enable_regedit
21064 wine_fn_config_makefile programs/regedit/tests enable_tests
21065 wine_fn_config_makefile programs/regini enable_regini
21066 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21067 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21068 wine_fn_config_makefile programs/rpcss enable_rpcss
21069 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21070 wine_fn_config_makefile programs/rundll32 enable_rundll32
21071 wine_fn_config_makefile programs/sc enable_sc
21072 wine_fn_config_makefile programs/schtasks enable_schtasks
21073 wine_fn_config_makefile programs/schtasks/tests enable_tests
21074 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21075 wine_fn_config_makefile programs/secedit enable_secedit
21076 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21077 wine_fn_config_makefile programs/services enable_services
21078 wine_fn_config_makefile programs/services/tests enable_tests
21079 wine_fn_config_makefile programs/shutdown enable_shutdown
21080 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21081 wine_fn_config_makefile programs/start enable_start
21082 wine_fn_config_makefile programs/subst enable_subst
21083 wine_fn_config_makefile programs/svchost enable_svchost
21084 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21085 wine_fn_config_makefile programs/taskkill enable_taskkill
21086 wine_fn_config_makefile programs/tasklist enable_tasklist
21087 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21088 wine_fn_config_makefile programs/termsv enable_termsv
21089 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21090 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21091 wine_fn_config_makefile programs/view enable_view
21092 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21093 wine_fn_config_makefile programs/wineboot enable_wineboot
21094 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21095 wine_fn_config_makefile programs/winecfg enable_winecfg
21096 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21097 wine_fn_config_makefile programs/winedbg enable_winedbg
21098 wine_fn_config_makefile programs/winedevice enable_winedevice
21099 wine_fn_config_makefile programs/winefile enable_winefile
21100 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21101 wine_fn_config_makefile programs/winemine enable_winemine
21102 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21103 wine_fn_config_makefile programs/winepath enable_winepath
21104 wine_fn_config_makefile programs/winetest enable_winetest
21105 wine_fn_config_makefile programs/winevdm enable_win16
21106 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21107 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21108 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21109 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21110 wine_fn_config_makefile programs/winver enable_winver
21111 wine_fn_config_makefile programs/wmic enable_wmic
21112 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21113 wine_fn_config_makefile programs/wordpad enable_wordpad
21114 wine_fn_config_makefile programs/write enable_write
21115 wine_fn_config_makefile programs/wscript enable_wscript
21116 wine_fn_config_makefile programs/wscript/tests enable_tests
21117 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21118 wine_fn_config_makefile programs/wusa enable_wusa
21119 wine_fn_config_makefile programs/xcopy enable_xcopy
21120 wine_fn_config_makefile programs/xcopy/tests enable_tests
21121 wine_fn_config_makefile server enable_server
21122 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21126 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21128 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21129 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21133 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21134 wine_fn_append_file CONFIGURE_TARGETS "tags"
21135 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21136 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21137 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21138 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21139 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21140 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21142 if test "x$enable_tools" != xno
21143 then
21144 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21145 ac_config_commands="$ac_config_commands tools/makedep"
21149 ac_config_commands="$ac_config_commands Makefile"
21152 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21156 if test "x$enable_maintainer_mode" = xyes
21157 then
21158 wine_fn_append_rule "configure: configure.ac aclocal.m4
21159 autoconf --warnings=all
21160 include/config.h.in: include/stamp-h.in
21161 include/stamp-h.in: configure.ac aclocal.m4
21162 autoheader --warnings=all
21163 @echo timestamp > \$@"
21166 if test "x$enable_tools" != xno
21167 then
21168 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21169 @./config.status tools/makedep
21170 Makefile: tools/makedep$ac_exeext
21171 fonts: tools/sfnt2fon
21172 include: tools tools/widl"
21173 else
21174 wine_fn_append_rule "\$(MAKEDEP):
21175 @echo \"You need to run make in $TOOLSDIR first\" && false"
21178 if test -n "$with_wine64"
21179 then
21180 case "$with_wine64" in
21181 /*) reldir="" ;;
21182 *) reldir="../" ;;
21183 esac
21184 rm -f fonts server 2>/dev/null
21185 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21186 loader/wine64 loader/wine64-preloader:
21187 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21188 $with_wine64/loader/wine:
21189 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21190 $with_wine64/loader/wine-preloader:
21191 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21192 clean::
21193 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21194 else
21195 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21196 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21197 fonts \
21198 loader/l_intl.nls \
21199 loader/wine.inf \
21200 loader/winehid.inf \
21201 programs/msidb/msidb \
21202 programs/msiexec/msiexec \
21203 programs/notepad/notepad \
21204 programs/regedit/regedit \
21205 programs/regsvr32/regsvr32 \
21206 programs/wineboot/wineboot \
21207 programs/winecfg/winecfg \
21208 programs/wineconsole/wineconsole \
21209 programs/winedbg/winedbg \
21210 programs/winefile/winefile \
21211 programs/winemine/winemine \
21212 programs/winepath/winepath \
21213 server/wineserver"
21215 case $host_os in
21216 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21217 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21218 esac
21221 $as_echo " done" >&6
21222 cat >confcache <<\_ACEOF
21223 # This file is a shell script that caches the results of configure
21224 # tests run on this system so they can be shared between configure
21225 # scripts and configure runs, see configure's option --config-cache.
21226 # It is not useful on other systems. If it contains results you don't
21227 # want to keep, you may remove or edit it.
21229 # config.status only pays attention to the cache file if you give it
21230 # the --recheck option to rerun configure.
21232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21234 # following values.
21236 _ACEOF
21238 # The following way of writing the cache mishandles newlines in values,
21239 # but we know of no workaround that is simple, portable, and efficient.
21240 # So, we kill variables containing newlines.
21241 # Ultrix sh set writes to stderr and can't be redirected directly,
21242 # and sets the high bit in the cache file unless we assign to the vars.
21244 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21245 eval ac_val=\$$ac_var
21246 case $ac_val in #(
21247 *${as_nl}*)
21248 case $ac_var in #(
21249 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21250 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21251 esac
21252 case $ac_var in #(
21253 _ | IFS | as_nl) ;; #(
21254 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21255 *) { eval $ac_var=; unset $ac_var;} ;;
21256 esac ;;
21257 esac
21258 done
21260 (set) 2>&1 |
21261 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21262 *${as_nl}ac_space=\ *)
21263 # `set' does not quote correctly, so add quotes: double-quote
21264 # substitution turns \\\\ into \\, and sed turns \\ into \.
21265 sed -n \
21266 "s/'/'\\\\''/g;
21267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21268 ;; #(
21270 # `set' quotes correctly as required by POSIX, so do not add quotes.
21271 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21273 esac |
21274 sort
21276 sed '
21277 /^ac_cv_env_/b end
21278 t clear
21279 :clear
21280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21281 t end
21282 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21283 :end' >>confcache
21284 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21285 if test -w "$cache_file"; then
21286 if test "x$cache_file" != "x/dev/null"; then
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21288 $as_echo "$as_me: updating cache $cache_file" >&6;}
21289 if test ! -f "$cache_file" || test -h "$cache_file"; then
21290 cat confcache >"$cache_file"
21291 else
21292 case $cache_file in #(
21293 */* | ?:*)
21294 mv -f confcache "$cache_file"$$ &&
21295 mv -f "$cache_file"$$ "$cache_file" ;; #(
21297 mv -f confcache "$cache_file" ;;
21298 esac
21301 else
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21303 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21306 rm -f confcache
21308 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21309 # Let make expand exec_prefix.
21310 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21312 DEFS=-DHAVE_CONFIG_H
21314 ac_libobjs=
21315 ac_ltlibobjs=
21317 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21318 # 1. Remove the extension, and $U if already installed.
21319 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21320 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21321 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21322 # will be set to the directory where LIBOBJS objects are built.
21323 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21324 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21325 done
21326 LIBOBJS=$ac_libobjs
21328 LTLIBOBJS=$ac_ltlibobjs
21332 : "${CONFIG_STATUS=./config.status}"
21333 ac_write_fail=0
21334 ac_clean_files_save=$ac_clean_files
21335 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21337 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21338 as_write_fail=0
21339 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21340 #! $SHELL
21341 # Generated by $as_me.
21342 # Run this file to recreate the current configuration.
21343 # Compiler output produced by configure, useful for debugging
21344 # configure, is in config.log if it exists.
21346 debug=false
21347 ac_cs_recheck=false
21348 ac_cs_silent=false
21350 SHELL=\${CONFIG_SHELL-$SHELL}
21351 export SHELL
21352 _ASEOF
21353 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21354 ## -------------------- ##
21355 ## M4sh Initialization. ##
21356 ## -------------------- ##
21358 # Be more Bourne compatible
21359 DUALCASE=1; export DUALCASE # for MKS sh
21360 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21361 emulate sh
21362 NULLCMD=:
21363 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21364 # is contrary to our usage. Disable this feature.
21365 alias -g '${1+"$@"}'='"$@"'
21366 setopt NO_GLOB_SUBST
21367 else
21368 case `(set -o) 2>/dev/null` in #(
21369 *posix*) :
21370 set -o posix ;; #(
21371 *) :
21373 esac
21377 as_nl='
21379 export as_nl
21380 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21381 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21382 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21383 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21384 # Prefer a ksh shell builtin over an external printf program on Solaris,
21385 # but without wasting forks for bash or zsh.
21386 if test -z "$BASH_VERSION$ZSH_VERSION" \
21387 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21388 as_echo='print -r --'
21389 as_echo_n='print -rn --'
21390 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21391 as_echo='printf %s\n'
21392 as_echo_n='printf %s'
21393 else
21394 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21395 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21396 as_echo_n='/usr/ucb/echo -n'
21397 else
21398 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21399 as_echo_n_body='eval
21400 arg=$1;
21401 case $arg in #(
21402 *"$as_nl"*)
21403 expr "X$arg" : "X\\(.*\\)$as_nl";
21404 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21405 esac;
21406 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21408 export as_echo_n_body
21409 as_echo_n='sh -c $as_echo_n_body as_echo'
21411 export as_echo_body
21412 as_echo='sh -c $as_echo_body as_echo'
21415 # The user is always right.
21416 if test "${PATH_SEPARATOR+set}" != set; then
21417 PATH_SEPARATOR=:
21418 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21419 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21420 PATH_SEPARATOR=';'
21425 # IFS
21426 # We need space, tab and new line, in precisely that order. Quoting is
21427 # there to prevent editors from complaining about space-tab.
21428 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21429 # splitting by setting IFS to empty value.)
21430 IFS=" "" $as_nl"
21432 # Find who we are. Look in the path if we contain no directory separator.
21433 as_myself=
21434 case $0 in #((
21435 *[\\/]* ) as_myself=$0 ;;
21436 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21437 for as_dir in $PATH
21439 IFS=$as_save_IFS
21440 test -z "$as_dir" && as_dir=.
21441 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21442 done
21443 IFS=$as_save_IFS
21446 esac
21447 # We did not find ourselves, most probably we were run as `sh COMMAND'
21448 # in which case we are not to be found in the path.
21449 if test "x$as_myself" = x; then
21450 as_myself=$0
21452 if test ! -f "$as_myself"; then
21453 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21454 exit 1
21457 # Unset variables that we do not need and which cause bugs (e.g. in
21458 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21459 # suppresses any "Segmentation fault" message there. '((' could
21460 # trigger a bug in pdksh 5.2.14.
21461 for as_var in BASH_ENV ENV MAIL MAILPATH
21462 do eval test x\${$as_var+set} = xset \
21463 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21464 done
21465 PS1='$ '
21466 PS2='> '
21467 PS4='+ '
21469 # NLS nuisances.
21470 LC_ALL=C
21471 export LC_ALL
21472 LANGUAGE=C
21473 export LANGUAGE
21475 # CDPATH.
21476 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21479 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21480 # ----------------------------------------
21481 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21482 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21483 # script with STATUS, using 1 if that was 0.
21484 as_fn_error ()
21486 as_status=$1; test $as_status -eq 0 && as_status=1
21487 if test "$4"; then
21488 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21489 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21491 $as_echo "$as_me: error: $2" >&2
21492 as_fn_exit $as_status
21493 } # as_fn_error
21496 # as_fn_set_status STATUS
21497 # -----------------------
21498 # Set $? to STATUS, without forking.
21499 as_fn_set_status ()
21501 return $1
21502 } # as_fn_set_status
21504 # as_fn_exit STATUS
21505 # -----------------
21506 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21507 as_fn_exit ()
21509 set +e
21510 as_fn_set_status $1
21511 exit $1
21512 } # as_fn_exit
21514 # as_fn_unset VAR
21515 # ---------------
21516 # Portably unset VAR.
21517 as_fn_unset ()
21519 { eval $1=; unset $1;}
21521 as_unset=as_fn_unset
21522 # as_fn_append VAR VALUE
21523 # ----------------------
21524 # Append the text in VALUE to the end of the definition contained in VAR. Take
21525 # advantage of any shell optimizations that allow amortized linear growth over
21526 # repeated appends, instead of the typical quadratic growth present in naive
21527 # implementations.
21528 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21529 eval 'as_fn_append ()
21531 eval $1+=\$2
21533 else
21534 as_fn_append ()
21536 eval $1=\$$1\$2
21538 fi # as_fn_append
21540 # as_fn_arith ARG...
21541 # ------------------
21542 # Perform arithmetic evaluation on the ARGs, and store the result in the
21543 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21544 # must be portable across $(()) and expr.
21545 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21546 eval 'as_fn_arith ()
21548 as_val=$(( $* ))
21550 else
21551 as_fn_arith ()
21553 as_val=`expr "$@" || test $? -eq 1`
21555 fi # as_fn_arith
21558 if expr a : '\(a\)' >/dev/null 2>&1 &&
21559 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21560 as_expr=expr
21561 else
21562 as_expr=false
21565 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21566 as_basename=basename
21567 else
21568 as_basename=false
21571 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21572 as_dirname=dirname
21573 else
21574 as_dirname=false
21577 as_me=`$as_basename -- "$0" ||
21578 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21579 X"$0" : 'X\(//\)$' \| \
21580 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21581 $as_echo X/"$0" |
21582 sed '/^.*\/\([^/][^/]*\)\/*$/{
21583 s//\1/
21586 /^X\/\(\/\/\)$/{
21587 s//\1/
21590 /^X\/\(\/\).*/{
21591 s//\1/
21594 s/.*/./; q'`
21596 # Avoid depending upon Character Ranges.
21597 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21598 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21599 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21600 as_cr_digits='0123456789'
21601 as_cr_alnum=$as_cr_Letters$as_cr_digits
21603 ECHO_C= ECHO_N= ECHO_T=
21604 case `echo -n x` in #(((((
21605 -n*)
21606 case `echo 'xy\c'` in
21607 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21608 xy) ECHO_C='\c';;
21609 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21610 ECHO_T=' ';;
21611 esac;;
21613 ECHO_N='-n';;
21614 esac
21616 rm -f conf$$ conf$$.exe conf$$.file
21617 if test -d conf$$.dir; then
21618 rm -f conf$$.dir/conf$$.file
21619 else
21620 rm -f conf$$.dir
21621 mkdir conf$$.dir 2>/dev/null
21623 if (echo >conf$$.file) 2>/dev/null; then
21624 if ln -s conf$$.file conf$$ 2>/dev/null; then
21625 as_ln_s='ln -s'
21626 # ... but there are two gotchas:
21627 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21628 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21629 # In both cases, we have to default to `cp -pR'.
21630 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21631 as_ln_s='cp -pR'
21632 elif ln conf$$.file conf$$ 2>/dev/null; then
21633 as_ln_s=ln
21634 else
21635 as_ln_s='cp -pR'
21637 else
21638 as_ln_s='cp -pR'
21640 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21641 rmdir conf$$.dir 2>/dev/null
21644 # as_fn_mkdir_p
21645 # -------------
21646 # Create "$as_dir" as a directory, including parents if necessary.
21647 as_fn_mkdir_p ()
21650 case $as_dir in #(
21651 -*) as_dir=./$as_dir;;
21652 esac
21653 test -d "$as_dir" || eval $as_mkdir_p || {
21654 as_dirs=
21655 while :; do
21656 case $as_dir in #(
21657 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21658 *) as_qdir=$as_dir;;
21659 esac
21660 as_dirs="'$as_qdir' $as_dirs"
21661 as_dir=`$as_dirname -- "$as_dir" ||
21662 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21663 X"$as_dir" : 'X\(//\)[^/]' \| \
21664 X"$as_dir" : 'X\(//\)$' \| \
21665 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21666 $as_echo X"$as_dir" |
21667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21668 s//\1/
21671 /^X\(\/\/\)[^/].*/{
21672 s//\1/
21675 /^X\(\/\/\)$/{
21676 s//\1/
21679 /^X\(\/\).*/{
21680 s//\1/
21683 s/.*/./; q'`
21684 test -d "$as_dir" && break
21685 done
21686 test -z "$as_dirs" || eval "mkdir $as_dirs"
21687 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21690 } # as_fn_mkdir_p
21691 if mkdir -p . 2>/dev/null; then
21692 as_mkdir_p='mkdir -p "$as_dir"'
21693 else
21694 test -d ./-p && rmdir ./-p
21695 as_mkdir_p=false
21699 # as_fn_executable_p FILE
21700 # -----------------------
21701 # Test if FILE is an executable regular file.
21702 as_fn_executable_p ()
21704 test -f "$1" && test -x "$1"
21705 } # as_fn_executable_p
21706 as_test_x='test -x'
21707 as_executable_p=as_fn_executable_p
21709 # Sed expression to map a string onto a valid CPP name.
21710 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21712 # Sed expression to map a string onto a valid variable name.
21713 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21716 exec 6>&1
21717 ## ----------------------------------- ##
21718 ## Main body of $CONFIG_STATUS script. ##
21719 ## ----------------------------------- ##
21720 _ASEOF
21721 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21724 # Save the log message, to keep $0 and so on meaningful, and to
21725 # report actual input values of CONFIG_FILES etc. instead of their
21726 # values after options handling.
21727 ac_log="
21728 This file was extended by Wine $as_me 4.15, which was
21729 generated by GNU Autoconf 2.69. Invocation command line was
21731 CONFIG_FILES = $CONFIG_FILES
21732 CONFIG_HEADERS = $CONFIG_HEADERS
21733 CONFIG_LINKS = $CONFIG_LINKS
21734 CONFIG_COMMANDS = $CONFIG_COMMANDS
21735 $ $0 $@
21737 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21740 _ACEOF
21742 case $ac_config_files in *"
21743 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21744 esac
21746 case $ac_config_headers in *"
21747 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21748 esac
21751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21752 # Files that config.status was made for.
21753 config_files="$ac_config_files"
21754 config_headers="$ac_config_headers"
21755 config_links="$ac_config_links"
21756 config_commands="$ac_config_commands"
21758 _ACEOF
21760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21761 ac_cs_usage="\
21762 \`$as_me' instantiates files and other configuration actions
21763 from templates according to the current configuration. Unless the files
21764 and actions are specified as TAGs, all are instantiated by default.
21766 Usage: $0 [OPTION]... [TAG]...
21768 -h, --help print this help, then exit
21769 -V, --version print version number and configuration settings, then exit
21770 --config print configuration, then exit
21771 -q, --quiet, --silent
21772 do not print progress messages
21773 -d, --debug don't remove temporary files
21774 --recheck update $as_me by reconfiguring in the same conditions
21775 --file=FILE[:TEMPLATE]
21776 instantiate the configuration file FILE
21777 --header=FILE[:TEMPLATE]
21778 instantiate the configuration header FILE
21780 Configuration files:
21781 $config_files
21783 Configuration headers:
21784 $config_headers
21786 Configuration links:
21787 $config_links
21789 Configuration commands:
21790 $config_commands
21792 Report bugs to <wine-devel@winehq.org>.
21793 Wine home page: <https://www.winehq.org>."
21795 _ACEOF
21796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21797 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21798 ac_cs_version="\\
21799 Wine config.status 4.15
21800 configured by $0, generated by GNU Autoconf 2.69,
21801 with options \\"\$ac_cs_config\\"
21803 Copyright (C) 2012 Free Software Foundation, Inc.
21804 This config.status script is free software; the Free Software Foundation
21805 gives unlimited permission to copy, distribute and modify it."
21807 ac_pwd='$ac_pwd'
21808 srcdir='$srcdir'
21809 test -n "\$AWK" || AWK=awk
21810 _ACEOF
21812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21813 # The default lists apply if the user does not specify any file.
21814 ac_need_defaults=:
21815 while test $# != 0
21817 case $1 in
21818 --*=?*)
21819 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21820 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21821 ac_shift=:
21823 --*=)
21824 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21825 ac_optarg=
21826 ac_shift=:
21829 ac_option=$1
21830 ac_optarg=$2
21831 ac_shift=shift
21833 esac
21835 case $ac_option in
21836 # Handling of the options.
21837 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21838 ac_cs_recheck=: ;;
21839 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21840 $as_echo "$ac_cs_version"; exit ;;
21841 --config | --confi | --conf | --con | --co | --c )
21842 $as_echo "$ac_cs_config"; exit ;;
21843 --debug | --debu | --deb | --de | --d | -d )
21844 debug=: ;;
21845 --file | --fil | --fi | --f )
21846 $ac_shift
21847 case $ac_optarg in
21848 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21849 '') as_fn_error $? "missing file argument" ;;
21850 esac
21851 as_fn_append CONFIG_FILES " '$ac_optarg'"
21852 ac_need_defaults=false;;
21853 --header | --heade | --head | --hea )
21854 $ac_shift
21855 case $ac_optarg in
21856 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21857 esac
21858 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21859 ac_need_defaults=false;;
21860 --he | --h)
21861 # Conflict between --help and --header
21862 as_fn_error $? "ambiguous option: \`$1'
21863 Try \`$0 --help' for more information.";;
21864 --help | --hel | -h )
21865 $as_echo "$ac_cs_usage"; exit ;;
21866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21867 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21868 ac_cs_silent=: ;;
21870 # This is an error.
21871 -*) as_fn_error $? "unrecognized option: \`$1'
21872 Try \`$0 --help' for more information." ;;
21874 *) as_fn_append ac_config_targets " $1"
21875 ac_need_defaults=false ;;
21877 esac
21878 shift
21879 done
21881 ac_configure_extra_args=
21883 if $ac_cs_silent; then
21884 exec 6>/dev/null
21885 ac_configure_extra_args="$ac_configure_extra_args --silent"
21888 _ACEOF
21889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21890 if \$ac_cs_recheck; then
21891 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21892 shift
21893 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21894 CONFIG_SHELL='$SHELL'
21895 export CONFIG_SHELL
21896 exec "\$@"
21899 _ACEOF
21900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21901 exec 5>>config.log
21903 echo
21904 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21905 ## Running $as_me. ##
21906 _ASBOX
21907 $as_echo "$ac_log"
21908 } >&5
21910 _ACEOF
21911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21913 # INIT-COMMANDS
21915 wine_fn_output_makedep ()
21917 as_dir=tools; as_fn_mkdir_p
21918 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21920 wine_fn_output_makefile ()
21922 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21923 `cat $wine_rules_file`
21924 _WINE_EOF
21925 as_fn_error $? "could not create Makefile" "$LINENO" 5
21928 _ACEOF
21930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21932 # Handling of arguments.
21933 for ac_config_target in $ac_config_targets
21935 case $ac_config_target in
21936 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21937 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21938 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21939 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21940 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21941 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21942 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21943 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21944 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21945 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21946 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21947 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21948 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21950 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21951 esac
21952 done
21955 # If the user did not use the arguments to specify the items to instantiate,
21956 # then the envvar interface is used. Set only those that are not.
21957 # We use the long form for the default assignment because of an extremely
21958 # bizarre bug on SunOS 4.1.3.
21959 if $ac_need_defaults; then
21960 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21961 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21962 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21963 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21966 # Have a temporary directory for convenience. Make it in the build tree
21967 # simply because there is no reason against having it here, and in addition,
21968 # creating and moving files from /tmp can sometimes cause problems.
21969 # Hook for its removal unless debugging.
21970 # Note that there is a small window in which the directory will not be cleaned:
21971 # after its creation but before its name has been assigned to `$tmp'.
21972 $debug ||
21974 tmp= ac_tmp=
21975 trap 'exit_status=$?
21976 : "${ac_tmp:=$tmp}"
21977 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21979 trap 'as_fn_exit 1' 1 2 13 15
21981 # Create a (secure) tmp directory for tmp files.
21984 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21985 test -d "$tmp"
21986 } ||
21988 tmp=./conf$$-$RANDOM
21989 (umask 077 && mkdir "$tmp")
21990 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21991 ac_tmp=$tmp
21993 # Set up the scripts for CONFIG_FILES section.
21994 # No need to generate them if there are no CONFIG_FILES.
21995 # This happens for instance with `./config.status config.h'.
21996 if test -n "$CONFIG_FILES"; then
21999 ac_cr=`echo X | tr X '\015'`
22000 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22001 # But we know of no other shell where ac_cr would be empty at this
22002 # point, so we can use a bashism as a fallback.
22003 if test "x$ac_cr" = x; then
22004 eval ac_cr=\$\'\\r\'
22006 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22007 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22008 ac_cs_awk_cr='\\r'
22009 else
22010 ac_cs_awk_cr=$ac_cr
22013 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22014 _ACEOF
22018 echo "cat >conf$$subs.awk <<_ACEOF" &&
22019 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22020 echo "_ACEOF"
22021 } >conf$$subs.sh ||
22022 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22023 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22024 ac_delim='%!_!# '
22025 for ac_last_try in false false false false false :; do
22026 . ./conf$$subs.sh ||
22027 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22029 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22030 if test $ac_delim_n = $ac_delim_num; then
22031 break
22032 elif $ac_last_try; then
22033 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22034 else
22035 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22037 done
22038 rm -f conf$$subs.sh
22040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22041 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22042 _ACEOF
22043 sed -n '
22045 s/^/S["/; s/!.*/"]=/
22048 s/^[^!]*!//
22049 :repl
22050 t repl
22051 s/'"$ac_delim"'$//
22052 t delim
22055 s/\(.\{148\}\)..*/\1/
22056 t more1
22057 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22060 b repl
22061 :more1
22062 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22065 s/.\{148\}//
22066 t nl
22067 :delim
22069 s/\(.\{148\}\)..*/\1/
22070 t more2
22071 s/["\\]/\\&/g; s/^/"/; s/$/"/
22074 :more2
22075 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22078 s/.\{148\}//
22079 t delim
22080 ' <conf$$subs.awk | sed '
22081 /^[^""]/{
22083 s/\n//
22085 ' >>$CONFIG_STATUS || ac_write_fail=1
22086 rm -f conf$$subs.awk
22087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22088 _ACAWK
22089 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22090 for (key in S) S_is_set[key] = 1
22091 FS = "\a"
22095 line = $ 0
22096 nfields = split(line, field, "@")
22097 substed = 0
22098 len = length(field[1])
22099 for (i = 2; i < nfields; i++) {
22100 key = field[i]
22101 keylen = length(key)
22102 if (S_is_set[key]) {
22103 value = S[key]
22104 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22105 len += length(value) + length(field[++i])
22106 substed = 1
22107 } else
22108 len += 1 + keylen
22111 print line
22114 _ACAWK
22115 _ACEOF
22116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22117 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22118 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22119 else
22121 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22122 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22123 _ACEOF
22125 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22126 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22127 # trailing colons and then remove the whole line if VPATH becomes empty
22128 # (actually we leave an empty line to preserve line numbers).
22129 if test "x$srcdir" = x.; then
22130 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22132 s///
22133 s/^/:/
22134 s/[ ]*$/:/
22135 s/:\$(srcdir):/:/g
22136 s/:\${srcdir}:/:/g
22137 s/:@srcdir@:/:/g
22138 s/^:*//
22139 s/:*$//
22141 s/\(=[ ]*\).*/\1/
22143 s/\n//
22144 s/^[^=]*=[ ]*$//
22148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22149 fi # test -n "$CONFIG_FILES"
22151 # Set up the scripts for CONFIG_HEADERS section.
22152 # No need to generate them if there are no CONFIG_HEADERS.
22153 # This happens for instance with `./config.status Makefile'.
22154 if test -n "$CONFIG_HEADERS"; then
22155 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22156 BEGIN {
22157 _ACEOF
22159 # Transform confdefs.h into an awk script `defines.awk', embedded as
22160 # here-document in config.status, that substitutes the proper values into
22161 # config.h.in to produce config.h.
22163 # Create a delimiter string that does not exist in confdefs.h, to ease
22164 # handling of long lines.
22165 ac_delim='%!_!# '
22166 for ac_last_try in false false :; do
22167 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22168 if test -z "$ac_tt"; then
22169 break
22170 elif $ac_last_try; then
22171 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22172 else
22173 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22175 done
22177 # For the awk script, D is an array of macro values keyed by name,
22178 # likewise P contains macro parameters if any. Preserve backslash
22179 # newline sequences.
22181 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22182 sed -n '
22183 s/.\{148\}/&'"$ac_delim"'/g
22184 t rset
22185 :rset
22186 s/^[ ]*#[ ]*define[ ][ ]*/ /
22187 t def
22189 :def
22190 s/\\$//
22191 t bsnl
22192 s/["\\]/\\&/g
22193 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22194 D["\1"]=" \3"/p
22195 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22197 :bsnl
22198 s/["\\]/\\&/g
22199 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22200 D["\1"]=" \3\\\\\\n"\\/p
22201 t cont
22202 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22203 t cont
22205 :cont
22207 s/.\{148\}/&'"$ac_delim"'/g
22208 t clear
22209 :clear
22210 s/\\$//
22211 t bsnlc
22212 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22214 :bsnlc
22215 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22216 b cont
22217 ' <confdefs.h | sed '
22218 s/'"$ac_delim"'/"\\\
22219 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22222 for (key in D) D_is_set[key] = 1
22223 FS = "\a"
22225 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22226 line = \$ 0
22227 split(line, arg, " ")
22228 if (arg[1] == "#") {
22229 defundef = arg[2]
22230 mac1 = arg[3]
22231 } else {
22232 defundef = substr(arg[1], 2)
22233 mac1 = arg[2]
22235 split(mac1, mac2, "(") #)
22236 macro = mac2[1]
22237 prefix = substr(line, 1, index(line, defundef) - 1)
22238 if (D_is_set[macro]) {
22239 # Preserve the white space surrounding the "#".
22240 print prefix "define", macro P[macro] D[macro]
22241 next
22242 } else {
22243 # Replace #undef with comments. This is necessary, for example,
22244 # in the case of _POSIX_SOURCE, which is predefined and required
22245 # on some systems where configure will not decide to define it.
22246 if (defundef == "undef") {
22247 print "/*", prefix defundef, macro, "*/"
22248 next
22252 { print }
22253 _ACAWK
22254 _ACEOF
22255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22256 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22257 fi # test -n "$CONFIG_HEADERS"
22260 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22261 shift
22262 for ac_tag
22264 case $ac_tag in
22265 :[FHLC]) ac_mode=$ac_tag; continue;;
22266 esac
22267 case $ac_mode$ac_tag in
22268 :[FHL]*:*);;
22269 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22270 :[FH]-) ac_tag=-:-;;
22271 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22272 esac
22273 ac_save_IFS=$IFS
22274 IFS=:
22275 set x $ac_tag
22276 IFS=$ac_save_IFS
22277 shift
22278 ac_file=$1
22279 shift
22281 case $ac_mode in
22282 :L) ac_source=$1;;
22283 :[FH])
22284 ac_file_inputs=
22285 for ac_f
22287 case $ac_f in
22288 -) ac_f="$ac_tmp/stdin";;
22289 *) # Look for the file first in the build tree, then in the source tree
22290 # (if the path is not absolute). The absolute path cannot be DOS-style,
22291 # because $ac_f cannot contain `:'.
22292 test -f "$ac_f" ||
22293 case $ac_f in
22294 [\\/$]*) false;;
22295 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22296 esac ||
22297 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22298 esac
22299 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22300 as_fn_append ac_file_inputs " '$ac_f'"
22301 done
22303 # Let's still pretend it is `configure' which instantiates (i.e., don't
22304 # use $as_me), people would be surprised to read:
22305 # /* config.h. Generated by config.status. */
22306 configure_input='Generated from '`
22307 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22308 `' by configure.'
22309 if test x"$ac_file" != x-; then
22310 configure_input="$ac_file. $configure_input"
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22312 $as_echo "$as_me: creating $ac_file" >&6;}
22314 # Neutralize special characters interpreted by sed in replacement strings.
22315 case $configure_input in #(
22316 *\&* | *\|* | *\\* )
22317 ac_sed_conf_input=`$as_echo "$configure_input" |
22318 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22319 *) ac_sed_conf_input=$configure_input;;
22320 esac
22322 case $ac_tag in
22323 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22324 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22325 esac
22327 esac
22329 ac_dir=`$as_dirname -- "$ac_file" ||
22330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22331 X"$ac_file" : 'X\(//\)[^/]' \| \
22332 X"$ac_file" : 'X\(//\)$' \| \
22333 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22334 $as_echo X"$ac_file" |
22335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22336 s//\1/
22339 /^X\(\/\/\)[^/].*/{
22340 s//\1/
22343 /^X\(\/\/\)$/{
22344 s//\1/
22347 /^X\(\/\).*/{
22348 s//\1/
22351 s/.*/./; q'`
22352 as_dir="$ac_dir"; as_fn_mkdir_p
22353 ac_builddir=.
22355 case "$ac_dir" in
22356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22358 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22359 # A ".." for each directory in $ac_dir_suffix.
22360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22361 case $ac_top_builddir_sub in
22362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22364 esac ;;
22365 esac
22366 ac_abs_top_builddir=$ac_pwd
22367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22368 # for backward compatibility:
22369 ac_top_builddir=$ac_top_build_prefix
22371 case $srcdir in
22372 .) # We are building in place.
22373 ac_srcdir=.
22374 ac_top_srcdir=$ac_top_builddir_sub
22375 ac_abs_top_srcdir=$ac_pwd ;;
22376 [\\/]* | ?:[\\/]* ) # Absolute name.
22377 ac_srcdir=$srcdir$ac_dir_suffix;
22378 ac_top_srcdir=$srcdir
22379 ac_abs_top_srcdir=$srcdir ;;
22380 *) # Relative name.
22381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22382 ac_top_srcdir=$ac_top_build_prefix$srcdir
22383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22384 esac
22385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22388 case $ac_mode in
22391 # CONFIG_FILE
22394 _ACEOF
22396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22397 # If the template does not know about datarootdir, expand it.
22398 # FIXME: This hack should be removed a few years after 2.60.
22399 ac_datarootdir_hack=; ac_datarootdir_seen=
22400 ac_sed_dataroot='
22401 /datarootdir/ {
22405 /@datadir@/p
22406 /@docdir@/p
22407 /@infodir@/p
22408 /@localedir@/p
22409 /@mandir@/p'
22410 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22411 *datarootdir*) ac_datarootdir_seen=yes;;
22412 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22414 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22415 _ACEOF
22416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22417 ac_datarootdir_hack='
22418 s&@datadir@&$datadir&g
22419 s&@docdir@&$docdir&g
22420 s&@infodir@&$infodir&g
22421 s&@localedir@&$localedir&g
22422 s&@mandir@&$mandir&g
22423 s&\\\${datarootdir}&$datarootdir&g' ;;
22424 esac
22425 _ACEOF
22427 # Neutralize VPATH when `$srcdir' = `.'.
22428 # Shell code in configure.ac might set extrasub.
22429 # FIXME: do we really want to maintain this feature?
22430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22431 ac_sed_extra="$ac_vpsub
22432 $extrasub
22433 _ACEOF
22434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22436 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22437 s|@configure_input@|$ac_sed_conf_input|;t t
22438 s&@top_builddir@&$ac_top_builddir_sub&;t t
22439 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22440 s&@srcdir@&$ac_srcdir&;t t
22441 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22442 s&@top_srcdir@&$ac_top_srcdir&;t t
22443 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22444 s&@builddir@&$ac_builddir&;t t
22445 s&@abs_builddir@&$ac_abs_builddir&;t t
22446 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22447 $ac_datarootdir_hack
22449 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22450 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22452 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22453 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22454 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22455 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22457 which seems to be undefined. Please make sure it is defined" >&5
22458 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22459 which seems to be undefined. Please make sure it is defined" >&2;}
22461 rm -f "$ac_tmp/stdin"
22462 case $ac_file in
22463 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22464 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22465 esac \
22466 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22470 # CONFIG_HEADER
22472 if test x"$ac_file" != x-; then
22474 $as_echo "/* $configure_input */" \
22475 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22476 } >"$ac_tmp/config.h" \
22477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22478 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22480 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22481 else
22482 rm -f "$ac_file"
22483 mv "$ac_tmp/config.h" "$ac_file" \
22484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22486 else
22487 $as_echo "/* $configure_input */" \
22488 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22489 || as_fn_error $? "could not create -" "$LINENO" 5
22494 # CONFIG_LINK
22497 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22499 else
22500 # Prefer the file from the source tree if names are identical.
22501 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22502 ac_source=$srcdir/$ac_source
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22506 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22508 if test ! -r "$ac_source"; then
22509 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22511 rm -f "$ac_file"
22513 # Try a relative symlink, then a hard link, then a copy.
22514 case $ac_source in
22515 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22516 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22517 esac
22518 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22519 ln "$ac_source" "$ac_file" 2>/dev/null ||
22520 cp -p "$ac_source" "$ac_file" ||
22521 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22524 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22525 $as_echo "$as_me: executing $ac_file commands" >&6;}
22527 esac
22530 case $ac_file$ac_mode in
22531 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22532 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22533 "Makefile":C) wine_fn_output_makefile Makefile ;;
22535 esac
22536 done # for ac_tag
22539 as_fn_exit 0
22540 _ACEOF
22541 ac_clean_files=$ac_clean_files_save
22543 test $ac_write_fail = 0 ||
22544 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22547 # configure is writing to config.log, and then calls config.status.
22548 # config.status does its own redirection, appending to config.log.
22549 # Unfortunately, on DOS this fails, as config.log is still kept open
22550 # by configure, so config.status won't be able to write to it; its
22551 # output is simply discarded. So we exec the FD to /dev/null,
22552 # effectively closing config.log, so it can be properly (re)opened and
22553 # appended to by config.status. When coming back to configure, we
22554 # need to make the FD available again.
22555 if test "$no_create" != yes; then
22556 ac_cs_success=:
22557 ac_config_status_args=
22558 test "$silent" = yes &&
22559 ac_config_status_args="$ac_config_status_args --quiet"
22560 exec 5>/dev/null
22561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22562 exec 5>>config.log
22563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22564 # would make configure fail if this is the last instruction.
22565 $ac_cs_success || as_fn_exit 1
22567 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22569 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22573 if test "$no_create" = "yes"
22574 then
22575 exit 0
22578 ac_save_IFS="$IFS"
22579 if test "x$wine_notices" != x; then
22580 echo >&6
22581 IFS="|"
22582 for msg in $wine_notices; do
22583 IFS="$ac_save_IFS"
22584 if ${msg:+false} :; then :
22586 else
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22588 $as_echo "$as_me: $msg" >&6;}
22590 done
22592 IFS="|"
22593 for msg in $wine_warnings; do
22594 IFS="$ac_save_IFS"
22595 if ${msg:+false} :; then :
22597 else
22598 echo >&2
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22600 $as_echo "$as_me: WARNING: $msg" >&2;}
22602 done
22603 IFS="$ac_save_IFS"
22605 $as_echo "
22606 $as_me: Finished. Do '${ac_make}' to compile Wine.
22607 " >&6