wined3d: More accurately determine whether a separate sRGB texture is required.
[wine.git] / configure
blob5ed6ed6c26d9877d741a22beb4a25ff07ed5fdbe
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.16.
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.16'
584 PACKAGE_STRING='Wine 4.16'
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.16 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.16:";;
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.16
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.16, 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/lib32/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_cflags__fPIC__shared__Wl__Bsymbolic=yes
9322 else
9323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9328 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9329 ac_cv_c_dll_gnuelf="yes"
9330 else
9331 ac_cv_c_dll_gnuelf="no"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9335 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9336 if test "$ac_cv_c_dll_gnuelf" = "yes"
9337 then
9338 LIBWINE_LDFLAGS="-shared"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9340 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9341 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 int main(int argc, char **argv) { return 0; }
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9352 else
9353 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 CFLAGS=$ac_wine_try_cflags_saved
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9360 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9361 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9362 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9363 else
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9391 echo '{ global: *; };' >conftest.map
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9393 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9394 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9405 else
9406 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9413 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9414 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9415 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9417 rm -f conftest.map
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9420 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9421 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9428 int main(int argc, char **argv) { return 0; }
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_cflags__Wl___export_dynamic=yes
9432 else
9433 ac_cv_cflags__Wl___export_dynamic=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 CFLAGS=$ac_wine_try_cflags_saved
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9440 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9441 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9442 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9444 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9446 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9449 if eval \${$as_ac_var+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 eval "$as_ac_var=yes"
9460 else
9461 eval "$as_ac_var=no"
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 eval ac_res=\$$as_ac_var
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9469 $as_echo "$ac_res" >&6; }
9470 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9471 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9472 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9473 else
9474 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9476 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9477 if eval \${$as_ac_var+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_wine_try_cflags_saved=$CFLAGS
9481 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484 int main(int argc, char **argv) { return 0; }
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 eval "$as_ac_var=yes"
9488 else
9489 eval "$as_ac_var=no"
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 eval ac_res=\$$as_ac_var
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9497 $as_echo "$ac_res" >&6; }
9498 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9499 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9500 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9505 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9506 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_cflags__Wl___enable_new_dtags=yes
9517 else
9518 ac_cv_cflags__Wl___enable_new_dtags=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9525 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9526 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9527 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9530 case $host_cpu in
9531 *i[3456789]86* | x86_64 | *aarch64*)
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9533 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9534 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9545 else
9546 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9553 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9554 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9555 case $host_os in
9556 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9557 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9558 esac
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9561 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9562 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 int main(int argc, char **argv) { return 0; }
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9573 else
9574 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9581 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9582 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9583 case $host_os in
9584 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9585 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9586 esac
9588 # Extract the first word of "prelink", so it can be a program name with args.
9589 set dummy prelink; ac_word=$2
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9591 $as_echo_n "checking for $ac_word... " >&6; }
9592 if ${ac_cv_path_PRELINK+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 case $PRELINK in
9596 [\\/]* | ?:[\\/]*)
9597 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 for as_dir in /sbin /usr/sbin $PATH
9603 IFS=$as_save_IFS
9604 test -z "$as_dir" && as_dir=.
9605 for ac_exec_ext in '' $ac_executable_extensions; do
9606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9607 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 break 2
9611 done
9612 done
9613 IFS=$as_save_IFS
9615 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9617 esac
9619 PRELINK=$ac_cv_path_PRELINK
9620 if test -n "$PRELINK"; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9622 $as_echo "$PRELINK" >&6; }
9623 else
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9625 $as_echo "no" >&6; }
9629 if test "x$PRELINK" = xfalse
9630 then
9631 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9635 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9636 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_wine_try_cflags_saved=$CFLAGS
9640 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9643 int main(int argc, char **argv) { return 0; }
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9647 else
9648 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 CFLAGS=$ac_wine_try_cflags_saved
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9655 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9656 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9657 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9660 esac
9662 else
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9664 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9665 if ${ac_cv_c_dll_unixware+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 ac_wine_try_cflags_saved=$CFLAGS
9669 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9672 void myfunc() {}
9673 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
9675 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9676 else
9677 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 CFLAGS=$ac_wine_try_cflags_saved
9682 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9683 ac_cv_c_dll_unixware="yes"
9684 else
9685 ac_cv_c_dll_unixware="no"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9689 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9690 if test "$ac_cv_c_dll_unixware" = "yes"
9691 then
9692 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9695 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9697 LIBWINE_DEPENDS="wine.map"
9699 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9700 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9702 esac
9704 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9705 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9706 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9707 enable_winemac_drv=${enable_winemac_drv:-no}
9708 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9710 CROSSTARGET=""
9712 if test "x$with_mingw" != xno
9713 then
9714 case "x$with_mingw" in
9715 x|xyes) case "$host_cpu" in
9716 aarch64*)
9717 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9718 arm*)
9719 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9720 i[3456789]86*)
9721 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
9722 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9723 mingw32-gcc" ;;
9724 x86_64)
9725 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
9726 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9728 ac_prefix_list="" ;;
9729 esac
9730 for ac_prog in $ac_prefix_list
9732 # Extract the first word of "$ac_prog", so it can be a program name with args.
9733 set dummy $ac_prog; ac_word=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9735 $as_echo_n "checking for $ac_word... " >&6; }
9736 if ${ac_cv_prog_CROSSCC+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 if test -n "$CROSSCC"; then
9740 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9741 else
9742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9743 for as_dir in $PATH
9745 IFS=$as_save_IFS
9746 test -z "$as_dir" && as_dir=.
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_CROSSCC="$ac_prog"
9750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9751 break 2
9753 done
9754 done
9755 IFS=$as_save_IFS
9759 CROSSCC=$ac_cv_prog_CROSSCC
9760 if test -n "$CROSSCC"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9762 $as_echo "$CROSSCC" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 $as_echo "no" >&6; }
9769 test -n "$CROSSCC" && break
9770 done
9771 test -n "$CROSSCC" || CROSSCC="false"
9773 *) CROSSCC=$with_mingw ;;
9774 esac
9775 if test "$CROSSCC" != "false"
9776 then
9777 ac_save_CC="$CC"
9778 saved_CFLAGS=$CFLAGS
9779 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9781 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9784 CC="$CROSSCC"
9785 CFLAGS=$CROSSCFLAGS
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9787 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9788 if ${wine_cv_crosscc+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main ()
9799 return 0;
9801 _ACEOF
9802 if ac_fn_c_try_compile "$LINENO"; then :
9803 wine_cv_crosscc=yes
9804 else
9805 wine_cv_crosscc=no
9807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9810 $as_echo "$wine_cv_crosscc" >&6; }
9811 if test $wine_cv_crosscc = yes
9812 then
9813 set x $CROSSCC
9814 shift
9815 while test $# -ge 1
9817 case "$1" in
9818 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9819 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9820 esac
9821 shift
9822 done
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9825 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9826 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_wine_try_cflags_saved=$CFLAGS
9830 ac_wine_try_cflags_saved_cc=$CC
9831 ac_wine_try_cflags_saved_exeext=$ac_exeext
9832 CFLAGS="$CFLAGS -fno-strict-aliasing"
9833 CC="$CROSSCC"
9834 ac_exeext=".exe"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9837 int main(int argc, char **argv) { return 0; }
9838 _ACEOF
9839 if ac_fn_c_try_link "$LINENO"; then :
9840 ac_cv_crosscflags__fno_strict_aliasing=yes
9841 else
9842 ac_cv_crosscflags__fno_strict_aliasing=no
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 CFLAGS=$ac_wine_try_cflags_saved
9847 CC=$ac_wine_try_cflags_saved_cc
9848 ac_exeext=$ac_wine_try_cflags_saved_exeext
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9851 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9852 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9853 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9856 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9857 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_wine_try_cflags_saved=$CFLAGS
9861 ac_wine_try_cflags_saved_cc=$CC
9862 ac_wine_try_cflags_saved_exeext=$ac_exeext
9863 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9864 CC="$CROSSCC"
9865 ac_exeext=".exe"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 int main(int argc, char **argv) { return 0; }
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9872 else
9873 ac_cv_crosscflags__Werror_unknown_warning_option=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CFLAGS=$ac_wine_try_cflags_saved
9878 CC=$ac_wine_try_cflags_saved_cc
9879 ac_exeext=$ac_wine_try_cflags_saved_exeext
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9882 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9883 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9884 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9887 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9888 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 ac_wine_try_cflags_saved_cc=$CC
9893 ac_wine_try_cflags_saved_exeext=$ac_exeext
9894 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9895 CC="$CROSSCC"
9896 ac_exeext=".exe"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 int main(int argc, char **argv) { return 0; }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9903 else
9904 ac_cv_crosscflags__Wdeclaration_after_statement=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 CFLAGS=$ac_wine_try_cflags_saved
9909 CC=$ac_wine_try_cflags_saved_cc
9910 ac_exeext=$ac_wine_try_cflags_saved_exeext
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9913 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9914 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9915 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9918 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9919 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 ac_wine_try_cflags_saved_cc=$CC
9924 ac_wine_try_cflags_saved_exeext=$ac_exeext
9925 CFLAGS="$CFLAGS -Wempty-body"
9926 CC="$CROSSCC"
9927 ac_exeext=".exe"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 int main(int argc, char **argv) { return 0; }
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_crosscflags__Wempty_body=yes
9934 else
9935 ac_cv_crosscflags__Wempty_body=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9940 CC=$ac_wine_try_cflags_saved_cc
9941 ac_exeext=$ac_wine_try_cflags_saved_exeext
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9944 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9945 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9946 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9949 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9950 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_wine_try_cflags_saved=$CFLAGS
9954 ac_wine_try_cflags_saved_cc=$CC
9955 ac_wine_try_cflags_saved_exeext=$ac_exeext
9956 CFLAGS="$CFLAGS -Wignored-qualifiers"
9957 CC="$CROSSCC"
9958 ac_exeext=".exe"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int main(int argc, char **argv) { return 0; }
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_crosscflags__Wignored_qualifiers=yes
9965 else
9966 ac_cv_crosscflags__Wignored_qualifiers=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9971 CC=$ac_wine_try_cflags_saved_cc
9972 ac_exeext=$ac_wine_try_cflags_saved_exeext
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9975 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9976 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9977 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9980 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9981 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 ac_wine_try_cflags_saved_cc=$CC
9986 ac_wine_try_cflags_saved_exeext=$ac_exeext
9987 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9988 CC="$CROSSCC"
9989 ac_exeext=".exe"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 int main(int argc, char **argv) { return 0; }
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_crosscflags__Wpacked_not_aligned=yes
9996 else
9997 ac_cv_crosscflags__Wpacked_not_aligned=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 CFLAGS=$ac_wine_try_cflags_saved
10002 CC=$ac_wine_try_cflags_saved_cc
10003 ac_exeext=$ac_wine_try_cflags_saved_exeext
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10006 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10007 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10008 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10011 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10012 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_wine_try_cflags_saved=$CFLAGS
10016 ac_wine_try_cflags_saved_cc=$CC
10017 ac_wine_try_cflags_saved_exeext=$ac_exeext
10018 CFLAGS="$CFLAGS -Wpragma-pack"
10019 CC="$CROSSCC"
10020 ac_exeext=".exe"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 int main(int argc, char **argv) { return 0; }
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_crosscflags__Wpragma_pack=yes
10027 else
10028 ac_cv_crosscflags__Wpragma_pack=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 CFLAGS=$ac_wine_try_cflags_saved
10033 CC=$ac_wine_try_cflags_saved_cc
10034 ac_exeext=$ac_wine_try_cflags_saved_exeext
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10037 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10038 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10039 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10042 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10043 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10044 $as_echo_n "(cached) " >&6
10045 else
10046 ac_wine_try_cflags_saved=$CFLAGS
10047 ac_wine_try_cflags_saved_cc=$CC
10048 ac_wine_try_cflags_saved_exeext=$ac_exeext
10049 CFLAGS="$CFLAGS -Wshift-overflow=2"
10050 CC="$CROSSCC"
10051 ac_exeext=".exe"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 int main(int argc, char **argv) { return 0; }
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_crosscflags__Wshift_overflow_2=yes
10058 else
10059 ac_cv_crosscflags__Wshift_overflow_2=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 CFLAGS=$ac_wine_try_cflags_saved
10064 CC=$ac_wine_try_cflags_saved_cc
10065 ac_exeext=$ac_wine_try_cflags_saved_exeext
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10068 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10069 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10070 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10073 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10074 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 ac_wine_try_cflags_saved_cc=$CC
10079 ac_wine_try_cflags_saved_exeext=$ac_exeext
10080 CFLAGS="$CFLAGS -Wstrict-prototypes"
10081 CC="$CROSSCC"
10082 ac_exeext=".exe"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10085 int main(int argc, char **argv) { return 0; }
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_crosscflags__Wstrict_prototypes=yes
10089 else
10090 ac_cv_crosscflags__Wstrict_prototypes=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 CFLAGS=$ac_wine_try_cflags_saved
10095 CC=$ac_wine_try_cflags_saved_cc
10096 ac_exeext=$ac_wine_try_cflags_saved_exeext
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10099 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10100 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10101 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10104 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10105 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 ac_wine_try_cflags_saved_cc=$CC
10110 ac_wine_try_cflags_saved_exeext=$ac_exeext
10111 CFLAGS="$CFLAGS -Wtype-limits"
10112 CC="$CROSSCC"
10113 ac_exeext=".exe"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int main(int argc, char **argv) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_crosscflags__Wtype_limits=yes
10120 else
10121 ac_cv_crosscflags__Wtype_limits=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10126 CC=$ac_wine_try_cflags_saved_cc
10127 ac_exeext=$ac_wine_try_cflags_saved_exeext
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10130 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10131 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10132 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10135 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10136 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 ac_wine_try_cflags_saved_cc=$CC
10141 ac_wine_try_cflags_saved_exeext=$ac_exeext
10142 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10143 CC="$CROSSCC"
10144 ac_exeext=".exe"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10147 int main(int argc, char **argv) { return 0; }
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10151 else
10152 ac_cv_crosscflags__Wunused_but_set_parameter=no
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10157 CC=$ac_wine_try_cflags_saved_cc
10158 ac_exeext=$ac_wine_try_cflags_saved_exeext
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10161 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10162 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10163 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10166 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10167 if ${ac_cv_crosscflags__Wvla+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 ac_wine_try_cflags_saved_cc=$CC
10172 ac_wine_try_cflags_saved_exeext=$ac_exeext
10173 CFLAGS="$CFLAGS -Wvla"
10174 CC="$CROSSCC"
10175 ac_exeext=".exe"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int main(int argc, char **argv) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_crosscflags__Wvla=yes
10182 else
10183 ac_cv_crosscflags__Wvla=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10188 CC=$ac_wine_try_cflags_saved_cc
10189 ac_exeext=$ac_wine_try_cflags_saved_exeext
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10192 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10193 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10194 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10197 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10198 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 ac_wine_try_cflags_saved_cc=$CC
10203 ac_wine_try_cflags_saved_exeext=$ac_exeext
10204 CFLAGS="$CFLAGS -Wwrite-strings"
10205 CC="$CROSSCC"
10206 ac_exeext=".exe"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 int main(int argc, char **argv) { return 0; }
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_crosscflags__Wwrite_strings=yes
10213 else
10214 ac_cv_crosscflags__Wwrite_strings=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10219 CC=$ac_wine_try_cflags_saved_cc
10220 ac_exeext=$ac_wine_try_cflags_saved_exeext
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10223 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10224 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10225 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10228 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10229 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 ac_wine_try_cflags_saved_cc=$CC
10234 ac_wine_try_cflags_saved_exeext=$ac_exeext
10235 CFLAGS="$CFLAGS -Wpointer-arith"
10236 CC="$CROSSCC"
10237 ac_exeext=".exe"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 int main(int argc, char **argv) { return 0; }
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_crosscflags__Wpointer_arith=yes
10244 else
10245 ac_cv_crosscflags__Wpointer_arith=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10250 CC=$ac_wine_try_cflags_saved_cc
10251 ac_exeext=$ac_wine_try_cflags_saved_exeext
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10254 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10255 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10256 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10259 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10260 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 ac_wine_try_cflags_saved_cc=$CC
10265 ac_wine_try_cflags_saved_exeext=$ac_exeext
10266 CFLAGS="$CFLAGS -Wlogical-op"
10267 CC="$CROSSCC"
10268 ac_exeext=".exe"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 int main(int argc, char **argv) { return 0; }
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 ac_cv_crosscflags__Wlogical_op=yes
10275 else
10276 ac_cv_crosscflags__Wlogical_op=no
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 CFLAGS=$ac_wine_try_cflags_saved
10281 CC=$ac_wine_try_cflags_saved_cc
10282 ac_exeext=$ac_wine_try_cflags_saved_exeext
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10285 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10286 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10290 case $host_cpu in
10291 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10292 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10293 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 ac_wine_try_cflags_saved_cc=$CC
10298 ac_wine_try_cflags_saved_exeext=$ac_exeext
10299 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10300 CC="$CROSSCC"
10301 ac_exeext=".exe"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 int main(int argc, char **argv) { return 0; }
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10308 else
10309 ac_cv_crosscflags__fno_omit_frame_pointer=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10314 CC=$ac_wine_try_cflags_saved_cc
10315 ac_exeext=$ac_wine_try_cflags_saved_exeext
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10318 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10319 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10320 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10321 fi ;;
10322 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10323 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10324 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 ac_wine_try_cflags_saved_cc=$CC
10329 ac_wine_try_cflags_saved_exeext=$ac_exeext
10330 CFLAGS="$CFLAGS -Wno-format"
10331 CC="$CROSSCC"
10332 ac_exeext=".exe"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10335 int main(int argc, char **argv) { return 0; }
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338 ac_cv_crosscflags__Wno_format=yes
10339 else
10340 ac_cv_crosscflags__Wno_format=no
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 CFLAGS=$ac_wine_try_cflags_saved
10345 CC=$ac_wine_try_cflags_saved_cc
10346 ac_exeext=$ac_wine_try_cflags_saved_exeext
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10349 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10350 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10351 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10352 fi ;;
10353 esac
10355 for ac_flag in $CROSSCFLAGS; do
10356 case $ac_flag in
10357 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10358 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10359 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 ac_wine_try_cflags_saved_cc=$CC
10364 ac_wine_try_cflags_saved_exeext=$ac_exeext
10365 CFLAGS="$CFLAGS -gdwarf-2"
10366 CC="$CROSSCC"
10367 ac_exeext=".exe"
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10370 int main(int argc, char **argv) { return 0; }
10371 _ACEOF
10372 if ac_fn_c_try_link "$LINENO"; then :
10373 ac_cv_crosscflags__gdwarf_2=yes
10374 else
10375 ac_cv_crosscflags__gdwarf_2=no
10377 rm -f core conftest.err conftest.$ac_objext \
10378 conftest$ac_exeext conftest.$ac_ext
10379 CFLAGS=$ac_wine_try_cflags_saved
10380 CC=$ac_wine_try_cflags_saved_cc
10381 ac_exeext=$ac_wine_try_cflags_saved_exeext
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10384 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10385 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10386 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10389 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10390 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 ac_wine_try_cflags_saved_cc=$CC
10395 ac_wine_try_cflags_saved_exeext=$ac_exeext
10396 CFLAGS="$CFLAGS -gstrict-dwarf"
10397 CC="$CROSSCC"
10398 ac_exeext=".exe"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10401 int main(int argc, char **argv) { return 0; }
10402 _ACEOF
10403 if ac_fn_c_try_link "$LINENO"; then :
10404 ac_cv_crosscflags__gstrict_dwarf=yes
10405 else
10406 ac_cv_crosscflags__gstrict_dwarf=no
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 CFLAGS=$ac_wine_try_cflags_saved
10411 CC=$ac_wine_try_cflags_saved_cc
10412 ac_exeext=$ac_wine_try_cflags_saved_exeext
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10415 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10416 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10417 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10418 fi ;;
10419 esac
10420 done
10422 if test "x$enable_maintainer_mode" = xyes
10423 then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10425 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10426 if ${ac_cv_crosscflags__Werror+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_wine_try_cflags_saved=$CFLAGS
10430 ac_wine_try_cflags_saved_cc=$CC
10431 ac_wine_try_cflags_saved_exeext=$ac_exeext
10432 CFLAGS="$CFLAGS -Werror"
10433 CC="$CROSSCC"
10434 ac_exeext=".exe"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 int main(int argc, char **argv) { return 0; }
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 ac_cv_crosscflags__Werror=yes
10441 else
10442 ac_cv_crosscflags__Werror=no
10444 rm -f core conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 CFLAGS=$ac_wine_try_cflags_saved
10447 CC=$ac_wine_try_cflags_saved_cc
10448 ac_exeext=$ac_wine_try_cflags_saved_exeext
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10451 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10452 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10457 CFLAGS=$saved_CFLAGS
10458 CC="$ac_save_CC"
10461 if test "x$CROSSTARGET" = "x"; then :
10462 case "x$with_mingw" in
10463 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10466 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10467 esac
10472 if test "$ac_cv_header_pthread_h" = "yes"
10473 then
10474 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10475 if test "x$ac_cv_func_pthread_create" = xyes; then :
10477 else
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10479 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10480 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10481 $as_echo_n "(cached) " >&6
10482 else
10483 ac_check_lib_save_LIBS=$LIBS
10484 LIBS="-lpthread $LIBS"
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10491 #ifdef __cplusplus
10492 extern "C"
10493 #endif
10494 char pthread_create ();
10496 main ()
10498 return pthread_create ();
10500 return 0;
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_lib_pthread_pthread_create=yes
10505 else
10506 ac_cv_lib_pthread_pthread_create=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10513 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10514 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10515 PTHREAD_LIBS="-lpthread"
10522 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10523 case "x$with_pthread" in
10524 xno) ;;
10525 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10526 Wine cannot support threads without libpthread.
10527 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10528 esac
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10534 $as_echo_n "checking for X... " >&6; }
10537 # Check whether --with-x was given.
10538 if test "${with_x+set}" = set; then :
10539 withval=$with_x;
10542 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10543 if test "x$with_x" = xno; then
10544 # The user explicitly disabled X.
10545 have_x=disabled
10546 else
10547 case $x_includes,$x_libraries in #(
10548 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10549 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10550 $as_echo_n "(cached) " >&6
10551 else
10552 # One or both of the vars are not set, and there is no cached value.
10553 ac_x_includes=no ac_x_libraries=no
10554 rm -f -r conftest.dir
10555 if mkdir conftest.dir; then
10556 cd conftest.dir
10557 cat >Imakefile <<'_ACEOF'
10558 incroot:
10559 @echo incroot='${INCROOT}'
10560 usrlibdir:
10561 @echo usrlibdir='${USRLIBDIR}'
10562 libdir:
10563 @echo libdir='${LIBDIR}'
10564 _ACEOF
10565 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10567 for ac_var in incroot usrlibdir libdir; do
10568 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10569 done
10570 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10571 for ac_extension in a so sl dylib la dll; do
10572 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10573 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10574 ac_im_usrlibdir=$ac_im_libdir; break
10576 done
10577 # Screen out bogus values from the imake configuration. They are
10578 # bogus both because they are the default anyway, and because
10579 # using them would break gcc on systems where it needs fixed includes.
10580 case $ac_im_incroot in
10581 /usr/include) ac_x_includes= ;;
10582 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10583 esac
10584 case $ac_im_usrlibdir in
10585 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10586 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10587 esac
10589 cd ..
10590 rm -f -r conftest.dir
10593 # Standard set of common directories for X headers.
10594 # Check X11 before X11Rn because it is often a symlink to the current release.
10595 ac_x_header_dirs='
10596 /usr/X11/include
10597 /usr/X11R7/include
10598 /usr/X11R6/include
10599 /usr/X11R5/include
10600 /usr/X11R4/include
10602 /usr/include/X11
10603 /usr/include/X11R7
10604 /usr/include/X11R6
10605 /usr/include/X11R5
10606 /usr/include/X11R4
10608 /usr/local/X11/include
10609 /usr/local/X11R7/include
10610 /usr/local/X11R6/include
10611 /usr/local/X11R5/include
10612 /usr/local/X11R4/include
10614 /usr/local/include/X11
10615 /usr/local/include/X11R7
10616 /usr/local/include/X11R6
10617 /usr/local/include/X11R5
10618 /usr/local/include/X11R4
10620 /usr/X386/include
10621 /usr/x386/include
10622 /usr/XFree86/include/X11
10624 /usr/include
10625 /usr/local/include
10626 /usr/unsupported/include
10627 /usr/athena/include
10628 /usr/local/x11r5/include
10629 /usr/lpp/Xamples/include
10631 /usr/openwin/include
10632 /usr/openwin/share/include'
10634 if test "$ac_x_includes" = no; then
10635 # Guess where to find include files, by looking for Xlib.h.
10636 # First, try using that file with no special directory specified.
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 #include <X11/Xlib.h>
10640 _ACEOF
10641 if ac_fn_c_try_cpp "$LINENO"; then :
10642 # We can compile using X headers with no special include directory.
10643 ac_x_includes=
10644 else
10645 for ac_dir in $ac_x_header_dirs; do
10646 if test -r "$ac_dir/X11/Xlib.h"; then
10647 ac_x_includes=$ac_dir
10648 break
10650 done
10652 rm -f conftest.err conftest.i conftest.$ac_ext
10653 fi # $ac_x_includes = no
10655 if test "$ac_x_libraries" = no; then
10656 # Check for the libraries.
10657 # See if we find them without any special options.
10658 # Don't add to $LIBS permanently.
10659 ac_save_LIBS=$LIBS
10660 LIBS="-lX11 $LIBS"
10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10663 #include <X11/Xlib.h>
10665 main ()
10667 XrmInitialize ()
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 LIBS=$ac_save_LIBS
10674 # We can link X programs with no special library path.
10675 ac_x_libraries=
10676 else
10677 LIBS=$ac_save_LIBS
10678 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10680 # Don't even attempt the hair of trying to link an X program!
10681 for ac_extension in a so sl dylib la dll; do
10682 if test -r "$ac_dir/libX11.$ac_extension"; then
10683 ac_x_libraries=$ac_dir
10684 break 2
10686 done
10687 done
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 fi # $ac_x_libraries = no
10693 case $ac_x_includes,$ac_x_libraries in #(
10694 no,* | *,no | *\'*)
10695 # Didn't find X, or a directory has "'" in its name.
10696 ac_cv_have_x="have_x=no";; #(
10698 # Record where we found X for the cache.
10699 ac_cv_have_x="have_x=yes\
10700 ac_x_includes='$ac_x_includes'\
10701 ac_x_libraries='$ac_x_libraries'"
10702 esac
10704 ;; #(
10705 *) have_x=yes;;
10706 esac
10707 eval "$ac_cv_have_x"
10708 fi # $with_x != no
10710 if test "$have_x" != yes; then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10712 $as_echo "$have_x" >&6; }
10713 no_x=yes
10714 else
10715 # If each of the values was on the command line, it overrides each guess.
10716 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10717 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10718 # Update the cache value to reflect the command line values.
10719 ac_cv_have_x="have_x=yes\
10720 ac_x_includes='$x_includes'\
10721 ac_x_libraries='$x_libraries'"
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10723 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10726 if test "$no_x" = yes; then
10727 # Not all programs may use this symbol, but it does not hurt to define it.
10729 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10731 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10732 else
10733 if test -n "$x_includes"; then
10734 X_CFLAGS="$X_CFLAGS -I$x_includes"
10737 # It would also be nice to do this for all -L options, not just this one.
10738 if test -n "$x_libraries"; then
10739 X_LIBS="$X_LIBS -L$x_libraries"
10740 # For Solaris; some versions of Sun CC require a space after -R and
10741 # others require no space. Words are not sufficient . . . .
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10743 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10744 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10745 ac_xsave_c_werror_flag=$ac_c_werror_flag
10746 ac_c_werror_flag=yes
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10751 main ()
10755 return 0;
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 $as_echo "no" >&6; }
10761 X_LIBS="$X_LIBS -R$x_libraries"
10762 else
10763 LIBS="$ac_xsave_LIBS -R $x_libraries"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10768 main ()
10772 return 0;
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"; then :
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10777 $as_echo "yes" >&6; }
10778 X_LIBS="$X_LIBS -R $x_libraries"
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10781 $as_echo "neither works" >&6; }
10783 rm -f core conftest.err conftest.$ac_objext \
10784 conftest$ac_exeext conftest.$ac_ext
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 ac_c_werror_flag=$ac_xsave_c_werror_flag
10789 LIBS=$ac_xsave_LIBS
10792 # Check for system-dependent libraries X programs must link with.
10793 # Do this before checking for the system-independent R6 libraries
10794 # (-lICE), since we may need -lsocket or whatever for X linking.
10796 if test "$ISC" = yes; then
10797 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10798 else
10799 # Martyn Johnson says this is needed for Ultrix, if the X
10800 # libraries were built with DECnet support. And Karl Berry says
10801 # the Alpha needs dnet_stub (dnet does not exist).
10802 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char XOpenDisplay ();
10814 main ()
10816 return XOpenDisplay ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10823 else
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10825 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10826 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-ldnet $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char dnet_ntoa ();
10842 main ()
10844 return dnet_ntoa ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_dnet_dnet_ntoa=yes
10851 else
10852 ac_cv_lib_dnet_dnet_ntoa=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10859 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10860 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10861 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10864 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10866 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10867 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10868 $as_echo_n "(cached) " >&6
10869 else
10870 ac_check_lib_save_LIBS=$LIBS
10871 LIBS="-ldnet_stub $LIBS"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10878 #ifdef __cplusplus
10879 extern "C"
10880 #endif
10881 char dnet_ntoa ();
10883 main ()
10885 return dnet_ntoa ();
10887 return 0;
10889 _ACEOF
10890 if ac_fn_c_try_link "$LINENO"; then :
10891 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10892 else
10893 ac_cv_lib_dnet_stub_dnet_ntoa=no
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10900 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10901 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10902 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS="$ac_xsave_LIBS"
10911 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10912 # to get the SysV transport functions.
10913 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10914 # needs -lnsl.
10915 # The nsl library prevents programs from opening the X display
10916 # on Irix 5.2, according to T.E. Dickey.
10917 # The functions gethostbyname, getservbyname, and inet_addr are
10918 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10919 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10920 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10924 if test $ac_cv_func_gethostbyname = no; then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10926 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10927 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lnsl $LIBS"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char gethostbyname ();
10943 main ()
10945 return gethostbyname ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 ac_cv_lib_nsl_gethostbyname=yes
10952 else
10953 ac_cv_lib_nsl_gethostbyname=no
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10960 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10961 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10962 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10965 if test $ac_cv_lib_nsl_gethostbyname = no; then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10967 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10968 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lbsd $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char gethostbyname ();
10984 main ()
10986 return gethostbyname ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_bsd_gethostbyname=yes
10993 else
10994 ac_cv_lib_bsd_gethostbyname=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11001 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11002 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11009 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11010 # socket/setsockopt and other routines are undefined under SCO ODT
11011 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11012 # on later versions), says Simon Leinen: it contains gethostby*
11013 # variants that don't use the name server (or something). -lsocket
11014 # must be given before -lnsl if both are needed. We assume that
11015 # if connect needs -lnsl, so does gethostbyname.
11016 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11017 if test "x$ac_cv_func_connect" = xyes; then :
11021 if test $ac_cv_func_connect = no; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11023 $as_echo_n "checking for connect in -lsocket... " >&6; }
11024 if ${ac_cv_lib_socket_connect+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char connect ();
11040 main ()
11042 return connect ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_socket_connect=yes
11049 else
11050 ac_cv_lib_socket_connect=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11057 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11058 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11059 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11064 # Guillermo Gomez says -lposix is necessary on A/UX.
11065 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11066 if test "x$ac_cv_func_remove" = xyes; then :
11070 if test $ac_cv_func_remove = no; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11072 $as_echo_n "checking for remove in -lposix... " >&6; }
11073 if ${ac_cv_lib_posix_remove+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_lib_save_LIBS=$LIBS
11077 LIBS="-lposix $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char remove ();
11089 main ()
11091 return remove ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 ac_cv_lib_posix_remove=yes
11098 else
11099 ac_cv_lib_posix_remove=no
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_lib_save_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11106 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11107 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11114 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11115 if test "x$ac_cv_func_shmat" = xyes; then :
11119 if test $ac_cv_func_shmat = no; then
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11121 $as_echo_n "checking for shmat in -lipc... " >&6; }
11122 if ${ac_cv_lib_ipc_shmat+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lipc $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char shmat ();
11138 main ()
11140 return shmat ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_ipc_shmat=yes
11147 else
11148 ac_cv_lib_ipc_shmat=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11155 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11156 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11163 # Check for libraries that X11R6 Xt/Xaw programs need.
11164 ac_save_LDFLAGS=$LDFLAGS
11165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11167 # check for ICE first), but we must link in the order -lSM -lICE or
11168 # we get undefined symbols. So assume we have SM if we have ICE.
11169 # These have to be linked with before -lX11, unlike the other
11170 # libraries we check for below, so use a different variable.
11171 # John Interrante, Karl Berry
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11173 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11174 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11175 $as_echo_n "(cached) " >&6
11176 else
11177 ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char IceConnectionNumber ();
11190 main ()
11192 return IceConnectionNumber ();
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_ICE_IceConnectionNumber=yes
11199 else
11200 ac_cv_lib_ICE_IceConnectionNumber=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11207 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11208 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11209 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11212 LDFLAGS=$ac_save_LDFLAGS
11217 if test "$have_x" = "yes"
11218 then
11219 ac_save_CPPFLAGS="$CPPFLAGS"
11220 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11223 $as_echo_n "checking for -lX11... " >&6; }
11224 if ${ac_cv_lib_soname_X11+:} false; then :
11225 $as_echo_n "(cached) " >&6
11226 else
11227 ac_check_soname_save_LIBS=$LIBS
11228 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11235 #ifdef __cplusplus
11236 extern "C"
11237 #endif
11238 char XCreateWindow ();
11240 main ()
11242 return XCreateWindow ();
11244 return 0;
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"; then :
11248 case "$LIBEXT" in
11249 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11250 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'` ;;
11251 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11252 if ${ac_cv_lib_soname_X11:+false} :; then :
11253 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11254 fi ;;
11255 esac
11256 else
11257 ac_cv_lib_soname_X11=
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_soname_save_LIBS
11263 if ${ac_cv_lib_soname_X11:+false} :; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11267 else
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11269 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11271 cat >>confdefs.h <<_ACEOF
11272 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11273 _ACEOF
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11278 $as_echo_n "checking for -lXext... " >&6; }
11279 if ${ac_cv_lib_soname_Xext+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_soname_save_LIBS=$LIBS
11283 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char XextCreateExtension ();
11295 main ()
11297 return XextCreateExtension ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 case "$LIBEXT" in
11304 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11305 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'` ;;
11306 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11307 if ${ac_cv_lib_soname_Xext:+false} :; then :
11308 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11309 fi ;;
11310 esac
11311 else
11312 ac_cv_lib_soname_Xext=
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_soname_save_LIBS
11318 if ${ac_cv_lib_soname_Xext:+false} :; then :
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11320 $as_echo "not found" >&6; }
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11324 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11326 cat >>confdefs.h <<_ACEOF
11327 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11328 _ACEOF
11330 X_LIBS="$X_LIBS -lXext"
11332 X_LIBS="$X_LIBS -lX11"
11334 for ac_header in X11/Xlib.h \
11335 X11/XKBlib.h \
11336 X11/Xutil.h \
11337 X11/Xcursor/Xcursor.h \
11338 X11/extensions/shape.h \
11339 X11/extensions/XInput.h \
11340 X11/extensions/XInput2.h \
11341 X11/extensions/XShm.h \
11342 X11/extensions/Xcomposite.h \
11343 X11/extensions/Xfixes.h \
11344 X11/extensions/Xinerama.h \
11345 X11/extensions/Xrandr.h \
11346 X11/extensions/Xrender.h \
11347 X11/extensions/xf86vmode.h \
11348 X11/extensions/xf86vmproto.h
11349 do :
11350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11352 # include <X11/Xlib.h>
11353 #endif
11354 #ifdef HAVE_X11_XUTIL_H
11355 # include <X11/Xutil.h>
11356 #endif
11358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11359 cat >>confdefs.h <<_ACEOF
11360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11361 _ACEOF
11365 done
11368 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11369 then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11371 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11372 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11373 $as_echo_n "(cached) " >&6
11374 else
11375 ac_check_lib_save_LIBS=$LIBS
11376 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char XkbQueryExtension ();
11388 main ()
11390 return XkbQueryExtension ();
11392 return 0;
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 ac_cv_lib_X11_XkbQueryExtension=yes
11397 else
11398 ac_cv_lib_X11_XkbQueryExtension=no
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11405 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11406 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11408 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11414 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11415 then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11417 $as_echo_n "checking for -lXcursor... " >&6; }
11418 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11419 $as_echo_n "(cached) " >&6
11420 else
11421 ac_check_soname_save_LIBS=$LIBS
11422 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11426 /* Override any GCC internal prototype to avoid an error.
11427 Use char because int might match the return type of a GCC
11428 builtin and then its argument prototype would still apply. */
11429 #ifdef __cplusplus
11430 extern "C"
11431 #endif
11432 char XcursorImageLoadCursor ();
11434 main ()
11436 return XcursorImageLoadCursor ();
11438 return 0;
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"; then :
11442 case "$LIBEXT" in
11443 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11444 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'` ;;
11445 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11446 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11447 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11448 fi ;;
11449 esac
11450 else
11451 ac_cv_lib_soname_Xcursor=
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_soname_save_LIBS
11457 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11459 $as_echo "not found" >&6; }
11461 else
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11463 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11465 cat >>confdefs.h <<_ACEOF
11466 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11467 _ACEOF
11472 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11473 case "x$with_xcursor" in
11474 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11475 xno) ;;
11476 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11477 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11478 esac
11482 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11483 then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11485 $as_echo_n "checking for -lXi... " >&6; }
11486 if ${ac_cv_lib_soname_Xi+:} false; then :
11487 $as_echo_n "(cached) " >&6
11488 else
11489 ac_check_soname_save_LIBS=$LIBS
11490 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char XOpenDevice ();
11502 main ()
11504 return XOpenDevice ();
11506 return 0;
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 case "$LIBEXT" in
11511 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11514 if ${ac_cv_lib_soname_Xi:+false} :; then :
11515 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11516 fi ;;
11517 esac
11518 else
11519 ac_cv_lib_soname_Xi=
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_Xi:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11531 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11535 _ACEOF
11540 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11541 case "x$with_xinput" in
11542 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11545 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11546 esac
11550 if test "x$ac_cv_lib_soname_Xi" != x
11551 then
11552 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11553 case "x$with_xinput2" in
11554 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11555 xno) ;;
11556 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11557 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11558 esac
11563 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11564 then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11566 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11567 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char XShmQueryExtension ();
11583 main ()
11585 return XShmQueryExtension ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 ac_cv_lib_Xext_XShmQueryExtension=yes
11592 else
11593 ac_cv_lib_Xext_XShmQueryExtension=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11600 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11601 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11603 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11608 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11609 case "x$with_xshm" in
11610 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11611 xno) ;;
11612 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11613 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11614 esac
11618 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11619 then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11621 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11622 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11623 $as_echo_n "(cached) " >&6
11624 else
11625 ac_check_lib_save_LIBS=$LIBS
11626 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char XShapeQueryExtension ();
11638 main ()
11640 return XShapeQueryExtension ();
11642 return 0;
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"; then :
11646 ac_cv_lib_Xext_XShapeQueryExtension=yes
11647 else
11648 ac_cv_lib_Xext_XShapeQueryExtension=no
11650 rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_lib_save_LIBS
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11655 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11656 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11658 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11663 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11664 case "x$with_xshape" in
11665 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11666 xno) ;;
11667 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11668 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11669 esac
11673 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11676 $as_echo_n "checking for -lXxf86vm... " >&6; }
11677 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_soname_save_LIBS=$LIBS
11681 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char XF86VidModeQueryExtension ();
11693 main ()
11695 return XF86VidModeQueryExtension ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 case "$LIBEXT" in
11702 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11703 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'` ;;
11704 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11705 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11706 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11707 fi ;;
11708 esac
11709 else
11710 ac_cv_lib_soname_Xxf86vm=
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11718 $as_echo "not found" >&6; }
11720 else
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11722 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11726 _ACEOF
11731 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11732 case "x$with_xxf86vm" in
11733 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11734 xno) ;;
11735 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11736 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11737 esac
11741 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11742 then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11744 $as_echo_n "checking for -lXrender... " >&6; }
11745 if ${ac_cv_lib_soname_Xrender+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char XRenderQueryExtension ();
11761 main ()
11763 return XRenderQueryExtension ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11773 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11774 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11777 else
11778 ac_cv_lib_soname_Xrender=
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_soname_save_LIBS
11784 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11786 $as_echo "not found" >&6; }
11788 else
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11790 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11792 cat >>confdefs.h <<_ACEOF
11793 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11794 _ACEOF
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11797 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11798 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char XRenderSetPictureTransform ();
11814 main ()
11816 return XRenderSetPictureTransform ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11823 else
11824 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11831 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11832 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11834 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11839 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11840 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_lib_save_LIBS=$LIBS
11844 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char XRenderCreateLinearGradient ();
11856 main ()
11858 return XRenderCreateLinearGradient ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11865 else
11866 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11868 rm -f core conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_lib_save_LIBS
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11873 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11874 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11876 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11883 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11884 case "x$with_xrender" in
11885 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11886 xno) ;;
11887 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11888 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11889 esac
11893 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11894 then
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 #include <X11/Xlib.h>
11898 #include <X11/extensions/Xrandr.h>
11900 main ()
11902 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11904 return 0;
11906 _ACEOF
11907 if ac_fn_c_try_compile "$LINENO"; then :
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11909 $as_echo_n "checking for -lXrandr... " >&6; }
11910 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11911 $as_echo_n "(cached) " >&6
11912 else
11913 ac_check_soname_save_LIBS=$LIBS
11914 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11918 /* Override any GCC internal prototype to avoid an error.
11919 Use char because int might match the return type of a GCC
11920 builtin and then its argument prototype would still apply. */
11921 #ifdef __cplusplus
11922 extern "C"
11923 #endif
11924 char XRRQueryExtension ();
11926 main ()
11928 return XRRQueryExtension ();
11930 return 0;
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"; then :
11934 case "$LIBEXT" in
11935 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11936 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'` ;;
11937 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11938 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11939 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11940 fi ;;
11941 esac
11942 else
11943 ac_cv_lib_soname_Xrandr=
11945 rm -f core conftest.err conftest.$ac_objext \
11946 conftest$ac_exeext conftest.$ac_ext
11947 LIBS=$ac_check_soname_save_LIBS
11949 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11951 $as_echo "not found" >&6; }
11953 else
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11955 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11957 cat >>confdefs.h <<_ACEOF
11958 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11959 _ACEOF
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 #include <X11/Xlib.h>
11964 #include <X11/extensions/Xrandr.h>
11966 main ()
11968 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11970 return 0;
11972 _ACEOF
11973 if ac_fn_c_try_compile "$LINENO"; then :
11975 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11983 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11984 case "x$with_xrandr" in
11985 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11986 xno) ;;
11987 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11988 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11989 esac
11993 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11994 then
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11997 #include <X11/Xlib.h>
11998 #include <X11/extensions/Xfixes.h>
12000 main ()
12002 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_compile "$LINENO"; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12009 $as_echo_n "checking for -lXfixes... " >&6; }
12010 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12011 $as_echo_n "(cached) " >&6
12012 else
12013 ac_check_soname_save_LIBS=$LIBS
12014 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12021 #ifdef __cplusplus
12022 extern "C"
12023 #endif
12024 char XFixesQueryVersion ();
12026 main ()
12028 return XFixesQueryVersion ();
12030 return 0;
12032 _ACEOF
12033 if ac_fn_c_try_link "$LINENO"; then :
12034 case "$LIBEXT" in
12035 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12036 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'` ;;
12037 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12038 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12039 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12040 fi ;;
12041 esac
12042 else
12043 ac_cv_lib_soname_Xfixes=
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_soname_save_LIBS
12049 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12051 $as_echo "not found" >&6; }
12053 else
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12055 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12057 cat >>confdefs.h <<_ACEOF
12058 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12059 _ACEOF
12064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12067 case "x$with_xfixes" in
12068 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12069 xno) ;;
12070 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12071 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12072 esac
12076 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12077 then
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12080 #include <X11/Xlib.h>
12081 #include <X11/extensions/Xinerama.h>
12083 main ()
12085 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_compile "$LINENO"; then :
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12092 $as_echo_n "checking for -lXinerama... " >&6; }
12093 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_check_soname_save_LIBS=$LIBS
12097 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12104 #ifdef __cplusplus
12105 extern "C"
12106 #endif
12107 char XineramaQueryScreens ();
12109 main ()
12111 return XineramaQueryScreens ();
12113 return 0;
12115 _ACEOF
12116 if ac_fn_c_try_link "$LINENO"; then :
12117 case "$LIBEXT" in
12118 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12119 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'` ;;
12120 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12121 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12122 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12123 fi ;;
12124 esac
12125 else
12126 ac_cv_lib_soname_Xinerama=
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_soname_save_LIBS
12132 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12134 $as_echo "not found" >&6; }
12136 else
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12138 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12140 cat >>confdefs.h <<_ACEOF
12141 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12142 _ACEOF
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12150 case "x$with_xinerama" in
12151 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12152 xno) ;;
12153 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12154 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12155 esac
12159 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12160 then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12162 $as_echo_n "checking for -lXcomposite... " >&6; }
12163 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_soname_save_LIBS=$LIBS
12167 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char XCompositeRedirectWindow ();
12179 main ()
12181 return XCompositeRedirectWindow ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 case "$LIBEXT" in
12188 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12189 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'` ;;
12190 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12191 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12192 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12193 fi ;;
12194 esac
12195 else
12196 ac_cv_lib_soname_Xcomposite=
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_soname_save_LIBS
12202 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12204 $as_echo "not found" >&6; }
12206 else
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12208 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12210 cat >>confdefs.h <<_ACEOF
12211 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12212 _ACEOF
12217 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12218 case "x$with_xcomposite" in
12219 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12220 xno) ;;
12221 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12222 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12223 esac
12227 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12228 #include <X11/Xlib.h>
12229 #endif
12231 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12233 cat >>confdefs.h <<_ACEOF
12234 #define HAVE_XICCALLBACK_CALLBACK 1
12235 _ACEOF
12239 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12240 #include <X11/Xlib.h>
12241 #endif
12243 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12245 cat >>confdefs.h <<_ACEOF
12246 #define HAVE_XEVENT_XCOOKIE 1
12247 _ACEOF
12254 opengl_msg=""
12255 if test "x$with_opengl" != "xno"
12256 then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12258 $as_echo_n "checking for -lGL... " >&6; }
12259 if ${ac_cv_lib_soname_GL+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261 else
12262 ac_check_soname_save_LIBS=$LIBS
12263 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12270 #ifdef __cplusplus
12271 extern "C"
12272 #endif
12273 char glXCreateContext ();
12275 main ()
12277 return glXCreateContext ();
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_link "$LINENO"; then :
12283 case "$LIBEXT" in
12284 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12285 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'` ;;
12286 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12287 if ${ac_cv_lib_soname_GL:+false} :; then :
12288 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12289 fi ;;
12290 esac
12291 else
12292 ac_cv_lib_soname_GL=
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_check_soname_save_LIBS
12298 if ${ac_cv_lib_soname_GL:+false} :; then :
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12300 $as_echo "not found" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12302 $as_echo_n "checking for -lGL... " >&6; }
12303 if ${ac_cv_lib_soname_GL+:} false; then :
12304 $as_echo_n "(cached) " >&6
12305 else
12306 ac_check_soname_save_LIBS=$LIBS
12307 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"
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12314 #ifdef __cplusplus
12315 extern "C"
12316 #endif
12317 char glXCreateContext ();
12319 main ()
12321 return glXCreateContext ();
12323 return 0;
12325 _ACEOF
12326 if ac_fn_c_try_link "$LINENO"; then :
12327 case "$LIBEXT" in
12328 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12329 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'` ;;
12330 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12331 if ${ac_cv_lib_soname_GL:+false} :; then :
12332 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12333 fi ;;
12334 esac
12335 else
12336 ac_cv_lib_soname_GL=
12338 rm -f core conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12340 LIBS=$ac_check_soname_save_LIBS
12342 if ${ac_cv_lib_soname_GL:+false} :; then :
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12344 $as_echo "not found" >&6; }
12345 if test -f /usr/X11R6/lib/libGL.a
12346 then
12347 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12348 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12349 else
12350 opengl_msg="No OpenGL library found on this system."
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="-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"
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12364 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12368 _ACEOF
12370 OPENGL_LIBS="-lGL"
12372 if test "x$with_glu" != "xno"
12373 then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12375 $as_echo_n "checking for -lGLU... " >&6; }
12376 if ${ac_cv_lib_soname_GLU+:} false; then :
12377 $as_echo_n "(cached) " >&6
12378 else
12379 ac_check_soname_save_LIBS=$LIBS
12380 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12384 /* Override any GCC internal prototype to avoid an error.
12385 Use char because int might match the return type of a GCC
12386 builtin and then its argument prototype would still apply. */
12387 #ifdef __cplusplus
12388 extern "C"
12389 #endif
12390 char gluLookAt ();
12392 main ()
12394 return gluLookAt ();
12396 return 0;
12398 _ACEOF
12399 if ac_fn_c_try_link "$LINENO"; then :
12400 case "$LIBEXT" in
12401 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12402 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'` ;;
12403 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12404 if ${ac_cv_lib_soname_GLU:+false} :; then :
12405 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12406 fi ;;
12407 esac
12408 else
12409 ac_cv_lib_soname_GLU=
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_soname_save_LIBS
12415 if ${ac_cv_lib_soname_GLU:+false} :; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12417 $as_echo "not found" >&6; }
12419 else
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12421 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12423 cat >>confdefs.h <<_ACEOF
12424 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12425 _ACEOF
12429 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12430 case "x$with_glu" in
12431 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12432 xno) ;;
12433 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12434 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12435 esac
12440 if test "x$with_osmesa" != "xno"
12441 then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12443 $as_echo_n "checking for -lOSMesa... " >&6; }
12444 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12445 $as_echo_n "(cached) " >&6
12446 else
12447 ac_check_soname_save_LIBS=$LIBS
12448 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12455 #ifdef __cplusplus
12456 extern "C"
12457 #endif
12458 char OSMesaGetProcAddress ();
12460 main ()
12462 return OSMesaGetProcAddress ();
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_link "$LINENO"; then :
12468 case "$LIBEXT" in
12469 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12470 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'` ;;
12471 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12472 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12473 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12474 fi ;;
12475 esac
12476 else
12477 ac_cv_lib_soname_OSMesa=
12479 rm -f core conftest.err conftest.$ac_objext \
12480 conftest$ac_exeext conftest.$ac_ext
12481 LIBS=$ac_check_soname_save_LIBS
12483 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12485 $as_echo "not found" >&6; }
12487 else
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12489 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12491 cat >>confdefs.h <<_ACEOF
12492 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12493 _ACEOF
12497 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12498 case "x$with_osmesa" in
12499 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12500 xno) ;;
12501 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12502 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12503 esac
12508 if test -n "$opengl_msg"; then :
12509 case "x$with_opengl" in
12510 x) as_fn_append wine_warnings "|$opengl_msg
12511 OpenGL and Direct3D won't be supported." ;;
12512 xno) ;;
12513 *) as_fn_error $? "$opengl_msg
12514 OpenGL and Direct3D won't be supported.
12515 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12516 esac
12520 CPPFLAGS="$ac_save_CPPFLAGS"
12521 else
12522 X_CFLAGS=""
12523 X_LIBS=""
12526 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12527 then
12528 if test "x$X_LIBS" = "x"; then :
12529 case "x$with_x" in
12530 xno) ;;
12531 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12532 without X support, which probably isn't what you want. You will need
12533 to install ${notice_platform}development packages of Xlib at the very least.
12534 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12535 esac
12536 enable_winex11_drv=${enable_winex11_drv:-no}
12538 else
12539 if test "x$X_LIBS" = "x"; then :
12540 case "x$with_x" in
12541 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12542 xno) ;;
12543 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12544 This is an error since --with-x was requested." "$LINENO" 5 ;;
12545 esac
12546 enable_winex11_drv=${enable_winex11_drv:-no}
12550 if test "$ac_cv_header_CL_cl_h" = "yes"
12551 then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12553 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12554 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12555 $as_echo_n "(cached) " >&6
12556 else
12557 ac_check_lib_save_LIBS=$LIBS
12558 LIBS="-lOpenCL $LIBS"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12565 #ifdef __cplusplus
12566 extern "C"
12567 #endif
12568 char clGetPlatformInfo ();
12570 main ()
12572 return clGetPlatformInfo ();
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_link "$LINENO"; then :
12578 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12579 else
12580 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12582 rm -f core conftest.err conftest.$ac_objext \
12583 conftest$ac_exeext conftest.$ac_ext
12584 LIBS=$ac_check_lib_save_LIBS
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12587 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12588 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12589 OPENCL_LIBS="-lOpenCL"
12594 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12595 case "x$with_opencl" in
12596 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12597 xno) ;;
12598 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12599 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12600 esac
12601 enable_opencl=${enable_opencl:-no}
12604 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12605 then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12607 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12608 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_lib_save_LIBS=$LIBS
12612 LIBS="-lpcap $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char pcap_create ();
12624 main ()
12626 return pcap_create ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 ac_cv_lib_pcap_pcap_create=yes
12633 else
12634 ac_cv_lib_pcap_pcap_create=no
12636 rm -f core conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LIBS=$ac_check_lib_save_LIBS
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12641 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12642 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12643 PCAP_LIBS="-lpcap"
12648 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12649 case "x$with_pcap" in
12650 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12651 xno) ;;
12652 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12653 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12654 esac
12655 enable_wpcap=${enable_wpcap:-no}
12659 if test "x$with_xml" != "xno"
12660 then
12661 if ${XML2_CFLAGS:+false} :; then :
12662 if ${PKG_CONFIG+:} false; then :
12663 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12666 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12667 if ${XML2_LIBS:+false} :; then :
12668 if ${PKG_CONFIG+:} false; then :
12669 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12672 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12673 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12674 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12675 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12676 ac_save_CPPFLAGS=$CPPFLAGS
12677 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12678 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12679 do :
12680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12681 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12683 cat >>confdefs.h <<_ACEOF
12684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12685 _ACEOF
12689 done
12691 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"
12692 then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12694 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12695 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12696 $as_echo_n "(cached) " >&6
12697 else
12698 ac_check_lib_save_LIBS=$LIBS
12699 LIBS="-lxml2 $XML2_LIBS $LIBS"
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12706 #ifdef __cplusplus
12707 extern "C"
12708 #endif
12709 char xmlParseMemory ();
12711 main ()
12713 return xmlParseMemory ();
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_link "$LINENO"; then :
12719 ac_cv_lib_xml2_xmlParseMemory=yes
12720 else
12721 ac_cv_lib_xml2_xmlParseMemory=no
12723 rm -f core conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12725 LIBS=$ac_check_lib_save_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12728 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12729 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12731 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12733 else
12734 XML2_LIBS=""
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12738 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12739 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12740 $as_echo_n "(cached) " >&6
12741 else
12742 ac_check_lib_save_LIBS=$LIBS
12743 LIBS="-lxml2 $XML2_LIBS $LIBS"
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 /* Override any GCC internal prototype to avoid an error.
12748 Use char because int might match the return type of a GCC
12749 builtin and then its argument prototype would still apply. */
12750 #ifdef __cplusplus
12751 extern "C"
12752 #endif
12753 char xmlReadMemory ();
12755 main ()
12757 return xmlReadMemory ();
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_link "$LINENO"; then :
12763 ac_cv_lib_xml2_xmlReadMemory=yes
12764 else
12765 ac_cv_lib_xml2_xmlReadMemory=no
12767 rm -f core conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12769 LIBS=$ac_check_lib_save_LIBS
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12772 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12773 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12775 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12780 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12781 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12782 $as_echo_n "(cached) " >&6
12783 else
12784 ac_check_lib_save_LIBS=$LIBS
12785 LIBS="-lxml2 $XML2_LIBS $LIBS"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12792 #ifdef __cplusplus
12793 extern "C"
12794 #endif
12795 char xmlNewDocPI ();
12797 main ()
12799 return xmlNewDocPI ();
12801 return 0;
12803 _ACEOF
12804 if ac_fn_c_try_link "$LINENO"; then :
12805 ac_cv_lib_xml2_xmlNewDocPI=yes
12806 else
12807 ac_cv_lib_xml2_xmlNewDocPI=no
12809 rm -f core conftest.err conftest.$ac_objext \
12810 conftest$ac_exeext conftest.$ac_ext
12811 LIBS=$ac_check_lib_save_LIBS
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12814 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12815 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12817 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12822 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12823 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12824 $as_echo_n "(cached) " >&6
12825 else
12826 ac_check_lib_save_LIBS=$LIBS
12827 LIBS="-lxml2 $XML2_LIBS $LIBS"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 #ifdef __cplusplus
12835 extern "C"
12836 #endif
12837 char xmlSchemaSetParserStructuredErrors ();
12839 main ()
12841 return xmlSchemaSetParserStructuredErrors ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"; then :
12847 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12848 else
12849 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12851 rm -f core conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12853 LIBS=$ac_check_lib_save_LIBS
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12856 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12857 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12859 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12864 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12865 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 ac_check_lib_save_LIBS=$LIBS
12869 LIBS="-lxml2 $XML2_LIBS $LIBS"
12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12873 /* Override any GCC internal prototype to avoid an error.
12874 Use char because int might match the return type of a GCC
12875 builtin and then its argument prototype would still apply. */
12876 #ifdef __cplusplus
12877 extern "C"
12878 #endif
12879 char xmlSchemaSetValidStructuredErrors ();
12881 main ()
12883 return xmlSchemaSetValidStructuredErrors ();
12885 return 0;
12887 _ACEOF
12888 if ac_fn_c_try_link "$LINENO"; then :
12889 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12890 else
12891 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12893 rm -f core conftest.err conftest.$ac_objext \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12898 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12899 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12901 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12906 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12907 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12908 $as_echo_n "(cached) " >&6
12909 else
12910 ac_check_lib_save_LIBS=$LIBS
12911 LIBS="-lxml2 $XML2_LIBS $LIBS"
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12915 /* Override any GCC internal prototype to avoid an error.
12916 Use char because int might match the return type of a GCC
12917 builtin and then its argument prototype would still apply. */
12918 #ifdef __cplusplus
12919 extern "C"
12920 #endif
12921 char xmlFirstElementChild ();
12923 main ()
12925 return xmlFirstElementChild ();
12927 return 0;
12929 _ACEOF
12930 if ac_fn_c_try_link "$LINENO"; then :
12931 ac_cv_lib_xml2_xmlFirstElementChild=yes
12932 else
12933 ac_cv_lib_xml2_xmlFirstElementChild=no
12935 rm -f core conftest.err conftest.$ac_objext \
12936 conftest$ac_exeext conftest.$ac_ext
12937 LIBS=$ac_check_lib_save_LIBS
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12940 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12941 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12943 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12947 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12949 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12951 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12955 else
12956 XML2_CFLAGS=""
12957 XML2_LIBS=""
12959 CPPFLAGS=$ac_save_CPPFLAGS
12960 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12961 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12964 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12965 case "x$with_xml" in
12966 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12967 xno) ;;
12968 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12969 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12970 esac
12974 if test "x$with_xslt" != "xno"
12975 then
12976 if ${XSLT_CFLAGS:+false} :; then :
12977 if ${PKG_CONFIG+:} false; then :
12978 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12981 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12982 if ${XSLT_LIBS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12987 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12988 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12990 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12991 ac_save_CPPFLAGS=$CPPFLAGS
12992 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12993 for ac_header in libxslt/pattern.h libxslt/transform.h
12994 do :
12995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12996 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12997 # include <libxslt/pattern.h>
12998 #endif
13000 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13003 _ACEOF
13007 done
13009 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13010 then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13012 $as_echo_n "checking for -lxslt... " >&6; }
13013 if ${ac_cv_lib_soname_xslt+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 ac_check_soname_save_LIBS=$LIBS
13017 LIBS="-lxslt $XSLT_LIBS $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char xsltCompilePattern ();
13029 main ()
13031 return xsltCompilePattern ();
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 case "$LIBEXT" in
13038 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13039 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'` ;;
13040 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13041 if ${ac_cv_lib_soname_xslt:+false} :; then :
13042 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13043 fi ;;
13044 esac
13045 else
13046 ac_cv_lib_soname_xslt=
13048 rm -f core conftest.err conftest.$ac_objext \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_soname_save_LIBS
13052 if ${ac_cv_lib_soname_xslt:+false} :; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13054 $as_echo "not found" >&6; }
13056 else
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13058 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13060 cat >>confdefs.h <<_ACEOF
13061 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13062 _ACEOF
13066 else
13067 XSLT_CFLAGS=""
13069 CPPFLAGS=$ac_save_CPPFLAGS
13070 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13071 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13074 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13075 case "x$with_xslt" in
13076 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13077 xno) ;;
13078 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13079 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13080 esac
13084 if test "x$with_inotify" != "xno"
13085 then
13086 if ${INOTIFY_CFLAGS:+false} :; then :
13087 if ${PKG_CONFIG+:} false; then :
13088 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13092 if ${INOTIFY_LIBS:+false} :; then :
13093 if ${PKG_CONFIG+:} false; then :
13094 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13099 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13100 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13101 ac_save_CPPFLAGS=$CPPFLAGS
13102 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13103 for ac_header in sys/inotify.h
13104 do :
13105 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13106 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13107 cat >>confdefs.h <<_ACEOF
13108 #define HAVE_SYS_INOTIFY_H 1
13109 _ACEOF
13113 done
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13116 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13117 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13118 $as_echo_n "(cached) " >&6
13119 else
13120 ac_check_lib_save_LIBS=$LIBS
13121 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13128 #ifdef __cplusplus
13129 extern "C"
13130 #endif
13131 char inotify_add_watch ();
13133 main ()
13135 return inotify_add_watch ();
13137 return 0;
13139 _ACEOF
13140 if ac_fn_c_try_link "$LINENO"; then :
13141 ac_cv_lib_inotify_inotify_add_watch=yes
13142 else
13143 ac_cv_lib_inotify_inotify_add_watch=no
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_lib_save_LIBS
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13150 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13151 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13153 else
13154 INOTIFY_LIBS=""
13157 CPPFLAGS=$ac_save_CPPFLAGS
13158 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13159 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13162 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13163 case "x$with_inotify" in
13164 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13165 xno) ;;
13166 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13167 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13168 esac
13172 if test "x$with_dbus" != "xno"
13173 then
13174 if ${DBUS_CFLAGS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13180 if ${DBUS_LIBS:+false} :; then :
13181 if ${PKG_CONFIG+:} false; then :
13182 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13187 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13188 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13189 ac_save_CPPFLAGS=$CPPFLAGS
13190 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13191 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13194 $as_echo_n "checking for -ldbus-1... " >&6; }
13195 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_soname_save_LIBS=$LIBS
13199 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char dbus_connection_close ();
13211 main ()
13213 return dbus_connection_close ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 case "$LIBEXT" in
13220 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13221 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'` ;;
13222 *) 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'`
13223 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13224 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13225 fi ;;
13226 esac
13227 else
13228 ac_cv_lib_soname_dbus_1=
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_soname_save_LIBS
13234 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13236 $as_echo "not found" >&6; }
13237 DBUS_CFLAGS=""
13238 else
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13240 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13242 cat >>confdefs.h <<_ACEOF
13243 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13244 _ACEOF
13248 else
13249 DBUS_CFLAGS=""
13253 CPPFLAGS=$ac_save_CPPFLAGS
13254 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13255 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13258 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13259 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13260 case "x$with_dbus" in
13261 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13262 xno) ;;
13263 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13264 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13265 esac
13269 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13270 then
13271 if ${HAL_CFLAGS:+false} :; then :
13272 if ${PKG_CONFIG+:} false; then :
13273 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13277 if ${HAL_LIBS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13283 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13284 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13285 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13286 ac_save_CPPFLAGS=$CPPFLAGS
13287 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13288 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13289 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13291 $as_echo_n "checking for -lhal... " >&6; }
13292 if ${ac_cv_lib_soname_hal+:} false; then :
13293 $as_echo_n "(cached) " >&6
13294 else
13295 ac_check_soname_save_LIBS=$LIBS
13296 LIBS="-lhal $HAL_LIBS $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 #ifdef __cplusplus
13304 extern "C"
13305 #endif
13306 char libhal_ctx_new ();
13308 main ()
13310 return libhal_ctx_new ();
13312 return 0;
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 case "$LIBEXT" in
13317 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13318 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'` ;;
13319 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13320 if ${ac_cv_lib_soname_hal:+false} :; then :
13321 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13322 fi ;;
13323 esac
13324 else
13325 ac_cv_lib_soname_hal=
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_soname_save_LIBS
13331 if ${ac_cv_lib_soname_hal:+false} :; then :
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13333 $as_echo "not found" >&6; }
13334 HAL_CFLAGS=""
13335 else
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13337 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13339 cat >>confdefs.h <<_ACEOF
13340 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13341 _ACEOF
13345 else
13346 HAL_CFLAGS=""
13350 CPPFLAGS=$ac_save_CPPFLAGS
13351 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13354 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13355 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13356 case "x$with_hal" in
13357 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13358 xno) ;;
13359 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13360 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13361 esac
13366 if test "x$with_gnutls" != "xno"
13367 then
13368 if ${GNUTLS_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13374 if ${GNUTLS_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13381 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13385 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13389 #include <gnutls/gnutls.h>
13390 #include <gnutls/crypto.h>
13392 main ()
13394 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13396 return 0;
13398 _ACEOF
13399 if ac_fn_c_try_compile "$LINENO"; then :
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13401 $as_echo_n "checking for -lgnutls... " >&6; }
13402 if ${ac_cv_lib_soname_gnutls+:} false; then :
13403 $as_echo_n "(cached) " >&6
13404 else
13405 ac_check_soname_save_LIBS=$LIBS
13406 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13410 /* Override any GCC internal prototype to avoid an error.
13411 Use char because int might match the return type of a GCC
13412 builtin and then its argument prototype would still apply. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 #endif
13416 char gnutls_global_init ();
13418 main ()
13420 return gnutls_global_init ();
13422 return 0;
13424 _ACEOF
13425 if ac_fn_c_try_link "$LINENO"; then :
13426 case "$LIBEXT" in
13427 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13428 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'` ;;
13429 *) 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'`
13430 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13431 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'`
13432 fi ;;
13433 esac
13434 else
13435 ac_cv_lib_soname_gnutls=
13437 rm -f core conftest.err conftest.$ac_objext \
13438 conftest$ac_exeext conftest.$ac_ext
13439 LIBS=$ac_check_soname_save_LIBS
13441 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13443 $as_echo "not found" >&6; }
13444 GNUTLS_CFLAGS=""
13445 else
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13447 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13449 cat >>confdefs.h <<_ACEOF
13450 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13451 _ACEOF
13455 ac_wine_check_funcs_save_LIBS="$LIBS"
13456 LIBS="$LIBS $GNUTLS_LIBS"
13457 for ac_func in gnutls_cipher_init
13458 do :
13459 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13460 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13461 cat >>confdefs.h <<_ACEOF
13462 #define HAVE_GNUTLS_CIPHER_INIT 1
13463 _ACEOF
13465 else
13466 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13468 done
13470 LIBS="$ac_wine_check_funcs_save_LIBS"
13472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13473 else
13474 GNUTLS_CFLAGS=""
13478 CPPFLAGS=$ac_save_CPPFLAGS
13479 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13480 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13483 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13484 case "x$with_gnutls" in
13485 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13486 xno) ;;
13487 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13488 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13489 esac
13493 CURSES_LIBS=""
13494 if test "$ac_cv_header_ncurses_h" = "yes"
13495 then
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13497 $as_echo_n "checking for -lncurses... " >&6; }
13498 if ${ac_cv_lib_soname_ncurses+:} false; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 ac_check_soname_save_LIBS=$LIBS
13502 LIBS="-lncurses $LIBS"
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13506 /* Override any GCC internal prototype to avoid an error.
13507 Use char because int might match the return type of a GCC
13508 builtin and then its argument prototype would still apply. */
13509 #ifdef __cplusplus
13510 extern "C"
13511 #endif
13512 char waddch ();
13514 main ()
13516 return waddch ();
13518 return 0;
13520 _ACEOF
13521 if ac_fn_c_try_link "$LINENO"; then :
13522 case "$LIBEXT" in
13523 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13524 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'` ;;
13525 *) 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'`
13526 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13527 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13528 fi ;;
13529 esac
13530 else
13531 ac_cv_lib_soname_ncurses=
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_soname_save_LIBS
13537 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13539 $as_echo "not found" >&6; }
13541 else
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13543 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13545 cat >>confdefs.h <<_ACEOF
13546 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13547 _ACEOF
13549 CURSES_LIBS="-lncurses"
13551 elif test "$ac_cv_header_curses_h" = "yes"
13552 then
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13554 $as_echo_n "checking for -lcurses... " >&6; }
13555 if ${ac_cv_lib_soname_curses+:} false; then :
13556 $as_echo_n "(cached) " >&6
13557 else
13558 ac_check_soname_save_LIBS=$LIBS
13559 LIBS="-lcurses $LIBS"
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13563 /* Override any GCC internal prototype to avoid an error.
13564 Use char because int might match the return type of a GCC
13565 builtin and then its argument prototype would still apply. */
13566 #ifdef __cplusplus
13567 extern "C"
13568 #endif
13569 char waddch ();
13571 main ()
13573 return waddch ();
13575 return 0;
13577 _ACEOF
13578 if ac_fn_c_try_link "$LINENO"; then :
13579 case "$LIBEXT" in
13580 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13581 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'` ;;
13582 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13583 if ${ac_cv_lib_soname_curses:+false} :; then :
13584 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13585 fi ;;
13586 esac
13587 else
13588 ac_cv_lib_soname_curses=
13590 rm -f core conftest.err conftest.$ac_objext \
13591 conftest$ac_exeext conftest.$ac_ext
13592 LIBS=$ac_check_soname_save_LIBS
13594 if ${ac_cv_lib_soname_curses:+false} :; then :
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13596 $as_echo "not found" >&6; }
13598 else
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13600 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13602 cat >>confdefs.h <<_ACEOF
13603 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13604 _ACEOF
13606 CURSES_LIBS="-lcurses"
13609 ac_save_LIBS="$LIBS"
13610 LIBS="$LIBS $CURSES_LIBS"
13611 for ac_func in mousemask
13612 do :
13613 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13614 if test "x$ac_cv_func_mousemask" = xyes; then :
13615 cat >>confdefs.h <<_ACEOF
13616 #define HAVE_MOUSEMASK 1
13617 _ACEOF
13620 done
13622 LIBS="$ac_save_LIBS"
13623 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13624 case "x$with_curses" in
13625 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13626 xno) ;;
13627 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13628 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13629 esac
13633 if test "x$with_sane" != "xno"
13634 then
13635 if ${SANE_CFLAGS:+false} :; then :
13636 if ${PKG_CONFIG+:} false; then :
13637 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13640 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13641 if ${SANE_LIBS:+false} :; then :
13642 if ${PKG_CONFIG+:} false; then :
13643 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13646 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13648 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13649 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13650 ac_save_CPPFLAGS=$CPPFLAGS
13651 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13652 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13653 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13655 $as_echo_n "checking for -lsane... " >&6; }
13656 if ${ac_cv_lib_soname_sane+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_check_soname_save_LIBS=$LIBS
13660 LIBS="-lsane $SANE_LIBS $LIBS"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13667 #ifdef __cplusplus
13668 extern "C"
13669 #endif
13670 char sane_init ();
13672 main ()
13674 return sane_init ();
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"; then :
13680 case "$LIBEXT" in
13681 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13684 if ${ac_cv_lib_soname_sane:+false} :; then :
13685 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13686 fi ;;
13687 esac
13688 else
13689 ac_cv_lib_soname_sane=
13691 rm -f core conftest.err conftest.$ac_objext \
13692 conftest$ac_exeext conftest.$ac_ext
13693 LIBS=$ac_check_soname_save_LIBS
13695 if ${ac_cv_lib_soname_sane:+false} :; then :
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13697 $as_echo "not found" >&6; }
13698 SANE_CFLAGS=""
13699 else
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13701 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13703 cat >>confdefs.h <<_ACEOF
13704 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13705 _ACEOF
13709 else
13710 SANE_CFLAGS=""
13714 CPPFLAGS=$ac_save_CPPFLAGS
13715 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13716 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13719 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13720 case "x$with_sane" in
13721 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13722 xno) ;;
13723 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13724 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13725 esac
13729 if test "x$with_v4l2" != "xno"
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13732 $as_echo_n "checking for -lv4l2... " >&6; }
13733 if ${ac_cv_lib_soname_v4l2+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_check_soname_save_LIBS=$LIBS
13737 LIBS="-lv4l2 $LIBS"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char v4l2_open ();
13749 main ()
13751 return v4l2_open ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 case "$LIBEXT" in
13758 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13759 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'` ;;
13760 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13761 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13762 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13763 fi ;;
13764 esac
13765 else
13766 ac_cv_lib_soname_v4l2=
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_soname_save_LIBS
13772 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13774 $as_echo "not found" >&6; }
13776 else
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13778 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13780 cat >>confdefs.h <<_ACEOF
13781 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13782 _ACEOF
13787 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13788 case "x$with_v4l2" in
13789 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13790 xno) ;;
13791 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13792 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13793 esac
13797 if test "x$with_gphoto" != "xno"
13798 then
13799 if ${GPHOTO2_CFLAGS:+false} :; then :
13800 if ${PKG_CONFIG+:} false; then :
13801 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13804 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13805 if ${GPHOTO2_LIBS:+false} :; then :
13806 if ${PKG_CONFIG+:} false; then :
13807 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13810 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13811 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13812 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13813 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13814 ac_save_CPPFLAGS=$CPPFLAGS
13815 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13816 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13817 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13819 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13820 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_lib_save_LIBS=$LIBS
13824 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char gp_camera_new ();
13836 main ()
13838 return gp_camera_new ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 ac_cv_lib_gphoto2_gp_camera_new=yes
13845 else
13846 ac_cv_lib_gphoto2_gp_camera_new=no
13848 rm -f core conftest.err conftest.$ac_objext \
13849 conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_lib_save_LIBS
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13853 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13854 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13856 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13858 else
13859 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13862 else
13863 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13867 CPPFLAGS=$ac_save_CPPFLAGS
13868 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13869 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13871 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13872 if ${PKG_CONFIG+:} false; then :
13873 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13876 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13877 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13878 if ${PKG_CONFIG+:} false; then :
13879 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13882 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13883 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13884 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13885 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13886 ac_save_CPPFLAGS=$CPPFLAGS
13887 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13888 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13889 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13891 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13892 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_check_lib_save_LIBS=$LIBS
13896 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 #ifdef __cplusplus
13904 extern "C"
13905 #endif
13906 char gp_port_info_list_new ();
13908 main ()
13910 return gp_port_info_list_new ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13917 else
13918 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_lib_save_LIBS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13925 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13926 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13928 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13930 else
13931 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13934 else
13935 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13939 CPPFLAGS=$ac_save_CPPFLAGS
13940 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13941 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13944 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13945 case "x$with_gphoto" in
13946 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13947 xno) ;;
13948 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13949 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13950 esac
13953 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13954 case "x$with_gphoto" in
13955 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13956 xno) ;;
13957 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13958 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13959 esac
13964 if test "$ac_cv_header_resolv_h" = "yes"
13965 then
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13967 $as_echo_n "checking for resolver library... " >&6; }
13968 if ${ac_cv_have_resolv+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 ac_save_LIBS="$LIBS"
13972 for lib in '' -lresolv
13974 LIBS="$lib $ac_save_LIBS"
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13977 #ifdef HAVE_NETINET_IN_H
13978 #include <netinet/in.h>
13979 #endif
13980 #include <resolv.h>
13982 main ()
13984 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13986 return 0;
13988 _ACEOF
13989 if ac_fn_c_try_link "$LINENO"; then :
13990 ac_cv_have_resolv=${lib:-"none required"}
13991 else
13992 ac_cv_have_resolv="not found"
13994 rm -f core conftest.err conftest.$ac_objext \
13995 conftest$ac_exeext conftest.$ac_ext
13996 test "x$ac_cv_have_resolv" = "xnot found" || break
13997 done
13998 LIBS="$ac_save_LIBS"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14001 $as_echo "$ac_cv_have_resolv" >&6; }
14003 case "$ac_cv_have_resolv" in
14004 "not found") ;;
14005 "none required")
14007 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14010 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14012 RESOLV_LIBS=$ac_cv_have_resolv
14014 esac
14017 if test "x$with_cms" != "xno"
14018 then
14019 if ${LCMS2_CFLAGS:+false} :; then :
14020 if ${PKG_CONFIG+:} false; then :
14021 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14025 if ${LCMS2_LIBS:+false} :; then :
14026 if ${PKG_CONFIG+:} false; then :
14027 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14031 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14032 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14033 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14034 ac_save_CPPFLAGS=$CPPFLAGS
14035 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14036 for ac_header in lcms2.h
14037 do :
14038 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14039 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14040 cat >>confdefs.h <<_ACEOF
14041 #define HAVE_LCMS2_H 1
14042 _ACEOF
14046 done
14048 if test "$ac_cv_header_lcms2_h" = "yes"
14049 then
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14051 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14052 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 ac_check_lib_save_LIBS=$LIBS
14056 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14060 /* Override any GCC internal prototype to avoid an error.
14061 Use char because int might match the return type of a GCC
14062 builtin and then its argument prototype would still apply. */
14063 #ifdef __cplusplus
14064 extern "C"
14065 #endif
14066 char cmsOpenProfileFromFile ();
14068 main ()
14070 return cmsOpenProfileFromFile ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14077 else
14078 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14085 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14086 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14088 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14090 else
14091 LCMS2_LIBS=""
14094 else
14095 LCMS2_CFLAGS=""
14096 LCMS2_LIBS=""
14098 CPPFLAGS=$ac_save_CPPFLAGS
14099 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14100 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14103 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14104 case "x$with_cms" in
14105 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14106 xno) ;;
14107 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14108 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14109 esac
14113 if test "x$with_freetype" != "xno"
14114 then
14115 if ${FREETYPE_CFLAGS:+false} :; then :
14116 if ${PKG_CONFIG+:} false; then :
14117 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14120 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14121 if ${FREETYPE_LIBS:+false} :; then :
14122 if ${PKG_CONFIG+:} false; then :
14123 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14126 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14127 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14128 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14129 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14130 ac_save_CPPFLAGS=$CPPFLAGS
14131 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14132 for ac_header in ft2build.h
14133 do :
14134 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14135 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14136 cat >>confdefs.h <<_ACEOF
14137 #define HAVE_FT2BUILD_H 1
14138 _ACEOF
14142 done
14144 if test "$ac_cv_header_ft2build_h" = "yes"
14145 then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14147 $as_echo_n "checking for -lfreetype... " >&6; }
14148 if ${ac_cv_lib_soname_freetype+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_check_soname_save_LIBS=$LIBS
14152 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 #ifdef __cplusplus
14160 extern "C"
14161 #endif
14162 char FT_Init_FreeType ();
14164 main ()
14166 return FT_Init_FreeType ();
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 case "$LIBEXT" in
14173 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14174 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'` ;;
14175 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14176 if ${ac_cv_lib_soname_freetype:+false} :; then :
14177 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14178 fi ;;
14179 esac
14180 else
14181 ac_cv_lib_soname_freetype=
14183 rm -f core conftest.err conftest.$ac_objext \
14184 conftest$ac_exeext conftest.$ac_ext
14185 LIBS=$ac_check_soname_save_LIBS
14187 if ${ac_cv_lib_soname_freetype:+false} :; then :
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14189 $as_echo "not found" >&6; }
14190 FREETYPE_LIBS=""
14191 else
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14193 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14195 cat >>confdefs.h <<_ACEOF
14196 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14197 _ACEOF
14200 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14202 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14203 #include FT_MODULE_H
14205 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14207 cat >>confdefs.h <<_ACEOF
14208 #define HAVE_FT_TRUETYPEENGINETYPE 1
14209 _ACEOF
14215 else
14216 FREETYPE_CFLAGS=""
14217 FREETYPE_LIBS=""
14219 CPPFLAGS=$ac_save_CPPFLAGS
14220 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14221 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14224 if test "x$ac_cv_lib_soname_freetype" = x; then :
14225 case "x$with_freetype" in
14226 xno) ;;
14227 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14228 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14229 esac
14230 enable_fonts=${enable_fonts:-no}
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14234 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14235 if ${ac_cv_c_ppdev+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 #ifdef HAVE_SYS_IOCTL_H
14241 # include <sys/ioctl.h>
14242 #endif
14243 #include <linux/ppdev.h>
14245 main ()
14247 ioctl (1,PPCLAIM,0)
14249 return 0;
14251 _ACEOF
14252 if ac_fn_c_try_compile "$LINENO"; then :
14253 ac_cv_c_ppdev="yes"
14254 else
14255 ac_cv_c_ppdev="no"
14257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14260 $as_echo "$ac_cv_c_ppdev" >&6; }
14261 if test "$ac_cv_c_ppdev" = "yes"
14262 then
14264 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14268 ac_wine_check_funcs_save_LIBS="$LIBS"
14269 LIBS="$LIBS $PTHREAD_LIBS"
14270 for ac_func in \
14271 pthread_getthreadid_np
14272 do :
14273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14276 cat >>confdefs.h <<_ACEOF
14277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14278 _ACEOF
14281 done
14283 LIBS="$ac_wine_check_funcs_save_LIBS"
14285 if test "x$with_zlib" != "xno"
14286 then
14287 if ${Z_CFLAGS:+false} :; then :
14288 if ${PKG_CONFIG+:} false; then :
14289 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14293 if ${Z_LIBS:+false} :; then :
14294 if ${PKG_CONFIG+:} false; then :
14295 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14299 Z_LIBS=${Z_LIBS:-"-lz"}
14300 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14301 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14302 ac_save_CPPFLAGS=$CPPFLAGS
14303 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14304 for ac_header in zlib.h
14305 do :
14306 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14307 if test "x$ac_cv_header_zlib_h" = xyes; then :
14308 cat >>confdefs.h <<_ACEOF
14309 #define HAVE_ZLIB_H 1
14310 _ACEOF
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14312 $as_echo_n "checking for inflate in -lz... " >&6; }
14313 if ${ac_cv_lib_z_inflate+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_check_lib_save_LIBS=$LIBS
14317 LIBS="-lz $Z_LIBS $LIBS"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14321 /* Override any GCC internal prototype to avoid an error.
14322 Use char because int might match the return type of a GCC
14323 builtin and then its argument prototype would still apply. */
14324 #ifdef __cplusplus
14325 extern "C"
14326 #endif
14327 char inflate ();
14329 main ()
14331 return inflate ();
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_lib_z_inflate=yes
14338 else
14339 ac_cv_lib_z_inflate=no
14341 rm -f core conftest.err conftest.$ac_objext \
14342 conftest$ac_exeext conftest.$ac_ext
14343 LIBS=$ac_check_lib_save_LIBS
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14346 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14347 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14349 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14351 else
14352 Z_LIBS=""
14355 else
14356 Z_LIBS=""
14359 done
14361 CPPFLAGS=$ac_save_CPPFLAGS
14362 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14363 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14366 if test "x$Z_LIBS" = "x"; then :
14367 case "x$with_zlib" in
14368 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14369 xno) ;;
14370 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14371 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14372 esac
14376 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14377 then
14378 if test "$ac_cv_header_gettext_po_h" = "yes"
14379 then
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14381 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14382 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 ac_check_lib_save_LIBS=$LIBS
14386 LIBS="-lgettextpo $LIBS"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14390 /* Override any GCC internal prototype to avoid an error.
14391 Use char because int might match the return type of a GCC
14392 builtin and then its argument prototype would still apply. */
14393 #ifdef __cplusplus
14394 extern "C"
14395 #endif
14396 char po_message_msgctxt ();
14398 main ()
14400 return po_message_msgctxt ();
14402 return 0;
14404 _ACEOF
14405 if ac_fn_c_try_link "$LINENO"; then :
14406 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14407 else
14408 ac_cv_lib_gettextpo_po_message_msgctxt=no
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_lib_save_LIBS
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14415 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14416 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14418 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14420 GETTEXTPO_LIBS="-lgettextpo"
14425 if test "x$GETTEXTPO_LIBS" = "x"; then :
14426 case "x$with_gettextpo" in
14427 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14428 xno) ;;
14429 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14430 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14431 esac
14434 if test "$srcdir" != .; then :
14435 case "x$with_gettextpo" in
14436 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14437 xno) ;;
14438 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14439 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14440 esac
14445 if test "x$with_pulse" != "xno";
14446 then
14447 if ${PULSE_CFLAGS:+false} :; then :
14448 if ${PKG_CONFIG+:} false; then :
14449 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14453 if ${PULSE_LIBS:+false} :; then :
14454 if ${PKG_CONFIG+:} false; then :
14455 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14460 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14461 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14462 ac_save_CPPFLAGS=$CPPFLAGS
14463 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14464 for ac_header in pulse/pulseaudio.h
14465 do :
14466 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14467 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14468 cat >>confdefs.h <<_ACEOF
14469 #define HAVE_PULSE_PULSEAUDIO_H 1
14470 _ACEOF
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14472 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14473 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 ac_check_lib_save_LIBS=$LIBS
14477 LIBS="-lpulse $PULSE_LIBS $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 #ifdef __cplusplus
14485 extern "C"
14486 #endif
14487 char pa_stream_is_corked ();
14489 main ()
14491 return pa_stream_is_corked ();
14493 return 0;
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_lib_pulse_pa_stream_is_corked=yes
14498 else
14499 ac_cv_lib_pulse_pa_stream_is_corked=no
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 LIBS=$ac_check_lib_save_LIBS
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14506 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14507 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14509 else
14510 PULSE_LIBS=""
14513 else
14514 PULSE_LIBS=""
14517 done
14519 CPPFLAGS=$ac_save_CPPFLAGS
14520 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14521 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14524 if test -z "$PULSE_LIBS"; then :
14525 case "x$with_pulse" in
14526 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14527 xno) ;;
14528 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14529 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14530 esac
14531 enable_winepulse_drv=${enable_winepulse_drv:-no}
14534 if test "x$with_gstreamer" != "xno"
14535 then
14536 if ${GSTREAMER_CFLAGS:+false} :; then :
14537 if ${PKG_CONFIG+:} false; then :
14538 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14542 if ${GSTREAMER_LIBS:+false} :; then :
14543 if ${PKG_CONFIG+:} false; then :
14544 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14549 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14550 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14551 ac_save_CPPFLAGS=$CPPFLAGS
14552 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14553 ac_gst_incl=""
14554 for i in $GSTREAMER_CFLAGS
14556 case "$i" in
14557 -I*) ac_gst_incl="$ac_gst_incl $i";;
14558 esac
14559 done
14560 GSTREAMER_CFLAGS=$ac_gst_incl
14561 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14562 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14563 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14565 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 #include <gst/gst.h>
14570 main ()
14572 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14574 return 0;
14576 _ACEOF
14577 if ac_fn_c_try_compile "$LINENO"; then :
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14579 $as_echo "yes" >&6; }
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14581 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14582 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 ac_check_lib_save_LIBS=$LIBS
14586 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 #ifdef __cplusplus
14594 extern "C"
14595 #endif
14596 char gst_pad_new ();
14598 main ()
14600 return gst_pad_new ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"; then :
14606 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14607 else
14608 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14610 rm -f core conftest.err conftest.$ac_objext \
14611 conftest$ac_exeext conftest.$ac_ext
14612 LIBS=$ac_check_lib_save_LIBS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14615 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14616 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14620 else
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14622 $as_echo "no" >&6; }
14623 ac_glib2_broken=yes
14624 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14630 CPPFLAGS=$ac_save_CPPFLAGS
14631 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14632 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14635 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 :
14636 case "x$with_gstreamer" in
14637 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14638 xno) ;;
14639 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14640 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14641 esac
14644 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14646 ALSA_LIBS=""
14648 if test "x$with_alsa" != "xno"
14649 then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14651 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14652 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_check_lib_save_LIBS=$LIBS
14656 LIBS="-lasound $LIBS"
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14660 /* Override any GCC internal prototype to avoid an error.
14661 Use char because int might match the return type of a GCC
14662 builtin and then its argument prototype would still apply. */
14663 #ifdef __cplusplus
14664 extern "C"
14665 #endif
14666 char snd_pcm_hw_params_get_access_mask ();
14668 main ()
14670 return snd_pcm_hw_params_get_access_mask ();
14672 return 0;
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14677 else
14678 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 LIBS=$ac_check_lib_save_LIBS
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14685 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14686 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 #include <alsa/asoundlib.h>
14691 main ()
14693 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14695 return 0;
14697 _ACEOF
14698 if ac_fn_c_try_compile "$LINENO"; then :
14699 ALSA_LIBS="-lasound"
14701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14707 if test "x$with_oss" != xno
14708 then
14709 ac_save_CPPFLAGS="$CPPFLAGS"
14710 if test -f /etc/oss.conf
14711 then
14712 . /etc/oss.conf
14714 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14715 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14716 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14717 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14718 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14720 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14722 cat >>confdefs.h <<_ACEOF
14723 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14724 _ACEOF
14726 OSS4_CFLAGS="$ac_oss_incl"
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14729 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14730 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14731 $as_echo_n "(cached) " >&6
14732 else
14733 ac_check_lib_save_LIBS=$LIBS
14734 LIBS="-lossaudio $LIBS"
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 #ifdef __cplusplus
14742 extern "C"
14743 #endif
14744 char _oss_ioctl ();
14746 main ()
14748 return _oss_ioctl ();
14750 return 0;
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_lib_ossaudio__oss_ioctl=yes
14755 else
14756 ac_cv_lib_ossaudio__oss_ioctl=no
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14760 LIBS=$ac_check_lib_save_LIBS
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14763 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14764 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14765 OSS4_LIBS="-lossaudio"
14774 CPPFLAGS="$ac_save_CPPFLAGS"
14776 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14777 case "x$with_oss" in
14778 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14779 xno) ;;
14780 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14781 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14782 esac
14783 enable_wineoss_drv=${enable_wineoss_drv:-no}
14786 if test "x$with_udev" != "xno"
14787 then
14788 if ${UDEV_CFLAGS:+false} :; then :
14789 if ${PKG_CONFIG+:} false; then :
14790 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14794 if ${UDEV_LIBS:+false} :; then :
14795 if ${PKG_CONFIG+:} false; then :
14796 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14800 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14801 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14802 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14803 ac_save_CPPFLAGS=$CPPFLAGS
14804 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14805 for ac_header in libudev.h
14806 do :
14807 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14808 if test "x$ac_cv_header_libudev_h" = xyes; then :
14809 cat >>confdefs.h <<_ACEOF
14810 #define HAVE_LIBUDEV_H 1
14811 _ACEOF
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14813 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14814 if ${ac_cv_lib_udev_udev_new+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_check_lib_save_LIBS=$LIBS
14818 LIBS="-ludev $UDEV_LIBS $LIBS"
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 /* Override any GCC internal prototype to avoid an error.
14823 Use char because int might match the return type of a GCC
14824 builtin and then its argument prototype would still apply. */
14825 #ifdef __cplusplus
14826 extern "C"
14827 #endif
14828 char udev_new ();
14830 main ()
14832 return udev_new ();
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_lib_udev_udev_new=yes
14839 else
14840 ac_cv_lib_udev_udev_new=no
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14844 LIBS=$ac_check_lib_save_LIBS
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14847 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14848 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14850 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14852 else
14853 UDEV_LIBS=""
14856 else
14857 UDEV_LIBS=""
14860 done
14862 CPPFLAGS=$ac_save_CPPFLAGS
14863 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14864 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14867 if test "x$UDEV_LIBS" = "x"; then :
14868 case "x$with_udev" in
14869 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14870 xno) ;;
14871 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14872 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14873 esac
14877 if test "x$with_unwind" != xno
14878 then
14879 if ${UNWIND_CFLAGS:+false} :; then :
14880 if ${PKG_CONFIG+:} false; then :
14881 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14885 if ${UNWIND_LIBS:+false} :; then :
14886 if ${PKG_CONFIG+:} false; then :
14887 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14891 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14892 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14893 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14894 ac_save_CPPFLAGS=$CPPFLAGS
14895 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14897 $as_echo_n "checking for unw_step... " >&6; }
14898 if ${wine_cv_have_unw_step+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 #define UNW_LOCAL_ONLY
14904 #include <libunwind.h>
14906 main ()
14908 unw_cursor_t cursor; unw_step( &cursor );
14910 return 0;
14912 _ACEOF
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 wine_cv_have_unw_step="yes"
14915 else
14916 wine_cv_have_unw_step="no"
14918 rm -f core conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14922 $as_echo "$wine_cv_have_unw_step" >&6; }
14923 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14924 then
14925 save_libs=$LIBS
14926 LIBS="$UNWIND_LIBS $LIBS"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14928 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14929 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14934 #define UNW_LOCAL_ONLY
14935 #include <libunwind.h>
14937 main ()
14939 unw_cursor_t cursor; unw_step( &cursor );
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 wine_cv_have_libunwind_unw_step="yes"
14946 else
14947 wine_cv_have_libunwind_unw_step="no"
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14953 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14954 LIBS=$save_libs
14956 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14957 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14958 then
14960 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14963 CPPFLAGS=$ac_save_CPPFLAGS
14964 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14965 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14968 case $host in
14969 aarch64*|*-darwin*)
14970 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14971 case "x$with_unwind" in
14972 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14973 xno) ;;
14974 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14975 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14976 esac
14978 fi ;;
14979 esac
14981 if test "x$with_sdl" != "xno"
14982 then
14983 if ${SDL2_CFLAGS:+false} :; then :
14984 if ${PKG_CONFIG+:} false; then :
14985 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14989 if ${SDL2_LIBS:+false} :; then :
14990 if ${PKG_CONFIG+:} false; then :
14991 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14995 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14996 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14997 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14998 ac_save_CPPFLAGS=$CPPFLAGS
14999 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15000 for ac_header in SDL2/SDL.h
15001 do :
15002 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15003 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15004 cat >>confdefs.h <<_ACEOF
15005 #define HAVE_SDL2_SDL_H 1
15006 _ACEOF
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15008 $as_echo_n "checking for -lSDL2... " >&6; }
15009 if ${ac_cv_lib_soname_SDL2+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_check_soname_save_LIBS=$LIBS
15013 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 #ifdef __cplusplus
15021 extern "C"
15022 #endif
15023 char SDL_Init ();
15025 main ()
15027 return SDL_Init ();
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_link "$LINENO"; then :
15033 case "$LIBEXT" in
15034 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15035 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'` ;;
15036 *) 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'`
15037 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15038 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15039 fi ;;
15040 esac
15041 else
15042 ac_cv_lib_soname_SDL2=
15044 rm -f core conftest.err conftest.$ac_objext \
15045 conftest$ac_exeext conftest.$ac_ext
15046 LIBS=$ac_check_soname_save_LIBS
15048 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15050 $as_echo "not found" >&6; }
15052 else
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15054 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15056 cat >>confdefs.h <<_ACEOF
15057 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15058 _ACEOF
15064 done
15066 CPPFLAGS=$ac_save_CPPFLAGS
15067 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15068 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15071 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15072 case "x$with_sdl" in
15073 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15074 xno) ;;
15075 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15076 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15077 esac
15081 if test "x$with_faudio" != "xno"
15082 then
15083 if ${FAUDIO_CFLAGS:+false} :; then :
15084 if ${PKG_CONFIG+:} false; then :
15085 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15089 if ${FAUDIO_LIBS:+false} :; then :
15090 if ${PKG_CONFIG+:} false; then :
15091 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15095 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15096 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15097 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15098 ac_save_CPPFLAGS=$CPPFLAGS
15099 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15100 for ac_header in FAudio.h
15101 do :
15102 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15103 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15104 cat >>confdefs.h <<_ACEOF
15105 #define HAVE_FAUDIO_H 1
15106 _ACEOF
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15108 $as_echo_n "checking for -lFAudio... " >&6; }
15109 if ${ac_cv_lib_soname_FAudio+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_check_soname_save_LIBS=$LIBS
15113 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15117 /* Override any GCC internal prototype to avoid an error.
15118 Use char because int might match the return type of a GCC
15119 builtin and then its argument prototype would still apply. */
15120 #ifdef __cplusplus
15121 extern "C"
15122 #endif
15123 char FAudioCreate ();
15125 main ()
15127 return FAudioCreate ();
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_link "$LINENO"; then :
15133 case "$LIBEXT" in
15134 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15135 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'` ;;
15136 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15137 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15138 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15139 fi ;;
15140 esac
15141 else
15142 ac_cv_lib_soname_FAudio=
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_soname_save_LIBS
15148 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15150 $as_echo "not found" >&6; }
15152 else
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15154 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15156 cat >>confdefs.h <<_ACEOF
15157 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15158 _ACEOF
15164 done
15166 ac_wine_check_funcs_save_LIBS="$LIBS"
15167 LIBS="$LIBS $FAUDIO_LIBS"
15168 for ac_func in FAudio_CommitOperationSet \
15169 F3DAudioInitialize8
15170 do :
15171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15173 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15174 cat >>confdefs.h <<_ACEOF
15175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 _ACEOF
15179 done
15181 LIBS="$ac_wine_check_funcs_save_LIBS"
15183 CPPFLAGS=$ac_save_CPPFLAGS
15184 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15185 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15188 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15189 case "x$with_faudio" in
15190 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15191 xno) ;;
15192 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15193 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15194 esac
15198 if test "x$with_capi" != "xno"
15199 then
15200 if ${CAPI20_CFLAGS:+false} :; then :
15201 if ${PKG_CONFIG+:} false; then :
15202 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15206 if ${CAPI20_LIBS:+false} :; then :
15207 if ${PKG_CONFIG+:} false; then :
15208 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15213 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15214 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15215 ac_save_CPPFLAGS=$CPPFLAGS
15216 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15217 for ac_header in capi20.h linux/capi.h
15218 do :
15219 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15220 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15222 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15223 cat >>confdefs.h <<_ACEOF
15224 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15225 _ACEOF
15229 done
15231 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15232 then
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15234 $as_echo_n "checking for -lcapi20... " >&6; }
15235 if ${ac_cv_lib_soname_capi20+:} false; then :
15236 $as_echo_n "(cached) " >&6
15237 else
15238 ac_check_soname_save_LIBS=$LIBS
15239 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15243 /* Override any GCC internal prototype to avoid an error.
15244 Use char because int might match the return type of a GCC
15245 builtin and then its argument prototype would still apply. */
15246 #ifdef __cplusplus
15247 extern "C"
15248 #endif
15249 char capi20_register ();
15251 main ()
15253 return capi20_register ();
15255 return 0;
15257 _ACEOF
15258 if ac_fn_c_try_link "$LINENO"; then :
15259 case "$LIBEXT" in
15260 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15261 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'` ;;
15262 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15263 if ${ac_cv_lib_soname_capi20:+false} :; then :
15264 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15265 fi ;;
15266 esac
15267 else
15268 ac_cv_lib_soname_capi20=
15270 rm -f core conftest.err conftest.$ac_objext \
15271 conftest$ac_exeext conftest.$ac_ext
15272 LIBS=$ac_check_soname_save_LIBS
15274 if ${ac_cv_lib_soname_capi20:+false} :; then :
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15276 $as_echo "not found" >&6; }
15278 else
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15280 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15282 cat >>confdefs.h <<_ACEOF
15283 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15284 _ACEOF
15289 CPPFLAGS=$ac_save_CPPFLAGS
15290 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15291 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15294 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15295 case "x$with_capi" in
15296 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15297 xno) ;;
15298 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15299 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15300 esac
15304 if test "x$with_cups" != "xno"
15305 then
15306 if ${CUPS_CFLAGS:+false} :; then :
15307 if ${PKG_CONFIG+:} false; then :
15308 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15311 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15312 if ${CUPS_LIBS:+false} :; then :
15313 if ${PKG_CONFIG+:} false; then :
15314 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15317 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15318 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15319 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15320 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15321 ac_save_CPPFLAGS=$CPPFLAGS
15322 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15323 for ac_header in cups/cups.h cups/ppd.h
15324 do :
15325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15326 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15327 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15328 cat >>confdefs.h <<_ACEOF
15329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15330 _ACEOF
15334 done
15336 if test "$ac_cv_header_cups_cups_h" = "yes"
15337 then
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15339 $as_echo_n "checking for -lcups... " >&6; }
15340 if ${ac_cv_lib_soname_cups+:} false; then :
15341 $as_echo_n "(cached) " >&6
15342 else
15343 ac_check_soname_save_LIBS=$LIBS
15344 LIBS="-lcups $CUPS_LIBS $LIBS"
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15348 /* Override any GCC internal prototype to avoid an error.
15349 Use char because int might match the return type of a GCC
15350 builtin and then its argument prototype would still apply. */
15351 #ifdef __cplusplus
15352 extern "C"
15353 #endif
15354 char cupsGetDefault ();
15356 main ()
15358 return cupsGetDefault ();
15360 return 0;
15362 _ACEOF
15363 if ac_fn_c_try_link "$LINENO"; then :
15364 case "$LIBEXT" in
15365 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15366 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'` ;;
15367 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15368 if ${ac_cv_lib_soname_cups:+false} :; then :
15369 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15370 fi ;;
15371 esac
15372 else
15373 ac_cv_lib_soname_cups=
15375 rm -f core conftest.err conftest.$ac_objext \
15376 conftest$ac_exeext conftest.$ac_ext
15377 LIBS=$ac_check_soname_save_LIBS
15379 if ${ac_cv_lib_soname_cups:+false} :; then :
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15381 $as_echo "not found" >&6; }
15382 CUPS_LIBS=""
15383 else
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15385 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15387 cat >>confdefs.h <<_ACEOF
15388 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15389 _ACEOF
15393 else
15394 CUPS_CFLAGS=""
15395 CUPS_LIBS=""
15397 CPPFLAGS=$ac_save_CPPFLAGS
15398 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15399 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15402 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15403 case "x$with_cups" in
15404 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15405 xno) ;;
15406 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15407 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15408 esac
15412 if test "x$with_fontconfig" != "xno"
15413 then
15414 if ${FONTCONFIG_CFLAGS:+false} :; then :
15415 if ${PKG_CONFIG+:} false; then :
15416 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15419 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15420 if ${FONTCONFIG_LIBS:+false} :; then :
15421 if ${PKG_CONFIG+:} false; then :
15422 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15425 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15427 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15428 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15429 ac_save_CPPFLAGS=$CPPFLAGS
15430 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15431 for ac_header in fontconfig/fontconfig.h
15432 do :
15433 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15434 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15437 _ACEOF
15441 done
15443 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15444 then
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15446 $as_echo_n "checking for -lfontconfig... " >&6; }
15447 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15448 $as_echo_n "(cached) " >&6
15449 else
15450 ac_check_soname_save_LIBS=$LIBS
15451 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15455 /* Override any GCC internal prototype to avoid an error.
15456 Use char because int might match the return type of a GCC
15457 builtin and then its argument prototype would still apply. */
15458 #ifdef __cplusplus
15459 extern "C"
15460 #endif
15461 char FcInit ();
15463 main ()
15465 return FcInit ();
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 case "$LIBEXT" in
15472 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15473 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'` ;;
15474 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15475 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15476 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15477 fi ;;
15478 esac
15479 else
15480 ac_cv_lib_soname_fontconfig=
15482 rm -f core conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_check_soname_save_LIBS
15486 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15488 $as_echo "not found" >&6; }
15489 FONTCONFIG_CFLAGS=""
15490 else
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15492 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15494 cat >>confdefs.h <<_ACEOF
15495 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15496 _ACEOF
15500 else
15501 FONTCONFIG_CFLAGS=""
15503 CPPFLAGS=$ac_save_CPPFLAGS
15504 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15505 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15508 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15509 case "x$with_fontconfig" in
15510 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15511 xno) ;;
15512 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15513 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15514 esac
15518 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15519 then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15521 $as_echo_n "checking for -lgsm... " >&6; }
15522 if ${ac_cv_lib_soname_gsm+:} false; then :
15523 $as_echo_n "(cached) " >&6
15524 else
15525 ac_check_soname_save_LIBS=$LIBS
15526 LIBS="-lgsm $LIBS"
15527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15530 /* Override any GCC internal prototype to avoid an error.
15531 Use char because int might match the return type of a GCC
15532 builtin and then its argument prototype would still apply. */
15533 #ifdef __cplusplus
15534 extern "C"
15535 #endif
15536 char gsm_create ();
15538 main ()
15540 return gsm_create ();
15542 return 0;
15544 _ACEOF
15545 if ac_fn_c_try_link "$LINENO"; then :
15546 case "$LIBEXT" in
15547 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15548 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'` ;;
15549 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15550 if ${ac_cv_lib_soname_gsm:+false} :; then :
15551 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15552 fi ;;
15553 esac
15554 else
15555 ac_cv_lib_soname_gsm=
15557 rm -f core conftest.err conftest.$ac_objext \
15558 conftest$ac_exeext conftest.$ac_ext
15559 LIBS=$ac_check_soname_save_LIBS
15561 if ${ac_cv_lib_soname_gsm:+false} :; then :
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15563 $as_echo "not found" >&6; }
15565 else
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15567 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15569 cat >>confdefs.h <<_ACEOF
15570 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15571 _ACEOF
15576 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15577 case "x$with_gsm" in
15578 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15579 xno) ;;
15580 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15581 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15582 esac
15586 if test "x$with_krb5" != "xno"
15587 then
15588 if ${KRB5_CFLAGS:+false} :; then :
15589 if ${PKG_CONFIG+:} false; then :
15590 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15593 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15594 if ${KRB5_LIBS:+false} :; then :
15595 if ${PKG_CONFIG+:} false; then :
15596 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15599 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15601 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15602 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15603 ac_save_CPPFLAGS=$CPPFLAGS
15604 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15605 for ac_header in krb5/krb5.h
15606 do :
15607 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15608 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15609 cat >>confdefs.h <<_ACEOF
15610 #define HAVE_KRB5_KRB5_H 1
15611 _ACEOF
15615 done
15617 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15618 then
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15620 $as_echo_n "checking for -lkrb5... " >&6; }
15621 if ${ac_cv_lib_soname_krb5+:} false; then :
15622 $as_echo_n "(cached) " >&6
15623 else
15624 ac_check_soname_save_LIBS=$LIBS
15625 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15632 #ifdef __cplusplus
15633 extern "C"
15634 #endif
15635 char krb5_is_config_principal ();
15637 main ()
15639 return krb5_is_config_principal ();
15641 return 0;
15643 _ACEOF
15644 if ac_fn_c_try_link "$LINENO"; then :
15645 case "$LIBEXT" in
15646 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15647 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'` ;;
15648 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15649 if ${ac_cv_lib_soname_krb5:+false} :; then :
15650 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15651 fi ;;
15652 esac
15653 else
15654 ac_cv_lib_soname_krb5=
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if ${ac_cv_lib_soname_krb5:+false} :; then :
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15662 $as_echo "not found" >&6; }
15663 KRB5_CFLAGS=""
15664 else
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15666 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15670 _ACEOF
15674 else
15675 KRB5_CFLAGS=""
15677 CPPFLAGS=$ac_save_CPPFLAGS
15678 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15679 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15681 else
15682 with_gssapi=${with_gssapi:-no}
15684 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15685 case "x$with_krb5" in
15686 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15687 xno) ;;
15688 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15689 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15690 esac
15694 if test "x$with_gssapi" != "xno"
15695 then
15696 if ${GSSAPI_CFLAGS:+false} :; then :
15697 if ${PKG_CONFIG+:} false; then :
15698 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15701 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15702 if ${GSSAPI_LIBS:+false} :; then :
15703 if ${PKG_CONFIG+:} false; then :
15704 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15707 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15709 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15710 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15711 ac_save_CPPFLAGS=$CPPFLAGS
15712 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15713 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15714 do :
15715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15720 _ACEOF
15724 done
15726 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15727 then
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15729 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15730 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15731 $as_echo_n "(cached) " >&6
15732 else
15733 ac_check_soname_save_LIBS=$LIBS
15734 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15738 /* Override any GCC internal prototype to avoid an error.
15739 Use char because int might match the return type of a GCC
15740 builtin and then its argument prototype would still apply. */
15741 #ifdef __cplusplus
15742 extern "C"
15743 #endif
15744 char gss_init_sec_context ();
15746 main ()
15748 return gss_init_sec_context ();
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_link "$LINENO"; then :
15754 case "$LIBEXT" in
15755 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15756 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'` ;;
15757 *) 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'`
15758 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15759 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15760 fi ;;
15761 esac
15762 else
15763 ac_cv_lib_soname_gssapi_krb5=
15765 rm -f core conftest.err conftest.$ac_objext \
15766 conftest$ac_exeext conftest.$ac_ext
15767 LIBS=$ac_check_soname_save_LIBS
15769 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15771 $as_echo "not found" >&6; }
15772 GSSAPI_CFLAGS=""
15773 else
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15775 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15777 cat >>confdefs.h <<_ACEOF
15778 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15779 _ACEOF
15783 else
15784 GSSAPI_CFLAGS=""
15786 CPPFLAGS=$ac_save_CPPFLAGS
15787 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15788 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15791 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15792 case "x$with_gssapi" in
15793 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15794 xno) ;;
15795 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15796 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15797 esac
15801 if test "x$with_jpeg" != "xno"
15802 then
15803 if ${JPEG_CFLAGS:+false} :; then :
15804 if ${PKG_CONFIG+:} false; then :
15805 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15809 if ${JPEG_LIBS:+false} :; then :
15810 if ${PKG_CONFIG+:} false; then :
15811 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15816 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15817 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15818 ac_save_CPPFLAGS=$CPPFLAGS
15819 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15820 for ac_header in jpeglib.h
15821 do :
15822 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15823 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_JPEGLIB_H 1
15826 _ACEOF
15830 done
15832 if test "$ac_cv_header_jpeglib_h" = "yes"
15833 then
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15835 $as_echo_n "checking for -ljpeg... " >&6; }
15836 if ${ac_cv_lib_soname_jpeg+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_check_soname_save_LIBS=$LIBS
15840 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 #ifdef __cplusplus
15848 extern "C"
15849 #endif
15850 char jpeg_start_decompress ();
15852 main ()
15854 return jpeg_start_decompress ();
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"; then :
15860 case "$LIBEXT" in
15861 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15862 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'` ;;
15863 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15864 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15865 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15866 fi ;;
15867 esac
15868 else
15869 ac_cv_lib_soname_jpeg=
15871 rm -f core conftest.err conftest.$ac_objext \
15872 conftest$ac_exeext conftest.$ac_ext
15873 LIBS=$ac_check_soname_save_LIBS
15875 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15877 $as_echo "not found" >&6; }
15878 JPEG_CFLAGS=""
15879 else
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15881 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15883 cat >>confdefs.h <<_ACEOF
15884 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15885 _ACEOF
15889 else
15890 JPEG_CFLAGS=""
15892 CPPFLAGS=$ac_save_CPPFLAGS
15893 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15894 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15897 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15898 case "x$with_jpeg" in
15899 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15900 xno) ;;
15901 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15902 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15903 esac
15907 if test "x$with_png" != "xno"
15908 then
15909 if ${PNG_CFLAGS:+false} :; then :
15910 if ${PKG_CONFIG+:} false; then :
15911 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15914 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15915 if ${PNG_LIBS:+false} :; then :
15916 if ${PKG_CONFIG+:} false; then :
15917 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15920 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15922 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15923 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15924 ac_save_CPPFLAGS=$CPPFLAGS
15925 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15926 for ac_header in png.h
15927 do :
15928 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15929 if test "x$ac_cv_header_png_h" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_PNG_H 1
15932 _ACEOF
15936 done
15938 if test "$ac_cv_header_png_h" = "yes"
15939 then
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15941 $as_echo_n "checking for -lpng... " >&6; }
15942 if ${ac_cv_lib_soname_png+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 ac_check_soname_save_LIBS=$LIBS
15946 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15950 /* Override any GCC internal prototype to avoid an error.
15951 Use char because int might match the return type of a GCC
15952 builtin and then its argument prototype would still apply. */
15953 #ifdef __cplusplus
15954 extern "C"
15955 #endif
15956 char png_create_read_struct ();
15958 main ()
15960 return png_create_read_struct ();
15962 return 0;
15964 _ACEOF
15965 if ac_fn_c_try_link "$LINENO"; then :
15966 case "$LIBEXT" in
15967 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15968 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'` ;;
15969 *) 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'`
15970 if ${ac_cv_lib_soname_png:+false} :; then :
15971 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15972 fi ;;
15973 esac
15974 else
15975 ac_cv_lib_soname_png=
15977 rm -f core conftest.err conftest.$ac_objext \
15978 conftest$ac_exeext conftest.$ac_ext
15979 LIBS=$ac_check_soname_save_LIBS
15981 if ${ac_cv_lib_soname_png:+false} :; then :
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15983 $as_echo "not found" >&6; }
15984 PNG_CFLAGS=""
15985 else
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15987 $as_echo "$ac_cv_lib_soname_png" >&6; }
15989 cat >>confdefs.h <<_ACEOF
15990 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15991 _ACEOF
15995 else
15996 PNG_CFLAGS=""
15998 CPPFLAGS=$ac_save_CPPFLAGS
15999 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16000 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16003 if test "x$ac_cv_lib_soname_png" = "x"; then :
16004 case "x$with_png" in
16005 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16006 xno) ;;
16007 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16008 This is an error since --with-png was requested." "$LINENO" 5 ;;
16009 esac
16013 if test "x$with_tiff" != "xno"
16014 then
16015 if ${TIFF_CFLAGS:+false} :; then :
16016 if ${PKG_CONFIG+:} false; then :
16017 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16021 if ${TIFF_LIBS:+false} :; then :
16022 if ${PKG_CONFIG+:} false; then :
16023 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16028 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16029 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16030 ac_save_CPPFLAGS=$CPPFLAGS
16031 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16032 for ac_header in tiffio.h
16033 do :
16034 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16035 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_TIFFIO_H 1
16038 _ACEOF
16042 done
16044 if test "$ac_cv_header_tiffio_h" = "yes"
16045 then
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16047 $as_echo_n "checking for -ltiff... " >&6; }
16048 if ${ac_cv_lib_soname_tiff+:} false; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 ac_check_soname_save_LIBS=$LIBS
16052 LIBS="-ltiff $TIFF_LIBS $LIBS"
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16056 /* Override any GCC internal prototype to avoid an error.
16057 Use char because int might match the return type of a GCC
16058 builtin and then its argument prototype would still apply. */
16059 #ifdef __cplusplus
16060 extern "C"
16061 #endif
16062 char TIFFClientOpen ();
16064 main ()
16066 return TIFFClientOpen ();
16068 return 0;
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"; then :
16072 case "$LIBEXT" in
16073 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16074 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'` ;;
16075 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16076 if ${ac_cv_lib_soname_tiff:+false} :; then :
16077 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16078 fi ;;
16079 esac
16080 else
16081 ac_cv_lib_soname_tiff=
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_soname_save_LIBS
16087 if ${ac_cv_lib_soname_tiff:+false} :; then :
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16089 $as_echo "not found" >&6; }
16091 else
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16093 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16097 _ACEOF
16102 CPPFLAGS=$ac_save_CPPFLAGS
16103 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16104 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16107 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16108 case "x$with_tiff" in
16109 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16110 xno) ;;
16111 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16112 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16113 esac
16117 if test "x$with_mpg123" != "xno"
16118 then
16119 if ${MPG123_CFLAGS:+false} :; then :
16120 if ${PKG_CONFIG+:} false; then :
16121 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16125 if ${MPG123_LIBS:+false} :; then :
16126 if ${PKG_CONFIG+:} false; then :
16127 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16131 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16132 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16133 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16134 ac_save_CPPFLAGS=$CPPFLAGS
16135 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16136 for ac_header in mpg123.h
16137 do :
16138 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16139 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_MPG123_H 1
16142 _ACEOF
16146 done
16148 if test "$ac_cv_header_mpg123_h" = "yes"
16149 then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16151 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16152 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16153 $as_echo_n "(cached) " >&6
16154 else
16155 ac_check_lib_save_LIBS=$LIBS
16156 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16160 /* Override any GCC internal prototype to avoid an error.
16161 Use char because int might match the return type of a GCC
16162 builtin and then its argument prototype would still apply. */
16163 #ifdef __cplusplus
16164 extern "C"
16165 #endif
16166 char mpg123_feed ();
16168 main ()
16170 return mpg123_feed ();
16172 return 0;
16174 _ACEOF
16175 if ac_fn_c_try_link "$LINENO"; then :
16176 ac_cv_lib_mpg123_mpg123_feed=yes
16177 else
16178 ac_cv_lib_mpg123_mpg123_feed=no
16180 rm -f core conftest.err conftest.$ac_objext \
16181 conftest$ac_exeext conftest.$ac_ext
16182 LIBS=$ac_check_lib_save_LIBS
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16185 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16186 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16188 else
16189 MPG123_LIBS=""
16192 else
16193 MPG123_CFLAGS=""
16194 MPG123_LIBS=""
16196 CPPFLAGS=$ac_save_CPPFLAGS
16197 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16198 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16201 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16202 case "x$with_mpg123" in
16203 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16204 xno) ;;
16205 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16206 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16207 esac
16208 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16210 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16212 if test "$ac_cv_header_AL_al_h" = "yes"
16213 then
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16215 $as_echo_n "checking for -lopenal... " >&6; }
16216 if ${ac_cv_lib_soname_openal+:} false; then :
16217 $as_echo_n "(cached) " >&6
16218 else
16219 ac_check_soname_save_LIBS=$LIBS
16220 LIBS="-lopenal $LIBS"
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16224 /* Override any GCC internal prototype to avoid an error.
16225 Use char because int might match the return type of a GCC
16226 builtin and then its argument prototype would still apply. */
16227 #ifdef __cplusplus
16228 extern "C"
16229 #endif
16230 char alGetSource3i ();
16232 main ()
16234 return alGetSource3i ();
16236 return 0;
16238 _ACEOF
16239 if ac_fn_c_try_link "$LINENO"; then :
16240 case "$LIBEXT" in
16241 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16242 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'` ;;
16243 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16244 if ${ac_cv_lib_soname_openal:+false} :; then :
16245 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16246 fi ;;
16247 esac
16248 else
16249 ac_cv_lib_soname_openal=
16251 rm -f core conftest.err conftest.$ac_objext \
16252 conftest$ac_exeext conftest.$ac_ext
16253 LIBS=$ac_check_soname_save_LIBS
16255 if ${ac_cv_lib_soname_openal:+false} :; then :
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16257 $as_echo "not found" >&6; }
16259 else
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16261 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16263 cat >>confdefs.h <<_ACEOF
16264 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16265 _ACEOF
16267 OPENAL_LIBS="-lopenal"
16269 ac_cv_lib_openal=yes
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_OPENAL 1
16273 _ACEOF
16277 if test "x$ac_cv_lib_openal" != xyes; then :
16278 case "x$with_openal" in
16279 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16280 xno) ;;
16281 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16282 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16283 esac
16284 enable_openal32=${enable_openal32:-no}
16287 if test "x$ac_cv_lib_soname_FAudio" = "x"
16288 then
16289 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16290 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16291 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16292 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16293 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16294 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16295 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16296 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16297 enable_xapofx1_1=${enable_xapofx1_1:-no}
16298 enable_xapofx1_2=${enable_xapofx1_2:-no}
16299 enable_xapofx1_3=${enable_xapofx1_3:-no}
16300 enable_xapofx1_4=${enable_xapofx1_4:-no}
16301 enable_xapofx1_5=${enable_xapofx1_5:-no}
16302 enable_xaudio2_0=${enable_xaudio2_0:-no}
16303 enable_xaudio2_1=${enable_xaudio2_1:-no}
16304 enable_xaudio2_2=${enable_xaudio2_2:-no}
16305 enable_xaudio2_3=${enable_xaudio2_3:-no}
16306 enable_xaudio2_4=${enable_xaudio2_4:-no}
16307 enable_xaudio2_5=${enable_xaudio2_5:-no}
16308 enable_xaudio2_6=${enable_xaudio2_6:-no}
16309 enable_xaudio2_7=${enable_xaudio2_7:-no}
16310 enable_xaudio2_8=${enable_xaudio2_8:-no}
16311 enable_xaudio2_9=${enable_xaudio2_9:-no}
16314 if test "$ac_cv_header_kstat_h" = "yes"
16315 then
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16317 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16318 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16319 $as_echo_n "(cached) " >&6
16320 else
16321 ac_check_lib_save_LIBS=$LIBS
16322 LIBS="-lkstat $LIBS"
16323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16326 /* Override any GCC internal prototype to avoid an error.
16327 Use char because int might match the return type of a GCC
16328 builtin and then its argument prototype would still apply. */
16329 #ifdef __cplusplus
16330 extern "C"
16331 #endif
16332 char kstat_open ();
16334 main ()
16336 return kstat_open ();
16338 return 0;
16340 _ACEOF
16341 if ac_fn_c_try_link "$LINENO"; then :
16342 ac_cv_lib_kstat_kstat_open=yes
16343 else
16344 ac_cv_lib_kstat_kstat_open=no
16346 rm -f core conftest.err conftest.$ac_objext \
16347 conftest$ac_exeext conftest.$ac_ext
16348 LIBS=$ac_check_lib_save_LIBS
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16351 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16352 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16354 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16356 KSTAT_LIBS="-lkstat"
16362 if test "$ac_cv_header_libprocstat_h" = "yes"
16363 then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16365 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16366 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 ac_check_lib_save_LIBS=$LIBS
16370 LIBS="-lprocstat $LIBS"
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 #ifdef __cplusplus
16378 extern "C"
16379 #endif
16380 char procstat_open_sysctl ();
16382 main ()
16384 return procstat_open_sysctl ();
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 ac_cv_lib_procstat_procstat_open_sysctl=yes
16391 else
16392 ac_cv_lib_procstat_procstat_open_sysctl=no
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_lib_save_LIBS
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16399 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16400 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16402 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16404 PROCSTAT_LIBS="-lprocstat"
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16411 $as_echo_n "checking for -lodbc... " >&6; }
16412 if ${ac_cv_lib_soname_odbc+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 ac_check_soname_save_LIBS=$LIBS
16416 LIBS="-lodbc $LIBS"
16417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16420 /* Override any GCC internal prototype to avoid an error.
16421 Use char because int might match the return type of a GCC
16422 builtin and then its argument prototype would still apply. */
16423 #ifdef __cplusplus
16424 extern "C"
16425 #endif
16426 char SQLConnect ();
16428 main ()
16430 return SQLConnect ();
16432 return 0;
16434 _ACEOF
16435 if ac_fn_c_try_link "$LINENO"; then :
16436 case "$LIBEXT" in
16437 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16438 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'` ;;
16439 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16440 if ${ac_cv_lib_soname_odbc:+false} :; then :
16441 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16442 fi ;;
16443 esac
16444 else
16445 ac_cv_lib_soname_odbc=
16447 rm -f core conftest.err conftest.$ac_objext \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_soname_save_LIBS
16451 if ${ac_cv_lib_soname_odbc:+false} :; then :
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16453 $as_echo "not found" >&6; }
16454 cat >>confdefs.h <<_ACEOF
16455 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16456 _ACEOF
16458 else
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16460 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16462 cat >>confdefs.h <<_ACEOF
16463 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16464 _ACEOF
16469 if test "x$with_netapi" != "xno"
16470 then
16471 if ${NETAPI_CFLAGS:+false} :; then :
16472 if ${PKG_CONFIG+:} false; then :
16473 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16477 if ${NETAPI_LIBS:+false} :; then :
16478 if ${PKG_CONFIG+:} false; then :
16479 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16484 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16485 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16486 ac_save_CPPFLAGS=$CPPFLAGS
16487 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16489 $as_echo_n "checking for -lnetapi... " >&6; }
16490 if ${ac_cv_lib_soname_netapi+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 ac_check_soname_save_LIBS=$LIBS
16494 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16498 /* Override any GCC internal prototype to avoid an error.
16499 Use char because int might match the return type of a GCC
16500 builtin and then its argument prototype would still apply. */
16501 #ifdef __cplusplus
16502 extern "C"
16503 #endif
16504 char libnetapi_init ();
16506 main ()
16508 return libnetapi_init ();
16510 return 0;
16512 _ACEOF
16513 if ac_fn_c_try_link "$LINENO"; then :
16514 case "$LIBEXT" in
16515 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16516 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'` ;;
16517 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16518 if ${ac_cv_lib_soname_netapi:+false} :; then :
16519 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16520 fi ;;
16521 esac
16522 else
16523 ac_cv_lib_soname_netapi=
16525 rm -f core conftest.err conftest.$ac_objext \
16526 conftest$ac_exeext conftest.$ac_ext
16527 LIBS=$ac_check_soname_save_LIBS
16529 if ${ac_cv_lib_soname_netapi:+false} :; then :
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16531 $as_echo "not found" >&6; }
16532 cat >>confdefs.h <<_ACEOF
16533 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16534 _ACEOF
16536 else
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16538 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16540 cat >>confdefs.h <<_ACEOF
16541 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16542 _ACEOF
16546 CPPFLAGS=$ac_save_CPPFLAGS
16547 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16548 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16552 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16553 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16554 then
16555 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16558 if test "x$with_vulkan" != "xno"
16559 then
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16561 $as_echo_n "checking for -lvulkan... " >&6; }
16562 if ${ac_cv_lib_soname_vulkan+:} false; then :
16563 $as_echo_n "(cached) " >&6
16564 else
16565 ac_check_soname_save_LIBS=$LIBS
16566 LIBS="-lvulkan $LIBS"
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16570 /* Override any GCC internal prototype to avoid an error.
16571 Use char because int might match the return type of a GCC
16572 builtin and then its argument prototype would still apply. */
16573 #ifdef __cplusplus
16574 extern "C"
16575 #endif
16576 char vkGetInstanceProcAddr ();
16578 main ()
16580 return vkGetInstanceProcAddr ();
16582 return 0;
16584 _ACEOF
16585 if ac_fn_c_try_link "$LINENO"; then :
16586 case "$LIBEXT" in
16587 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16588 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'` ;;
16589 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16590 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16591 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16592 fi ;;
16593 esac
16594 else
16595 ac_cv_lib_soname_vulkan=
16597 rm -f core conftest.err conftest.$ac_objext \
16598 conftest$ac_exeext conftest.$ac_ext
16599 LIBS=$ac_check_soname_save_LIBS
16601 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16603 $as_echo "not found" >&6; }
16605 else
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16607 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16609 cat >>confdefs.h <<_ACEOF
16610 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16611 _ACEOF
16615 if test "x$ac_cv_lib_soname_vulkan" = "x"
16616 then
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16618 $as_echo_n "checking for -lMoltenVK... " >&6; }
16619 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 ac_check_soname_save_LIBS=$LIBS
16623 LIBS="-lMoltenVK $LIBS"
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16627 /* Override any GCC internal prototype to avoid an error.
16628 Use char because int might match the return type of a GCC
16629 builtin and then its argument prototype would still apply. */
16630 #ifdef __cplusplus
16631 extern "C"
16632 #endif
16633 char vkGetInstanceProcAddr ();
16635 main ()
16637 return vkGetInstanceProcAddr ();
16639 return 0;
16641 _ACEOF
16642 if ac_fn_c_try_link "$LINENO"; then :
16643 case "$LIBEXT" in
16644 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16645 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'` ;;
16646 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16647 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16648 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16649 fi ;;
16650 esac
16651 else
16652 ac_cv_lib_soname_MoltenVK=
16654 rm -f core conftest.err conftest.$ac_objext \
16655 conftest$ac_exeext conftest.$ac_ext
16656 LIBS=$ac_check_soname_save_LIBS
16658 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16660 $as_echo "not found" >&6; }
16662 else
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16664 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16666 cat >>confdefs.h <<_ACEOF
16667 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16668 _ACEOF
16674 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16675 case "x$with_vulkan" in
16676 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16677 xno) ;;
16678 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16679 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16680 esac
16684 if test "x$with_vkd3d" != "xno"
16685 then
16686 if ${VKD3D_CFLAGS:+false} :; then :
16687 if ${PKG_CONFIG+:} false; then :
16688 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16692 if ${VKD3D_LIBS:+false} :; then :
16693 if ${PKG_CONFIG+:} false; then :
16694 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16699 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16700 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16701 ac_save_CPPFLAGS=$CPPFLAGS
16702 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16704 $as_echo_n "checking for -lvkd3d... " >&6; }
16705 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16706 $as_echo_n "(cached) " >&6
16707 else
16708 ac_check_soname_save_LIBS=$LIBS
16709 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16713 /* Override any GCC internal prototype to avoid an error.
16714 Use char because int might match the return type of a GCC
16715 builtin and then its argument prototype would still apply. */
16716 #ifdef __cplusplus
16717 extern "C"
16718 #endif
16719 char vkd3d_get_dxgi_format ();
16721 main ()
16723 return vkd3d_get_dxgi_format ();
16725 return 0;
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"; then :
16729 case "$LIBEXT" in
16730 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16731 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'` ;;
16732 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16733 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16734 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16735 fi ;;
16736 esac
16737 else
16738 ac_cv_lib_soname_vkd3d=
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 LIBS=$ac_check_soname_save_LIBS
16744 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16746 $as_echo "not found" >&6; }
16748 else
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16750 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16752 cat >>confdefs.h <<_ACEOF
16753 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16754 _ACEOF
16758 CPPFLAGS=$ac_save_CPPFLAGS
16759 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16760 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16763 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16764 case "x$with_vkd3d" in
16765 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16766 xno) ;;
16767 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16768 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16769 esac
16772 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16775 EXTRACFLAGS=""
16777 if test "x${GCC}" = "xyes"
16778 then
16779 EXTRACFLAGS="-Wall -pipe"
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16782 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16783 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786 if test "$cross_compiling" = yes; then :
16787 ac_cv_c_gcc_strength_bug="no"
16788 else
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 int L[4] = {0,1,2,3};
16793 main ()
16795 static int Array[3];
16796 unsigned int B = 3;
16797 int i;
16798 for(i=0; i<B; i++) Array[i] = i - 3;
16799 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16800 L[i] = 4;
16801 return (Array[1] != -2 || L[2] != 3)
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_run "$LINENO"; then :
16807 ac_cv_c_gcc_strength_bug="no"
16808 else
16809 ac_cv_c_gcc_strength_bug="yes"
16811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16812 conftest.$ac_objext conftest.beam conftest.$ac_ext
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16817 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16818 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16819 then
16820 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16824 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16825 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 ac_wine_try_cflags_saved=$CFLAGS
16829 CFLAGS="$CFLAGS -fno-strict-aliasing"
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16832 int main(int argc, char **argv) { return 0; }
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 ac_cv_cflags__fno_strict_aliasing=yes
16836 else
16837 ac_cv_cflags__fno_strict_aliasing=no
16839 rm -f core conftest.err conftest.$ac_objext \
16840 conftest$ac_exeext conftest.$ac_ext
16841 CFLAGS=$ac_wine_try_cflags_saved
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16844 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16845 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16846 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16849 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16850 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16851 $as_echo_n "(cached) " >&6
16852 else
16853 ac_wine_try_cflags_saved=$CFLAGS
16854 CFLAGS="$CFLAGS -fexcess-precision=standard"
16855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16857 int main(int argc, char **argv) { return 0; }
16858 _ACEOF
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_cflags__fexcess_precision_standard=yes
16861 else
16862 ac_cv_cflags__fexcess_precision_standard=no
16864 rm -f core conftest.err conftest.$ac_objext \
16865 conftest$ac_exeext conftest.$ac_ext
16866 CFLAGS=$ac_wine_try_cflags_saved
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16869 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16870 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16871 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16874 saved_CFLAGS=$CFLAGS
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16876 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16877 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16878 $as_echo_n "(cached) " >&6
16879 else
16880 ac_wine_try_cflags_saved=$CFLAGS
16881 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 int main(int argc, char **argv) { return 0; }
16885 _ACEOF
16886 if ac_fn_c_try_link "$LINENO"; then :
16887 ac_cv_cflags__Werror_unknown_warning_option=yes
16888 else
16889 ac_cv_cflags__Werror_unknown_warning_option=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16893 CFLAGS=$ac_wine_try_cflags_saved
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16896 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16897 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16898 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16901 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16902 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_wine_try_cflags_saved=$CFLAGS
16906 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 int main(int argc, char **argv) { return 0; }
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_cflags__Werror_unused_command_line_argument=yes
16913 else
16914 ac_cv_cflags__Werror_unused_command_line_argument=no
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16918 CFLAGS=$ac_wine_try_cflags_saved
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16921 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16922 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16923 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16926 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16927 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 ac_wine_try_cflags_saved=$CFLAGS
16931 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16934 int main(int argc, char **argv) { return 0; }
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_cflags__Wdeclaration_after_statement=yes
16938 else
16939 ac_cv_cflags__Wdeclaration_after_statement=no
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16943 CFLAGS=$ac_wine_try_cflags_saved
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16946 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16947 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16948 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16951 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16952 if ${ac_cv_cflags__Wempty_body+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 ac_wine_try_cflags_saved=$CFLAGS
16956 CFLAGS="$CFLAGS -Wempty-body"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16959 int main(int argc, char **argv) { return 0; }
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_cflags__Wempty_body=yes
16963 else
16964 ac_cv_cflags__Wempty_body=no
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16968 CFLAGS=$ac_wine_try_cflags_saved
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16971 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16972 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16973 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16976 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16977 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 ac_wine_try_cflags_saved=$CFLAGS
16981 CFLAGS="$CFLAGS -Wignored-qualifiers"
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 int main(int argc, char **argv) { return 0; }
16985 _ACEOF
16986 if ac_fn_c_try_link "$LINENO"; then :
16987 ac_cv_cflags__Wignored_qualifiers=yes
16988 else
16989 ac_cv_cflags__Wignored_qualifiers=no
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16993 CFLAGS=$ac_wine_try_cflags_saved
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16996 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16997 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16998 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17001 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17002 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 ac_wine_try_cflags_saved=$CFLAGS
17006 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 int main(int argc, char **argv) { return 0; }
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 ac_cv_cflags__Wpacked_not_aligned=yes
17013 else
17014 ac_cv_cflags__Wpacked_not_aligned=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17018 CFLAGS=$ac_wine_try_cflags_saved
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17021 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17022 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17023 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17026 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17027 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 ac_wine_try_cflags_saved=$CFLAGS
17031 CFLAGS="$CFLAGS -Wpragma-pack"
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 int main(int argc, char **argv) { return 0; }
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_cflags__Wpragma_pack=yes
17038 else
17039 ac_cv_cflags__Wpragma_pack=no
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 CFLAGS=$ac_wine_try_cflags_saved
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17046 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17047 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17048 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17051 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17052 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 ac_wine_try_cflags_saved=$CFLAGS
17056 CFLAGS="$CFLAGS -Wshift-overflow=2"
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 int main(int argc, char **argv) { return 0; }
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_cflags__Wshift_overflow_2=yes
17063 else
17064 ac_cv_cflags__Wshift_overflow_2=no
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 CFLAGS=$ac_wine_try_cflags_saved
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17071 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17072 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17073 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17076 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17077 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -Wstrict-prototypes"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__Wstrict_prototypes=yes
17088 else
17089 ac_cv_cflags__Wstrict_prototypes=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17096 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17097 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17098 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17101 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17102 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -Wtype-limits"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__Wtype_limits=yes
17113 else
17114 ac_cv_cflags__Wtype_limits=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17121 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17122 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17123 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17126 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17127 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__Wunused_but_set_parameter=yes
17138 else
17139 ac_cv_cflags__Wunused_but_set_parameter=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17146 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17147 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17151 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17152 if ${ac_cv_cflags__Wvla+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Wvla"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Wvla=yes
17163 else
17164 ac_cv_cflags__Wvla=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17171 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17172 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17176 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17177 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wwrite-strings"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wwrite_strings=yes
17188 else
17189 ac_cv_cflags__Wwrite_strings=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17196 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17197 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17202 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17203 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -Wpointer-arith"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__Wpointer_arith=yes
17214 else
17215 ac_cv_cflags__Wpointer_arith=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17222 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17223 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17224 saved_string_h_CFLAGS=$CFLAGS
17225 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17227 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17228 if ${ac_cv_c_string_h_warnings+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 #include <string.h>
17235 main ()
17239 return 0;
17241 _ACEOF
17242 if ac_fn_c_try_compile "$LINENO"; then :
17243 ac_cv_c_string_h_warnings=no
17244 else
17245 ac_cv_c_string_h_warnings=yes
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17250 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17251 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17252 CFLAGS=$saved_string_h_CFLAGS
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17256 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17257 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -Wlogical-op"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 int main(int argc, char **argv) { return 0; }
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_cflags__Wlogical_op=yes
17268 else
17269 ac_cv_cflags__Wlogical_op=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 CFLAGS=$ac_wine_try_cflags_saved
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17276 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17277 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17278 saved_string_h_CFLAGS=$CFLAGS
17279 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17281 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17282 if ${ac_cv_c_logicalop_noisy+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #include <string.h>
17288 char*f(const char *h,char n) {return strchr(h,n);}
17290 main ()
17294 return 0;
17296 _ACEOF
17297 if ac_fn_c_try_compile "$LINENO"; then :
17298 ac_cv_c_logicalop_noisy=no
17299 else
17300 ac_cv_c_logicalop_noisy=yes
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17305 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17306 CFLAGS=$saved_string_h_CFLAGS
17307 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17310 for ac_flag in $CFLAGS; do
17311 case $ac_flag in
17312 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17313 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17314 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 ac_wine_try_cflags_saved=$CFLAGS
17318 CFLAGS="$CFLAGS -gdwarf-2"
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 int main(int argc, char **argv) { return 0; }
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"; then :
17324 ac_cv_cflags__gdwarf_2=yes
17325 else
17326 ac_cv_cflags__gdwarf_2=no
17328 rm -f core conftest.err conftest.$ac_objext \
17329 conftest$ac_exeext conftest.$ac_ext
17330 CFLAGS=$ac_wine_try_cflags_saved
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17333 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17334 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17335 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17338 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17339 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17340 $as_echo_n "(cached) " >&6
17341 else
17342 ac_wine_try_cflags_saved=$CFLAGS
17343 CFLAGS="$CFLAGS -gstrict-dwarf"
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 int main(int argc, char **argv) { return 0; }
17347 _ACEOF
17348 if ac_fn_c_try_link "$LINENO"; then :
17349 ac_cv_cflags__gstrict_dwarf=yes
17350 else
17351 ac_cv_cflags__gstrict_dwarf=no
17353 rm -f core conftest.err conftest.$ac_objext \
17354 conftest$ac_exeext conftest.$ac_ext
17355 CFLAGS=$ac_wine_try_cflags_saved
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17358 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17359 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17360 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17361 fi ;;
17362 esac
17363 done
17365 MSVCRTFLAGS=""
17367 case $host_os in
17368 cygwin*|mingw32*) ;;
17369 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17370 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17371 if ${ac_cv_cflags__fno_builtin+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 ac_wine_try_cflags_saved=$CFLAGS
17375 CFLAGS="$CFLAGS -fno-builtin"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 int main(int argc, char **argv) { return 0; }
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_cflags__fno_builtin=yes
17382 else
17383 ac_cv_cflags__fno_builtin=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17387 CFLAGS=$ac_wine_try_cflags_saved
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17390 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17391 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17392 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17395 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17396 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 ac_wine_try_cflags_saved=$CFLAGS
17400 CFLAGS="$CFLAGS -fshort-wchar"
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 int main(int argc, char **argv) { return 0; }
17404 _ACEOF
17405 if ac_fn_c_try_link "$LINENO"; then :
17406 ac_cv_cflags__fshort_wchar=yes
17407 else
17408 ac_cv_cflags__fshort_wchar=no
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 CFLAGS=$ac_wine_try_cflags_saved
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17415 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17416 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17417 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17418 fi ;;
17419 esac
17421 case $host_cpu in
17422 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17423 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17424 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427 ac_wine_try_cflags_saved=$CFLAGS
17428 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 int main(int argc, char **argv) { return 0; }
17432 _ACEOF
17433 if ac_fn_c_try_link "$LINENO"; then :
17434 ac_cv_cflags__fno_omit_frame_pointer=yes
17435 else
17436 ac_cv_cflags__fno_omit_frame_pointer=no
17438 rm -f core conftest.err conftest.$ac_objext \
17439 conftest$ac_exeext conftest.$ac_ext
17440 CFLAGS=$ac_wine_try_cflags_saved
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17443 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17444 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17445 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17446 fi ;;
17447 *x86_64*)
17448 case $host_os in
17449 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17450 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17451 if ${ac_cv_cflags__Wno_format+:} false; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 ac_wine_try_cflags_saved=$CFLAGS
17455 CFLAGS="$CFLAGS -Wno-format"
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 int main(int argc, char **argv) { return 0; }
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"; then :
17461 ac_cv_cflags__Wno_format=yes
17462 else
17463 ac_cv_cflags__Wno_format=no
17465 rm -f core conftest.err conftest.$ac_objext \
17466 conftest$ac_exeext conftest.$ac_ext
17467 CFLAGS=$ac_wine_try_cflags_saved
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17470 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17471 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17472 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17473 fi ;;
17474 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17475 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17476 if ${ac_cv_cflags__mabi_ms+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 ac_wine_try_cflags_saved=$CFLAGS
17480 CFLAGS="$CFLAGS -mabi=ms"
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 int main(int argc, char **argv) { return 0; }
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"; then :
17486 ac_cv_cflags__mabi_ms=yes
17487 else
17488 ac_cv_cflags__mabi_ms=no
17490 rm -f core conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17492 CFLAGS=$ac_wine_try_cflags_saved
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17495 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17496 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17497 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17498 fi ;;
17499 esac ;;
17500 esac
17502 CFLAGS=$saved_CFLAGS
17504 if test "x$enable_maintainer_mode" = "xyes"
17505 then
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17507 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17508 if ${ac_cv_cflags__Werror+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 ac_wine_try_cflags_saved=$CFLAGS
17512 CFLAGS="$CFLAGS -Werror"
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 int main(int argc, char **argv) { return 0; }
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 ac_cv_cflags__Werror=yes
17519 else
17520 ac_cv_cflags__Werror=no
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17524 CFLAGS=$ac_wine_try_cflags_saved
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17527 $as_echo "$ac_cv_cflags__Werror" >&6; }
17528 if test "x$ac_cv_cflags__Werror" = xyes; then :
17529 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17536 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17537 if ${ac_cv_c_fortify_enabled+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <string.h>
17544 main ()
17546 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17547 #error Fortify enabled
17548 #endif
17550 return 0;
17552 _ACEOF
17553 if ac_fn_c_try_compile "$LINENO"; then :
17554 ac_cv_c_fortify_enabled=no
17555 else
17556 ac_cv_c_fortify_enabled=yes
17558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17561 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17562 if test "$ac_cv_c_fortify_enabled" = yes
17563 then
17564 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17569 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17570 if ${ac_cv_c_cfi_support+:} false; then :
17571 $as_echo_n "(cached) " >&6
17572 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17577 main ()
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 ac_cv_c_cfi_support="yes"
17586 else
17587 ac_cv_c_cfi_support="no"
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17592 $as_echo "$ac_cv_c_cfi_support" >&6; }
17593 if test "$ac_cv_c_cfi_support" = "yes"
17594 then
17595 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17596 else
17597 if test "x$enable_win64" = "xyes"
17598 then
17599 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17604 case $build_os in
17605 cygwin*|mingw32*) TOOLSEXT=".exe"
17607 esac
17609 case $host_os in
17610 linux*)
17611 case $host_cpu in
17612 *i[3456789]86*|x86_64*|*aarch64*)
17613 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17614 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17616 esac
17618 esac
17621 ac_save_CFLAGS="$CFLAGS"
17622 CFLAGS="$CFLAGS $BUILTINFLAG"
17623 for ac_func in \
17624 __res_get_state \
17625 __res_getservers \
17626 _spawnvp \
17627 dlopen \
17628 epoll_create \
17629 ffs \
17630 finitef \
17631 fnmatch \
17632 fork \
17633 fpclass \
17634 fstatfs \
17635 fstatvfs \
17636 futimens \
17637 futimes \
17638 futimesat \
17639 getattrlist \
17640 getauxval \
17641 getifaddrs \
17642 getopt_long_only \
17643 kqueue \
17644 lstat \
17645 pipe2 \
17646 poll \
17647 port_create \
17648 prctl \
17649 pread \
17650 proc_pidinfo \
17651 pwrite \
17652 readdir \
17653 readlink \
17654 sched_yield \
17655 select \
17656 setproctitle \
17657 setprogname \
17658 settimeofday \
17659 sigprocmask \
17660 statfs \
17661 statvfs \
17662 strnlen \
17663 strtold \
17664 symlink \
17665 sysinfo \
17666 tcdrain \
17667 thr_kill2 \
17668 timegm \
17669 usleep
17671 do :
17672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17674 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17675 cat >>confdefs.h <<_ACEOF
17676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17677 _ACEOF
17680 done
17682 CFLAGS="$ac_save_CFLAGS"
17684 if test "$ac_cv_func_dlopen" = no
17685 then
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17687 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17688 if ${ac_cv_lib_dl_dlopen+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 ac_check_lib_save_LIBS=$LIBS
17692 LIBS="-ldl $LIBS"
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17696 /* Override any GCC internal prototype to avoid an error.
17697 Use char because int might match the return type of a GCC
17698 builtin and then its argument prototype would still apply. */
17699 #ifdef __cplusplus
17700 extern "C"
17701 #endif
17702 char dlopen ();
17704 main ()
17706 return dlopen ();
17708 return 0;
17710 _ACEOF
17711 if ac_fn_c_try_link "$LINENO"; then :
17712 ac_cv_lib_dl_dlopen=yes
17713 else
17714 ac_cv_lib_dl_dlopen=no
17716 rm -f core conftest.err conftest.$ac_objext \
17717 conftest$ac_exeext conftest.$ac_ext
17718 LIBS=$ac_check_lib_save_LIBS
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17721 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17722 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17723 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17724 DL_LIBS="-ldl"
17729 ac_wine_check_funcs_save_LIBS="$LIBS"
17730 LIBS="$LIBS $DL_LIBS"
17731 for ac_func in dladdr
17732 do :
17733 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17734 if test "x$ac_cv_func_dladdr" = xyes; then :
17735 cat >>confdefs.h <<_ACEOF
17736 #define HAVE_DLADDR 1
17737 _ACEOF
17740 done
17742 LIBS="$ac_wine_check_funcs_save_LIBS"
17744 if test "$ac_cv_func_poll" = no
17745 then
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17747 $as_echo_n "checking for poll in -lpoll... " >&6; }
17748 if ${ac_cv_lib_poll_poll+:} false; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751 ac_check_lib_save_LIBS=$LIBS
17752 LIBS="-lpoll $LIBS"
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17756 /* Override any GCC internal prototype to avoid an error.
17757 Use char because int might match the return type of a GCC
17758 builtin and then its argument prototype would still apply. */
17759 #ifdef __cplusplus
17760 extern "C"
17761 #endif
17762 char poll ();
17764 main ()
17766 return poll ();
17768 return 0;
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_lib_poll_poll=yes
17773 else
17774 ac_cv_lib_poll_poll=no
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17778 LIBS=$ac_check_lib_save_LIBS
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17781 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17782 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17783 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17784 POLL_LIBS="-lpoll"
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17791 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17792 if ${ac_cv_search_gethostbyname+:} false; then :
17793 $as_echo_n "(cached) " >&6
17794 else
17795 ac_func_search_save_LIBS=$LIBS
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17799 /* Override any GCC internal prototype to avoid an error.
17800 Use char because int might match the return type of a GCC
17801 builtin and then its argument prototype would still apply. */
17802 #ifdef __cplusplus
17803 extern "C"
17804 #endif
17805 char gethostbyname ();
17807 main ()
17809 return gethostbyname ();
17811 return 0;
17813 _ACEOF
17814 for ac_lib in '' nsl; do
17815 if test -z "$ac_lib"; then
17816 ac_res="none required"
17817 else
17818 ac_res=-l$ac_lib
17819 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17821 if ac_fn_c_try_link "$LINENO"; then :
17822 ac_cv_search_gethostbyname=$ac_res
17824 rm -f core conftest.err conftest.$ac_objext \
17825 conftest$ac_exeext
17826 if ${ac_cv_search_gethostbyname+:} false; then :
17827 break
17829 done
17830 if ${ac_cv_search_gethostbyname+:} false; then :
17832 else
17833 ac_cv_search_gethostbyname=no
17835 rm conftest.$ac_ext
17836 LIBS=$ac_func_search_save_LIBS
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17839 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17840 ac_res=$ac_cv_search_gethostbyname
17841 if test "$ac_res" != no; then :
17842 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17848 $as_echo_n "checking for library containing connect... " >&6; }
17849 if ${ac_cv_search_connect+:} false; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852 ac_func_search_save_LIBS=$LIBS
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17856 /* Override any GCC internal prototype to avoid an error.
17857 Use char because int might match the return type of a GCC
17858 builtin and then its argument prototype would still apply. */
17859 #ifdef __cplusplus
17860 extern "C"
17861 #endif
17862 char connect ();
17864 main ()
17866 return connect ();
17868 return 0;
17870 _ACEOF
17871 for ac_lib in '' socket; do
17872 if test -z "$ac_lib"; then
17873 ac_res="none required"
17874 else
17875 ac_res=-l$ac_lib
17876 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17878 if ac_fn_c_try_link "$LINENO"; then :
17879 ac_cv_search_connect=$ac_res
17881 rm -f core conftest.err conftest.$ac_objext \
17882 conftest$ac_exeext
17883 if ${ac_cv_search_connect+:} false; then :
17884 break
17886 done
17887 if ${ac_cv_search_connect+:} false; then :
17889 else
17890 ac_cv_search_connect=no
17892 rm conftest.$ac_ext
17893 LIBS=$ac_func_search_save_LIBS
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17896 $as_echo "$ac_cv_search_connect" >&6; }
17897 ac_res=$ac_cv_search_connect
17898 if test "$ac_res" != no; then :
17899 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17905 $as_echo_n "checking for library containing inet_aton... " >&6; }
17906 if ${ac_cv_search_inet_aton+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 ac_func_search_save_LIBS=$LIBS
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17913 /* Override any GCC internal prototype to avoid an error.
17914 Use char because int might match the return type of a GCC
17915 builtin and then its argument prototype would still apply. */
17916 #ifdef __cplusplus
17917 extern "C"
17918 #endif
17919 char inet_aton ();
17921 main ()
17923 return inet_aton ();
17925 return 0;
17927 _ACEOF
17928 for ac_lib in '' resolv; do
17929 if test -z "$ac_lib"; then
17930 ac_res="none required"
17931 else
17932 ac_res=-l$ac_lib
17933 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17935 if ac_fn_c_try_link "$LINENO"; then :
17936 ac_cv_search_inet_aton=$ac_res
17938 rm -f core conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext
17940 if ${ac_cv_search_inet_aton+:} false; then :
17941 break
17943 done
17944 if ${ac_cv_search_inet_aton+:} false; then :
17946 else
17947 ac_cv_search_inet_aton=no
17949 rm conftest.$ac_ext
17950 LIBS=$ac_func_search_save_LIBS
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17953 $as_echo "$ac_cv_search_inet_aton" >&6; }
17954 ac_res=$ac_cv_search_inet_aton
17955 if test "$ac_res" != no; then :
17956 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17961 for ac_func in \
17962 getaddrinfo \
17963 getnameinfo \
17964 getnetbyname \
17965 getprotobyname \
17966 getprotobynumber \
17967 getservbyport \
17968 inet_addr \
17969 inet_network \
17970 inet_ntop \
17971 inet_pton \
17973 do :
17974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17976 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17977 cat >>confdefs.h <<_ACEOF
17978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17979 _ACEOF
17982 done
17985 case $host_os in
17986 darwin*|macosx*) ;;
17987 *) ac_save_LIBS=$LIBS
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17989 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17990 if ${ac_cv_search_clock_gettime+:} false; then :
17991 $as_echo_n "(cached) " >&6
17992 else
17993 ac_func_search_save_LIBS=$LIBS
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17997 /* Override any GCC internal prototype to avoid an error.
17998 Use char because int might match the return type of a GCC
17999 builtin and then its argument prototype would still apply. */
18000 #ifdef __cplusplus
18001 extern "C"
18002 #endif
18003 char clock_gettime ();
18005 main ()
18007 return clock_gettime ();
18009 return 0;
18011 _ACEOF
18012 for ac_lib in '' rt; do
18013 if test -z "$ac_lib"; then
18014 ac_res="none required"
18015 else
18016 ac_res=-l$ac_lib
18017 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18019 if ac_fn_c_try_link "$LINENO"; then :
18020 ac_cv_search_clock_gettime=$ac_res
18022 rm -f core conftest.err conftest.$ac_objext \
18023 conftest$ac_exeext
18024 if ${ac_cv_search_clock_gettime+:} false; then :
18025 break
18027 done
18028 if ${ac_cv_search_clock_gettime+:} false; then :
18030 else
18031 ac_cv_search_clock_gettime=no
18033 rm conftest.$ac_ext
18034 LIBS=$ac_func_search_save_LIBS
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18037 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18038 ac_res=$ac_cv_search_clock_gettime
18039 if test "$ac_res" != no; then :
18040 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18042 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18044 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18048 LIBS=$ac_save_LIBS
18050 esac
18052 if test "x$with_ldap" != "xno"
18053 then
18054 if ${LDAP_CFLAGS:+false} :; then :
18055 if ${PKG_CONFIG+:} false; then :
18056 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18060 if ${LDAP_LIBS:+false} :; then :
18061 if ${PKG_CONFIG+:} false; then :
18062 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18066 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18067 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18068 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18069 ac_save_CPPFLAGS=$CPPFLAGS
18070 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18071 for ac_header in ldap.h lber.h
18072 do :
18073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18074 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18076 cat >>confdefs.h <<_ACEOF
18077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18078 _ACEOF
18082 done
18084 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18085 then
18086 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18088 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18090 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18091 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18092 $as_echo_n "(cached) " >&6
18093 else
18094 ac_check_lib_save_LIBS=$LIBS
18095 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18099 /* Override any GCC internal prototype to avoid an error.
18100 Use char because int might match the return type of a GCC
18101 builtin and then its argument prototype would still apply. */
18102 #ifdef __cplusplus
18103 extern "C"
18104 #endif
18105 char ldap_initialize ();
18107 main ()
18109 return ldap_initialize ();
18111 return 0;
18113 _ACEOF
18114 if ac_fn_c_try_link "$LINENO"; then :
18115 ac_cv_lib_ldap_r_ldap_initialize=yes
18116 else
18117 ac_cv_lib_ldap_r_ldap_initialize=no
18119 rm -f core conftest.err conftest.$ac_objext \
18120 conftest$ac_exeext conftest.$ac_ext
18121 LIBS=$ac_check_lib_save_LIBS
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18124 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18125 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18127 $as_echo_n "checking for ber_init in -llber... " >&6; }
18128 if ${ac_cv_lib_lber_ber_init+:} false; then :
18129 $as_echo_n "(cached) " >&6
18130 else
18131 ac_check_lib_save_LIBS=$LIBS
18132 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 /* Override any GCC internal prototype to avoid an error.
18137 Use char because int might match the return type of a GCC
18138 builtin and then its argument prototype would still apply. */
18139 #ifdef __cplusplus
18140 extern "C"
18141 #endif
18142 char ber_init ();
18144 main ()
18146 return ber_init ();
18148 return 0;
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"; then :
18152 ac_cv_lib_lber_ber_init=yes
18153 else
18154 ac_cv_lib_lber_ber_init=no
18156 rm -f core conftest.err conftest.$ac_objext \
18157 conftest$ac_exeext conftest.$ac_ext
18158 LIBS=$ac_check_lib_save_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18161 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18162 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18164 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18166 else
18167 LDAP_LIBS=""
18170 else
18171 LDAP_LIBS=""
18174 else
18175 LDAP_LIBS=""
18178 ac_wine_check_funcs_save_LIBS="$LIBS"
18179 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18180 for ac_func in \
18181 ldap_count_references \
18182 ldap_first_reference \
18183 ldap_next_reference \
18184 ldap_parse_reference \
18185 ldap_parse_sort_control \
18186 ldap_parse_sortresponse_control \
18187 ldap_parse_vlv_control \
18188 ldap_parse_vlvresponse_control
18189 do :
18190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18192 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18193 cat >>confdefs.h <<_ACEOF
18194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18195 _ACEOF
18198 done
18200 LIBS="$ac_wine_check_funcs_save_LIBS"
18201 else
18202 LDAP_LIBS=""
18204 CPPFLAGS=$ac_save_CPPFLAGS
18205 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18206 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18209 if test "x$LDAP_LIBS" = "x"; then :
18210 case "x$with_ldap" in
18211 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18212 xno) ;;
18213 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18214 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18215 esac
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18220 $as_echo_n "checking for sched_setaffinity... " >&6; }
18221 if ${wine_cv_have_sched_setaffinity+:} false; then :
18222 $as_echo_n "(cached) " >&6
18223 else
18224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18226 #define _GNU_SOURCE
18227 #include <sched.h>
18229 main ()
18231 sched_setaffinity(0, 0, 0);
18233 return 0;
18235 _ACEOF
18236 if ac_fn_c_try_link "$LINENO"; then :
18237 wine_cv_have_sched_setaffinity=yes
18238 else
18239 wine_cv_have_sched_setaffinity=no
18241 rm -f core conftest.err conftest.$ac_objext \
18242 conftest$ac_exeext conftest.$ac_ext
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18245 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18246 if test "$wine_cv_have_sched_setaffinity" = "yes"
18247 then
18249 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18254 $as_echo_n "checking for fallocate... " >&6; }
18255 if ${wine_cv_have_fallocate+:} false; then :
18256 $as_echo_n "(cached) " >&6
18257 else
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18260 #define _GNU_SOURCE
18261 #include <fcntl.h>
18263 main ()
18265 fallocate(-1, 0, 0, 0);
18267 return 0;
18269 _ACEOF
18270 if ac_fn_c_try_link "$LINENO"; then :
18271 wine_cv_have_fallocate=yes
18272 else
18273 wine_cv_have_fallocate=no
18275 rm -f core conftest.err conftest.$ac_objext \
18276 conftest$ac_exeext conftest.$ac_ext
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18279 $as_echo "$wine_cv_have_fallocate" >&6; }
18280 if test "$wine_cv_have_fallocate" = "yes"
18281 then
18283 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18289 $as_echo_n "checking for inline... " >&6; }
18290 if ${ac_cv_c_inline+:} false; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18293 ac_cv_c_inline=no
18294 for ac_kw in inline __inline__ __inline; do
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #ifndef __cplusplus
18298 typedef int foo_t;
18299 static $ac_kw foo_t static_foo () {return 0; }
18300 $ac_kw foo_t foo () {return 0; }
18301 #endif
18303 _ACEOF
18304 if ac_fn_c_try_compile "$LINENO"; then :
18305 ac_cv_c_inline=$ac_kw
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308 test "$ac_cv_c_inline" != no && break
18309 done
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18313 $as_echo "$ac_cv_c_inline" >&6; }
18315 case $ac_cv_c_inline in
18316 inline | yes) ;;
18318 case $ac_cv_c_inline in
18319 no) ac_val=;;
18320 *) ac_val=$ac_cv_c_inline;;
18321 esac
18322 cat >>confdefs.h <<_ACEOF
18323 #ifndef __cplusplus
18324 #define inline $ac_val
18325 #endif
18326 _ACEOF
18328 esac
18330 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18331 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18333 cat >>confdefs.h <<_ACEOF
18334 #define HAVE_FSBLKCNT_T 1
18335 _ACEOF
18339 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18340 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18342 cat >>confdefs.h <<_ACEOF
18343 #define HAVE_FSFILCNT_T 1
18344 _ACEOF
18349 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18350 #include <signal.h>
18352 if test "x$ac_cv_type_sigset_t" = xyes; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define HAVE_SIGSET_T 1
18356 _ACEOF
18361 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18363 if test "x$ac_cv_type_request_sense" = xyes; then :
18365 cat >>confdefs.h <<_ACEOF
18366 #define HAVE_REQUEST_SENSE 1
18367 _ACEOF
18373 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18374 #ifdef HAVE_SYS_SOCKET_H
18375 #include <sys/socket.h>
18376 #endif
18377 #ifdef HAVE_SYS_SOCKETVAR_H
18378 #include <sys/socketvar.h>
18379 #endif
18380 #ifdef HAVE_NET_ROUTE_H
18381 #include <net/route.h>
18382 #endif
18383 #ifdef HAVE_NETINET_IN_H
18384 #include <netinet/in.h>
18385 #endif
18386 #ifdef HAVE_NETINET_IN_SYSTM_H
18387 #include <netinet/in_systm.h>
18388 #endif
18389 #ifdef HAVE_NETINET_IP_H
18390 #include <netinet/ip.h>
18391 #endif
18392 #ifdef HAVE_NETINET_IN_PCB_H
18393 #include <netinet/in_pcb.h>
18394 #endif
18396 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_STRUCT_XINPGEN 1
18400 _ACEOF
18406 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18407 #include <link.h>
18408 #endif
18409 #ifdef HAVE_SYS_LINK_H
18410 #include <sys/link.h>
18411 #endif
18413 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18415 cat >>confdefs.h <<_ACEOF
18416 #define HAVE_STRUCT_R_DEBUG 1
18417 _ACEOF
18421 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18422 #include <link.h>
18423 #endif
18424 #ifdef HAVE_SYS_LINK_H
18425 #include <sys/link.h>
18426 #endif
18428 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18430 cat >>confdefs.h <<_ACEOF
18431 #define HAVE_STRUCT_LINK_MAP 1
18432 _ACEOF
18438 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18439 #include <linux/input.h>
18440 #endif
18442 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18444 cat >>confdefs.h <<_ACEOF
18445 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18446 _ACEOF
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18453 $as_echo_n "checking for if_nameindex... " >&6; }
18454 if ${wine_cv_have_if_nameindex+:} false; then :
18455 $as_echo_n "(cached) " >&6
18456 else
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18459 #ifdef HAVE_SYS_TYPES_H
18460 #include <sys/types.h>
18461 #endif
18462 #ifdef HAVE_SYS_SOCKET_H
18463 #include <sys/socket.h>
18464 #endif
18465 #ifdef HAVE_NET_IF_H
18466 # include <net/if.h>
18467 #endif
18469 main ()
18471 struct if_nameindex *p = if_nameindex(); return p->if_index;
18473 return 0;
18475 _ACEOF
18476 if ac_fn_c_try_link "$LINENO"; then :
18477 wine_cv_have_if_nameindex=yes
18478 else
18479 wine_cv_have_if_nameindex=no
18481 rm -f core conftest.err conftest.$ac_objext \
18482 conftest$ac_exeext conftest.$ac_ext
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18485 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18486 if test "$wine_cv_have_if_nameindex" = "yes"
18487 then
18489 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18494 $as_echo_n "checking for sigaddset... " >&6; }
18495 if ${wine_cv_have_sigaddset+:} false; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18500 #include <signal.h>
18502 main ()
18504 sigset_t set; sigaddset(&set,SIGTERM);
18506 return 0;
18508 _ACEOF
18509 if ac_fn_c_try_link "$LINENO"; then :
18510 wine_cv_have_sigaddset=yes
18511 else
18512 wine_cv_have_sigaddset=no
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18518 $as_echo "$wine_cv_have_sigaddset" >&6; }
18519 if test "$wine_cv_have_sigaddset" = "yes"
18520 then
18522 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18528 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18529 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18530 $as_echo_n "(cached) " >&6
18531 else
18532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18534 #include <netdb.h>
18536 main ()
18539 char *name=0;
18540 struct hostent he;
18541 struct hostent *result;
18542 char *buf=0;
18543 int bufsize=0;
18544 int errnr;
18545 char *addr=0;
18546 int addrlen=0;
18547 int addrtype=0;
18548 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18549 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18552 return 0;
18554 _ACEOF
18555 if ac_fn_c_try_link "$LINENO"; then :
18556 wine_cv_linux_gethostbyname_r_6=yes
18557 else
18558 wine_cv_linux_gethostbyname_r_6=no
18561 rm -f core conftest.err conftest.$ac_objext \
18562 conftest$ac_exeext conftest.$ac_ext
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18566 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18567 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18568 then
18570 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18574 if test "$ac_cv_header_linux_joystick_h" = "yes"
18575 then
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18577 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18578 if ${wine_cv_linux_joystick_22_api+:} false; then :
18579 $as_echo_n "(cached) " >&6
18580 else
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18584 #include <sys/ioctl.h>
18585 #include <sys/types.h>
18586 #include <linux/joystick.h>
18588 struct js_event blub;
18589 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18590 #error "no 2.2 header"
18591 #endif
18594 main ()
18596 /*empty*/
18598 return 0;
18600 _ACEOF
18601 if ac_fn_c_try_compile "$LINENO"; then :
18602 wine_cv_linux_joystick_22_api=yes
18603 else
18604 wine_cv_linux_joystick_22_api=no
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18610 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18611 if test "$wine_cv_linux_joystick_22_api" = "yes"
18612 then
18614 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18620 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18621 #ifdef HAVE_SYS_PARAM_H
18622 # include <sys/param.h>
18623 #endif
18624 #ifdef HAVE_SYS_MOUNT_H
18625 # include <sys/mount.h>
18626 #endif
18627 #ifdef HAVE_SYS_VFS_H
18628 # include <sys/vfs.h>
18629 #endif
18630 #ifdef HAVE_SYS_STATFS_H
18631 # include <sys/statfs.h>
18632 #endif
18634 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_STRUCT_STATFS_F_BFREE 1
18638 _ACEOF
18642 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18643 #ifdef HAVE_SYS_PARAM_H
18644 # include <sys/param.h>
18645 #endif
18646 #ifdef HAVE_SYS_MOUNT_H
18647 # include <sys/mount.h>
18648 #endif
18649 #ifdef HAVE_SYS_VFS_H
18650 # include <sys/vfs.h>
18651 #endif
18652 #ifdef HAVE_SYS_STATFS_H
18653 # include <sys/statfs.h>
18654 #endif
18656 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18658 cat >>confdefs.h <<_ACEOF
18659 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18660 _ACEOF
18664 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18665 #ifdef HAVE_SYS_PARAM_H
18666 # include <sys/param.h>
18667 #endif
18668 #ifdef HAVE_SYS_MOUNT_H
18669 # include <sys/mount.h>
18670 #endif
18671 #ifdef HAVE_SYS_VFS_H
18672 # include <sys/vfs.h>
18673 #endif
18674 #ifdef HAVE_SYS_STATFS_H
18675 # include <sys/statfs.h>
18676 #endif
18678 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18682 _ACEOF
18686 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18687 #ifdef HAVE_SYS_PARAM_H
18688 # include <sys/param.h>
18689 #endif
18690 #ifdef HAVE_SYS_MOUNT_H
18691 # include <sys/mount.h>
18692 #endif
18693 #ifdef HAVE_SYS_VFS_H
18694 # include <sys/vfs.h>
18695 #endif
18696 #ifdef HAVE_SYS_STATFS_H
18697 # include <sys/statfs.h>
18698 #endif
18700 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18702 cat >>confdefs.h <<_ACEOF
18703 #define HAVE_STRUCT_STATFS_F_FFREE 1
18704 _ACEOF
18708 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18709 #ifdef HAVE_SYS_PARAM_H
18710 # include <sys/param.h>
18711 #endif
18712 #ifdef HAVE_SYS_MOUNT_H
18713 # include <sys/mount.h>
18714 #endif
18715 #ifdef HAVE_SYS_VFS_H
18716 # include <sys/vfs.h>
18717 #endif
18718 #ifdef HAVE_SYS_STATFS_H
18719 # include <sys/statfs.h>
18720 #endif
18722 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18726 _ACEOF
18730 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18731 #ifdef HAVE_SYS_PARAM_H
18732 # include <sys/param.h>
18733 #endif
18734 #ifdef HAVE_SYS_MOUNT_H
18735 # include <sys/mount.h>
18736 #endif
18737 #ifdef HAVE_SYS_VFS_H
18738 # include <sys/vfs.h>
18739 #endif
18740 #ifdef HAVE_SYS_STATFS_H
18741 # include <sys/statfs.h>
18742 #endif
18744 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18748 _ACEOF
18754 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18755 #include <sys/statvfs.h>
18756 #endif
18758 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18760 cat >>confdefs.h <<_ACEOF
18761 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18762 _ACEOF
18768 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18769 #include <dirent.h>
18770 #endif
18772 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18774 cat >>confdefs.h <<_ACEOF
18775 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18776 _ACEOF
18782 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18783 #ifdef HAVE_SYS_SOCKET_H
18784 # include <sys/socket.h>
18785 #endif
18786 #ifdef HAVE_SYS_UN_H
18787 # include <sys/un.h>
18788 #endif
18790 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18792 cat >>confdefs.h <<_ACEOF
18793 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18794 _ACEOF
18798 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18799 #ifdef HAVE_SYS_SOCKET_H
18800 # include <sys/socket.h>
18801 #endif
18802 #ifdef HAVE_SYS_UN_H
18803 # include <sys/un.h>
18804 #endif
18806 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18810 _ACEOF
18814 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18815 #ifdef HAVE_SYS_SOCKET_H
18816 # include <sys/socket.h>
18817 #endif
18818 #ifdef HAVE_SYS_UN_H
18819 # include <sys/un.h>
18820 #endif
18822 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18826 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18833 #ifdef HAVE_SCSI_SG_H
18834 #include <scsi/sg.h>
18835 #endif
18837 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_SCSIREQ_T_CMD 1
18841 _ACEOF
18845 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>
18846 #ifdef HAVE_SCSI_SG_H
18847 #include <scsi/sg.h>
18848 #endif
18850 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18854 _ACEOF
18860 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18862 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_SIGINFO_T_SI_FD 1
18866 _ACEOF
18872 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18873 #ifdef HAVE_SYS_MTIO_H
18874 #include <sys/mtio.h>
18875 #endif
18877 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18879 cat >>confdefs.h <<_ACEOF
18880 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18881 _ACEOF
18885 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18886 #ifdef HAVE_SYS_MTIO_H
18887 #include <sys/mtio.h>
18888 #endif
18890 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18892 cat >>confdefs.h <<_ACEOF
18893 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18894 _ACEOF
18898 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18899 #ifdef HAVE_SYS_MTIO_H
18900 #include <sys/mtio.h>
18901 #endif
18903 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18907 _ACEOF
18913 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18914 #include <getopt.h>
18915 #endif
18917 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18919 cat >>confdefs.h <<_ACEOF
18920 #define HAVE_STRUCT_OPTION_NAME 1
18921 _ACEOF
18927 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18928 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18932 _ACEOF
18936 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18937 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_STRUCT_STAT_ST_MTIM 1
18941 _ACEOF
18945 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18946 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18950 _ACEOF
18954 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18955 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_STAT_ST_CTIM 1
18959 _ACEOF
18963 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18964 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18966 cat >>confdefs.h <<_ACEOF
18967 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18968 _ACEOF
18972 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18973 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_STRUCT_STAT_ST_ATIM 1
18977 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18982 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18991 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18995 _ACEOF
18999 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19000 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19004 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19009 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19018 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19027 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19031 _ACEOF
19037 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
19038 #include <sys/types.h>
19039 #endif
19040 #ifdef HAVE_NETINET_IN_H
19041 #include <netinet/in.h>
19042 #endif
19044 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19048 _ACEOF
19054 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19055 #include <sys/types.h>
19056 #endif
19057 #ifdef HAVE_NETINET_IN_H
19058 #include <netinet/in.h>
19059 #endif
19060 #ifdef HAVE_RESOLV_H
19061 #include <resolv.h>
19062 #endif
19064 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STRUCT___RES_STATE 1
19068 _ACEOF
19074 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
19075 #include <resolv.h>
19076 #endif
19078 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19082 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19089 #include <sys/types.h>
19090 #endif
19091 #ifdef HAVE_NETINET_IN_H
19092 # include <netinet/in.h>
19093 #endif
19094 #ifdef HAVE_ARPA_NAMESER_H
19095 # include <arpa/nameser.h>
19096 #endif
19098 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_NS_MSG__MSG_PTR 1
19102 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19109 #include <sys/types.h>
19110 #endif
19111 #ifdef HAVE_NETINET_IN_H
19112 #include <netinet/in.h>
19113 #endif
19114 #ifdef HAVE_NETINET_IP_H
19115 #include <netinet/ip.h>
19116 #endif
19117 #ifdef HAVE_NETINET_IP_ICMP_H
19118 #include <netinet/ip_icmp.h>
19119 #endif
19120 #ifdef HAVE_NETINET_ICMP_VAR_H
19121 #include <netinet/icmp_var.h>
19122 #endif
19124 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19128 _ACEOF
19134 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19135 #include <sys/types.h>
19136 #endif
19137 #ifdef HAVE_ALIAS_H
19138 #include <alias.h>
19139 #endif
19140 #ifdef HAVE_SYS_SOCKET_H
19141 #include <sys/socket.h>
19142 #endif
19143 #ifdef HAVE_SYS_SOCKETVAR_H
19144 #include <sys/socketvar.h>
19145 #endif
19146 #ifdef HAVE_SYS_TIMEOUT_H
19147 #include <sys/timeout.h>
19148 #endif
19149 #ifdef HAVE_NETINET_IN_H
19150 #include <netinet/in.h>
19151 #endif
19152 #ifdef HAVE_NETINET_IN_SYSTM_H
19153 #include <netinet/in_systm.h>
19154 #endif
19155 #ifdef HAVE_NETINET_IP_H
19156 #include <netinet/ip.h>
19157 #endif
19158 #ifdef HAVE_NETINET_IP_VAR_H
19159 #include <netinet/ip_var.h>
19160 #endif
19161 #ifdef HAVE_NETINET_IP_ICMP_H
19162 #include <netinet/ip_icmp.h>
19163 #endif
19164 #ifdef HAVE_NETINET_ICMP_VAR_H
19165 #include <netinet/icmp_var.h>
19166 #endif
19168 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19172 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19179 #include <sys/types.h>
19180 #endif
19181 #ifdef HAVE_SYS_SOCKETVAR_H
19182 #include <sys/socketvar.h>
19183 #endif
19184 #ifdef HAVE_NETINET_IN_H
19185 #include <netinet/in.h>
19186 #endif
19187 #ifdef HAVE_NETINET_IP_VAR_H
19188 #include <netinet/ip_var.h>
19189 #endif
19191 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19195 _ACEOF
19201 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
19202 #include <netinet/ip_var.h>
19203 #endif
19205 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19207 cat >>confdefs.h <<_ACEOF
19208 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19209 _ACEOF
19215 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19216 #include <sys/types.h>
19217 #endif
19218 #ifdef HAVE_SYS_SOCKETVAR_H
19219 #include <sys/socketvar.h>
19220 #endif
19221 #ifdef HAVE_NETINET_IN_H
19222 #include <netinet/in.h>
19223 #endif
19224 #ifdef HAVE_NETINET_TCP_H
19225 #include <netinet/tcp.h>
19226 #endif
19227 #ifdef HAVE_NETINET_TCP_VAR_H
19228 #include <netinet/tcp_var.h>
19229 #endif
19231 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19233 cat >>confdefs.h <<_ACEOF
19234 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19235 _ACEOF
19241 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
19242 #include <netinet/tcp_var.h>
19243 #endif
19245 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19249 _ACEOF
19255 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19256 #include <sys/types.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IN_H
19259 #include <netinet/in.h>
19260 #endif
19261 #ifdef HAVE_NETINET_IP_VAR_H
19262 #include <netinet/ip_var.h>
19263 #endif
19264 #ifdef HAVE_NETINET_UDP_H
19265 #include <netinet/udp.h>
19266 #endif
19267 #ifdef HAVE_NETINET_UDP_VAR_H
19268 #include <netinet/udp_var.h>
19269 #endif
19271 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19275 _ACEOF
19281 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19282 #include <sys/types.h>
19283 #endif
19284 #ifdef HAVE_NET_IF_H
19285 # include <net/if.h>
19286 #endif
19288 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19292 _ACEOF
19298 ac_save_LIBS="$LIBS"
19299 LIBS="$LIBS -lm"
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19301 $as_echo_n "checking for isfinite... " >&6; }
19302 if ${ac_cv_have_isfinite+:} false; then :
19303 $as_echo_n "(cached) " >&6
19304 else
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 #define _GNU_SOURCE
19308 #include <math.h>
19310 main ()
19312 float f = 0.0; return isfinite(f)
19314 return 0;
19316 _ACEOF
19317 if ac_fn_c_try_link "$LINENO"; then :
19318 ac_cv_have_isfinite="yes"
19319 else
19320 ac_cv_have_isfinite="no"
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19326 $as_echo "$ac_cv_have_isfinite" >&6; }
19327 if test "$ac_cv_have_isfinite" = "yes"
19328 then
19330 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19335 $as_echo_n "checking for isinf... " >&6; }
19336 if ${ac_cv_have_isinf+:} false; then :
19337 $as_echo_n "(cached) " >&6
19338 else
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19341 #include <math.h>
19343 main ()
19345 float f = 0.0; return isinf(f)
19347 return 0;
19349 _ACEOF
19350 if ac_fn_c_try_link "$LINENO"; then :
19351 ac_cv_have_isinf="yes"
19352 else
19353 ac_cv_have_isinf="no"
19355 rm -f core conftest.err conftest.$ac_objext \
19356 conftest$ac_exeext conftest.$ac_ext
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19359 $as_echo "$ac_cv_have_isinf" >&6; }
19360 if test "$ac_cv_have_isinf" = "yes"
19361 then
19363 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19368 $as_echo_n "checking for isnan... " >&6; }
19369 if ${ac_cv_have_isnan+:} false; then :
19370 $as_echo_n "(cached) " >&6
19371 else
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 #include <math.h>
19376 main ()
19378 float f = 0.0; return isnan(f)
19380 return 0;
19382 _ACEOF
19383 if ac_fn_c_try_link "$LINENO"; then :
19384 ac_cv_have_isnan="yes"
19385 else
19386 ac_cv_have_isnan="no"
19388 rm -f core conftest.err conftest.$ac_objext \
19389 conftest$ac_exeext conftest.$ac_ext
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19392 $as_echo "$ac_cv_have_isnan" >&6; }
19393 if test "$ac_cv_have_isnan" = "yes"
19394 then
19396 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19400 for ac_func in \
19401 acosh \
19402 acoshf \
19403 asinh \
19404 asinhf \
19405 atanh \
19406 atanhf \
19407 cbrt \
19408 cbrtf \
19409 erf \
19410 erfc \
19411 erfcf \
19412 erff \
19413 exp2 \
19414 exp2f \
19415 expm1 \
19416 expm1f \
19417 fma \
19418 fmaf \
19419 ilogb \
19420 ilogbf \
19421 j0 \
19422 j1 \
19423 jn \
19424 lgamma \
19425 lgammaf \
19426 llrint \
19427 llrintf \
19428 llround \
19429 llroundf \
19430 log1p \
19431 log1pf \
19432 log2 \
19433 log2f \
19434 lrint \
19435 lrintf \
19436 lround \
19437 lroundf \
19438 nearbyint \
19439 nearbyintf \
19440 nexttoward \
19441 nexttowardf \
19442 powl \
19443 remainder \
19444 remainderf \
19445 remquo \
19446 remquof \
19447 rint \
19448 rintf \
19449 round \
19450 roundf \
19451 tgamma \
19452 tgammaf \
19453 trunc \
19454 truncf \
19455 y0 \
19456 y1 \
19459 do :
19460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19463 cat >>confdefs.h <<_ACEOF
19464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19465 _ACEOF
19468 done
19470 LIBS="$ac_save_LIBS"
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19473 $as_echo_n "checking for __builtin_clz... " >&6; }
19474 if ${ac_cv_have___builtin_clz+:} false; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19481 main ()
19483 return __builtin_clz(1)
19485 return 0;
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"; then :
19489 ac_cv_have___builtin_clz="yes"
19490 else
19491 ac_cv_have___builtin_clz="no"
19493 rm -f core conftest.err conftest.$ac_objext \
19494 conftest$ac_exeext conftest.$ac_ext
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19497 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19498 if test "$ac_cv_have___builtin_clz" = "yes"
19499 then
19501 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19506 $as_echo_n "checking for __builtin_popcount... " >&6; }
19507 if ${ac_cv_have___builtin_popcount+:} false; then :
19508 $as_echo_n "(cached) " >&6
19509 else
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19514 main ()
19516 return __builtin_popcount(1)
19518 return 0;
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"; then :
19522 ac_cv_have___builtin_popcount="yes"
19523 else
19524 ac_cv_have___builtin_popcount="no"
19526 rm -f core conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19530 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19531 if test "$ac_cv_have___builtin_popcount" = "yes"
19532 then
19534 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19539 $as_echo_n "checking for __clear_cache... " >&6; }
19540 if ${ac_cv_have___clear_cache+:} false; then :
19541 $as_echo_n "(cached) " >&6
19542 else
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19547 main ()
19549 __clear_cache((void*)0, (void*)0); return 0;
19551 return 0;
19553 _ACEOF
19554 if ac_fn_c_try_link "$LINENO"; then :
19555 ac_cv_have___clear_cache="yes"
19556 else
19557 ac_cv_have___clear_cache="no"
19559 rm -f core conftest.err conftest.$ac_objext \
19560 conftest$ac_exeext conftest.$ac_ext
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19563 $as_echo "$ac_cv_have___clear_cache" >&6; }
19564 if test "$ac_cv_have___clear_cache" = "yes"
19565 then
19567 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19572 case $host_cpu in
19573 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19574 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19575 if ${ac_cv_cpp_def___i386__+:} false; then :
19576 $as_echo_n "(cached) " >&6
19577 else
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580 #ifndef __i386__
19582 #endif
19583 _ACEOF
19584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19585 $EGREP "yes" >/dev/null 2>&1; then :
19586 ac_cv_cpp_def___i386__=yes
19587 else
19588 ac_cv_cpp_def___i386__=no
19590 rm -f conftest*
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19594 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19595 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19596 CFLAGS="$CFLAGS -D__i386__"
19597 LINTFLAGS="$LINTFLAGS -D__i386__"
19598 fi ;;
19599 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19600 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19601 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19602 $as_echo_n "(cached) " >&6
19603 else
19604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19605 /* end confdefs.h. */
19606 #ifndef __x86_64__
19608 #endif
19609 _ACEOF
19610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19611 $EGREP "yes" >/dev/null 2>&1; then :
19612 ac_cv_cpp_def___x86_64__=yes
19613 else
19614 ac_cv_cpp_def___x86_64__=no
19616 rm -f conftest*
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19620 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19621 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19622 CFLAGS="$CFLAGS -D__x86_64__"
19623 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19624 fi ;;
19625 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19626 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19627 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19628 $as_echo_n "(cached) " >&6
19629 else
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19632 #ifndef __sparc64__
19634 #endif
19635 _ACEOF
19636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19637 $EGREP "yes" >/dev/null 2>&1; then :
19638 ac_cv_cpp_def___sparc64__=yes
19639 else
19640 ac_cv_cpp_def___sparc64__=no
19642 rm -f conftest*
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19646 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19647 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19648 CFLAGS="$CFLAGS -D__sparc64__"
19649 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19650 fi ;;
19651 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19652 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19653 if ${ac_cv_cpp_def___sparc__+:} false; then :
19654 $as_echo_n "(cached) " >&6
19655 else
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 #ifndef __sparc__
19660 #endif
19661 _ACEOF
19662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19663 $EGREP "yes" >/dev/null 2>&1; then :
19664 ac_cv_cpp_def___sparc__=yes
19665 else
19666 ac_cv_cpp_def___sparc__=no
19668 rm -f conftest*
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19672 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19673 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19674 CFLAGS="$CFLAGS -D__sparc__"
19675 LINTFLAGS="$LINTFLAGS -D__sparc__"
19676 fi ;;
19677 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19678 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19679 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19680 $as_echo_n "(cached) " >&6
19681 else
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19684 #ifndef __powerpc64__
19686 #endif
19687 _ACEOF
19688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19689 $EGREP "yes" >/dev/null 2>&1; then :
19690 ac_cv_cpp_def___powerpc64__=yes
19691 else
19692 ac_cv_cpp_def___powerpc64__=no
19694 rm -f conftest*
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19698 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19699 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19700 CFLAGS="$CFLAGS -D__powerpc64__"
19701 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19702 fi ;;
19703 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19704 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19705 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19706 $as_echo_n "(cached) " >&6
19707 else
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710 #ifndef __powerpc__
19712 #endif
19713 _ACEOF
19714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19715 $EGREP "yes" >/dev/null 2>&1; then :
19716 ac_cv_cpp_def___powerpc__=yes
19717 else
19718 ac_cv_cpp_def___powerpc__=no
19720 rm -f conftest*
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19724 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19725 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19726 CFLAGS="$CFLAGS -D__powerpc__"
19727 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19728 fi ;;
19729 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19730 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19731 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19736 #ifndef __aarch64__
19738 #endif
19739 _ACEOF
19740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19741 $EGREP "yes" >/dev/null 2>&1; then :
19742 ac_cv_cpp_def___aarch64__=yes
19743 else
19744 ac_cv_cpp_def___aarch64__=no
19746 rm -f conftest*
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19750 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19751 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19752 CFLAGS="$CFLAGS -D__aarch64__"
19753 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19754 fi ;;
19755 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19756 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19757 if ${ac_cv_cpp_def___arm__+:} false; then :
19758 $as_echo_n "(cached) " >&6
19759 else
19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19761 /* end confdefs.h. */
19762 #ifndef __arm__
19764 #endif
19765 _ACEOF
19766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19767 $EGREP "yes" >/dev/null 2>&1; then :
19768 ac_cv_cpp_def___arm__=yes
19769 else
19770 ac_cv_cpp_def___arm__=no
19772 rm -f conftest*
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19776 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19777 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19778 CFLAGS="$CFLAGS -D__arm__"
19779 LINTFLAGS="$LINTFLAGS -D__arm__"
19780 fi ;;
19781 esac
19783 case $host_vendor in
19784 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19785 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19786 if ${ac_cv_cpp_def___sun__+:} false; then :
19787 $as_echo_n "(cached) " >&6
19788 else
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #ifndef __sun__
19793 #endif
19794 _ACEOF
19795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19796 $EGREP "yes" >/dev/null 2>&1; then :
19797 ac_cv_cpp_def___sun__=yes
19798 else
19799 ac_cv_cpp_def___sun__=no
19801 rm -f conftest*
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19805 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19806 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19807 CFLAGS="$CFLAGS -D__sun__"
19808 LINTFLAGS="$LINTFLAGS -D__sun__"
19809 fi ;;
19810 esac
19816 ac_config_commands="$ac_config_commands include/stamp-h"
19818 $as_echo_n "creating Makefile rules..." >&6
19820 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19821 OPENGL_LIBS = $OPENGL_LIBS
19822 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19823 IOKIT_LIBS = $IOKIT_LIBS
19824 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19825 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19826 CORESERVICES_LIBS = $CORESERVICES_LIBS
19827 APPKIT_LIBS = $APPKIT_LIBS
19828 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19829 SECURITY_LIBS = $SECURITY_LIBS
19830 COREAUDIO_LIBS = $COREAUDIO_LIBS
19831 OPENAL_LIBS = $OPENAL_LIBS
19832 OPENCL_LIBS = $OPENCL_LIBS
19833 QUICKTIME_LIBS = $QUICKTIME_LIBS
19834 CARBON_LIBS = $CARBON_LIBS
19835 METAL_LIBS = $METAL_LIBS
19836 PTHREAD_LIBS = $PTHREAD_LIBS
19837 X_CFLAGS = $X_CFLAGS
19838 X_PRE_LIBS = $X_PRE_LIBS
19839 X_LIBS = $X_LIBS
19840 X_EXTRA_LIBS = $X_EXTRA_LIBS
19841 PCAP_LIBS = $PCAP_LIBS
19842 XML2_CFLAGS = $XML2_CFLAGS
19843 XML2_LIBS = $XML2_LIBS
19844 XSLT_CFLAGS = $XSLT_CFLAGS
19845 XSLT_LIBS = $XSLT_LIBS
19846 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19847 INOTIFY_LIBS = $INOTIFY_LIBS
19848 DBUS_CFLAGS = $DBUS_CFLAGS
19849 DBUS_LIBS = $DBUS_LIBS
19850 HAL_CFLAGS = $HAL_CFLAGS
19851 HAL_LIBS = $HAL_LIBS
19852 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19853 GNUTLS_LIBS = $GNUTLS_LIBS
19854 SANE_CFLAGS = $SANE_CFLAGS
19855 SANE_LIBS = $SANE_LIBS
19856 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19857 GPHOTO2_LIBS = $GPHOTO2_LIBS
19858 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19859 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19860 RESOLV_LIBS = $RESOLV_LIBS
19861 LCMS2_CFLAGS = $LCMS2_CFLAGS
19862 LCMS2_LIBS = $LCMS2_LIBS
19863 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19864 FREETYPE_LIBS = $FREETYPE_LIBS
19865 Z_CFLAGS = $Z_CFLAGS
19866 Z_LIBS = $Z_LIBS
19867 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19868 PULSE_CFLAGS = $PULSE_CFLAGS
19869 PULSE_LIBS = $PULSE_LIBS
19870 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19871 GSTREAMER_LIBS = $GSTREAMER_LIBS
19872 ALSA_LIBS = $ALSA_LIBS
19873 OSS4_CFLAGS = $OSS4_CFLAGS
19874 OSS4_LIBS = $OSS4_LIBS
19875 UDEV_CFLAGS = $UDEV_CFLAGS
19876 UDEV_LIBS = $UDEV_LIBS
19877 UNWIND_CFLAGS = $UNWIND_CFLAGS
19878 UNWIND_LIBS = $UNWIND_LIBS
19879 SDL2_CFLAGS = $SDL2_CFLAGS
19880 SDL2_LIBS = $SDL2_LIBS
19881 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19882 FAUDIO_LIBS = $FAUDIO_LIBS
19883 CAPI20_CFLAGS = $CAPI20_CFLAGS
19884 CAPI20_LIBS = $CAPI20_LIBS
19885 CUPS_CFLAGS = $CUPS_CFLAGS
19886 CUPS_LIBS = $CUPS_LIBS
19887 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19888 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19889 KRB5_CFLAGS = $KRB5_CFLAGS
19890 KRB5_LIBS = $KRB5_LIBS
19891 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19892 GSSAPI_LIBS = $GSSAPI_LIBS
19893 JPEG_CFLAGS = $JPEG_CFLAGS
19894 JPEG_LIBS = $JPEG_LIBS
19895 PNG_CFLAGS = $PNG_CFLAGS
19896 PNG_LIBS = $PNG_LIBS
19897 TIFF_CFLAGS = $TIFF_CFLAGS
19898 TIFF_LIBS = $TIFF_LIBS
19899 MPG123_CFLAGS = $MPG123_CFLAGS
19900 MPG123_LIBS = $MPG123_LIBS
19901 KSTAT_LIBS = $KSTAT_LIBS
19902 PROCSTAT_LIBS = $PROCSTAT_LIBS
19903 NETAPI_CFLAGS = $NETAPI_CFLAGS
19904 NETAPI_LIBS = $NETAPI_LIBS
19905 VKD3D_CFLAGS = $VKD3D_CFLAGS
19906 VKD3D_LIBS = $VKD3D_LIBS
19907 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19908 DL_LIBS = $DL_LIBS
19909 POLL_LIBS = $POLL_LIBS
19910 RT_LIBS = $RT_LIBS
19911 LDAP_CFLAGS = $LDAP_CFLAGS
19912 LDAP_LIBS = $LDAP_LIBS
19917 wine_fn_append_rule "
19918 # Rules automatically generated by configure
19920 .INIT: Makefile
19921 .MAKEFILEDEPS:
19922 all: Makefile
19923 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19924 @./config.status Make.tmp Makefile
19925 depend: \$(MAKEDEP) dummy
19926 \$(MAKEDEP)"
19928 if test "x$enable_fonts" != xno; then
19929 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19930 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19931 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19932 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19933 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19934 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19936 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19937 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19938 ac_config_links="$ac_config_links wine:tools/winewrapper"
19939 wine_fn_config_symlink wine
19940 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19941 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19942 wine_fn_config_symlink wine64
19945 wine_fn_config_makefile dlls/acledit enable_acledit
19946 wine_fn_config_makefile dlls/aclui enable_aclui
19947 wine_fn_config_makefile dlls/activeds enable_activeds
19948 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19949 wine_fn_config_makefile dlls/adsiid enable_adsiid
19950 wine_fn_config_makefile dlls/adsldp enable_adsldp
19951 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19952 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19953 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19954 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19955 wine_fn_config_makefile dlls/advpack enable_advpack
19956 wine_fn_config_makefile dlls/advpack/tests enable_tests
19957 wine_fn_config_makefile dlls/amsi enable_amsi
19958 wine_fn_config_makefile dlls/amstream enable_amstream
19959 wine_fn_config_makefile dlls/amstream/tests enable_tests
19960 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19962 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19963 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19965 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19970 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19978 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19980 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19982 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19984 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19985 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19986 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19988 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19991 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19992 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19995 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20008 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20009 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20012 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20015 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20026 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20027 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20034 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20039 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20040 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20062 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20090 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20112 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20142 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20146 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20150 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20158 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20169 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20171 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20175 wine_fn_config_makefile dlls/apphelp enable_apphelp
20176 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20177 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20178 wine_fn_config_makefile dlls/atl enable_atl
20179 wine_fn_config_makefile dlls/atl/tests enable_tests
20180 wine_fn_config_makefile dlls/atl100 enable_atl100
20181 wine_fn_config_makefile dlls/atl100/tests enable_tests
20182 wine_fn_config_makefile dlls/atl110 enable_atl110
20183 wine_fn_config_makefile dlls/atl80 enable_atl80
20184 wine_fn_config_makefile dlls/atl80/tests enable_tests
20185 wine_fn_config_makefile dlls/atl90 enable_atl90
20186 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20187 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20188 wine_fn_config_makefile dlls/atmlib enable_atmlib
20189 wine_fn_config_makefile dlls/authz enable_authz
20190 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20191 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20192 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20193 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20194 wine_fn_config_makefile dlls/avrt enable_avrt
20195 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20196 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20197 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20198 wine_fn_config_makefile dlls/browseui enable_browseui
20199 wine_fn_config_makefile dlls/browseui/tests enable_tests
20200 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20201 wine_fn_config_makefile dlls/cabinet enable_cabinet
20202 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20203 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20204 wine_fn_config_makefile dlls/cards enable_cards
20205 wine_fn_config_makefile dlls/cdosys enable_cdosys
20206 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20207 wine_fn_config_makefile dlls/clusapi enable_clusapi
20208 wine_fn_config_makefile dlls/combase enable_combase
20209 wine_fn_config_makefile dlls/combase/tests enable_tests
20210 wine_fn_config_makefile dlls/comcat enable_comcat
20211 wine_fn_config_makefile dlls/comcat/tests enable_tests
20212 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20213 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20214 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20215 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20216 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20217 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20218 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20219 wine_fn_config_makefile dlls/compstui enable_compstui
20220 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20221 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20222 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20223 wine_fn_config_makefile dlls/connect enable_connect
20224 wine_fn_config_makefile dlls/credui enable_credui
20225 wine_fn_config_makefile dlls/credui/tests enable_tests
20226 wine_fn_config_makefile dlls/crtdll enable_crtdll
20227 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20228 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20229 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20230 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20231 wine_fn_config_makefile dlls/cryptext enable_cryptext
20232 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20233 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20234 wine_fn_config_makefile dlls/cryptui enable_cryptui
20235 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20236 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20237 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20238 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20239 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20240 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20241 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20242 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20243 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20244 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20245 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20246 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20247 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20248 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20249 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20250 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20251 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20252 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20253 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20254 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20255 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20256 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20257 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20258 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20259 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20260 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20261 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20262 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20263 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20264 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20265 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20266 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20267 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20268 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20269 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20270 wine_fn_config_makefile dlls/d3dim enable_d3dim
20271 wine_fn_config_makefile dlls/d3drm enable_d3drm
20272 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20273 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20274 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20275 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20276 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20277 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20278 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20279 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20280 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20281 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20282 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20283 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20284 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20285 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20286 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20287 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20288 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20289 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20290 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20291 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20292 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20293 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20294 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20295 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20296 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20297 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20298 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20299 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20300 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20301 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20302 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20303 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20304 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20305 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20306 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20307 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20308 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20309 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20310 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20311 wine_fn_config_makefile dlls/davclnt enable_davclnt
20312 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20313 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20314 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20315 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20316 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20317 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20318 wine_fn_config_makefile dlls/ddraw enable_ddraw
20319 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20320 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20321 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20322 wine_fn_config_makefile dlls/devenum enable_devenum
20323 wine_fn_config_makefile dlls/devenum/tests enable_tests
20324 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20325 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20326 wine_fn_config_makefile dlls/difxapi enable_difxapi
20327 wine_fn_config_makefile dlls/dinput enable_dinput
20328 wine_fn_config_makefile dlls/dinput/tests enable_tests
20329 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20330 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20331 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20332 wine_fn_config_makefile dlls/dispex enable_dispex
20333 wine_fn_config_makefile dlls/dispex/tests enable_tests
20334 wine_fn_config_makefile dlls/display.drv16 enable_win16
20335 wine_fn_config_makefile dlls/dmband enable_dmband
20336 wine_fn_config_makefile dlls/dmband/tests enable_tests
20337 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20338 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20339 wine_fn_config_makefile dlls/dmime enable_dmime
20340 wine_fn_config_makefile dlls/dmime/tests enable_tests
20341 wine_fn_config_makefile dlls/dmloader enable_dmloader
20342 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20343 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20344 wine_fn_config_makefile dlls/dmscript enable_dmscript
20345 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20346 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20347 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20348 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20349 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20350 wine_fn_config_makefile dlls/dmusic enable_dmusic
20351 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20352 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20353 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20354 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20355 wine_fn_config_makefile dlls/dplay enable_dplay
20356 wine_fn_config_makefile dlls/dplayx enable_dplayx
20357 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20358 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20359 wine_fn_config_makefile dlls/dpnet enable_dpnet
20360 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20361 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20362 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20363 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20364 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20365 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20366 wine_fn_config_makefile dlls/drmclien enable_drmclien
20367 wine_fn_config_makefile dlls/dsound enable_dsound
20368 wine_fn_config_makefile dlls/dsound/tests enable_tests
20369 wine_fn_config_makefile dlls/dsquery enable_dsquery
20370 wine_fn_config_makefile dlls/dssenh enable_dssenh
20371 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20372 wine_fn_config_makefile dlls/dswave enable_dswave
20373 wine_fn_config_makefile dlls/dswave/tests enable_tests
20374 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20375 wine_fn_config_makefile dlls/dwrite enable_dwrite
20376 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20377 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20378 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20379 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20380 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20381 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20382 wine_fn_config_makefile dlls/dxgi enable_dxgi
20383 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20384 wine_fn_config_makefile dlls/dxguid enable_dxguid
20385 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20386 wine_fn_config_makefile dlls/esent enable_esent
20387 wine_fn_config_makefile dlls/evr enable_evr
20388 wine_fn_config_makefile dlls/evr/tests enable_tests
20389 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20390 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20391 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20392 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20393 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20394 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20395 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20396 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20397 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20398 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20399 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20400 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20401 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20402 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20403 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20404 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20405 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20406 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20407 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20408 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20409 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20410 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20411 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20412 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20413 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20414 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20415 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20417 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20418 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20420 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20422 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20425 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20431 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
20432 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20434 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20442 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20443 wine_fn_config_makefile dlls/faultrep enable_faultrep
20444 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20445 wine_fn_config_makefile dlls/feclient enable_feclient
20446 wine_fn_config_makefile dlls/fltlib enable_fltlib
20447 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20448 wine_fn_config_makefile dlls/fntcache enable_fntcache
20449 wine_fn_config_makefile dlls/fontsub enable_fontsub
20450 wine_fn_config_makefile dlls/fusion enable_fusion
20451 wine_fn_config_makefile dlls/fusion/tests enable_tests
20452 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20453 wine_fn_config_makefile dlls/gameux enable_gameux
20454 wine_fn_config_makefile dlls/gameux/tests enable_tests
20455 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20456 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20457 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20458 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20459 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20460 wine_fn_config_makefile dlls/glu32 enable_glu32
20461 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20462 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20463 wine_fn_config_makefile dlls/hal enable_hal
20464 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20465 wine_fn_config_makefile dlls/hid enable_hid
20466 wine_fn_config_makefile dlls/hid/tests enable_tests
20467 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20468 wine_fn_config_makefile dlls/hlink enable_hlink
20469 wine_fn_config_makefile dlls/hlink/tests enable_tests
20470 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20471 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20472 wine_fn_config_makefile dlls/http.sys enable_http_sys
20473 wine_fn_config_makefile dlls/httpapi enable_httpapi
20474 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20475 wine_fn_config_makefile dlls/iccvid enable_iccvid
20476 wine_fn_config_makefile dlls/icmp enable_icmp
20477 wine_fn_config_makefile dlls/ieframe enable_ieframe
20478 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20479 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20480 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20481 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20482 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20483 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20484 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20485 wine_fn_config_makefile dlls/imm32 enable_imm32
20486 wine_fn_config_makefile dlls/imm32/tests enable_tests
20487 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20488 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20489 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20490 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20491 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20492 wine_fn_config_makefile dlls/infosoft enable_infosoft
20493 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20494 wine_fn_config_makefile dlls/initpki enable_initpki
20495 wine_fn_config_makefile dlls/inkobj enable_inkobj
20496 wine_fn_config_makefile dlls/inseng enable_inseng
20497 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20498 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20499 wine_fn_config_makefile dlls/iprop enable_iprop
20500 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20501 wine_fn_config_makefile dlls/itircl enable_itircl
20502 wine_fn_config_makefile dlls/itss enable_itss
20503 wine_fn_config_makefile dlls/itss/tests enable_tests
20504 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20505 wine_fn_config_makefile dlls/jscript enable_jscript
20506 wine_fn_config_makefile dlls/jscript/tests enable_tests
20507 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20508 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20509 wine_fn_config_makefile dlls/kerberos enable_kerberos
20510 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20511 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20512 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20513 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20514 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20515 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20516 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20517 wine_fn_config_makefile dlls/ksuser enable_ksuser
20518 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20519 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20520 wine_fn_config_makefile dlls/loadperf enable_loadperf
20521 wine_fn_config_makefile dlls/localspl enable_localspl
20522 wine_fn_config_makefile dlls/localspl/tests enable_tests
20523 wine_fn_config_makefile dlls/localui enable_localui
20524 wine_fn_config_makefile dlls/localui/tests enable_tests
20525 wine_fn_config_makefile dlls/lz32 enable_lz32
20526 wine_fn_config_makefile dlls/lz32/tests enable_tests
20527 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20528 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20529 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20530 wine_fn_config_makefile dlls/mapistub enable_mapistub
20531 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20532 wine_fn_config_makefile dlls/mcicda enable_mcicda
20533 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20534 wine_fn_config_makefile dlls/mciseq enable_mciseq
20535 wine_fn_config_makefile dlls/mciwave enable_mciwave
20536 wine_fn_config_makefile dlls/mf enable_mf
20537 wine_fn_config_makefile dlls/mf/tests enable_tests
20538 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20539 wine_fn_config_makefile dlls/mferror enable_mferror
20540 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20541 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20542 wine_fn_config_makefile dlls/mfplat enable_mfplat
20543 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20544 wine_fn_config_makefile dlls/mfplay enable_mfplay
20545 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20546 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20547 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20548 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20549 wine_fn_config_makefile dlls/midimap enable_midimap
20550 wine_fn_config_makefile dlls/mlang enable_mlang
20551 wine_fn_config_makefile dlls/mlang/tests enable_tests
20552 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20553 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20554 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20555 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20556 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20557 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20558 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20559 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20560 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20561 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20562 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20563 wine_fn_config_makefile dlls/mpr enable_mpr
20564 wine_fn_config_makefile dlls/mpr/tests enable_tests
20565 wine_fn_config_makefile dlls/mprapi enable_mprapi
20566 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20567 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20568 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20569 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20570 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20571 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20572 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20573 wine_fn_config_makefile dlls/mscms enable_mscms
20574 wine_fn_config_makefile dlls/mscms/tests enable_tests
20575 wine_fn_config_makefile dlls/mscoree enable_mscoree
20576 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20577 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20578 wine_fn_config_makefile dlls/msctf enable_msctf
20579 wine_fn_config_makefile dlls/msctf/tests enable_tests
20580 wine_fn_config_makefile dlls/msctfp enable_msctfp
20581 wine_fn_config_makefile dlls/msdaps enable_msdaps
20582 wine_fn_config_makefile dlls/msdelta enable_msdelta
20583 wine_fn_config_makefile dlls/msdmo enable_msdmo
20584 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20585 wine_fn_config_makefile dlls/msdrm enable_msdrm
20586 wine_fn_config_makefile dlls/msftedit enable_msftedit
20587 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20588 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20589 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20590 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20591 wine_fn_config_makefile dlls/mshtml enable_mshtml
20592 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20593 wine_fn_config_makefile dlls/msi enable_msi
20594 wine_fn_config_makefile dlls/msi/tests enable_tests
20595 wine_fn_config_makefile dlls/msident enable_msident
20596 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20597 wine_fn_config_makefile dlls/msimsg enable_msimsg
20598 wine_fn_config_makefile dlls/msimtf enable_msimtf
20599 wine_fn_config_makefile dlls/msisip enable_msisip
20600 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20601 wine_fn_config_makefile dlls/msls31 enable_msls31
20602 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20603 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20604 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20605 wine_fn_config_makefile dlls/msports enable_msports
20606 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20607 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20608 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20609 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20610 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20611 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20612 wine_fn_config_makefile dlls/mstask enable_mstask
20613 wine_fn_config_makefile dlls/mstask/tests enable_tests
20614 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20615 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20616 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20617 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20618 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20619 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20620 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20621 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20622 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20623 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20624 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20625 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20626 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20627 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20628 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20629 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20630 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20631 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20632 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20633 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20634 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20635 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20636 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20637 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20638 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20639 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20640 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20641 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20642 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20643 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20644 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20645 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20646 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20647 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20648 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20649 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20650 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20651 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20652 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20653 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20654 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20655 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20656 wine_fn_config_makefile dlls/mswsock enable_mswsock
20657 wine_fn_config_makefile dlls/msxml enable_msxml
20658 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20659 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20660 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20661 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20662 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20663 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20664 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20665 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20666 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20667 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20668 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20669 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20670 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20671 wine_fn_config_makefile dlls/netprofm enable_netprofm
20672 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20673 wine_fn_config_makefile dlls/newdev enable_newdev
20674 wine_fn_config_makefile dlls/ninput enable_ninput
20675 wine_fn_config_makefile dlls/ninput/tests enable_tests
20676 wine_fn_config_makefile dlls/normaliz enable_normaliz
20677 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20678 wine_fn_config_makefile dlls/npptools enable_npptools
20679 wine_fn_config_makefile dlls/ntdll enable_ntdll
20680 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20681 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20682 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20683 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20684 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20685 wine_fn_config_makefile dlls/ntprint enable_ntprint
20686 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20687 wine_fn_config_makefile dlls/objsel enable_objsel
20688 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20689 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20690 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20691 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20692 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20693 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20694 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20695 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20696 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20697 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20698 wine_fn_config_makefile dlls/ole32 enable_ole32
20699 wine_fn_config_makefile dlls/ole32/tests enable_tests
20700 wine_fn_config_makefile dlls/oleacc enable_oleacc
20701 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20702 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20703 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20704 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20705 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20706 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20707 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20708 wine_fn_config_makefile dlls/oledlg enable_oledlg
20709 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20710 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20711 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20712 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20713 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20714 wine_fn_config_makefile dlls/opcservices enable_opcservices
20715 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20716 wine_fn_config_makefile dlls/openal32 enable_openal32
20717 wine_fn_config_makefile dlls/opencl enable_opencl
20718 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20719 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20720 wine_fn_config_makefile dlls/packager enable_packager
20721 wine_fn_config_makefile dlls/packager/tests enable_tests
20722 wine_fn_config_makefile dlls/pdh enable_pdh
20723 wine_fn_config_makefile dlls/pdh/tests enable_tests
20724 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20725 wine_fn_config_makefile dlls/pidgen enable_pidgen
20726 wine_fn_config_makefile dlls/powrprof enable_powrprof
20727 wine_fn_config_makefile dlls/printui enable_printui
20728 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20729 wine_fn_config_makefile dlls/propsys enable_propsys
20730 wine_fn_config_makefile dlls/propsys/tests enable_tests
20731 wine_fn_config_makefile dlls/psapi enable_psapi
20732 wine_fn_config_makefile dlls/psapi/tests enable_tests
20733 wine_fn_config_makefile dlls/pstorec enable_pstorec
20734 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20735 wine_fn_config_makefile dlls/qcap enable_qcap
20736 wine_fn_config_makefile dlls/qcap/tests enable_tests
20737 wine_fn_config_makefile dlls/qedit enable_qedit
20738 wine_fn_config_makefile dlls/qedit/tests enable_tests
20739 wine_fn_config_makefile dlls/qmgr enable_qmgr
20740 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20741 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20742 wine_fn_config_makefile dlls/quartz enable_quartz
20743 wine_fn_config_makefile dlls/quartz/tests enable_tests
20744 wine_fn_config_makefile dlls/query enable_query
20745 wine_fn_config_makefile dlls/qwave enable_qwave
20746 wine_fn_config_makefile dlls/qwave/tests enable_tests
20747 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20748 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20749 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20750 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20751 wine_fn_config_makefile dlls/regapi enable_regapi
20752 wine_fn_config_makefile dlls/resutils enable_resutils
20753 wine_fn_config_makefile dlls/riched20 enable_riched20
20754 wine_fn_config_makefile dlls/riched20/tests enable_tests
20755 wine_fn_config_makefile dlls/riched32 enable_riched32
20756 wine_fn_config_makefile dlls/riched32/tests enable_tests
20757 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20758 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20759 wine_fn_config_makefile dlls/rsabase enable_rsabase
20760 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20761 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20762 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20763 wine_fn_config_makefile dlls/rtutils enable_rtutils
20764 wine_fn_config_makefile dlls/samlib enable_samlib
20765 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20766 wine_fn_config_makefile dlls/sapi enable_sapi
20767 wine_fn_config_makefile dlls/sapi/tests enable_tests
20768 wine_fn_config_makefile dlls/sas enable_sas
20769 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20770 wine_fn_config_makefile dlls/sccbase enable_sccbase
20771 wine_fn_config_makefile dlls/schannel enable_schannel
20772 wine_fn_config_makefile dlls/schannel/tests enable_tests
20773 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20774 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20775 wine_fn_config_makefile dlls/scrobj enable_scrobj
20776 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20777 wine_fn_config_makefile dlls/scrrun enable_scrrun
20778 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20779 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20780 wine_fn_config_makefile dlls/secur32 enable_secur32
20781 wine_fn_config_makefile dlls/secur32/tests enable_tests
20782 wine_fn_config_makefile dlls/security enable_security
20783 wine_fn_config_makefile dlls/sensapi enable_sensapi
20784 wine_fn_config_makefile dlls/serialui enable_serialui
20785 wine_fn_config_makefile dlls/serialui/tests enable_tests
20786 wine_fn_config_makefile dlls/setupapi enable_setupapi
20787 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20788 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20789 wine_fn_config_makefile dlls/sfc enable_sfc
20790 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20791 wine_fn_config_makefile dlls/shcore enable_shcore
20792 wine_fn_config_makefile dlls/shcore/tests enable_tests
20793 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20794 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20795 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20796 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20797 wine_fn_config_makefile dlls/shell32 enable_shell32
20798 wine_fn_config_makefile dlls/shell32/tests enable_tests
20799 wine_fn_config_makefile dlls/shfolder enable_shfolder
20800 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20801 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20802 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20803 wine_fn_config_makefile dlls/slc enable_slc
20804 wine_fn_config_makefile dlls/slc/tests enable_tests
20805 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20806 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20807 wine_fn_config_makefile dlls/softpub enable_softpub
20808 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20809 wine_fn_config_makefile dlls/spoolss enable_spoolss
20810 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20811 wine_fn_config_makefile dlls/srclient enable_srclient
20812 wine_fn_config_makefile dlls/sspicli enable_sspicli
20813 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20814 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20815 wine_fn_config_makefile dlls/sti enable_sti
20816 wine_fn_config_makefile dlls/sti/tests enable_tests
20817 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20818 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20819 wine_fn_config_makefile dlls/strmbase enable_strmbase
20820 wine_fn_config_makefile dlls/strmdll enable_strmdll
20821 wine_fn_config_makefile dlls/strmiids enable_strmiids
20822 wine_fn_config_makefile dlls/svrapi enable_svrapi
20823 wine_fn_config_makefile dlls/sxs enable_sxs
20824 wine_fn_config_makefile dlls/sxs/tests enable_tests
20825 wine_fn_config_makefile dlls/system.drv16 enable_win16
20826 wine_fn_config_makefile dlls/t2embed enable_t2embed
20827 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20828 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20829 wine_fn_config_makefile dlls/taskschd enable_taskschd
20830 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20831 wine_fn_config_makefile dlls/tdh enable_tdh
20832 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20833 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20834 wine_fn_config_makefile dlls/traffic enable_traffic
20835 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20836 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20837 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20838 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20839 wine_fn_config_makefile dlls/tzres enable_tzres
20840 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20841 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20842 wine_fn_config_makefile dlls/uianimation enable_uianimation
20843 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20844 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20845 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20846 wine_fn_config_makefile dlls/unicows enable_unicows
20847 wine_fn_config_makefile dlls/updspapi enable_updspapi
20848 wine_fn_config_makefile dlls/url enable_url
20849 wine_fn_config_makefile dlls/urlmon enable_urlmon
20850 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20851 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20852 wine_fn_config_makefile dlls/user.exe16 enable_win16
20853 wine_fn_config_makefile dlls/user32 enable_user32
20854 wine_fn_config_makefile dlls/user32/tests enable_tests
20855 wine_fn_config_makefile dlls/userenv enable_userenv
20856 wine_fn_config_makefile dlls/userenv/tests enable_tests
20857 wine_fn_config_makefile dlls/usp10 enable_usp10
20858 wine_fn_config_makefile dlls/usp10/tests enable_tests
20859 wine_fn_config_makefile dlls/utildll enable_utildll
20860 wine_fn_config_makefile dlls/uuid enable_uuid
20861 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20862 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20863 wine_fn_config_makefile dlls/vbscript enable_vbscript
20864 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20865 wine_fn_config_makefile dlls/vcomp enable_vcomp
20866 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20867 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20868 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20869 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20870 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20871 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20872 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20873 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20874 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20875 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20876 wine_fn_config_makefile dlls/version enable_version
20877 wine_fn_config_makefile dlls/version/tests enable_tests
20878 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20879 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20880 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20881 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20882 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20883 wine_fn_config_makefile dlls/vssapi enable_vssapi
20884 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20885 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20886 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20887 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20888 wine_fn_config_makefile dlls/w32skrnl enable_win16
20889 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20890 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20891 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20892 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20893 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20894 wine_fn_config_makefile dlls/wdscore enable_wdscore
20895 wine_fn_config_makefile dlls/webservices enable_webservices
20896 wine_fn_config_makefile dlls/webservices/tests enable_tests
20897 wine_fn_config_makefile dlls/wer enable_wer
20898 wine_fn_config_makefile dlls/wer/tests enable_tests
20899 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20900 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20901 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20902 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20903 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20904 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20905 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20906 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20907 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20908 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20909 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20910 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20911 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20912 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20913 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20914 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20915 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20916 wine_fn_config_makefile dlls/wined3d enable_wined3d
20917 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20918 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20919 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20920 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20921 wine_fn_config_makefile dlls/winemapi enable_winemapi
20922 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20923 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20924 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20925 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20926 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20927 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20928 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20929 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20930 wine_fn_config_makefile dlls/wing32 enable_wing32
20931 wine_fn_config_makefile dlls/winhttp enable_winhttp
20932 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20933 wine_fn_config_makefile dlls/wininet enable_wininet
20934 wine_fn_config_makefile dlls/wininet/tests enable_tests
20935 wine_fn_config_makefile dlls/winmm enable_winmm
20936 wine_fn_config_makefile dlls/winmm/tests enable_tests
20937 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20938 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20939 wine_fn_config_makefile dlls/winscard enable_winscard
20940 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20941 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20942 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20943 wine_fn_config_makefile dlls/winsta enable_winsta
20944 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20945 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20946 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20947 wine_fn_config_makefile dlls/wintrust enable_wintrust
20948 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20949 wine_fn_config_makefile dlls/winusb enable_winusb
20950 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20951 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20952 wine_fn_config_makefile dlls/wlanui enable_wlanui
20953 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20954 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20955 wine_fn_config_makefile dlls/wmasf enable_wmasf
20956 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20957 wine_fn_config_makefile dlls/wmi enable_wmi
20958 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20959 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20960 wine_fn_config_makefile dlls/wmp enable_wmp
20961 wine_fn_config_makefile dlls/wmp/tests enable_tests
20962 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20963 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20964 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20965 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20966 wine_fn_config_makefile dlls/wow32 enable_win16
20967 wine_fn_config_makefile dlls/wpc enable_wpc
20968 wine_fn_config_makefile dlls/wpc/tests enable_tests
20969 wine_fn_config_makefile dlls/wpcap enable_wpcap
20970 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20971 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20972 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20973 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20974 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20975 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20976 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20977 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20978 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20979 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20980 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20981 wine_fn_config_makefile dlls/wuapi enable_wuapi
20982 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20983 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20984 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20985 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20986 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20987 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20988 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20989 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20990 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20991 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20992 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20993 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20994 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20995 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20996 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20997 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20998 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20999 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21000 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21001 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21002 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21003 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21004 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21005 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21006 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21007 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21008 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21009 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21010 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21011 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21012 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21013 wine_fn_config_makefile dlls/xmllite enable_xmllite
21014 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21015 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21016 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21017 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21018 wine_fn_config_makefile fonts enable_fonts
21019 wine_fn_config_makefile include enable_include
21020 wine_fn_config_makefile libs/port enable_port
21021 wine_fn_config_makefile libs/wine enable_wine
21022 wine_fn_config_makefile libs/wpp enable_wpp
21023 wine_fn_config_makefile loader enable_loader
21024 wine_fn_config_makefile po enable_po
21025 wine_fn_config_makefile programs/arp enable_arp
21026 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21027 wine_fn_config_makefile programs/attrib enable_attrib
21028 wine_fn_config_makefile programs/cabarc enable_cabarc
21029 wine_fn_config_makefile programs/cacls enable_cacls
21030 wine_fn_config_makefile programs/clock enable_clock
21031 wine_fn_config_makefile programs/cmd enable_cmd
21032 wine_fn_config_makefile programs/cmd/tests enable_tests
21033 wine_fn_config_makefile programs/conhost enable_conhost
21034 wine_fn_config_makefile programs/control enable_control
21035 wine_fn_config_makefile programs/cscript enable_cscript
21036 wine_fn_config_makefile programs/dism enable_dism
21037 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21038 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21039 wine_fn_config_makefile programs/eject enable_eject
21040 wine_fn_config_makefile programs/expand enable_expand
21041 wine_fn_config_makefile programs/explorer enable_explorer
21042 wine_fn_config_makefile programs/extrac32 enable_extrac32
21043 wine_fn_config_makefile programs/fc enable_fc
21044 wine_fn_config_makefile programs/find enable_find
21045 wine_fn_config_makefile programs/find/tests enable_tests
21046 wine_fn_config_makefile programs/findstr enable_findstr
21047 wine_fn_config_makefile programs/fsutil enable_fsutil
21048 wine_fn_config_makefile programs/hh enable_hh
21049 wine_fn_config_makefile programs/hostname enable_hostname
21050 wine_fn_config_makefile programs/icacls enable_icacls
21051 wine_fn_config_makefile programs/icinfo enable_icinfo
21052 wine_fn_config_makefile programs/iexplore enable_iexplore
21053 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21054 wine_fn_config_makefile programs/lodctr enable_lodctr
21055 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21056 wine_fn_config_makefile programs/mshta enable_mshta
21057 wine_fn_config_makefile programs/msidb enable_msidb
21058 wine_fn_config_makefile programs/msiexec enable_msiexec
21059 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21060 wine_fn_config_makefile programs/net enable_net
21061 wine_fn_config_makefile programs/netsh enable_netsh
21062 wine_fn_config_makefile programs/netstat enable_netstat
21063 wine_fn_config_makefile programs/ngen enable_ngen
21064 wine_fn_config_makefile programs/notepad enable_notepad
21065 wine_fn_config_makefile programs/oleview enable_oleview
21066 wine_fn_config_makefile programs/ping enable_ping
21067 wine_fn_config_makefile programs/plugplay enable_plugplay
21068 wine_fn_config_makefile programs/powershell enable_powershell
21069 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21070 wine_fn_config_makefile programs/progman enable_progman
21071 wine_fn_config_makefile programs/reg enable_reg
21072 wine_fn_config_makefile programs/reg/tests enable_tests
21073 wine_fn_config_makefile programs/regasm enable_regasm
21074 wine_fn_config_makefile programs/regedit enable_regedit
21075 wine_fn_config_makefile programs/regedit/tests enable_tests
21076 wine_fn_config_makefile programs/regini enable_regini
21077 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21078 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21079 wine_fn_config_makefile programs/rpcss enable_rpcss
21080 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21081 wine_fn_config_makefile programs/rundll32 enable_rundll32
21082 wine_fn_config_makefile programs/sc enable_sc
21083 wine_fn_config_makefile programs/schtasks enable_schtasks
21084 wine_fn_config_makefile programs/schtasks/tests enable_tests
21085 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21086 wine_fn_config_makefile programs/secedit enable_secedit
21087 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21088 wine_fn_config_makefile programs/services enable_services
21089 wine_fn_config_makefile programs/services/tests enable_tests
21090 wine_fn_config_makefile programs/shutdown enable_shutdown
21091 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21092 wine_fn_config_makefile programs/start enable_start
21093 wine_fn_config_makefile programs/subst enable_subst
21094 wine_fn_config_makefile programs/svchost enable_svchost
21095 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21096 wine_fn_config_makefile programs/taskkill enable_taskkill
21097 wine_fn_config_makefile programs/tasklist enable_tasklist
21098 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21099 wine_fn_config_makefile programs/termsv enable_termsv
21100 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21101 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21102 wine_fn_config_makefile programs/view enable_view
21103 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21104 wine_fn_config_makefile programs/wineboot enable_wineboot
21105 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21106 wine_fn_config_makefile programs/winecfg enable_winecfg
21107 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21108 wine_fn_config_makefile programs/winedbg enable_winedbg
21109 wine_fn_config_makefile programs/winedevice enable_winedevice
21110 wine_fn_config_makefile programs/winefile enable_winefile
21111 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21112 wine_fn_config_makefile programs/winemine enable_winemine
21113 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21114 wine_fn_config_makefile programs/winepath enable_winepath
21115 wine_fn_config_makefile programs/winetest enable_winetest
21116 wine_fn_config_makefile programs/winevdm enable_win16
21117 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21118 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21119 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21120 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21121 wine_fn_config_makefile programs/winver enable_winver
21122 wine_fn_config_makefile programs/wmic enable_wmic
21123 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21124 wine_fn_config_makefile programs/wordpad enable_wordpad
21125 wine_fn_config_makefile programs/write enable_write
21126 wine_fn_config_makefile programs/wscript enable_wscript
21127 wine_fn_config_makefile programs/wscript/tests enable_tests
21128 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21129 wine_fn_config_makefile programs/wusa enable_wusa
21130 wine_fn_config_makefile programs/xcopy enable_xcopy
21131 wine_fn_config_makefile programs/xcopy/tests enable_tests
21132 wine_fn_config_makefile server enable_server
21133 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21135 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21136 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21137 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21138 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21139 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21140 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21144 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21145 wine_fn_append_file CONFIGURE_TARGETS "tags"
21146 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21147 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21148 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21149 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21150 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21151 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21153 if test "x$enable_tools" != xno
21154 then
21155 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21156 ac_config_commands="$ac_config_commands tools/makedep"
21160 ac_config_commands="$ac_config_commands Makefile"
21163 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21167 if test "x$enable_maintainer_mode" = xyes
21168 then
21169 wine_fn_append_rule "configure: configure.ac aclocal.m4
21170 autoconf --warnings=all
21171 include/config.h.in: include/stamp-h.in
21172 include/stamp-h.in: configure.ac aclocal.m4
21173 autoheader --warnings=all
21174 @echo timestamp > \$@"
21177 if test "x$enable_tools" != xno
21178 then
21179 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21180 @./config.status tools/makedep
21181 Makefile: tools/makedep$ac_exeext
21182 fonts: tools/sfnt2fon
21183 include: tools tools/widl"
21184 else
21185 wine_fn_append_rule "\$(MAKEDEP):
21186 @echo \"You need to run make in $TOOLSDIR first\" && false"
21189 if test -n "$with_wine64"
21190 then
21191 case "$with_wine64" in
21192 /*) reldir="" ;;
21193 *) reldir="../" ;;
21194 esac
21195 rm -f fonts server 2>/dev/null
21196 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21197 loader/wine64 loader/wine64-preloader:
21198 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21199 $with_wine64/loader/wine:
21200 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21201 $with_wine64/loader/wine-preloader:
21202 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21203 clean::
21204 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21205 else
21206 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21207 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21208 fonts \
21209 loader/l_intl.nls \
21210 loader/wine.inf \
21211 loader/winehid.inf \
21212 programs/msidb/msidb \
21213 programs/msiexec/msiexec \
21214 programs/notepad/notepad \
21215 programs/regedit/regedit \
21216 programs/regsvr32/regsvr32 \
21217 programs/wineboot/wineboot \
21218 programs/winecfg/winecfg \
21219 programs/wineconsole/wineconsole \
21220 programs/winedbg/winedbg \
21221 programs/winefile/winefile \
21222 programs/winemine/winemine \
21223 programs/winepath/winepath \
21224 server/wineserver"
21226 case $host_os in
21227 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21228 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21229 esac
21232 $as_echo " done" >&6
21233 cat >confcache <<\_ACEOF
21234 # This file is a shell script that caches the results of configure
21235 # tests run on this system so they can be shared between configure
21236 # scripts and configure runs, see configure's option --config-cache.
21237 # It is not useful on other systems. If it contains results you don't
21238 # want to keep, you may remove or edit it.
21240 # config.status only pays attention to the cache file if you give it
21241 # the --recheck option to rerun configure.
21243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21245 # following values.
21247 _ACEOF
21249 # The following way of writing the cache mishandles newlines in values,
21250 # but we know of no workaround that is simple, portable, and efficient.
21251 # So, we kill variables containing newlines.
21252 # Ultrix sh set writes to stderr and can't be redirected directly,
21253 # and sets the high bit in the cache file unless we assign to the vars.
21255 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21256 eval ac_val=\$$ac_var
21257 case $ac_val in #(
21258 *${as_nl}*)
21259 case $ac_var in #(
21260 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21261 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21262 esac
21263 case $ac_var in #(
21264 _ | IFS | as_nl) ;; #(
21265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21266 *) { eval $ac_var=; unset $ac_var;} ;;
21267 esac ;;
21268 esac
21269 done
21271 (set) 2>&1 |
21272 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21273 *${as_nl}ac_space=\ *)
21274 # `set' does not quote correctly, so add quotes: double-quote
21275 # substitution turns \\\\ into \\, and sed turns \\ into \.
21276 sed -n \
21277 "s/'/'\\\\''/g;
21278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21279 ;; #(
21281 # `set' quotes correctly as required by POSIX, so do not add quotes.
21282 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21284 esac |
21285 sort
21287 sed '
21288 /^ac_cv_env_/b end
21289 t clear
21290 :clear
21291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21292 t end
21293 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21294 :end' >>confcache
21295 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21296 if test -w "$cache_file"; then
21297 if test "x$cache_file" != "x/dev/null"; then
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21299 $as_echo "$as_me: updating cache $cache_file" >&6;}
21300 if test ! -f "$cache_file" || test -h "$cache_file"; then
21301 cat confcache >"$cache_file"
21302 else
21303 case $cache_file in #(
21304 */* | ?:*)
21305 mv -f confcache "$cache_file"$$ &&
21306 mv -f "$cache_file"$$ "$cache_file" ;; #(
21308 mv -f confcache "$cache_file" ;;
21309 esac
21312 else
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21314 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21317 rm -f confcache
21319 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21320 # Let make expand exec_prefix.
21321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21323 DEFS=-DHAVE_CONFIG_H
21325 ac_libobjs=
21326 ac_ltlibobjs=
21328 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21329 # 1. Remove the extension, and $U if already installed.
21330 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21331 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21332 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21333 # will be set to the directory where LIBOBJS objects are built.
21334 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21335 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21336 done
21337 LIBOBJS=$ac_libobjs
21339 LTLIBOBJS=$ac_ltlibobjs
21343 : "${CONFIG_STATUS=./config.status}"
21344 ac_write_fail=0
21345 ac_clean_files_save=$ac_clean_files
21346 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21348 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21349 as_write_fail=0
21350 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21351 #! $SHELL
21352 # Generated by $as_me.
21353 # Run this file to recreate the current configuration.
21354 # Compiler output produced by configure, useful for debugging
21355 # configure, is in config.log if it exists.
21357 debug=false
21358 ac_cs_recheck=false
21359 ac_cs_silent=false
21361 SHELL=\${CONFIG_SHELL-$SHELL}
21362 export SHELL
21363 _ASEOF
21364 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21365 ## -------------------- ##
21366 ## M4sh Initialization. ##
21367 ## -------------------- ##
21369 # Be more Bourne compatible
21370 DUALCASE=1; export DUALCASE # for MKS sh
21371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21372 emulate sh
21373 NULLCMD=:
21374 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21375 # is contrary to our usage. Disable this feature.
21376 alias -g '${1+"$@"}'='"$@"'
21377 setopt NO_GLOB_SUBST
21378 else
21379 case `(set -o) 2>/dev/null` in #(
21380 *posix*) :
21381 set -o posix ;; #(
21382 *) :
21384 esac
21388 as_nl='
21390 export as_nl
21391 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21392 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21393 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21394 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21395 # Prefer a ksh shell builtin over an external printf program on Solaris,
21396 # but without wasting forks for bash or zsh.
21397 if test -z "$BASH_VERSION$ZSH_VERSION" \
21398 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21399 as_echo='print -r --'
21400 as_echo_n='print -rn --'
21401 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21402 as_echo='printf %s\n'
21403 as_echo_n='printf %s'
21404 else
21405 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21406 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21407 as_echo_n='/usr/ucb/echo -n'
21408 else
21409 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21410 as_echo_n_body='eval
21411 arg=$1;
21412 case $arg in #(
21413 *"$as_nl"*)
21414 expr "X$arg" : "X\\(.*\\)$as_nl";
21415 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21416 esac;
21417 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21419 export as_echo_n_body
21420 as_echo_n='sh -c $as_echo_n_body as_echo'
21422 export as_echo_body
21423 as_echo='sh -c $as_echo_body as_echo'
21426 # The user is always right.
21427 if test "${PATH_SEPARATOR+set}" != set; then
21428 PATH_SEPARATOR=:
21429 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21430 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21431 PATH_SEPARATOR=';'
21436 # IFS
21437 # We need space, tab and new line, in precisely that order. Quoting is
21438 # there to prevent editors from complaining about space-tab.
21439 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21440 # splitting by setting IFS to empty value.)
21441 IFS=" "" $as_nl"
21443 # Find who we are. Look in the path if we contain no directory separator.
21444 as_myself=
21445 case $0 in #((
21446 *[\\/]* ) as_myself=$0 ;;
21447 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21448 for as_dir in $PATH
21450 IFS=$as_save_IFS
21451 test -z "$as_dir" && as_dir=.
21452 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21453 done
21454 IFS=$as_save_IFS
21457 esac
21458 # We did not find ourselves, most probably we were run as `sh COMMAND'
21459 # in which case we are not to be found in the path.
21460 if test "x$as_myself" = x; then
21461 as_myself=$0
21463 if test ! -f "$as_myself"; then
21464 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21465 exit 1
21468 # Unset variables that we do not need and which cause bugs (e.g. in
21469 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21470 # suppresses any "Segmentation fault" message there. '((' could
21471 # trigger a bug in pdksh 5.2.14.
21472 for as_var in BASH_ENV ENV MAIL MAILPATH
21473 do eval test x\${$as_var+set} = xset \
21474 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21475 done
21476 PS1='$ '
21477 PS2='> '
21478 PS4='+ '
21480 # NLS nuisances.
21481 LC_ALL=C
21482 export LC_ALL
21483 LANGUAGE=C
21484 export LANGUAGE
21486 # CDPATH.
21487 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21490 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21491 # ----------------------------------------
21492 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21493 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21494 # script with STATUS, using 1 if that was 0.
21495 as_fn_error ()
21497 as_status=$1; test $as_status -eq 0 && as_status=1
21498 if test "$4"; then
21499 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21500 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21502 $as_echo "$as_me: error: $2" >&2
21503 as_fn_exit $as_status
21504 } # as_fn_error
21507 # as_fn_set_status STATUS
21508 # -----------------------
21509 # Set $? to STATUS, without forking.
21510 as_fn_set_status ()
21512 return $1
21513 } # as_fn_set_status
21515 # as_fn_exit STATUS
21516 # -----------------
21517 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21518 as_fn_exit ()
21520 set +e
21521 as_fn_set_status $1
21522 exit $1
21523 } # as_fn_exit
21525 # as_fn_unset VAR
21526 # ---------------
21527 # Portably unset VAR.
21528 as_fn_unset ()
21530 { eval $1=; unset $1;}
21532 as_unset=as_fn_unset
21533 # as_fn_append VAR VALUE
21534 # ----------------------
21535 # Append the text in VALUE to the end of the definition contained in VAR. Take
21536 # advantage of any shell optimizations that allow amortized linear growth over
21537 # repeated appends, instead of the typical quadratic growth present in naive
21538 # implementations.
21539 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21540 eval 'as_fn_append ()
21542 eval $1+=\$2
21544 else
21545 as_fn_append ()
21547 eval $1=\$$1\$2
21549 fi # as_fn_append
21551 # as_fn_arith ARG...
21552 # ------------------
21553 # Perform arithmetic evaluation on the ARGs, and store the result in the
21554 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21555 # must be portable across $(()) and expr.
21556 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21557 eval 'as_fn_arith ()
21559 as_val=$(( $* ))
21561 else
21562 as_fn_arith ()
21564 as_val=`expr "$@" || test $? -eq 1`
21566 fi # as_fn_arith
21569 if expr a : '\(a\)' >/dev/null 2>&1 &&
21570 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21571 as_expr=expr
21572 else
21573 as_expr=false
21576 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21577 as_basename=basename
21578 else
21579 as_basename=false
21582 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21583 as_dirname=dirname
21584 else
21585 as_dirname=false
21588 as_me=`$as_basename -- "$0" ||
21589 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21590 X"$0" : 'X\(//\)$' \| \
21591 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21592 $as_echo X/"$0" |
21593 sed '/^.*\/\([^/][^/]*\)\/*$/{
21594 s//\1/
21597 /^X\/\(\/\/\)$/{
21598 s//\1/
21601 /^X\/\(\/\).*/{
21602 s//\1/
21605 s/.*/./; q'`
21607 # Avoid depending upon Character Ranges.
21608 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21609 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21610 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21611 as_cr_digits='0123456789'
21612 as_cr_alnum=$as_cr_Letters$as_cr_digits
21614 ECHO_C= ECHO_N= ECHO_T=
21615 case `echo -n x` in #(((((
21616 -n*)
21617 case `echo 'xy\c'` in
21618 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21619 xy) ECHO_C='\c';;
21620 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21621 ECHO_T=' ';;
21622 esac;;
21624 ECHO_N='-n';;
21625 esac
21627 rm -f conf$$ conf$$.exe conf$$.file
21628 if test -d conf$$.dir; then
21629 rm -f conf$$.dir/conf$$.file
21630 else
21631 rm -f conf$$.dir
21632 mkdir conf$$.dir 2>/dev/null
21634 if (echo >conf$$.file) 2>/dev/null; then
21635 if ln -s conf$$.file conf$$ 2>/dev/null; then
21636 as_ln_s='ln -s'
21637 # ... but there are two gotchas:
21638 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21639 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21640 # In both cases, we have to default to `cp -pR'.
21641 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21642 as_ln_s='cp -pR'
21643 elif ln conf$$.file conf$$ 2>/dev/null; then
21644 as_ln_s=ln
21645 else
21646 as_ln_s='cp -pR'
21648 else
21649 as_ln_s='cp -pR'
21651 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21652 rmdir conf$$.dir 2>/dev/null
21655 # as_fn_mkdir_p
21656 # -------------
21657 # Create "$as_dir" as a directory, including parents if necessary.
21658 as_fn_mkdir_p ()
21661 case $as_dir in #(
21662 -*) as_dir=./$as_dir;;
21663 esac
21664 test -d "$as_dir" || eval $as_mkdir_p || {
21665 as_dirs=
21666 while :; do
21667 case $as_dir in #(
21668 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21669 *) as_qdir=$as_dir;;
21670 esac
21671 as_dirs="'$as_qdir' $as_dirs"
21672 as_dir=`$as_dirname -- "$as_dir" ||
21673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21674 X"$as_dir" : 'X\(//\)[^/]' \| \
21675 X"$as_dir" : 'X\(//\)$' \| \
21676 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21677 $as_echo X"$as_dir" |
21678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21679 s//\1/
21682 /^X\(\/\/\)[^/].*/{
21683 s//\1/
21686 /^X\(\/\/\)$/{
21687 s//\1/
21690 /^X\(\/\).*/{
21691 s//\1/
21694 s/.*/./; q'`
21695 test -d "$as_dir" && break
21696 done
21697 test -z "$as_dirs" || eval "mkdir $as_dirs"
21698 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21701 } # as_fn_mkdir_p
21702 if mkdir -p . 2>/dev/null; then
21703 as_mkdir_p='mkdir -p "$as_dir"'
21704 else
21705 test -d ./-p && rmdir ./-p
21706 as_mkdir_p=false
21710 # as_fn_executable_p FILE
21711 # -----------------------
21712 # Test if FILE is an executable regular file.
21713 as_fn_executable_p ()
21715 test -f "$1" && test -x "$1"
21716 } # as_fn_executable_p
21717 as_test_x='test -x'
21718 as_executable_p=as_fn_executable_p
21720 # Sed expression to map a string onto a valid CPP name.
21721 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21723 # Sed expression to map a string onto a valid variable name.
21724 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21727 exec 6>&1
21728 ## ----------------------------------- ##
21729 ## Main body of $CONFIG_STATUS script. ##
21730 ## ----------------------------------- ##
21731 _ASEOF
21732 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21735 # Save the log message, to keep $0 and so on meaningful, and to
21736 # report actual input values of CONFIG_FILES etc. instead of their
21737 # values after options handling.
21738 ac_log="
21739 This file was extended by Wine $as_me 4.16, which was
21740 generated by GNU Autoconf 2.69. Invocation command line was
21742 CONFIG_FILES = $CONFIG_FILES
21743 CONFIG_HEADERS = $CONFIG_HEADERS
21744 CONFIG_LINKS = $CONFIG_LINKS
21745 CONFIG_COMMANDS = $CONFIG_COMMANDS
21746 $ $0 $@
21748 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21751 _ACEOF
21753 case $ac_config_files in *"
21754 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21755 esac
21757 case $ac_config_headers in *"
21758 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21759 esac
21762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21763 # Files that config.status was made for.
21764 config_files="$ac_config_files"
21765 config_headers="$ac_config_headers"
21766 config_links="$ac_config_links"
21767 config_commands="$ac_config_commands"
21769 _ACEOF
21771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21772 ac_cs_usage="\
21773 \`$as_me' instantiates files and other configuration actions
21774 from templates according to the current configuration. Unless the files
21775 and actions are specified as TAGs, all are instantiated by default.
21777 Usage: $0 [OPTION]... [TAG]...
21779 -h, --help print this help, then exit
21780 -V, --version print version number and configuration settings, then exit
21781 --config print configuration, then exit
21782 -q, --quiet, --silent
21783 do not print progress messages
21784 -d, --debug don't remove temporary files
21785 --recheck update $as_me by reconfiguring in the same conditions
21786 --file=FILE[:TEMPLATE]
21787 instantiate the configuration file FILE
21788 --header=FILE[:TEMPLATE]
21789 instantiate the configuration header FILE
21791 Configuration files:
21792 $config_files
21794 Configuration headers:
21795 $config_headers
21797 Configuration links:
21798 $config_links
21800 Configuration commands:
21801 $config_commands
21803 Report bugs to <wine-devel@winehq.org>.
21804 Wine home page: <https://www.winehq.org>."
21806 _ACEOF
21807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21808 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21809 ac_cs_version="\\
21810 Wine config.status 4.16
21811 configured by $0, generated by GNU Autoconf 2.69,
21812 with options \\"\$ac_cs_config\\"
21814 Copyright (C) 2012 Free Software Foundation, Inc.
21815 This config.status script is free software; the Free Software Foundation
21816 gives unlimited permission to copy, distribute and modify it."
21818 ac_pwd='$ac_pwd'
21819 srcdir='$srcdir'
21820 test -n "\$AWK" || AWK=awk
21821 _ACEOF
21823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21824 # The default lists apply if the user does not specify any file.
21825 ac_need_defaults=:
21826 while test $# != 0
21828 case $1 in
21829 --*=?*)
21830 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21831 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21832 ac_shift=:
21834 --*=)
21835 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21836 ac_optarg=
21837 ac_shift=:
21840 ac_option=$1
21841 ac_optarg=$2
21842 ac_shift=shift
21844 esac
21846 case $ac_option in
21847 # Handling of the options.
21848 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21849 ac_cs_recheck=: ;;
21850 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21851 $as_echo "$ac_cs_version"; exit ;;
21852 --config | --confi | --conf | --con | --co | --c )
21853 $as_echo "$ac_cs_config"; exit ;;
21854 --debug | --debu | --deb | --de | --d | -d )
21855 debug=: ;;
21856 --file | --fil | --fi | --f )
21857 $ac_shift
21858 case $ac_optarg in
21859 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21860 '') as_fn_error $? "missing file argument" ;;
21861 esac
21862 as_fn_append CONFIG_FILES " '$ac_optarg'"
21863 ac_need_defaults=false;;
21864 --header | --heade | --head | --hea )
21865 $ac_shift
21866 case $ac_optarg in
21867 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21868 esac
21869 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21870 ac_need_defaults=false;;
21871 --he | --h)
21872 # Conflict between --help and --header
21873 as_fn_error $? "ambiguous option: \`$1'
21874 Try \`$0 --help' for more information.";;
21875 --help | --hel | -h )
21876 $as_echo "$ac_cs_usage"; exit ;;
21877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21878 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21879 ac_cs_silent=: ;;
21881 # This is an error.
21882 -*) as_fn_error $? "unrecognized option: \`$1'
21883 Try \`$0 --help' for more information." ;;
21885 *) as_fn_append ac_config_targets " $1"
21886 ac_need_defaults=false ;;
21888 esac
21889 shift
21890 done
21892 ac_configure_extra_args=
21894 if $ac_cs_silent; then
21895 exec 6>/dev/null
21896 ac_configure_extra_args="$ac_configure_extra_args --silent"
21899 _ACEOF
21900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21901 if \$ac_cs_recheck; then
21902 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21903 shift
21904 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21905 CONFIG_SHELL='$SHELL'
21906 export CONFIG_SHELL
21907 exec "\$@"
21910 _ACEOF
21911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21912 exec 5>>config.log
21914 echo
21915 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21916 ## Running $as_me. ##
21917 _ASBOX
21918 $as_echo "$ac_log"
21919 } >&5
21921 _ACEOF
21922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21924 # INIT-COMMANDS
21926 wine_fn_output_makedep ()
21928 as_dir=tools; as_fn_mkdir_p
21929 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21931 wine_fn_output_makefile ()
21933 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21934 `cat $wine_rules_file`
21935 _WINE_EOF
21936 as_fn_error $? "could not create Makefile" "$LINENO" 5
21939 _ACEOF
21941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21943 # Handling of arguments.
21944 for ac_config_target in $ac_config_targets
21946 case $ac_config_target in
21947 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21948 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21949 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21950 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21951 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21952 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21953 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21954 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21955 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21956 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21957 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21958 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21959 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21961 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21962 esac
21963 done
21966 # If the user did not use the arguments to specify the items to instantiate,
21967 # then the envvar interface is used. Set only those that are not.
21968 # We use the long form for the default assignment because of an extremely
21969 # bizarre bug on SunOS 4.1.3.
21970 if $ac_need_defaults; then
21971 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21972 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21973 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21974 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21977 # Have a temporary directory for convenience. Make it in the build tree
21978 # simply because there is no reason against having it here, and in addition,
21979 # creating and moving files from /tmp can sometimes cause problems.
21980 # Hook for its removal unless debugging.
21981 # Note that there is a small window in which the directory will not be cleaned:
21982 # after its creation but before its name has been assigned to `$tmp'.
21983 $debug ||
21985 tmp= ac_tmp=
21986 trap 'exit_status=$?
21987 : "${ac_tmp:=$tmp}"
21988 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21990 trap 'as_fn_exit 1' 1 2 13 15
21992 # Create a (secure) tmp directory for tmp files.
21995 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21996 test -d "$tmp"
21997 } ||
21999 tmp=./conf$$-$RANDOM
22000 (umask 077 && mkdir "$tmp")
22001 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22002 ac_tmp=$tmp
22004 # Set up the scripts for CONFIG_FILES section.
22005 # No need to generate them if there are no CONFIG_FILES.
22006 # This happens for instance with `./config.status config.h'.
22007 if test -n "$CONFIG_FILES"; then
22010 ac_cr=`echo X | tr X '\015'`
22011 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22012 # But we know of no other shell where ac_cr would be empty at this
22013 # point, so we can use a bashism as a fallback.
22014 if test "x$ac_cr" = x; then
22015 eval ac_cr=\$\'\\r\'
22017 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22018 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22019 ac_cs_awk_cr='\\r'
22020 else
22021 ac_cs_awk_cr=$ac_cr
22024 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22025 _ACEOF
22029 echo "cat >conf$$subs.awk <<_ACEOF" &&
22030 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22031 echo "_ACEOF"
22032 } >conf$$subs.sh ||
22033 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22034 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22035 ac_delim='%!_!# '
22036 for ac_last_try in false false false false false :; do
22037 . ./conf$$subs.sh ||
22038 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22040 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22041 if test $ac_delim_n = $ac_delim_num; then
22042 break
22043 elif $ac_last_try; then
22044 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22045 else
22046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22048 done
22049 rm -f conf$$subs.sh
22051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22052 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22053 _ACEOF
22054 sed -n '
22056 s/^/S["/; s/!.*/"]=/
22059 s/^[^!]*!//
22060 :repl
22061 t repl
22062 s/'"$ac_delim"'$//
22063 t delim
22066 s/\(.\{148\}\)..*/\1/
22067 t more1
22068 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22071 b repl
22072 :more1
22073 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22076 s/.\{148\}//
22077 t nl
22078 :delim
22080 s/\(.\{148\}\)..*/\1/
22081 t more2
22082 s/["\\]/\\&/g; s/^/"/; s/$/"/
22085 :more2
22086 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22089 s/.\{148\}//
22090 t delim
22091 ' <conf$$subs.awk | sed '
22092 /^[^""]/{
22094 s/\n//
22096 ' >>$CONFIG_STATUS || ac_write_fail=1
22097 rm -f conf$$subs.awk
22098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22099 _ACAWK
22100 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22101 for (key in S) S_is_set[key] = 1
22102 FS = "\a"
22106 line = $ 0
22107 nfields = split(line, field, "@")
22108 substed = 0
22109 len = length(field[1])
22110 for (i = 2; i < nfields; i++) {
22111 key = field[i]
22112 keylen = length(key)
22113 if (S_is_set[key]) {
22114 value = S[key]
22115 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22116 len += length(value) + length(field[++i])
22117 substed = 1
22118 } else
22119 len += 1 + keylen
22122 print line
22125 _ACAWK
22126 _ACEOF
22127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22128 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22129 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22130 else
22132 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22133 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22134 _ACEOF
22136 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22137 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22138 # trailing colons and then remove the whole line if VPATH becomes empty
22139 # (actually we leave an empty line to preserve line numbers).
22140 if test "x$srcdir" = x.; then
22141 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22143 s///
22144 s/^/:/
22145 s/[ ]*$/:/
22146 s/:\$(srcdir):/:/g
22147 s/:\${srcdir}:/:/g
22148 s/:@srcdir@:/:/g
22149 s/^:*//
22150 s/:*$//
22152 s/\(=[ ]*\).*/\1/
22154 s/\n//
22155 s/^[^=]*=[ ]*$//
22159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22160 fi # test -n "$CONFIG_FILES"
22162 # Set up the scripts for CONFIG_HEADERS section.
22163 # No need to generate them if there are no CONFIG_HEADERS.
22164 # This happens for instance with `./config.status Makefile'.
22165 if test -n "$CONFIG_HEADERS"; then
22166 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22167 BEGIN {
22168 _ACEOF
22170 # Transform confdefs.h into an awk script `defines.awk', embedded as
22171 # here-document in config.status, that substitutes the proper values into
22172 # config.h.in to produce config.h.
22174 # Create a delimiter string that does not exist in confdefs.h, to ease
22175 # handling of long lines.
22176 ac_delim='%!_!# '
22177 for ac_last_try in false false :; do
22178 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22179 if test -z "$ac_tt"; then
22180 break
22181 elif $ac_last_try; then
22182 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22183 else
22184 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22186 done
22188 # For the awk script, D is an array of macro values keyed by name,
22189 # likewise P contains macro parameters if any. Preserve backslash
22190 # newline sequences.
22192 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22193 sed -n '
22194 s/.\{148\}/&'"$ac_delim"'/g
22195 t rset
22196 :rset
22197 s/^[ ]*#[ ]*define[ ][ ]*/ /
22198 t def
22200 :def
22201 s/\\$//
22202 t bsnl
22203 s/["\\]/\\&/g
22204 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22205 D["\1"]=" \3"/p
22206 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22208 :bsnl
22209 s/["\\]/\\&/g
22210 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22211 D["\1"]=" \3\\\\\\n"\\/p
22212 t cont
22213 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22214 t cont
22216 :cont
22218 s/.\{148\}/&'"$ac_delim"'/g
22219 t clear
22220 :clear
22221 s/\\$//
22222 t bsnlc
22223 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22225 :bsnlc
22226 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22227 b cont
22228 ' <confdefs.h | sed '
22229 s/'"$ac_delim"'/"\\\
22230 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22233 for (key in D) D_is_set[key] = 1
22234 FS = "\a"
22236 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22237 line = \$ 0
22238 split(line, arg, " ")
22239 if (arg[1] == "#") {
22240 defundef = arg[2]
22241 mac1 = arg[3]
22242 } else {
22243 defundef = substr(arg[1], 2)
22244 mac1 = arg[2]
22246 split(mac1, mac2, "(") #)
22247 macro = mac2[1]
22248 prefix = substr(line, 1, index(line, defundef) - 1)
22249 if (D_is_set[macro]) {
22250 # Preserve the white space surrounding the "#".
22251 print prefix "define", macro P[macro] D[macro]
22252 next
22253 } else {
22254 # Replace #undef with comments. This is necessary, for example,
22255 # in the case of _POSIX_SOURCE, which is predefined and required
22256 # on some systems where configure will not decide to define it.
22257 if (defundef == "undef") {
22258 print "/*", prefix defundef, macro, "*/"
22259 next
22263 { print }
22264 _ACAWK
22265 _ACEOF
22266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22267 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22268 fi # test -n "$CONFIG_HEADERS"
22271 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22272 shift
22273 for ac_tag
22275 case $ac_tag in
22276 :[FHLC]) ac_mode=$ac_tag; continue;;
22277 esac
22278 case $ac_mode$ac_tag in
22279 :[FHL]*:*);;
22280 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22281 :[FH]-) ac_tag=-:-;;
22282 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22283 esac
22284 ac_save_IFS=$IFS
22285 IFS=:
22286 set x $ac_tag
22287 IFS=$ac_save_IFS
22288 shift
22289 ac_file=$1
22290 shift
22292 case $ac_mode in
22293 :L) ac_source=$1;;
22294 :[FH])
22295 ac_file_inputs=
22296 for ac_f
22298 case $ac_f in
22299 -) ac_f="$ac_tmp/stdin";;
22300 *) # Look for the file first in the build tree, then in the source tree
22301 # (if the path is not absolute). The absolute path cannot be DOS-style,
22302 # because $ac_f cannot contain `:'.
22303 test -f "$ac_f" ||
22304 case $ac_f in
22305 [\\/$]*) false;;
22306 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22307 esac ||
22308 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22309 esac
22310 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22311 as_fn_append ac_file_inputs " '$ac_f'"
22312 done
22314 # Let's still pretend it is `configure' which instantiates (i.e., don't
22315 # use $as_me), people would be surprised to read:
22316 # /* config.h. Generated by config.status. */
22317 configure_input='Generated from '`
22318 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22319 `' by configure.'
22320 if test x"$ac_file" != x-; then
22321 configure_input="$ac_file. $configure_input"
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22323 $as_echo "$as_me: creating $ac_file" >&6;}
22325 # Neutralize special characters interpreted by sed in replacement strings.
22326 case $configure_input in #(
22327 *\&* | *\|* | *\\* )
22328 ac_sed_conf_input=`$as_echo "$configure_input" |
22329 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22330 *) ac_sed_conf_input=$configure_input;;
22331 esac
22333 case $ac_tag in
22334 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22335 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22336 esac
22338 esac
22340 ac_dir=`$as_dirname -- "$ac_file" ||
22341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22342 X"$ac_file" : 'X\(//\)[^/]' \| \
22343 X"$ac_file" : 'X\(//\)$' \| \
22344 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22345 $as_echo X"$ac_file" |
22346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22347 s//\1/
22350 /^X\(\/\/\)[^/].*/{
22351 s//\1/
22354 /^X\(\/\/\)$/{
22355 s//\1/
22358 /^X\(\/\).*/{
22359 s//\1/
22362 s/.*/./; q'`
22363 as_dir="$ac_dir"; as_fn_mkdir_p
22364 ac_builddir=.
22366 case "$ac_dir" in
22367 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22369 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22370 # A ".." for each directory in $ac_dir_suffix.
22371 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22372 case $ac_top_builddir_sub in
22373 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22374 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22375 esac ;;
22376 esac
22377 ac_abs_top_builddir=$ac_pwd
22378 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22379 # for backward compatibility:
22380 ac_top_builddir=$ac_top_build_prefix
22382 case $srcdir in
22383 .) # We are building in place.
22384 ac_srcdir=.
22385 ac_top_srcdir=$ac_top_builddir_sub
22386 ac_abs_top_srcdir=$ac_pwd ;;
22387 [\\/]* | ?:[\\/]* ) # Absolute name.
22388 ac_srcdir=$srcdir$ac_dir_suffix;
22389 ac_top_srcdir=$srcdir
22390 ac_abs_top_srcdir=$srcdir ;;
22391 *) # Relative name.
22392 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22393 ac_top_srcdir=$ac_top_build_prefix$srcdir
22394 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22395 esac
22396 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22399 case $ac_mode in
22402 # CONFIG_FILE
22405 _ACEOF
22407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22408 # If the template does not know about datarootdir, expand it.
22409 # FIXME: This hack should be removed a few years after 2.60.
22410 ac_datarootdir_hack=; ac_datarootdir_seen=
22411 ac_sed_dataroot='
22412 /datarootdir/ {
22416 /@datadir@/p
22417 /@docdir@/p
22418 /@infodir@/p
22419 /@localedir@/p
22420 /@mandir@/p'
22421 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22422 *datarootdir*) ac_datarootdir_seen=yes;;
22423 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22425 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22426 _ACEOF
22427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22428 ac_datarootdir_hack='
22429 s&@datadir@&$datadir&g
22430 s&@docdir@&$docdir&g
22431 s&@infodir@&$infodir&g
22432 s&@localedir@&$localedir&g
22433 s&@mandir@&$mandir&g
22434 s&\\\${datarootdir}&$datarootdir&g' ;;
22435 esac
22436 _ACEOF
22438 # Neutralize VPATH when `$srcdir' = `.'.
22439 # Shell code in configure.ac might set extrasub.
22440 # FIXME: do we really want to maintain this feature?
22441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22442 ac_sed_extra="$ac_vpsub
22443 $extrasub
22444 _ACEOF
22445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22448 s|@configure_input@|$ac_sed_conf_input|;t t
22449 s&@top_builddir@&$ac_top_builddir_sub&;t t
22450 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22451 s&@srcdir@&$ac_srcdir&;t t
22452 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22453 s&@top_srcdir@&$ac_top_srcdir&;t t
22454 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22455 s&@builddir@&$ac_builddir&;t t
22456 s&@abs_builddir@&$ac_abs_builddir&;t t
22457 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22458 $ac_datarootdir_hack
22460 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22461 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22463 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22464 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22465 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22466 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22468 which seems to be undefined. Please make sure it is defined" >&5
22469 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22470 which seems to be undefined. Please make sure it is defined" >&2;}
22472 rm -f "$ac_tmp/stdin"
22473 case $ac_file in
22474 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22475 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22476 esac \
22477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22481 # CONFIG_HEADER
22483 if test x"$ac_file" != x-; then
22485 $as_echo "/* $configure_input */" \
22486 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22487 } >"$ac_tmp/config.h" \
22488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22489 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22491 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22492 else
22493 rm -f "$ac_file"
22494 mv "$ac_tmp/config.h" "$ac_file" \
22495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22497 else
22498 $as_echo "/* $configure_input */" \
22499 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22500 || as_fn_error $? "could not create -" "$LINENO" 5
22505 # CONFIG_LINK
22508 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22510 else
22511 # Prefer the file from the source tree if names are identical.
22512 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22513 ac_source=$srcdir/$ac_source
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22517 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22519 if test ! -r "$ac_source"; then
22520 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22522 rm -f "$ac_file"
22524 # Try a relative symlink, then a hard link, then a copy.
22525 case $ac_source in
22526 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22527 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22528 esac
22529 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22530 ln "$ac_source" "$ac_file" 2>/dev/null ||
22531 cp -p "$ac_source" "$ac_file" ||
22532 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22535 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22536 $as_echo "$as_me: executing $ac_file commands" >&6;}
22538 esac
22541 case $ac_file$ac_mode in
22542 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22543 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22544 "Makefile":C) wine_fn_output_makefile Makefile ;;
22546 esac
22547 done # for ac_tag
22550 as_fn_exit 0
22551 _ACEOF
22552 ac_clean_files=$ac_clean_files_save
22554 test $ac_write_fail = 0 ||
22555 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22558 # configure is writing to config.log, and then calls config.status.
22559 # config.status does its own redirection, appending to config.log.
22560 # Unfortunately, on DOS this fails, as config.log is still kept open
22561 # by configure, so config.status won't be able to write to it; its
22562 # output is simply discarded. So we exec the FD to /dev/null,
22563 # effectively closing config.log, so it can be properly (re)opened and
22564 # appended to by config.status. When coming back to configure, we
22565 # need to make the FD available again.
22566 if test "$no_create" != yes; then
22567 ac_cs_success=:
22568 ac_config_status_args=
22569 test "$silent" = yes &&
22570 ac_config_status_args="$ac_config_status_args --quiet"
22571 exec 5>/dev/null
22572 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22573 exec 5>>config.log
22574 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22575 # would make configure fail if this is the last instruction.
22576 $ac_cs_success || as_fn_exit 1
22578 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22580 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22584 if test "$no_create" = "yes"
22585 then
22586 exit 0
22589 ac_save_IFS="$IFS"
22590 if test "x$wine_notices" != x; then
22591 echo >&6
22592 IFS="|"
22593 for msg in $wine_notices; do
22594 IFS="$ac_save_IFS"
22595 if ${msg:+false} :; then :
22597 else
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22599 $as_echo "$as_me: $msg" >&6;}
22601 done
22603 IFS="|"
22604 for msg in $wine_warnings; do
22605 IFS="$ac_save_IFS"
22606 if ${msg:+false} :; then :
22608 else
22609 echo >&2
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22611 $as_echo "$as_me: WARNING: $msg" >&2;}
22613 done
22614 IFS="$ac_save_IFS"
22616 $as_echo "
22617 $as_me: Finished. Do '${ac_make}' to compile Wine.
22618 " >&6