vbscript: Append to the global lists when the code is executed, rather than compiled.
[wine.git] / configure
blobad0b149b7d3ef2fdb4953b44bfb39d8a99072dbf
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.19.
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.19'
584 PACKAGE_STRING='Wine 4.19'
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_dsdmo
1261 enable_dsound
1262 enable_dsquery
1263 enable_dssenh
1264 enable_dswave
1265 enable_dwmapi
1266 enable_dwrite
1267 enable_dx8vb
1268 enable_dxdiagn
1269 enable_dxerr8
1270 enable_dxerr9
1271 enable_dxgi
1272 enable_dxguid
1273 enable_dxva2
1274 enable_esent
1275 enable_evr
1276 enable_explorerframe
1277 enable_ext_ms_win_authz_context_l1_1_0
1278 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1279 enable_ext_ms_win_dwmapi_ext_l1_1_0
1280 enable_ext_ms_win_gdi_dc_create_l1_1_0
1281 enable_ext_ms_win_gdi_dc_create_l1_1_1
1282 enable_ext_ms_win_gdi_dc_l1_2_0
1283 enable_ext_ms_win_gdi_devcaps_l1_1_0
1284 enable_ext_ms_win_gdi_draw_l1_1_0
1285 enable_ext_ms_win_gdi_draw_l1_1_1
1286 enable_ext_ms_win_gdi_font_l1_1_0
1287 enable_ext_ms_win_gdi_font_l1_1_1
1288 enable_ext_ms_win_gdi_render_l1_1_0
1289 enable_ext_ms_win_kernel32_package_current_l1_1_0
1290 enable_ext_ms_win_kernel32_package_l1_1_1
1291 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1292 enable_ext_ms_win_ntuser_draw_l1_1_0
1293 enable_ext_ms_win_ntuser_gui_l1_1_0
1294 enable_ext_ms_win_ntuser_gui_l1_3_0
1295 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1296 enable_ext_ms_win_ntuser_message_l1_1_0
1297 enable_ext_ms_win_ntuser_message_l1_1_1
1298 enable_ext_ms_win_ntuser_misc_l1_1_0
1299 enable_ext_ms_win_ntuser_misc_l1_2_0
1300 enable_ext_ms_win_ntuser_misc_l1_5_1
1301 enable_ext_ms_win_ntuser_mouse_l1_1_0
1302 enable_ext_ms_win_ntuser_private_l1_1_1
1303 enable_ext_ms_win_ntuser_private_l1_3_1
1304 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1305 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1306 enable_ext_ms_win_ntuser_window_l1_1_0
1307 enable_ext_ms_win_ntuser_window_l1_1_1
1308 enable_ext_ms_win_ntuser_window_l1_1_4
1309 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1310 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1311 enable_ext_ms_win_oleacc_l1_1_0
1312 enable_ext_ms_win_ras_rasapi32_l1_1_0
1313 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1314 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1316 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1317 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1320 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1323 enable_ext_ms_win_security_credui_l1_1_0
1324 enable_ext_ms_win_security_cryptui_l1_1_0
1325 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1326 enable_ext_ms_win_shell_comdlg32_l1_1_0
1327 enable_ext_ms_win_shell_shell32_l1_2_0
1328 enable_ext_ms_win_uxtheme_themes_l1_1_0
1329 enable_faultrep
1330 enable_feclient
1331 enable_fltlib
1332 enable_fltmgr_sys
1333 enable_fntcache
1334 enable_fontsub
1335 enable_fusion
1336 enable_fwpuclnt
1337 enable_gameux
1338 enable_gdi32
1339 enable_gdiplus
1340 enable_glu32
1341 enable_gphoto2_ds
1342 enable_gpkcsp
1343 enable_hal
1344 enable_hhctrl_ocx
1345 enable_hid
1346 enable_hidclass_sys
1347 enable_hlink
1348 enable_hnetcfg
1349 enable_http_sys
1350 enable_httpapi
1351 enable_iccvid
1352 enable_icmp
1353 enable_ieframe
1354 enable_ieproxy
1355 enable_imaadp32_acm
1356 enable_imagehlp
1357 enable_imm32
1358 enable_inetcomm
1359 enable_inetcpl_cpl
1360 enable_inetmib1
1361 enable_infosoft
1362 enable_initpki
1363 enable_inkobj
1364 enable_inseng
1365 enable_iphlpapi
1366 enable_iprop
1367 enable_irprops_cpl
1368 enable_itircl
1369 enable_itss
1370 enable_joy_cpl
1371 enable_jscript
1372 enable_jsproxy
1373 enable_kerberos
1374 enable_kernel32
1375 enable_kernelbase
1376 enable_ksecdd_sys
1377 enable_ksuser
1378 enable_ktmw32
1379 enable_l3codeca_acm
1380 enable_loadperf
1381 enable_localspl
1382 enable_localui
1383 enable_lz32
1384 enable_mapi32
1385 enable_mapistub
1386 enable_mciavi32
1387 enable_mcicda
1388 enable_mciqtz32
1389 enable_mciseq
1390 enable_mciwave
1391 enable_mf
1392 enable_mf3216
1393 enable_mferror
1394 enable_mfmediaengine
1395 enable_mfplat
1396 enable_mfplay
1397 enable_mfreadwrite
1398 enable_mfuuid
1399 enable_mgmtapi
1400 enable_midimap
1401 enable_mlang
1402 enable_mmcndmgr
1403 enable_mmdevapi
1404 enable_mountmgr_sys
1405 enable_mp3dmod
1406 enable_mpr
1407 enable_mprapi
1408 enable_msacm32_drv
1409 enable_msacm32
1410 enable_msadp32_acm
1411 enable_msasn1
1412 enable_mscat32
1413 enable_mscms
1414 enable_mscoree
1415 enable_mscorwks
1416 enable_msctf
1417 enable_msctfp
1418 enable_msdaps
1419 enable_msdelta
1420 enable_msdmo
1421 enable_msdrm
1422 enable_msftedit
1423 enable_msg711_acm
1424 enable_msgsm32_acm
1425 enable_mshtml_tlb
1426 enable_mshtml
1427 enable_msi
1428 enable_msident
1429 enable_msimg32
1430 enable_msimsg
1431 enable_msimtf
1432 enable_msisip
1433 enable_msisys_ocx
1434 enable_msls31
1435 enable_msnet32
1436 enable_mspatcha
1437 enable_msports
1438 enable_msrle32
1439 enable_msscript_ocx
1440 enable_mssign32
1441 enable_mssip32
1442 enable_mstask
1443 enable_msvcirt
1444 enable_msvcm80
1445 enable_msvcm90
1446 enable_msvcp100
1447 enable_msvcp110
1448 enable_msvcp120
1449 enable_msvcp120_app
1450 enable_msvcp140
1451 enable_msvcp60
1452 enable_msvcp70
1453 enable_msvcp71
1454 enable_msvcp80
1455 enable_msvcp90
1456 enable_msvcr100
1457 enable_msvcr110
1458 enable_msvcr120
1459 enable_msvcr120_app
1460 enable_msvcr70
1461 enable_msvcr71
1462 enable_msvcr80
1463 enable_msvcr90
1464 enable_msvcrt
1465 enable_msvcrt20
1466 enable_msvcrt40
1467 enable_msvcrtd
1468 enable_msvfw32
1469 enable_msvidc32
1470 enable_mswsock
1471 enable_msxml
1472 enable_msxml2
1473 enable_msxml3
1474 enable_msxml4
1475 enable_msxml6
1476 enable_mtxdm
1477 enable_ncrypt
1478 enable_nddeapi
1479 enable_ndis_sys
1480 enable_netapi32
1481 enable_netcfgx
1482 enable_netprofm
1483 enable_newdev
1484 enable_ninput
1485 enable_normaliz
1486 enable_npmshtml
1487 enable_npptools
1488 enable_ntdll
1489 enable_ntdsapi
1490 enable_ntoskrnl_exe
1491 enable_ntprint
1492 enable_objsel
1493 enable_odbc32
1494 enable_odbccp32
1495 enable_odbccu32
1496 enable_ole32
1497 enable_oleacc
1498 enable_oleaut32
1499 enable_olecli32
1500 enable_oledb32
1501 enable_oledlg
1502 enable_olepro32
1503 enable_olesvr32
1504 enable_olethk32
1505 enable_opcservices
1506 enable_openal32
1507 enable_opencl
1508 enable_opengl32
1509 enable_packager
1510 enable_pdh
1511 enable_photometadatahandler
1512 enable_pidgen
1513 enable_powrprof
1514 enable_printui
1515 enable_prntvpt
1516 enable_propsys
1517 enable_psapi
1518 enable_pstorec
1519 enable_qcap
1520 enable_qedit
1521 enable_qmgr
1522 enable_qmgrprxy
1523 enable_quartz
1524 enable_query
1525 enable_qwave
1526 enable_rasapi32
1527 enable_rasdlg
1528 enable_regapi
1529 enable_resutils
1530 enable_riched20
1531 enable_riched32
1532 enable_rpcrt4
1533 enable_rsabase
1534 enable_rsaenh
1535 enable_rstrtmgr
1536 enable_rtutils
1537 enable_samlib
1538 enable_sane_ds
1539 enable_sapi
1540 enable_sas
1541 enable_scarddlg
1542 enable_sccbase
1543 enable_schannel
1544 enable_schedsvc
1545 enable_scrobj
1546 enable_scrrun
1547 enable_scsiport_sys
1548 enable_secur32
1549 enable_security
1550 enable_sensapi
1551 enable_serialui
1552 enable_setupapi
1553 enable_sfc
1554 enable_sfc_os
1555 enable_shcore
1556 enable_shdoclc
1557 enable_shdocvw
1558 enable_shell32
1559 enable_shfolder
1560 enable_shlwapi
1561 enable_slbcsp
1562 enable_slc
1563 enable_snmpapi
1564 enable_softpub
1565 enable_spoolss
1566 enable_srclient
1567 enable_sspicli
1568 enable_stdole2_tlb
1569 enable_stdole32_tlb
1570 enable_sti
1571 enable_strmbase
1572 enable_strmdll
1573 enable_strmiids
1574 enable_svrapi
1575 enable_sxs
1576 enable_t2embed
1577 enable_tapi32
1578 enable_taskschd
1579 enable_tdh
1580 enable_tdi_sys
1581 enable_traffic
1582 enable_twain_32
1583 enable_tzres
1584 enable_ucrtbase
1585 enable_uianimation
1586 enable_uiautomationcore
1587 enable_uiribbon
1588 enable_unicows
1589 enable_updspapi
1590 enable_url
1591 enable_urlmon
1592 enable_usbd_sys
1593 enable_user32
1594 enable_userenv
1595 enable_usp10
1596 enable_utildll
1597 enable_uuid
1598 enable_uxtheme
1599 enable_vbscript
1600 enable_vcomp
1601 enable_vcomp100
1602 enable_vcomp110
1603 enable_vcomp120
1604 enable_vcomp140
1605 enable_vcomp90
1606 enable_vcruntime140
1607 enable_vdmdbg
1608 enable_version
1609 enable_virtdisk
1610 enable_vssapi
1611 enable_vulkan_1
1612 enable_wbemdisp
1613 enable_wbemprox
1614 enable_wdscore
1615 enable_webservices
1616 enable_wer
1617 enable_wevtapi
1618 enable_wiaservc
1619 enable_wimgapi
1620 enable_windowscodecs
1621 enable_windowscodecsext
1622 enable_winealsa_drv
1623 enable_wineandroid_drv
1624 enable_winebus_sys
1625 enable_winecoreaudio_drv
1626 enable_winecrt0
1627 enable_wined3d
1628 enable_winegstreamer
1629 enable_winehid_sys
1630 enable_winejoystick_drv
1631 enable_winemac_drv
1632 enable_winemapi
1633 enable_wineoss_drv
1634 enable_wineps_drv
1635 enable_winepulse_drv
1636 enable_wineqtdecoder
1637 enable_winevulkan
1638 enable_winex11_drv
1639 enable_wing32
1640 enable_winhttp
1641 enable_wininet
1642 enable_winmm
1643 enable_winnls32
1644 enable_winscard
1645 enable_winspool_drv
1646 enable_winsta
1647 enable_wintab32
1648 enable_wintrust
1649 enable_winusb
1650 enable_wlanapi
1651 enable_wlanui
1652 enable_wldap32
1653 enable_wmasf
1654 enable_wmcodecdspuuid
1655 enable_wmi
1656 enable_wmiutils
1657 enable_wmp
1658 enable_wmphoto
1659 enable_wmvcore
1660 enable_wnaspi32
1661 enable_wpc
1662 enable_wpcap
1663 enable_ws2_32
1664 enable_wsdapi
1665 enable_wshom_ocx
1666 enable_wsnmp32
1667 enable_wsock32
1668 enable_wtsapi32
1669 enable_wuapi
1670 enable_wuaueng
1671 enable_x3daudio1_0
1672 enable_x3daudio1_1
1673 enable_x3daudio1_2
1674 enable_x3daudio1_3
1675 enable_x3daudio1_4
1676 enable_x3daudio1_5
1677 enable_x3daudio1_6
1678 enable_x3daudio1_7
1679 enable_xapofx1_1
1680 enable_xapofx1_2
1681 enable_xapofx1_3
1682 enable_xapofx1_4
1683 enable_xapofx1_5
1684 enable_xaudio2_0
1685 enable_xaudio2_1
1686 enable_xaudio2_2
1687 enable_xaudio2_3
1688 enable_xaudio2_4
1689 enable_xaudio2_5
1690 enable_xaudio2_6
1691 enable_xaudio2_7
1692 enable_xaudio2_8
1693 enable_xaudio2_9
1694 enable_xinput1_1
1695 enable_xinput1_2
1696 enable_xinput1_3
1697 enable_xinput1_4
1698 enable_xinput9_1_0
1699 enable_xmllite
1700 enable_xolehlp
1701 enable_xpsprint
1702 enable_xpssvcs
1703 enable_fonts
1704 enable_include
1705 enable_port
1706 enable_wine
1707 enable_wpp
1708 enable_loader
1709 enable_po
1710 enable_arp
1711 enable_aspnet_regiis
1712 enable_attrib
1713 enable_cabarc
1714 enable_cacls
1715 enable_clock
1716 enable_cmd
1717 enable_conhost
1718 enable_control
1719 enable_cscript
1720 enable_dism
1721 enable_dpnsvr
1722 enable_dxdiag
1723 enable_eject
1724 enable_expand
1725 enable_explorer
1726 enable_extrac32
1727 enable_fc
1728 enable_find
1729 enable_findstr
1730 enable_fsutil
1731 enable_hh
1732 enable_hostname
1733 enable_icacls
1734 enable_icinfo
1735 enable_iexplore
1736 enable_ipconfig
1737 enable_lodctr
1738 enable_mofcomp
1739 enable_mshta
1740 enable_msidb
1741 enable_msiexec
1742 enable_msinfo32
1743 enable_net
1744 enable_netsh
1745 enable_netstat
1746 enable_ngen
1747 enable_notepad
1748 enable_oleview
1749 enable_ping
1750 enable_plugplay
1751 enable_powershell
1752 enable_presentationfontcache
1753 enable_progman
1754 enable_reg
1755 enable_regasm
1756 enable_regedit
1757 enable_regini
1758 enable_regsvcs
1759 enable_regsvr32
1760 enable_rpcss
1761 enable_rundll32
1762 enable_sc
1763 enable_schtasks
1764 enable_sdbinst
1765 enable_secedit
1766 enable_servicemodelreg
1767 enable_services
1768 enable_shutdown
1769 enable_spoolsv
1770 enable_start
1771 enable_subst
1772 enable_svchost
1773 enable_systeminfo
1774 enable_taskkill
1775 enable_tasklist
1776 enable_taskmgr
1777 enable_termsv
1778 enable_uninstaller
1779 enable_unlodctr
1780 enable_view
1781 enable_wevtutil
1782 enable_wineboot
1783 enable_winebrowser
1784 enable_winecfg
1785 enable_wineconsole
1786 enable_winedbg
1787 enable_winedevice
1788 enable_winefile
1789 enable_winemenubuilder
1790 enable_winemine
1791 enable_winemsibuilder
1792 enable_winepath
1793 enable_winetest
1794 enable_winhlp32
1795 enable_winmgmt
1796 enable_winver
1797 enable_wmic
1798 enable_wmplayer
1799 enable_wordpad
1800 enable_write
1801 enable_wscript
1802 enable_wuauserv
1803 enable_wusa
1804 enable_xcopy
1805 enable_server
1806 enable_tools
1807 enable_sfnt2fon
1808 enable_widl
1809 enable_winebuild
1810 enable_winedump
1811 enable_winegcc
1812 enable_winemaker
1813 enable_wmc
1814 enable_wrc
1816 ac_precious_vars='build_alias
1817 host_alias
1818 target_alias
1820 CFLAGS
1821 LDFLAGS
1822 LIBS
1823 CPPFLAGS
1825 CXXFLAGS
1828 OBJC
1829 OBJCFLAGS
1830 OBJCPP
1831 XMKMF
1832 XML2_CFLAGS
1833 XML2_LIBS
1834 XSLT_CFLAGS
1835 XSLT_LIBS
1836 INOTIFY_CFLAGS
1837 INOTIFY_LIBS
1838 DBUS_CFLAGS
1839 DBUS_LIBS
1840 HAL_CFLAGS
1841 HAL_LIBS
1842 GNUTLS_CFLAGS
1843 GNUTLS_LIBS
1844 SANE_CFLAGS
1845 SANE_LIBS
1846 GPHOTO2_CFLAGS
1847 GPHOTO2_LIBS
1848 GPHOTO2_PORT_CFLAGS
1849 GPHOTO2_PORT_LIBS
1850 LCMS2_CFLAGS
1851 LCMS2_LIBS
1852 FREETYPE_CFLAGS
1853 FREETYPE_LIBS
1854 Z_CFLAGS
1855 Z_LIBS
1856 PULSE_CFLAGS
1857 PULSE_LIBS
1858 GSTREAMER_CFLAGS
1859 GSTREAMER_LIBS
1860 UDEV_CFLAGS
1861 UDEV_LIBS
1862 UNWIND_CFLAGS
1863 UNWIND_LIBS
1864 SDL2_CFLAGS
1865 SDL2_LIBS
1866 FAUDIO_CFLAGS
1867 FAUDIO_LIBS
1868 CAPI20_CFLAGS
1869 CAPI20_LIBS
1870 CUPS_CFLAGS
1871 CUPS_LIBS
1872 FONTCONFIG_CFLAGS
1873 FONTCONFIG_LIBS
1874 KRB5_CFLAGS
1875 KRB5_LIBS
1876 GSSAPI_CFLAGS
1877 GSSAPI_LIBS
1878 JPEG_CFLAGS
1879 JPEG_LIBS
1880 PNG_CFLAGS
1881 PNG_LIBS
1882 TIFF_CFLAGS
1883 TIFF_LIBS
1884 MPG123_CFLAGS
1885 MPG123_LIBS
1886 NETAPI_CFLAGS
1887 NETAPI_LIBS
1888 VKD3D_CFLAGS
1889 VKD3D_LIBS
1890 LDAP_CFLAGS
1891 LDAP_LIBS'
1894 # Initialize some variables set by options.
1895 ac_init_help=
1896 ac_init_version=false
1897 ac_unrecognized_opts=
1898 ac_unrecognized_sep=
1899 # The variables have the same names as the options, with
1900 # dashes changed to underlines.
1901 cache_file=/dev/null
1902 exec_prefix=NONE
1903 no_create=
1904 no_recursion=
1905 prefix=NONE
1906 program_prefix=NONE
1907 program_suffix=NONE
1908 program_transform_name=s,x,x,
1909 silent=
1910 site=
1911 srcdir=
1912 verbose=
1913 x_includes=NONE
1914 x_libraries=NONE
1916 # Installation directory options.
1917 # These are left unexpanded so users can "make install exec_prefix=/foo"
1918 # and all the variables that are supposed to be based on exec_prefix
1919 # by default will actually change.
1920 # Use braces instead of parens because sh, perl, etc. also accept them.
1921 # (The list follows the same order as the GNU Coding Standards.)
1922 bindir='${exec_prefix}/bin'
1923 sbindir='${exec_prefix}/sbin'
1924 libexecdir='${exec_prefix}/libexec'
1925 datarootdir='${prefix}/share'
1926 datadir='${datarootdir}'
1927 sysconfdir='${prefix}/etc'
1928 sharedstatedir='${prefix}/com'
1929 localstatedir='${prefix}/var'
1930 runstatedir='${localstatedir}/run'
1931 includedir='${prefix}/include'
1932 oldincludedir='/usr/include'
1933 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1934 infodir='${datarootdir}/info'
1935 htmldir='${docdir}'
1936 dvidir='${docdir}'
1937 pdfdir='${docdir}'
1938 psdir='${docdir}'
1939 libdir='${exec_prefix}/lib'
1940 localedir='${datarootdir}/locale'
1941 mandir='${datarootdir}/man'
1943 ac_prev=
1944 ac_dashdash=
1945 for ac_option
1947 # If the previous option needs an argument, assign it.
1948 if test -n "$ac_prev"; then
1949 eval $ac_prev=\$ac_option
1950 ac_prev=
1951 continue
1954 case $ac_option in
1955 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1956 *=) ac_optarg= ;;
1957 *) ac_optarg=yes ;;
1958 esac
1960 # Accept the important Cygnus configure options, so we can diagnose typos.
1962 case $ac_dashdash$ac_option in
1964 ac_dashdash=yes ;;
1966 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1967 ac_prev=bindir ;;
1968 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1969 bindir=$ac_optarg ;;
1971 -build | --build | --buil | --bui | --bu)
1972 ac_prev=build_alias ;;
1973 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1974 build_alias=$ac_optarg ;;
1976 -cache-file | --cache-file | --cache-fil | --cache-fi \
1977 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1978 ac_prev=cache_file ;;
1979 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1980 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1981 cache_file=$ac_optarg ;;
1983 --config-cache | -C)
1984 cache_file=config.cache ;;
1986 -datadir | --datadir | --datadi | --datad)
1987 ac_prev=datadir ;;
1988 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1989 datadir=$ac_optarg ;;
1991 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1992 | --dataroo | --dataro | --datar)
1993 ac_prev=datarootdir ;;
1994 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1995 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1996 datarootdir=$ac_optarg ;;
1998 -disable-* | --disable-*)
1999 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2000 # Reject names that are not valid shell variable names.
2001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2002 as_fn_error $? "invalid feature name: $ac_useropt"
2003 ac_useropt_orig=$ac_useropt
2004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2005 case $ac_user_opts in
2007 "enable_$ac_useropt"
2008 "*) ;;
2009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2010 ac_unrecognized_sep=', ';;
2011 esac
2012 eval enable_$ac_useropt=no ;;
2014 -docdir | --docdir | --docdi | --doc | --do)
2015 ac_prev=docdir ;;
2016 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2017 docdir=$ac_optarg ;;
2019 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2020 ac_prev=dvidir ;;
2021 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2022 dvidir=$ac_optarg ;;
2024 -enable-* | --enable-*)
2025 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2026 # Reject names that are not valid shell variable names.
2027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2028 as_fn_error $? "invalid feature name: $ac_useropt"
2029 ac_useropt_orig=$ac_useropt
2030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2031 case $ac_user_opts in
2033 "enable_$ac_useropt"
2034 "*) ;;
2035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2036 ac_unrecognized_sep=', ';;
2037 esac
2038 eval enable_$ac_useropt=\$ac_optarg ;;
2040 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2041 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2042 | --exec | --exe | --ex)
2043 ac_prev=exec_prefix ;;
2044 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2045 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2046 | --exec=* | --exe=* | --ex=*)
2047 exec_prefix=$ac_optarg ;;
2049 -gas | --gas | --ga | --g)
2050 # Obsolete; use --with-gas.
2051 with_gas=yes ;;
2053 -help | --help | --hel | --he | -h)
2054 ac_init_help=long ;;
2055 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2056 ac_init_help=recursive ;;
2057 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2058 ac_init_help=short ;;
2060 -host | --host | --hos | --ho)
2061 ac_prev=host_alias ;;
2062 -host=* | --host=* | --hos=* | --ho=*)
2063 host_alias=$ac_optarg ;;
2065 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2066 ac_prev=htmldir ;;
2067 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2068 | --ht=*)
2069 htmldir=$ac_optarg ;;
2071 -includedir | --includedir | --includedi | --included | --include \
2072 | --includ | --inclu | --incl | --inc)
2073 ac_prev=includedir ;;
2074 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2075 | --includ=* | --inclu=* | --incl=* | --inc=*)
2076 includedir=$ac_optarg ;;
2078 -infodir | --infodir | --infodi | --infod | --info | --inf)
2079 ac_prev=infodir ;;
2080 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2081 infodir=$ac_optarg ;;
2083 -libdir | --libdir | --libdi | --libd)
2084 ac_prev=libdir ;;
2085 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2086 libdir=$ac_optarg ;;
2088 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2089 | --libexe | --libex | --libe)
2090 ac_prev=libexecdir ;;
2091 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2092 | --libexe=* | --libex=* | --libe=*)
2093 libexecdir=$ac_optarg ;;
2095 -localedir | --localedir | --localedi | --localed | --locale)
2096 ac_prev=localedir ;;
2097 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2098 localedir=$ac_optarg ;;
2100 -localstatedir | --localstatedir | --localstatedi | --localstated \
2101 | --localstate | --localstat | --localsta | --localst | --locals)
2102 ac_prev=localstatedir ;;
2103 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2104 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2105 localstatedir=$ac_optarg ;;
2107 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2108 ac_prev=mandir ;;
2109 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2110 mandir=$ac_optarg ;;
2112 -nfp | --nfp | --nf)
2113 # Obsolete; use --without-fp.
2114 with_fp=no ;;
2116 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2117 | --no-cr | --no-c | -n)
2118 no_create=yes ;;
2120 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2121 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2122 no_recursion=yes ;;
2124 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2125 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2126 | --oldin | --oldi | --old | --ol | --o)
2127 ac_prev=oldincludedir ;;
2128 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2129 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2130 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2131 oldincludedir=$ac_optarg ;;
2133 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2134 ac_prev=prefix ;;
2135 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2136 prefix=$ac_optarg ;;
2138 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2139 | --program-pre | --program-pr | --program-p)
2140 ac_prev=program_prefix ;;
2141 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2142 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2143 program_prefix=$ac_optarg ;;
2145 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2146 | --program-suf | --program-su | --program-s)
2147 ac_prev=program_suffix ;;
2148 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2149 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2150 program_suffix=$ac_optarg ;;
2152 -program-transform-name | --program-transform-name \
2153 | --program-transform-nam | --program-transform-na \
2154 | --program-transform-n | --program-transform- \
2155 | --program-transform | --program-transfor \
2156 | --program-transfo | --program-transf \
2157 | --program-trans | --program-tran \
2158 | --progr-tra | --program-tr | --program-t)
2159 ac_prev=program_transform_name ;;
2160 -program-transform-name=* | --program-transform-name=* \
2161 | --program-transform-nam=* | --program-transform-na=* \
2162 | --program-transform-n=* | --program-transform-=* \
2163 | --program-transform=* | --program-transfor=* \
2164 | --program-transfo=* | --program-transf=* \
2165 | --program-trans=* | --program-tran=* \
2166 | --progr-tra=* | --program-tr=* | --program-t=*)
2167 program_transform_name=$ac_optarg ;;
2169 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2170 ac_prev=pdfdir ;;
2171 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2172 pdfdir=$ac_optarg ;;
2174 -psdir | --psdir | --psdi | --psd | --ps)
2175 ac_prev=psdir ;;
2176 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2177 psdir=$ac_optarg ;;
2179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2180 | -silent | --silent | --silen | --sile | --sil)
2181 silent=yes ;;
2183 -runstatedir | --runstatedir | --runstatedi | --runstated \
2184 | --runstate | --runstat | --runsta | --runst | --runs \
2185 | --run | --ru | --r)
2186 ac_prev=runstatedir ;;
2187 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2188 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2189 | --run=* | --ru=* | --r=*)
2190 runstatedir=$ac_optarg ;;
2192 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2193 ac_prev=sbindir ;;
2194 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2195 | --sbi=* | --sb=*)
2196 sbindir=$ac_optarg ;;
2198 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2199 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2200 | --sharedst | --shareds | --shared | --share | --shar \
2201 | --sha | --sh)
2202 ac_prev=sharedstatedir ;;
2203 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2204 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2205 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2206 | --sha=* | --sh=*)
2207 sharedstatedir=$ac_optarg ;;
2209 -site | --site | --sit)
2210 ac_prev=site ;;
2211 -site=* | --site=* | --sit=*)
2212 site=$ac_optarg ;;
2214 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2215 ac_prev=srcdir ;;
2216 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2217 srcdir=$ac_optarg ;;
2219 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2220 | --syscon | --sysco | --sysc | --sys | --sy)
2221 ac_prev=sysconfdir ;;
2222 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2223 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2224 sysconfdir=$ac_optarg ;;
2226 -target | --target | --targe | --targ | --tar | --ta | --t)
2227 ac_prev=target_alias ;;
2228 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2229 target_alias=$ac_optarg ;;
2231 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2232 verbose=yes ;;
2234 -version | --version | --versio | --versi | --vers | -V)
2235 ac_init_version=: ;;
2237 -with-* | --with-*)
2238 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2239 # Reject names that are not valid shell variable names.
2240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2241 as_fn_error $? "invalid package name: $ac_useropt"
2242 ac_useropt_orig=$ac_useropt
2243 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2244 case $ac_user_opts in
2246 "with_$ac_useropt"
2247 "*) ;;
2248 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2249 ac_unrecognized_sep=', ';;
2250 esac
2251 eval with_$ac_useropt=\$ac_optarg ;;
2253 -without-* | --without-*)
2254 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2255 # Reject names that are not valid shell variable names.
2256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2257 as_fn_error $? "invalid package name: $ac_useropt"
2258 ac_useropt_orig=$ac_useropt
2259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2260 case $ac_user_opts in
2262 "with_$ac_useropt"
2263 "*) ;;
2264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2265 ac_unrecognized_sep=', ';;
2266 esac
2267 eval with_$ac_useropt=no ;;
2269 --x)
2270 # Obsolete; use --with-x.
2271 with_x=yes ;;
2273 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2274 | --x-incl | --x-inc | --x-in | --x-i)
2275 ac_prev=x_includes ;;
2276 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2277 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2278 x_includes=$ac_optarg ;;
2280 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2281 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2282 ac_prev=x_libraries ;;
2283 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2284 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2285 x_libraries=$ac_optarg ;;
2287 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2288 Try \`$0 --help' for more information"
2291 *=*)
2292 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2293 # Reject names that are not valid shell variable names.
2294 case $ac_envvar in #(
2295 '' | [0-9]* | *[!_$as_cr_alnum]* )
2296 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2297 esac
2298 eval $ac_envvar=\$ac_optarg
2299 export $ac_envvar ;;
2302 # FIXME: should be removed in autoconf 3.0.
2303 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2304 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2305 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2306 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2309 esac
2310 done
2312 if test -n "$ac_prev"; then
2313 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2314 as_fn_error $? "missing argument to $ac_option"
2317 if test -n "$ac_unrecognized_opts"; then
2318 case $enable_option_checking in
2319 no) ;;
2320 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2321 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2322 esac
2325 # Check all directory arguments for consistency.
2326 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2327 datadir sysconfdir sharedstatedir localstatedir includedir \
2328 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2329 libdir localedir mandir runstatedir
2331 eval ac_val=\$$ac_var
2332 # Remove trailing slashes.
2333 case $ac_val in
2334 */ )
2335 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2336 eval $ac_var=\$ac_val;;
2337 esac
2338 # Be sure to have absolute directory names.
2339 case $ac_val in
2340 [\\/$]* | ?:[\\/]* ) continue;;
2341 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2342 esac
2343 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2344 done
2346 # There might be people who depend on the old broken behavior: `$host'
2347 # used to hold the argument of --host etc.
2348 # FIXME: To remove some day.
2349 build=$build_alias
2350 host=$host_alias
2351 target=$target_alias
2353 # FIXME: To remove some day.
2354 if test "x$host_alias" != x; then
2355 if test "x$build_alias" = x; then
2356 cross_compiling=maybe
2357 elif test "x$build_alias" != "x$host_alias"; then
2358 cross_compiling=yes
2362 ac_tool_prefix=
2363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2365 test "$silent" = yes && exec 6>/dev/null
2368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2369 ac_ls_di=`ls -di .` &&
2370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2371 as_fn_error $? "working directory cannot be determined"
2372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2373 as_fn_error $? "pwd does not report name of working directory"
2376 # Find the source files, if location was not specified.
2377 if test -z "$srcdir"; then
2378 ac_srcdir_defaulted=yes
2379 # Try the directory containing this script, then the parent directory.
2380 ac_confdir=`$as_dirname -- "$as_myself" ||
2381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2382 X"$as_myself" : 'X\(//\)[^/]' \| \
2383 X"$as_myself" : 'X\(//\)$' \| \
2384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2385 $as_echo X"$as_myself" |
2386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2387 s//\1/
2390 /^X\(\/\/\)[^/].*/{
2391 s//\1/
2394 /^X\(\/\/\)$/{
2395 s//\1/
2398 /^X\(\/\).*/{
2399 s//\1/
2402 s/.*/./; q'`
2403 srcdir=$ac_confdir
2404 if test ! -r "$srcdir/$ac_unique_file"; then
2405 srcdir=..
2407 else
2408 ac_srcdir_defaulted=no
2410 if test ! -r "$srcdir/$ac_unique_file"; then
2411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2412 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2415 ac_abs_confdir=`(
2416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2417 pwd)`
2418 # When building in place, set srcdir=.
2419 if test "$ac_abs_confdir" = "$ac_pwd"; then
2420 srcdir=.
2422 # Remove unnecessary trailing slashes from srcdir.
2423 # Double slashes in file names in object file debugging info
2424 # mess up M-x gdb in Emacs.
2425 case $srcdir in
2426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2427 esac
2428 for ac_var in $ac_precious_vars; do
2429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2430 eval ac_env_${ac_var}_value=\$${ac_var}
2431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2433 done
2436 # Report the --help message.
2438 if test "$ac_init_help" = "long"; then
2439 # Omit some internal or obsolete options to make the list less imposing.
2440 # This message is too long to be a string in the A/UX 3.1 sh.
2441 cat <<_ACEOF
2442 \`configure' configures Wine 4.19 to adapt to many kinds of systems.
2444 Usage: $0 [OPTION]... [VAR=VALUE]...
2446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2447 VAR=VALUE. See below for descriptions of some of the useful variables.
2449 Defaults for the options are specified in brackets.
2451 Configuration:
2452 -h, --help display this help and exit
2453 --help=short display options specific to this package
2454 --help=recursive display the short help of all the included packages
2455 -V, --version display version information and exit
2456 -q, --quiet, --silent do not print \`checking ...' messages
2457 --cache-file=FILE cache test results in FILE [disabled]
2458 -C, --config-cache alias for \`--cache-file=config.cache'
2459 -n, --no-create do not create output files
2460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2462 Installation directories:
2463 --prefix=PREFIX install architecture-independent files in PREFIX
2464 [$ac_default_prefix]
2465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2466 [PREFIX]
2468 By default, \`make install' will install all the files in
2469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2471 for instance \`--prefix=\$HOME'.
2473 For better control, use the options below.
2475 Fine tuning of the installation directories:
2476 --bindir=DIR user executables [EPREFIX/bin]
2477 --sbindir=DIR system admin executables [EPREFIX/sbin]
2478 --libexecdir=DIR program executables [EPREFIX/libexec]
2479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2482 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2483 --libdir=DIR object code libraries [EPREFIX/lib]
2484 --includedir=DIR C header files [PREFIX/include]
2485 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2486 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2487 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2488 --infodir=DIR info documentation [DATAROOTDIR/info]
2489 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2490 --mandir=DIR man documentation [DATAROOTDIR/man]
2491 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2492 --htmldir=DIR html documentation [DOCDIR]
2493 --dvidir=DIR dvi documentation [DOCDIR]
2494 --pdfdir=DIR pdf documentation [DOCDIR]
2495 --psdir=DIR ps documentation [DOCDIR]
2496 _ACEOF
2498 cat <<\_ACEOF
2500 X features:
2501 --x-includes=DIR X include files are in DIR
2502 --x-libraries=DIR X library files are in DIR
2504 System types:
2505 --build=BUILD configure for building on BUILD [guessed]
2506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2507 _ACEOF
2510 if test -n "$ac_init_help"; then
2511 case $ac_init_help in
2512 short | recursive ) echo "Configuration of Wine 4.19:";;
2513 esac
2514 cat <<\_ACEOF
2516 Optional Features:
2517 --disable-option-checking ignore unrecognized --enable/--with options
2518 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2519 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2520 --disable-win16 do not include Win16 support
2521 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2522 binaries)
2523 --disable-tests do not build the regression tests
2524 --enable-maintainer-mode
2525 enable maintainer-specific build rules
2526 --disable-largefile omit support for large files
2528 Optional Packages:
2529 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2530 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2531 --without-alsa do not use the Alsa sound support
2532 --without-capi do not use CAPI (ISDN support)
2533 --without-cms do not use CMS (color management support)
2534 --without-coreaudio do not use the CoreAudio sound support
2535 --without-cups do not use CUPS
2536 --without-curses do not use (n)curses
2537 --without-dbus do not use DBus (dynamic device support)
2538 --without-faudio do not use FAudio (XAudio2 support)
2539 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2540 --without-fontconfig do not use fontconfig
2541 --without-freetype do not use the FreeType library
2542 --without-gettext do not use gettext
2543 --with-gettextpo use the GetTextPO library to rebuild po files
2544 --without-gphoto do not use gphoto (Digital Camera support)
2545 --without-glu do not use the GLU library
2546 --without-gnutls do not use GnuTLS (schannel support)
2547 --without-gsm do not use libgsm (GSM 06.10 codec support)
2548 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2549 --without-gstreamer do not use GStreamer (codecs support)
2550 --without-hal do not use HAL (dynamic device support)
2551 --without-inotify do not use inotify (filesystem change notifications)
2552 --without-jpeg do not use JPEG
2553 --without-krb5 do not use krb5 (Kerberos)
2554 --without-ldap do not use LDAP
2555 --without-mingw do not use the MinGW cross-compiler
2556 --without-mpg123 do not use the mpg123 library
2557 --without-netapi do not use the Samba NetAPI library
2558 --without-openal do not use OpenAL
2559 --without-opencl do not use OpenCL
2560 --without-opengl do not use OpenGL
2561 --without-osmesa do not use the OSMesa library
2562 --without-oss do not use the OSS sound support
2563 --without-pcap do not use the Packet Capture library
2564 --without-png do not use PNG
2565 --without-pthread do not use the pthread library
2566 --without-pulse do not use PulseAudio sound support
2567 --without-sane do not use SANE (scanner support)
2568 --without-sdl do not use SDL
2569 --without-tiff do not use TIFF
2570 --without-udev do not use udev (plug and play support)
2571 --without-unwind do not use the libunwind library (exception
2572 handling)
2573 --without-v4l2 do not use v4l2 (video capture)
2574 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2575 --without-vulkan do not use Vulkan
2576 --without-xcomposite do not use the Xcomposite extension
2577 --without-xcursor do not use the Xcursor extension
2578 --without-xfixes do not use Xfixes for clipboard change notifications
2579 --without-xinerama do not use Xinerama (multi-monitor support)
2580 --without-xinput do not use the Xinput extension
2581 --without-xinput2 do not use the Xinput 2 extension
2582 --without-xml do not use XML
2583 --without-xrandr do not use Xrandr (resolution changes)
2584 --without-xrender do not use the Xrender extension
2585 --without-xshape do not use the Xshape extension
2586 --without-xshm do not use XShm (shared memory extension)
2587 --without-xslt do not use XSLT
2588 --without-xxf86vm do not use XFree video mode extension
2589 --without-zlib do not use Zlib (data compression)
2590 --with-wine-tools=DIR use Wine tools from directory DIR
2591 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2592 --with-x use the X Window System
2594 Some influential environment variables:
2595 CC C compiler command
2596 CFLAGS C compiler flags
2597 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2598 nonstandard directory <lib dir>
2599 LIBS libraries to pass to the linker, e.g. -l<library>
2600 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2601 you have headers in a nonstandard directory <include dir>
2602 CXX C++ compiler command
2603 CXXFLAGS C++ compiler flags
2604 CPP C preprocessor
2605 OBJC Objective C compiler command
2606 OBJCFLAGS Objective C compiler flags
2607 OBJCPP Objective C preprocessor
2608 XMKMF Path to xmkmf, Makefile generator for X Window System
2609 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2610 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2611 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2612 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2613 INOTIFY_CFLAGS
2614 C compiler flags for libinotify, overriding pkg-config
2615 INOTIFY_LIBS
2616 Linker flags for libinotify, overriding pkg-config
2617 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2618 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2619 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2620 HAL_LIBS Linker flags for hal, overriding pkg-config
2621 GNUTLS_CFLAGS
2622 C compiler flags for gnutls, overriding pkg-config
2623 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2624 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2625 SANE_LIBS Linker flags for libsane, overriding pkg-config
2626 GPHOTO2_CFLAGS
2627 C compiler flags for libgphoto2, overriding pkg-config
2628 GPHOTO2_LIBS
2629 Linker flags for libgphoto2, overriding pkg-config
2630 GPHOTO2_PORT_CFLAGS
2631 C compiler flags for libgphoto2_port, overriding pkg-config
2632 GPHOTO2_PORT_LIBS
2633 Linker flags for libgphoto2_port, overriding pkg-config
2634 LCMS2_CFLAGS
2635 C compiler flags for lcms2, overriding pkg-config
2636 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2637 FREETYPE_CFLAGS
2638 C compiler flags for freetype2, overriding pkg-config
2639 FREETYPE_LIBS
2640 Linker flags for freetype2, overriding pkg-config
2641 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2642 Z_LIBS Linker flags for libz, overriding pkg-config
2643 PULSE_CFLAGS
2644 C compiler flags for libpulse, overriding pkg-config
2645 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2646 GSTREAMER_CFLAGS
2647 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2648 gstreamer-audio-1.0, overriding pkg-config
2649 GSTREAMER_LIBS
2650 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2651 gstreamer-audio-1.0, overriding pkg-config
2652 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2653 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2654 UNWIND_CFLAGS
2655 C compiler flags for libunwind, overriding pkg-config
2656 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2657 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2658 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2659 FAUDIO_CFLAGS
2660 C compiler flags for faudio, overriding pkg-config
2661 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2662 CAPI20_CFLAGS
2663 C compiler flags for capi20, overriding pkg-config
2664 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2665 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2666 CUPS_LIBS Linker flags for cups, overriding pkg-config
2667 FONTCONFIG_CFLAGS
2668 C compiler flags for fontconfig, overriding pkg-config
2669 FONTCONFIG_LIBS
2670 Linker flags for fontconfig, overriding pkg-config
2671 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2672 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2673 GSSAPI_CFLAGS
2674 C compiler flags for krb5-gssapi, overriding pkg-config
2675 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2676 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2677 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2678 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2679 PNG_LIBS Linker flags for libpng, overriding pkg-config
2680 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2681 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2682 MPG123_CFLAGS
2683 C compiler flags for libmpg123, overriding pkg-config
2684 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2685 NETAPI_CFLAGS
2686 C compiler flags for netapi, overriding pkg-config
2687 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2688 VKD3D_CFLAGS
2689 C compiler flags for libvkd3d, overriding pkg-config
2690 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2691 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2692 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2694 Use these variables to override the choices made by `configure' or to help
2695 it to find libraries and programs with nonstandard names/locations.
2697 Report bugs to <wine-devel@winehq.org>.
2698 Wine home page: <https://www.winehq.org>.
2699 _ACEOF
2700 ac_status=$?
2703 if test "$ac_init_help" = "recursive"; then
2704 # If there are subdirs, report their specific --help.
2705 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2706 test -d "$ac_dir" ||
2707 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2708 continue
2709 ac_builddir=.
2711 case "$ac_dir" in
2712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2715 # A ".." for each directory in $ac_dir_suffix.
2716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2717 case $ac_top_builddir_sub in
2718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2720 esac ;;
2721 esac
2722 ac_abs_top_builddir=$ac_pwd
2723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2724 # for backward compatibility:
2725 ac_top_builddir=$ac_top_build_prefix
2727 case $srcdir in
2728 .) # We are building in place.
2729 ac_srcdir=.
2730 ac_top_srcdir=$ac_top_builddir_sub
2731 ac_abs_top_srcdir=$ac_pwd ;;
2732 [\\/]* | ?:[\\/]* ) # Absolute name.
2733 ac_srcdir=$srcdir$ac_dir_suffix;
2734 ac_top_srcdir=$srcdir
2735 ac_abs_top_srcdir=$srcdir ;;
2736 *) # Relative name.
2737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2738 ac_top_srcdir=$ac_top_build_prefix$srcdir
2739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2740 esac
2741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2743 cd "$ac_dir" || { ac_status=$?; continue; }
2744 # Check for guested configure.
2745 if test -f "$ac_srcdir/configure.gnu"; then
2746 echo &&
2747 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2748 elif test -f "$ac_srcdir/configure"; then
2749 echo &&
2750 $SHELL "$ac_srcdir/configure" --help=recursive
2751 else
2752 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2753 fi || ac_status=$?
2754 cd "$ac_pwd" || { ac_status=$?; break; }
2755 done
2758 test -n "$ac_init_help" && exit $ac_status
2759 if $ac_init_version; then
2760 cat <<\_ACEOF
2761 Wine configure 4.19
2762 generated by GNU Autoconf 2.69
2764 Copyright (C) 2012 Free Software Foundation, Inc.
2765 This configure script is free software; the Free Software Foundation
2766 gives unlimited permission to copy, distribute and modify it.
2767 _ACEOF
2768 exit
2771 ## ------------------------ ##
2772 ## Autoconf initialization. ##
2773 ## ------------------------ ##
2775 # ac_fn_c_try_compile LINENO
2776 # --------------------------
2777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2778 ac_fn_c_try_compile ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 rm -f conftest.$ac_objext
2782 if { { ac_try="$ac_compile"
2783 case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786 esac
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>conftest.err
2790 ac_status=$?
2791 if test -s conftest.err; then
2792 grep -v '^ *+' conftest.err >conftest.er1
2793 cat conftest.er1 >&5
2794 mv -f conftest.er1 conftest.err
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && {
2798 test -z "$ac_c_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then :
2801 ac_retval=0
2802 else
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_retval=1
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_c_try_compile
2813 # ac_fn_cxx_try_compile LINENO
2814 # ----------------------------
2815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_cxx_try_compile ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext
2820 if { { ac_try="$ac_compile"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_compile") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_cxx_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.$ac_objext; then :
2839 ac_retval=0
2840 else
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=1
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status $ac_retval
2849 } # ac_fn_cxx_try_compile
2851 # ac_fn_c_try_link LINENO
2852 # -----------------------
2853 # Try to link conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_c_try_link ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext conftest$ac_exeext
2858 if { { ac_try="$ac_link"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_link") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest$ac_exeext && {
2877 test "$cross_compiling" = yes ||
2878 test -x conftest$ac_exeext
2879 }; then :
2880 ac_retval=0
2881 else
2882 $as_echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 ac_retval=1
2887 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2888 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2889 # interfere with the next link command; also delete a directory that is
2890 # left behind by Apple's compiler. We do this before executing the actions.
2891 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2893 as_fn_set_status $ac_retval
2895 } # ac_fn_c_try_link
2897 # ac_fn_c_try_cpp LINENO
2898 # ----------------------
2899 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2900 ac_fn_c_try_cpp ()
2902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2903 if { { ac_try="$ac_cpp conftest.$ac_ext"
2904 case "(($ac_try" in
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2907 esac
2908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2909 $as_echo "$ac_try_echo"; } >&5
2910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2911 ac_status=$?
2912 if test -s conftest.err; then
2913 grep -v '^ *+' conftest.err >conftest.er1
2914 cat conftest.er1 >&5
2915 mv -f conftest.er1 conftest.err
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; } > conftest.i && {
2919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 }; then :
2922 ac_retval=0
2923 else
2924 $as_echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 ac_retval=1
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 as_fn_set_status $ac_retval
2932 } # ac_fn_c_try_cpp
2934 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2935 # -------------------------------------------------------
2936 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2937 # the include files in INCLUDES and setting the cache variable VAR
2938 # accordingly.
2939 ac_fn_c_check_header_mongrel ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 if eval \${$3+:} false; then :
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2944 $as_echo_n "checking for $2... " >&6; }
2945 if eval \${$3+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 eval ac_res=\$$3
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2950 $as_echo "$ac_res" >&6; }
2951 else
2952 # Is the header compilable?
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2954 $as_echo_n "checking $2 usability... " >&6; }
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2958 #include <$2>
2959 _ACEOF
2960 if ac_fn_c_try_compile "$LINENO"; then :
2961 ac_header_compiler=yes
2962 else
2963 ac_header_compiler=no
2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2967 $as_echo "$ac_header_compiler" >&6; }
2969 # Is the header present?
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2971 $as_echo_n "checking $2 presence... " >&6; }
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2974 #include <$2>
2975 _ACEOF
2976 if ac_fn_c_try_cpp "$LINENO"; then :
2977 ac_header_preproc=yes
2978 else
2979 ac_header_preproc=no
2981 rm -f conftest.err conftest.i conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2983 $as_echo "$ac_header_preproc" >&6; }
2985 # So? What about this header?
2986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2987 yes:no: )
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2989 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2991 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2993 no:yes:* )
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2995 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2997 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2999 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3001 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3003 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3004 ( $as_echo "## ------------------------------------ ##
3005 ## Report this to wine-devel@winehq.org ##
3006 ## ------------------------------------ ##"
3007 ) | sed "s/^/$as_me: WARNING: /" >&2
3009 esac
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3011 $as_echo_n "checking for $2... " >&6; }
3012 if eval \${$3+:} false; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 eval "$3=\$ac_header_compiler"
3017 eval ac_res=\$$3
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3019 $as_echo "$ac_res" >&6; }
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 } # ac_fn_c_check_header_mongrel
3025 # ac_fn_c_try_run LINENO
3026 # ----------------------
3027 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3028 # that executables *can* be run.
3029 ac_fn_c_try_run ()
3031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3032 if { { ac_try="$ac_link"
3033 case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3036 esac
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_link") 2>&5
3040 ac_status=$?
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3043 { { case "(($ac_try" in
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3046 esac
3047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_try") 2>&5
3050 ac_status=$?
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; }; }; then :
3053 ac_retval=0
3054 else
3055 $as_echo "$as_me: program exited with status $ac_status" >&5
3056 $as_echo "$as_me: failed program was:" >&5
3057 sed 's/^/| /' conftest.$ac_ext >&5
3059 ac_retval=$ac_status
3061 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3063 as_fn_set_status $ac_retval
3065 } # ac_fn_c_try_run
3067 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3068 # -------------------------------------------------------
3069 # Tests whether HEADER exists and can be compiled using the include files in
3070 # INCLUDES, setting the cache variable VAR accordingly.
3071 ac_fn_c_check_header_compile ()
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3075 $as_echo_n "checking for $2... " >&6; }
3076 if eval \${$3+:} false; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3082 #include <$2>
3083 _ACEOF
3084 if ac_fn_c_try_compile "$LINENO"; then :
3085 eval "$3=yes"
3086 else
3087 eval "$3=no"
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 eval ac_res=\$$3
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 $as_echo "$ac_res" >&6; }
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 } # ac_fn_c_check_header_compile
3098 # ac_fn_objc_try_compile LINENO
3099 # -----------------------------
3100 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3101 ac_fn_objc_try_compile ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 rm -f conftest.$ac_objext
3105 if { { ac_try="$ac_compile"
3106 case "(($ac_try" in
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3109 esac
3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_compile") 2>conftest.err
3113 ac_status=$?
3114 if test -s conftest.err; then
3115 grep -v '^ *+' conftest.err >conftest.er1
3116 cat conftest.er1 >&5
3117 mv -f conftest.er1 conftest.err
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; } && {
3121 test -z "$ac_objc_werror_flag" ||
3122 test ! -s conftest.err
3123 } && test -s conftest.$ac_objext; then :
3124 ac_retval=0
3125 else
3126 $as_echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3129 ac_retval=1
3131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3132 as_fn_set_status $ac_retval
3134 } # ac_fn_objc_try_compile
3136 # ac_fn_objc_try_cpp LINENO
3137 # -------------------------
3138 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3139 ac_fn_objc_try_cpp ()
3141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3142 if { { ac_try="$ac_cpp conftest.$ac_ext"
3143 case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3146 esac
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3150 ac_status=$?
3151 if test -s conftest.err; then
3152 grep -v '^ *+' conftest.err >conftest.er1
3153 cat conftest.er1 >&5
3154 mv -f conftest.er1 conftest.err
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; } > conftest.i && {
3158 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3159 test ! -s conftest.err
3160 }; then :
3161 ac_retval=0
3162 else
3163 $as_echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 ac_retval=1
3168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3169 as_fn_set_status $ac_retval
3171 } # ac_fn_objc_try_cpp
3173 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3174 # ----------------------------------------------------------
3175 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3176 # the include files in INCLUDES and setting the cache variable VAR
3177 # accordingly.
3178 ac_fn_objc_check_header_mongrel ()
3180 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3181 if eval \${$3+:} false; then :
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \${$3+:} false; then :
3185 $as_echo_n "(cached) " >&6
3187 eval ac_res=\$$3
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189 $as_echo "$ac_res" >&6; }
3190 else
3191 # Is the header compilable?
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3193 $as_echo_n "checking $2 usability... " >&6; }
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3197 #include <$2>
3198 _ACEOF
3199 if ac_fn_objc_try_compile "$LINENO"; then :
3200 ac_header_compiler=yes
3201 else
3202 ac_header_compiler=no
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3206 $as_echo "$ac_header_compiler" >&6; }
3208 # Is the header present?
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3210 $as_echo_n "checking $2 presence... " >&6; }
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3213 #include <$2>
3214 _ACEOF
3215 if ac_fn_objc_try_cpp "$LINENO"; then :
3216 ac_header_preproc=yes
3217 else
3218 ac_header_preproc=no
3220 rm -f conftest.err conftest.i conftest.$ac_ext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3222 $as_echo "$ac_header_preproc" >&6; }
3224 # So? What about this header?
3225 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3226 yes:no: )
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3228 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3230 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3232 no:yes:* )
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3234 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3236 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3238 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3240 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3242 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3243 ( $as_echo "## ------------------------------------ ##
3244 ## Report this to wine-devel@winehq.org ##
3245 ## ------------------------------------ ##"
3246 ) | sed "s/^/$as_me: WARNING: /" >&2
3248 esac
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3250 $as_echo_n "checking for $2... " >&6; }
3251 if eval \${$3+:} false; then :
3252 $as_echo_n "(cached) " >&6
3253 else
3254 eval "$3=\$ac_header_compiler"
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 } # ac_fn_objc_check_header_mongrel
3264 # ac_fn_c_check_func LINENO FUNC VAR
3265 # ----------------------------------
3266 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3267 ac_fn_c_check_func ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3271 $as_echo_n "checking for $2... " >&6; }
3272 if eval \${$3+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3277 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3279 #define $2 innocuous_$2
3281 /* System header to define __stub macros and hopefully few prototypes,
3282 which can conflict with char $2 (); below.
3283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3284 <limits.h> exists even on freestanding compilers. */
3286 #ifdef __STDC__
3287 # include <limits.h>
3288 #else
3289 # include <assert.h>
3290 #endif
3292 #undef $2
3294 /* Override any GCC internal prototype to avoid an error.
3295 Use char because int might match the return type of a GCC
3296 builtin and then its argument prototype would still apply. */
3297 #ifdef __cplusplus
3298 extern "C"
3299 #endif
3300 char $2 ();
3301 /* The GNU C library defines this for functions which it implements
3302 to always fail with ENOSYS. Some functions are actually named
3303 something starting with __ and the normal name is an alias. */
3304 #if defined __stub_$2 || defined __stub___$2
3305 choke me
3306 #endif
3309 main ()
3311 return $2 ();
3313 return 0;
3315 _ACEOF
3316 if ac_fn_c_try_link "$LINENO"; then :
3317 eval "$3=yes"
3318 else
3319 eval "$3=no"
3321 rm -f core conftest.err conftest.$ac_objext \
3322 conftest$ac_exeext conftest.$ac_ext
3324 eval ac_res=\$$3
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3326 $as_echo "$ac_res" >&6; }
3327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3329 } # ac_fn_c_check_func
3331 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3332 # ----------------------------------------------------
3333 # Tries to find if the field MEMBER exists in type AGGR, after including
3334 # INCLUDES, setting cache variable VAR accordingly.
3335 ac_fn_c_check_member ()
3337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3339 $as_echo_n "checking for $2.$3... " >&6; }
3340 if eval \${$4+:} false; then :
3341 $as_echo_n "(cached) " >&6
3342 else
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3347 main ()
3349 static $2 ac_aggr;
3350 if (ac_aggr.$3)
3351 return 0;
3353 return 0;
3355 _ACEOF
3356 if ac_fn_c_try_compile "$LINENO"; then :
3357 eval "$4=yes"
3358 else
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3363 main ()
3365 static $2 ac_aggr;
3366 if (sizeof ac_aggr.$3)
3367 return 0;
3369 return 0;
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 eval "$4=yes"
3374 else
3375 eval "$4=no"
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 eval ac_res=\$$4
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3383 $as_echo "$ac_res" >&6; }
3384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3386 } # ac_fn_c_check_member
3388 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3389 # -------------------------------------------
3390 # Tests whether TYPE exists after having included INCLUDES, setting cache
3391 # variable VAR accordingly.
3392 ac_fn_c_check_type ()
3394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3396 $as_echo_n "checking for $2... " >&6; }
3397 if eval \${$3+:} false; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 eval "$3=no"
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3405 main ()
3407 if (sizeof ($2))
3408 return 0;
3410 return 0;
3412 _ACEOF
3413 if ac_fn_c_try_compile "$LINENO"; then :
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 if (sizeof (($2)))
3421 return 0;
3423 return 0;
3425 _ACEOF
3426 if ac_fn_c_try_compile "$LINENO"; then :
3428 else
3429 eval "$3=yes"
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 eval ac_res=\$$3
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3437 $as_echo "$ac_res" >&6; }
3438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3440 } # ac_fn_c_check_type
3441 cat >config.log <<_ACEOF
3442 This file contains any messages produced by compilers while
3443 running configure, to aid debugging if configure makes a mistake.
3445 It was created by Wine $as_me 4.19, which was
3446 generated by GNU Autoconf 2.69. Invocation command line was
3448 $ $0 $@
3450 _ACEOF
3451 exec 5>>config.log
3453 cat <<_ASUNAME
3454 ## --------- ##
3455 ## Platform. ##
3456 ## --------- ##
3458 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3459 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3460 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3461 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3462 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3464 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3465 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3467 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3468 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3469 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3470 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3471 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3472 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3473 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3475 _ASUNAME
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 for as_dir in $PATH
3480 IFS=$as_save_IFS
3481 test -z "$as_dir" && as_dir=.
3482 $as_echo "PATH: $as_dir"
3483 done
3484 IFS=$as_save_IFS
3486 } >&5
3488 cat >&5 <<_ACEOF
3491 ## ----------- ##
3492 ## Core tests. ##
3493 ## ----------- ##
3495 _ACEOF
3498 # Keep a trace of the command line.
3499 # Strip out --no-create and --no-recursion so they do not pile up.
3500 # Strip out --silent because we don't want to record it for future runs.
3501 # Also quote any args containing shell meta-characters.
3502 # Make two passes to allow for proper duplicate-argument suppression.
3503 ac_configure_args=
3504 ac_configure_args0=
3505 ac_configure_args1=
3506 ac_must_keep_next=false
3507 for ac_pass in 1 2
3509 for ac_arg
3511 case $ac_arg in
3512 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3513 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3514 | -silent | --silent | --silen | --sile | --sil)
3515 continue ;;
3516 *\'*)
3517 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3518 esac
3519 case $ac_pass in
3520 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3522 as_fn_append ac_configure_args1 " '$ac_arg'"
3523 if test $ac_must_keep_next = true; then
3524 ac_must_keep_next=false # Got value, back to normal.
3525 else
3526 case $ac_arg in
3527 *=* | --config-cache | -C | -disable-* | --disable-* \
3528 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3529 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3530 | -with-* | --with-* | -without-* | --without-* | --x)
3531 case "$ac_configure_args0 " in
3532 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3533 esac
3535 -* ) ac_must_keep_next=true ;;
3536 esac
3538 as_fn_append ac_configure_args " '$ac_arg'"
3540 esac
3541 done
3542 done
3543 { ac_configure_args0=; unset ac_configure_args0;}
3544 { ac_configure_args1=; unset ac_configure_args1;}
3546 # When interrupted or exit'd, cleanup temporary files, and complete
3547 # config.log. We remove comments because anyway the quotes in there
3548 # would cause problems or look ugly.
3549 # WARNING: Use '\'' to represent an apostrophe within the trap.
3550 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3551 trap 'exit_status=$?
3552 # Save into config.log some information that might help in debugging.
3554 echo
3556 $as_echo "## ---------------- ##
3557 ## Cache variables. ##
3558 ## ---------------- ##"
3559 echo
3560 # The following way of writing the cache mishandles newlines in values,
3562 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3563 eval ac_val=\$$ac_var
3564 case $ac_val in #(
3565 *${as_nl}*)
3566 case $ac_var in #(
3567 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3569 esac
3570 case $ac_var in #(
3571 _ | IFS | as_nl) ;; #(
3572 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3573 *) { eval $ac_var=; unset $ac_var;} ;;
3574 esac ;;
3575 esac
3576 done
3577 (set) 2>&1 |
3578 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3579 *${as_nl}ac_space=\ *)
3580 sed -n \
3581 "s/'\''/'\''\\\\'\'''\''/g;
3582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3583 ;; #(
3585 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3587 esac |
3588 sort
3590 echo
3592 $as_echo "## ----------------- ##
3593 ## Output variables. ##
3594 ## ----------------- ##"
3595 echo
3596 for ac_var in $ac_subst_vars
3598 eval ac_val=\$$ac_var
3599 case $ac_val in
3600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3601 esac
3602 $as_echo "$ac_var='\''$ac_val'\''"
3603 done | sort
3604 echo
3606 if test -n "$ac_subst_files"; then
3607 $as_echo "## ------------------- ##
3608 ## File substitutions. ##
3609 ## ------------------- ##"
3610 echo
3611 for ac_var in $ac_subst_files
3613 eval ac_val=\$$ac_var
3614 case $ac_val in
3615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3616 esac
3617 $as_echo "$ac_var='\''$ac_val'\''"
3618 done | sort
3619 echo
3622 if test -s confdefs.h; then
3623 $as_echo "## ----------- ##
3624 ## confdefs.h. ##
3625 ## ----------- ##"
3626 echo
3627 cat confdefs.h
3628 echo
3630 test "$ac_signal" != 0 &&
3631 $as_echo "$as_me: caught signal $ac_signal"
3632 $as_echo "$as_me: exit $exit_status"
3633 } >&5
3634 rm -f core *.core core.conftest.* &&
3635 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3636 exit $exit_status
3638 for ac_signal in 1 2 13 15; do
3639 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3640 done
3641 ac_signal=0
3643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3644 rm -f -r conftest* confdefs.h
3646 $as_echo "/* confdefs.h */" > confdefs.h
3648 # Predefined preprocessor variables.
3650 cat >>confdefs.h <<_ACEOF
3651 #define PACKAGE_NAME "$PACKAGE_NAME"
3652 _ACEOF
3654 cat >>confdefs.h <<_ACEOF
3655 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3656 _ACEOF
3658 cat >>confdefs.h <<_ACEOF
3659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3660 _ACEOF
3662 cat >>confdefs.h <<_ACEOF
3663 #define PACKAGE_STRING "$PACKAGE_STRING"
3664 _ACEOF
3666 cat >>confdefs.h <<_ACEOF
3667 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3668 _ACEOF
3670 cat >>confdefs.h <<_ACEOF
3671 #define PACKAGE_URL "$PACKAGE_URL"
3672 _ACEOF
3675 # Let the site file select an alternate cache file if it wants to.
3676 # Prefer an explicitly selected file to automatically selected ones.
3677 ac_site_file1=NONE
3678 ac_site_file2=NONE
3679 if test -n "$CONFIG_SITE"; then
3680 # We do not want a PATH search for config.site.
3681 case $CONFIG_SITE in #((
3682 -*) ac_site_file1=./$CONFIG_SITE;;
3683 */*) ac_site_file1=$CONFIG_SITE;;
3684 *) ac_site_file1=./$CONFIG_SITE;;
3685 esac
3686 elif test "x$prefix" != xNONE; then
3687 ac_site_file1=$prefix/share/config.site
3688 ac_site_file2=$prefix/etc/config.site
3689 else
3690 ac_site_file1=$ac_default_prefix/share/config.site
3691 ac_site_file2=$ac_default_prefix/etc/config.site
3693 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3695 test "x$ac_site_file" = xNONE && continue
3696 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3698 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3699 sed 's/^/| /' "$ac_site_file" >&5
3700 . "$ac_site_file" \
3701 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3703 as_fn_error $? "failed to load site script $ac_site_file
3704 See \`config.log' for more details" "$LINENO" 5; }
3706 done
3708 if test -r "$cache_file"; then
3709 # Some versions of bash will fail to source /dev/null (special files
3710 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3711 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3713 $as_echo "$as_me: loading cache $cache_file" >&6;}
3714 case $cache_file in
3715 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3716 *) . "./$cache_file";;
3717 esac
3719 else
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3721 $as_echo "$as_me: creating cache $cache_file" >&6;}
3722 >$cache_file
3725 # Check that the precious variables saved in the cache have kept the same
3726 # value.
3727 ac_cache_corrupted=false
3728 for ac_var in $ac_precious_vars; do
3729 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3730 eval ac_new_set=\$ac_env_${ac_var}_set
3731 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3732 eval ac_new_val=\$ac_env_${ac_var}_value
3733 case $ac_old_set,$ac_new_set in
3734 set,)
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3736 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3737 ac_cache_corrupted=: ;;
3738 ,set)
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3740 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3741 ac_cache_corrupted=: ;;
3742 ,);;
3744 if test "x$ac_old_val" != "x$ac_new_val"; then
3745 # differences in whitespace do not lead to failure.
3746 ac_old_val_w=`echo x $ac_old_val`
3747 ac_new_val_w=`echo x $ac_new_val`
3748 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3750 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3751 ac_cache_corrupted=:
3752 else
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3754 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3755 eval $ac_var=\$ac_old_val
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3758 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3760 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3761 fi;;
3762 esac
3763 # Pass precious variables to config.status.
3764 if test "$ac_new_set" = set; then
3765 case $ac_new_val in
3766 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3767 *) ac_arg=$ac_var=$ac_new_val ;;
3768 esac
3769 case " $ac_configure_args " in
3770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3771 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3772 esac
3774 done
3775 if $ac_cache_corrupted; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3779 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3780 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3782 ## -------------------- ##
3783 ## Main body of script. ##
3784 ## -------------------- ##
3786 ac_ext=c
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3794 ac_config_headers="$ac_config_headers include/config.h"
3796 ac_aux_dir=
3797 for ac_dir in tools "$srcdir"/tools; do
3798 if test -f "$ac_dir/install-sh"; then
3799 ac_aux_dir=$ac_dir
3800 ac_install_sh="$ac_aux_dir/install-sh -c"
3801 break
3802 elif test -f "$ac_dir/install.sh"; then
3803 ac_aux_dir=$ac_dir
3804 ac_install_sh="$ac_aux_dir/install.sh -c"
3805 break
3806 elif test -f "$ac_dir/shtool"; then
3807 ac_aux_dir=$ac_dir
3808 ac_install_sh="$ac_aux_dir/shtool install -c"
3809 break
3811 done
3812 if test -z "$ac_aux_dir"; then
3813 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3816 # These three variables are undocumented and unsupported,
3817 # and are intended to be withdrawn in a future Autoconf release.
3818 # They can cause serious problems if a builder's source tree is in a directory
3819 # whose full name contains unusual characters.
3820 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3821 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3822 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3826 libwine_version="1.0"
3830 # Check whether --enable-win16 was given.
3831 if test "${enable_win16+set}" = set; then :
3832 enableval=$enable_win16;
3835 # Check whether --enable-win64 was given.
3836 if test "${enable_win64+set}" = set; then :
3837 enableval=$enable_win64;
3840 # Check whether --enable-tests was given.
3841 if test "${enable_tests+set}" = set; then :
3842 enableval=$enable_tests;
3845 # Check whether --enable-maintainer-mode was given.
3846 if test "${enable_maintainer_mode+set}" = set; then :
3847 enableval=$enable_maintainer_mode;
3852 # Check whether --with-alsa was given.
3853 if test "${with_alsa+set}" = set; then :
3854 withval=$with_alsa;
3858 # Check whether --with-capi was given.
3859 if test "${with_capi+set}" = set; then :
3860 withval=$with_capi;
3864 # Check whether --with-cms was given.
3865 if test "${with_cms+set}" = set; then :
3866 withval=$with_cms;
3870 # Check whether --with-coreaudio was given.
3871 if test "${with_coreaudio+set}" = set; then :
3872 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3876 # Check whether --with-cups was given.
3877 if test "${with_cups+set}" = set; then :
3878 withval=$with_cups;
3882 # Check whether --with-curses was given.
3883 if test "${with_curses+set}" = set; then :
3884 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3888 # Check whether --with-dbus was given.
3889 if test "${with_dbus+set}" = set; then :
3890 withval=$with_dbus;
3894 # Check whether --with-faudio was given.
3895 if test "${with_faudio+set}" = set; then :
3896 withval=$with_faudio;
3900 # Check whether --with-float-abi was given.
3901 if test "${with_float_abi+set}" = set; then :
3902 withval=$with_float_abi;
3906 # Check whether --with-fontconfig was given.
3907 if test "${with_fontconfig+set}" = set; then :
3908 withval=$with_fontconfig;
3912 # Check whether --with-freetype was given.
3913 if test "${with_freetype+set}" = set; then :
3914 withval=$with_freetype;
3918 # Check whether --with-gettext was given.
3919 if test "${with_gettext+set}" = set; then :
3920 withval=$with_gettext;
3924 # Check whether --with-gettextpo was given.
3925 if test "${with_gettextpo+set}" = set; then :
3926 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3930 # Check whether --with-gphoto was given.
3931 if test "${with_gphoto+set}" = set; then :
3932 withval=$with_gphoto;
3936 # Check whether --with-glu was given.
3937 if test "${with_glu+set}" = set; then :
3938 withval=$with_glu;
3942 # Check whether --with-gnutls was given.
3943 if test "${with_gnutls+set}" = set; then :
3944 withval=$with_gnutls;
3948 # Check whether --with-gsm was given.
3949 if test "${with_gsm+set}" = set; then :
3950 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3954 # Check whether --with-gssapi was given.
3955 if test "${with_gssapi+set}" = set; then :
3956 withval=$with_gssapi;
3960 # Check whether --with-gstreamer was given.
3961 if test "${with_gstreamer+set}" = set; then :
3962 withval=$with_gstreamer;
3966 # Check whether --with-hal was given.
3967 if test "${with_hal+set}" = set; then :
3968 withval=$with_hal;
3972 # Check whether --with-inotify was given.
3973 if test "${with_inotify+set}" = set; then :
3974 withval=$with_inotify;
3978 # Check whether --with-jpeg was given.
3979 if test "${with_jpeg+set}" = set; then :
3980 withval=$with_jpeg;
3984 # Check whether --with-krb5 was given.
3985 if test "${with_krb5+set}" = set; then :
3986 withval=$with_krb5;
3990 # Check whether --with-ldap was given.
3991 if test "${with_ldap+set}" = set; then :
3992 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3996 # Check whether --with-mingw was given.
3997 if test "${with_mingw+set}" = set; then :
3998 withval=$with_mingw;
4002 # Check whether --with-mpg123 was given.
4003 if test "${with_mpg123+set}" = set; then :
4004 withval=$with_mpg123;
4008 # Check whether --with-netapi was given.
4009 if test "${with_netapi+set}" = set; then :
4010 withval=$with_netapi;
4014 # Check whether --with-openal was given.
4015 if test "${with_openal+set}" = set; then :
4016 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4020 # Check whether --with-opencl was given.
4021 if test "${with_opencl+set}" = set; then :
4022 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4026 # Check whether --with-opengl was given.
4027 if test "${with_opengl+set}" = set; then :
4028 withval=$with_opengl;
4032 # Check whether --with-osmesa was given.
4033 if test "${with_osmesa+set}" = set; then :
4034 withval=$with_osmesa;
4038 # Check whether --with-oss was given.
4039 if test "${with_oss+set}" = set; then :
4040 withval=$with_oss;
4044 # Check whether --with-pcap was given.
4045 if test "${with_pcap+set}" = set; then :
4046 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4050 # Check whether --with-png was given.
4051 if test "${with_png+set}" = set; then :
4052 withval=$with_png;
4056 # Check whether --with-pthread was given.
4057 if test "${with_pthread+set}" = set; then :
4058 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4062 # Check whether --with-pulse was given.
4063 if test "${with_pulse+set}" = set; then :
4064 withval=$with_pulse;
4068 # Check whether --with-sane was given.
4069 if test "${with_sane+set}" = set; then :
4070 withval=$with_sane;
4074 # Check whether --with-sdl was given.
4075 if test "${with_sdl+set}" = set; then :
4076 withval=$with_sdl;
4080 # Check whether --with-tiff was given.
4081 if test "${with_tiff+set}" = set; then :
4082 withval=$with_tiff;
4086 # Check whether --with-udev was given.
4087 if test "${with_udev+set}" = set; then :
4088 withval=$with_udev;
4092 # Check whether --with-unwind was given.
4093 if test "${with_unwind+set}" = set; then :
4094 withval=$with_unwind;
4098 # Check whether --with-v4l2 was given.
4099 if test "${with_v4l2+set}" = set; then :
4100 withval=$with_v4l2;
4104 # Check whether --with-vkd3d was given.
4105 if test "${with_vkd3d+set}" = set; then :
4106 withval=$with_vkd3d;
4110 # Check whether --with-vulkan was given.
4111 if test "${with_vulkan+set}" = set; then :
4112 withval=$with_vulkan;
4116 # Check whether --with-xcomposite was given.
4117 if test "${with_xcomposite+set}" = set; then :
4118 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4122 # Check whether --with-xcursor was given.
4123 if test "${with_xcursor+set}" = set; then :
4124 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4128 # Check whether --with-xfixes was given.
4129 if test "${with_xfixes+set}" = set; then :
4130 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4134 # Check whether --with-xinerama was given.
4135 if test "${with_xinerama+set}" = set; then :
4136 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4140 # Check whether --with-xinput was given.
4141 if test "${with_xinput+set}" = set; then :
4142 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4146 # Check whether --with-xinput2 was given.
4147 if test "${with_xinput2+set}" = set; then :
4148 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4152 # Check whether --with-xml was given.
4153 if test "${with_xml+set}" = set; then :
4154 withval=$with_xml;
4158 # Check whether --with-xrandr was given.
4159 if test "${with_xrandr+set}" = set; then :
4160 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4164 # Check whether --with-xrender was given.
4165 if test "${with_xrender+set}" = set; then :
4166 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4170 # Check whether --with-xshape was given.
4171 if test "${with_xshape+set}" = set; then :
4172 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4176 # Check whether --with-xshm was given.
4177 if test "${with_xshm+set}" = set; then :
4178 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4182 # Check whether --with-xslt was given.
4183 if test "${with_xslt+set}" = set; then :
4184 withval=$with_xslt;
4188 # Check whether --with-xxf86vm was given.
4189 if test "${with_xxf86vm+set}" = set; then :
4190 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
4194 # Check whether --with-zlib was given.
4195 if test "${with_zlib+set}" = set; then :
4196 withval=$with_zlib;
4201 # Check whether --with-wine-tools was given.
4202 if test "${with_wine_tools+set}" = set; then :
4203 withval=$with_wine_tools;
4207 # Check whether --with-wine64 was given.
4208 if test "${with_wine64+set}" = set; then :
4209 withval=$with_wine64;
4213 # Make sure we can run config.sub.
4214 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4215 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4218 $as_echo_n "checking build system type... " >&6; }
4219 if ${ac_cv_build+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 ac_build_alias=$build_alias
4223 test "x$ac_build_alias" = x &&
4224 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4225 test "x$ac_build_alias" = x &&
4226 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4227 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4228 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4232 $as_echo "$ac_cv_build" >&6; }
4233 case $ac_cv_build in
4234 *-*-*) ;;
4235 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4236 esac
4237 build=$ac_cv_build
4238 ac_save_IFS=$IFS; IFS='-'
4239 set x $ac_cv_build
4240 shift
4241 build_cpu=$1
4242 build_vendor=$2
4243 shift; shift
4244 # Remember, the first character of IFS is used to create $*,
4245 # except with old shells:
4246 build_os=$*
4247 IFS=$ac_save_IFS
4248 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4252 $as_echo_n "checking host system type... " >&6; }
4253 if ${ac_cv_host+:} false; then :
4254 $as_echo_n "(cached) " >&6
4255 else
4256 if test "x$host_alias" = x; then
4257 ac_cv_host=$ac_cv_build
4258 else
4259 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4260 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4265 $as_echo "$ac_cv_host" >&6; }
4266 case $ac_cv_host in
4267 *-*-*) ;;
4268 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4269 esac
4270 host=$ac_cv_host
4271 ac_save_IFS=$IFS; IFS='-'
4272 set x $ac_cv_host
4273 shift
4274 host_cpu=$1
4275 host_vendor=$2
4276 shift; shift
4277 # Remember, the first character of IFS is used to create $*,
4278 # except with old shells:
4279 host_os=$*
4280 IFS=$ac_save_IFS
4281 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4285 case "$srcdir" in
4286 .) ;;
4287 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4288 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4289 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4290 fi ;;
4291 esac
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4295 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4296 set x ${MAKE-make}
4297 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4298 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4299 $as_echo_n "(cached) " >&6
4300 else
4301 cat >conftest.make <<\_ACEOF
4302 SHELL = /bin/sh
4303 all:
4304 @echo '@@@%%%=$(MAKE)=@@@%%%'
4305 _ACEOF
4306 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4307 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4308 *@@@%%%=?*=@@@%%%*)
4309 eval ac_cv_prog_make_${ac_make}_set=yes;;
4311 eval ac_cv_prog_make_${ac_make}_set=no;;
4312 esac
4313 rm -f conftest.make
4315 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4317 $as_echo "yes" >&6; }
4318 SET_MAKE=
4319 else
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4322 SET_MAKE="MAKE=${MAKE-make}"
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 if test -n "$ac_tool_prefix"; then
4331 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4332 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if ${ac_cv_prog_CC+:} false; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 if test -n "$CC"; then
4339 ac_cv_prog_CC="$CC" # Let the user override the test.
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 break 2
4352 done
4353 done
4354 IFS=$as_save_IFS
4358 CC=$ac_cv_prog_CC
4359 if test -n "$CC"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361 $as_echo "$CC" >&6; }
4362 else
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4369 if test -z "$ac_cv_prog_CC"; then
4370 ac_ct_CC=$CC
4371 # Extract the first word of "gcc", so it can be a program name with args.
4372 set dummy gcc; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377 else
4378 if test -n "$ac_ct_CC"; then
4379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4380 else
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 for as_dir in $PATH
4384 IFS=$as_save_IFS
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_ac_ct_CC="gcc"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 break 2
4392 done
4393 done
4394 IFS=$as_save_IFS
4398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4399 if test -n "$ac_ct_CC"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4401 $as_echo "$ac_ct_CC" >&6; }
4402 else
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4407 if test "x$ac_ct_CC" = x; then
4408 CC=""
4409 else
4410 case $cross_compiling:$ac_tool_warned in
4411 yes:)
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4414 ac_tool_warned=yes ;;
4415 esac
4416 CC=$ac_ct_CC
4418 else
4419 CC="$ac_cv_prog_CC"
4422 if test -z "$CC"; then
4423 if test -n "$ac_tool_prefix"; then
4424 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4425 set dummy ${ac_tool_prefix}cc; ac_word=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_CC+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 if test -n "$CC"; then
4432 ac_cv_prog_CC="$CC" # Let the user override the test.
4433 else
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 for as_dir in $PATH
4437 IFS=$as_save_IFS
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_CC="${ac_tool_prefix}cc"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 break 2
4445 done
4446 done
4447 IFS=$as_save_IFS
4451 CC=$ac_cv_prog_CC
4452 if test -n "$CC"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4454 $as_echo "$CC" >&6; }
4455 else
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4463 if test -z "$CC"; then
4464 # Extract the first word of "cc", so it can be a program name with args.
4465 set dummy cc; ac_word=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_prog_CC+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 if test -n "$CC"; then
4472 ac_cv_prog_CC="$CC" # Let the user override the test.
4473 else
4474 ac_prog_rejected=no
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH
4478 IFS=$as_save_IFS
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4483 ac_prog_rejected=yes
4484 continue
4486 ac_cv_prog_CC="cc"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4494 if test $ac_prog_rejected = yes; then
4495 # We found a bogon in the path, so make sure we never use it.
4496 set dummy $ac_cv_prog_CC
4497 shift
4498 if test $# != 0; then
4499 # We chose a different compiler from the bogus one.
4500 # However, it has the same basename, so the bogon will be chosen
4501 # first if we set CC to just the basename; use the full file name.
4502 shift
4503 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4508 CC=$ac_cv_prog_CC
4509 if test -n "$CC"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511 $as_echo "$CC" >&6; }
4512 else
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4519 if test -z "$CC"; then
4520 if test -n "$ac_tool_prefix"; then
4521 for ac_prog in cl.exe
4523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if ${ac_cv_prog_CC+:} false; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 if test -n "$CC"; then
4531 ac_cv_prog_CC="$CC" # Let the user override the test.
4532 else
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 for as_dir in $PATH
4536 IFS=$as_save_IFS
4537 test -z "$as_dir" && as_dir=.
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4540 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 break 2
4544 done
4545 done
4546 IFS=$as_save_IFS
4550 CC=$ac_cv_prog_CC
4551 if test -n "$CC"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4553 $as_echo "$CC" >&6; }
4554 else
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4560 test -n "$CC" && break
4561 done
4563 if test -z "$CC"; then
4564 ac_ct_CC=$CC
4565 for ac_prog in cl.exe
4567 # Extract the first word of "$ac_prog", so it can be a program name with args.
4568 set dummy $ac_prog; ac_word=$2
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 if test -n "$ac_ct_CC"; then
4575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4576 else
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 for as_dir in $PATH
4580 IFS=$as_save_IFS
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4584 ac_cv_prog_ac_ct_CC="$ac_prog"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 break 2
4588 done
4589 done
4590 IFS=$as_save_IFS
4594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4595 if test -n "$ac_ct_CC"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4597 $as_echo "$ac_ct_CC" >&6; }
4598 else
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4604 test -n "$ac_ct_CC" && break
4605 done
4607 if test "x$ac_ct_CC" = x; then
4608 CC=""
4609 else
4610 case $cross_compiling:$ac_tool_warned in
4611 yes:)
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4614 ac_tool_warned=yes ;;
4615 esac
4616 CC=$ac_ct_CC
4623 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4625 as_fn_error $? "no acceptable C compiler found in \$PATH
4626 See \`config.log' for more details" "$LINENO" 5; }
4628 # Provide some information about the compiler.
4629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4630 set X $ac_compile
4631 ac_compiler=$2
4632 for ac_option in --version -v -V -qversion; do
4633 { { ac_try="$ac_compiler $ac_option >&5"
4634 case "(($ac_try" in
4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4637 esac
4638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4639 $as_echo "$ac_try_echo"; } >&5
4640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4641 ac_status=$?
4642 if test -s conftest.err; then
4643 sed '10a\
4644 ... rest of stderr output deleted ...
4645 10q' conftest.err >conftest.er1
4646 cat conftest.er1 >&5
4648 rm -f conftest.er1 conftest.err
4649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4650 test $ac_status = 0; }
4651 done
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4657 main ()
4661 return 0;
4663 _ACEOF
4664 ac_clean_files_save=$ac_clean_files
4665 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4666 # Try to create an executable without -o first, disregard a.out.
4667 # It will help us diagnose broken compilers, and finding out an intuition
4668 # of exeext.
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4670 $as_echo_n "checking whether the C compiler works... " >&6; }
4671 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4673 # The possible output files:
4674 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4676 ac_rmfiles=
4677 for ac_file in $ac_files
4679 case $ac_file in
4680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4681 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4682 esac
4683 done
4684 rm -f $ac_rmfiles
4686 if { { ac_try="$ac_link_default"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4692 $as_echo "$ac_try_echo"; } >&5
4693 (eval "$ac_link_default") 2>&5
4694 ac_status=$?
4695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4696 test $ac_status = 0; }; then :
4697 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4698 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4699 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4700 # so that the user can short-circuit this test for compilers unknown to
4701 # Autoconf.
4702 for ac_file in $ac_files ''
4704 test -f "$ac_file" || continue
4705 case $ac_file in
4706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4708 [ab].out )
4709 # We found the default executable, but exeext='' is most
4710 # certainly right.
4711 break;;
4712 *.* )
4713 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4714 then :; else
4715 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4717 # We set ac_cv_exeext here because the later test for it is not
4718 # safe: cross compilers may not add the suffix if given an `-o'
4719 # argument, so we may need to know it at that point already.
4720 # Even if this section looks crufty: it has the advantage of
4721 # actually working.
4722 break;;
4724 break;;
4725 esac
4726 done
4727 test "$ac_cv_exeext" = no && ac_cv_exeext=
4729 else
4730 ac_file=''
4732 if test -z "$ac_file"; then :
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4735 $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4740 as_fn_error 77 "C compiler cannot create executables
4741 See \`config.log' for more details" "$LINENO" 5; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4744 $as_echo "yes" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4747 $as_echo_n "checking for C compiler default output file name... " >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4749 $as_echo "$ac_file" >&6; }
4750 ac_exeext=$ac_cv_exeext
4752 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4753 ac_clean_files=$ac_clean_files_save
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4755 $as_echo_n "checking for suffix of executables... " >&6; }
4756 if { { ac_try="$ac_link"
4757 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4760 esac
4761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762 $as_echo "$ac_try_echo"; } >&5
4763 (eval "$ac_link") 2>&5
4764 ac_status=$?
4765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4766 test $ac_status = 0; }; then :
4767 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4768 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4769 # work properly (i.e., refer to `conftest.exe'), while it won't with
4770 # `rm'.
4771 for ac_file in conftest.exe conftest conftest.*; do
4772 test -f "$ac_file" || continue
4773 case $ac_file in
4774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4775 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4776 break;;
4777 * ) break;;
4778 esac
4779 done
4780 else
4781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4783 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4784 See \`config.log' for more details" "$LINENO" 5; }
4786 rm -f conftest conftest$ac_cv_exeext
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4788 $as_echo "$ac_cv_exeext" >&6; }
4790 rm -f conftest.$ac_ext
4791 EXEEXT=$ac_cv_exeext
4792 ac_exeext=$EXEEXT
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4795 #include <stdio.h>
4797 main ()
4799 FILE *f = fopen ("conftest.out", "w");
4800 return ferror (f) || fclose (f) != 0;
4803 return 0;
4805 _ACEOF
4806 ac_clean_files="$ac_clean_files conftest.out"
4807 # Check that the compiler produces executables we can run. If not, either
4808 # the compiler is broken, or we cross compile.
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4810 $as_echo_n "checking whether we are cross compiling... " >&6; }
4811 if test "$cross_compiling" != yes; then
4812 { { ac_try="$ac_link"
4813 case "(($ac_try" in
4814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4815 *) ac_try_echo=$ac_try;;
4816 esac
4817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4818 $as_echo "$ac_try_echo"; } >&5
4819 (eval "$ac_link") 2>&5
4820 ac_status=$?
4821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4822 test $ac_status = 0; }
4823 if { ac_try='./conftest$ac_cv_exeext'
4824 { { case "(($ac_try" in
4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4827 esac
4828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4829 $as_echo "$ac_try_echo"; } >&5
4830 (eval "$ac_try") 2>&5
4831 ac_status=$?
4832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4833 test $ac_status = 0; }; }; then
4834 cross_compiling=no
4835 else
4836 if test "$cross_compiling" = maybe; then
4837 cross_compiling=yes
4838 else
4839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error $? "cannot run C compiled programs.
4842 If you meant to cross compile, use \`--host'.
4843 See \`config.log' for more details" "$LINENO" 5; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4848 $as_echo "$cross_compiling" >&6; }
4850 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4851 ac_clean_files=$ac_clean_files_save
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4853 $as_echo_n "checking for suffix of object files... " >&6; }
4854 if ${ac_cv_objext+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 rm -f conftest.o conftest.obj
4869 if { { ac_try="$ac_compile"
4870 case "(($ac_try" in
4871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4872 *) ac_try_echo=$ac_try;;
4873 esac
4874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4875 $as_echo "$ac_try_echo"; } >&5
4876 (eval "$ac_compile") 2>&5
4877 ac_status=$?
4878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4879 test $ac_status = 0; }; then :
4880 for ac_file in conftest.o conftest.obj conftest.*; do
4881 test -f "$ac_file" || continue;
4882 case $ac_file in
4883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4885 break;;
4886 esac
4887 done
4888 else
4889 $as_echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4894 as_fn_error $? "cannot compute suffix of object files: cannot compile
4895 See \`config.log' for more details" "$LINENO" 5; }
4897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4900 $as_echo "$ac_cv_objext" >&6; }
4901 OBJEXT=$ac_cv_objext
4902 ac_objext=$OBJEXT
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4904 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4905 if ${ac_cv_c_compiler_gnu+:} false; then :
4906 $as_echo_n "(cached) " >&6
4907 else
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4912 main ()
4914 #ifndef __GNUC__
4915 choke me
4916 #endif
4919 return 0;
4921 _ACEOF
4922 if ac_fn_c_try_compile "$LINENO"; then :
4923 ac_compiler_gnu=yes
4924 else
4925 ac_compiler_gnu=no
4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4932 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4933 if test $ac_compiler_gnu = yes; then
4934 GCC=yes
4935 else
4936 GCC=
4938 ac_test_CFLAGS=${CFLAGS+set}
4939 ac_save_CFLAGS=$CFLAGS
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4941 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4942 if ${ac_cv_prog_cc_g+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 ac_save_c_werror_flag=$ac_c_werror_flag
4946 ac_c_werror_flag=yes
4947 ac_cv_prog_cc_g=no
4948 CFLAGS="-g"
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4953 main ()
4957 return 0;
4959 _ACEOF
4960 if ac_fn_c_try_compile "$LINENO"; then :
4961 ac_cv_prog_cc_g=yes
4962 else
4963 CFLAGS=""
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4968 main ()
4972 return 0;
4974 _ACEOF
4975 if ac_fn_c_try_compile "$LINENO"; then :
4977 else
4978 ac_c_werror_flag=$ac_save_c_werror_flag
4979 CFLAGS="-g"
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4984 main ()
4988 return 0;
4990 _ACEOF
4991 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_cv_prog_cc_g=yes
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 ac_c_werror_flag=$ac_save_c_werror_flag
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5002 $as_echo "$ac_cv_prog_cc_g" >&6; }
5003 if test "$ac_test_CFLAGS" = set; then
5004 CFLAGS=$ac_save_CFLAGS
5005 elif test $ac_cv_prog_cc_g = yes; then
5006 if test "$GCC" = yes; then
5007 CFLAGS="-g -O2"
5008 else
5009 CFLAGS="-g"
5011 else
5012 if test "$GCC" = yes; then
5013 CFLAGS="-O2"
5014 else
5015 CFLAGS=
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5019 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5020 if ${ac_cv_prog_cc_c89+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 ac_cv_prog_cc_c89=no
5024 ac_save_CC=$CC
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <stdarg.h>
5028 #include <stdio.h>
5029 struct stat;
5030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5031 struct buf { int x; };
5032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5033 static char *e (p, i)
5034 char **p;
5035 int i;
5037 return p[i];
5039 static char *f (char * (*g) (char **, int), char **p, ...)
5041 char *s;
5042 va_list v;
5043 va_start (v,p);
5044 s = g (p, va_arg (v,int));
5045 va_end (v);
5046 return s;
5049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5050 function prototypes and stuff, but not '\xHH' hex character constants.
5051 These don't provoke an error unfortunately, instead are silently treated
5052 as 'x'. The following induces an error, until -std is added to get
5053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5054 array size at least. It's necessary to write '\x00'==0 to get something
5055 that's true only with -std. */
5056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5059 inside strings and character constants. */
5060 #define FOO(x) 'x'
5061 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5063 int test (int i, double x);
5064 struct s1 {int (*f) (int a);};
5065 struct s2 {int (*f) (double a);};
5066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5067 int argc;
5068 char **argv;
5070 main ()
5072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5074 return 0;
5076 _ACEOF
5077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5078 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5080 CC="$ac_save_CC $ac_arg"
5081 if ac_fn_c_try_compile "$LINENO"; then :
5082 ac_cv_prog_cc_c89=$ac_arg
5084 rm -f core conftest.err conftest.$ac_objext
5085 test "x$ac_cv_prog_cc_c89" != "xno" && break
5086 done
5087 rm -f conftest.$ac_ext
5088 CC=$ac_save_CC
5091 # AC_CACHE_VAL
5092 case "x$ac_cv_prog_cc_c89" in
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5095 $as_echo "none needed" >&6; } ;;
5096 xno)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5098 $as_echo "unsupported" >&6; } ;;
5100 CC="$CC $ac_cv_prog_cc_c89"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5102 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5103 esac
5104 if test "x$ac_cv_prog_cc_c89" != xno; then :
5108 ac_ext=c
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5114 ac_ext=cpp
5115 ac_cpp='$CXXCPP $CPPFLAGS'
5116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5119 if test -z "$CXX"; then
5120 if test -n "$CCC"; then
5121 CXX=$CCC
5122 else
5123 if test -n "$ac_tool_prefix"; then
5124 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_CXX+:} false; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5133 if test -n "$CXX"; then
5134 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5139 IFS=$as_save_IFS
5140 test -z "$as_dir" && as_dir=.
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 break 2
5147 done
5148 done
5149 IFS=$as_save_IFS
5153 CXX=$ac_cv_prog_CXX
5154 if test -n "$CXX"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5156 $as_echo "$CXX" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 test -n "$CXX" && break
5164 done
5166 if test -z "$CXX"; then
5167 ac_ct_CXX=$CXX
5168 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5170 # Extract the first word of "$ac_prog", so it can be a program name with args.
5171 set dummy $ac_prog; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$ac_ct_CXX"; then
5178 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_CXX="$ac_prog"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5198 if test -n "$ac_ct_CXX"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5200 $as_echo "$ac_ct_CXX" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5207 test -n "$ac_ct_CXX" && break
5208 done
5210 if test "x$ac_ct_CXX" = x; then
5211 CXX="g++"
5212 else
5213 case $cross_compiling:$ac_tool_warned in
5214 yes:)
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217 ac_tool_warned=yes ;;
5218 esac
5219 CXX=$ac_ct_CXX
5225 # Provide some information about the compiler.
5226 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5227 set X $ac_compile
5228 ac_compiler=$2
5229 for ac_option in --version -v -V -qversion; do
5230 { { ac_try="$ac_compiler $ac_option >&5"
5231 case "(($ac_try" in
5232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5233 *) ac_try_echo=$ac_try;;
5234 esac
5235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5236 $as_echo "$ac_try_echo"; } >&5
5237 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5238 ac_status=$?
5239 if test -s conftest.err; then
5240 sed '10a\
5241 ... rest of stderr output deleted ...
5242 10q' conftest.err >conftest.er1
5243 cat conftest.er1 >&5
5245 rm -f conftest.er1 conftest.err
5246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5247 test $ac_status = 0; }
5248 done
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5251 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5252 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5259 main ()
5261 #ifndef __GNUC__
5262 choke me
5263 #endif
5266 return 0;
5268 _ACEOF
5269 if ac_fn_cxx_try_compile "$LINENO"; then :
5270 ac_compiler_gnu=yes
5271 else
5272 ac_compiler_gnu=no
5274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5275 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5279 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5280 if test $ac_compiler_gnu = yes; then
5281 GXX=yes
5282 else
5283 GXX=
5285 ac_test_CXXFLAGS=${CXXFLAGS+set}
5286 ac_save_CXXFLAGS=$CXXFLAGS
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5288 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5289 if ${ac_cv_prog_cxx_g+:} false; then :
5290 $as_echo_n "(cached) " >&6
5291 else
5292 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5293 ac_cxx_werror_flag=yes
5294 ac_cv_prog_cxx_g=no
5295 CXXFLAGS="-g"
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5300 main ()
5304 return 0;
5306 _ACEOF
5307 if ac_fn_cxx_try_compile "$LINENO"; then :
5308 ac_cv_prog_cxx_g=yes
5309 else
5310 CXXFLAGS=""
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5315 main ()
5319 return 0;
5321 _ACEOF
5322 if ac_fn_cxx_try_compile "$LINENO"; then :
5324 else
5325 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5326 CXXFLAGS="-g"
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5331 main ()
5335 return 0;
5337 _ACEOF
5338 if ac_fn_cxx_try_compile "$LINENO"; then :
5339 ac_cv_prog_cxx_g=yes
5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5349 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5350 if test "$ac_test_CXXFLAGS" = set; then
5351 CXXFLAGS=$ac_save_CXXFLAGS
5352 elif test $ac_cv_prog_cxx_g = yes; then
5353 if test "$GXX" = yes; then
5354 CXXFLAGS="-g -O2"
5355 else
5356 CXXFLAGS="-g"
5358 else
5359 if test "$GXX" = yes; then
5360 CXXFLAGS="-O2"
5361 else
5362 CXXFLAGS=
5365 ac_ext=c
5366 ac_cpp='$CPP $CPPFLAGS'
5367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5371 if test -n "$ac_tool_prefix"; then
5372 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5373 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_CPPBIN+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$CPPBIN"; then
5380 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 CPPBIN=$ac_cv_prog_CPPBIN
5400 if test -n "$CPPBIN"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5402 $as_echo "$CPPBIN" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5410 if test -z "$ac_cv_prog_CPPBIN"; then
5411 ac_ct_CPPBIN=$CPPBIN
5412 # Extract the first word of "cpp", so it can be a program name with args.
5413 set dummy cpp; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if test -n "$ac_ct_CPPBIN"; then
5420 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_CPPBIN="cpp"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5440 if test -n "$ac_ct_CPPBIN"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5442 $as_echo "$ac_ct_CPPBIN" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5448 if test "x$ac_ct_CPPBIN" = x; then
5449 CPPBIN="cpp"
5450 else
5451 case $cross_compiling:$ac_tool_warned in
5452 yes:)
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned=yes ;;
5456 esac
5457 CPPBIN=$ac_ct_CPPBIN
5459 else
5460 CPPBIN="$ac_cv_prog_CPPBIN"
5464 cat >>confdefs.h <<_ACEOF
5465 #define EXEEXT "$ac_exeext"
5466 _ACEOF
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}ld; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_LD+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$LD"; then
5477 ac_cv_prog_LD="$LD" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_LD="${ac_tool_prefix}ld"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 LD=$ac_cv_prog_LD
5497 if test -n "$LD"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5499 $as_echo "$LD" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_LD"; then
5508 ac_ct_LD=$LD
5509 # Extract the first word of "ld", so it can be a program name with args.
5510 set dummy ld; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_LD"; then
5517 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_LD="ld"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5537 if test -n "$ac_ct_LD"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5539 $as_echo "$ac_ct_LD" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_LD" = x; then
5546 LD=""
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 LD=$ac_ct_LD
5556 else
5557 LD="$ac_cv_prog_LD"
5561 case $host in
5562 *-darwin*)
5563 with_fontconfig=${with_fontconfig:-no}
5565 *-mingw32*|*-cygwin*)
5566 enable_win16=${enable_win16:-no}
5567 with_mingw=${with_mingw:-no}
5568 CFLAGS="$CFLAGS -D_WIN32"
5570 esac
5572 case $host in
5573 x86_64*|amd64*)
5574 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5575 then
5576 CC="$CC -m32"
5577 CXX="$CXX -m32"
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5580 $as_echo_n "checking whether $CC works... " >&6; }
5581 if ${wine_cv_cc_m32+:} false; then :
5582 $as_echo_n "(cached) " >&6
5583 else
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5588 main ()
5592 return 0;
5594 _ACEOF
5595 if ac_fn_c_try_link "$LINENO"; then :
5596 wine_cv_cc_m32=yes
5597 else
5598 wine_cv_cc_m32=no
5600 rm -f core conftest.err conftest.$ac_objext \
5601 conftest$ac_exeext conftest.$ac_ext
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5604 $as_echo "$wine_cv_cc_m32" >&6; }
5605 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
5606 host_cpu="i386"
5607 notice_platform="32-bit "
5608 TARGETFLAGS="-m32"
5610 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5611 export PKG_CONFIG_PATH
5612 enable_win16=${enable_win16:-yes}
5613 with_unwind=${with_unwind:-no}
5614 else
5615 if test "x${GCC}" = "xyes"
5616 then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5618 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5619 if ${wine_cv_builtin_ms_va_list+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 #include <stdarg.h>
5626 main ()
5628 void func(__builtin_ms_va_list *args);
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634 wine_cv_builtin_ms_va_list=yes
5635 else
5636 wine_cv_builtin_ms_va_list=no
5638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5641 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5642 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
5644 CC="$CC -m64"
5645 CXX="$CXX -m64"
5646 host_cpu="x86_64"
5647 notice_platform="64-bit "
5648 TARGETFLAGS="-m64"
5652 arm*)
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5654 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5655 if ${wine_cv_thumb+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5660 int ac_test(int i) { return i; }
5662 main ()
5664 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5666 return 0;
5668 _ACEOF
5669 if ac_fn_c_try_link "$LINENO"; then :
5670 wine_cv_thumb=yes
5671 else
5672 wine_cv_thumb=no
5674 rm -f core conftest.err conftest.$ac_objext \
5675 conftest$ac_exeext conftest.$ac_ext
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5678 $as_echo "$wine_cv_thumb" >&6; }
5679 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5680 case $with_float_abi in
5681 soft|softfp|hard)
5682 float_abi=$with_float_abi ;;
5684 case $host_os in
5685 *eabihf)
5686 float_abi=hard ;;
5688 float_abi=softfp
5689 saved_CFLAGS=$CFLAGS
5690 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5692 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5693 if ${wine_cv_float_abi+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 main ()
5702 asm("vmrs r2,fpscr");
5704 return 0;
5706 _ACEOF
5707 if ac_fn_c_try_link "$LINENO"; then :
5708 wine_cv_float_abi=yes
5709 else
5710 wine_cv_float_abi=no
5712 rm -f core conftest.err conftest.$ac_objext \
5713 conftest$ac_exeext conftest.$ac_ext
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5716 $as_echo "$wine_cv_float_abi" >&6; }
5717 if test $wine_cv_float_abi = no
5718 then
5719 float_abi=soft
5720 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5722 CFLAGS=$saved_CFLAGS
5723 esac
5725 esac
5726 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5727 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5730 aarch64*)
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5732 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5733 if ${wine_cv_builtin_ms_va_list+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5738 #include <stdarg.h>
5740 main ()
5742 void func(__builtin_ms_va_list *args);
5744 return 0;
5746 _ACEOF
5747 if ac_fn_c_try_compile "$LINENO"; then :
5748 wine_cv_builtin_ms_va_list=yes
5749 else
5750 wine_cv_builtin_ms_va_list=no
5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5755 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5756 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5758 i[3456789]86*)
5759 enable_win16=${enable_win16:-yes}
5760 with_unwind=${with_unwind:-no}
5762 esac
5764 enable_win16=${enable_win16:-no}
5765 enable_win64=${enable_win64:-no}
5767 enable_winetest=${enable_winetest:-$enable_tests}
5769 if test "x$enable_win64" = "xyes"
5770 then
5771 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5772 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5773 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5777 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5778 if ${wine_cv_toolsdir+:} false; then :
5779 $as_echo_n "(cached) " >&6
5780 else
5781 wine_cv_toolsdir="$with_wine_tools"
5782 if test -z "$with_wine_tools"; then
5783 if test "$cross_compiling" = "yes"; then
5784 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5785 elif test -n "$with_wine64"; then
5786 wine_cv_toolsdir="$with_wine64"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5791 $as_echo "$wine_cv_toolsdir" >&6; }
5792 if test -z "$wine_cv_toolsdir"; then
5793 wine_makedep=tools/makedep
5794 TOOLSDIR="\$(top_builddir)"
5796 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5797 wine_makedep=$wine_cv_toolsdir/tools/makedep
5798 case "$wine_cv_toolsdir" in
5799 /*) TOOLSDIR=$wine_cv_toolsdir
5801 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5803 esac
5804 enable_tools=${enable_tools:-no}
5805 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5806 else
5807 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5809 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5810 then
5811 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5815 for ac_prog in flex
5817 # Extract the first word of "$ac_prog", so it can be a program name with args.
5818 set dummy $ac_prog; ac_word=$2
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820 $as_echo_n "checking for $ac_word... " >&6; }
5821 if ${ac_cv_prog_FLEX+:} false; then :
5822 $as_echo_n "(cached) " >&6
5823 else
5824 if test -n "$FLEX"; then
5825 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5826 else
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in $PATH
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_FLEX="$ac_prog"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5838 done
5839 done
5840 IFS=$as_save_IFS
5844 FLEX=$ac_cv_prog_FLEX
5845 if test -n "$FLEX"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5847 $as_echo "$FLEX" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5854 test -n "$FLEX" && break
5855 done
5856 test -n "$FLEX" || FLEX="none"
5858 if test "$FLEX" = "none"
5859 then
5860 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5863 $as_echo_n "checking whether flex is recent enough... " >&6; }
5864 if ${wine_cv_recent_flex+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 cat >conftest.l <<EOF
5868 %top{
5869 #include "prediluvian.h"
5873 if $FLEX -t conftest.l >/dev/null 2>&5
5874 then
5875 wine_cv_recent_flex=yes
5876 else
5877 wine_cv_recent_flex=no
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5881 $as_echo "$wine_cv_recent_flex" >&6; }
5882 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
5884 for ac_prog in bison
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy $ac_prog; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_BISON+:} false; then :
5891 $as_echo_n "(cached) " >&6
5892 else
5893 if test -n "$BISON"; then
5894 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5899 IFS=$as_save_IFS
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5903 ac_cv_prog_BISON="$ac_prog"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 break 2
5907 done
5908 done
5909 IFS=$as_save_IFS
5913 BISON=$ac_cv_prog_BISON
5914 if test -n "$BISON"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5916 $as_echo "$BISON" >&6; }
5917 else
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5923 test -n "$BISON" && break
5924 done
5925 test -n "$BISON" || BISON="none"
5927 if test "$BISON" = "none"
5928 then
5929 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5932 $as_echo_n "checking whether bison is recent enough... " >&6; }
5933 if ${wine_cv_recent_bison+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 cat >conftest.y <<EOF
5937 %define parse.error verbose
5939 empty: ;
5941 if $BISON conftest.y >/dev/null 2>&5
5942 then
5943 wine_cv_recent_bison=yes
5944 else
5945 wine_cv_recent_bison=no
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5949 $as_echo "$wine_cv_recent_bison" >&6; }
5950 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
5952 if test -n "$ac_tool_prefix"; then
5953 for ac_prog in ar gar
5955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_AR+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 if test -n "$AR"; then
5963 ac_cv_prog_AR="$AR" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5978 IFS=$as_save_IFS
5982 AR=$ac_cv_prog_AR
5983 if test -n "$AR"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5985 $as_echo "$AR" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 test -n "$AR" && break
5993 done
5995 if test -z "$AR"; then
5996 ac_ct_AR=$AR
5997 for ac_prog in ar gar
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 if test -n "$ac_ct_AR"; then
6007 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_ac_ct_AR="$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6027 if test -n "$ac_ct_AR"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6029 $as_echo "$ac_ct_AR" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$ac_ct_AR" && break
6037 done
6039 if test "x$ac_ct_AR" = x; then
6040 AR="ar"
6041 else
6042 case $cross_compiling:$ac_tool_warned in
6043 yes:)
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046 ac_tool_warned=yes ;;
6047 esac
6048 AR=$ac_ct_AR
6052 if test -n "$ac_tool_prefix"; then
6053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}strip; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_STRIP+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$STRIP"; then
6061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6074 done
6075 done
6076 IFS=$as_save_IFS
6080 STRIP=$ac_cv_prog_STRIP
6081 if test -n "$STRIP"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6083 $as_echo "$STRIP" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6091 if test -z "$ac_cv_prog_STRIP"; then
6092 ac_ct_STRIP=$STRIP
6093 # Extract the first word of "strip", so it can be a program name with args.
6094 set dummy strip; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6098 $as_echo_n "(cached) " >&6
6099 else
6100 if test -n "$ac_ct_STRIP"; then
6101 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ac_ct_STRIP="strip"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6116 IFS=$as_save_IFS
6120 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6121 if test -n "$ac_ct_STRIP"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6123 $as_echo "$ac_ct_STRIP" >&6; }
6124 else
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6129 if test "x$ac_ct_STRIP" = x; then
6130 STRIP="strip"
6131 else
6132 case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138 STRIP=$ac_ct_STRIP
6140 else
6141 STRIP="$ac_cv_prog_STRIP"
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_RANLIB+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$RANLIB"; then
6153 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 RANLIB=$ac_cv_prog_RANLIB
6173 if test -n "$RANLIB"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6175 $as_echo "$RANLIB" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6183 if test -z "$ac_cv_prog_RANLIB"; then
6184 ac_ct_RANLIB=$RANLIB
6185 # Extract the first word of "ranlib", so it can be a program name with args.
6186 set dummy ranlib; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 if test -n "$ac_ct_RANLIB"; then
6193 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6198 IFS=$as_save_IFS
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202 ac_cv_prog_ac_ct_RANLIB="ranlib"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 break 2
6206 done
6207 done
6208 IFS=$as_save_IFS
6212 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6213 if test -n "$ac_ct_RANLIB"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6215 $as_echo "$ac_ct_RANLIB" >&6; }
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6221 if test "x$ac_ct_RANLIB" = x; then
6222 RANLIB=":"
6223 else
6224 case $cross_compiling:$ac_tool_warned in
6225 yes:)
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230 RANLIB=$ac_ct_RANLIB
6232 else
6233 RANLIB="$ac_cv_prog_RANLIB"
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6237 $as_echo_n "checking whether ln -s works... " >&6; }
6238 LN_S=$as_ln_s
6239 if test "$LN_S" = "ln -s"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6241 $as_echo "yes" >&6; }
6242 else
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6244 $as_echo "no, using $LN_S" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6248 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6249 if ${ac_cv_path_GREP+:} false; then :
6250 $as_echo_n "(cached) " >&6
6251 else
6252 if test -z "$GREP"; then
6253 ac_path_GREP_found=false
6254 # Loop through the user's path and test for each of PROGNAME-LIST
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6258 IFS=$as_save_IFS
6259 test -z "$as_dir" && as_dir=.
6260 for ac_prog in grep ggrep; do
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6263 as_fn_executable_p "$ac_path_GREP" || continue
6264 # Check for GNU ac_path_GREP and select it if it is found.
6265 # Check for GNU $ac_path_GREP
6266 case `"$ac_path_GREP" --version 2>&1` in
6267 *GNU*)
6268 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6270 ac_count=0
6271 $as_echo_n 0123456789 >"conftest.in"
6272 while :
6274 cat "conftest.in" "conftest.in" >"conftest.tmp"
6275 mv "conftest.tmp" "conftest.in"
6276 cp "conftest.in" "conftest.nl"
6277 $as_echo 'GREP' >> "conftest.nl"
6278 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6279 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6280 as_fn_arith $ac_count + 1 && ac_count=$as_val
6281 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6282 # Best one so far, save it but keep looking for a better one
6283 ac_cv_path_GREP="$ac_path_GREP"
6284 ac_path_GREP_max=$ac_count
6286 # 10*(2^10) chars as input seems more than enough
6287 test $ac_count -gt 10 && break
6288 done
6289 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6290 esac
6292 $ac_path_GREP_found && break 3
6293 done
6294 done
6295 done
6296 IFS=$as_save_IFS
6297 if test -z "$ac_cv_path_GREP"; then
6298 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6300 else
6301 ac_cv_path_GREP=$GREP
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6306 $as_echo "$ac_cv_path_GREP" >&6; }
6307 GREP="$ac_cv_path_GREP"
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6311 $as_echo_n "checking for egrep... " >&6; }
6312 if ${ac_cv_path_EGREP+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6316 then ac_cv_path_EGREP="$GREP -E"
6317 else
6318 if test -z "$EGREP"; then
6319 ac_path_EGREP_found=false
6320 # Loop through the user's path and test for each of PROGNAME-LIST
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6324 IFS=$as_save_IFS
6325 test -z "$as_dir" && as_dir=.
6326 for ac_prog in egrep; do
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6329 as_fn_executable_p "$ac_path_EGREP" || continue
6330 # Check for GNU ac_path_EGREP and select it if it is found.
6331 # Check for GNU $ac_path_EGREP
6332 case `"$ac_path_EGREP" --version 2>&1` in
6333 *GNU*)
6334 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6336 ac_count=0
6337 $as_echo_n 0123456789 >"conftest.in"
6338 while :
6340 cat "conftest.in" "conftest.in" >"conftest.tmp"
6341 mv "conftest.tmp" "conftest.in"
6342 cp "conftest.in" "conftest.nl"
6343 $as_echo 'EGREP' >> "conftest.nl"
6344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6346 as_fn_arith $ac_count + 1 && ac_count=$as_val
6347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6348 # Best one so far, save it but keep looking for a better one
6349 ac_cv_path_EGREP="$ac_path_EGREP"
6350 ac_path_EGREP_max=$ac_count
6352 # 10*(2^10) chars as input seems more than enough
6353 test $ac_count -gt 10 && break
6354 done
6355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6356 esac
6358 $ac_path_EGREP_found && break 3
6359 done
6360 done
6361 done
6362 IFS=$as_save_IFS
6363 if test -z "$ac_cv_path_EGREP"; then
6364 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6366 else
6367 ac_cv_path_EGREP=$EGREP
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6373 $as_echo "$ac_cv_path_EGREP" >&6; }
6374 EGREP="$ac_cv_path_EGREP"
6377 # Extract the first word of "ldconfig", so it can be a program name with args.
6378 set dummy ldconfig; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if ${ac_cv_path_LDCONFIG+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 case $LDCONFIG in
6385 [\\/]* | ?:[\\/]*)
6386 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 for as_dir in /sbin /usr/sbin $PATH
6392 IFS=$as_save_IFS
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398 break 2
6400 done
6401 done
6402 IFS=$as_save_IFS
6404 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6406 esac
6408 LDCONFIG=$ac_cv_path_LDCONFIG
6409 if test -n "$LDCONFIG"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6411 $as_echo "$LDCONFIG" >&6; }
6412 else
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6418 for ac_prog in msgfmt
6420 # Extract the first word of "$ac_prog", so it can be a program name with args.
6421 set dummy $ac_prog; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_prog_MSGFMT+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if test -n "$MSGFMT"; then
6428 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437 ac_cv_prog_MSGFMT="$ac_prog"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 break 2
6441 done
6442 done
6443 IFS=$as_save_IFS
6447 MSGFMT=$ac_cv_prog_MSGFMT
6448 if test -n "$MSGFMT"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6450 $as_echo "$MSGFMT" >&6; }
6451 else
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6457 test -n "$MSGFMT" && break
6458 done
6459 test -n "$MSGFMT" || MSGFMT="false"
6461 if ${ac_tool_prefix+:} false; then :
6462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6463 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 $as_echo_n "checking for $ac_word... " >&6; }
6466 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 if test -n "$PKG_CONFIG"; then
6470 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6471 else
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in $PATH
6475 IFS=$as_save_IFS
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6489 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6490 if test -n "$PKG_CONFIG"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6492 $as_echo "$PKG_CONFIG" >&6; }
6493 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6500 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6501 if test "x$cross_compiling" = xyes; then :
6503 else
6504 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6505 # Extract the first word of "pkg-config", so it can be a program name with args.
6506 set dummy pkg-config; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$PKG_CONFIG"; then
6513 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_PKG_CONFIG="pkg-config"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6533 if test -n "$PKG_CONFIG"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6535 $as_echo "$PKG_CONFIG" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6543 else
6544 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6547 if test "x$enable_maintainer_mode" != "xyes"
6548 then
6549 FONTFORGE=""
6550 RSVG=""
6551 CONVERT=""
6552 ICOTOOL=""
6553 else
6554 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6555 for ac_prog in fontforge
6557 # Extract the first word of "$ac_prog", so it can be a program name with args.
6558 set dummy $ac_prog; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if ${ac_cv_prog_FONTFORGE+:} false; then :
6562 $as_echo_n "(cached) " >&6
6563 else
6564 if test -n "$FONTFORGE"; then
6565 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6570 IFS=$as_save_IFS
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_FONTFORGE="$ac_prog"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 break 2
6578 done
6579 done
6580 IFS=$as_save_IFS
6584 FONTFORGE=$ac_cv_prog_FONTFORGE
6585 if test -n "$FONTFORGE"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6587 $as_echo "$FONTFORGE" >&6; }
6588 else
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6594 test -n "$FONTFORGE" && break
6595 done
6596 test -n "$FONTFORGE" || FONTFORGE="false"
6598 for ac_prog in rsvg-convert rsvg
6600 # Extract the first word of "$ac_prog", so it can be a program name with args.
6601 set dummy $ac_prog; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_RSVG+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$RSVG"; then
6608 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_RSVG="$ac_prog"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6621 done
6622 done
6623 IFS=$as_save_IFS
6627 RSVG=$ac_cv_prog_RSVG
6628 if test -n "$RSVG"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6630 $as_echo "$RSVG" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6637 test -n "$RSVG" && break
6638 done
6639 test -n "$RSVG" || RSVG="false"
6641 for ac_prog in convert
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_CONVERT+:} false; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 if test -n "$CONVERT"; then
6651 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_CONVERT="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 break 2
6664 done
6665 done
6666 IFS=$as_save_IFS
6670 CONVERT=$ac_cv_prog_CONVERT
6671 if test -n "$CONVERT"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6673 $as_echo "$CONVERT" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$CONVERT" && break
6681 done
6682 test -n "$CONVERT" || CONVERT="false"
6684 for ac_prog in icotool
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_ICOTOOL+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$ICOTOOL"; then
6694 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_ICOTOOL="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 ICOTOOL=$ac_cv_prog_ICOTOOL
6714 if test -n "$ICOTOOL"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6716 $as_echo "$ICOTOOL" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$ICOTOOL" && break
6724 done
6725 test -n "$ICOTOOL" || ICOTOOL="false"
6727 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6728 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6730 if test "$CONVERT" = false
6731 then
6732 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6735 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6736 convert_version=`convert --version | head -n1`
6737 if test "x$convert_version" != "x"
6738 then
6739 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6740 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6741 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6742 then
6743 CONVERT=false
6746 if test "$CONVERT" = false
6747 then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6749 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6750 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6753 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6757 if test "$ICOTOOL" = false
6758 then
6759 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6762 $as_echo_n "checking for recent enough icotool... " >&6; }
6763 icotool_version=`icotool --version | head -n1`
6764 if test "x$icotool_version" != "x"
6765 then
6766 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6767 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6768 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6769 then
6770 ICOTOOL=false
6771 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6774 if test "$ICOTOOL" = false
6775 then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6777 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6778 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6781 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6785 with_gettext=yes
6786 with_gettextpo=yes
6789 test "x$with_gettext" != xno || MSGFMT=false
6790 if test "$MSGFMT" != "false"
6791 then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6793 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6794 if ${wine_cv_msgfmt_contexts+:} false; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797 cat >conftest.po <<EOF
6798 # comment
6799 msgctxt "ctxt"
6800 msgid "id"
6801 msgstr "str"
6803 if $MSGFMT -o /dev/null conftest.po 2>&5
6804 then
6805 wine_cv_msgfmt_contexts=yes
6806 else
6807 wine_cv_msgfmt_contexts=no
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6811 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6812 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6814 if test "$MSGFMT" = false; then :
6815 case "x$with_gettext" in
6816 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6817 xno) ;;
6818 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6819 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6820 esac
6821 enable_po=${enable_po:-no}
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6826 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6827 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6828 $as_echo_n "(cached) " >&6
6829 else
6830 ac_check_lib_save_LIBS=$LIBS
6831 LIBS="-li386 $LIBS"
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6835 /* Override any GCC internal prototype to avoid an error.
6836 Use char because int might match the return type of a GCC
6837 builtin and then its argument prototype would still apply. */
6838 #ifdef __cplusplus
6839 extern "C"
6840 #endif
6841 char i386_set_ldt ();
6843 main ()
6845 return i386_set_ldt ();
6847 return 0;
6849 _ACEOF
6850 if ac_fn_c_try_link "$LINENO"; then :
6851 ac_cv_lib_i386_i386_set_ldt=yes
6852 else
6853 ac_cv_lib_i386_i386_set_ldt=no
6855 rm -f core conftest.err conftest.$ac_objext \
6856 conftest$ac_exeext conftest.$ac_ext
6857 LIBS=$ac_check_lib_save_LIBS
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6860 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6861 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6862 I386_LIBS="-li386"
6867 OPENGL_LIBS=""
6871 # Check whether --enable-largefile was given.
6872 if test "${enable_largefile+set}" = set; then :
6873 enableval=$enable_largefile;
6876 if test "$enable_largefile" != no; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6879 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6880 if ${ac_cv_sys_largefile_CC+:} false; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6883 ac_cv_sys_largefile_CC=no
6884 if test "$GCC" != yes; then
6885 ac_save_CC=$CC
6886 while :; do
6887 # IRIX 6.2 and later do not support large files by default,
6888 # so use the C compiler's -n32 option if that helps.
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 #include <sys/types.h>
6892 /* Check that off_t can represent 2**63 - 1 correctly.
6893 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6894 since some C++ compilers masquerading as C compilers
6895 incorrectly reject 9223372036854775807. */
6896 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6897 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6898 && LARGE_OFF_T % 2147483647 == 1)
6899 ? 1 : -1];
6901 main ()
6905 return 0;
6907 _ACEOF
6908 if ac_fn_c_try_compile "$LINENO"; then :
6909 break
6911 rm -f core conftest.err conftest.$ac_objext
6912 CC="$CC -n32"
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 ac_cv_sys_largefile_CC=' -n32'; break
6916 rm -f core conftest.err conftest.$ac_objext
6917 break
6918 done
6919 CC=$ac_save_CC
6920 rm -f conftest.$ac_ext
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6924 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6925 if test "$ac_cv_sys_largefile_CC" != no; then
6926 CC=$CC$ac_cv_sys_largefile_CC
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6930 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6931 if ${ac_cv_sys_file_offset_bits+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 while :; do
6935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6936 /* end confdefs.h. */
6937 #include <sys/types.h>
6938 /* Check that off_t can represent 2**63 - 1 correctly.
6939 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6940 since some C++ compilers masquerading as C compilers
6941 incorrectly reject 9223372036854775807. */
6942 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6943 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6944 && LARGE_OFF_T % 2147483647 == 1)
6945 ? 1 : -1];
6947 main ()
6951 return 0;
6953 _ACEOF
6954 if ac_fn_c_try_compile "$LINENO"; then :
6955 ac_cv_sys_file_offset_bits=no; break
6957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959 /* end confdefs.h. */
6960 #define _FILE_OFFSET_BITS 64
6961 #include <sys/types.h>
6962 /* Check that off_t can represent 2**63 - 1 correctly.
6963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6964 since some C++ compilers masquerading as C compilers
6965 incorrectly reject 9223372036854775807. */
6966 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6968 && LARGE_OFF_T % 2147483647 == 1)
6969 ? 1 : -1];
6971 main ()
6975 return 0;
6977 _ACEOF
6978 if ac_fn_c_try_compile "$LINENO"; then :
6979 ac_cv_sys_file_offset_bits=64; break
6981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6982 ac_cv_sys_file_offset_bits=unknown
6983 break
6984 done
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6987 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6988 case $ac_cv_sys_file_offset_bits in #(
6989 no | unknown) ;;
6991 cat >>confdefs.h <<_ACEOF
6992 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6993 _ACEOF
6995 esac
6996 rm -rf conftest*
6997 if test $ac_cv_sys_file_offset_bits = unknown; then
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6999 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7000 if ${ac_cv_sys_large_files+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 while :; do
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #include <sys/types.h>
7007 /* Check that off_t can represent 2**63 - 1 correctly.
7008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7009 since some C++ compilers masquerading as C compilers
7010 incorrectly reject 9223372036854775807. */
7011 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7013 && LARGE_OFF_T % 2147483647 == 1)
7014 ? 1 : -1];
7016 main ()
7020 return 0;
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 ac_cv_sys_large_files=no; break
7026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7029 #define _LARGE_FILES 1
7030 #include <sys/types.h>
7031 /* Check that off_t can represent 2**63 - 1 correctly.
7032 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7033 since some C++ compilers masquerading as C compilers
7034 incorrectly reject 9223372036854775807. */
7035 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7036 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7037 && LARGE_OFF_T % 2147483647 == 1)
7038 ? 1 : -1];
7040 main ()
7044 return 0;
7046 _ACEOF
7047 if ac_fn_c_try_compile "$LINENO"; then :
7048 ac_cv_sys_large_files=1; break
7050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7051 ac_cv_sys_large_files=unknown
7052 break
7053 done
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7056 $as_echo "$ac_cv_sys_large_files" >&6; }
7057 case $ac_cv_sys_large_files in #(
7058 no | unknown) ;;
7060 cat >>confdefs.h <<_ACEOF
7061 #define _LARGE_FILES $ac_cv_sys_large_files
7062 _ACEOF
7064 esac
7065 rm -rf conftest*
7072 ac_ext=c
7073 ac_cpp='$CPP $CPPFLAGS'
7074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7078 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7079 # On Suns, sometimes $CPP names a directory.
7080 if test -n "$CPP" && test -d "$CPP"; then
7081 CPP=
7083 if test -z "$CPP"; then
7084 if ${ac_cv_prog_CPP+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 # Double quotes because CPP needs to be expanded
7088 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7090 ac_preproc_ok=false
7091 for ac_c_preproc_warn_flag in '' yes
7093 # Use a header file that comes with gcc, so configuring glibc
7094 # with a fresh cross-compiler works.
7095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7096 # <limits.h> exists even on freestanding compilers.
7097 # On the NeXT, cc -E runs the code through the compiler's parser,
7098 # not just through cpp. "Syntax error" is here to catch this case.
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7101 #ifdef __STDC__
7102 # include <limits.h>
7103 #else
7104 # include <assert.h>
7105 #endif
7106 Syntax error
7107 _ACEOF
7108 if ac_fn_c_try_cpp "$LINENO"; then :
7110 else
7111 # Broken: fails on valid input.
7112 continue
7114 rm -f conftest.err conftest.i conftest.$ac_ext
7116 # OK, works on sane cases. Now check whether nonexistent headers
7117 # can be detected and how.
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7120 #include <ac_nonexistent.h>
7121 _ACEOF
7122 if ac_fn_c_try_cpp "$LINENO"; then :
7123 # Broken: success on invalid input.
7124 continue
7125 else
7126 # Passes both tests.
7127 ac_preproc_ok=:
7128 break
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7132 done
7133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7134 rm -f conftest.i conftest.err conftest.$ac_ext
7135 if $ac_preproc_ok; then :
7136 break
7139 done
7140 ac_cv_prog_CPP=$CPP
7143 CPP=$ac_cv_prog_CPP
7144 else
7145 ac_cv_prog_CPP=$CPP
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7148 $as_echo "$CPP" >&6; }
7149 ac_preproc_ok=false
7150 for ac_c_preproc_warn_flag in '' yes
7152 # Use a header file that comes with gcc, so configuring glibc
7153 # with a fresh cross-compiler works.
7154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7155 # <limits.h> exists even on freestanding compilers.
7156 # On the NeXT, cc -E runs the code through the compiler's parser,
7157 # not just through cpp. "Syntax error" is here to catch this case.
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7160 #ifdef __STDC__
7161 # include <limits.h>
7162 #else
7163 # include <assert.h>
7164 #endif
7165 Syntax error
7166 _ACEOF
7167 if ac_fn_c_try_cpp "$LINENO"; then :
7169 else
7170 # Broken: fails on valid input.
7171 continue
7173 rm -f conftest.err conftest.i conftest.$ac_ext
7175 # OK, works on sane cases. Now check whether nonexistent headers
7176 # can be detected and how.
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7179 #include <ac_nonexistent.h>
7180 _ACEOF
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7182 # Broken: success on invalid input.
7183 continue
7184 else
7185 # Passes both tests.
7186 ac_preproc_ok=:
7187 break
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7191 done
7192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7193 rm -f conftest.i conftest.err conftest.$ac_ext
7194 if $ac_preproc_ok; then :
7196 else
7197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7199 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7200 See \`config.log' for more details" "$LINENO" 5; }
7203 ac_ext=c
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7211 $as_echo_n "checking for ANSI C header files... " >&6; }
7212 if ${ac_cv_header_stdc+:} false; then :
7213 $as_echo_n "(cached) " >&6
7214 else
7215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7217 #include <stdlib.h>
7218 #include <stdarg.h>
7219 #include <string.h>
7220 #include <float.h>
7223 main ()
7227 return 0;
7229 _ACEOF
7230 if ac_fn_c_try_compile "$LINENO"; then :
7231 ac_cv_header_stdc=yes
7232 else
7233 ac_cv_header_stdc=no
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7237 if test $ac_cv_header_stdc = yes; then
7238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240 /* end confdefs.h. */
7241 #include <string.h>
7243 _ACEOF
7244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7245 $EGREP "memchr" >/dev/null 2>&1; then :
7247 else
7248 ac_cv_header_stdc=no
7250 rm -f conftest*
7254 if test $ac_cv_header_stdc = yes; then
7255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7258 #include <stdlib.h>
7260 _ACEOF
7261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7262 $EGREP "free" >/dev/null 2>&1; then :
7264 else
7265 ac_cv_header_stdc=no
7267 rm -f conftest*
7271 if test $ac_cv_header_stdc = yes; then
7272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7273 if test "$cross_compiling" = yes; then :
7275 else
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #include <ctype.h>
7279 #include <stdlib.h>
7280 #if ((' ' & 0x0FF) == 0x020)
7281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7283 #else
7284 # define ISLOWER(c) \
7285 (('a' <= (c) && (c) <= 'i') \
7286 || ('j' <= (c) && (c) <= 'r') \
7287 || ('s' <= (c) && (c) <= 'z'))
7288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7289 #endif
7291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7293 main ()
7295 int i;
7296 for (i = 0; i < 256; i++)
7297 if (XOR (islower (i), ISLOWER (i))
7298 || toupper (i) != TOUPPER (i))
7299 return 2;
7300 return 0;
7302 _ACEOF
7303 if ac_fn_c_try_run "$LINENO"; then :
7305 else
7306 ac_cv_header_stdc=no
7308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7309 conftest.$ac_objext conftest.beam conftest.$ac_ext
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7315 $as_echo "$ac_cv_header_stdc" >&6; }
7316 if test $ac_cv_header_stdc = yes; then
7318 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7322 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7323 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7324 inttypes.h stdint.h unistd.h
7325 do :
7326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7327 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7329 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7330 cat >>confdefs.h <<_ACEOF
7331 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7332 _ACEOF
7336 done
7339 for ac_header in \
7340 AL/al.h \
7341 ApplicationServices/ApplicationServices.h \
7342 AudioToolbox/AudioConverter.h \
7343 AudioUnit/AudioUnit.h \
7344 AudioUnit/AudioComponent.h \
7345 CL/cl.h \
7346 Carbon/Carbon.h \
7347 CommonCrypto/CommonCryptor.h \
7348 CoreAudio/CoreAudio.h \
7349 CoreServices/CoreServices.h \
7350 DiskArbitration/DiskArbitration.h \
7351 EGL/egl.h \
7352 IOKit/IOKitLib.h \
7353 IOKit/hid/IOHIDLib.h \
7354 OpenAL/al.h \
7355 OpenCL/opencl.h \
7356 QuickTime/ImageCompression.h \
7357 Security/Security.h \
7358 alias.h \
7359 arpa/inet.h \
7360 arpa/nameser.h \
7361 asm/types.h \
7362 asm/user.h \
7363 curses.h \
7364 dirent.h \
7365 dlfcn.h \
7366 elf.h \
7367 float.h \
7368 fnmatch.h \
7369 getopt.h \
7370 gettext-po.h \
7371 grp.h \
7372 gsm.h \
7373 gsm/gsm.h \
7374 ieeefp.h \
7375 inet/mib2.h \
7376 kstat.h \
7377 libproc.h \
7378 link.h \
7379 linux/cdrom.h \
7380 linux/compiler.h \
7381 linux/filter.h \
7382 linux/hdreg.h \
7383 linux/hidraw.h \
7384 linux/input.h \
7385 linux/ioctl.h \
7386 linux/joystick.h \
7387 linux/major.h \
7388 linux/param.h \
7389 linux/serial.h \
7390 linux/types.h \
7391 linux/ucdrom.h \
7392 lwp.h \
7393 mach-o/nlist.h \
7394 mach-o/loader.h \
7395 mach/mach.h \
7396 mach/machine.h \
7397 machine/cpu.h \
7398 machine/limits.h \
7399 machine/sysarch.h \
7400 mntent.h \
7401 ncurses.h \
7402 netdb.h \
7403 netinet/in.h \
7404 netinet/in_systm.h \
7405 netinet/tcp.h \
7406 netinet/tcp_fsm.h \
7407 pcap/pcap.h \
7408 poll.h \
7409 port.h \
7410 pthread.h \
7411 pwd.h \
7412 sched.h \
7413 scsi/scsi.h \
7414 scsi/scsi_ioctl.h \
7415 scsi/sg.h \
7416 stdbool.h \
7417 stdint.h \
7418 stropts.h \
7419 sys/attr.h \
7420 sys/auxv.h \
7421 sys/cdio.h \
7422 sys/elf32.h \
7423 sys/epoll.h \
7424 sys/event.h \
7425 sys/exec_elf.h \
7426 sys/filio.h \
7427 sys/ioctl.h \
7428 sys/ipc.h \
7429 sys/limits.h \
7430 sys/link.h \
7431 sys/mman.h \
7432 sys/modem.h \
7433 sys/msg.h \
7434 sys/mtio.h \
7435 sys/param.h \
7436 sys/poll.h \
7437 sys/prctl.h \
7438 sys/protosw.h \
7439 sys/ptrace.h \
7440 sys/queue.h \
7441 sys/resource.h \
7442 sys/scsiio.h \
7443 sys/shm.h \
7444 sys/signal.h \
7445 sys/socket.h \
7446 sys/socketvar.h \
7447 sys/sockio.h \
7448 sys/statvfs.h \
7449 sys/strtio.h \
7450 sys/syscall.h \
7451 sys/sysinfo.h \
7452 sys/tihdr.h \
7453 sys/time.h \
7454 sys/timeout.h \
7455 sys/times.h \
7456 sys/uio.h \
7457 sys/user.h \
7458 sys/utsname.h \
7459 sys/vnode.h \
7460 sys/wait.h \
7461 syscall.h \
7462 termios.h \
7463 unistd.h \
7464 utime.h \
7465 valgrind/memcheck.h \
7466 valgrind/valgrind.h
7468 do :
7469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7470 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7472 cat >>confdefs.h <<_ACEOF
7473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 _ACEOF
7478 done
7480 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7481 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7483 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7488 if test $ac_cv_header_sys_mkdev_h = no; then
7489 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7490 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7492 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7499 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7500 if ${ac_cv_header_stat_broken+:} false; then :
7501 $as_echo_n "(cached) " >&6
7502 else
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 #include <sys/types.h>
7506 #include <sys/stat.h>
7508 #if defined S_ISBLK && defined S_IFDIR
7509 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7510 #endif
7512 #if defined S_ISBLK && defined S_IFCHR
7513 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7514 #endif
7516 #if defined S_ISLNK && defined S_IFREG
7517 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7518 #endif
7520 #if defined S_ISSOCK && defined S_IFREG
7521 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7522 #endif
7524 _ACEOF
7525 if ac_fn_c_try_compile "$LINENO"; then :
7526 ac_cv_header_stat_broken=no
7527 else
7528 ac_cv_header_stat_broken=yes
7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7533 $as_echo "$ac_cv_header_stat_broken" >&6; }
7534 if test $ac_cv_header_stat_broken = yes; then
7536 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7542 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7543 do :
7544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7546 #ifdef HAVE_SYS_PARAM_H
7547 # include <sys/param.h>
7548 #endif
7550 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7551 cat >>confdefs.h <<_ACEOF
7552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7560 for ac_header in \
7561 netinet/ip.h \
7562 net/if.h \
7563 net/if_arp.h \
7564 net/if_dl.h \
7565 net/if_types.h \
7566 net/route.h \
7567 netinet/if_ether.h \
7568 netinet/if_inarp.h \
7569 netinet/in_pcb.h \
7570 netinet/ip_icmp.h \
7571 netinet/ip_var.h \
7572 netinet/udp.h \
7573 netipx/ipx.h \
7574 sys/un.h \
7576 do :
7577 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7578 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7579 #ifdef HAVE_SYS_SOCKET_H
7580 # include <sys/socket.h>
7581 #endif
7582 #ifdef HAVE_SYS_SOCKETVAR_H
7583 # include <sys/socketvar.h>
7584 #endif
7585 #ifdef HAVE_NET_ROUTE_H
7586 # include <net/route.h>
7587 #endif
7588 #ifdef HAVE_NETINET_IN_H
7589 # include <netinet/in.h>
7590 #endif
7591 #ifdef HAVE_NETINET_IN_SYSTM_H
7592 # include <netinet/in_systm.h>
7593 #endif
7594 #ifdef HAVE_NET_IF_H
7595 # include <net/if.h>
7596 #endif
7597 #ifdef HAVE_NETINET_IP_H
7598 # include <netinet/ip.h>
7599 #endif
7601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7602 cat >>confdefs.h <<_ACEOF
7603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604 _ACEOF
7608 done
7611 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7612 do :
7613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7615 #ifdef HAVE_ALIAS_H
7616 # include <alias.h>
7617 #endif
7618 #ifdef HAVE_SYS_SOCKET_H
7619 # include <sys/socket.h>
7620 #endif
7621 #ifdef HAVE_SYS_SOCKETVAR_H
7622 # include <sys/socketvar.h>
7623 #endif
7624 #ifdef HAVE_SYS_TIMEOUT_H
7625 # include <sys/timeout.h>
7626 #endif
7627 #ifdef HAVE_NETINET_IN_H
7628 # include <netinet/in.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_SYSTM_H
7631 # include <netinet/in_systm.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IP_H
7634 # include <netinet/ip.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IP_VAR_H
7637 # include <netinet/ip_var.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_ICMP_H
7640 # include <netinet/ip_icmp.h>
7641 #endif
7642 #ifdef HAVE_NETINET_UDP_H
7643 # include <netinet/udp.h>
7644 #endif
7645 #ifdef HAVE_NETINET_TCP_H
7646 # include <netinet/tcp.h>
7647 #endif
7648 #ifdef HAVE_NETINET_TCP_TIMER_H
7649 #include <netinet/tcp_timer.h>
7650 #endif
7652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7653 cat >>confdefs.h <<_ACEOF
7654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7655 _ACEOF
7659 done
7662 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7663 do :
7664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7666 #ifdef HAVE_ASM_TYPES_H
7667 # include <asm/types.h>
7668 #endif
7669 #ifdef HAVE_SYS_SOCKET_H
7670 # include <sys/socket.h>
7671 #endif
7672 #ifdef HAVE_LINUX_TYPES_H
7673 # include <linux/types.h>
7674 #endif
7676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7677 cat >>confdefs.h <<_ACEOF
7678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7679 _ACEOF
7683 done
7686 for ac_header in mach-o/dyld_images.h
7687 do :
7688 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7689 # include <stdbool.h>
7690 #endif
7691 #ifdef HAVE_STDINT_H
7692 # include <stdint.h>
7693 #endif
7695 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7696 cat >>confdefs.h <<_ACEOF
7697 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7698 _ACEOF
7702 done
7705 for ac_header in resolv.h
7706 do :
7707 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7708 #ifdef HAVE_SYS_SOCKET_H
7709 # include <sys/socket.h>
7710 #endif
7711 #ifdef HAVE_NETINET_IN_H
7712 # include <netinet/in.h>
7713 #endif
7714 #ifdef HAVE_ARPA_NAMESER_H
7715 # include <arpa/nameser.h>
7716 #endif
7718 if test "x$ac_cv_header_resolv_h" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_RESOLV_H 1
7721 _ACEOF
7725 done
7728 for ac_header in ifaddrs.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7732 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_IFADDRS_H 1
7735 _ACEOF
7739 done
7742 for ac_header in sys/ucontext.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7746 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_SYS_UCONTEXT_H 1
7749 _ACEOF
7753 done
7756 for ac_header in sys/thr.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7759 #ifdef HAVE_SYS_UCONTEXT_H
7760 #include <sys/ucontext.h>
7761 #endif
7763 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_SYS_THR_H 1
7766 _ACEOF
7770 done
7773 for ac_header in pthread_np.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7776 #include <pthread.h>
7777 #endif
7779 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_PTHREAD_NP_H 1
7782 _ACEOF
7786 done
7789 for ac_header in linux/videodev2.h
7790 do :
7791 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7792 #include <sys/time.h>
7793 #endif
7794 #include <sys/types.h>
7795 #ifdef HAVE_ASM_TYPES_H
7796 #include <asm/types.h>
7797 #endif
7799 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_LINUX_VIDEODEV2_H 1
7802 _ACEOF
7806 done
7809 for ac_header in libprocstat.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7812 #include <sys/param.h>
7813 #endif
7814 #ifdef HAVE_SYS_QUEUE_H
7815 #include <sys/queue.h>
7816 #endif
7817 #ifdef HAVE_SYS_SOCKET_H
7818 #include <sys/socket.h>
7819 #endif
7821 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_LIBPROCSTAT_H 1
7824 _ACEOF
7828 done
7832 DLLFLAGS="-D_REENTRANT"
7834 LDRPATH_INSTALL=""
7836 LDRPATH_LOCAL=""
7838 LDDLLFLAGS=""
7840 LDEXECFLAGS=""
7842 TOP_INSTALL_LIB=""
7844 TOP_INSTALL_DEV=""
7846 WINELOADER_LDFLAGS=""
7848 WINEPRELOADER_LDFLAGS=""
7850 LIBEXT="so"
7851 DLLEXT=".so"
7852 # Extract the first word of "ldd", so it can be a program name with args.
7853 set dummy ldd; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_path_LDD+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 case $LDD in
7860 [\\/]* | ?:[\\/]*)
7861 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 as_dummy="/sbin:/usr/sbin:$PATH"
7866 for as_dir in $as_dummy
7868 IFS=$as_save_IFS
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 break 2
7876 done
7877 done
7878 IFS=$as_save_IFS
7880 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7882 esac
7884 LDD=$ac_cv_path_LDD
7885 if test -n "$LDD"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7887 $as_echo "$LDD" >&6; }
7888 else
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 $as_echo "no" >&6; }
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}otool; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_OTOOL+:} false; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 if test -n "$OTOOL"; then
7903 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7904 else
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 for as_dir in $PATH
7908 IFS=$as_save_IFS
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 break 2
7916 done
7917 done
7918 IFS=$as_save_IFS
7922 OTOOL=$ac_cv_prog_OTOOL
7923 if test -n "$OTOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7925 $as_echo "$OTOOL" >&6; }
7926 else
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7933 if test -z "$ac_cv_prog_OTOOL"; then
7934 ac_ct_OTOOL=$OTOOL
7935 # Extract the first word of "otool", so it can be a program name with args.
7936 set dummy otool; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 if test -n "$ac_ct_OTOOL"; then
7943 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_OTOOL="otool"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7962 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7963 if test -n "$ac_ct_OTOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7965 $as_echo "$ac_ct_OTOOL" >&6; }
7966 else
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7971 if test "x$ac_ct_OTOOL" = x; then
7972 OTOOL="otool"
7973 else
7974 case $cross_compiling:$ac_tool_warned in
7975 yes:)
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned=yes ;;
7979 esac
7980 OTOOL=$ac_ct_OTOOL
7982 else
7983 OTOOL="$ac_cv_prog_OTOOL"
7986 if test -n "$ac_tool_prefix"; then
7987 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7988 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_READELF+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 if test -n "$READELF"; then
7995 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7996 else
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 for as_dir in $PATH
8000 IFS=$as_save_IFS
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 break 2
8008 done
8009 done
8010 IFS=$as_save_IFS
8014 READELF=$ac_cv_prog_READELF
8015 if test -n "$READELF"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8017 $as_echo "$READELF" >&6; }
8018 else
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8025 if test -z "$ac_cv_prog_READELF"; then
8026 ac_ct_READELF=$READELF
8027 # Extract the first word of "readelf", so it can be a program name with args.
8028 set dummy readelf; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$ac_ct_READELF"; then
8035 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_ac_ct_READELF="readelf"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8055 if test -n "$ac_ct_READELF"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8057 $as_echo "$ac_ct_READELF" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8063 if test "x$ac_ct_READELF" = x; then
8064 READELF="true"
8065 else
8066 case $cross_compiling:$ac_tool_warned in
8067 yes:)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8070 ac_tool_warned=yes ;;
8071 esac
8072 READELF=$ac_ct_READELF
8074 else
8075 READELF="$ac_cv_prog_READELF"
8078 wine_rules_file=conf$$rules.make
8079 rm -f $wine_rules_file
8080 SUBDIRS=""
8082 DISABLED_SUBDIRS=""
8084 CONFIGURE_TARGETS=""
8087 wine_fn_append_file ()
8089 as_fn_append $1 " \\$as_nl $2"
8092 wine_fn_append_rule ()
8094 $as_echo "$1" >>$wine_rules_file
8097 wine_fn_config_makefile ()
8099 wine_fn_append_file SUBDIRS $1
8100 if eval test \"x\$"$2"\" = x"no"; then :
8101 wine_fn_append_file DISABLED_SUBDIRS $1
8105 wine_fn_config_symlink ()
8107 ac_links=$@
8108 wine_fn_append_rule \
8109 "$ac_links:
8110 @./config.status \$@"
8111 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8114 wine_binary="wine"
8115 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8116 WINELOADER_PROGRAMS="$wine_binary"
8118 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8120 case $host_os in
8121 cygwin*|mingw32*)
8122 if test -n "$ac_tool_prefix"; then
8123 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8124 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_DLLTOOL+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 if test -n "$DLLTOOL"; then
8131 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8136 IFS=$as_save_IFS
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 break 2
8144 done
8145 done
8146 IFS=$as_save_IFS
8150 DLLTOOL=$ac_cv_prog_DLLTOOL
8151 if test -n "$DLLTOOL"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8153 $as_echo "$DLLTOOL" >&6; }
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8161 if test -z "$ac_cv_prog_DLLTOOL"; then
8162 ac_ct_DLLTOOL=$DLLTOOL
8163 # Extract the first word of "dlltool", so it can be a program name with args.
8164 set dummy dlltool; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 if test -n "$ac_ct_DLLTOOL"; then
8171 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8172 else
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 for as_dir in $PATH
8176 IFS=$as_save_IFS
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 break 2
8184 done
8185 done
8186 IFS=$as_save_IFS
8190 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8191 if test -n "$ac_ct_DLLTOOL"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8193 $as_echo "$ac_ct_DLLTOOL" >&6; }
8194 else
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8199 if test "x$ac_ct_DLLTOOL" = x; then
8200 DLLTOOL="false"
8201 else
8202 case $cross_compiling:$ac_tool_warned in
8203 yes:)
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8206 ac_tool_warned=yes ;;
8207 esac
8208 DLLTOOL=$ac_ct_DLLTOOL
8210 else
8211 DLLTOOL="$ac_cv_prog_DLLTOOL"
8214 LIBEXT="dll"
8215 DLLEXT=""
8216 case $host_cpu in
8217 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8218 esac
8219 enable_iphlpapi=${enable_iphlpapi:-no}
8220 enable_kernel32=${enable_kernel32:-no}
8221 enable_ntdll=${enable_ntdll:-no}
8222 enable_ws2_32=${enable_ws2_32:-no}
8223 enable_loader=${enable_loader:-no}
8224 enable_server=${enable_server:-no}
8225 with_x=${with_x:-no}
8226 with_pthread=${with_pthread:-no}
8229 darwin*|macosx*)
8230 ac_ext=m
8231 ac_cpp='$OBJCPP $CPPFLAGS'
8232 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8233 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8234 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8236 ac_ext=m
8237 ac_cpp='$OBJCPP $CPPFLAGS'
8238 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8239 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8240 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8241 if test -n "$ac_tool_prefix"; then
8242 for ac_prog in gcc objcc objc cc CC
8244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_OBJC+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$OBJC"; then
8252 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 OBJC=$ac_cv_prog_OBJC
8272 if test -n "$OBJC"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8274 $as_echo "$OBJC" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8281 test -n "$OBJC" && break
8282 done
8284 if test -z "$OBJC"; then
8285 ac_ct_OBJC=$OBJC
8286 for ac_prog in gcc objcc objc cc CC
8288 # Extract the first word of "$ac_prog", so it can be a program name with args.
8289 set dummy $ac_prog; ac_word=$2
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8291 $as_echo_n "checking for $ac_word... " >&6; }
8292 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 if test -n "$ac_ct_OBJC"; then
8296 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8297 else
8298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8299 for as_dir in $PATH
8301 IFS=$as_save_IFS
8302 test -z "$as_dir" && as_dir=.
8303 for ac_exec_ext in '' $ac_executable_extensions; do
8304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8305 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 break 2
8309 done
8310 done
8311 IFS=$as_save_IFS
8315 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8316 if test -n "$ac_ct_OBJC"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8318 $as_echo "$ac_ct_OBJC" >&6; }
8319 else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8325 test -n "$ac_ct_OBJC" && break
8326 done
8328 if test "x$ac_ct_OBJC" = x; then
8329 OBJC="gcc"
8330 else
8331 case $cross_compiling:$ac_tool_warned in
8332 yes:)
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8335 ac_tool_warned=yes ;;
8336 esac
8337 OBJC=$ac_ct_OBJC
8341 # Provide some information about the compiler.
8342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8343 set X $ac_compile
8344 ac_compiler=$2
8345 for ac_option in --version -v -V -qversion; do
8346 { { ac_try="$ac_compiler $ac_option >&5"
8347 case "(($ac_try" in
8348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8349 *) ac_try_echo=$ac_try;;
8350 esac
8351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8352 $as_echo "$ac_try_echo"; } >&5
8353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8354 ac_status=$?
8355 if test -s conftest.err; then
8356 sed '10a\
8357 ... rest of stderr output deleted ...
8358 10q' conftest.err >conftest.er1
8359 cat conftest.er1 >&5
8361 rm -f conftest.er1 conftest.err
8362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8363 test $ac_status = 0; }
8364 done
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8367 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8368 if ${ac_cv_objc_compiler_gnu+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8375 main ()
8377 #ifndef __GNUC__
8378 choke me
8379 #endif
8382 return 0;
8384 _ACEOF
8385 if ac_fn_objc_try_compile "$LINENO"; then :
8386 ac_compiler_gnu=yes
8387 else
8388 ac_compiler_gnu=no
8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8391 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8395 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8396 if test $ac_compiler_gnu = yes; then
8397 GOBJC=yes
8398 else
8399 GOBJC=
8401 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8402 ac_save_OBJCFLAGS=$OBJCFLAGS
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8404 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8405 if ${ac_cv_prog_objc_g+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_save_objc_werror_flag=$ac_objc_werror_flag
8409 ac_objc_werror_flag=yes
8410 ac_cv_prog_objc_g=no
8411 OBJCFLAGS="-g"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 main ()
8420 return 0;
8422 _ACEOF
8423 if ac_fn_objc_try_compile "$LINENO"; then :
8424 ac_cv_prog_objc_g=yes
8425 else
8426 OBJCFLAGS=""
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 if ac_fn_objc_try_compile "$LINENO"; then :
8440 else
8441 ac_objc_werror_flag=$ac_save_objc_werror_flag
8442 OBJCFLAGS="-g"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8447 main ()
8451 return 0;
8453 _ACEOF
8454 if ac_fn_objc_try_compile "$LINENO"; then :
8455 ac_cv_prog_objc_g=yes
8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 ac_objc_werror_flag=$ac_save_objc_werror_flag
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8465 $as_echo "$ac_cv_prog_objc_g" >&6; }
8466 if test "$ac_test_OBJCFLAGS" = set; then
8467 OBJCFLAGS=$ac_save_OBJCFLAGS
8468 elif test $ac_cv_prog_objc_g = yes; then
8469 if test "$GOBJC" = yes; then
8470 OBJCFLAGS="-g -O2"
8471 else
8472 OBJCFLAGS="-g"
8474 else
8475 if test "$GOBJC" = yes; then
8476 OBJCFLAGS="-O2"
8477 else
8478 OBJCFLAGS=
8481 ac_ext=m
8482 ac_cpp='$OBJCPP $CPPFLAGS'
8483 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8484 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8485 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8488 ac_ext=m
8489 ac_cpp='$OBJCPP $CPPFLAGS'
8490 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8494 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8495 if test -z "$OBJCPP"; then
8496 if ${ac_cv_prog_OBJCPP+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 # Double quotes because OBJCPP needs to be expanded
8500 for OBJCPP in "$OBJC -E" "/lib/cpp"
8502 ac_preproc_ok=false
8503 for ac_objc_preproc_warn_flag in '' yes
8505 # Use a header file that comes with gcc, so configuring glibc
8506 # with a fresh cross-compiler works.
8507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8508 # <limits.h> exists even on freestanding compilers.
8509 # On the NeXT, cc -E runs the code through the compiler's parser,
8510 # not just through cpp. "Syntax error" is here to catch this case.
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 #ifdef __STDC__
8514 # include <limits.h>
8515 #else
8516 # include <assert.h>
8517 #endif
8518 Syntax error
8519 _ACEOF
8520 if ac_fn_objc_try_cpp "$LINENO"; then :
8522 else
8523 # Broken: fails on valid input.
8524 continue
8526 rm -f conftest.err conftest.i conftest.$ac_ext
8528 # OK, works on sane cases. Now check whether nonexistent headers
8529 # can be detected and how.
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 #include <ac_nonexistent.h>
8533 _ACEOF
8534 if ac_fn_objc_try_cpp "$LINENO"; then :
8535 # Broken: success on invalid input.
8536 continue
8537 else
8538 # Passes both tests.
8539 ac_preproc_ok=:
8540 break
8542 rm -f conftest.err conftest.i conftest.$ac_ext
8544 done
8545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8546 rm -f conftest.i conftest.err conftest.$ac_ext
8547 if $ac_preproc_ok; then :
8548 break
8551 done
8552 ac_cv_prog_OBJCPP=$OBJCPP
8555 OBJCPP=$ac_cv_prog_OBJCPP
8556 else
8557 ac_cv_prog_OBJCPP=$OBJCPP
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8560 $as_echo "$OBJCPP" >&6; }
8561 ac_preproc_ok=false
8562 for ac_objc_preproc_warn_flag in '' yes
8564 # Use a header file that comes with gcc, so configuring glibc
8565 # with a fresh cross-compiler works.
8566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8567 # <limits.h> exists even on freestanding compilers.
8568 # On the NeXT, cc -E runs the code through the compiler's parser,
8569 # not just through cpp. "Syntax error" is here to catch this case.
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 #ifdef __STDC__
8573 # include <limits.h>
8574 #else
8575 # include <assert.h>
8576 #endif
8577 Syntax error
8578 _ACEOF
8579 if ac_fn_objc_try_cpp "$LINENO"; then :
8581 else
8582 # Broken: fails on valid input.
8583 continue
8585 rm -f conftest.err conftest.i conftest.$ac_ext
8587 # OK, works on sane cases. Now check whether nonexistent headers
8588 # can be detected and how.
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 #include <ac_nonexistent.h>
8592 _ACEOF
8593 if ac_fn_objc_try_cpp "$LINENO"; then :
8594 # Broken: success on invalid input.
8595 continue
8596 else
8597 # Passes both tests.
8598 ac_preproc_ok=:
8599 break
8601 rm -f conftest.err conftest.i conftest.$ac_ext
8603 done
8604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8605 rm -f conftest.i conftest.err conftest.$ac_ext
8606 if $ac_preproc_ok; then :
8608 else
8609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8611 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8612 See \`config.log' for more details" "$LINENO" 5; }
8615 ac_ext=m
8616 ac_cpp='$OBJCPP $CPPFLAGS'
8617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8622 for ac_header in Metal/Metal.h
8623 do :
8624 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8625 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8626 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_METAL_METAL_H 1
8628 _ACEOF
8632 done
8634 ac_ext=c
8635 ac_cpp='$CPP $CPPFLAGS'
8636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8640 LIBEXT="dylib"
8641 DLLFLAGS="$DLLFLAGS -fPIC"
8642 LDDLLFLAGS="-fPIC"
8643 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8645 COREFOUNDATION_LIBS="-framework CoreFoundation"
8647 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8649 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8651 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8653 CORESERVICES_LIBS="-framework CoreServices"
8655 APPKIT_LIBS="-framework AppKit"
8658 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8660 wine_can_build_preloader=yes
8661 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8663 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8664 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__Wl__no_new_main__e__main=yes
8675 else
8676 ac_cv_cflags__Wl__no_new_main__e__main=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8683 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8684 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8685 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8688 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8699 else
8700 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8707 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8708 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8709 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8710 else
8711 { $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
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $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
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8734 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8735 else
8736 wine_can_build_preloader=no
8739 else
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8741 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8742 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8753 else
8754 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8761 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8762 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8763 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8766 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8767 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8778 else
8779 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8786 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8787 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8788 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8789 else
8790 wine_can_build_preloader=no
8794 if test "$wine_can_build_preloader" = "yes"
8795 then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8797 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8798 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -Wl,-no_pie"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int main(int argc, char **argv) { return 0; }
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_cflags__Wl__no_pie=yes
8809 else
8810 ac_cv_cflags__Wl__no_pie=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8817 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8818 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8819 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8821 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8822 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8823 else
8824 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8827 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8828 then
8829 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8832 if test "$ac_cv_header_Security_Security_h" = "yes"
8833 then
8834 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8836 ac_save_LIBS="$LIBS"
8837 LIBS="$LIBS $SECURITY_LIBS"
8838 for ac_func in SSLCopyPeerCertificates
8839 do :
8840 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8841 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8842 cat >>confdefs.h <<_ACEOF
8843 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8844 _ACEOF
8847 done
8849 LIBS="$ac_save_LIBS"
8851 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8852 then
8853 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8854 then
8855 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8857 else
8858 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8861 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8862 ac_save_LIBS="$LIBS"
8863 LIBS="$LIBS $COREAUDIO_LIBS"
8864 for ac_func in AUGraphAddNode
8865 do :
8866 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8867 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_AUGRAPHADDNODE 1
8870 _ACEOF
8873 done
8875 LIBS="$ac_save_LIBS"
8877 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8878 then
8879 OPENAL_LIBS="-framework OpenAL"
8882 cat >>confdefs.h <<_ACEOF
8883 #define HAVE_OPENAL 1
8884 _ACEOF
8886 ac_cv_lib_openal=yes
8888 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8889 then
8890 OPENCL_LIBS="-framework OpenCL"
8892 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8894 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8895 then
8896 ac_save_LIBS="$LIBS"
8897 LIBS="$LIBS $IOKIT_LIBS"
8898 for ac_func in IOHIDManagerCreate
8899 do :
8900 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8901 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8902 cat >>confdefs.h <<_ACEOF
8903 #define HAVE_IOHIDMANAGERCREATE 1
8904 _ACEOF
8907 done
8909 LIBS="$ac_save_LIBS"
8911 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8912 then
8913 ac_save_LIBS="$LIBS"
8914 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8916 $as_echo_n "checking for the QuickTime framework... " >&6; }
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <QuickTime/ImageCompression.h>
8921 main ()
8923 CodecManagerVersion(NULL);
8925 return 0;
8927 _ACEOF
8928 if ac_fn_c_try_link "$LINENO"; then :
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8930 $as_echo "yes" >&6; }
8931 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8933 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8937 ac_cv_header_QuickTime_ImageCompression_h=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 LIBS="$ac_save_LIBS"
8943 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8944 then
8945 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8947 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8948 then
8949 CARBON_LIBS="-framework Carbon"
8952 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8953 then
8954 METAL_LIBS="-framework Metal -framework QuartzCore"
8958 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8959 then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8961 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8962 ac_ext=m
8963 ac_cpp='$OBJCPP $CPPFLAGS'
8964 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8965 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8966 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8970 #include <Metal/Metal.h>
8972 main ()
8974 id<MTLDevice> device; device.registryID;
8976 return 0;
8978 _ACEOF
8979 if ac_fn_objc_try_compile "$LINENO"; then :
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8981 $as_echo "yes" >&6; }
8983 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8985 else
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987 $as_echo "no" >&6; }
8989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8990 ac_ext=c
8991 ac_cpp='$CPP $CPPFLAGS'
8992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8998 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8999 then
9000 ac_save_LIBS="$LIBS"
9001 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9002 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9003 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9004 enable_winemac_drv=${enable_winemac_drv:-yes}
9007 LIBS="$ac_save_LIBS"
9010 if test "x$enable_win16" = "xyes"
9011 then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9013 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9014 if test "$cross_compiling" = yes; then :
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9016 $as_echo "cross-compiling, assuming yes" >&6; }
9017 else
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 asm(".text\n"
9021 "bad:\tnop;nop\n"
9022 "good:\tnop;nop\n\t"
9023 ".globl _testfunc\n"
9024 "_testfunc:\tcallw good");
9025 extern void testfunc();
9027 main ()
9029 unsigned short *p = (unsigned short *)testfunc;
9030 return p[0] != 0xe866 || p[1] != 0xfffa
9032 return 0;
9034 _ACEOF
9035 if ac_fn_c_try_run "$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9037 $as_echo "yes" >&6; }
9038 else
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9041 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
9043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9044 conftest.$ac_objext conftest.beam conftest.$ac_ext
9049 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9051 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9053 WINELOADER_DEPENDS="wine_info.plist"
9055 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9056 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9059 linux-android*)
9060 DLLFLAGS="$DLLFLAGS -fPIC"
9061 LDDLLFLAGS="-fPIC"
9062 LDEXECFLAGS="-Wl,-pie"
9063 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9065 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9066 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 ac_wine_try_cflags_saved=$CFLAGS
9070 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 int main(int argc, char **argv) { return 0; }
9074 _ACEOF
9075 if ac_fn_c_try_link "$LINENO"; then :
9076 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9077 else
9078 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 CFLAGS=$ac_wine_try_cflags_saved
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9085 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9086 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9087 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9089 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9090 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9092 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9093 if eval \${$as_ac_var+:} false; then :
9094 $as_echo_n "(cached) " >&6
9095 else
9096 ac_wine_try_cflags_saved=$CFLAGS
9097 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 int main(int argc, char **argv) { return 0; }
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 eval "$as_ac_var=yes"
9104 else
9105 eval "$as_ac_var=no"
9107 rm -f core conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext
9109 CFLAGS=$ac_wine_try_cflags_saved
9111 eval ac_res=\$$as_ac_var
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9113 $as_echo "$ac_res" >&6; }
9114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9115 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9116 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9117 else
9118 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9120 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9121 if eval \${$as_ac_var+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 ac_wine_try_cflags_saved=$CFLAGS
9125 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9128 int main(int argc, char **argv) { return 0; }
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 eval "$as_ac_var=yes"
9132 else
9133 eval "$as_ac_var=no"
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9139 eval ac_res=\$$as_ac_var
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9141 $as_echo "$ac_res" >&6; }
9142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9143 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9144 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9148 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9149 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 int main(int argc, char **argv) { return 0; }
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 ac_cv_cflags__Wl___enable_new_dtags=yes
9160 else
9161 ac_cv_cflags__Wl___enable_new_dtags=no
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 CFLAGS=$ac_wine_try_cflags_saved
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9168 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9169 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9170 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9173 LIBWINE_SHAREDLIB="libwine.so"
9175 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9177 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9180 $as_echo_n "checking for -lEGL... " >&6; }
9181 if ${ac_cv_lib_soname_EGL+:} false; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 ac_check_soname_save_LIBS=$LIBS
9185 LIBS="-lEGL $LIBS"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char eglGetProcAddress ();
9197 main ()
9199 return eglGetProcAddress ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9205 case "$LIBEXT" in
9206 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9207 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'` ;;
9208 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9211 fi ;;
9212 esac
9213 else
9214 ac_cv_lib_soname_EGL=
9216 rm -f core conftest.err conftest.$ac_objext \
9217 conftest$ac_exeext conftest.$ac_ext
9218 LIBS=$ac_check_soname_save_LIBS
9220 if ${ac_cv_lib_soname_EGL:+false} :; then :
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9222 $as_echo "not found" >&6; }
9224 else
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9226 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9228 cat >>confdefs.h <<_ACEOF
9229 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9230 _ACEOF
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9235 $as_echo_n "checking for -lGLESv2... " >&6; }
9236 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_soname_save_LIBS=$LIBS
9240 LIBS="-lGLESv2 $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char glFlush ();
9252 main ()
9254 return glFlush ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 case "$LIBEXT" in
9261 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9262 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'` ;;
9263 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9266 fi ;;
9267 esac
9268 else
9269 ac_cv_lib_soname_GLESv2=
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_soname_save_LIBS
9275 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9277 $as_echo "not found" >&6; }
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9281 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9283 cat >>confdefs.h <<_ACEOF
9284 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9285 _ACEOF
9290 if test "x$exec_prefix" = xNONE
9291 then
9292 case $host_cpu in
9293 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9294 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9295 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9296 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9297 esac
9302 case $host_cpu in
9303 *i[3456789]86*)
9304 DLLFLAGS="$DLLFLAGS -fno-PIC"
9305 LDDLLFLAGS="-fno-PIC" ;;
9307 DLLFLAGS="$DLLFLAGS -fPIC"
9308 LDDLLFLAGS="-fPIC" ;;
9309 esac
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9311 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9312 if ${ac_cv_c_dll_gnuelf+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 ac_wine_try_cflags_saved=$CFLAGS
9316 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9319 void myfunc() {}
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9322 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9323 else
9324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 CFLAGS=$ac_wine_try_cflags_saved
9329 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9330 ac_cv_c_dll_gnuelf="yes"
9331 else
9332 ac_cv_c_dll_gnuelf="no"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9336 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9337 if test "$ac_cv_c_dll_gnuelf" = "yes"
9338 then
9339 LIBWINE_LDFLAGS="-shared"
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9341 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9342 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_wine_try_cflags_saved=$CFLAGS
9346 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9349 int main(int argc, char **argv) { return 0; }
9350 _ACEOF
9351 if ac_fn_c_try_link "$LINENO"; then :
9352 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9353 else
9354 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 CFLAGS=$ac_wine_try_cflags_saved
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9361 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9362 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9363 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9364 else
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9366 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9367 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_wine_try_cflags_saved=$CFLAGS
9371 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9374 int main(int argc, char **argv) { return 0; }
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9378 else
9379 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 CFLAGS=$ac_wine_try_cflags_saved
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9386 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9387 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9388 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9392 echo '{ global: *; };' >conftest.map
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9394 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9395 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_wine_try_cflags_saved=$CFLAGS
9399 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9402 int main(int argc, char **argv) { return 0; }
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9406 else
9407 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 CFLAGS=$ac_wine_try_cflags_saved
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9414 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9415 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9416 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9418 rm -f conftest.map
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9421 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9422 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_cflags__Wl___export_dynamic=yes
9433 else
9434 ac_cv_cflags__Wl___export_dynamic=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 CFLAGS=$ac_wine_try_cflags_saved
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9441 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9442 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9443 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9445 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9447 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9450 if eval \${$as_ac_var+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 eval "$as_ac_var=yes"
9461 else
9462 eval "$as_ac_var=no"
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 eval ac_res=\$$as_ac_var
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9470 $as_echo "$ac_res" >&6; }
9471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9472 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9473 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9474 else
9475 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9477 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9478 if eval \${$as_ac_var+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 eval "$as_ac_var=yes"
9489 else
9490 eval "$as_ac_var=no"
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 CFLAGS=$ac_wine_try_cflags_saved
9496 eval ac_res=\$$as_ac_var
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9498 $as_echo "$ac_res" >&6; }
9499 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9500 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9501 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9506 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9507 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_cflags__Wl___enable_new_dtags=yes
9518 else
9519 ac_cv_cflags__Wl___enable_new_dtags=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9526 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9527 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9528 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9531 case $host_cpu in
9532 *i[3456789]86* | x86_64 | *aarch64*)
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9534 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9535 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9546 else
9547 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 CFLAGS=$ac_wine_try_cflags_saved
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9554 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9555 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9556 case $host_os in
9557 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9558 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9559 esac
9560 else
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9562 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9563 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_wine_try_cflags_saved=$CFLAGS
9567 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 int main(int argc, char **argv) { return 0; }
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9574 else
9575 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 CFLAGS=$ac_wine_try_cflags_saved
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9582 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9583 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9584 case $host_os in
9585 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9586 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9587 esac
9589 # Extract the first word of "prelink", so it can be a program name with args.
9590 set dummy prelink; ac_word=$2
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9592 $as_echo_n "checking for $ac_word... " >&6; }
9593 if ${ac_cv_path_PRELINK+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 case $PRELINK in
9597 [\\/]* | ?:[\\/]*)
9598 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9602 for as_dir in /sbin /usr/sbin $PATH
9604 IFS=$as_save_IFS
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9608 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 break 2
9612 done
9613 done
9614 IFS=$as_save_IFS
9616 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9618 esac
9620 PRELINK=$ac_cv_path_PRELINK
9621 if test -n "$PRELINK"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9623 $as_echo "$PRELINK" >&6; }
9624 else
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9630 if test "x$PRELINK" = xfalse
9631 then
9632 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9636 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9637 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_wine_try_cflags_saved=$CFLAGS
9641 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9644 int main(int argc, char **argv) { return 0; }
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9648 else
9649 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 CFLAGS=$ac_wine_try_cflags_saved
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9656 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9657 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9658 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9661 esac
9663 else
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9665 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9666 if ${ac_cv_c_dll_unixware+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_wine_try_cflags_saved=$CFLAGS
9670 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9673 void myfunc() {}
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9677 else
9678 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 CFLAGS=$ac_wine_try_cflags_saved
9683 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9684 ac_cv_c_dll_unixware="yes"
9685 else
9686 ac_cv_c_dll_unixware="no"
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9690 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9691 if test "$ac_cv_c_dll_unixware" = "yes"
9692 then
9693 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9696 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9698 LIBWINE_DEPENDS="wine.map"
9700 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9701 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9703 esac
9705 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9706 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9707 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9708 enable_winemac_drv=${enable_winemac_drv:-no}
9709 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9711 CROSSTARGET=""
9713 if test "x$with_mingw" != xno
9714 then
9715 case "x$with_mingw" in
9716 x|xyes) case "$host_cpu" in
9717 aarch64*)
9718 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9719 arm*)
9720 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9721 i[3456789]86*)
9722 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
9723 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9724 mingw32-gcc" ;;
9725 x86_64)
9726 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
9727 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9729 ac_prefix_list="" ;;
9730 esac
9731 for ac_prog in $ac_prefix_list
9733 # Extract the first word of "$ac_prog", so it can be a program name with args.
9734 set dummy $ac_prog; ac_word=$2
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9736 $as_echo_n "checking for $ac_word... " >&6; }
9737 if ${ac_cv_prog_CROSSCC+:} false; then :
9738 $as_echo_n "(cached) " >&6
9739 else
9740 if test -n "$CROSSCC"; then
9741 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9742 else
9743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9744 for as_dir in $PATH
9746 IFS=$as_save_IFS
9747 test -z "$as_dir" && as_dir=.
9748 for ac_exec_ext in '' $ac_executable_extensions; do
9749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9750 ac_cv_prog_CROSSCC="$ac_prog"
9751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9752 break 2
9754 done
9755 done
9756 IFS=$as_save_IFS
9760 CROSSCC=$ac_cv_prog_CROSSCC
9761 if test -n "$CROSSCC"; then
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9763 $as_echo "$CROSSCC" >&6; }
9764 else
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 $as_echo "no" >&6; }
9770 test -n "$CROSSCC" && break
9771 done
9772 test -n "$CROSSCC" || CROSSCC="false"
9774 *) CROSSCC=$with_mingw ;;
9775 esac
9776 if test "$CROSSCC" != "false"
9777 then
9778 ac_save_CC="$CC"
9779 saved_CFLAGS=$CFLAGS
9780 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9782 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9785 CC="$CROSSCC"
9786 CFLAGS=$CROSSCFLAGS
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9788 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9789 if ${wine_cv_crosscc+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9796 main ()
9800 return 0;
9802 _ACEOF
9803 if ac_fn_c_try_compile "$LINENO"; then :
9804 wine_cv_crosscc=yes
9805 else
9806 wine_cv_crosscc=no
9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9811 $as_echo "$wine_cv_crosscc" >&6; }
9812 if test $wine_cv_crosscc = yes
9813 then
9814 set x $CROSSCC
9815 shift
9816 while test $# -ge 1
9818 case "$1" in
9819 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9820 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9821 esac
9822 shift
9823 done
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9826 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9827 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9828 $as_echo_n "(cached) " >&6
9829 else
9830 ac_wine_try_cflags_saved=$CFLAGS
9831 ac_wine_try_cflags_saved_cc=$CC
9832 ac_wine_try_cflags_saved_exeext=$ac_exeext
9833 CFLAGS="$CFLAGS -fno-strict-aliasing"
9834 CC="$CROSSCC"
9835 ac_exeext=".exe"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 int main(int argc, char **argv) { return 0; }
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841 ac_cv_crosscflags__fno_strict_aliasing=yes
9842 else
9843 ac_cv_crosscflags__fno_strict_aliasing=no
9845 rm -f core conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9847 CFLAGS=$ac_wine_try_cflags_saved
9848 CC=$ac_wine_try_cflags_saved_cc
9849 ac_exeext=$ac_wine_try_cflags_saved_exeext
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9852 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9853 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9854 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9857 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9858 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_wine_try_cflags_saved=$CFLAGS
9862 ac_wine_try_cflags_saved_cc=$CC
9863 ac_wine_try_cflags_saved_exeext=$ac_exeext
9864 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9865 CC="$CROSSCC"
9866 ac_exeext=".exe"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9869 int main(int argc, char **argv) { return 0; }
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9873 else
9874 ac_cv_crosscflags__Werror_unknown_warning_option=no
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 CFLAGS=$ac_wine_try_cflags_saved
9879 CC=$ac_wine_try_cflags_saved_cc
9880 ac_exeext=$ac_wine_try_cflags_saved_exeext
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9883 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9884 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9885 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9888 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9889 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 ac_wine_try_cflags_saved_cc=$CC
9894 ac_wine_try_cflags_saved_exeext=$ac_exeext
9895 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9896 CC="$CROSSCC"
9897 ac_exeext=".exe"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 int main(int argc, char **argv) { return 0; }
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9904 else
9905 ac_cv_crosscflags__Wdeclaration_after_statement=no
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 CFLAGS=$ac_wine_try_cflags_saved
9910 CC=$ac_wine_try_cflags_saved_cc
9911 ac_exeext=$ac_wine_try_cflags_saved_exeext
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9914 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9915 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9916 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9919 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9920 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_wine_try_cflags_saved=$CFLAGS
9924 ac_wine_try_cflags_saved_cc=$CC
9925 ac_wine_try_cflags_saved_exeext=$ac_exeext
9926 CFLAGS="$CFLAGS -Wempty-body"
9927 CC="$CROSSCC"
9928 ac_exeext=".exe"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9931 int main(int argc, char **argv) { return 0; }
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 ac_cv_crosscflags__Wempty_body=yes
9935 else
9936 ac_cv_crosscflags__Wempty_body=no
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 CFLAGS=$ac_wine_try_cflags_saved
9941 CC=$ac_wine_try_cflags_saved_cc
9942 ac_exeext=$ac_wine_try_cflags_saved_exeext
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9945 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9946 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9947 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9950 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9951 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_wine_try_cflags_saved=$CFLAGS
9955 ac_wine_try_cflags_saved_cc=$CC
9956 ac_wine_try_cflags_saved_exeext=$ac_exeext
9957 CFLAGS="$CFLAGS -Wignored-qualifiers"
9958 CC="$CROSSCC"
9959 ac_exeext=".exe"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 int main(int argc, char **argv) { return 0; }
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"; then :
9965 ac_cv_crosscflags__Wignored_qualifiers=yes
9966 else
9967 ac_cv_crosscflags__Wignored_qualifiers=no
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 CFLAGS=$ac_wine_try_cflags_saved
9972 CC=$ac_wine_try_cflags_saved_cc
9973 ac_exeext=$ac_wine_try_cflags_saved_exeext
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9976 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9977 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9978 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9981 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9982 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9983 $as_echo_n "(cached) " >&6
9984 else
9985 ac_wine_try_cflags_saved=$CFLAGS
9986 ac_wine_try_cflags_saved_cc=$CC
9987 ac_wine_try_cflags_saved_exeext=$ac_exeext
9988 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9989 CC="$CROSSCC"
9990 ac_exeext=".exe"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9993 int main(int argc, char **argv) { return 0; }
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 ac_cv_crosscflags__Wpacked_not_aligned=yes
9997 else
9998 ac_cv_crosscflags__Wpacked_not_aligned=no
10000 rm -f core conftest.err conftest.$ac_objext \
10001 conftest$ac_exeext conftest.$ac_ext
10002 CFLAGS=$ac_wine_try_cflags_saved
10003 CC=$ac_wine_try_cflags_saved_cc
10004 ac_exeext=$ac_wine_try_cflags_saved_exeext
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10007 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10008 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10009 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10012 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10013 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10014 $as_echo_n "(cached) " >&6
10015 else
10016 ac_wine_try_cflags_saved=$CFLAGS
10017 ac_wine_try_cflags_saved_cc=$CC
10018 ac_wine_try_cflags_saved_exeext=$ac_exeext
10019 CFLAGS="$CFLAGS -Wpragma-pack"
10020 CC="$CROSSCC"
10021 ac_exeext=".exe"
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 int main(int argc, char **argv) { return 0; }
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 ac_cv_crosscflags__Wpragma_pack=yes
10028 else
10029 ac_cv_crosscflags__Wpragma_pack=no
10031 rm -f core conftest.err conftest.$ac_objext \
10032 conftest$ac_exeext conftest.$ac_ext
10033 CFLAGS=$ac_wine_try_cflags_saved
10034 CC=$ac_wine_try_cflags_saved_cc
10035 ac_exeext=$ac_wine_try_cflags_saved_exeext
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10038 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10039 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10040 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10043 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10044 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_wine_try_cflags_saved=$CFLAGS
10048 ac_wine_try_cflags_saved_cc=$CC
10049 ac_wine_try_cflags_saved_exeext=$ac_exeext
10050 CFLAGS="$CFLAGS -Wshift-overflow=2"
10051 CC="$CROSSCC"
10052 ac_exeext=".exe"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10055 int main(int argc, char **argv) { return 0; }
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"; then :
10058 ac_cv_crosscflags__Wshift_overflow_2=yes
10059 else
10060 ac_cv_crosscflags__Wshift_overflow_2=no
10062 rm -f core conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 CFLAGS=$ac_wine_try_cflags_saved
10065 CC=$ac_wine_try_cflags_saved_cc
10066 ac_exeext=$ac_wine_try_cflags_saved_exeext
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10069 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10070 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10071 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10074 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10075 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_wine_try_cflags_saved=$CFLAGS
10079 ac_wine_try_cflags_saved_cc=$CC
10080 ac_wine_try_cflags_saved_exeext=$ac_exeext
10081 CFLAGS="$CFLAGS -Wstrict-prototypes"
10082 CC="$CROSSCC"
10083 ac_exeext=".exe"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10086 int main(int argc, char **argv) { return 0; }
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_crosscflags__Wstrict_prototypes=yes
10090 else
10091 ac_cv_crosscflags__Wstrict_prototypes=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 CFLAGS=$ac_wine_try_cflags_saved
10096 CC=$ac_wine_try_cflags_saved_cc
10097 ac_exeext=$ac_wine_try_cflags_saved_exeext
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10100 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10101 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10102 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10105 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10106 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 ac_wine_try_cflags_saved_cc=$CC
10111 ac_wine_try_cflags_saved_exeext=$ac_exeext
10112 CFLAGS="$CFLAGS -Wtype-limits"
10113 CC="$CROSSCC"
10114 ac_exeext=".exe"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10117 int main(int argc, char **argv) { return 0; }
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"; then :
10120 ac_cv_crosscflags__Wtype_limits=yes
10121 else
10122 ac_cv_crosscflags__Wtype_limits=no
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 CFLAGS=$ac_wine_try_cflags_saved
10127 CC=$ac_wine_try_cflags_saved_cc
10128 ac_exeext=$ac_wine_try_cflags_saved_exeext
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10131 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10132 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10133 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10136 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10137 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10138 $as_echo_n "(cached) " >&6
10139 else
10140 ac_wine_try_cflags_saved=$CFLAGS
10141 ac_wine_try_cflags_saved_cc=$CC
10142 ac_wine_try_cflags_saved_exeext=$ac_exeext
10143 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10144 CC="$CROSSCC"
10145 ac_exeext=".exe"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10148 int main(int argc, char **argv) { return 0; }
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"; then :
10151 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10152 else
10153 ac_cv_crosscflags__Wunused_but_set_parameter=no
10155 rm -f core conftest.err conftest.$ac_objext \
10156 conftest$ac_exeext conftest.$ac_ext
10157 CFLAGS=$ac_wine_try_cflags_saved
10158 CC=$ac_wine_try_cflags_saved_cc
10159 ac_exeext=$ac_wine_try_cflags_saved_exeext
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10162 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10163 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10164 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10167 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10168 if ${ac_cv_crosscflags__Wvla+:} false; then :
10169 $as_echo_n "(cached) " >&6
10170 else
10171 ac_wine_try_cflags_saved=$CFLAGS
10172 ac_wine_try_cflags_saved_cc=$CC
10173 ac_wine_try_cflags_saved_exeext=$ac_exeext
10174 CFLAGS="$CFLAGS -Wvla"
10175 CC="$CROSSCC"
10176 ac_exeext=".exe"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179 int main(int argc, char **argv) { return 0; }
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"; then :
10182 ac_cv_crosscflags__Wvla=yes
10183 else
10184 ac_cv_crosscflags__Wvla=no
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 CFLAGS=$ac_wine_try_cflags_saved
10189 CC=$ac_wine_try_cflags_saved_cc
10190 ac_exeext=$ac_wine_try_cflags_saved_exeext
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10193 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10194 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10195 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10198 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10199 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_wine_try_cflags_saved=$CFLAGS
10203 ac_wine_try_cflags_saved_cc=$CC
10204 ac_wine_try_cflags_saved_exeext=$ac_exeext
10205 CFLAGS="$CFLAGS -Wwrite-strings"
10206 CC="$CROSSCC"
10207 ac_exeext=".exe"
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10210 int main(int argc, char **argv) { return 0; }
10211 _ACEOF
10212 if ac_fn_c_try_link "$LINENO"; then :
10213 ac_cv_crosscflags__Wwrite_strings=yes
10214 else
10215 ac_cv_crosscflags__Wwrite_strings=no
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 CFLAGS=$ac_wine_try_cflags_saved
10220 CC=$ac_wine_try_cflags_saved_cc
10221 ac_exeext=$ac_wine_try_cflags_saved_exeext
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10224 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10225 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10226 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10229 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10230 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_wine_try_cflags_saved=$CFLAGS
10234 ac_wine_try_cflags_saved_cc=$CC
10235 ac_wine_try_cflags_saved_exeext=$ac_exeext
10236 CFLAGS="$CFLAGS -Wpointer-arith"
10237 CC="$CROSSCC"
10238 ac_exeext=".exe"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int main(int argc, char **argv) { return 0; }
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10244 ac_cv_crosscflags__Wpointer_arith=yes
10245 else
10246 ac_cv_crosscflags__Wpointer_arith=no
10248 rm -f core conftest.err conftest.$ac_objext \
10249 conftest$ac_exeext conftest.$ac_ext
10250 CFLAGS=$ac_wine_try_cflags_saved
10251 CC=$ac_wine_try_cflags_saved_cc
10252 ac_exeext=$ac_wine_try_cflags_saved_exeext
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10255 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10256 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10257 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10260 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10261 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_wine_try_cflags_saved=$CFLAGS
10265 ac_wine_try_cflags_saved_cc=$CC
10266 ac_wine_try_cflags_saved_exeext=$ac_exeext
10267 CFLAGS="$CFLAGS -Wlogical-op"
10268 CC="$CROSSCC"
10269 ac_exeext=".exe"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 int main(int argc, char **argv) { return 0; }
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"; then :
10275 ac_cv_crosscflags__Wlogical_op=yes
10276 else
10277 ac_cv_crosscflags__Wlogical_op=no
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 CFLAGS=$ac_wine_try_cflags_saved
10282 CC=$ac_wine_try_cflags_saved_cc
10283 ac_exeext=$ac_wine_try_cflags_saved_exeext
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10286 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10287 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10288 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10291 case $host_cpu in
10292 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10293 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10294 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10295 $as_echo_n "(cached) " >&6
10296 else
10297 ac_wine_try_cflags_saved=$CFLAGS
10298 ac_wine_try_cflags_saved_cc=$CC
10299 ac_wine_try_cflags_saved_exeext=$ac_exeext
10300 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10301 CC="$CROSSCC"
10302 ac_exeext=".exe"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 int main(int argc, char **argv) { return 0; }
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"; then :
10308 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10309 else
10310 ac_cv_crosscflags__fno_omit_frame_pointer=no
10312 rm -f core conftest.err conftest.$ac_objext \
10313 conftest$ac_exeext conftest.$ac_ext
10314 CFLAGS=$ac_wine_try_cflags_saved
10315 CC=$ac_wine_try_cflags_saved_cc
10316 ac_exeext=$ac_wine_try_cflags_saved_exeext
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10319 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10320 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10321 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10322 fi ;;
10323 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10324 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10325 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10326 $as_echo_n "(cached) " >&6
10327 else
10328 ac_wine_try_cflags_saved=$CFLAGS
10329 ac_wine_try_cflags_saved_cc=$CC
10330 ac_wine_try_cflags_saved_exeext=$ac_exeext
10331 CFLAGS="$CFLAGS -Wno-format"
10332 CC="$CROSSCC"
10333 ac_exeext=".exe"
10334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10336 int main(int argc, char **argv) { return 0; }
10337 _ACEOF
10338 if ac_fn_c_try_link "$LINENO"; then :
10339 ac_cv_crosscflags__Wno_format=yes
10340 else
10341 ac_cv_crosscflags__Wno_format=no
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 CFLAGS=$ac_wine_try_cflags_saved
10346 CC=$ac_wine_try_cflags_saved_cc
10347 ac_exeext=$ac_wine_try_cflags_saved_exeext
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10350 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10351 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10352 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10353 fi ;;
10354 esac
10356 for ac_flag in $CROSSCFLAGS; do
10357 case $ac_flag in
10358 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10360 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS -gdwarf-2"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int main(int argc, char **argv) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__gdwarf_2=yes
10375 else
10376 ac_cv_crosscflags__gdwarf_2=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10385 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10386 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10391 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS -gstrict-dwarf"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int main(int argc, char **argv) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__gstrict_dwarf=yes
10406 else
10407 ac_cv_crosscflags__gstrict_dwarf=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10416 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10417 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10419 fi ;;
10420 esac
10421 done
10423 if test "x$enable_maintainer_mode" = xyes
10424 then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10426 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10427 if ${ac_cv_crosscflags__Werror+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 ac_wine_try_cflags_saved_cc=$CC
10432 ac_wine_try_cflags_saved_exeext=$ac_exeext
10433 CFLAGS="$CFLAGS -Werror"
10434 CC="$CROSSCC"
10435 ac_exeext=".exe"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int main(int argc, char **argv) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_crosscflags__Werror=yes
10442 else
10443 ac_cv_crosscflags__Werror=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10448 CC=$ac_wine_try_cflags_saved_cc
10449 ac_exeext=$ac_wine_try_cflags_saved_exeext
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10452 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10453 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10454 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10458 CFLAGS=$saved_CFLAGS
10459 CC="$ac_save_CC"
10462 if test "x$CROSSTARGET" = "x"; then :
10463 case "x$with_mingw" in
10464 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10465 xno) ;;
10466 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10467 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10468 esac
10473 if test "$ac_cv_header_pthread_h" = "yes"
10474 then
10475 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10476 if test "x$ac_cv_func_pthread_create" = xyes; then :
10478 else
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10480 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10481 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10482 $as_echo_n "(cached) " >&6
10483 else
10484 ac_check_lib_save_LIBS=$LIBS
10485 LIBS="-lpthread $LIBS"
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10489 /* Override any GCC internal prototype to avoid an error.
10490 Use char because int might match the return type of a GCC
10491 builtin and then its argument prototype would still apply. */
10492 #ifdef __cplusplus
10493 extern "C"
10494 #endif
10495 char pthread_create ();
10497 main ()
10499 return pthread_create ();
10501 return 0;
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 ac_cv_lib_pthread_pthread_create=yes
10506 else
10507 ac_cv_lib_pthread_pthread_create=no
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 LIBS=$ac_check_lib_save_LIBS
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10514 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10515 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10516 PTHREAD_LIBS="-lpthread"
10523 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10524 case "x$with_pthread" in
10525 xno) ;;
10526 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10527 Wine cannot support threads without libpthread.
10528 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10529 esac
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10535 $as_echo_n "checking for X... " >&6; }
10538 # Check whether --with-x was given.
10539 if test "${with_x+set}" = set; then :
10540 withval=$with_x;
10543 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10544 if test "x$with_x" = xno; then
10545 # The user explicitly disabled X.
10546 have_x=disabled
10547 else
10548 case $x_includes,$x_libraries in #(
10549 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10550 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 # One or both of the vars are not set, and there is no cached value.
10554 ac_x_includes=no ac_x_libraries=no
10555 rm -f -r conftest.dir
10556 if mkdir conftest.dir; then
10557 cd conftest.dir
10558 cat >Imakefile <<'_ACEOF'
10559 incroot:
10560 @echo incroot='${INCROOT}'
10561 usrlibdir:
10562 @echo usrlibdir='${USRLIBDIR}'
10563 libdir:
10564 @echo libdir='${LIBDIR}'
10565 _ACEOF
10566 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10567 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10568 for ac_var in incroot usrlibdir libdir; do
10569 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10570 done
10571 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10572 for ac_extension in a so sl dylib la dll; do
10573 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10574 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10575 ac_im_usrlibdir=$ac_im_libdir; break
10577 done
10578 # Screen out bogus values from the imake configuration. They are
10579 # bogus both because they are the default anyway, and because
10580 # using them would break gcc on systems where it needs fixed includes.
10581 case $ac_im_incroot in
10582 /usr/include) ac_x_includes= ;;
10583 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10584 esac
10585 case $ac_im_usrlibdir in
10586 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10587 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10588 esac
10590 cd ..
10591 rm -f -r conftest.dir
10594 # Standard set of common directories for X headers.
10595 # Check X11 before X11Rn because it is often a symlink to the current release.
10596 ac_x_header_dirs='
10597 /usr/X11/include
10598 /usr/X11R7/include
10599 /usr/X11R6/include
10600 /usr/X11R5/include
10601 /usr/X11R4/include
10603 /usr/include/X11
10604 /usr/include/X11R7
10605 /usr/include/X11R6
10606 /usr/include/X11R5
10607 /usr/include/X11R4
10609 /usr/local/X11/include
10610 /usr/local/X11R7/include
10611 /usr/local/X11R6/include
10612 /usr/local/X11R5/include
10613 /usr/local/X11R4/include
10615 /usr/local/include/X11
10616 /usr/local/include/X11R7
10617 /usr/local/include/X11R6
10618 /usr/local/include/X11R5
10619 /usr/local/include/X11R4
10621 /usr/X386/include
10622 /usr/x386/include
10623 /usr/XFree86/include/X11
10625 /usr/include
10626 /usr/local/include
10627 /usr/unsupported/include
10628 /usr/athena/include
10629 /usr/local/x11r5/include
10630 /usr/lpp/Xamples/include
10632 /usr/openwin/include
10633 /usr/openwin/share/include'
10635 if test "$ac_x_includes" = no; then
10636 # Guess where to find include files, by looking for Xlib.h.
10637 # First, try using that file with no special directory specified.
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 #include <X11/Xlib.h>
10641 _ACEOF
10642 if ac_fn_c_try_cpp "$LINENO"; then :
10643 # We can compile using X headers with no special include directory.
10644 ac_x_includes=
10645 else
10646 for ac_dir in $ac_x_header_dirs; do
10647 if test -r "$ac_dir/X11/Xlib.h"; then
10648 ac_x_includes=$ac_dir
10649 break
10651 done
10653 rm -f conftest.err conftest.i conftest.$ac_ext
10654 fi # $ac_x_includes = no
10656 if test "$ac_x_libraries" = no; then
10657 # Check for the libraries.
10658 # See if we find them without any special options.
10659 # Don't add to $LIBS permanently.
10660 ac_save_LIBS=$LIBS
10661 LIBS="-lX11 $LIBS"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10664 #include <X11/Xlib.h>
10666 main ()
10668 XrmInitialize ()
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 LIBS=$ac_save_LIBS
10675 # We can link X programs with no special library path.
10676 ac_x_libraries=
10677 else
10678 LIBS=$ac_save_LIBS
10679 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10681 # Don't even attempt the hair of trying to link an X program!
10682 for ac_extension in a so sl dylib la dll; do
10683 if test -r "$ac_dir/libX11.$ac_extension"; then
10684 ac_x_libraries=$ac_dir
10685 break 2
10687 done
10688 done
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 fi # $ac_x_libraries = no
10694 case $ac_x_includes,$ac_x_libraries in #(
10695 no,* | *,no | *\'*)
10696 # Didn't find X, or a directory has "'" in its name.
10697 ac_cv_have_x="have_x=no";; #(
10699 # Record where we found X for the cache.
10700 ac_cv_have_x="have_x=yes\
10701 ac_x_includes='$ac_x_includes'\
10702 ac_x_libraries='$ac_x_libraries'"
10703 esac
10705 ;; #(
10706 *) have_x=yes;;
10707 esac
10708 eval "$ac_cv_have_x"
10709 fi # $with_x != no
10711 if test "$have_x" != yes; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10713 $as_echo "$have_x" >&6; }
10714 no_x=yes
10715 else
10716 # If each of the values was on the command line, it overrides each guess.
10717 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10718 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10719 # Update the cache value to reflect the command line values.
10720 ac_cv_have_x="have_x=yes\
10721 ac_x_includes='$x_includes'\
10722 ac_x_libraries='$x_libraries'"
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10724 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10727 if test "$no_x" = yes; then
10728 # Not all programs may use this symbol, but it does not hurt to define it.
10730 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10732 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10733 else
10734 if test -n "$x_includes"; then
10735 X_CFLAGS="$X_CFLAGS -I$x_includes"
10738 # It would also be nice to do this for all -L options, not just this one.
10739 if test -n "$x_libraries"; then
10740 X_LIBS="$X_LIBS -L$x_libraries"
10741 # For Solaris; some versions of Sun CC require a space after -R and
10742 # others require no space. Words are not sufficient . . . .
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10744 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10745 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10746 ac_xsave_c_werror_flag=$ac_c_werror_flag
10747 ac_c_werror_flag=yes
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10752 main ()
10756 return 0;
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }
10762 X_LIBS="$X_LIBS -R$x_libraries"
10763 else
10764 LIBS="$ac_xsave_LIBS -R $x_libraries"
10765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10766 /* end confdefs.h. */
10769 main ()
10773 return 0;
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10778 $as_echo "yes" >&6; }
10779 X_LIBS="$X_LIBS -R $x_libraries"
10780 else
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10782 $as_echo "neither works" >&6; }
10784 rm -f core conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 ac_c_werror_flag=$ac_xsave_c_werror_flag
10790 LIBS=$ac_xsave_LIBS
10793 # Check for system-dependent libraries X programs must link with.
10794 # Do this before checking for the system-independent R6 libraries
10795 # (-lICE), since we may need -lsocket or whatever for X linking.
10797 if test "$ISC" = yes; then
10798 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10799 else
10800 # Martyn Johnson says this is needed for Ultrix, if the X
10801 # libraries were built with DECnet support. And Karl Berry says
10802 # the Alpha needs dnet_stub (dnet does not exist).
10803 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char XOpenDisplay ();
10815 main ()
10817 return XOpenDisplay ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10824 else
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10826 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10827 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-ldnet $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char dnet_ntoa ();
10843 main ()
10845 return dnet_ntoa ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 ac_cv_lib_dnet_dnet_ntoa=yes
10852 else
10853 ac_cv_lib_dnet_dnet_ntoa=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10860 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10861 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10862 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10865 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10867 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10868 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10869 $as_echo_n "(cached) " >&6
10870 else
10871 ac_check_lib_save_LIBS=$LIBS
10872 LIBS="-ldnet_stub $LIBS"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10879 #ifdef __cplusplus
10880 extern "C"
10881 #endif
10882 char dnet_ntoa ();
10884 main ()
10886 return dnet_ntoa ();
10888 return 0;
10890 _ACEOF
10891 if ac_fn_c_try_link "$LINENO"; then :
10892 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10893 else
10894 ac_cv_lib_dnet_stub_dnet_ntoa=no
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10901 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10902 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10903 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS="$ac_xsave_LIBS"
10912 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10913 # to get the SysV transport functions.
10914 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10915 # needs -lnsl.
10916 # The nsl library prevents programs from opening the X display
10917 # on Irix 5.2, according to T.E. Dickey.
10918 # The functions gethostbyname, getservbyname, and inet_addr are
10919 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10920 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10921 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10925 if test $ac_cv_func_gethostbyname = no; then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10927 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10928 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lnsl $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char gethostbyname ();
10944 main ()
10946 return gethostbyname ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_nsl_gethostbyname=yes
10953 else
10954 ac_cv_lib_nsl_gethostbyname=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10961 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10962 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10963 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10966 if test $ac_cv_lib_nsl_gethostbyname = no; then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10968 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10969 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 ac_check_lib_save_LIBS=$LIBS
10973 LIBS="-lbsd $LIBS"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char gethostbyname ();
10985 main ()
10987 return gethostbyname ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 ac_cv_lib_bsd_gethostbyname=yes
10994 else
10995 ac_cv_lib_bsd_gethostbyname=no
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_lib_save_LIBS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11002 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11003 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11010 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11011 # socket/setsockopt and other routines are undefined under SCO ODT
11012 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11013 # on later versions), says Simon Leinen: it contains gethostby*
11014 # variants that don't use the name server (or something). -lsocket
11015 # must be given before -lnsl if both are needed. We assume that
11016 # if connect needs -lnsl, so does gethostbyname.
11017 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11018 if test "x$ac_cv_func_connect" = xyes; then :
11022 if test $ac_cv_func_connect = no; then
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11024 $as_echo_n "checking for connect in -lsocket... " >&6; }
11025 if ${ac_cv_lib_socket_connect+:} false; then :
11026 $as_echo_n "(cached) " >&6
11027 else
11028 ac_check_lib_save_LIBS=$LIBS
11029 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11036 #ifdef __cplusplus
11037 extern "C"
11038 #endif
11039 char connect ();
11041 main ()
11043 return connect ();
11045 return 0;
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"; then :
11049 ac_cv_lib_socket_connect=yes
11050 else
11051 ac_cv_lib_socket_connect=no
11053 rm -f core conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_lib_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11058 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11059 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11060 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11065 # Guillermo Gomez says -lposix is necessary on A/UX.
11066 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11067 if test "x$ac_cv_func_remove" = xyes; then :
11071 if test $ac_cv_func_remove = no; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11073 $as_echo_n "checking for remove in -lposix... " >&6; }
11074 if ${ac_cv_lib_posix_remove+:} false; then :
11075 $as_echo_n "(cached) " >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lposix $LIBS"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char remove ();
11090 main ()
11092 return remove ();
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 ac_cv_lib_posix_remove=yes
11099 else
11100 ac_cv_lib_posix_remove=no
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11107 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11108 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11109 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11114 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11115 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11116 if test "x$ac_cv_func_shmat" = xyes; then :
11120 if test $ac_cv_func_shmat = no; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11122 $as_echo_n "checking for shmat in -lipc... " >&6; }
11123 if ${ac_cv_lib_ipc_shmat+:} false; then :
11124 $as_echo_n "(cached) " >&6
11125 else
11126 ac_check_lib_save_LIBS=$LIBS
11127 LIBS="-lipc $LIBS"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char shmat ();
11139 main ()
11141 return shmat ();
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_link "$LINENO"; then :
11147 ac_cv_lib_ipc_shmat=yes
11148 else
11149 ac_cv_lib_ipc_shmat=no
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_lib_save_LIBS
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11156 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11157 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11164 # Check for libraries that X11R6 Xt/Xaw programs need.
11165 ac_save_LDFLAGS=$LDFLAGS
11166 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11167 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11168 # check for ICE first), but we must link in the order -lSM -lICE or
11169 # we get undefined symbols. So assume we have SM if we have ICE.
11170 # These have to be linked with before -lX11, unlike the other
11171 # libraries we check for below, so use a different variable.
11172 # John Interrante, Karl Berry
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11174 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11175 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11176 $as_echo_n "(cached) " >&6
11177 else
11178 ac_check_lib_save_LIBS=$LIBS
11179 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char IceConnectionNumber ();
11191 main ()
11193 return IceConnectionNumber ();
11195 return 0;
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 ac_cv_lib_ICE_IceConnectionNumber=yes
11200 else
11201 ac_cv_lib_ICE_IceConnectionNumber=no
11203 rm -f core conftest.err conftest.$ac_objext \
11204 conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11208 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11209 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11210 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11213 LDFLAGS=$ac_save_LDFLAGS
11218 if test "$have_x" = "yes"
11219 then
11220 ac_save_CPPFLAGS="$CPPFLAGS"
11221 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11224 $as_echo_n "checking for -lX11... " >&6; }
11225 if ${ac_cv_lib_soname_X11+:} false; then :
11226 $as_echo_n "(cached) " >&6
11227 else
11228 ac_check_soname_save_LIBS=$LIBS
11229 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char XCreateWindow ();
11241 main ()
11243 return XCreateWindow ();
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 case "$LIBEXT" in
11250 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11251 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'` ;;
11252 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11253 if ${ac_cv_lib_soname_X11:+false} :; then :
11254 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11255 fi ;;
11256 esac
11257 else
11258 ac_cv_lib_soname_X11=
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_X11:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11270 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11272 cat >>confdefs.h <<_ACEOF
11273 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11274 _ACEOF
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11279 $as_echo_n "checking for -lXext... " >&6; }
11280 if ${ac_cv_lib_soname_Xext+:} false; then :
11281 $as_echo_n "(cached) " >&6
11282 else
11283 ac_check_soname_save_LIBS=$LIBS
11284 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char XextCreateExtension ();
11296 main ()
11298 return XextCreateExtension ();
11300 return 0;
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 case "$LIBEXT" in
11305 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11306 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'` ;;
11307 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11308 if ${ac_cv_lib_soname_Xext:+false} :; then :
11309 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11310 fi ;;
11311 esac
11312 else
11313 ac_cv_lib_soname_Xext=
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_soname_save_LIBS
11319 if ${ac_cv_lib_soname_Xext:+false} :; then :
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11321 $as_echo "not found" >&6; }
11323 else
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11325 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11327 cat >>confdefs.h <<_ACEOF
11328 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11329 _ACEOF
11331 X_LIBS="$X_LIBS -lXext"
11333 X_LIBS="$X_LIBS -lX11"
11335 for ac_header in X11/Xlib.h \
11336 X11/XKBlib.h \
11337 X11/Xutil.h \
11338 X11/Xcursor/Xcursor.h \
11339 X11/extensions/shape.h \
11340 X11/extensions/XInput.h \
11341 X11/extensions/XInput2.h \
11342 X11/extensions/XShm.h \
11343 X11/extensions/Xcomposite.h \
11344 X11/extensions/Xfixes.h \
11345 X11/extensions/Xinerama.h \
11346 X11/extensions/Xrandr.h \
11347 X11/extensions/Xrender.h \
11348 X11/extensions/xf86vmode.h \
11349 X11/extensions/xf86vmproto.h
11350 do :
11351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11352 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11353 # include <X11/Xlib.h>
11354 #endif
11355 #ifdef HAVE_X11_XUTIL_H
11356 # include <X11/Xutil.h>
11357 #endif
11359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11360 cat >>confdefs.h <<_ACEOF
11361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11362 _ACEOF
11366 done
11369 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11370 then
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11372 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11373 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11374 $as_echo_n "(cached) " >&6
11375 else
11376 ac_check_lib_save_LIBS=$LIBS
11377 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11384 #ifdef __cplusplus
11385 extern "C"
11386 #endif
11387 char XkbQueryExtension ();
11389 main ()
11391 return XkbQueryExtension ();
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 ac_cv_lib_X11_XkbQueryExtension=yes
11398 else
11399 ac_cv_lib_X11_XkbQueryExtension=no
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11406 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11407 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11409 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11415 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11416 then
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11418 $as_echo_n "checking for -lXcursor... " >&6; }
11419 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 ac_check_soname_save_LIBS=$LIBS
11423 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char XcursorImageLoadCursor ();
11435 main ()
11437 return XcursorImageLoadCursor ();
11439 return 0;
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 case "$LIBEXT" in
11444 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11445 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'` ;;
11446 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11447 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11448 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11449 fi ;;
11450 esac
11451 else
11452 ac_cv_lib_soname_Xcursor=
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_soname_save_LIBS
11458 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11460 $as_echo "not found" >&6; }
11462 else
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11464 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11466 cat >>confdefs.h <<_ACEOF
11467 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11468 _ACEOF
11473 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11474 case "x$with_xcursor" in
11475 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11476 xno) ;;
11477 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11478 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11479 esac
11483 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11484 then
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11486 $as_echo_n "checking for -lXi... " >&6; }
11487 if ${ac_cv_lib_soname_Xi+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_soname_save_LIBS=$LIBS
11491 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char XOpenDevice ();
11503 main ()
11505 return XOpenDevice ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 case "$LIBEXT" in
11512 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11515 if ${ac_cv_lib_soname_Xi:+false} :; then :
11516 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 fi ;;
11518 esac
11519 else
11520 ac_cv_lib_soname_Xi=
11522 rm -f core conftest.err conftest.$ac_objext \
11523 conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_soname_save_LIBS
11526 if ${ac_cv_lib_soname_Xi:+false} :; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11528 $as_echo "not found" >&6; }
11530 else
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11532 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11534 cat >>confdefs.h <<_ACEOF
11535 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11536 _ACEOF
11541 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11542 case "x$with_xinput" in
11543 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11544 xno) ;;
11545 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11546 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11547 esac
11551 if test "x$ac_cv_lib_soname_Xi" != x
11552 then
11553 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11554 case "x$with_xinput2" in
11555 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11556 xno) ;;
11557 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11558 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11559 esac
11564 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11565 then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11567 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11568 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char XShmQueryExtension ();
11584 main ()
11586 return XShmQueryExtension ();
11588 return 0;
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 ac_cv_lib_Xext_XShmQueryExtension=yes
11593 else
11594 ac_cv_lib_Xext_XShmQueryExtension=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11601 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11602 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11604 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11609 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11610 case "x$with_xshm" in
11611 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11612 xno) ;;
11613 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11614 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11615 esac
11619 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11620 then
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11622 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11623 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11624 $as_echo_n "(cached) " >&6
11625 else
11626 ac_check_lib_save_LIBS=$LIBS
11627 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11634 #ifdef __cplusplus
11635 extern "C"
11636 #endif
11637 char XShapeQueryExtension ();
11639 main ()
11641 return XShapeQueryExtension ();
11643 return 0;
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"; then :
11647 ac_cv_lib_Xext_XShapeQueryExtension=yes
11648 else
11649 ac_cv_lib_Xext_XShapeQueryExtension=no
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_lib_save_LIBS
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11656 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11657 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11659 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11664 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11665 case "x$with_xshape" in
11666 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11667 xno) ;;
11668 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11669 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11670 esac
11674 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11677 $as_echo_n "checking for -lXxf86vm... " >&6; }
11678 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_soname_save_LIBS=$LIBS
11682 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char XF86VidModeQueryExtension ();
11694 main ()
11696 return XF86VidModeQueryExtension ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 case "$LIBEXT" in
11703 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11706 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11707 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11708 fi ;;
11709 esac
11710 else
11711 ac_cv_lib_soname_Xxf86vm=
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_soname_save_LIBS
11717 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11719 $as_echo "not found" >&6; }
11721 else
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11723 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11725 cat >>confdefs.h <<_ACEOF
11726 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11727 _ACEOF
11732 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11733 case "x$with_xxf86vm" in
11734 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11735 xno) ;;
11736 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11737 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11738 esac
11742 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11743 then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11745 $as_echo_n "checking for -lXrender... " >&6; }
11746 if ${ac_cv_lib_soname_Xrender+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 ac_check_soname_save_LIBS=$LIBS
11750 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11754 /* Override any GCC internal prototype to avoid an error.
11755 Use char because int might match the return type of a GCC
11756 builtin and then its argument prototype would still apply. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 char XRenderQueryExtension ();
11762 main ()
11764 return XRenderQueryExtension ();
11766 return 0;
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 case "$LIBEXT" in
11771 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11772 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'` ;;
11773 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11774 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11775 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11776 fi ;;
11777 esac
11778 else
11779 ac_cv_lib_soname_Xrender=
11781 rm -f core conftest.err conftest.$ac_objext \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_soname_save_LIBS
11785 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11787 $as_echo "not found" >&6; }
11789 else
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11791 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11793 cat >>confdefs.h <<_ACEOF
11794 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11795 _ACEOF
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11798 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11799 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11800 $as_echo_n "(cached) " >&6
11801 else
11802 ac_check_lib_save_LIBS=$LIBS
11803 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char XRenderSetPictureTransform ();
11815 main ()
11817 return XRenderSetPictureTransform ();
11819 return 0;
11821 _ACEOF
11822 if ac_fn_c_try_link "$LINENO"; then :
11823 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11824 else
11825 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_lib_save_LIBS
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11832 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11833 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11835 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11840 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11841 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char XRenderCreateLinearGradient ();
11857 main ()
11859 return XRenderCreateLinearGradient ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11866 else
11867 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11869 rm -f core conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_lib_save_LIBS
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11874 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11875 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11877 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11884 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11885 case "x$with_xrender" in
11886 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11887 xno) ;;
11888 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11889 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11890 esac
11894 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11895 then
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 #include <X11/Xlib.h>
11899 #include <X11/extensions/Xrandr.h>
11901 main ()
11903 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_compile "$LINENO"; then :
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11910 $as_echo_n "checking for -lXrandr... " >&6; }
11911 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11912 $as_echo_n "(cached) " >&6
11913 else
11914 ac_check_soname_save_LIBS=$LIBS
11915 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11917 /* end confdefs.h. */
11919 /* Override any GCC internal prototype to avoid an error.
11920 Use char because int might match the return type of a GCC
11921 builtin and then its argument prototype would still apply. */
11922 #ifdef __cplusplus
11923 extern "C"
11924 #endif
11925 char XRRQueryExtension ();
11927 main ()
11929 return XRRQueryExtension ();
11931 return 0;
11933 _ACEOF
11934 if ac_fn_c_try_link "$LINENO"; then :
11935 case "$LIBEXT" in
11936 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11937 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'` ;;
11938 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11939 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11940 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11941 fi ;;
11942 esac
11943 else
11944 ac_cv_lib_soname_Xrandr=
11946 rm -f core conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_soname_save_LIBS
11950 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11952 $as_echo "not found" >&6; }
11954 else
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11956 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11958 cat >>confdefs.h <<_ACEOF
11959 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11960 _ACEOF
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11964 #include <X11/Xlib.h>
11965 #include <X11/extensions/Xrandr.h>
11967 main ()
11969 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11971 return 0;
11973 _ACEOF
11974 if ac_fn_c_try_compile "$LINENO"; then :
11976 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11982 #include <X11/Xlib.h>
11983 #include <X11/extensions/Xrandr.h>
11985 main ()
11987 static typeof(XRRGetProviderResources) *f; if (f) return 0;
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_compile "$LINENO"; then :
11994 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
11996 else
11997 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
11999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12004 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12005 case "x$with_xrandr" in
12006 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12007 xno) ;;
12008 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12009 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12010 esac
12014 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12015 then
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12018 #include <X11/Xlib.h>
12019 #include <X11/extensions/Xfixes.h>
12021 main ()
12023 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12025 return 0;
12027 _ACEOF
12028 if ac_fn_c_try_compile "$LINENO"; then :
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12030 $as_echo_n "checking for -lXfixes... " >&6; }
12031 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12032 $as_echo_n "(cached) " >&6
12033 else
12034 ac_check_soname_save_LIBS=$LIBS
12035 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char XFixesQueryVersion ();
12047 main ()
12049 return XFixesQueryVersion ();
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"; then :
12055 case "$LIBEXT" in
12056 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12057 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'` ;;
12058 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12059 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12060 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12061 fi ;;
12062 esac
12063 else
12064 ac_cv_lib_soname_Xfixes=
12066 rm -f core conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_soname_save_LIBS
12070 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12072 $as_echo "not found" >&6; }
12074 else
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12076 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12078 cat >>confdefs.h <<_ACEOF
12079 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12080 _ACEOF
12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12087 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12088 case "x$with_xfixes" in
12089 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12090 xno) ;;
12091 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12092 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12093 esac
12097 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12098 then
12099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12101 #include <X11/Xlib.h>
12102 #include <X11/extensions/Xinerama.h>
12104 main ()
12106 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12108 return 0;
12110 _ACEOF
12111 if ac_fn_c_try_compile "$LINENO"; then :
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12113 $as_echo_n "checking for -lXinerama... " >&6; }
12114 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12115 $as_echo_n "(cached) " >&6
12116 else
12117 ac_check_soname_save_LIBS=$LIBS
12118 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12125 #ifdef __cplusplus
12126 extern "C"
12127 #endif
12128 char XineramaQueryScreens ();
12130 main ()
12132 return XineramaQueryScreens ();
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_link "$LINENO"; then :
12138 case "$LIBEXT" in
12139 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12140 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'` ;;
12141 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12142 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12143 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12144 fi ;;
12145 esac
12146 else
12147 ac_cv_lib_soname_Xinerama=
12149 rm -f core conftest.err conftest.$ac_objext \
12150 conftest$ac_exeext conftest.$ac_ext
12151 LIBS=$ac_check_soname_save_LIBS
12153 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12155 $as_echo "not found" >&6; }
12157 else
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12159 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12161 cat >>confdefs.h <<_ACEOF
12162 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12163 _ACEOF
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12170 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12171 case "x$with_xinerama" in
12172 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12173 xno) ;;
12174 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12175 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12176 esac
12180 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12181 then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12183 $as_echo_n "checking for -lXcomposite... " >&6; }
12184 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12185 $as_echo_n "(cached) " >&6
12186 else
12187 ac_check_soname_save_LIBS=$LIBS
12188 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 #ifdef __cplusplus
12196 extern "C"
12197 #endif
12198 char XCompositeRedirectWindow ();
12200 main ()
12202 return XCompositeRedirectWindow ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"; then :
12208 case "$LIBEXT" in
12209 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12210 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'` ;;
12211 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12212 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12213 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12214 fi ;;
12215 esac
12216 else
12217 ac_cv_lib_soname_Xcomposite=
12219 rm -f core conftest.err conftest.$ac_objext \
12220 conftest$ac_exeext conftest.$ac_ext
12221 LIBS=$ac_check_soname_save_LIBS
12223 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12225 $as_echo "not found" >&6; }
12227 else
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12229 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12231 cat >>confdefs.h <<_ACEOF
12232 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12233 _ACEOF
12238 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12239 case "x$with_xcomposite" in
12240 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12241 xno) ;;
12242 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12243 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12244 esac
12248 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12249 #include <X11/Xlib.h>
12250 #endif
12252 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12254 cat >>confdefs.h <<_ACEOF
12255 #define HAVE_XICCALLBACK_CALLBACK 1
12256 _ACEOF
12260 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12261 #include <X11/Xlib.h>
12262 #endif
12264 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12266 cat >>confdefs.h <<_ACEOF
12267 #define HAVE_XEVENT_XCOOKIE 1
12268 _ACEOF
12275 opengl_msg=""
12276 if test "x$with_opengl" != "xno"
12277 then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12279 $as_echo_n "checking for -lGL... " >&6; }
12280 if ${ac_cv_lib_soname_GL+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_soname_save_LIBS=$LIBS
12284 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char glXCreateContext ();
12296 main ()
12298 return glXCreateContext ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 case "$LIBEXT" in
12305 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12306 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'` ;;
12307 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12308 if ${ac_cv_lib_soname_GL:+false} :; then :
12309 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12310 fi ;;
12311 esac
12312 else
12313 ac_cv_lib_soname_GL=
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_soname_save_LIBS
12319 if ${ac_cv_lib_soname_GL:+false} :; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12321 $as_echo "not found" >&6; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12323 $as_echo_n "checking for -lGL... " >&6; }
12324 if ${ac_cv_lib_soname_GL+:} false; then :
12325 $as_echo_n "(cached) " >&6
12326 else
12327 ac_check_soname_save_LIBS=$LIBS
12328 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"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char glXCreateContext ();
12340 main ()
12342 return glXCreateContext ();
12344 return 0;
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 case "$LIBEXT" in
12349 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12350 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'` ;;
12351 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12352 if ${ac_cv_lib_soname_GL:+false} :; then :
12353 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12354 fi ;;
12355 esac
12356 else
12357 ac_cv_lib_soname_GL=
12359 rm -f core conftest.err conftest.$ac_objext \
12360 conftest$ac_exeext conftest.$ac_ext
12361 LIBS=$ac_check_soname_save_LIBS
12363 if ${ac_cv_lib_soname_GL:+false} :; then :
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12365 $as_echo "not found" >&6; }
12366 if test -f /usr/X11R6/lib/libGL.a
12367 then
12368 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12369 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12370 else
12371 opengl_msg="No OpenGL library found on this system."
12373 else
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12375 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12379 _ACEOF
12381 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"
12383 else
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12385 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12387 cat >>confdefs.h <<_ACEOF
12388 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12389 _ACEOF
12391 OPENGL_LIBS="-lGL"
12393 if test "x$with_glu" != "xno"
12394 then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12396 $as_echo_n "checking for -lGLU... " >&6; }
12397 if ${ac_cv_lib_soname_GLU+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_soname_save_LIBS=$LIBS
12401 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char gluLookAt ();
12413 main ()
12415 return gluLookAt ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 case "$LIBEXT" in
12422 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if ${ac_cv_lib_soname_GLU:+false} :; then :
12426 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 fi ;;
12428 esac
12429 else
12430 ac_cv_lib_soname_GLU=
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_soname_save_LIBS
12436 if ${ac_cv_lib_soname_GLU:+false} :; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12438 $as_echo "not found" >&6; }
12440 else
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12442 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12444 cat >>confdefs.h <<_ACEOF
12445 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12446 _ACEOF
12450 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12451 case "x$with_glu" in
12452 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12453 xno) ;;
12454 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12455 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12456 esac
12461 if test "x$with_osmesa" != "xno"
12462 then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12464 $as_echo_n "checking for -lOSMesa... " >&6; }
12465 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12466 $as_echo_n "(cached) " >&6
12467 else
12468 ac_check_soname_save_LIBS=$LIBS
12469 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12476 #ifdef __cplusplus
12477 extern "C"
12478 #endif
12479 char OSMesaGetProcAddress ();
12481 main ()
12483 return OSMesaGetProcAddress ();
12485 return 0;
12487 _ACEOF
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 case "$LIBEXT" in
12490 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12491 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'` ;;
12492 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12493 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12494 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12495 fi ;;
12496 esac
12497 else
12498 ac_cv_lib_soname_OSMesa=
12500 rm -f core conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502 LIBS=$ac_check_soname_save_LIBS
12504 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12506 $as_echo "not found" >&6; }
12508 else
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12510 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12512 cat >>confdefs.h <<_ACEOF
12513 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12514 _ACEOF
12518 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12519 case "x$with_osmesa" in
12520 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12521 xno) ;;
12522 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12523 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12524 esac
12529 if test -n "$opengl_msg"; then :
12530 case "x$with_opengl" in
12531 x) as_fn_append wine_warnings "|$opengl_msg
12532 OpenGL and Direct3D won't be supported." ;;
12533 xno) ;;
12534 *) as_fn_error $? "$opengl_msg
12535 OpenGL and Direct3D won't be supported.
12536 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12537 esac
12541 CPPFLAGS="$ac_save_CPPFLAGS"
12542 else
12543 X_CFLAGS=""
12544 X_LIBS=""
12547 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12548 then
12549 if test "x$X_LIBS" = "x"; then :
12550 case "x$with_x" in
12551 xno) ;;
12552 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12553 without X support, which probably isn't what you want. You will need
12554 to install ${notice_platform}development packages of Xlib at the very least.
12555 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12556 esac
12557 enable_winex11_drv=${enable_winex11_drv:-no}
12559 else
12560 if test "x$X_LIBS" = "x"; then :
12561 case "x$with_x" in
12562 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12563 xno) ;;
12564 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12565 This is an error since --with-x was requested." "$LINENO" 5 ;;
12566 esac
12567 enable_winex11_drv=${enable_winex11_drv:-no}
12571 if test "$ac_cv_header_CL_cl_h" = "yes"
12572 then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12574 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12575 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-lOpenCL $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12586 #ifdef __cplusplus
12587 extern "C"
12588 #endif
12589 char clGetPlatformInfo ();
12591 main ()
12593 return clGetPlatformInfo ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12600 else
12601 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12608 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12609 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12610 OPENCL_LIBS="-lOpenCL"
12615 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12616 case "x$with_opencl" in
12617 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12618 xno) ;;
12619 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12620 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12621 esac
12622 enable_opencl=${enable_opencl:-no}
12625 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12626 then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12628 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12629 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_lib_save_LIBS=$LIBS
12633 LIBS="-lpcap $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char pcap_create ();
12645 main ()
12647 return pcap_create ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 ac_cv_lib_pcap_pcap_create=yes
12654 else
12655 ac_cv_lib_pcap_pcap_create=no
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_lib_save_LIBS
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12662 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12663 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12664 PCAP_LIBS="-lpcap"
12669 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12670 case "x$with_pcap" in
12671 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12672 xno) ;;
12673 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12674 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12675 esac
12676 enable_wpcap=${enable_wpcap:-no}
12680 if test "x$with_xml" != "xno"
12681 then
12682 if ${XML2_CFLAGS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12687 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12688 if ${XML2_LIBS:+false} :; then :
12689 if ${PKG_CONFIG+:} false; then :
12690 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12693 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12694 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12695 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12697 ac_save_CPPFLAGS=$CPPFLAGS
12698 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12699 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12700 do :
12701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12702 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12704 cat >>confdefs.h <<_ACEOF
12705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12706 _ACEOF
12710 done
12712 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"
12713 then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12715 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12716 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12717 $as_echo_n "(cached) " >&6
12718 else
12719 ac_check_lib_save_LIBS=$LIBS
12720 LIBS="-lxml2 $XML2_LIBS $LIBS"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 char xmlParseMemory ();
12732 main ()
12734 return xmlParseMemory ();
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_link "$LINENO"; then :
12740 ac_cv_lib_xml2_xmlParseMemory=yes
12741 else
12742 ac_cv_lib_xml2_xmlParseMemory=no
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12749 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12750 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12752 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12754 else
12755 XML2_LIBS=""
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12759 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12760 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12761 $as_echo_n "(cached) " >&6
12762 else
12763 ac_check_lib_save_LIBS=$LIBS
12764 LIBS="-lxml2 $XML2_LIBS $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 #ifdef __cplusplus
12772 extern "C"
12773 #endif
12774 char xmlReadMemory ();
12776 main ()
12778 return xmlReadMemory ();
12780 return 0;
12782 _ACEOF
12783 if ac_fn_c_try_link "$LINENO"; then :
12784 ac_cv_lib_xml2_xmlReadMemory=yes
12785 else
12786 ac_cv_lib_xml2_xmlReadMemory=no
12788 rm -f core conftest.err conftest.$ac_objext \
12789 conftest$ac_exeext conftest.$ac_ext
12790 LIBS=$ac_check_lib_save_LIBS
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12793 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12794 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12796 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12801 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12802 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12803 $as_echo_n "(cached) " >&6
12804 else
12805 ac_check_lib_save_LIBS=$LIBS
12806 LIBS="-lxml2 $XML2_LIBS $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 char xmlNewDocPI ();
12818 main ()
12820 return xmlNewDocPI ();
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_lib_xml2_xmlNewDocPI=yes
12827 else
12828 ac_cv_lib_xml2_xmlNewDocPI=no
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12835 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12836 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12838 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12843 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12844 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lxml2 $XML2_LIBS $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char xmlSchemaSetParserStructuredErrors ();
12860 main ()
12862 return xmlSchemaSetParserStructuredErrors ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12869 else
12870 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12877 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12878 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12880 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12885 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12886 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lxml2 $XML2_LIBS $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char xmlSchemaSetValidStructuredErrors ();
12902 main ()
12904 return xmlSchemaSetValidStructuredErrors ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12911 else
12912 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12919 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12920 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12922 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12927 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12928 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_lib_save_LIBS=$LIBS
12932 LIBS="-lxml2 $XML2_LIBS $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char xmlFirstElementChild ();
12944 main ()
12946 return xmlFirstElementChild ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 ac_cv_lib_xml2_xmlFirstElementChild=yes
12953 else
12954 ac_cv_lib_xml2_xmlFirstElementChild=no
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_lib_save_LIBS
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12961 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12962 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12964 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12968 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12970 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12972 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12976 else
12977 XML2_CFLAGS=""
12978 XML2_LIBS=""
12980 CPPFLAGS=$ac_save_CPPFLAGS
12981 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12982 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12985 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12986 case "x$with_xml" in
12987 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12988 xno) ;;
12989 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12990 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12991 esac
12995 if test "x$with_xslt" != "xno"
12996 then
12997 if ${XSLT_CFLAGS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13002 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13003 if ${XSLT_LIBS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13008 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13009 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13012 ac_save_CPPFLAGS=$CPPFLAGS
13013 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13014 for ac_header in libxslt/pattern.h libxslt/transform.h
13015 do :
13016 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13017 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13018 # include <libxslt/pattern.h>
13019 #endif
13021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13022 cat >>confdefs.h <<_ACEOF
13023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13024 _ACEOF
13028 done
13030 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13031 then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13033 $as_echo_n "checking for -lxslt... " >&6; }
13034 if ${ac_cv_lib_soname_xslt+:} false; then :
13035 $as_echo_n "(cached) " >&6
13036 else
13037 ac_check_soname_save_LIBS=$LIBS
13038 LIBS="-lxslt $XSLT_LIBS $LIBS"
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13045 #ifdef __cplusplus
13046 extern "C"
13047 #endif
13048 char xsltCompilePattern ();
13050 main ()
13052 return xsltCompilePattern ();
13054 return 0;
13056 _ACEOF
13057 if ac_fn_c_try_link "$LINENO"; then :
13058 case "$LIBEXT" in
13059 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13060 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'` ;;
13061 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13062 if ${ac_cv_lib_soname_xslt:+false} :; then :
13063 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13064 fi ;;
13065 esac
13066 else
13067 ac_cv_lib_soname_xslt=
13069 rm -f core conftest.err conftest.$ac_objext \
13070 conftest$ac_exeext conftest.$ac_ext
13071 LIBS=$ac_check_soname_save_LIBS
13073 if ${ac_cv_lib_soname_xslt:+false} :; then :
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13075 $as_echo "not found" >&6; }
13077 else
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13079 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13081 cat >>confdefs.h <<_ACEOF
13082 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13083 _ACEOF
13087 else
13088 XSLT_CFLAGS=""
13090 CPPFLAGS=$ac_save_CPPFLAGS
13091 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13092 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13095 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13096 case "x$with_xslt" in
13097 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13098 xno) ;;
13099 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13100 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13101 esac
13105 if test "x$with_inotify" != "xno"
13106 then
13107 if ${INOTIFY_CFLAGS:+false} :; then :
13108 if ${PKG_CONFIG+:} false; then :
13109 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13113 if ${INOTIFY_LIBS:+false} :; then :
13114 if ${PKG_CONFIG+:} false; then :
13115 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13120 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13121 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13122 ac_save_CPPFLAGS=$CPPFLAGS
13123 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13124 for ac_header in sys/inotify.h
13125 do :
13126 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13127 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13128 cat >>confdefs.h <<_ACEOF
13129 #define HAVE_SYS_INOTIFY_H 1
13130 _ACEOF
13134 done
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13137 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13138 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 ac_check_lib_save_LIBS=$LIBS
13142 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13149 #ifdef __cplusplus
13150 extern "C"
13151 #endif
13152 char inotify_add_watch ();
13154 main ()
13156 return inotify_add_watch ();
13158 return 0;
13160 _ACEOF
13161 if ac_fn_c_try_link "$LINENO"; then :
13162 ac_cv_lib_inotify_inotify_add_watch=yes
13163 else
13164 ac_cv_lib_inotify_inotify_add_watch=no
13166 rm -f core conftest.err conftest.$ac_objext \
13167 conftest$ac_exeext conftest.$ac_ext
13168 LIBS=$ac_check_lib_save_LIBS
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13171 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13172 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13174 else
13175 INOTIFY_LIBS=""
13178 CPPFLAGS=$ac_save_CPPFLAGS
13179 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13180 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13183 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13184 case "x$with_inotify" in
13185 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13186 xno) ;;
13187 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13188 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13189 esac
13193 if test "x$with_dbus" != "xno"
13194 then
13195 if ${DBUS_CFLAGS:+false} :; then :
13196 if ${PKG_CONFIG+:} false; then :
13197 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13201 if ${DBUS_LIBS:+false} :; then :
13202 if ${PKG_CONFIG+:} false; then :
13203 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13208 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13209 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13210 ac_save_CPPFLAGS=$CPPFLAGS
13211 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13212 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13215 $as_echo_n "checking for -ldbus-1... " >&6; }
13216 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13217 $as_echo_n "(cached) " >&6
13218 else
13219 ac_check_soname_save_LIBS=$LIBS
13220 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13222 /* end confdefs.h. */
13224 /* Override any GCC internal prototype to avoid an error.
13225 Use char because int might match the return type of a GCC
13226 builtin and then its argument prototype would still apply. */
13227 #ifdef __cplusplus
13228 extern "C"
13229 #endif
13230 char dbus_connection_close ();
13232 main ()
13234 return dbus_connection_close ();
13236 return 0;
13238 _ACEOF
13239 if ac_fn_c_try_link "$LINENO"; then :
13240 case "$LIBEXT" in
13241 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13242 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'` ;;
13243 *) 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'`
13244 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13245 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13246 fi ;;
13247 esac
13248 else
13249 ac_cv_lib_soname_dbus_1=
13251 rm -f core conftest.err conftest.$ac_objext \
13252 conftest$ac_exeext conftest.$ac_ext
13253 LIBS=$ac_check_soname_save_LIBS
13255 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13257 $as_echo "not found" >&6; }
13258 DBUS_CFLAGS=""
13259 else
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13261 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13263 cat >>confdefs.h <<_ACEOF
13264 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13265 _ACEOF
13269 else
13270 DBUS_CFLAGS=""
13274 CPPFLAGS=$ac_save_CPPFLAGS
13275 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13276 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13279 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13280 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13281 case "x$with_dbus" in
13282 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13283 xno) ;;
13284 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13285 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13286 esac
13290 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13291 then
13292 if ${HAL_CFLAGS:+false} :; then :
13293 if ${PKG_CONFIG+:} false; then :
13294 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13298 if ${HAL_LIBS:+false} :; then :
13299 if ${PKG_CONFIG+:} false; then :
13300 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13304 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13305 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13306 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13307 ac_save_CPPFLAGS=$CPPFLAGS
13308 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13309 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13310 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13312 $as_echo_n "checking for -lhal... " >&6; }
13313 if ${ac_cv_lib_soname_hal+:} false; then :
13314 $as_echo_n "(cached) " >&6
13315 else
13316 ac_check_soname_save_LIBS=$LIBS
13317 LIBS="-lhal $HAL_LIBS $LIBS"
13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13324 #ifdef __cplusplus
13325 extern "C"
13326 #endif
13327 char libhal_ctx_new ();
13329 main ()
13331 return libhal_ctx_new ();
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_link "$LINENO"; then :
13337 case "$LIBEXT" in
13338 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13339 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'` ;;
13340 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13341 if ${ac_cv_lib_soname_hal:+false} :; then :
13342 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13343 fi ;;
13344 esac
13345 else
13346 ac_cv_lib_soname_hal=
13348 rm -f core conftest.err conftest.$ac_objext \
13349 conftest$ac_exeext conftest.$ac_ext
13350 LIBS=$ac_check_soname_save_LIBS
13352 if ${ac_cv_lib_soname_hal:+false} :; then :
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13354 $as_echo "not found" >&6; }
13355 HAL_CFLAGS=""
13356 else
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13358 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13360 cat >>confdefs.h <<_ACEOF
13361 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13362 _ACEOF
13366 else
13367 HAL_CFLAGS=""
13371 CPPFLAGS=$ac_save_CPPFLAGS
13372 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13373 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13375 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13376 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13377 case "x$with_hal" in
13378 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13379 xno) ;;
13380 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13381 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13382 esac
13387 if test "x$with_gnutls" != "xno"
13388 then
13389 if ${GNUTLS_CFLAGS:+false} :; then :
13390 if ${PKG_CONFIG+:} false; then :
13391 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13395 if ${GNUTLS_LIBS:+false} :; then :
13396 if ${PKG_CONFIG+:} false; then :
13397 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13402 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13403 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13404 ac_save_CPPFLAGS=$CPPFLAGS
13405 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13406 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13407 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13410 #include <gnutls/gnutls.h>
13411 #include <gnutls/crypto.h>
13413 main ()
13415 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_compile "$LINENO"; then :
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13422 $as_echo_n "checking for -lgnutls... " >&6; }
13423 if ${ac_cv_lib_soname_gnutls+:} false; then :
13424 $as_echo_n "(cached) " >&6
13425 else
13426 ac_check_soname_save_LIBS=$LIBS
13427 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13431 /* Override any GCC internal prototype to avoid an error.
13432 Use char because int might match the return type of a GCC
13433 builtin and then its argument prototype would still apply. */
13434 #ifdef __cplusplus
13435 extern "C"
13436 #endif
13437 char gnutls_global_init ();
13439 main ()
13441 return gnutls_global_init ();
13443 return 0;
13445 _ACEOF
13446 if ac_fn_c_try_link "$LINENO"; then :
13447 case "$LIBEXT" in
13448 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13449 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'` ;;
13450 *) 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'`
13451 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13452 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'`
13453 fi ;;
13454 esac
13455 else
13456 ac_cv_lib_soname_gnutls=
13458 rm -f core conftest.err conftest.$ac_objext \
13459 conftest$ac_exeext conftest.$ac_ext
13460 LIBS=$ac_check_soname_save_LIBS
13462 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13464 $as_echo "not found" >&6; }
13465 GNUTLS_CFLAGS=""
13466 else
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13468 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13470 cat >>confdefs.h <<_ACEOF
13471 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13472 _ACEOF
13476 ac_wine_check_funcs_save_LIBS="$LIBS"
13477 LIBS="$LIBS $GNUTLS_LIBS"
13478 for ac_func in gnutls_cipher_init
13479 do :
13480 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13481 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13482 cat >>confdefs.h <<_ACEOF
13483 #define HAVE_GNUTLS_CIPHER_INIT 1
13484 _ACEOF
13486 else
13487 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13489 done
13491 LIBS="$ac_wine_check_funcs_save_LIBS"
13493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13494 else
13495 GNUTLS_CFLAGS=""
13499 CPPFLAGS=$ac_save_CPPFLAGS
13500 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13501 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13504 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13505 case "x$with_gnutls" in
13506 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13507 xno) ;;
13508 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13509 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13510 esac
13514 CURSES_LIBS=""
13515 if test "$ac_cv_header_ncurses_h" = "yes"
13516 then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13518 $as_echo_n "checking for -lncurses... " >&6; }
13519 if ${ac_cv_lib_soname_ncurses+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_check_soname_save_LIBS=$LIBS
13523 LIBS="-lncurses $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 char waddch ();
13535 main ()
13537 return waddch ();
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 case "$LIBEXT" in
13544 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13545 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'` ;;
13546 *) 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'`
13547 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13548 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13549 fi ;;
13550 esac
13551 else
13552 ac_cv_lib_soname_ncurses=
13554 rm -f core conftest.err conftest.$ac_objext \
13555 conftest$ac_exeext conftest.$ac_ext
13556 LIBS=$ac_check_soname_save_LIBS
13558 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13560 $as_echo "not found" >&6; }
13562 else
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13564 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13566 cat >>confdefs.h <<_ACEOF
13567 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13568 _ACEOF
13570 CURSES_LIBS="-lncurses"
13572 elif test "$ac_cv_header_curses_h" = "yes"
13573 then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13575 $as_echo_n "checking for -lcurses... " >&6; }
13576 if ${ac_cv_lib_soname_curses+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 ac_check_soname_save_LIBS=$LIBS
13580 LIBS="-lcurses $LIBS"
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13584 /* Override any GCC internal prototype to avoid an error.
13585 Use char because int might match the return type of a GCC
13586 builtin and then its argument prototype would still apply. */
13587 #ifdef __cplusplus
13588 extern "C"
13589 #endif
13590 char waddch ();
13592 main ()
13594 return waddch ();
13596 return 0;
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 case "$LIBEXT" in
13601 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13602 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'` ;;
13603 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13604 if ${ac_cv_lib_soname_curses:+false} :; then :
13605 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13606 fi ;;
13607 esac
13608 else
13609 ac_cv_lib_soname_curses=
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_soname_save_LIBS
13615 if ${ac_cv_lib_soname_curses:+false} :; then :
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13617 $as_echo "not found" >&6; }
13619 else
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13621 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13623 cat >>confdefs.h <<_ACEOF
13624 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13625 _ACEOF
13627 CURSES_LIBS="-lcurses"
13630 ac_save_LIBS="$LIBS"
13631 LIBS="$LIBS $CURSES_LIBS"
13632 for ac_func in mousemask
13633 do :
13634 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13635 if test "x$ac_cv_func_mousemask" = xyes; then :
13636 cat >>confdefs.h <<_ACEOF
13637 #define HAVE_MOUSEMASK 1
13638 _ACEOF
13641 done
13643 LIBS="$ac_save_LIBS"
13644 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13645 case "x$with_curses" in
13646 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13647 xno) ;;
13648 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13649 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13650 esac
13654 if test "x$with_sane" != "xno"
13655 then
13656 if ${SANE_CFLAGS:+false} :; then :
13657 if ${PKG_CONFIG+:} false; then :
13658 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13661 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13662 if ${SANE_LIBS:+false} :; then :
13663 if ${PKG_CONFIG+:} false; then :
13664 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13667 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13669 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13670 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13671 ac_save_CPPFLAGS=$CPPFLAGS
13672 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13673 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13674 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13676 $as_echo_n "checking for -lsane... " >&6; }
13677 if ${ac_cv_lib_soname_sane+:} false; then :
13678 $as_echo_n "(cached) " >&6
13679 else
13680 ac_check_soname_save_LIBS=$LIBS
13681 LIBS="-lsane $SANE_LIBS $LIBS"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13685 /* Override any GCC internal prototype to avoid an error.
13686 Use char because int might match the return type of a GCC
13687 builtin and then its argument prototype would still apply. */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char sane_init ();
13693 main ()
13695 return sane_init ();
13697 return 0;
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 case "$LIBEXT" in
13702 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13703 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'` ;;
13704 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13705 if ${ac_cv_lib_soname_sane:+false} :; then :
13706 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13707 fi ;;
13708 esac
13709 else
13710 ac_cv_lib_soname_sane=
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_soname_save_LIBS
13716 if ${ac_cv_lib_soname_sane:+false} :; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13718 $as_echo "not found" >&6; }
13719 SANE_CFLAGS=""
13720 else
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13722 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13724 cat >>confdefs.h <<_ACEOF
13725 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13726 _ACEOF
13730 else
13731 SANE_CFLAGS=""
13735 CPPFLAGS=$ac_save_CPPFLAGS
13736 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13737 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13740 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13741 case "x$with_sane" in
13742 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13743 xno) ;;
13744 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13745 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13746 esac
13750 if test "x$with_v4l2" != "xno"
13751 then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13753 $as_echo_n "checking for -lv4l2... " >&6; }
13754 if ${ac_cv_lib_soname_v4l2+:} false; then :
13755 $as_echo_n "(cached) " >&6
13756 else
13757 ac_check_soname_save_LIBS=$LIBS
13758 LIBS="-lv4l2 $LIBS"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13762 /* Override any GCC internal prototype to avoid an error.
13763 Use char because int might match the return type of a GCC
13764 builtin and then its argument prototype would still apply. */
13765 #ifdef __cplusplus
13766 extern "C"
13767 #endif
13768 char v4l2_open ();
13770 main ()
13772 return v4l2_open ();
13774 return 0;
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"; then :
13778 case "$LIBEXT" in
13779 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13780 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'` ;;
13781 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13782 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13783 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13784 fi ;;
13785 esac
13786 else
13787 ac_cv_lib_soname_v4l2=
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 LIBS=$ac_check_soname_save_LIBS
13793 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13795 $as_echo "not found" >&6; }
13797 else
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13799 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13801 cat >>confdefs.h <<_ACEOF
13802 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13803 _ACEOF
13808 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13809 case "x$with_v4l2" in
13810 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13811 xno) ;;
13812 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13813 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13814 esac
13818 if test "x$with_gphoto" != "xno"
13819 then
13820 if ${GPHOTO2_CFLAGS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13825 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13826 if ${GPHOTO2_LIBS:+false} :; then :
13827 if ${PKG_CONFIG+:} false; then :
13828 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13831 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13832 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13833 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13834 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13835 ac_save_CPPFLAGS=$CPPFLAGS
13836 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13837 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13838 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13840 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13841 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_check_lib_save_LIBS=$LIBS
13845 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char gp_camera_new ();
13857 main ()
13859 return gp_camera_new ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 ac_cv_lib_gphoto2_gp_camera_new=yes
13866 else
13867 ac_cv_lib_gphoto2_gp_camera_new=no
13869 rm -f core conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_lib_save_LIBS
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13874 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13875 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13877 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13879 else
13880 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13883 else
13884 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13888 CPPFLAGS=$ac_save_CPPFLAGS
13889 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13890 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13892 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13893 if ${PKG_CONFIG+:} false; then :
13894 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13897 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13898 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13899 if ${PKG_CONFIG+:} false; then :
13900 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13903 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13904 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13905 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13906 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13907 ac_save_CPPFLAGS=$CPPFLAGS
13908 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13909 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13910 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13912 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13913 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_check_lib_save_LIBS=$LIBS
13917 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 char gp_port_info_list_new ();
13929 main ()
13931 return gp_port_info_list_new ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13938 else
13939 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13941 rm -f core conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13943 LIBS=$ac_check_lib_save_LIBS
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13946 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13947 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13949 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13951 else
13952 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13955 else
13956 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13960 CPPFLAGS=$ac_save_CPPFLAGS
13961 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13962 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13965 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13966 case "x$with_gphoto" in
13967 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13968 xno) ;;
13969 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13970 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13971 esac
13974 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13975 case "x$with_gphoto" in
13976 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13977 xno) ;;
13978 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13979 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13980 esac
13985 if test "$ac_cv_header_resolv_h" = "yes"
13986 then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13988 $as_echo_n "checking for resolver library... " >&6; }
13989 if ${ac_cv_have_resolv+:} false; then :
13990 $as_echo_n "(cached) " >&6
13991 else
13992 ac_save_LIBS="$LIBS"
13993 for lib in '' -lresolv
13995 LIBS="$lib $ac_save_LIBS"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 #ifdef HAVE_NETINET_IN_H
13999 #include <netinet/in.h>
14000 #endif
14001 #include <resolv.h>
14003 main ()
14005 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_have_resolv=${lib:-"none required"}
14012 else
14013 ac_cv_have_resolv="not found"
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 test "x$ac_cv_have_resolv" = "xnot found" || break
14018 done
14019 LIBS="$ac_save_LIBS"
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14022 $as_echo "$ac_cv_have_resolv" >&6; }
14024 case "$ac_cv_have_resolv" in
14025 "not found") ;;
14026 "none required")
14028 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14031 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14033 RESOLV_LIBS=$ac_cv_have_resolv
14035 esac
14038 if test "x$with_cms" != "xno"
14039 then
14040 if ${LCMS2_CFLAGS:+false} :; then :
14041 if ${PKG_CONFIG+:} false; then :
14042 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14046 if ${LCMS2_LIBS:+false} :; then :
14047 if ${PKG_CONFIG+:} false; then :
14048 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14052 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14053 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14054 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14055 ac_save_CPPFLAGS=$CPPFLAGS
14056 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14057 for ac_header in lcms2.h
14058 do :
14059 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14060 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14061 cat >>confdefs.h <<_ACEOF
14062 #define HAVE_LCMS2_H 1
14063 _ACEOF
14067 done
14069 if test "$ac_cv_header_lcms2_h" = "yes"
14070 then
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14072 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14073 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14074 $as_echo_n "(cached) " >&6
14075 else
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char cmsOpenProfileFromFile ();
14089 main ()
14091 return cmsOpenProfileFromFile ();
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14098 else
14099 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 LIBS=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14106 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14107 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14109 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14111 else
14112 LCMS2_LIBS=""
14115 else
14116 LCMS2_CFLAGS=""
14117 LCMS2_LIBS=""
14119 CPPFLAGS=$ac_save_CPPFLAGS
14120 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14121 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14124 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14125 case "x$with_cms" in
14126 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14127 xno) ;;
14128 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14129 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14130 esac
14134 if test "x$with_freetype" != "xno"
14135 then
14136 if ${FREETYPE_CFLAGS:+false} :; then :
14137 if ${PKG_CONFIG+:} false; then :
14138 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14141 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14142 if ${FREETYPE_LIBS:+false} :; then :
14143 if ${PKG_CONFIG+:} false; then :
14144 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14147 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14148 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14149 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14150 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14151 ac_save_CPPFLAGS=$CPPFLAGS
14152 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14153 for ac_header in ft2build.h
14154 do :
14155 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14156 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14157 cat >>confdefs.h <<_ACEOF
14158 #define HAVE_FT2BUILD_H 1
14159 _ACEOF
14163 done
14165 if test "$ac_cv_header_ft2build_h" = "yes"
14166 then
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14168 $as_echo_n "checking for -lfreetype... " >&6; }
14169 if ${ac_cv_lib_soname_freetype+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 ac_check_soname_save_LIBS=$LIBS
14173 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14177 /* Override any GCC internal prototype to avoid an error.
14178 Use char because int might match the return type of a GCC
14179 builtin and then its argument prototype would still apply. */
14180 #ifdef __cplusplus
14181 extern "C"
14182 #endif
14183 char FT_Init_FreeType ();
14185 main ()
14187 return FT_Init_FreeType ();
14189 return 0;
14191 _ACEOF
14192 if ac_fn_c_try_link "$LINENO"; then :
14193 case "$LIBEXT" in
14194 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14195 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'` ;;
14196 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14197 if ${ac_cv_lib_soname_freetype:+false} :; then :
14198 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14199 fi ;;
14200 esac
14201 else
14202 ac_cv_lib_soname_freetype=
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS=$ac_check_soname_save_LIBS
14208 if ${ac_cv_lib_soname_freetype:+false} :; then :
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14210 $as_echo "not found" >&6; }
14211 FREETYPE_LIBS=""
14212 else
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14214 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14216 cat >>confdefs.h <<_ACEOF
14217 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14218 _ACEOF
14221 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14223 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14224 #include FT_MODULE_H
14226 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14228 cat >>confdefs.h <<_ACEOF
14229 #define HAVE_FT_TRUETYPEENGINETYPE 1
14230 _ACEOF
14236 else
14237 FREETYPE_CFLAGS=""
14238 FREETYPE_LIBS=""
14240 CPPFLAGS=$ac_save_CPPFLAGS
14241 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14242 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14245 if test "x$ac_cv_lib_soname_freetype" = x; then :
14246 case "x$with_freetype" in
14247 xno) ;;
14248 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14249 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14250 esac
14251 enable_fonts=${enable_fonts:-no}
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14255 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14256 if ${ac_cv_c_ppdev+:} false; then :
14257 $as_echo_n "(cached) " >&6
14258 else
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 #ifdef HAVE_SYS_IOCTL_H
14262 # include <sys/ioctl.h>
14263 #endif
14264 #include <linux/ppdev.h>
14266 main ()
14268 ioctl (1,PPCLAIM,0)
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_compile "$LINENO"; then :
14274 ac_cv_c_ppdev="yes"
14275 else
14276 ac_cv_c_ppdev="no"
14278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14281 $as_echo "$ac_cv_c_ppdev" >&6; }
14282 if test "$ac_cv_c_ppdev" = "yes"
14283 then
14285 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14289 ac_wine_check_funcs_save_LIBS="$LIBS"
14290 LIBS="$LIBS $PTHREAD_LIBS"
14291 for ac_func in \
14292 pthread_getthreadid_np
14293 do :
14294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14297 cat >>confdefs.h <<_ACEOF
14298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14299 _ACEOF
14302 done
14304 LIBS="$ac_wine_check_funcs_save_LIBS"
14306 if test "x$with_zlib" != "xno"
14307 then
14308 if ${Z_CFLAGS:+false} :; then :
14309 if ${PKG_CONFIG+:} false; then :
14310 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14314 if ${Z_LIBS:+false} :; then :
14315 if ${PKG_CONFIG+:} false; then :
14316 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14320 Z_LIBS=${Z_LIBS:-"-lz"}
14321 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14322 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14323 ac_save_CPPFLAGS=$CPPFLAGS
14324 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14325 for ac_header in zlib.h
14326 do :
14327 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14328 if test "x$ac_cv_header_zlib_h" = xyes; then :
14329 cat >>confdefs.h <<_ACEOF
14330 #define HAVE_ZLIB_H 1
14331 _ACEOF
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14333 $as_echo_n "checking for inflate in -lz... " >&6; }
14334 if ${ac_cv_lib_z_inflate+:} false; then :
14335 $as_echo_n "(cached) " >&6
14336 else
14337 ac_check_lib_save_LIBS=$LIBS
14338 LIBS="-lz $Z_LIBS $LIBS"
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14342 /* Override any GCC internal prototype to avoid an error.
14343 Use char because int might match the return type of a GCC
14344 builtin and then its argument prototype would still apply. */
14345 #ifdef __cplusplus
14346 extern "C"
14347 #endif
14348 char inflate ();
14350 main ()
14352 return inflate ();
14354 return 0;
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_lib_z_inflate=yes
14359 else
14360 ac_cv_lib_z_inflate=no
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 LIBS=$ac_check_lib_save_LIBS
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14367 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14368 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14370 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14372 else
14373 Z_LIBS=""
14376 else
14377 Z_LIBS=""
14380 done
14382 CPPFLAGS=$ac_save_CPPFLAGS
14383 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14384 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14387 if test "x$Z_LIBS" = "x"; then :
14388 case "x$with_zlib" in
14389 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14390 xno) ;;
14391 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14392 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14393 esac
14397 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14398 then
14399 if test "$ac_cv_header_gettext_po_h" = "yes"
14400 then
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14402 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14403 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_check_lib_save_LIBS=$LIBS
14407 LIBS="-lgettextpo $LIBS"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 /* Override any GCC internal prototype to avoid an error.
14412 Use char because int might match the return type of a GCC
14413 builtin and then its argument prototype would still apply. */
14414 #ifdef __cplusplus
14415 extern "C"
14416 #endif
14417 char po_message_msgctxt ();
14419 main ()
14421 return po_message_msgctxt ();
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14428 else
14429 ac_cv_lib_gettextpo_po_message_msgctxt=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 LIBS=$ac_check_lib_save_LIBS
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14436 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14437 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14439 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14441 GETTEXTPO_LIBS="-lgettextpo"
14446 if test "x$GETTEXTPO_LIBS" = "x"; then :
14447 case "x$with_gettextpo" in
14448 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14449 xno) ;;
14450 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14451 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14452 esac
14455 if test "$srcdir" != .; then :
14456 case "x$with_gettextpo" in
14457 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14458 xno) ;;
14459 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14460 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14461 esac
14466 if test "x$with_pulse" != "xno";
14467 then
14468 if ${PULSE_CFLAGS:+false} :; then :
14469 if ${PKG_CONFIG+:} false; then :
14470 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14474 if ${PULSE_LIBS:+false} :; then :
14475 if ${PKG_CONFIG+:} false; then :
14476 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14481 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14482 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14483 ac_save_CPPFLAGS=$CPPFLAGS
14484 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14485 for ac_header in pulse/pulseaudio.h
14486 do :
14487 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14488 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14489 cat >>confdefs.h <<_ACEOF
14490 #define HAVE_PULSE_PULSEAUDIO_H 1
14491 _ACEOF
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14493 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14494 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 ac_check_lib_save_LIBS=$LIBS
14498 LIBS="-lpulse $PULSE_LIBS $LIBS"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 #ifdef __cplusplus
14506 extern "C"
14507 #endif
14508 char pa_stream_is_corked ();
14510 main ()
14512 return pa_stream_is_corked ();
14514 return 0;
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_lib_pulse_pa_stream_is_corked=yes
14519 else
14520 ac_cv_lib_pulse_pa_stream_is_corked=no
14522 rm -f core conftest.err conftest.$ac_objext \
14523 conftest$ac_exeext conftest.$ac_ext
14524 LIBS=$ac_check_lib_save_LIBS
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14527 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14528 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14530 else
14531 PULSE_LIBS=""
14534 else
14535 PULSE_LIBS=""
14538 done
14540 CPPFLAGS=$ac_save_CPPFLAGS
14541 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14542 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14545 if test -z "$PULSE_LIBS"; then :
14546 case "x$with_pulse" in
14547 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14548 xno) ;;
14549 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14550 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14551 esac
14552 enable_winepulse_drv=${enable_winepulse_drv:-no}
14555 if test "x$with_gstreamer" != "xno"
14556 then
14557 if ${GSTREAMER_CFLAGS:+false} :; then :
14558 if ${PKG_CONFIG+:} false; then :
14559 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14563 if ${GSTREAMER_LIBS:+false} :; then :
14564 if ${PKG_CONFIG+:} false; then :
14565 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14570 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14571 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14572 ac_save_CPPFLAGS=$CPPFLAGS
14573 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14574 ac_gst_incl=""
14575 for i in $GSTREAMER_CFLAGS
14577 case "$i" in
14578 -I*) ac_gst_incl="$ac_gst_incl $i";;
14579 esac
14580 done
14581 GSTREAMER_CFLAGS=$ac_gst_incl
14582 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14583 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14584 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14586 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14589 #include <gst/gst.h>
14591 main ()
14593 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14595 return 0;
14597 _ACEOF
14598 if ac_fn_c_try_compile "$LINENO"; then :
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14600 $as_echo "yes" >&6; }
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14602 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14603 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14604 $as_echo_n "(cached) " >&6
14605 else
14606 ac_check_lib_save_LIBS=$LIBS
14607 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14614 #ifdef __cplusplus
14615 extern "C"
14616 #endif
14617 char gst_pad_new ();
14619 main ()
14621 return gst_pad_new ();
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14628 else
14629 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 LIBS=$ac_check_lib_save_LIBS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14636 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14637 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14641 else
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14643 $as_echo "no" >&6; }
14644 ac_glib2_broken=yes
14645 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14651 CPPFLAGS=$ac_save_CPPFLAGS
14652 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14653 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14656 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 :
14657 case "x$with_gstreamer" in
14658 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14659 xno) ;;
14660 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14661 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14662 esac
14665 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14667 ALSA_LIBS=""
14669 if test "x$with_alsa" != "xno"
14670 then
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14672 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14673 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14674 $as_echo_n "(cached) " >&6
14675 else
14676 ac_check_lib_save_LIBS=$LIBS
14677 LIBS="-lasound $LIBS"
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14681 /* Override any GCC internal prototype to avoid an error.
14682 Use char because int might match the return type of a GCC
14683 builtin and then its argument prototype would still apply. */
14684 #ifdef __cplusplus
14685 extern "C"
14686 #endif
14687 char snd_pcm_hw_params_get_access_mask ();
14689 main ()
14691 return snd_pcm_hw_params_get_access_mask ();
14693 return 0;
14695 _ACEOF
14696 if ac_fn_c_try_link "$LINENO"; then :
14697 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14698 else
14699 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14701 rm -f core conftest.err conftest.$ac_objext \
14702 conftest$ac_exeext conftest.$ac_ext
14703 LIBS=$ac_check_lib_save_LIBS
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14706 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14707 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14710 #include <alsa/asoundlib.h>
14712 main ()
14714 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14716 return 0;
14718 _ACEOF
14719 if ac_fn_c_try_compile "$LINENO"; then :
14720 ALSA_LIBS="-lasound"
14722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14726 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14728 if test "x$with_oss" != xno
14729 then
14730 ac_save_CPPFLAGS="$CPPFLAGS"
14731 if test -f /etc/oss.conf
14732 then
14733 . /etc/oss.conf
14735 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14736 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14737 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14738 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14739 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14741 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14743 cat >>confdefs.h <<_ACEOF
14744 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14745 _ACEOF
14747 OSS4_CFLAGS="$ac_oss_incl"
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14750 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14751 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 ac_check_lib_save_LIBS=$LIBS
14755 LIBS="-lossaudio $LIBS"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 #ifdef __cplusplus
14763 extern "C"
14764 #endif
14765 char _oss_ioctl ();
14767 main ()
14769 return _oss_ioctl ();
14771 return 0;
14773 _ACEOF
14774 if ac_fn_c_try_link "$LINENO"; then :
14775 ac_cv_lib_ossaudio__oss_ioctl=yes
14776 else
14777 ac_cv_lib_ossaudio__oss_ioctl=no
14779 rm -f core conftest.err conftest.$ac_objext \
14780 conftest$ac_exeext conftest.$ac_ext
14781 LIBS=$ac_check_lib_save_LIBS
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14784 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14785 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14786 OSS4_LIBS="-lossaudio"
14795 CPPFLAGS="$ac_save_CPPFLAGS"
14797 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14798 case "x$with_oss" in
14799 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14800 xno) ;;
14801 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14802 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14803 esac
14804 enable_wineoss_drv=${enable_wineoss_drv:-no}
14807 if test "x$with_udev" != "xno"
14808 then
14809 if ${UDEV_CFLAGS:+false} :; then :
14810 if ${PKG_CONFIG+:} false; then :
14811 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14815 if ${UDEV_LIBS:+false} :; then :
14816 if ${PKG_CONFIG+:} false; then :
14817 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14821 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14822 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14823 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14824 ac_save_CPPFLAGS=$CPPFLAGS
14825 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14826 for ac_header in libudev.h
14827 do :
14828 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14829 if test "x$ac_cv_header_libudev_h" = xyes; then :
14830 cat >>confdefs.h <<_ACEOF
14831 #define HAVE_LIBUDEV_H 1
14832 _ACEOF
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14834 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14835 if ${ac_cv_lib_udev_udev_new+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_check_lib_save_LIBS=$LIBS
14839 LIBS="-ludev $UDEV_LIBS $LIBS"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14843 /* Override any GCC internal prototype to avoid an error.
14844 Use char because int might match the return type of a GCC
14845 builtin and then its argument prototype would still apply. */
14846 #ifdef __cplusplus
14847 extern "C"
14848 #endif
14849 char udev_new ();
14851 main ()
14853 return udev_new ();
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_lib_udev_udev_new=yes
14860 else
14861 ac_cv_lib_udev_udev_new=no
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LIBS=$ac_check_lib_save_LIBS
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14868 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14869 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14871 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14873 else
14874 UDEV_LIBS=""
14877 else
14878 UDEV_LIBS=""
14881 done
14883 CPPFLAGS=$ac_save_CPPFLAGS
14884 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14885 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14888 if test "x$UDEV_LIBS" = "x"; then :
14889 case "x$with_udev" in
14890 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14891 xno) ;;
14892 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14893 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14894 esac
14898 if test "x$with_unwind" != xno
14899 then
14900 if ${UNWIND_CFLAGS:+false} :; then :
14901 if ${PKG_CONFIG+:} false; then :
14902 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14906 if ${UNWIND_LIBS:+false} :; then :
14907 if ${PKG_CONFIG+:} false; then :
14908 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14912 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14913 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14914 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14915 ac_save_CPPFLAGS=$CPPFLAGS
14916 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14918 $as_echo_n "checking for unw_step... " >&6; }
14919 if ${wine_cv_have_unw_step+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #define UNW_LOCAL_ONLY
14925 #include <libunwind.h>
14927 main ()
14929 unw_cursor_t cursor; unw_step( &cursor );
14931 return 0;
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 wine_cv_have_unw_step="yes"
14936 else
14937 wine_cv_have_unw_step="no"
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14943 $as_echo "$wine_cv_have_unw_step" >&6; }
14944 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14945 then
14946 save_libs=$LIBS
14947 LIBS="$UNWIND_LIBS $LIBS"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14949 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14950 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 #define UNW_LOCAL_ONLY
14956 #include <libunwind.h>
14958 main ()
14960 unw_cursor_t cursor; unw_step( &cursor );
14962 return 0;
14964 _ACEOF
14965 if ac_fn_c_try_link "$LINENO"; then :
14966 wine_cv_have_libunwind_unw_step="yes"
14967 else
14968 wine_cv_have_libunwind_unw_step="no"
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext conftest.$ac_ext
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14974 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14975 LIBS=$save_libs
14977 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14978 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14979 then
14981 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14984 CPPFLAGS=$ac_save_CPPFLAGS
14985 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14986 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14989 case $host in
14990 aarch64*|*-darwin*)
14991 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14992 case "x$with_unwind" in
14993 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14994 xno) ;;
14995 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14996 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14997 esac
14999 fi ;;
15000 esac
15002 if test "x$with_sdl" != "xno"
15003 then
15004 if ${SDL2_CFLAGS:+false} :; then :
15005 if ${PKG_CONFIG+:} false; then :
15006 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15010 if ${SDL2_LIBS:+false} :; then :
15011 if ${PKG_CONFIG+:} false; then :
15012 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15016 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15017 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15018 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15019 ac_save_CPPFLAGS=$CPPFLAGS
15020 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15021 for ac_header in SDL2/SDL.h
15022 do :
15023 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15024 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15025 cat >>confdefs.h <<_ACEOF
15026 #define HAVE_SDL2_SDL_H 1
15027 _ACEOF
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15029 $as_echo_n "checking for -lSDL2... " >&6; }
15030 if ${ac_cv_lib_soname_SDL2+:} false; then :
15031 $as_echo_n "(cached) " >&6
15032 else
15033 ac_check_soname_save_LIBS=$LIBS
15034 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15038 /* Override any GCC internal prototype to avoid an error.
15039 Use char because int might match the return type of a GCC
15040 builtin and then its argument prototype would still apply. */
15041 #ifdef __cplusplus
15042 extern "C"
15043 #endif
15044 char SDL_Init ();
15046 main ()
15048 return SDL_Init ();
15050 return 0;
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"; then :
15054 case "$LIBEXT" in
15055 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15056 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'` ;;
15057 *) 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'`
15058 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15059 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15060 fi ;;
15061 esac
15062 else
15063 ac_cv_lib_soname_SDL2=
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067 LIBS=$ac_check_soname_save_LIBS
15069 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15071 $as_echo "not found" >&6; }
15073 else
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15075 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15077 cat >>confdefs.h <<_ACEOF
15078 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15079 _ACEOF
15085 done
15087 CPPFLAGS=$ac_save_CPPFLAGS
15088 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15089 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15092 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15093 case "x$with_sdl" in
15094 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15095 xno) ;;
15096 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15097 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15098 esac
15102 if test "x$with_faudio" != "xno"
15103 then
15104 if ${FAUDIO_CFLAGS:+false} :; then :
15105 if ${PKG_CONFIG+:} false; then :
15106 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15110 if ${FAUDIO_LIBS:+false} :; then :
15111 if ${PKG_CONFIG+:} false; then :
15112 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15116 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15117 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15118 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15119 ac_save_CPPFLAGS=$CPPFLAGS
15120 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15121 for ac_header in FAudio.h
15122 do :
15123 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15124 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15125 cat >>confdefs.h <<_ACEOF
15126 #define HAVE_FAUDIO_H 1
15127 _ACEOF
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15129 $as_echo_n "checking for -lFAudio... " >&6; }
15130 if ${ac_cv_lib_soname_FAudio+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 ac_check_soname_save_LIBS=$LIBS
15134 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15138 /* Override any GCC internal prototype to avoid an error.
15139 Use char because int might match the return type of a GCC
15140 builtin and then its argument prototype would still apply. */
15141 #ifdef __cplusplus
15142 extern "C"
15143 #endif
15144 char FAudioCreate ();
15146 main ()
15148 return FAudioCreate ();
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_link "$LINENO"; then :
15154 case "$LIBEXT" in
15155 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15156 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'` ;;
15157 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15158 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15159 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15160 fi ;;
15161 esac
15162 else
15163 ac_cv_lib_soname_FAudio=
15165 rm -f core conftest.err conftest.$ac_objext \
15166 conftest$ac_exeext conftest.$ac_ext
15167 LIBS=$ac_check_soname_save_LIBS
15169 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15171 $as_echo "not found" >&6; }
15173 else
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15175 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15177 cat >>confdefs.h <<_ACEOF
15178 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15179 _ACEOF
15185 done
15187 ac_wine_check_funcs_save_LIBS="$LIBS"
15188 LIBS="$LIBS $FAUDIO_LIBS"
15189 for ac_func in FAudio_CommitOperationSet \
15190 F3DAudioInitialize8
15191 do :
15192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15194 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15195 cat >>confdefs.h <<_ACEOF
15196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15197 _ACEOF
15200 done
15202 LIBS="$ac_wine_check_funcs_save_LIBS"
15204 CPPFLAGS=$ac_save_CPPFLAGS
15205 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15206 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15209 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15210 case "x$with_faudio" in
15211 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15212 xno) ;;
15213 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15214 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15215 esac
15219 if test "x$with_capi" != "xno"
15220 then
15221 if ${CAPI20_CFLAGS:+false} :; then :
15222 if ${PKG_CONFIG+:} false; then :
15223 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15227 if ${CAPI20_LIBS:+false} :; then :
15228 if ${PKG_CONFIG+:} false; then :
15229 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15234 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15235 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15236 ac_save_CPPFLAGS=$CPPFLAGS
15237 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15238 for ac_header in capi20.h linux/capi.h
15239 do :
15240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15241 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15243 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15244 cat >>confdefs.h <<_ACEOF
15245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15246 _ACEOF
15250 done
15252 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15253 then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15255 $as_echo_n "checking for -lcapi20... " >&6; }
15256 if ${ac_cv_lib_soname_capi20+:} false; then :
15257 $as_echo_n "(cached) " >&6
15258 else
15259 ac_check_soname_save_LIBS=$LIBS
15260 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262 /* end confdefs.h. */
15264 /* Override any GCC internal prototype to avoid an error.
15265 Use char because int might match the return type of a GCC
15266 builtin and then its argument prototype would still apply. */
15267 #ifdef __cplusplus
15268 extern "C"
15269 #endif
15270 char capi20_register ();
15272 main ()
15274 return capi20_register ();
15276 return 0;
15278 _ACEOF
15279 if ac_fn_c_try_link "$LINENO"; then :
15280 case "$LIBEXT" in
15281 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15282 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'` ;;
15283 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15284 if ${ac_cv_lib_soname_capi20:+false} :; then :
15285 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15286 fi ;;
15287 esac
15288 else
15289 ac_cv_lib_soname_capi20=
15291 rm -f core conftest.err conftest.$ac_objext \
15292 conftest$ac_exeext conftest.$ac_ext
15293 LIBS=$ac_check_soname_save_LIBS
15295 if ${ac_cv_lib_soname_capi20:+false} :; then :
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15297 $as_echo "not found" >&6; }
15299 else
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15301 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15303 cat >>confdefs.h <<_ACEOF
15304 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15305 _ACEOF
15310 CPPFLAGS=$ac_save_CPPFLAGS
15311 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15312 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15315 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15316 case "x$with_capi" in
15317 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15318 xno) ;;
15319 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15320 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15321 esac
15325 if test "x$with_cups" != "xno"
15326 then
15327 if ${CUPS_CFLAGS:+false} :; then :
15328 if ${PKG_CONFIG+:} false; then :
15329 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15332 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15333 if ${CUPS_LIBS:+false} :; then :
15334 if ${PKG_CONFIG+:} false; then :
15335 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15338 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15339 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15340 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15341 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15342 ac_save_CPPFLAGS=$CPPFLAGS
15343 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15344 for ac_header in cups/cups.h cups/ppd.h
15345 do :
15346 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15347 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15348 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15349 cat >>confdefs.h <<_ACEOF
15350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15351 _ACEOF
15355 done
15357 if test "$ac_cv_header_cups_cups_h" = "yes"
15358 then
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15360 $as_echo_n "checking for -lcups... " >&6; }
15361 if ${ac_cv_lib_soname_cups+:} false; then :
15362 $as_echo_n "(cached) " >&6
15363 else
15364 ac_check_soname_save_LIBS=$LIBS
15365 LIBS="-lcups $CUPS_LIBS $LIBS"
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15369 /* Override any GCC internal prototype to avoid an error.
15370 Use char because int might match the return type of a GCC
15371 builtin and then its argument prototype would still apply. */
15372 #ifdef __cplusplus
15373 extern "C"
15374 #endif
15375 char cupsGetDefault ();
15377 main ()
15379 return cupsGetDefault ();
15381 return 0;
15383 _ACEOF
15384 if ac_fn_c_try_link "$LINENO"; then :
15385 case "$LIBEXT" in
15386 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15387 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'` ;;
15388 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15389 if ${ac_cv_lib_soname_cups:+false} :; then :
15390 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15391 fi ;;
15392 esac
15393 else
15394 ac_cv_lib_soname_cups=
15396 rm -f core conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15398 LIBS=$ac_check_soname_save_LIBS
15400 if ${ac_cv_lib_soname_cups:+false} :; then :
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15402 $as_echo "not found" >&6; }
15403 CUPS_LIBS=""
15404 else
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15406 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15408 cat >>confdefs.h <<_ACEOF
15409 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15410 _ACEOF
15414 else
15415 CUPS_CFLAGS=""
15416 CUPS_LIBS=""
15418 CPPFLAGS=$ac_save_CPPFLAGS
15419 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15420 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15423 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15424 case "x$with_cups" in
15425 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15426 xno) ;;
15427 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15428 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15429 esac
15433 if test "x$with_fontconfig" != "xno"
15434 then
15435 if ${FONTCONFIG_CFLAGS:+false} :; then :
15436 if ${PKG_CONFIG+:} false; then :
15437 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15440 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15441 if ${FONTCONFIG_LIBS:+false} :; then :
15442 if ${PKG_CONFIG+:} false; then :
15443 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15446 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15448 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15449 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15450 ac_save_CPPFLAGS=$CPPFLAGS
15451 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15452 for ac_header in fontconfig/fontconfig.h
15453 do :
15454 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15455 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15458 _ACEOF
15462 done
15464 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15465 then
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15467 $as_echo_n "checking for -lfontconfig... " >&6; }
15468 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15469 $as_echo_n "(cached) " >&6
15470 else
15471 ac_check_soname_save_LIBS=$LIBS
15472 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15476 /* Override any GCC internal prototype to avoid an error.
15477 Use char because int might match the return type of a GCC
15478 builtin and then its argument prototype would still apply. */
15479 #ifdef __cplusplus
15480 extern "C"
15481 #endif
15482 char FcInit ();
15484 main ()
15486 return FcInit ();
15488 return 0;
15490 _ACEOF
15491 if ac_fn_c_try_link "$LINENO"; then :
15492 case "$LIBEXT" in
15493 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15494 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'` ;;
15495 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15496 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15497 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15498 fi ;;
15499 esac
15500 else
15501 ac_cv_lib_soname_fontconfig=
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15505 LIBS=$ac_check_soname_save_LIBS
15507 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15509 $as_echo "not found" >&6; }
15510 FONTCONFIG_CFLAGS=""
15511 else
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15513 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15515 cat >>confdefs.h <<_ACEOF
15516 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15517 _ACEOF
15521 else
15522 FONTCONFIG_CFLAGS=""
15524 CPPFLAGS=$ac_save_CPPFLAGS
15525 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15526 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15529 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15530 case "x$with_fontconfig" in
15531 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15532 xno) ;;
15533 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15534 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15535 esac
15539 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15540 then
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15542 $as_echo_n "checking for -lgsm... " >&6; }
15543 if ${ac_cv_lib_soname_gsm+:} false; then :
15544 $as_echo_n "(cached) " >&6
15545 else
15546 ac_check_soname_save_LIBS=$LIBS
15547 LIBS="-lgsm $LIBS"
15548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15549 /* end confdefs.h. */
15551 /* Override any GCC internal prototype to avoid an error.
15552 Use char because int might match the return type of a GCC
15553 builtin and then its argument prototype would still apply. */
15554 #ifdef __cplusplus
15555 extern "C"
15556 #endif
15557 char gsm_create ();
15559 main ()
15561 return gsm_create ();
15563 return 0;
15565 _ACEOF
15566 if ac_fn_c_try_link "$LINENO"; then :
15567 case "$LIBEXT" in
15568 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15569 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'` ;;
15570 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15571 if ${ac_cv_lib_soname_gsm:+false} :; then :
15572 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15573 fi ;;
15574 esac
15575 else
15576 ac_cv_lib_soname_gsm=
15578 rm -f core conftest.err conftest.$ac_objext \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_soname_save_LIBS
15582 if ${ac_cv_lib_soname_gsm:+false} :; then :
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15584 $as_echo "not found" >&6; }
15586 else
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15588 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15590 cat >>confdefs.h <<_ACEOF
15591 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15592 _ACEOF
15597 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15598 case "x$with_gsm" in
15599 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15600 xno) ;;
15601 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15602 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15603 esac
15607 if test "x$with_krb5" != "xno"
15608 then
15609 if ${KRB5_CFLAGS:+false} :; then :
15610 if ${PKG_CONFIG+:} false; then :
15611 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15614 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15615 if ${KRB5_LIBS:+false} :; then :
15616 if ${PKG_CONFIG+:} false; then :
15617 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15620 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15622 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15623 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15624 ac_save_CPPFLAGS=$CPPFLAGS
15625 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15626 for ac_header in krb5/krb5.h
15627 do :
15628 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15629 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15630 cat >>confdefs.h <<_ACEOF
15631 #define HAVE_KRB5_KRB5_H 1
15632 _ACEOF
15636 done
15638 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15639 then
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15641 $as_echo_n "checking for -lkrb5... " >&6; }
15642 if ${ac_cv_lib_soname_krb5+:} false; then :
15643 $as_echo_n "(cached) " >&6
15644 else
15645 ac_check_soname_save_LIBS=$LIBS
15646 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15653 #ifdef __cplusplus
15654 extern "C"
15655 #endif
15656 char krb5_is_config_principal ();
15658 main ()
15660 return krb5_is_config_principal ();
15662 return 0;
15664 _ACEOF
15665 if ac_fn_c_try_link "$LINENO"; then :
15666 case "$LIBEXT" in
15667 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15668 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'` ;;
15669 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15670 if ${ac_cv_lib_soname_krb5:+false} :; then :
15671 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15672 fi ;;
15673 esac
15674 else
15675 ac_cv_lib_soname_krb5=
15677 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_soname_save_LIBS
15681 if ${ac_cv_lib_soname_krb5:+false} :; then :
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15683 $as_echo "not found" >&6; }
15684 KRB5_CFLAGS=""
15685 else
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15687 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15689 cat >>confdefs.h <<_ACEOF
15690 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15691 _ACEOF
15695 else
15696 KRB5_CFLAGS=""
15698 CPPFLAGS=$ac_save_CPPFLAGS
15699 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15700 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15702 else
15703 with_gssapi=${with_gssapi:-no}
15705 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15706 case "x$with_krb5" in
15707 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15708 xno) ;;
15709 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15710 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15711 esac
15715 if test "x$with_gssapi" != "xno"
15716 then
15717 if ${GSSAPI_CFLAGS:+false} :; then :
15718 if ${PKG_CONFIG+:} false; then :
15719 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15722 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15723 if ${GSSAPI_LIBS:+false} :; then :
15724 if ${PKG_CONFIG+:} false; then :
15725 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15728 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15730 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15731 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15732 ac_save_CPPFLAGS=$CPPFLAGS
15733 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15734 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15735 do :
15736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15737 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15741 _ACEOF
15745 done
15747 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15748 then
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15750 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15751 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_check_soname_save_LIBS=$LIBS
15755 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15759 /* Override any GCC internal prototype to avoid an error.
15760 Use char because int might match the return type of a GCC
15761 builtin and then its argument prototype would still apply. */
15762 #ifdef __cplusplus
15763 extern "C"
15764 #endif
15765 char gss_init_sec_context ();
15767 main ()
15769 return gss_init_sec_context ();
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 case "$LIBEXT" in
15776 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15777 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'` ;;
15778 *) 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'`
15779 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15780 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15781 fi ;;
15782 esac
15783 else
15784 ac_cv_lib_soname_gssapi_krb5=
15786 rm -f core conftest.err conftest.$ac_objext \
15787 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_soname_save_LIBS
15790 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15792 $as_echo "not found" >&6; }
15793 GSSAPI_CFLAGS=""
15794 else
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15796 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15798 cat >>confdefs.h <<_ACEOF
15799 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15800 _ACEOF
15804 else
15805 GSSAPI_CFLAGS=""
15807 CPPFLAGS=$ac_save_CPPFLAGS
15808 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15809 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15812 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15813 case "x$with_gssapi" in
15814 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15815 xno) ;;
15816 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15817 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15818 esac
15822 if test "x$with_jpeg" != "xno"
15823 then
15824 if ${JPEG_CFLAGS:+false} :; then :
15825 if ${PKG_CONFIG+:} false; then :
15826 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15830 if ${JPEG_LIBS:+false} :; then :
15831 if ${PKG_CONFIG+:} false; then :
15832 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15837 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15838 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15839 ac_save_CPPFLAGS=$CPPFLAGS
15840 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15841 for ac_header in jpeglib.h
15842 do :
15843 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15844 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_JPEGLIB_H 1
15847 _ACEOF
15851 done
15853 if test "$ac_cv_header_jpeglib_h" = "yes"
15854 then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15856 $as_echo_n "checking for -ljpeg... " >&6; }
15857 if ${ac_cv_lib_soname_jpeg+:} false; then :
15858 $as_echo_n "(cached) " >&6
15859 else
15860 ac_check_soname_save_LIBS=$LIBS
15861 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15865 /* Override any GCC internal prototype to avoid an error.
15866 Use char because int might match the return type of a GCC
15867 builtin and then its argument prototype would still apply. */
15868 #ifdef __cplusplus
15869 extern "C"
15870 #endif
15871 char jpeg_start_decompress ();
15873 main ()
15875 return jpeg_start_decompress ();
15877 return 0;
15879 _ACEOF
15880 if ac_fn_c_try_link "$LINENO"; then :
15881 case "$LIBEXT" in
15882 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15883 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'` ;;
15884 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15885 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15886 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15887 fi ;;
15888 esac
15889 else
15890 ac_cv_lib_soname_jpeg=
15892 rm -f core conftest.err conftest.$ac_objext \
15893 conftest$ac_exeext conftest.$ac_ext
15894 LIBS=$ac_check_soname_save_LIBS
15896 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15898 $as_echo "not found" >&6; }
15899 JPEG_CFLAGS=""
15900 else
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15902 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15904 cat >>confdefs.h <<_ACEOF
15905 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15906 _ACEOF
15910 else
15911 JPEG_CFLAGS=""
15913 CPPFLAGS=$ac_save_CPPFLAGS
15914 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15915 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15918 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15919 case "x$with_jpeg" in
15920 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15921 xno) ;;
15922 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15923 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15924 esac
15928 if test "x$with_png" != "xno"
15929 then
15930 if ${PNG_CFLAGS:+false} :; then :
15931 if ${PKG_CONFIG+:} false; then :
15932 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15935 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15936 if ${PNG_LIBS:+false} :; then :
15937 if ${PKG_CONFIG+:} false; then :
15938 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15941 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15943 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15944 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15945 ac_save_CPPFLAGS=$CPPFLAGS
15946 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15947 for ac_header in png.h
15948 do :
15949 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15950 if test "x$ac_cv_header_png_h" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_PNG_H 1
15953 _ACEOF
15957 done
15959 if test "$ac_cv_header_png_h" = "yes"
15960 then
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15962 $as_echo_n "checking for -lpng... " >&6; }
15963 if ${ac_cv_lib_soname_png+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15966 ac_check_soname_save_LIBS=$LIBS
15967 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15971 /* Override any GCC internal prototype to avoid an error.
15972 Use char because int might match the return type of a GCC
15973 builtin and then its argument prototype would still apply. */
15974 #ifdef __cplusplus
15975 extern "C"
15976 #endif
15977 char png_create_read_struct ();
15979 main ()
15981 return png_create_read_struct ();
15983 return 0;
15985 _ACEOF
15986 if ac_fn_c_try_link "$LINENO"; then :
15987 case "$LIBEXT" in
15988 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15989 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'` ;;
15990 *) 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'`
15991 if ${ac_cv_lib_soname_png:+false} :; then :
15992 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15993 fi ;;
15994 esac
15995 else
15996 ac_cv_lib_soname_png=
15998 rm -f core conftest.err conftest.$ac_objext \
15999 conftest$ac_exeext conftest.$ac_ext
16000 LIBS=$ac_check_soname_save_LIBS
16002 if ${ac_cv_lib_soname_png:+false} :; then :
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16004 $as_echo "not found" >&6; }
16005 PNG_CFLAGS=""
16006 else
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16008 $as_echo "$ac_cv_lib_soname_png" >&6; }
16010 cat >>confdefs.h <<_ACEOF
16011 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16012 _ACEOF
16016 else
16017 PNG_CFLAGS=""
16019 CPPFLAGS=$ac_save_CPPFLAGS
16020 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16021 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16024 if test "x$ac_cv_lib_soname_png" = "x"; then :
16025 case "x$with_png" in
16026 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16027 xno) ;;
16028 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16029 This is an error since --with-png was requested." "$LINENO" 5 ;;
16030 esac
16034 if test "x$with_tiff" != "xno"
16035 then
16036 if ${TIFF_CFLAGS:+false} :; then :
16037 if ${PKG_CONFIG+:} false; then :
16038 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16042 if ${TIFF_LIBS:+false} :; then :
16043 if ${PKG_CONFIG+:} false; then :
16044 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16049 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16050 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16051 ac_save_CPPFLAGS=$CPPFLAGS
16052 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16053 for ac_header in tiffio.h
16054 do :
16055 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16056 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_TIFFIO_H 1
16059 _ACEOF
16063 done
16065 if test "$ac_cv_header_tiffio_h" = "yes"
16066 then
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16068 $as_echo_n "checking for -ltiff... " >&6; }
16069 if ${ac_cv_lib_soname_tiff+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_check_soname_save_LIBS=$LIBS
16073 LIBS="-ltiff $TIFF_LIBS $LIBS"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 #ifdef __cplusplus
16081 extern "C"
16082 #endif
16083 char TIFFClientOpen ();
16085 main ()
16087 return TIFFClientOpen ();
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_link "$LINENO"; then :
16093 case "$LIBEXT" in
16094 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16095 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'` ;;
16096 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16097 if ${ac_cv_lib_soname_tiff:+false} :; then :
16098 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16099 fi ;;
16100 esac
16101 else
16102 ac_cv_lib_soname_tiff=
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 LIBS=$ac_check_soname_save_LIBS
16108 if ${ac_cv_lib_soname_tiff:+false} :; then :
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16110 $as_echo "not found" >&6; }
16112 else
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16114 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16116 cat >>confdefs.h <<_ACEOF
16117 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16118 _ACEOF
16123 CPPFLAGS=$ac_save_CPPFLAGS
16124 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16125 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16128 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16129 case "x$with_tiff" in
16130 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16131 xno) ;;
16132 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16133 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16134 esac
16138 if test "x$with_mpg123" != "xno"
16139 then
16140 if ${MPG123_CFLAGS:+false} :; then :
16141 if ${PKG_CONFIG+:} false; then :
16142 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16146 if ${MPG123_LIBS:+false} :; then :
16147 if ${PKG_CONFIG+:} false; then :
16148 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16152 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16153 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16154 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16155 ac_save_CPPFLAGS=$CPPFLAGS
16156 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16157 for ac_header in mpg123.h
16158 do :
16159 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16160 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_MPG123_H 1
16163 _ACEOF
16167 done
16169 if test "$ac_cv_header_mpg123_h" = "yes"
16170 then
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16172 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16173 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16174 $as_echo_n "(cached) " >&6
16175 else
16176 ac_check_lib_save_LIBS=$LIBS
16177 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16179 /* end confdefs.h. */
16181 /* Override any GCC internal prototype to avoid an error.
16182 Use char because int might match the return type of a GCC
16183 builtin and then its argument prototype would still apply. */
16184 #ifdef __cplusplus
16185 extern "C"
16186 #endif
16187 char mpg123_feed ();
16189 main ()
16191 return mpg123_feed ();
16193 return 0;
16195 _ACEOF
16196 if ac_fn_c_try_link "$LINENO"; then :
16197 ac_cv_lib_mpg123_mpg123_feed=yes
16198 else
16199 ac_cv_lib_mpg123_mpg123_feed=no
16201 rm -f core conftest.err conftest.$ac_objext \
16202 conftest$ac_exeext conftest.$ac_ext
16203 LIBS=$ac_check_lib_save_LIBS
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16206 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16207 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16209 else
16210 MPG123_LIBS=""
16213 else
16214 MPG123_CFLAGS=""
16215 MPG123_LIBS=""
16217 CPPFLAGS=$ac_save_CPPFLAGS
16218 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16219 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16222 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16223 case "x$with_mpg123" in
16224 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16225 xno) ;;
16226 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16227 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16228 esac
16229 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16231 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16233 if test "$ac_cv_header_AL_al_h" = "yes"
16234 then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16236 $as_echo_n "checking for -lopenal... " >&6; }
16237 if ${ac_cv_lib_soname_openal+:} false; then :
16238 $as_echo_n "(cached) " >&6
16239 else
16240 ac_check_soname_save_LIBS=$LIBS
16241 LIBS="-lopenal $LIBS"
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16245 /* Override any GCC internal prototype to avoid an error.
16246 Use char because int might match the return type of a GCC
16247 builtin and then its argument prototype would still apply. */
16248 #ifdef __cplusplus
16249 extern "C"
16250 #endif
16251 char alGetSource3i ();
16253 main ()
16255 return alGetSource3i ();
16257 return 0;
16259 _ACEOF
16260 if ac_fn_c_try_link "$LINENO"; then :
16261 case "$LIBEXT" in
16262 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16263 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'` ;;
16264 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16265 if ${ac_cv_lib_soname_openal:+false} :; then :
16266 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16267 fi ;;
16268 esac
16269 else
16270 ac_cv_lib_soname_openal=
16272 rm -f core conftest.err conftest.$ac_objext \
16273 conftest$ac_exeext conftest.$ac_ext
16274 LIBS=$ac_check_soname_save_LIBS
16276 if ${ac_cv_lib_soname_openal:+false} :; then :
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16278 $as_echo "not found" >&6; }
16280 else
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16282 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16284 cat >>confdefs.h <<_ACEOF
16285 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16286 _ACEOF
16288 OPENAL_LIBS="-lopenal"
16290 ac_cv_lib_openal=yes
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_OPENAL 1
16294 _ACEOF
16298 if test "x$ac_cv_lib_openal" != xyes; then :
16299 case "x$with_openal" in
16300 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16301 xno) ;;
16302 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16303 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16304 esac
16305 enable_openal32=${enable_openal32:-no}
16308 if test "x$ac_cv_lib_soname_FAudio" = "x"
16309 then
16310 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16311 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16312 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16313 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16314 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16315 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16316 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16317 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16318 enable_xapofx1_1=${enable_xapofx1_1:-no}
16319 enable_xapofx1_2=${enable_xapofx1_2:-no}
16320 enable_xapofx1_3=${enable_xapofx1_3:-no}
16321 enable_xapofx1_4=${enable_xapofx1_4:-no}
16322 enable_xapofx1_5=${enable_xapofx1_5:-no}
16323 enable_xaudio2_0=${enable_xaudio2_0:-no}
16324 enable_xaudio2_1=${enable_xaudio2_1:-no}
16325 enable_xaudio2_2=${enable_xaudio2_2:-no}
16326 enable_xaudio2_3=${enable_xaudio2_3:-no}
16327 enable_xaudio2_4=${enable_xaudio2_4:-no}
16328 enable_xaudio2_5=${enable_xaudio2_5:-no}
16329 enable_xaudio2_6=${enable_xaudio2_6:-no}
16330 enable_xaudio2_7=${enable_xaudio2_7:-no}
16331 enable_xaudio2_8=${enable_xaudio2_8:-no}
16332 enable_xaudio2_9=${enable_xaudio2_9:-no}
16335 if test "$ac_cv_header_kstat_h" = "yes"
16336 then
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16338 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16339 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16340 $as_echo_n "(cached) " >&6
16341 else
16342 ac_check_lib_save_LIBS=$LIBS
16343 LIBS="-lkstat $LIBS"
16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16347 /* Override any GCC internal prototype to avoid an error.
16348 Use char because int might match the return type of a GCC
16349 builtin and then its argument prototype would still apply. */
16350 #ifdef __cplusplus
16351 extern "C"
16352 #endif
16353 char kstat_open ();
16355 main ()
16357 return kstat_open ();
16359 return 0;
16361 _ACEOF
16362 if ac_fn_c_try_link "$LINENO"; then :
16363 ac_cv_lib_kstat_kstat_open=yes
16364 else
16365 ac_cv_lib_kstat_kstat_open=no
16367 rm -f core conftest.err conftest.$ac_objext \
16368 conftest$ac_exeext conftest.$ac_ext
16369 LIBS=$ac_check_lib_save_LIBS
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16372 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16373 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16375 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16377 KSTAT_LIBS="-lkstat"
16383 if test "$ac_cv_header_libprocstat_h" = "yes"
16384 then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16386 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16387 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 ac_check_lib_save_LIBS=$LIBS
16391 LIBS="-lprocstat $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 #ifdef __cplusplus
16399 extern "C"
16400 #endif
16401 char procstat_open_sysctl ();
16403 main ()
16405 return procstat_open_sysctl ();
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 ac_cv_lib_procstat_procstat_open_sysctl=yes
16412 else
16413 ac_cv_lib_procstat_procstat_open_sysctl=no
16415 rm -f core conftest.err conftest.$ac_objext \
16416 conftest$ac_exeext conftest.$ac_ext
16417 LIBS=$ac_check_lib_save_LIBS
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16420 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16421 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16423 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16425 PROCSTAT_LIBS="-lprocstat"
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16432 $as_echo_n "checking for -lodbc... " >&6; }
16433 if ${ac_cv_lib_soname_odbc+:} false; then :
16434 $as_echo_n "(cached) " >&6
16435 else
16436 ac_check_soname_save_LIBS=$LIBS
16437 LIBS="-lodbc $LIBS"
16438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16441 /* Override any GCC internal prototype to avoid an error.
16442 Use char because int might match the return type of a GCC
16443 builtin and then its argument prototype would still apply. */
16444 #ifdef __cplusplus
16445 extern "C"
16446 #endif
16447 char SQLConnect ();
16449 main ()
16451 return SQLConnect ();
16453 return 0;
16455 _ACEOF
16456 if ac_fn_c_try_link "$LINENO"; then :
16457 case "$LIBEXT" in
16458 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16459 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'` ;;
16460 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16461 if ${ac_cv_lib_soname_odbc:+false} :; then :
16462 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16463 fi ;;
16464 esac
16465 else
16466 ac_cv_lib_soname_odbc=
16468 rm -f core conftest.err conftest.$ac_objext \
16469 conftest$ac_exeext conftest.$ac_ext
16470 LIBS=$ac_check_soname_save_LIBS
16472 if ${ac_cv_lib_soname_odbc:+false} :; then :
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16474 $as_echo "not found" >&6; }
16475 cat >>confdefs.h <<_ACEOF
16476 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16477 _ACEOF
16479 else
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16481 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16483 cat >>confdefs.h <<_ACEOF
16484 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16485 _ACEOF
16490 if test "x$with_netapi" != "xno"
16491 then
16492 if ${NETAPI_CFLAGS:+false} :; then :
16493 if ${PKG_CONFIG+:} false; then :
16494 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16498 if ${NETAPI_LIBS:+false} :; then :
16499 if ${PKG_CONFIG+:} false; then :
16500 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16505 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16506 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16507 ac_save_CPPFLAGS=$CPPFLAGS
16508 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16510 $as_echo_n "checking for -lnetapi... " >&6; }
16511 if ${ac_cv_lib_soname_netapi+:} false; then :
16512 $as_echo_n "(cached) " >&6
16513 else
16514 ac_check_soname_save_LIBS=$LIBS
16515 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16519 /* Override any GCC internal prototype to avoid an error.
16520 Use char because int might match the return type of a GCC
16521 builtin and then its argument prototype would still apply. */
16522 #ifdef __cplusplus
16523 extern "C"
16524 #endif
16525 char libnetapi_init ();
16527 main ()
16529 return libnetapi_init ();
16531 return 0;
16533 _ACEOF
16534 if ac_fn_c_try_link "$LINENO"; then :
16535 case "$LIBEXT" in
16536 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16537 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'` ;;
16538 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16539 if ${ac_cv_lib_soname_netapi:+false} :; then :
16540 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16541 fi ;;
16542 esac
16543 else
16544 ac_cv_lib_soname_netapi=
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16548 LIBS=$ac_check_soname_save_LIBS
16550 if ${ac_cv_lib_soname_netapi:+false} :; then :
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16552 $as_echo "not found" >&6; }
16553 cat >>confdefs.h <<_ACEOF
16554 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16555 _ACEOF
16557 else
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16559 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16561 cat >>confdefs.h <<_ACEOF
16562 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16563 _ACEOF
16567 CPPFLAGS=$ac_save_CPPFLAGS
16568 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16569 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16573 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16574 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16575 then
16576 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16579 if test "x$with_vulkan" != "xno"
16580 then
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16582 $as_echo_n "checking for -lvulkan... " >&6; }
16583 if ${ac_cv_lib_soname_vulkan+:} false; then :
16584 $as_echo_n "(cached) " >&6
16585 else
16586 ac_check_soname_save_LIBS=$LIBS
16587 LIBS="-lvulkan $LIBS"
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16591 /* Override any GCC internal prototype to avoid an error.
16592 Use char because int might match the return type of a GCC
16593 builtin and then its argument prototype would still apply. */
16594 #ifdef __cplusplus
16595 extern "C"
16596 #endif
16597 char vkGetInstanceProcAddr ();
16599 main ()
16601 return vkGetInstanceProcAddr ();
16603 return 0;
16605 _ACEOF
16606 if ac_fn_c_try_link "$LINENO"; then :
16607 case "$LIBEXT" in
16608 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16609 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'` ;;
16610 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16611 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16612 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16613 fi ;;
16614 esac
16615 else
16616 ac_cv_lib_soname_vulkan=
16618 rm -f core conftest.err conftest.$ac_objext \
16619 conftest$ac_exeext conftest.$ac_ext
16620 LIBS=$ac_check_soname_save_LIBS
16622 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16624 $as_echo "not found" >&6; }
16626 else
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16628 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16630 cat >>confdefs.h <<_ACEOF
16631 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16632 _ACEOF
16636 if test "x$ac_cv_lib_soname_vulkan" = "x"
16637 then
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16639 $as_echo_n "checking for -lMoltenVK... " >&6; }
16640 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16641 $as_echo_n "(cached) " >&6
16642 else
16643 ac_check_soname_save_LIBS=$LIBS
16644 LIBS="-lMoltenVK $LIBS"
16645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16648 /* Override any GCC internal prototype to avoid an error.
16649 Use char because int might match the return type of a GCC
16650 builtin and then its argument prototype would still apply. */
16651 #ifdef __cplusplus
16652 extern "C"
16653 #endif
16654 char vkGetInstanceProcAddr ();
16656 main ()
16658 return vkGetInstanceProcAddr ();
16660 return 0;
16662 _ACEOF
16663 if ac_fn_c_try_link "$LINENO"; then :
16664 case "$LIBEXT" in
16665 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16666 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'` ;;
16667 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16668 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16669 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16670 fi ;;
16671 esac
16672 else
16673 ac_cv_lib_soname_MoltenVK=
16675 rm -f core conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16677 LIBS=$ac_check_soname_save_LIBS
16679 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16681 $as_echo "not found" >&6; }
16683 else
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16685 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16687 cat >>confdefs.h <<_ACEOF
16688 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16689 _ACEOF
16695 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16696 case "x$with_vulkan" in
16697 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16698 xno) ;;
16699 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16700 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16701 esac
16705 if test "x$with_vkd3d" != "xno"
16706 then
16707 if ${VKD3D_CFLAGS:+false} :; then :
16708 if ${PKG_CONFIG+:} false; then :
16709 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16713 if ${VKD3D_LIBS:+false} :; then :
16714 if ${PKG_CONFIG+:} false; then :
16715 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16720 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16721 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16722 ac_save_CPPFLAGS=$CPPFLAGS
16723 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16725 $as_echo_n "checking for -lvkd3d... " >&6; }
16726 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16727 $as_echo_n "(cached) " >&6
16728 else
16729 ac_check_soname_save_LIBS=$LIBS
16730 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16734 /* Override any GCC internal prototype to avoid an error.
16735 Use char because int might match the return type of a GCC
16736 builtin and then its argument prototype would still apply. */
16737 #ifdef __cplusplus
16738 extern "C"
16739 #endif
16740 char vkd3d_get_dxgi_format ();
16742 main ()
16744 return vkd3d_get_dxgi_format ();
16746 return 0;
16748 _ACEOF
16749 if ac_fn_c_try_link "$LINENO"; then :
16750 case "$LIBEXT" in
16751 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16752 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'` ;;
16753 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16754 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16755 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16756 fi ;;
16757 esac
16758 else
16759 ac_cv_lib_soname_vkd3d=
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16763 LIBS=$ac_check_soname_save_LIBS
16765 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16767 $as_echo "not found" >&6; }
16769 else
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16771 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16773 cat >>confdefs.h <<_ACEOF
16774 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16775 _ACEOF
16779 CPPFLAGS=$ac_save_CPPFLAGS
16780 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16781 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16784 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16785 case "x$with_vkd3d" in
16786 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16787 xno) ;;
16788 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16789 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16790 esac
16793 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16796 EXTRACFLAGS=""
16798 if test "x${GCC}" = "xyes"
16799 then
16800 EXTRACFLAGS="-Wall -pipe"
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16803 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16804 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16805 $as_echo_n "(cached) " >&6
16806 else
16807 if test "$cross_compiling" = yes; then :
16808 ac_cv_c_gcc_strength_bug="no"
16809 else
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 int L[4] = {0,1,2,3};
16814 main ()
16816 static int Array[3];
16817 unsigned int B = 3;
16818 int i;
16819 for(i=0; i<B; i++) Array[i] = i - 3;
16820 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16821 L[i] = 4;
16822 return (Array[1] != -2 || L[2] != 3)
16824 return 0;
16826 _ACEOF
16827 if ac_fn_c_try_run "$LINENO"; then :
16828 ac_cv_c_gcc_strength_bug="no"
16829 else
16830 ac_cv_c_gcc_strength_bug="yes"
16832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16833 conftest.$ac_objext conftest.beam conftest.$ac_ext
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16838 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16839 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16840 then
16841 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16845 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16846 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16847 $as_echo_n "(cached) " >&6
16848 else
16849 ac_wine_try_cflags_saved=$CFLAGS
16850 CFLAGS="$CFLAGS -fno-strict-aliasing"
16851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16852 /* end confdefs.h. */
16853 int main(int argc, char **argv) { return 0; }
16854 _ACEOF
16855 if ac_fn_c_try_link "$LINENO"; then :
16856 ac_cv_cflags__fno_strict_aliasing=yes
16857 else
16858 ac_cv_cflags__fno_strict_aliasing=no
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 CFLAGS=$ac_wine_try_cflags_saved
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16865 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16866 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16867 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16870 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16871 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16872 $as_echo_n "(cached) " >&6
16873 else
16874 ac_wine_try_cflags_saved=$CFLAGS
16875 CFLAGS="$CFLAGS -fexcess-precision=standard"
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16878 int main(int argc, char **argv) { return 0; }
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 ac_cv_cflags__fexcess_precision_standard=yes
16882 else
16883 ac_cv_cflags__fexcess_precision_standard=no
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext conftest.$ac_ext
16887 CFLAGS=$ac_wine_try_cflags_saved
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16890 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16891 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16892 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16895 saved_CFLAGS=$CFLAGS
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16897 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16898 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 ac_wine_try_cflags_saved=$CFLAGS
16902 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16905 int main(int argc, char **argv) { return 0; }
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_cflags__Werror_unknown_warning_option=yes
16909 else
16910 ac_cv_cflags__Werror_unknown_warning_option=no
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 CFLAGS=$ac_wine_try_cflags_saved
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16917 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16918 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16919 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16922 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16923 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_wine_try_cflags_saved=$CFLAGS
16927 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 int main(int argc, char **argv) { return 0; }
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_cflags__Werror_unused_command_line_argument=yes
16934 else
16935 ac_cv_cflags__Werror_unused_command_line_argument=no
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 CFLAGS=$ac_wine_try_cflags_saved
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16942 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16943 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16944 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16947 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16948 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_wine_try_cflags_saved=$CFLAGS
16952 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 int main(int argc, char **argv) { return 0; }
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 ac_cv_cflags__Wdeclaration_after_statement=yes
16959 else
16960 ac_cv_cflags__Wdeclaration_after_statement=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 CFLAGS=$ac_wine_try_cflags_saved
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16967 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16968 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16969 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16972 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16973 if ${ac_cv_cflags__Wempty_body+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 ac_wine_try_cflags_saved=$CFLAGS
16977 CFLAGS="$CFLAGS -Wempty-body"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 int main(int argc, char **argv) { return 0; }
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_cflags__Wempty_body=yes
16984 else
16985 ac_cv_cflags__Wempty_body=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 CFLAGS=$ac_wine_try_cflags_saved
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16992 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16993 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16994 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16997 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16998 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 ac_wine_try_cflags_saved=$CFLAGS
17002 CFLAGS="$CFLAGS -Wignored-qualifiers"
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 int main(int argc, char **argv) { return 0; }
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"; then :
17008 ac_cv_cflags__Wignored_qualifiers=yes
17009 else
17010 ac_cv_cflags__Wignored_qualifiers=no
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext conftest.$ac_ext
17014 CFLAGS=$ac_wine_try_cflags_saved
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17017 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17018 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17019 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17022 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17023 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_wine_try_cflags_saved=$CFLAGS
17027 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 int main(int argc, char **argv) { return 0; }
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_cflags__Wpacked_not_aligned=yes
17034 else
17035 ac_cv_cflags__Wpacked_not_aligned=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 CFLAGS=$ac_wine_try_cflags_saved
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17042 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17043 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17044 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17047 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17048 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 ac_wine_try_cflags_saved=$CFLAGS
17052 CFLAGS="$CFLAGS -Wpragma-pack"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 int main(int argc, char **argv) { return 0; }
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_cflags__Wpragma_pack=yes
17059 else
17060 ac_cv_cflags__Wpragma_pack=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 CFLAGS=$ac_wine_try_cflags_saved
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17067 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17068 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17069 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17072 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17073 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -Wshift-overflow=2"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__Wshift_overflow_2=yes
17084 else
17085 ac_cv_cflags__Wshift_overflow_2=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17092 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17093 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17097 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17098 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -Wstrict-prototypes"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__Wstrict_prototypes=yes
17109 else
17110 ac_cv_cflags__Wstrict_prototypes=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17117 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17118 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17122 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17123 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 ac_wine_try_cflags_saved=$CFLAGS
17127 CFLAGS="$CFLAGS -Wtype-limits"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 int main(int argc, char **argv) { return 0; }
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_cflags__Wtype_limits=yes
17134 else
17135 ac_cv_cflags__Wtype_limits=no
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 CFLAGS=$ac_wine_try_cflags_saved
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17142 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17143 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17144 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17147 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17148 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 ac_wine_try_cflags_saved=$CFLAGS
17152 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 int main(int argc, char **argv) { return 0; }
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_cflags__Wunused_but_set_parameter=yes
17159 else
17160 ac_cv_cflags__Wunused_but_set_parameter=no
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 CFLAGS=$ac_wine_try_cflags_saved
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17167 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17168 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17169 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17172 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17173 if ${ac_cv_cflags__Wvla+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 ac_wine_try_cflags_saved=$CFLAGS
17177 CFLAGS="$CFLAGS -Wvla"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 int main(int argc, char **argv) { return 0; }
17181 _ACEOF
17182 if ac_fn_c_try_link "$LINENO"; then :
17183 ac_cv_cflags__Wvla=yes
17184 else
17185 ac_cv_cflags__Wvla=no
17187 rm -f core conftest.err conftest.$ac_objext \
17188 conftest$ac_exeext conftest.$ac_ext
17189 CFLAGS=$ac_wine_try_cflags_saved
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17192 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17193 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17194 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17197 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17198 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_wine_try_cflags_saved=$CFLAGS
17202 CFLAGS="$CFLAGS -Wwrite-strings"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 int main(int argc, char **argv) { return 0; }
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_cflags__Wwrite_strings=yes
17209 else
17210 ac_cv_cflags__Wwrite_strings=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 CFLAGS=$ac_wine_try_cflags_saved
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17217 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17218 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17219 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17223 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17224 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 ac_wine_try_cflags_saved=$CFLAGS
17228 CFLAGS="$CFLAGS -Wpointer-arith"
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17231 int main(int argc, char **argv) { return 0; }
17232 _ACEOF
17233 if ac_fn_c_try_link "$LINENO"; then :
17234 ac_cv_cflags__Wpointer_arith=yes
17235 else
17236 ac_cv_cflags__Wpointer_arith=no
17238 rm -f core conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17240 CFLAGS=$ac_wine_try_cflags_saved
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17243 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17244 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17245 saved_string_h_CFLAGS=$CFLAGS
17246 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17248 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17249 if ${ac_cv_c_string_h_warnings+:} false; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 #include <string.h>
17256 main ()
17260 return 0;
17262 _ACEOF
17263 if ac_fn_c_try_compile "$LINENO"; then :
17264 ac_cv_c_string_h_warnings=no
17265 else
17266 ac_cv_c_string_h_warnings=yes
17268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17271 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17272 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17273 CFLAGS=$saved_string_h_CFLAGS
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17277 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17278 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 ac_wine_try_cflags_saved=$CFLAGS
17282 CFLAGS="$CFLAGS -Wlogical-op"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 int main(int argc, char **argv) { return 0; }
17286 _ACEOF
17287 if ac_fn_c_try_link "$LINENO"; then :
17288 ac_cv_cflags__Wlogical_op=yes
17289 else
17290 ac_cv_cflags__Wlogical_op=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 CFLAGS=$ac_wine_try_cflags_saved
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17297 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17298 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17299 saved_string_h_CFLAGS=$CFLAGS
17300 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17302 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17303 if ${ac_cv_c_logicalop_noisy+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <string.h>
17309 char*f(const char *h,char n) {return strchr(h,n);}
17311 main ()
17315 return 0;
17317 _ACEOF
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319 ac_cv_c_logicalop_noisy=no
17320 else
17321 ac_cv_c_logicalop_noisy=yes
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17326 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17327 CFLAGS=$saved_string_h_CFLAGS
17328 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17331 for ac_flag in $CFLAGS; do
17332 case $ac_flag in
17333 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17334 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17335 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 ac_wine_try_cflags_saved=$CFLAGS
17339 CFLAGS="$CFLAGS -gdwarf-2"
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 int main(int argc, char **argv) { return 0; }
17343 _ACEOF
17344 if ac_fn_c_try_link "$LINENO"; then :
17345 ac_cv_cflags__gdwarf_2=yes
17346 else
17347 ac_cv_cflags__gdwarf_2=no
17349 rm -f core conftest.err conftest.$ac_objext \
17350 conftest$ac_exeext conftest.$ac_ext
17351 CFLAGS=$ac_wine_try_cflags_saved
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17354 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17355 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17356 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17359 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17360 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 ac_wine_try_cflags_saved=$CFLAGS
17364 CFLAGS="$CFLAGS -gstrict-dwarf"
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 int main(int argc, char **argv) { return 0; }
17368 _ACEOF
17369 if ac_fn_c_try_link "$LINENO"; then :
17370 ac_cv_cflags__gstrict_dwarf=yes
17371 else
17372 ac_cv_cflags__gstrict_dwarf=no
17374 rm -f core conftest.err conftest.$ac_objext \
17375 conftest$ac_exeext conftest.$ac_ext
17376 CFLAGS=$ac_wine_try_cflags_saved
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17379 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17380 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17381 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17382 fi ;;
17383 esac
17384 done
17386 MSVCRTFLAGS=""
17388 case $host_os in
17389 cygwin*|mingw32*) ;;
17390 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17391 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17392 if ${ac_cv_cflags__fno_builtin+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 ac_wine_try_cflags_saved=$CFLAGS
17396 CFLAGS="$CFLAGS -fno-builtin"
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 int main(int argc, char **argv) { return 0; }
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"; then :
17402 ac_cv_cflags__fno_builtin=yes
17403 else
17404 ac_cv_cflags__fno_builtin=no
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17408 CFLAGS=$ac_wine_try_cflags_saved
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17411 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17412 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17413 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17416 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17417 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17418 $as_echo_n "(cached) " >&6
17419 else
17420 ac_wine_try_cflags_saved=$CFLAGS
17421 CFLAGS="$CFLAGS -fshort-wchar"
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 int main(int argc, char **argv) { return 0; }
17425 _ACEOF
17426 if ac_fn_c_try_link "$LINENO"; then :
17427 ac_cv_cflags__fshort_wchar=yes
17428 else
17429 ac_cv_cflags__fshort_wchar=no
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 CFLAGS=$ac_wine_try_cflags_saved
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17436 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17437 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17438 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17439 fi ;;
17440 esac
17442 case $host_cpu in
17443 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17444 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17445 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 ac_wine_try_cflags_saved=$CFLAGS
17449 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 int main(int argc, char **argv) { return 0; }
17453 _ACEOF
17454 if ac_fn_c_try_link "$LINENO"; then :
17455 ac_cv_cflags__fno_omit_frame_pointer=yes
17456 else
17457 ac_cv_cflags__fno_omit_frame_pointer=no
17459 rm -f core conftest.err conftest.$ac_objext \
17460 conftest$ac_exeext conftest.$ac_ext
17461 CFLAGS=$ac_wine_try_cflags_saved
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17464 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17465 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17466 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17467 fi ;;
17468 *x86_64*)
17469 case $host_os in
17470 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17471 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17472 if ${ac_cv_cflags__Wno_format+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 ac_wine_try_cflags_saved=$CFLAGS
17476 CFLAGS="$CFLAGS -Wno-format"
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 int main(int argc, char **argv) { return 0; }
17480 _ACEOF
17481 if ac_fn_c_try_link "$LINENO"; then :
17482 ac_cv_cflags__Wno_format=yes
17483 else
17484 ac_cv_cflags__Wno_format=no
17486 rm -f core conftest.err conftest.$ac_objext \
17487 conftest$ac_exeext conftest.$ac_ext
17488 CFLAGS=$ac_wine_try_cflags_saved
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17491 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17492 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17493 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17494 fi ;;
17495 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17496 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17497 if ${ac_cv_cflags__mabi_ms+:} false; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500 ac_wine_try_cflags_saved=$CFLAGS
17501 CFLAGS="$CFLAGS -mabi=ms"
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 int main(int argc, char **argv) { return 0; }
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"; then :
17507 ac_cv_cflags__mabi_ms=yes
17508 else
17509 ac_cv_cflags__mabi_ms=no
17511 rm -f core conftest.err conftest.$ac_objext \
17512 conftest$ac_exeext conftest.$ac_ext
17513 CFLAGS=$ac_wine_try_cflags_saved
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17516 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17517 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17518 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17519 fi ;;
17520 esac ;;
17521 esac
17523 CFLAGS=$saved_CFLAGS
17525 if test "x$enable_maintainer_mode" = "xyes"
17526 then
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17528 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17529 if ${ac_cv_cflags__Werror+:} false; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17532 ac_wine_try_cflags_saved=$CFLAGS
17533 CFLAGS="$CFLAGS -Werror"
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 int main(int argc, char **argv) { return 0; }
17537 _ACEOF
17538 if ac_fn_c_try_link "$LINENO"; then :
17539 ac_cv_cflags__Werror=yes
17540 else
17541 ac_cv_cflags__Werror=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17545 CFLAGS=$ac_wine_try_cflags_saved
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17548 $as_echo "$ac_cv_cflags__Werror" >&6; }
17549 if test "x$ac_cv_cflags__Werror" = xyes; then :
17550 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17557 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17558 if ${ac_cv_c_fortify_enabled+:} false; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 #include <string.h>
17565 main ()
17567 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17568 #error Fortify enabled
17569 #endif
17571 return 0;
17573 _ACEOF
17574 if ac_fn_c_try_compile "$LINENO"; then :
17575 ac_cv_c_fortify_enabled=no
17576 else
17577 ac_cv_c_fortify_enabled=yes
17579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17582 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17583 if test "$ac_cv_c_fortify_enabled" = yes
17584 then
17585 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17590 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17591 if ${ac_cv_c_cfi_support+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17598 main ()
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_compile "$LINENO"; then :
17606 ac_cv_c_cfi_support="yes"
17607 else
17608 ac_cv_c_cfi_support="no"
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17613 $as_echo "$ac_cv_c_cfi_support" >&6; }
17614 if test "$ac_cv_c_cfi_support" = "yes"
17615 then
17616 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17617 else
17618 if test "x$enable_win64" = "xyes"
17619 then
17620 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17625 case $build_os in
17626 cygwin*|mingw32*) TOOLSEXT=".exe"
17628 esac
17630 case $host_os in
17631 linux*)
17632 case $host_cpu in
17633 *i[3456789]86*|x86_64*|*aarch64*)
17634 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17635 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17637 esac
17639 esac
17642 ac_save_CFLAGS="$CFLAGS"
17643 CFLAGS="$CFLAGS $BUILTINFLAG"
17644 for ac_func in \
17645 __res_get_state \
17646 __res_getservers \
17647 _spawnvp \
17648 dlopen \
17649 epoll_create \
17650 ffs \
17651 finitef \
17652 fnmatch \
17653 fork \
17654 fpclass \
17655 fstatfs \
17656 fstatvfs \
17657 futimens \
17658 futimes \
17659 futimesat \
17660 getattrlist \
17661 getauxval \
17662 getifaddrs \
17663 getopt_long_only \
17664 kqueue \
17665 lstat \
17666 pipe2 \
17667 poll \
17668 port_create \
17669 prctl \
17670 pread \
17671 proc_pidinfo \
17672 pwrite \
17673 readdir \
17674 readlink \
17675 sched_yield \
17676 select \
17677 setproctitle \
17678 setprogname \
17679 settimeofday \
17680 sigprocmask \
17681 statfs \
17682 statvfs \
17683 strnlen \
17684 strtold \
17685 symlink \
17686 sysinfo \
17687 tcdrain \
17688 thr_kill2 \
17689 timegm \
17690 usleep
17692 do :
17693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17695 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17696 cat >>confdefs.h <<_ACEOF
17697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17698 _ACEOF
17701 done
17703 CFLAGS="$ac_save_CFLAGS"
17705 if test "$ac_cv_func_dlopen" = no
17706 then
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17708 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17709 if ${ac_cv_lib_dl_dlopen+:} false; then :
17710 $as_echo_n "(cached) " >&6
17711 else
17712 ac_check_lib_save_LIBS=$LIBS
17713 LIBS="-ldl $LIBS"
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17717 /* Override any GCC internal prototype to avoid an error.
17718 Use char because int might match the return type of a GCC
17719 builtin and then its argument prototype would still apply. */
17720 #ifdef __cplusplus
17721 extern "C"
17722 #endif
17723 char dlopen ();
17725 main ()
17727 return dlopen ();
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_link "$LINENO"; then :
17733 ac_cv_lib_dl_dlopen=yes
17734 else
17735 ac_cv_lib_dl_dlopen=no
17737 rm -f core conftest.err conftest.$ac_objext \
17738 conftest$ac_exeext conftest.$ac_ext
17739 LIBS=$ac_check_lib_save_LIBS
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17742 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17743 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17744 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17745 DL_LIBS="-ldl"
17750 ac_wine_check_funcs_save_LIBS="$LIBS"
17751 LIBS="$LIBS $DL_LIBS"
17752 for ac_func in dladdr
17753 do :
17754 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17755 if test "x$ac_cv_func_dladdr" = xyes; then :
17756 cat >>confdefs.h <<_ACEOF
17757 #define HAVE_DLADDR 1
17758 _ACEOF
17761 done
17763 LIBS="$ac_wine_check_funcs_save_LIBS"
17765 if test "$ac_cv_func_poll" = no
17766 then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17768 $as_echo_n "checking for poll in -lpoll... " >&6; }
17769 if ${ac_cv_lib_poll_poll+:} false; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17772 ac_check_lib_save_LIBS=$LIBS
17773 LIBS="-lpoll $LIBS"
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17780 #ifdef __cplusplus
17781 extern "C"
17782 #endif
17783 char poll ();
17785 main ()
17787 return poll ();
17789 return 0;
17791 _ACEOF
17792 if ac_fn_c_try_link "$LINENO"; then :
17793 ac_cv_lib_poll_poll=yes
17794 else
17795 ac_cv_lib_poll_poll=no
17797 rm -f core conftest.err conftest.$ac_objext \
17798 conftest$ac_exeext conftest.$ac_ext
17799 LIBS=$ac_check_lib_save_LIBS
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17802 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17803 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17804 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17805 POLL_LIBS="-lpoll"
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17812 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17813 if ${ac_cv_search_gethostbyname+:} false; then :
17814 $as_echo_n "(cached) " >&6
17815 else
17816 ac_func_search_save_LIBS=$LIBS
17817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17818 /* end confdefs.h. */
17820 /* Override any GCC internal prototype to avoid an error.
17821 Use char because int might match the return type of a GCC
17822 builtin and then its argument prototype would still apply. */
17823 #ifdef __cplusplus
17824 extern "C"
17825 #endif
17826 char gethostbyname ();
17828 main ()
17830 return gethostbyname ();
17832 return 0;
17834 _ACEOF
17835 for ac_lib in '' nsl; do
17836 if test -z "$ac_lib"; then
17837 ac_res="none required"
17838 else
17839 ac_res=-l$ac_lib
17840 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17842 if ac_fn_c_try_link "$LINENO"; then :
17843 ac_cv_search_gethostbyname=$ac_res
17845 rm -f core conftest.err conftest.$ac_objext \
17846 conftest$ac_exeext
17847 if ${ac_cv_search_gethostbyname+:} false; then :
17848 break
17850 done
17851 if ${ac_cv_search_gethostbyname+:} false; then :
17853 else
17854 ac_cv_search_gethostbyname=no
17856 rm conftest.$ac_ext
17857 LIBS=$ac_func_search_save_LIBS
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17860 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17861 ac_res=$ac_cv_search_gethostbyname
17862 if test "$ac_res" != no; then :
17863 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17869 $as_echo_n "checking for library containing connect... " >&6; }
17870 if ${ac_cv_search_connect+:} false; then :
17871 $as_echo_n "(cached) " >&6
17872 else
17873 ac_func_search_save_LIBS=$LIBS
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 #ifdef __cplusplus
17881 extern "C"
17882 #endif
17883 char connect ();
17885 main ()
17887 return connect ();
17889 return 0;
17891 _ACEOF
17892 for ac_lib in '' socket; do
17893 if test -z "$ac_lib"; then
17894 ac_res="none required"
17895 else
17896 ac_res=-l$ac_lib
17897 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17899 if ac_fn_c_try_link "$LINENO"; then :
17900 ac_cv_search_connect=$ac_res
17902 rm -f core conftest.err conftest.$ac_objext \
17903 conftest$ac_exeext
17904 if ${ac_cv_search_connect+:} false; then :
17905 break
17907 done
17908 if ${ac_cv_search_connect+:} false; then :
17910 else
17911 ac_cv_search_connect=no
17913 rm conftest.$ac_ext
17914 LIBS=$ac_func_search_save_LIBS
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17917 $as_echo "$ac_cv_search_connect" >&6; }
17918 ac_res=$ac_cv_search_connect
17919 if test "$ac_res" != no; then :
17920 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17926 $as_echo_n "checking for library containing inet_aton... " >&6; }
17927 if ${ac_cv_search_inet_aton+:} false; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930 ac_func_search_save_LIBS=$LIBS
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17934 /* Override any GCC internal prototype to avoid an error.
17935 Use char because int might match the return type of a GCC
17936 builtin and then its argument prototype would still apply. */
17937 #ifdef __cplusplus
17938 extern "C"
17939 #endif
17940 char inet_aton ();
17942 main ()
17944 return inet_aton ();
17946 return 0;
17948 _ACEOF
17949 for ac_lib in '' resolv; do
17950 if test -z "$ac_lib"; then
17951 ac_res="none required"
17952 else
17953 ac_res=-l$ac_lib
17954 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 ac_cv_search_inet_aton=$ac_res
17959 rm -f core conftest.err conftest.$ac_objext \
17960 conftest$ac_exeext
17961 if ${ac_cv_search_inet_aton+:} false; then :
17962 break
17964 done
17965 if ${ac_cv_search_inet_aton+:} false; then :
17967 else
17968 ac_cv_search_inet_aton=no
17970 rm conftest.$ac_ext
17971 LIBS=$ac_func_search_save_LIBS
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17974 $as_echo "$ac_cv_search_inet_aton" >&6; }
17975 ac_res=$ac_cv_search_inet_aton
17976 if test "$ac_res" != no; then :
17977 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17982 for ac_func in \
17983 getaddrinfo \
17984 getnameinfo \
17985 getnetbyname \
17986 getprotobyname \
17987 getprotobynumber \
17988 getservbyport \
17989 inet_addr \
17990 inet_network \
17991 inet_ntop \
17992 inet_pton \
17994 do :
17995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17998 cat >>confdefs.h <<_ACEOF
17999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18000 _ACEOF
18003 done
18006 case $host_os in
18007 darwin*|macosx*) ;;
18008 *) ac_save_LIBS=$LIBS
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18010 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18011 if ${ac_cv_search_clock_gettime+:} false; then :
18012 $as_echo_n "(cached) " >&6
18013 else
18014 ac_func_search_save_LIBS=$LIBS
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 /* Override any GCC internal prototype to avoid an error.
18019 Use char because int might match the return type of a GCC
18020 builtin and then its argument prototype would still apply. */
18021 #ifdef __cplusplus
18022 extern "C"
18023 #endif
18024 char clock_gettime ();
18026 main ()
18028 return clock_gettime ();
18030 return 0;
18032 _ACEOF
18033 for ac_lib in '' rt; do
18034 if test -z "$ac_lib"; then
18035 ac_res="none required"
18036 else
18037 ac_res=-l$ac_lib
18038 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18040 if ac_fn_c_try_link "$LINENO"; then :
18041 ac_cv_search_clock_gettime=$ac_res
18043 rm -f core conftest.err conftest.$ac_objext \
18044 conftest$ac_exeext
18045 if ${ac_cv_search_clock_gettime+:} false; then :
18046 break
18048 done
18049 if ${ac_cv_search_clock_gettime+:} false; then :
18051 else
18052 ac_cv_search_clock_gettime=no
18054 rm conftest.$ac_ext
18055 LIBS=$ac_func_search_save_LIBS
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18058 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18059 ac_res=$ac_cv_search_clock_gettime
18060 if test "$ac_res" != no; then :
18061 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18063 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18065 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18069 LIBS=$ac_save_LIBS
18071 esac
18073 if test "x$with_ldap" != "xno"
18074 then
18075 if ${LDAP_CFLAGS:+false} :; then :
18076 if ${PKG_CONFIG+:} false; then :
18077 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18081 if ${LDAP_LIBS:+false} :; then :
18082 if ${PKG_CONFIG+:} false; then :
18083 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18087 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18088 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18089 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18090 ac_save_CPPFLAGS=$CPPFLAGS
18091 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18092 for ac_header in ldap.h lber.h
18093 do :
18094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18095 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18097 cat >>confdefs.h <<_ACEOF
18098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18099 _ACEOF
18103 done
18105 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18106 then
18107 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18109 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18111 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18112 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18115 ac_check_lib_save_LIBS=$LIBS
18116 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 #ifdef __cplusplus
18124 extern "C"
18125 #endif
18126 char ldap_initialize ();
18128 main ()
18130 return ldap_initialize ();
18132 return 0;
18134 _ACEOF
18135 if ac_fn_c_try_link "$LINENO"; then :
18136 ac_cv_lib_ldap_r_ldap_initialize=yes
18137 else
18138 ac_cv_lib_ldap_r_ldap_initialize=no
18140 rm -f core conftest.err conftest.$ac_objext \
18141 conftest$ac_exeext conftest.$ac_ext
18142 LIBS=$ac_check_lib_save_LIBS
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18145 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18146 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18148 $as_echo_n "checking for ber_init in -llber... " >&6; }
18149 if ${ac_cv_lib_lber_ber_init+:} false; then :
18150 $as_echo_n "(cached) " >&6
18151 else
18152 ac_check_lib_save_LIBS=$LIBS
18153 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18160 #ifdef __cplusplus
18161 extern "C"
18162 #endif
18163 char ber_init ();
18165 main ()
18167 return ber_init ();
18169 return 0;
18171 _ACEOF
18172 if ac_fn_c_try_link "$LINENO"; then :
18173 ac_cv_lib_lber_ber_init=yes
18174 else
18175 ac_cv_lib_lber_ber_init=no
18177 rm -f core conftest.err conftest.$ac_objext \
18178 conftest$ac_exeext conftest.$ac_ext
18179 LIBS=$ac_check_lib_save_LIBS
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18182 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18183 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18185 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18187 else
18188 LDAP_LIBS=""
18191 else
18192 LDAP_LIBS=""
18195 else
18196 LDAP_LIBS=""
18199 ac_wine_check_funcs_save_LIBS="$LIBS"
18200 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18201 for ac_func in \
18202 ldap_count_references \
18203 ldap_first_reference \
18204 ldap_next_reference \
18205 ldap_parse_reference \
18206 ldap_parse_sort_control \
18207 ldap_parse_sortresponse_control \
18208 ldap_parse_vlv_control \
18209 ldap_parse_vlvresponse_control
18210 do :
18211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18213 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18214 cat >>confdefs.h <<_ACEOF
18215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18216 _ACEOF
18219 done
18221 LIBS="$ac_wine_check_funcs_save_LIBS"
18222 else
18223 LDAP_LIBS=""
18225 CPPFLAGS=$ac_save_CPPFLAGS
18226 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18227 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18230 if test "x$LDAP_LIBS" = "x"; then :
18231 case "x$with_ldap" in
18232 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18233 xno) ;;
18234 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18235 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18236 esac
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18241 $as_echo_n "checking for sched_setaffinity... " >&6; }
18242 if ${wine_cv_have_sched_setaffinity+:} false; then :
18243 $as_echo_n "(cached) " >&6
18244 else
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247 #define _GNU_SOURCE
18248 #include <sched.h>
18250 main ()
18252 sched_setaffinity(0, 0, 0);
18254 return 0;
18256 _ACEOF
18257 if ac_fn_c_try_link "$LINENO"; then :
18258 wine_cv_have_sched_setaffinity=yes
18259 else
18260 wine_cv_have_sched_setaffinity=no
18262 rm -f core conftest.err conftest.$ac_objext \
18263 conftest$ac_exeext conftest.$ac_ext
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18266 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18267 if test "$wine_cv_have_sched_setaffinity" = "yes"
18268 then
18270 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18275 $as_echo_n "checking for fallocate... " >&6; }
18276 if ${wine_cv_have_fallocate+:} false; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281 #define _GNU_SOURCE
18282 #include <fcntl.h>
18284 main ()
18286 fallocate(-1, 0, 0, 0);
18288 return 0;
18290 _ACEOF
18291 if ac_fn_c_try_link "$LINENO"; then :
18292 wine_cv_have_fallocate=yes
18293 else
18294 wine_cv_have_fallocate=no
18296 rm -f core conftest.err conftest.$ac_objext \
18297 conftest$ac_exeext conftest.$ac_ext
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18300 $as_echo "$wine_cv_have_fallocate" >&6; }
18301 if test "$wine_cv_have_fallocate" = "yes"
18302 then
18304 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18310 $as_echo_n "checking for inline... " >&6; }
18311 if ${ac_cv_c_inline+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18314 ac_cv_c_inline=no
18315 for ac_kw in inline __inline__ __inline; do
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 #ifndef __cplusplus
18319 typedef int foo_t;
18320 static $ac_kw foo_t static_foo () {return 0; }
18321 $ac_kw foo_t foo () {return 0; }
18322 #endif
18324 _ACEOF
18325 if ac_fn_c_try_compile "$LINENO"; then :
18326 ac_cv_c_inline=$ac_kw
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 test "$ac_cv_c_inline" != no && break
18330 done
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18334 $as_echo "$ac_cv_c_inline" >&6; }
18336 case $ac_cv_c_inline in
18337 inline | yes) ;;
18339 case $ac_cv_c_inline in
18340 no) ac_val=;;
18341 *) ac_val=$ac_cv_c_inline;;
18342 esac
18343 cat >>confdefs.h <<_ACEOF
18344 #ifndef __cplusplus
18345 #define inline $ac_val
18346 #endif
18347 _ACEOF
18349 esac
18351 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18352 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define HAVE_FSBLKCNT_T 1
18356 _ACEOF
18360 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18361 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18363 cat >>confdefs.h <<_ACEOF
18364 #define HAVE_FSFILCNT_T 1
18365 _ACEOF
18370 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18371 #include <signal.h>
18373 if test "x$ac_cv_type_sigset_t" = xyes; then :
18375 cat >>confdefs.h <<_ACEOF
18376 #define HAVE_SIGSET_T 1
18377 _ACEOF
18382 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18384 if test "x$ac_cv_type_request_sense" = xyes; then :
18386 cat >>confdefs.h <<_ACEOF
18387 #define HAVE_REQUEST_SENSE 1
18388 _ACEOF
18394 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18395 #ifdef HAVE_SYS_SOCKET_H
18396 #include <sys/socket.h>
18397 #endif
18398 #ifdef HAVE_SYS_SOCKETVAR_H
18399 #include <sys/socketvar.h>
18400 #endif
18401 #ifdef HAVE_NET_ROUTE_H
18402 #include <net/route.h>
18403 #endif
18404 #ifdef HAVE_NETINET_IN_H
18405 #include <netinet/in.h>
18406 #endif
18407 #ifdef HAVE_NETINET_IN_SYSTM_H
18408 #include <netinet/in_systm.h>
18409 #endif
18410 #ifdef HAVE_NETINET_IP_H
18411 #include <netinet/ip.h>
18412 #endif
18413 #ifdef HAVE_NETINET_IN_PCB_H
18414 #include <netinet/in_pcb.h>
18415 #endif
18417 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18419 cat >>confdefs.h <<_ACEOF
18420 #define HAVE_STRUCT_XINPGEN 1
18421 _ACEOF
18427 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18428 #include <link.h>
18429 #endif
18430 #ifdef HAVE_SYS_LINK_H
18431 #include <sys/link.h>
18432 #endif
18434 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_STRUCT_R_DEBUG 1
18438 _ACEOF
18442 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18443 #include <link.h>
18444 #endif
18445 #ifdef HAVE_SYS_LINK_H
18446 #include <sys/link.h>
18447 #endif
18449 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18451 cat >>confdefs.h <<_ACEOF
18452 #define HAVE_STRUCT_LINK_MAP 1
18453 _ACEOF
18459 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18460 #include <linux/input.h>
18461 #endif
18463 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18465 cat >>confdefs.h <<_ACEOF
18466 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18467 _ACEOF
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18474 $as_echo_n "checking for if_nameindex... " >&6; }
18475 if ${wine_cv_have_if_nameindex+:} false; then :
18476 $as_echo_n "(cached) " >&6
18477 else
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 #ifdef HAVE_SYS_TYPES_H
18481 #include <sys/types.h>
18482 #endif
18483 #ifdef HAVE_SYS_SOCKET_H
18484 #include <sys/socket.h>
18485 #endif
18486 #ifdef HAVE_NET_IF_H
18487 # include <net/if.h>
18488 #endif
18490 main ()
18492 struct if_nameindex *p = if_nameindex(); return p->if_index;
18494 return 0;
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"; then :
18498 wine_cv_have_if_nameindex=yes
18499 else
18500 wine_cv_have_if_nameindex=no
18502 rm -f core conftest.err conftest.$ac_objext \
18503 conftest$ac_exeext conftest.$ac_ext
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18506 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18507 if test "$wine_cv_have_if_nameindex" = "yes"
18508 then
18510 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18515 $as_echo_n "checking for sigaddset... " >&6; }
18516 if ${wine_cv_have_sigaddset+:} false; then :
18517 $as_echo_n "(cached) " >&6
18518 else
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 #include <signal.h>
18523 main ()
18525 sigset_t set; sigaddset(&set,SIGTERM);
18527 return 0;
18529 _ACEOF
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 wine_cv_have_sigaddset=yes
18532 else
18533 wine_cv_have_sigaddset=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18539 $as_echo "$wine_cv_have_sigaddset" >&6; }
18540 if test "$wine_cv_have_sigaddset" = "yes"
18541 then
18543 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18549 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18550 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18551 $as_echo_n "(cached) " >&6
18552 else
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555 #include <netdb.h>
18557 main ()
18560 char *name=0;
18561 struct hostent he;
18562 struct hostent *result;
18563 char *buf=0;
18564 int bufsize=0;
18565 int errnr;
18566 char *addr=0;
18567 int addrlen=0;
18568 int addrtype=0;
18569 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18570 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18573 return 0;
18575 _ACEOF
18576 if ac_fn_c_try_link "$LINENO"; then :
18577 wine_cv_linux_gethostbyname_r_6=yes
18578 else
18579 wine_cv_linux_gethostbyname_r_6=no
18582 rm -f core conftest.err conftest.$ac_objext \
18583 conftest$ac_exeext conftest.$ac_ext
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18587 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18588 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18589 then
18591 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18595 if test "$ac_cv_header_linux_joystick_h" = "yes"
18596 then
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18598 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18599 if ${wine_cv_linux_joystick_22_api+:} false; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18605 #include <sys/ioctl.h>
18606 #include <sys/types.h>
18607 #include <linux/joystick.h>
18609 struct js_event blub;
18610 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18611 #error "no 2.2 header"
18612 #endif
18615 main ()
18617 /*empty*/
18619 return 0;
18621 _ACEOF
18622 if ac_fn_c_try_compile "$LINENO"; then :
18623 wine_cv_linux_joystick_22_api=yes
18624 else
18625 wine_cv_linux_joystick_22_api=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18631 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18632 if test "$wine_cv_linux_joystick_22_api" = "yes"
18633 then
18635 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18641 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18642 #ifdef HAVE_SYS_PARAM_H
18643 # include <sys/param.h>
18644 #endif
18645 #ifdef HAVE_SYS_MOUNT_H
18646 # include <sys/mount.h>
18647 #endif
18648 #ifdef HAVE_SYS_VFS_H
18649 # include <sys/vfs.h>
18650 #endif
18651 #ifdef HAVE_SYS_STATFS_H
18652 # include <sys/statfs.h>
18653 #endif
18655 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_STRUCT_STATFS_F_BFREE 1
18659 _ACEOF
18663 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18664 #ifdef HAVE_SYS_PARAM_H
18665 # include <sys/param.h>
18666 #endif
18667 #ifdef HAVE_SYS_MOUNT_H
18668 # include <sys/mount.h>
18669 #endif
18670 #ifdef HAVE_SYS_VFS_H
18671 # include <sys/vfs.h>
18672 #endif
18673 #ifdef HAVE_SYS_STATFS_H
18674 # include <sys/statfs.h>
18675 #endif
18677 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18681 _ACEOF
18685 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18686 #ifdef HAVE_SYS_PARAM_H
18687 # include <sys/param.h>
18688 #endif
18689 #ifdef HAVE_SYS_MOUNT_H
18690 # include <sys/mount.h>
18691 #endif
18692 #ifdef HAVE_SYS_VFS_H
18693 # include <sys/vfs.h>
18694 #endif
18695 #ifdef HAVE_SYS_STATFS_H
18696 # include <sys/statfs.h>
18697 #endif
18699 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18701 cat >>confdefs.h <<_ACEOF
18702 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18703 _ACEOF
18707 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18708 #ifdef HAVE_SYS_PARAM_H
18709 # include <sys/param.h>
18710 #endif
18711 #ifdef HAVE_SYS_MOUNT_H
18712 # include <sys/mount.h>
18713 #endif
18714 #ifdef HAVE_SYS_VFS_H
18715 # include <sys/vfs.h>
18716 #endif
18717 #ifdef HAVE_SYS_STATFS_H
18718 # include <sys/statfs.h>
18719 #endif
18721 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_STATFS_F_FFREE 1
18725 _ACEOF
18729 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18730 #ifdef HAVE_SYS_PARAM_H
18731 # include <sys/param.h>
18732 #endif
18733 #ifdef HAVE_SYS_MOUNT_H
18734 # include <sys/mount.h>
18735 #endif
18736 #ifdef HAVE_SYS_VFS_H
18737 # include <sys/vfs.h>
18738 #endif
18739 #ifdef HAVE_SYS_STATFS_H
18740 # include <sys/statfs.h>
18741 #endif
18743 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18747 _ACEOF
18751 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18752 #ifdef HAVE_SYS_PARAM_H
18753 # include <sys/param.h>
18754 #endif
18755 #ifdef HAVE_SYS_MOUNT_H
18756 # include <sys/mount.h>
18757 #endif
18758 #ifdef HAVE_SYS_VFS_H
18759 # include <sys/vfs.h>
18760 #endif
18761 #ifdef HAVE_SYS_STATFS_H
18762 # include <sys/statfs.h>
18763 #endif
18765 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18767 cat >>confdefs.h <<_ACEOF
18768 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18769 _ACEOF
18775 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18776 #include <sys/statvfs.h>
18777 #endif
18779 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18783 _ACEOF
18789 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18790 #include <dirent.h>
18791 #endif
18793 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18797 _ACEOF
18803 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18804 #ifdef HAVE_SYS_SOCKET_H
18805 # include <sys/socket.h>
18806 #endif
18807 #ifdef HAVE_SYS_UN_H
18808 # include <sys/un.h>
18809 #endif
18811 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18815 _ACEOF
18819 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18820 #ifdef HAVE_SYS_SOCKET_H
18821 # include <sys/socket.h>
18822 #endif
18823 #ifdef HAVE_SYS_UN_H
18824 # include <sys/un.h>
18825 #endif
18827 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18831 _ACEOF
18835 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18836 #ifdef HAVE_SYS_SOCKET_H
18837 # include <sys/socket.h>
18838 #endif
18839 #ifdef HAVE_SYS_UN_H
18840 # include <sys/un.h>
18841 #endif
18843 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18847 _ACEOF
18853 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18854 #ifdef HAVE_SCSI_SG_H
18855 #include <scsi/sg.h>
18856 #endif
18858 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18860 cat >>confdefs.h <<_ACEOF
18861 #define HAVE_SCSIREQ_T_CMD 1
18862 _ACEOF
18866 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>
18867 #ifdef HAVE_SCSI_SG_H
18868 #include <scsi/sg.h>
18869 #endif
18871 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18875 _ACEOF
18881 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18883 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18885 cat >>confdefs.h <<_ACEOF
18886 #define HAVE_SIGINFO_T_SI_FD 1
18887 _ACEOF
18893 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18894 #ifdef HAVE_SYS_MTIO_H
18895 #include <sys/mtio.h>
18896 #endif
18898 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18900 cat >>confdefs.h <<_ACEOF
18901 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18902 _ACEOF
18906 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18907 #ifdef HAVE_SYS_MTIO_H
18908 #include <sys/mtio.h>
18909 #endif
18911 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18915 _ACEOF
18919 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18920 #ifdef HAVE_SYS_MTIO_H
18921 #include <sys/mtio.h>
18922 #endif
18924 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18928 _ACEOF
18934 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18935 #include <getopt.h>
18936 #endif
18938 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_OPTION_NAME 1
18942 _ACEOF
18948 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18949 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18953 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18958 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_STAT_ST_MTIM 1
18962 _ACEOF
18966 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18967 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18971 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18976 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18978 cat >>confdefs.h <<_ACEOF
18979 #define HAVE_STRUCT_STAT_ST_CTIM 1
18980 _ACEOF
18984 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18985 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18989 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18994 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_STAT_ST_ATIM 1
18998 _ACEOF
19002 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19003 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19007 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19012 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19016 _ACEOF
19020 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19021 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19023 cat >>confdefs.h <<_ACEOF
19024 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19025 _ACEOF
19029 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19030 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19034 _ACEOF
19038 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19039 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19043 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19048 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19050 cat >>confdefs.h <<_ACEOF
19051 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19052 _ACEOF
19058 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
19059 #include <sys/types.h>
19060 #endif
19061 #ifdef HAVE_NETINET_IN_H
19062 #include <netinet/in.h>
19063 #endif
19065 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19069 _ACEOF
19075 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19076 #include <sys/types.h>
19077 #endif
19078 #ifdef HAVE_NETINET_IN_H
19079 #include <netinet/in.h>
19080 #endif
19081 #ifdef HAVE_RESOLV_H
19082 #include <resolv.h>
19083 #endif
19085 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_STRUCT___RES_STATE 1
19089 _ACEOF
19095 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
19096 #include <resolv.h>
19097 #endif
19099 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19103 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19110 #include <sys/types.h>
19111 #endif
19112 #ifdef HAVE_NETINET_IN_H
19113 # include <netinet/in.h>
19114 #endif
19115 #ifdef HAVE_ARPA_NAMESER_H
19116 # include <arpa/nameser.h>
19117 #endif
19119 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_NS_MSG__MSG_PTR 1
19123 _ACEOF
19129 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19130 #include <sys/types.h>
19131 #endif
19132 #ifdef HAVE_NETINET_IN_H
19133 #include <netinet/in.h>
19134 #endif
19135 #ifdef HAVE_NETINET_IP_H
19136 #include <netinet/ip.h>
19137 #endif
19138 #ifdef HAVE_NETINET_IP_ICMP_H
19139 #include <netinet/ip_icmp.h>
19140 #endif
19141 #ifdef HAVE_NETINET_ICMP_VAR_H
19142 #include <netinet/icmp_var.h>
19143 #endif
19145 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19149 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19156 #include <sys/types.h>
19157 #endif
19158 #ifdef HAVE_ALIAS_H
19159 #include <alias.h>
19160 #endif
19161 #ifdef HAVE_SYS_SOCKET_H
19162 #include <sys/socket.h>
19163 #endif
19164 #ifdef HAVE_SYS_SOCKETVAR_H
19165 #include <sys/socketvar.h>
19166 #endif
19167 #ifdef HAVE_SYS_TIMEOUT_H
19168 #include <sys/timeout.h>
19169 #endif
19170 #ifdef HAVE_NETINET_IN_H
19171 #include <netinet/in.h>
19172 #endif
19173 #ifdef HAVE_NETINET_IN_SYSTM_H
19174 #include <netinet/in_systm.h>
19175 #endif
19176 #ifdef HAVE_NETINET_IP_H
19177 #include <netinet/ip.h>
19178 #endif
19179 #ifdef HAVE_NETINET_IP_VAR_H
19180 #include <netinet/ip_var.h>
19181 #endif
19182 #ifdef HAVE_NETINET_IP_ICMP_H
19183 #include <netinet/ip_icmp.h>
19184 #endif
19185 #ifdef HAVE_NETINET_ICMP_VAR_H
19186 #include <netinet/icmp_var.h>
19187 #endif
19189 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19193 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19200 #include <sys/types.h>
19201 #endif
19202 #ifdef HAVE_SYS_SOCKETVAR_H
19203 #include <sys/socketvar.h>
19204 #endif
19205 #ifdef HAVE_NETINET_IN_H
19206 #include <netinet/in.h>
19207 #endif
19208 #ifdef HAVE_NETINET_IP_VAR_H
19209 #include <netinet/ip_var.h>
19210 #endif
19212 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19216 _ACEOF
19222 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
19223 #include <netinet/ip_var.h>
19224 #endif
19226 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19228 cat >>confdefs.h <<_ACEOF
19229 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19230 _ACEOF
19236 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19237 #include <sys/types.h>
19238 #endif
19239 #ifdef HAVE_SYS_SOCKETVAR_H
19240 #include <sys/socketvar.h>
19241 #endif
19242 #ifdef HAVE_NETINET_IN_H
19243 #include <netinet/in.h>
19244 #endif
19245 #ifdef HAVE_NETINET_TCP_H
19246 #include <netinet/tcp.h>
19247 #endif
19248 #ifdef HAVE_NETINET_TCP_VAR_H
19249 #include <netinet/tcp_var.h>
19250 #endif
19252 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19256 _ACEOF
19262 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
19263 #include <netinet/tcp_var.h>
19264 #endif
19266 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19270 _ACEOF
19276 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19277 #include <sys/types.h>
19278 #endif
19279 #ifdef HAVE_NETINET_IN_H
19280 #include <netinet/in.h>
19281 #endif
19282 #ifdef HAVE_NETINET_IP_VAR_H
19283 #include <netinet/ip_var.h>
19284 #endif
19285 #ifdef HAVE_NETINET_UDP_H
19286 #include <netinet/udp.h>
19287 #endif
19288 #ifdef HAVE_NETINET_UDP_VAR_H
19289 #include <netinet/udp_var.h>
19290 #endif
19292 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19296 _ACEOF
19302 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19303 #include <sys/types.h>
19304 #endif
19305 #ifdef HAVE_NET_IF_H
19306 # include <net/if.h>
19307 #endif
19309 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19311 cat >>confdefs.h <<_ACEOF
19312 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19313 _ACEOF
19319 ac_save_LIBS="$LIBS"
19320 LIBS="$LIBS -lm"
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19322 $as_echo_n "checking for isfinite... " >&6; }
19323 if ${ac_cv_have_isfinite+:} false; then :
19324 $as_echo_n "(cached) " >&6
19325 else
19326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19328 #define _GNU_SOURCE
19329 #include <math.h>
19331 main ()
19333 float f = 0.0; return isfinite(f)
19335 return 0;
19337 _ACEOF
19338 if ac_fn_c_try_link "$LINENO"; then :
19339 ac_cv_have_isfinite="yes"
19340 else
19341 ac_cv_have_isfinite="no"
19343 rm -f core conftest.err conftest.$ac_objext \
19344 conftest$ac_exeext conftest.$ac_ext
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19347 $as_echo "$ac_cv_have_isfinite" >&6; }
19348 if test "$ac_cv_have_isfinite" = "yes"
19349 then
19351 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19356 $as_echo_n "checking for isinf... " >&6; }
19357 if ${ac_cv_have_isinf+:} false; then :
19358 $as_echo_n "(cached) " >&6
19359 else
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <math.h>
19364 main ()
19366 float f = 0.0; return isinf(f)
19368 return 0;
19370 _ACEOF
19371 if ac_fn_c_try_link "$LINENO"; then :
19372 ac_cv_have_isinf="yes"
19373 else
19374 ac_cv_have_isinf="no"
19376 rm -f core conftest.err conftest.$ac_objext \
19377 conftest$ac_exeext conftest.$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19380 $as_echo "$ac_cv_have_isinf" >&6; }
19381 if test "$ac_cv_have_isinf" = "yes"
19382 then
19384 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19389 $as_echo_n "checking for isnan... " >&6; }
19390 if ${ac_cv_have_isnan+:} false; then :
19391 $as_echo_n "(cached) " >&6
19392 else
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19395 #include <math.h>
19397 main ()
19399 float f = 0.0; return isnan(f)
19401 return 0;
19403 _ACEOF
19404 if ac_fn_c_try_link "$LINENO"; then :
19405 ac_cv_have_isnan="yes"
19406 else
19407 ac_cv_have_isnan="no"
19409 rm -f core conftest.err conftest.$ac_objext \
19410 conftest$ac_exeext conftest.$ac_ext
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19413 $as_echo "$ac_cv_have_isnan" >&6; }
19414 if test "$ac_cv_have_isnan" = "yes"
19415 then
19417 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19421 for ac_func in \
19422 acosh \
19423 acoshf \
19424 asinh \
19425 asinhf \
19426 atanh \
19427 atanhf \
19428 cbrt \
19429 cbrtf \
19430 erf \
19431 erfc \
19432 erfcf \
19433 erff \
19434 exp2 \
19435 exp2f \
19436 expm1 \
19437 expm1f \
19438 fma \
19439 fmaf \
19440 ilogb \
19441 ilogbf \
19442 j0 \
19443 j1 \
19444 jn \
19445 lgamma \
19446 lgammaf \
19447 llrint \
19448 llrintf \
19449 llround \
19450 llroundf \
19451 log1p \
19452 log1pf \
19453 log2 \
19454 log2f \
19455 lrint \
19456 lrintf \
19457 lround \
19458 lroundf \
19459 nearbyint \
19460 nearbyintf \
19461 nexttoward \
19462 nexttowardf \
19463 powl \
19464 remainder \
19465 remainderf \
19466 remquo \
19467 remquof \
19468 rint \
19469 rintf \
19470 round \
19471 roundf \
19472 tgamma \
19473 tgammaf \
19474 trunc \
19475 truncf \
19476 y0 \
19477 y1 \
19480 do :
19481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19483 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19484 cat >>confdefs.h <<_ACEOF
19485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19486 _ACEOF
19489 done
19491 LIBS="$ac_save_LIBS"
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19494 $as_echo_n "checking for __builtin_popcount... " >&6; }
19495 if ${ac_cv_have___builtin_popcount+:} false; then :
19496 $as_echo_n "(cached) " >&6
19497 else
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19502 main ()
19504 return __builtin_popcount(1)
19506 return 0;
19508 _ACEOF
19509 if ac_fn_c_try_link "$LINENO"; then :
19510 ac_cv_have___builtin_popcount="yes"
19511 else
19512 ac_cv_have___builtin_popcount="no"
19514 rm -f core conftest.err conftest.$ac_objext \
19515 conftest$ac_exeext conftest.$ac_ext
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19518 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19519 if test "$ac_cv_have___builtin_popcount" = "yes"
19520 then
19522 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19527 $as_echo_n "checking for __clear_cache... " >&6; }
19528 if ${ac_cv_have___clear_cache+:} false; then :
19529 $as_echo_n "(cached) " >&6
19530 else
19531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19532 /* end confdefs.h. */
19535 main ()
19537 __clear_cache((void*)0, (void*)0); return 0;
19539 return 0;
19541 _ACEOF
19542 if ac_fn_c_try_link "$LINENO"; then :
19543 ac_cv_have___clear_cache="yes"
19544 else
19545 ac_cv_have___clear_cache="no"
19547 rm -f core conftest.err conftest.$ac_objext \
19548 conftest$ac_exeext conftest.$ac_ext
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19551 $as_echo "$ac_cv_have___clear_cache" >&6; }
19552 if test "$ac_cv_have___clear_cache" = "yes"
19553 then
19555 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19560 case $host_cpu in
19561 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19562 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19563 if ${ac_cv_cpp_def___i386__+:} false; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #ifndef __i386__
19570 #endif
19571 _ACEOF
19572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19573 $EGREP "yes" >/dev/null 2>&1; then :
19574 ac_cv_cpp_def___i386__=yes
19575 else
19576 ac_cv_cpp_def___i386__=no
19578 rm -f conftest*
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19582 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19583 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19584 CFLAGS="$CFLAGS -D__i386__"
19585 LINTFLAGS="$LINTFLAGS -D__i386__"
19586 fi ;;
19587 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19588 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19589 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19590 $as_echo_n "(cached) " >&6
19591 else
19592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h. */
19594 #ifndef __x86_64__
19596 #endif
19597 _ACEOF
19598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19599 $EGREP "yes" >/dev/null 2>&1; then :
19600 ac_cv_cpp_def___x86_64__=yes
19601 else
19602 ac_cv_cpp_def___x86_64__=no
19604 rm -f conftest*
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19608 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19609 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19610 CFLAGS="$CFLAGS -D__x86_64__"
19611 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19612 fi ;;
19613 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19614 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19615 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19620 #ifndef __sparc64__
19622 #endif
19623 _ACEOF
19624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19625 $EGREP "yes" >/dev/null 2>&1; then :
19626 ac_cv_cpp_def___sparc64__=yes
19627 else
19628 ac_cv_cpp_def___sparc64__=no
19630 rm -f conftest*
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19634 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19635 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19636 CFLAGS="$CFLAGS -D__sparc64__"
19637 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19638 fi ;;
19639 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19640 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19641 if ${ac_cv_cpp_def___sparc__+:} false; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19645 /* end confdefs.h. */
19646 #ifndef __sparc__
19648 #endif
19649 _ACEOF
19650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19651 $EGREP "yes" >/dev/null 2>&1; then :
19652 ac_cv_cpp_def___sparc__=yes
19653 else
19654 ac_cv_cpp_def___sparc__=no
19656 rm -f conftest*
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19660 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19661 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19662 CFLAGS="$CFLAGS -D__sparc__"
19663 LINTFLAGS="$LINTFLAGS -D__sparc__"
19664 fi ;;
19665 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19666 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19667 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19668 $as_echo_n "(cached) " >&6
19669 else
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672 #ifndef __powerpc64__
19674 #endif
19675 _ACEOF
19676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19677 $EGREP "yes" >/dev/null 2>&1; then :
19678 ac_cv_cpp_def___powerpc64__=yes
19679 else
19680 ac_cv_cpp_def___powerpc64__=no
19682 rm -f conftest*
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19686 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19687 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19688 CFLAGS="$CFLAGS -D__powerpc64__"
19689 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19690 fi ;;
19691 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19692 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19693 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19694 $as_echo_n "(cached) " >&6
19695 else
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h. */
19698 #ifndef __powerpc__
19700 #endif
19701 _ACEOF
19702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19703 $EGREP "yes" >/dev/null 2>&1; then :
19704 ac_cv_cpp_def___powerpc__=yes
19705 else
19706 ac_cv_cpp_def___powerpc__=no
19708 rm -f conftest*
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19712 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19713 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19714 CFLAGS="$CFLAGS -D__powerpc__"
19715 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19716 fi ;;
19717 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19718 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19719 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19720 $as_echo_n "(cached) " >&6
19721 else
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724 #ifndef __aarch64__
19726 #endif
19727 _ACEOF
19728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19729 $EGREP "yes" >/dev/null 2>&1; then :
19730 ac_cv_cpp_def___aarch64__=yes
19731 else
19732 ac_cv_cpp_def___aarch64__=no
19734 rm -f conftest*
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19738 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19739 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19740 CFLAGS="$CFLAGS -D__aarch64__"
19741 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19742 fi ;;
19743 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19744 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19745 if ${ac_cv_cpp_def___arm__+:} false; then :
19746 $as_echo_n "(cached) " >&6
19747 else
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19750 #ifndef __arm__
19752 #endif
19753 _ACEOF
19754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19755 $EGREP "yes" >/dev/null 2>&1; then :
19756 ac_cv_cpp_def___arm__=yes
19757 else
19758 ac_cv_cpp_def___arm__=no
19760 rm -f conftest*
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19764 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19765 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19766 CFLAGS="$CFLAGS -D__arm__"
19767 LINTFLAGS="$LINTFLAGS -D__arm__"
19768 fi ;;
19769 esac
19771 case $host_vendor in
19772 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19773 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19774 if ${ac_cv_cpp_def___sun__+:} false; then :
19775 $as_echo_n "(cached) " >&6
19776 else
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #ifndef __sun__
19781 #endif
19782 _ACEOF
19783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19784 $EGREP "yes" >/dev/null 2>&1; then :
19785 ac_cv_cpp_def___sun__=yes
19786 else
19787 ac_cv_cpp_def___sun__=no
19789 rm -f conftest*
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19793 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19794 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19795 CFLAGS="$CFLAGS -D__sun__"
19796 LINTFLAGS="$LINTFLAGS -D__sun__"
19797 fi ;;
19798 esac
19804 ac_config_commands="$ac_config_commands include/stamp-h"
19806 $as_echo_n "creating Makefile rules..." >&6
19808 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19809 OPENGL_LIBS = $OPENGL_LIBS
19810 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19811 IOKIT_LIBS = $IOKIT_LIBS
19812 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19813 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19814 CORESERVICES_LIBS = $CORESERVICES_LIBS
19815 APPKIT_LIBS = $APPKIT_LIBS
19816 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19817 SECURITY_LIBS = $SECURITY_LIBS
19818 COREAUDIO_LIBS = $COREAUDIO_LIBS
19819 OPENAL_LIBS = $OPENAL_LIBS
19820 OPENCL_LIBS = $OPENCL_LIBS
19821 QUICKTIME_LIBS = $QUICKTIME_LIBS
19822 CARBON_LIBS = $CARBON_LIBS
19823 METAL_LIBS = $METAL_LIBS
19824 PTHREAD_LIBS = $PTHREAD_LIBS
19825 X_CFLAGS = $X_CFLAGS
19826 X_PRE_LIBS = $X_PRE_LIBS
19827 X_LIBS = $X_LIBS
19828 X_EXTRA_LIBS = $X_EXTRA_LIBS
19829 PCAP_LIBS = $PCAP_LIBS
19830 XML2_CFLAGS = $XML2_CFLAGS
19831 XML2_LIBS = $XML2_LIBS
19832 XSLT_CFLAGS = $XSLT_CFLAGS
19833 XSLT_LIBS = $XSLT_LIBS
19834 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19835 INOTIFY_LIBS = $INOTIFY_LIBS
19836 DBUS_CFLAGS = $DBUS_CFLAGS
19837 DBUS_LIBS = $DBUS_LIBS
19838 HAL_CFLAGS = $HAL_CFLAGS
19839 HAL_LIBS = $HAL_LIBS
19840 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19841 GNUTLS_LIBS = $GNUTLS_LIBS
19842 SANE_CFLAGS = $SANE_CFLAGS
19843 SANE_LIBS = $SANE_LIBS
19844 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19845 GPHOTO2_LIBS = $GPHOTO2_LIBS
19846 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19847 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19848 RESOLV_LIBS = $RESOLV_LIBS
19849 LCMS2_CFLAGS = $LCMS2_CFLAGS
19850 LCMS2_LIBS = $LCMS2_LIBS
19851 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19852 FREETYPE_LIBS = $FREETYPE_LIBS
19853 Z_CFLAGS = $Z_CFLAGS
19854 Z_LIBS = $Z_LIBS
19855 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19856 PULSE_CFLAGS = $PULSE_CFLAGS
19857 PULSE_LIBS = $PULSE_LIBS
19858 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19859 GSTREAMER_LIBS = $GSTREAMER_LIBS
19860 ALSA_LIBS = $ALSA_LIBS
19861 OSS4_CFLAGS = $OSS4_CFLAGS
19862 OSS4_LIBS = $OSS4_LIBS
19863 UDEV_CFLAGS = $UDEV_CFLAGS
19864 UDEV_LIBS = $UDEV_LIBS
19865 UNWIND_CFLAGS = $UNWIND_CFLAGS
19866 UNWIND_LIBS = $UNWIND_LIBS
19867 SDL2_CFLAGS = $SDL2_CFLAGS
19868 SDL2_LIBS = $SDL2_LIBS
19869 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19870 FAUDIO_LIBS = $FAUDIO_LIBS
19871 CAPI20_CFLAGS = $CAPI20_CFLAGS
19872 CAPI20_LIBS = $CAPI20_LIBS
19873 CUPS_CFLAGS = $CUPS_CFLAGS
19874 CUPS_LIBS = $CUPS_LIBS
19875 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19876 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19877 KRB5_CFLAGS = $KRB5_CFLAGS
19878 KRB5_LIBS = $KRB5_LIBS
19879 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19880 GSSAPI_LIBS = $GSSAPI_LIBS
19881 JPEG_CFLAGS = $JPEG_CFLAGS
19882 JPEG_LIBS = $JPEG_LIBS
19883 PNG_CFLAGS = $PNG_CFLAGS
19884 PNG_LIBS = $PNG_LIBS
19885 TIFF_CFLAGS = $TIFF_CFLAGS
19886 TIFF_LIBS = $TIFF_LIBS
19887 MPG123_CFLAGS = $MPG123_CFLAGS
19888 MPG123_LIBS = $MPG123_LIBS
19889 KSTAT_LIBS = $KSTAT_LIBS
19890 PROCSTAT_LIBS = $PROCSTAT_LIBS
19891 NETAPI_CFLAGS = $NETAPI_CFLAGS
19892 NETAPI_LIBS = $NETAPI_LIBS
19893 VKD3D_CFLAGS = $VKD3D_CFLAGS
19894 VKD3D_LIBS = $VKD3D_LIBS
19895 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19896 DL_LIBS = $DL_LIBS
19897 POLL_LIBS = $POLL_LIBS
19898 RT_LIBS = $RT_LIBS
19899 LDAP_CFLAGS = $LDAP_CFLAGS
19900 LDAP_LIBS = $LDAP_LIBS
19905 wine_fn_append_rule "
19906 # Rules automatically generated by configure
19908 .INIT: Makefile
19909 .MAKEFILEDEPS:
19910 all: Makefile
19911 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19912 @./config.status Make.tmp Makefile
19913 depend: \$(MAKEDEP) dummy
19914 \$(MAKEDEP)"
19916 if test "x$enable_fonts" != xno; then
19917 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19918 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19919 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19920 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19921 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19922 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19924 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19925 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19926 ac_config_links="$ac_config_links wine:tools/winewrapper"
19927 wine_fn_config_symlink wine
19928 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19929 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19930 wine_fn_config_symlink wine64
19933 wine_fn_config_makefile dlls/acledit enable_acledit
19934 wine_fn_config_makefile dlls/aclui enable_aclui
19935 wine_fn_config_makefile dlls/activeds enable_activeds
19936 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19937 wine_fn_config_makefile dlls/adsiid enable_adsiid
19938 wine_fn_config_makefile dlls/adsldp enable_adsldp
19939 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19940 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19941 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19942 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19943 wine_fn_config_makefile dlls/advpack enable_advpack
19944 wine_fn_config_makefile dlls/advpack/tests enable_tests
19945 wine_fn_config_makefile dlls/amsi enable_amsi
19946 wine_fn_config_makefile dlls/amstream enable_amstream
19947 wine_fn_config_makefile dlls/amstream/tests enable_tests
19948 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19950 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19951 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19953 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19958 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19966 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19968 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19970 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19972 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19973 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19974 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19976 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19979 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19980 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19982 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19983 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19992 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19996 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19997 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20003 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20006 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20015 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20022 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20026 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20027 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20028 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20057 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20072 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20073 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20078 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20130 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20134 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20138 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20163 wine_fn_config_makefile dlls/apphelp enable_apphelp
20164 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20165 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20166 wine_fn_config_makefile dlls/atl enable_atl
20167 wine_fn_config_makefile dlls/atl/tests enable_tests
20168 wine_fn_config_makefile dlls/atl100 enable_atl100
20169 wine_fn_config_makefile dlls/atl100/tests enable_tests
20170 wine_fn_config_makefile dlls/atl110 enable_atl110
20171 wine_fn_config_makefile dlls/atl80 enable_atl80
20172 wine_fn_config_makefile dlls/atl80/tests enable_tests
20173 wine_fn_config_makefile dlls/atl90 enable_atl90
20174 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20175 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20176 wine_fn_config_makefile dlls/atmlib enable_atmlib
20177 wine_fn_config_makefile dlls/authz enable_authz
20178 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20179 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20180 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20181 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20182 wine_fn_config_makefile dlls/avrt enable_avrt
20183 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20184 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20185 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20186 wine_fn_config_makefile dlls/browseui enable_browseui
20187 wine_fn_config_makefile dlls/browseui/tests enable_tests
20188 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20189 wine_fn_config_makefile dlls/cabinet enable_cabinet
20190 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20191 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20192 wine_fn_config_makefile dlls/cards enable_cards
20193 wine_fn_config_makefile dlls/cdosys enable_cdosys
20194 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20195 wine_fn_config_makefile dlls/clusapi enable_clusapi
20196 wine_fn_config_makefile dlls/combase enable_combase
20197 wine_fn_config_makefile dlls/combase/tests enable_tests
20198 wine_fn_config_makefile dlls/comcat enable_comcat
20199 wine_fn_config_makefile dlls/comcat/tests enable_tests
20200 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20201 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20202 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20203 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20204 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20205 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20206 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20207 wine_fn_config_makefile dlls/compstui enable_compstui
20208 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20209 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20210 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20211 wine_fn_config_makefile dlls/connect enable_connect
20212 wine_fn_config_makefile dlls/credui enable_credui
20213 wine_fn_config_makefile dlls/credui/tests enable_tests
20214 wine_fn_config_makefile dlls/crtdll enable_crtdll
20215 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20216 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20217 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20218 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20219 wine_fn_config_makefile dlls/cryptext enable_cryptext
20220 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20221 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20222 wine_fn_config_makefile dlls/cryptui enable_cryptui
20223 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20224 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20225 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20226 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20227 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20228 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20229 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20230 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20231 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20232 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20233 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20234 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20235 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20236 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20237 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20238 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20239 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20240 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20241 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20242 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20243 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20244 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20245 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20246 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20247 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20248 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20249 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20250 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20251 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20252 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20253 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20254 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20255 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20256 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20257 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20258 wine_fn_config_makefile dlls/d3dim enable_d3dim
20259 wine_fn_config_makefile dlls/d3drm enable_d3drm
20260 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20261 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20262 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20263 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20264 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20265 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20266 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20267 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20268 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20269 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20270 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20271 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20272 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20273 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20274 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20275 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20276 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20277 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20278 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20279 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20280 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20281 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20282 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20283 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20284 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20285 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20286 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20287 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20288 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20289 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20290 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20291 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20292 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20293 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20294 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20295 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20296 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20297 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20298 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20299 wine_fn_config_makefile dlls/davclnt enable_davclnt
20300 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20301 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20302 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20303 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20304 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20305 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20306 wine_fn_config_makefile dlls/ddraw enable_ddraw
20307 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20308 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20309 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20310 wine_fn_config_makefile dlls/devenum enable_devenum
20311 wine_fn_config_makefile dlls/devenum/tests enable_tests
20312 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20313 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20314 wine_fn_config_makefile dlls/difxapi enable_difxapi
20315 wine_fn_config_makefile dlls/dinput enable_dinput
20316 wine_fn_config_makefile dlls/dinput/tests enable_tests
20317 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20318 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20319 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20320 wine_fn_config_makefile dlls/dispex enable_dispex
20321 wine_fn_config_makefile dlls/dispex/tests enable_tests
20322 wine_fn_config_makefile dlls/display.drv16 enable_win16
20323 wine_fn_config_makefile dlls/dmband enable_dmband
20324 wine_fn_config_makefile dlls/dmband/tests enable_tests
20325 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20326 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20327 wine_fn_config_makefile dlls/dmime enable_dmime
20328 wine_fn_config_makefile dlls/dmime/tests enable_tests
20329 wine_fn_config_makefile dlls/dmloader enable_dmloader
20330 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20331 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20332 wine_fn_config_makefile dlls/dmscript enable_dmscript
20333 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20334 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20335 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20336 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20337 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20338 wine_fn_config_makefile dlls/dmusic enable_dmusic
20339 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20340 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20341 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20342 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20343 wine_fn_config_makefile dlls/dplay enable_dplay
20344 wine_fn_config_makefile dlls/dplayx enable_dplayx
20345 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20346 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20347 wine_fn_config_makefile dlls/dpnet enable_dpnet
20348 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20349 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20350 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20351 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20352 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20353 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20354 wine_fn_config_makefile dlls/drmclien enable_drmclien
20355 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20356 wine_fn_config_makefile dlls/dsound enable_dsound
20357 wine_fn_config_makefile dlls/dsound/tests enable_tests
20358 wine_fn_config_makefile dlls/dsquery enable_dsquery
20359 wine_fn_config_makefile dlls/dssenh enable_dssenh
20360 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20361 wine_fn_config_makefile dlls/dswave enable_dswave
20362 wine_fn_config_makefile dlls/dswave/tests enable_tests
20363 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20364 wine_fn_config_makefile dlls/dwrite enable_dwrite
20365 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20366 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20367 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20368 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20369 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20370 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20371 wine_fn_config_makefile dlls/dxgi enable_dxgi
20372 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20373 wine_fn_config_makefile dlls/dxguid enable_dxguid
20374 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20375 wine_fn_config_makefile dlls/esent enable_esent
20376 wine_fn_config_makefile dlls/evr enable_evr
20377 wine_fn_config_makefile dlls/evr/tests enable_tests
20378 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20379 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20380 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20381 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20382 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20383 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20384 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20385 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20386 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20387 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20388 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20389 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20390 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20391 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20392 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20393 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20394 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20395 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20396 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20397 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20398 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20399 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20400 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20401 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20402 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20403 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20404 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20405 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20406 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20407 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20408 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20409 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20410 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20411 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20412 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20413 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20414 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20415 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20417 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20420 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
20421 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20422 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20423 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20431 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20432 wine_fn_config_makefile dlls/faultrep enable_faultrep
20433 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20434 wine_fn_config_makefile dlls/feclient enable_feclient
20435 wine_fn_config_makefile dlls/fltlib enable_fltlib
20436 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20437 wine_fn_config_makefile dlls/fntcache enable_fntcache
20438 wine_fn_config_makefile dlls/fontsub enable_fontsub
20439 wine_fn_config_makefile dlls/fusion enable_fusion
20440 wine_fn_config_makefile dlls/fusion/tests enable_tests
20441 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20442 wine_fn_config_makefile dlls/gameux enable_gameux
20443 wine_fn_config_makefile dlls/gameux/tests enable_tests
20444 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20445 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20446 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20447 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20448 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20449 wine_fn_config_makefile dlls/glu32 enable_glu32
20450 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20451 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20452 wine_fn_config_makefile dlls/hal enable_hal
20453 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20454 wine_fn_config_makefile dlls/hid enable_hid
20455 wine_fn_config_makefile dlls/hid/tests enable_tests
20456 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20457 wine_fn_config_makefile dlls/hlink enable_hlink
20458 wine_fn_config_makefile dlls/hlink/tests enable_tests
20459 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20460 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20461 wine_fn_config_makefile dlls/http.sys enable_http_sys
20462 wine_fn_config_makefile dlls/httpapi enable_httpapi
20463 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20464 wine_fn_config_makefile dlls/iccvid enable_iccvid
20465 wine_fn_config_makefile dlls/icmp enable_icmp
20466 wine_fn_config_makefile dlls/ieframe enable_ieframe
20467 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20468 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20469 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20470 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20471 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20472 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20473 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20474 wine_fn_config_makefile dlls/imm32 enable_imm32
20475 wine_fn_config_makefile dlls/imm32/tests enable_tests
20476 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20477 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20478 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20479 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20480 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20481 wine_fn_config_makefile dlls/infosoft enable_infosoft
20482 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20483 wine_fn_config_makefile dlls/initpki enable_initpki
20484 wine_fn_config_makefile dlls/inkobj enable_inkobj
20485 wine_fn_config_makefile dlls/inseng enable_inseng
20486 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20487 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20488 wine_fn_config_makefile dlls/iprop enable_iprop
20489 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20490 wine_fn_config_makefile dlls/itircl enable_itircl
20491 wine_fn_config_makefile dlls/itss enable_itss
20492 wine_fn_config_makefile dlls/itss/tests enable_tests
20493 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20494 wine_fn_config_makefile dlls/jscript enable_jscript
20495 wine_fn_config_makefile dlls/jscript/tests enable_tests
20496 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20497 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20498 wine_fn_config_makefile dlls/kerberos enable_kerberos
20499 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20500 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20501 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20502 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20503 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20504 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20505 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20506 wine_fn_config_makefile dlls/ksuser enable_ksuser
20507 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20508 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20509 wine_fn_config_makefile dlls/loadperf enable_loadperf
20510 wine_fn_config_makefile dlls/localspl enable_localspl
20511 wine_fn_config_makefile dlls/localspl/tests enable_tests
20512 wine_fn_config_makefile dlls/localui enable_localui
20513 wine_fn_config_makefile dlls/localui/tests enable_tests
20514 wine_fn_config_makefile dlls/lz32 enable_lz32
20515 wine_fn_config_makefile dlls/lz32/tests enable_tests
20516 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20517 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20518 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20519 wine_fn_config_makefile dlls/mapistub enable_mapistub
20520 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20521 wine_fn_config_makefile dlls/mcicda enable_mcicda
20522 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20523 wine_fn_config_makefile dlls/mciseq enable_mciseq
20524 wine_fn_config_makefile dlls/mciwave enable_mciwave
20525 wine_fn_config_makefile dlls/mf enable_mf
20526 wine_fn_config_makefile dlls/mf/tests enable_tests
20527 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20528 wine_fn_config_makefile dlls/mferror enable_mferror
20529 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20530 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20531 wine_fn_config_makefile dlls/mfplat enable_mfplat
20532 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20533 wine_fn_config_makefile dlls/mfplay enable_mfplay
20534 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20535 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20536 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20537 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20538 wine_fn_config_makefile dlls/midimap enable_midimap
20539 wine_fn_config_makefile dlls/mlang enable_mlang
20540 wine_fn_config_makefile dlls/mlang/tests enable_tests
20541 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20542 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20543 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20544 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20545 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20546 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20547 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20548 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20549 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20550 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20551 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20552 wine_fn_config_makefile dlls/mpr enable_mpr
20553 wine_fn_config_makefile dlls/mpr/tests enable_tests
20554 wine_fn_config_makefile dlls/mprapi enable_mprapi
20555 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20556 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20557 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20558 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20559 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20560 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20561 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20562 wine_fn_config_makefile dlls/mscms enable_mscms
20563 wine_fn_config_makefile dlls/mscms/tests enable_tests
20564 wine_fn_config_makefile dlls/mscoree enable_mscoree
20565 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20566 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20567 wine_fn_config_makefile dlls/msctf enable_msctf
20568 wine_fn_config_makefile dlls/msctf/tests enable_tests
20569 wine_fn_config_makefile dlls/msctfp enable_msctfp
20570 wine_fn_config_makefile dlls/msdaps enable_msdaps
20571 wine_fn_config_makefile dlls/msdelta enable_msdelta
20572 wine_fn_config_makefile dlls/msdmo enable_msdmo
20573 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20574 wine_fn_config_makefile dlls/msdrm enable_msdrm
20575 wine_fn_config_makefile dlls/msftedit enable_msftedit
20576 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20577 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20578 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20579 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20580 wine_fn_config_makefile dlls/mshtml enable_mshtml
20581 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20582 wine_fn_config_makefile dlls/msi enable_msi
20583 wine_fn_config_makefile dlls/msi/tests enable_tests
20584 wine_fn_config_makefile dlls/msident enable_msident
20585 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20586 wine_fn_config_makefile dlls/msimsg enable_msimsg
20587 wine_fn_config_makefile dlls/msimtf enable_msimtf
20588 wine_fn_config_makefile dlls/msisip enable_msisip
20589 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20590 wine_fn_config_makefile dlls/msls31 enable_msls31
20591 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20592 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20593 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20594 wine_fn_config_makefile dlls/msports enable_msports
20595 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20596 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20597 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20598 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20599 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20600 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20601 wine_fn_config_makefile dlls/mstask enable_mstask
20602 wine_fn_config_makefile dlls/mstask/tests enable_tests
20603 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20604 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20605 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20606 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20607 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20608 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20609 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20610 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20611 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20612 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20613 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20614 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20615 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20616 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20617 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20618 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20619 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20620 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20621 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20622 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20623 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20624 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20625 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20626 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20627 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20628 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20629 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20630 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20631 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20632 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20633 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20634 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20635 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20636 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20637 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20638 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20639 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20640 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20641 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20642 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20643 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20644 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20645 wine_fn_config_makefile dlls/mswsock enable_mswsock
20646 wine_fn_config_makefile dlls/msxml enable_msxml
20647 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20648 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20649 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20650 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20651 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20652 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20653 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20654 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20655 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20656 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20657 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20658 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20659 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20660 wine_fn_config_makefile dlls/netprofm enable_netprofm
20661 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20662 wine_fn_config_makefile dlls/newdev enable_newdev
20663 wine_fn_config_makefile dlls/ninput enable_ninput
20664 wine_fn_config_makefile dlls/ninput/tests enable_tests
20665 wine_fn_config_makefile dlls/normaliz enable_normaliz
20666 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20667 wine_fn_config_makefile dlls/npptools enable_npptools
20668 wine_fn_config_makefile dlls/ntdll enable_ntdll
20669 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20670 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20671 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20672 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20673 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20674 wine_fn_config_makefile dlls/ntprint enable_ntprint
20675 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20676 wine_fn_config_makefile dlls/objsel enable_objsel
20677 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20678 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20679 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20680 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20681 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20682 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20683 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20684 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20685 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20686 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20687 wine_fn_config_makefile dlls/ole32 enable_ole32
20688 wine_fn_config_makefile dlls/ole32/tests enable_tests
20689 wine_fn_config_makefile dlls/oleacc enable_oleacc
20690 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20691 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20692 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20693 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20694 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20695 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20696 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20697 wine_fn_config_makefile dlls/oledlg enable_oledlg
20698 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20699 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20700 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20701 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20702 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20703 wine_fn_config_makefile dlls/opcservices enable_opcservices
20704 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20705 wine_fn_config_makefile dlls/openal32 enable_openal32
20706 wine_fn_config_makefile dlls/opencl enable_opencl
20707 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20708 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20709 wine_fn_config_makefile dlls/packager enable_packager
20710 wine_fn_config_makefile dlls/packager/tests enable_tests
20711 wine_fn_config_makefile dlls/pdh enable_pdh
20712 wine_fn_config_makefile dlls/pdh/tests enable_tests
20713 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20714 wine_fn_config_makefile dlls/pidgen enable_pidgen
20715 wine_fn_config_makefile dlls/powrprof enable_powrprof
20716 wine_fn_config_makefile dlls/printui enable_printui
20717 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20718 wine_fn_config_makefile dlls/propsys enable_propsys
20719 wine_fn_config_makefile dlls/propsys/tests enable_tests
20720 wine_fn_config_makefile dlls/psapi enable_psapi
20721 wine_fn_config_makefile dlls/psapi/tests enable_tests
20722 wine_fn_config_makefile dlls/pstorec enable_pstorec
20723 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20724 wine_fn_config_makefile dlls/qcap enable_qcap
20725 wine_fn_config_makefile dlls/qcap/tests enable_tests
20726 wine_fn_config_makefile dlls/qedit enable_qedit
20727 wine_fn_config_makefile dlls/qedit/tests enable_tests
20728 wine_fn_config_makefile dlls/qmgr enable_qmgr
20729 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20730 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20731 wine_fn_config_makefile dlls/quartz enable_quartz
20732 wine_fn_config_makefile dlls/quartz/tests enable_tests
20733 wine_fn_config_makefile dlls/query enable_query
20734 wine_fn_config_makefile dlls/qwave enable_qwave
20735 wine_fn_config_makefile dlls/qwave/tests enable_tests
20736 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20737 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20738 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20739 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20740 wine_fn_config_makefile dlls/regapi enable_regapi
20741 wine_fn_config_makefile dlls/resutils enable_resutils
20742 wine_fn_config_makefile dlls/riched20 enable_riched20
20743 wine_fn_config_makefile dlls/riched20/tests enable_tests
20744 wine_fn_config_makefile dlls/riched32 enable_riched32
20745 wine_fn_config_makefile dlls/riched32/tests enable_tests
20746 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20747 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20748 wine_fn_config_makefile dlls/rsabase enable_rsabase
20749 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20750 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20751 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20752 wine_fn_config_makefile dlls/rtutils enable_rtutils
20753 wine_fn_config_makefile dlls/samlib enable_samlib
20754 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20755 wine_fn_config_makefile dlls/sapi enable_sapi
20756 wine_fn_config_makefile dlls/sapi/tests enable_tests
20757 wine_fn_config_makefile dlls/sas enable_sas
20758 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20759 wine_fn_config_makefile dlls/sccbase enable_sccbase
20760 wine_fn_config_makefile dlls/schannel enable_schannel
20761 wine_fn_config_makefile dlls/schannel/tests enable_tests
20762 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20763 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20764 wine_fn_config_makefile dlls/scrobj enable_scrobj
20765 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20766 wine_fn_config_makefile dlls/scrrun enable_scrrun
20767 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20768 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20769 wine_fn_config_makefile dlls/secur32 enable_secur32
20770 wine_fn_config_makefile dlls/secur32/tests enable_tests
20771 wine_fn_config_makefile dlls/security enable_security
20772 wine_fn_config_makefile dlls/sensapi enable_sensapi
20773 wine_fn_config_makefile dlls/serialui enable_serialui
20774 wine_fn_config_makefile dlls/serialui/tests enable_tests
20775 wine_fn_config_makefile dlls/setupapi enable_setupapi
20776 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20777 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20778 wine_fn_config_makefile dlls/sfc enable_sfc
20779 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20780 wine_fn_config_makefile dlls/shcore enable_shcore
20781 wine_fn_config_makefile dlls/shcore/tests enable_tests
20782 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20783 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20784 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20785 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20786 wine_fn_config_makefile dlls/shell32 enable_shell32
20787 wine_fn_config_makefile dlls/shell32/tests enable_tests
20788 wine_fn_config_makefile dlls/shfolder enable_shfolder
20789 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20790 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20791 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20792 wine_fn_config_makefile dlls/slc enable_slc
20793 wine_fn_config_makefile dlls/slc/tests enable_tests
20794 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20795 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20796 wine_fn_config_makefile dlls/softpub enable_softpub
20797 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20798 wine_fn_config_makefile dlls/spoolss enable_spoolss
20799 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20800 wine_fn_config_makefile dlls/srclient enable_srclient
20801 wine_fn_config_makefile dlls/sspicli enable_sspicli
20802 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20803 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20804 wine_fn_config_makefile dlls/sti enable_sti
20805 wine_fn_config_makefile dlls/sti/tests enable_tests
20806 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20807 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20808 wine_fn_config_makefile dlls/strmbase enable_strmbase
20809 wine_fn_config_makefile dlls/strmdll enable_strmdll
20810 wine_fn_config_makefile dlls/strmiids enable_strmiids
20811 wine_fn_config_makefile dlls/svrapi enable_svrapi
20812 wine_fn_config_makefile dlls/sxs enable_sxs
20813 wine_fn_config_makefile dlls/sxs/tests enable_tests
20814 wine_fn_config_makefile dlls/system.drv16 enable_win16
20815 wine_fn_config_makefile dlls/t2embed enable_t2embed
20816 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20817 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20818 wine_fn_config_makefile dlls/taskschd enable_taskschd
20819 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20820 wine_fn_config_makefile dlls/tdh enable_tdh
20821 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20822 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20823 wine_fn_config_makefile dlls/traffic enable_traffic
20824 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20825 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20826 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20827 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20828 wine_fn_config_makefile dlls/tzres enable_tzres
20829 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20830 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20831 wine_fn_config_makefile dlls/uianimation enable_uianimation
20832 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20833 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20834 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20835 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20836 wine_fn_config_makefile dlls/unicows enable_unicows
20837 wine_fn_config_makefile dlls/updspapi enable_updspapi
20838 wine_fn_config_makefile dlls/url enable_url
20839 wine_fn_config_makefile dlls/urlmon enable_urlmon
20840 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20841 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20842 wine_fn_config_makefile dlls/user.exe16 enable_win16
20843 wine_fn_config_makefile dlls/user32 enable_user32
20844 wine_fn_config_makefile dlls/user32/tests enable_tests
20845 wine_fn_config_makefile dlls/userenv enable_userenv
20846 wine_fn_config_makefile dlls/userenv/tests enable_tests
20847 wine_fn_config_makefile dlls/usp10 enable_usp10
20848 wine_fn_config_makefile dlls/usp10/tests enable_tests
20849 wine_fn_config_makefile dlls/utildll enable_utildll
20850 wine_fn_config_makefile dlls/uuid enable_uuid
20851 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20852 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20853 wine_fn_config_makefile dlls/vbscript enable_vbscript
20854 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20855 wine_fn_config_makefile dlls/vcomp enable_vcomp
20856 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20857 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20858 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20859 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20860 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20861 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20862 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20863 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20864 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20865 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20866 wine_fn_config_makefile dlls/version enable_version
20867 wine_fn_config_makefile dlls/version/tests enable_tests
20868 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20869 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20870 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20871 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20872 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20873 wine_fn_config_makefile dlls/vssapi enable_vssapi
20874 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20875 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20876 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20877 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20878 wine_fn_config_makefile dlls/w32skrnl enable_win16
20879 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20880 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20881 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20882 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20883 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20884 wine_fn_config_makefile dlls/wdscore enable_wdscore
20885 wine_fn_config_makefile dlls/webservices enable_webservices
20886 wine_fn_config_makefile dlls/webservices/tests enable_tests
20887 wine_fn_config_makefile dlls/wer enable_wer
20888 wine_fn_config_makefile dlls/wer/tests enable_tests
20889 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20890 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20891 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20892 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20893 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20894 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20895 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20896 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20897 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20898 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20899 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20900 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20901 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20902 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20903 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20904 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20905 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20906 wine_fn_config_makefile dlls/wined3d enable_wined3d
20907 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20908 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20909 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20910 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20911 wine_fn_config_makefile dlls/winemapi enable_winemapi
20912 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20913 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20914 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20915 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20916 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20917 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20918 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20919 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20920 wine_fn_config_makefile dlls/wing32 enable_wing32
20921 wine_fn_config_makefile dlls/winhttp enable_winhttp
20922 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20923 wine_fn_config_makefile dlls/wininet enable_wininet
20924 wine_fn_config_makefile dlls/wininet/tests enable_tests
20925 wine_fn_config_makefile dlls/winmm enable_winmm
20926 wine_fn_config_makefile dlls/winmm/tests enable_tests
20927 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20928 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20929 wine_fn_config_makefile dlls/winscard enable_winscard
20930 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20931 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20932 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20933 wine_fn_config_makefile dlls/winsta enable_winsta
20934 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20935 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20936 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20937 wine_fn_config_makefile dlls/wintrust enable_wintrust
20938 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20939 wine_fn_config_makefile dlls/winusb enable_winusb
20940 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20941 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20942 wine_fn_config_makefile dlls/wlanui enable_wlanui
20943 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20944 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20945 wine_fn_config_makefile dlls/wmasf enable_wmasf
20946 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20947 wine_fn_config_makefile dlls/wmi enable_wmi
20948 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20949 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20950 wine_fn_config_makefile dlls/wmp enable_wmp
20951 wine_fn_config_makefile dlls/wmp/tests enable_tests
20952 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20953 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20954 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20955 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20956 wine_fn_config_makefile dlls/wow32 enable_win16
20957 wine_fn_config_makefile dlls/wpc enable_wpc
20958 wine_fn_config_makefile dlls/wpc/tests enable_tests
20959 wine_fn_config_makefile dlls/wpcap enable_wpcap
20960 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20961 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20962 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20963 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20964 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20965 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20966 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20967 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20968 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20969 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20970 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20971 wine_fn_config_makefile dlls/wuapi enable_wuapi
20972 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20973 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20974 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20975 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20976 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20977 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20978 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20979 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20980 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20981 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20982 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20983 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20984 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20985 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20986 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20987 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20988 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20989 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20990 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20991 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20992 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20993 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20994 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20995 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20996 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20997 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20998 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20999 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21000 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21001 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21002 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21003 wine_fn_config_makefile dlls/xmllite enable_xmllite
21004 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21005 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21006 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21007 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21008 wine_fn_config_makefile fonts enable_fonts
21009 wine_fn_config_makefile include enable_include
21010 wine_fn_config_makefile libs/port enable_port
21011 wine_fn_config_makefile libs/wine enable_wine
21012 wine_fn_config_makefile libs/wpp enable_wpp
21013 wine_fn_config_makefile loader enable_loader
21014 wine_fn_config_makefile po enable_po
21015 wine_fn_config_makefile programs/arp enable_arp
21016 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21017 wine_fn_config_makefile programs/attrib enable_attrib
21018 wine_fn_config_makefile programs/cabarc enable_cabarc
21019 wine_fn_config_makefile programs/cacls enable_cacls
21020 wine_fn_config_makefile programs/clock enable_clock
21021 wine_fn_config_makefile programs/cmd enable_cmd
21022 wine_fn_config_makefile programs/cmd/tests enable_tests
21023 wine_fn_config_makefile programs/conhost enable_conhost
21024 wine_fn_config_makefile programs/control enable_control
21025 wine_fn_config_makefile programs/cscript enable_cscript
21026 wine_fn_config_makefile programs/dism enable_dism
21027 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21028 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21029 wine_fn_config_makefile programs/eject enable_eject
21030 wine_fn_config_makefile programs/expand enable_expand
21031 wine_fn_config_makefile programs/explorer enable_explorer
21032 wine_fn_config_makefile programs/extrac32 enable_extrac32
21033 wine_fn_config_makefile programs/fc enable_fc
21034 wine_fn_config_makefile programs/find enable_find
21035 wine_fn_config_makefile programs/find/tests enable_tests
21036 wine_fn_config_makefile programs/findstr enable_findstr
21037 wine_fn_config_makefile programs/fsutil enable_fsutil
21038 wine_fn_config_makefile programs/hh enable_hh
21039 wine_fn_config_makefile programs/hostname enable_hostname
21040 wine_fn_config_makefile programs/icacls enable_icacls
21041 wine_fn_config_makefile programs/icinfo enable_icinfo
21042 wine_fn_config_makefile programs/iexplore enable_iexplore
21043 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21044 wine_fn_config_makefile programs/lodctr enable_lodctr
21045 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21046 wine_fn_config_makefile programs/mshta enable_mshta
21047 wine_fn_config_makefile programs/msidb enable_msidb
21048 wine_fn_config_makefile programs/msiexec enable_msiexec
21049 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21050 wine_fn_config_makefile programs/net enable_net
21051 wine_fn_config_makefile programs/netsh enable_netsh
21052 wine_fn_config_makefile programs/netstat enable_netstat
21053 wine_fn_config_makefile programs/ngen enable_ngen
21054 wine_fn_config_makefile programs/notepad enable_notepad
21055 wine_fn_config_makefile programs/oleview enable_oleview
21056 wine_fn_config_makefile programs/ping enable_ping
21057 wine_fn_config_makefile programs/plugplay enable_plugplay
21058 wine_fn_config_makefile programs/powershell enable_powershell
21059 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21060 wine_fn_config_makefile programs/progman enable_progman
21061 wine_fn_config_makefile programs/reg enable_reg
21062 wine_fn_config_makefile programs/reg/tests enable_tests
21063 wine_fn_config_makefile programs/regasm enable_regasm
21064 wine_fn_config_makefile programs/regedit enable_regedit
21065 wine_fn_config_makefile programs/regedit/tests enable_tests
21066 wine_fn_config_makefile programs/regini enable_regini
21067 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21068 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21069 wine_fn_config_makefile programs/rpcss enable_rpcss
21070 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21071 wine_fn_config_makefile programs/rundll32 enable_rundll32
21072 wine_fn_config_makefile programs/sc enable_sc
21073 wine_fn_config_makefile programs/schtasks enable_schtasks
21074 wine_fn_config_makefile programs/schtasks/tests enable_tests
21075 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21076 wine_fn_config_makefile programs/secedit enable_secedit
21077 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21078 wine_fn_config_makefile programs/services enable_services
21079 wine_fn_config_makefile programs/services/tests enable_tests
21080 wine_fn_config_makefile programs/shutdown enable_shutdown
21081 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21082 wine_fn_config_makefile programs/start enable_start
21083 wine_fn_config_makefile programs/subst enable_subst
21084 wine_fn_config_makefile programs/svchost enable_svchost
21085 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21086 wine_fn_config_makefile programs/taskkill enable_taskkill
21087 wine_fn_config_makefile programs/tasklist enable_tasklist
21088 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21089 wine_fn_config_makefile programs/termsv enable_termsv
21090 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21091 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21092 wine_fn_config_makefile programs/view enable_view
21093 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21094 wine_fn_config_makefile programs/wineboot enable_wineboot
21095 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21096 wine_fn_config_makefile programs/winecfg enable_winecfg
21097 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21098 wine_fn_config_makefile programs/winedbg enable_winedbg
21099 wine_fn_config_makefile programs/winedevice enable_winedevice
21100 wine_fn_config_makefile programs/winefile enable_winefile
21101 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21102 wine_fn_config_makefile programs/winemine enable_winemine
21103 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21104 wine_fn_config_makefile programs/winepath enable_winepath
21105 wine_fn_config_makefile programs/winetest enable_winetest
21106 wine_fn_config_makefile programs/winevdm enable_win16
21107 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21108 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21109 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21110 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21111 wine_fn_config_makefile programs/winver enable_winver
21112 wine_fn_config_makefile programs/wmic enable_wmic
21113 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21114 wine_fn_config_makefile programs/wordpad enable_wordpad
21115 wine_fn_config_makefile programs/write enable_write
21116 wine_fn_config_makefile programs/wscript enable_wscript
21117 wine_fn_config_makefile programs/wscript/tests enable_tests
21118 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21119 wine_fn_config_makefile programs/wusa enable_wusa
21120 wine_fn_config_makefile programs/xcopy enable_xcopy
21121 wine_fn_config_makefile programs/xcopy/tests enable_tests
21122 wine_fn_config_makefile server enable_server
21123 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21126 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21128 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21129 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21131 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21134 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21135 wine_fn_append_file CONFIGURE_TARGETS "tags"
21136 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21137 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21138 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21139 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21140 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21141 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21143 if test "x$enable_tools" != xno
21144 then
21145 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21146 ac_config_commands="$ac_config_commands tools/makedep"
21150 ac_config_commands="$ac_config_commands Makefile"
21153 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21157 if test "x$enable_maintainer_mode" = xyes
21158 then
21159 wine_fn_append_rule "configure: configure.ac aclocal.m4
21160 autoconf --warnings=all
21161 include/config.h.in: include/stamp-h.in
21162 include/stamp-h.in: configure.ac aclocal.m4
21163 autoheader --warnings=all
21164 @echo timestamp > \$@"
21167 if test "x$enable_tools" != xno
21168 then
21169 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21170 @./config.status tools/makedep
21171 Makefile: tools/makedep$ac_exeext
21172 fonts: tools/sfnt2fon
21173 include: tools tools/widl"
21174 else
21175 wine_fn_append_rule "\$(MAKEDEP):
21176 @echo \"You need to run make in $TOOLSDIR first\" && false"
21179 if test -n "$with_wine64"
21180 then
21181 case "$with_wine64" in
21182 /*) reldir="" ;;
21183 *) reldir="../" ;;
21184 esac
21185 rm -f fonts server 2>/dev/null
21186 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21187 loader/wine64 loader/wine64-preloader:
21188 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21189 $with_wine64/loader/wine:
21190 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21191 $with_wine64/loader/wine-preloader:
21192 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21193 clean::
21194 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21195 else
21196 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21197 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21198 fonts \
21199 loader/l_intl.nls \
21200 loader/wine.inf \
21201 loader/winebus.inf \
21202 loader/winehid.inf \
21203 programs/msidb/msidb \
21204 programs/msiexec/msiexec \
21205 programs/notepad/notepad \
21206 programs/regedit/regedit \
21207 programs/regsvr32/regsvr32 \
21208 programs/wineboot/wineboot \
21209 programs/winecfg/winecfg \
21210 programs/wineconsole/wineconsole \
21211 programs/winedbg/winedbg \
21212 programs/winefile/winefile \
21213 programs/winemine/winemine \
21214 programs/winepath/winepath \
21215 server/wineserver"
21217 case $host_os in
21218 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21219 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21220 esac
21223 $as_echo " done" >&6
21224 cat >confcache <<\_ACEOF
21225 # This file is a shell script that caches the results of configure
21226 # tests run on this system so they can be shared between configure
21227 # scripts and configure runs, see configure's option --config-cache.
21228 # It is not useful on other systems. If it contains results you don't
21229 # want to keep, you may remove or edit it.
21231 # config.status only pays attention to the cache file if you give it
21232 # the --recheck option to rerun configure.
21234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21236 # following values.
21238 _ACEOF
21240 # The following way of writing the cache mishandles newlines in values,
21241 # but we know of no workaround that is simple, portable, and efficient.
21242 # So, we kill variables containing newlines.
21243 # Ultrix sh set writes to stderr and can't be redirected directly,
21244 # and sets the high bit in the cache file unless we assign to the vars.
21246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21247 eval ac_val=\$$ac_var
21248 case $ac_val in #(
21249 *${as_nl}*)
21250 case $ac_var in #(
21251 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21253 esac
21254 case $ac_var in #(
21255 _ | IFS | as_nl) ;; #(
21256 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21257 *) { eval $ac_var=; unset $ac_var;} ;;
21258 esac ;;
21259 esac
21260 done
21262 (set) 2>&1 |
21263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21264 *${as_nl}ac_space=\ *)
21265 # `set' does not quote correctly, so add quotes: double-quote
21266 # substitution turns \\\\ into \\, and sed turns \\ into \.
21267 sed -n \
21268 "s/'/'\\\\''/g;
21269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21270 ;; #(
21272 # `set' quotes correctly as required by POSIX, so do not add quotes.
21273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21275 esac |
21276 sort
21278 sed '
21279 /^ac_cv_env_/b end
21280 t clear
21281 :clear
21282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21283 t end
21284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21285 :end' >>confcache
21286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21287 if test -w "$cache_file"; then
21288 if test "x$cache_file" != "x/dev/null"; then
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21290 $as_echo "$as_me: updating cache $cache_file" >&6;}
21291 if test ! -f "$cache_file" || test -h "$cache_file"; then
21292 cat confcache >"$cache_file"
21293 else
21294 case $cache_file in #(
21295 */* | ?:*)
21296 mv -f confcache "$cache_file"$$ &&
21297 mv -f "$cache_file"$$ "$cache_file" ;; #(
21299 mv -f confcache "$cache_file" ;;
21300 esac
21303 else
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21305 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21308 rm -f confcache
21310 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21311 # Let make expand exec_prefix.
21312 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21314 DEFS=-DHAVE_CONFIG_H
21316 ac_libobjs=
21317 ac_ltlibobjs=
21319 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21320 # 1. Remove the extension, and $U if already installed.
21321 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21322 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21323 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21324 # will be set to the directory where LIBOBJS objects are built.
21325 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21326 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21327 done
21328 LIBOBJS=$ac_libobjs
21330 LTLIBOBJS=$ac_ltlibobjs
21334 : "${CONFIG_STATUS=./config.status}"
21335 ac_write_fail=0
21336 ac_clean_files_save=$ac_clean_files
21337 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21339 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21340 as_write_fail=0
21341 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21342 #! $SHELL
21343 # Generated by $as_me.
21344 # Run this file to recreate the current configuration.
21345 # Compiler output produced by configure, useful for debugging
21346 # configure, is in config.log if it exists.
21348 debug=false
21349 ac_cs_recheck=false
21350 ac_cs_silent=false
21352 SHELL=\${CONFIG_SHELL-$SHELL}
21353 export SHELL
21354 _ASEOF
21355 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21356 ## -------------------- ##
21357 ## M4sh Initialization. ##
21358 ## -------------------- ##
21360 # Be more Bourne compatible
21361 DUALCASE=1; export DUALCASE # for MKS sh
21362 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21363 emulate sh
21364 NULLCMD=:
21365 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21366 # is contrary to our usage. Disable this feature.
21367 alias -g '${1+"$@"}'='"$@"'
21368 setopt NO_GLOB_SUBST
21369 else
21370 case `(set -o) 2>/dev/null` in #(
21371 *posix*) :
21372 set -o posix ;; #(
21373 *) :
21375 esac
21379 as_nl='
21381 export as_nl
21382 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21383 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21384 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21386 # Prefer a ksh shell builtin over an external printf program on Solaris,
21387 # but without wasting forks for bash or zsh.
21388 if test -z "$BASH_VERSION$ZSH_VERSION" \
21389 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21390 as_echo='print -r --'
21391 as_echo_n='print -rn --'
21392 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21393 as_echo='printf %s\n'
21394 as_echo_n='printf %s'
21395 else
21396 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21397 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21398 as_echo_n='/usr/ucb/echo -n'
21399 else
21400 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21401 as_echo_n_body='eval
21402 arg=$1;
21403 case $arg in #(
21404 *"$as_nl"*)
21405 expr "X$arg" : "X\\(.*\\)$as_nl";
21406 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21407 esac;
21408 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21410 export as_echo_n_body
21411 as_echo_n='sh -c $as_echo_n_body as_echo'
21413 export as_echo_body
21414 as_echo='sh -c $as_echo_body as_echo'
21417 # The user is always right.
21418 if test "${PATH_SEPARATOR+set}" != set; then
21419 PATH_SEPARATOR=:
21420 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21421 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21422 PATH_SEPARATOR=';'
21427 # IFS
21428 # We need space, tab and new line, in precisely that order. Quoting is
21429 # there to prevent editors from complaining about space-tab.
21430 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21431 # splitting by setting IFS to empty value.)
21432 IFS=" "" $as_nl"
21434 # Find who we are. Look in the path if we contain no directory separator.
21435 as_myself=
21436 case $0 in #((
21437 *[\\/]* ) as_myself=$0 ;;
21438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21439 for as_dir in $PATH
21441 IFS=$as_save_IFS
21442 test -z "$as_dir" && as_dir=.
21443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21444 done
21445 IFS=$as_save_IFS
21448 esac
21449 # We did not find ourselves, most probably we were run as `sh COMMAND'
21450 # in which case we are not to be found in the path.
21451 if test "x$as_myself" = x; then
21452 as_myself=$0
21454 if test ! -f "$as_myself"; then
21455 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21456 exit 1
21459 # Unset variables that we do not need and which cause bugs (e.g. in
21460 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21461 # suppresses any "Segmentation fault" message there. '((' could
21462 # trigger a bug in pdksh 5.2.14.
21463 for as_var in BASH_ENV ENV MAIL MAILPATH
21464 do eval test x\${$as_var+set} = xset \
21465 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21466 done
21467 PS1='$ '
21468 PS2='> '
21469 PS4='+ '
21471 # NLS nuisances.
21472 LC_ALL=C
21473 export LC_ALL
21474 LANGUAGE=C
21475 export LANGUAGE
21477 # CDPATH.
21478 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21481 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21482 # ----------------------------------------
21483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21485 # script with STATUS, using 1 if that was 0.
21486 as_fn_error ()
21488 as_status=$1; test $as_status -eq 0 && as_status=1
21489 if test "$4"; then
21490 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21491 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21493 $as_echo "$as_me: error: $2" >&2
21494 as_fn_exit $as_status
21495 } # as_fn_error
21498 # as_fn_set_status STATUS
21499 # -----------------------
21500 # Set $? to STATUS, without forking.
21501 as_fn_set_status ()
21503 return $1
21504 } # as_fn_set_status
21506 # as_fn_exit STATUS
21507 # -----------------
21508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21509 as_fn_exit ()
21511 set +e
21512 as_fn_set_status $1
21513 exit $1
21514 } # as_fn_exit
21516 # as_fn_unset VAR
21517 # ---------------
21518 # Portably unset VAR.
21519 as_fn_unset ()
21521 { eval $1=; unset $1;}
21523 as_unset=as_fn_unset
21524 # as_fn_append VAR VALUE
21525 # ----------------------
21526 # Append the text in VALUE to the end of the definition contained in VAR. Take
21527 # advantage of any shell optimizations that allow amortized linear growth over
21528 # repeated appends, instead of the typical quadratic growth present in naive
21529 # implementations.
21530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21531 eval 'as_fn_append ()
21533 eval $1+=\$2
21535 else
21536 as_fn_append ()
21538 eval $1=\$$1\$2
21540 fi # as_fn_append
21542 # as_fn_arith ARG...
21543 # ------------------
21544 # Perform arithmetic evaluation on the ARGs, and store the result in the
21545 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21546 # must be portable across $(()) and expr.
21547 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21548 eval 'as_fn_arith ()
21550 as_val=$(( $* ))
21552 else
21553 as_fn_arith ()
21555 as_val=`expr "$@" || test $? -eq 1`
21557 fi # as_fn_arith
21560 if expr a : '\(a\)' >/dev/null 2>&1 &&
21561 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21562 as_expr=expr
21563 else
21564 as_expr=false
21567 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21568 as_basename=basename
21569 else
21570 as_basename=false
21573 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21574 as_dirname=dirname
21575 else
21576 as_dirname=false
21579 as_me=`$as_basename -- "$0" ||
21580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21581 X"$0" : 'X\(//\)$' \| \
21582 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21583 $as_echo X/"$0" |
21584 sed '/^.*\/\([^/][^/]*\)\/*$/{
21585 s//\1/
21588 /^X\/\(\/\/\)$/{
21589 s//\1/
21592 /^X\/\(\/\).*/{
21593 s//\1/
21596 s/.*/./; q'`
21598 # Avoid depending upon Character Ranges.
21599 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21600 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21601 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21602 as_cr_digits='0123456789'
21603 as_cr_alnum=$as_cr_Letters$as_cr_digits
21605 ECHO_C= ECHO_N= ECHO_T=
21606 case `echo -n x` in #(((((
21607 -n*)
21608 case `echo 'xy\c'` in
21609 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21610 xy) ECHO_C='\c';;
21611 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21612 ECHO_T=' ';;
21613 esac;;
21615 ECHO_N='-n';;
21616 esac
21618 rm -f conf$$ conf$$.exe conf$$.file
21619 if test -d conf$$.dir; then
21620 rm -f conf$$.dir/conf$$.file
21621 else
21622 rm -f conf$$.dir
21623 mkdir conf$$.dir 2>/dev/null
21625 if (echo >conf$$.file) 2>/dev/null; then
21626 if ln -s conf$$.file conf$$ 2>/dev/null; then
21627 as_ln_s='ln -s'
21628 # ... but there are two gotchas:
21629 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21630 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21631 # In both cases, we have to default to `cp -pR'.
21632 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21633 as_ln_s='cp -pR'
21634 elif ln conf$$.file conf$$ 2>/dev/null; then
21635 as_ln_s=ln
21636 else
21637 as_ln_s='cp -pR'
21639 else
21640 as_ln_s='cp -pR'
21642 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21643 rmdir conf$$.dir 2>/dev/null
21646 # as_fn_mkdir_p
21647 # -------------
21648 # Create "$as_dir" as a directory, including parents if necessary.
21649 as_fn_mkdir_p ()
21652 case $as_dir in #(
21653 -*) as_dir=./$as_dir;;
21654 esac
21655 test -d "$as_dir" || eval $as_mkdir_p || {
21656 as_dirs=
21657 while :; do
21658 case $as_dir in #(
21659 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21660 *) as_qdir=$as_dir;;
21661 esac
21662 as_dirs="'$as_qdir' $as_dirs"
21663 as_dir=`$as_dirname -- "$as_dir" ||
21664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21665 X"$as_dir" : 'X\(//\)[^/]' \| \
21666 X"$as_dir" : 'X\(//\)$' \| \
21667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21668 $as_echo X"$as_dir" |
21669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21670 s//\1/
21673 /^X\(\/\/\)[^/].*/{
21674 s//\1/
21677 /^X\(\/\/\)$/{
21678 s//\1/
21681 /^X\(\/\).*/{
21682 s//\1/
21685 s/.*/./; q'`
21686 test -d "$as_dir" && break
21687 done
21688 test -z "$as_dirs" || eval "mkdir $as_dirs"
21689 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21692 } # as_fn_mkdir_p
21693 if mkdir -p . 2>/dev/null; then
21694 as_mkdir_p='mkdir -p "$as_dir"'
21695 else
21696 test -d ./-p && rmdir ./-p
21697 as_mkdir_p=false
21701 # as_fn_executable_p FILE
21702 # -----------------------
21703 # Test if FILE is an executable regular file.
21704 as_fn_executable_p ()
21706 test -f "$1" && test -x "$1"
21707 } # as_fn_executable_p
21708 as_test_x='test -x'
21709 as_executable_p=as_fn_executable_p
21711 # Sed expression to map a string onto a valid CPP name.
21712 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21714 # Sed expression to map a string onto a valid variable name.
21715 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21718 exec 6>&1
21719 ## ----------------------------------- ##
21720 ## Main body of $CONFIG_STATUS script. ##
21721 ## ----------------------------------- ##
21722 _ASEOF
21723 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21726 # Save the log message, to keep $0 and so on meaningful, and to
21727 # report actual input values of CONFIG_FILES etc. instead of their
21728 # values after options handling.
21729 ac_log="
21730 This file was extended by Wine $as_me 4.19, which was
21731 generated by GNU Autoconf 2.69. Invocation command line was
21733 CONFIG_FILES = $CONFIG_FILES
21734 CONFIG_HEADERS = $CONFIG_HEADERS
21735 CONFIG_LINKS = $CONFIG_LINKS
21736 CONFIG_COMMANDS = $CONFIG_COMMANDS
21737 $ $0 $@
21739 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21742 _ACEOF
21744 case $ac_config_files in *"
21745 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21746 esac
21748 case $ac_config_headers in *"
21749 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21750 esac
21753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21754 # Files that config.status was made for.
21755 config_files="$ac_config_files"
21756 config_headers="$ac_config_headers"
21757 config_links="$ac_config_links"
21758 config_commands="$ac_config_commands"
21760 _ACEOF
21762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21763 ac_cs_usage="\
21764 \`$as_me' instantiates files and other configuration actions
21765 from templates according to the current configuration. Unless the files
21766 and actions are specified as TAGs, all are instantiated by default.
21768 Usage: $0 [OPTION]... [TAG]...
21770 -h, --help print this help, then exit
21771 -V, --version print version number and configuration settings, then exit
21772 --config print configuration, then exit
21773 -q, --quiet, --silent
21774 do not print progress messages
21775 -d, --debug don't remove temporary files
21776 --recheck update $as_me by reconfiguring in the same conditions
21777 --file=FILE[:TEMPLATE]
21778 instantiate the configuration file FILE
21779 --header=FILE[:TEMPLATE]
21780 instantiate the configuration header FILE
21782 Configuration files:
21783 $config_files
21785 Configuration headers:
21786 $config_headers
21788 Configuration links:
21789 $config_links
21791 Configuration commands:
21792 $config_commands
21794 Report bugs to <wine-devel@winehq.org>.
21795 Wine home page: <https://www.winehq.org>."
21797 _ACEOF
21798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21799 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21800 ac_cs_version="\\
21801 Wine config.status 4.19
21802 configured by $0, generated by GNU Autoconf 2.69,
21803 with options \\"\$ac_cs_config\\"
21805 Copyright (C) 2012 Free Software Foundation, Inc.
21806 This config.status script is free software; the Free Software Foundation
21807 gives unlimited permission to copy, distribute and modify it."
21809 ac_pwd='$ac_pwd'
21810 srcdir='$srcdir'
21811 test -n "\$AWK" || AWK=awk
21812 _ACEOF
21814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21815 # The default lists apply if the user does not specify any file.
21816 ac_need_defaults=:
21817 while test $# != 0
21819 case $1 in
21820 --*=?*)
21821 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21822 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21823 ac_shift=:
21825 --*=)
21826 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21827 ac_optarg=
21828 ac_shift=:
21831 ac_option=$1
21832 ac_optarg=$2
21833 ac_shift=shift
21835 esac
21837 case $ac_option in
21838 # Handling of the options.
21839 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21840 ac_cs_recheck=: ;;
21841 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21842 $as_echo "$ac_cs_version"; exit ;;
21843 --config | --confi | --conf | --con | --co | --c )
21844 $as_echo "$ac_cs_config"; exit ;;
21845 --debug | --debu | --deb | --de | --d | -d )
21846 debug=: ;;
21847 --file | --fil | --fi | --f )
21848 $ac_shift
21849 case $ac_optarg in
21850 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21851 '') as_fn_error $? "missing file argument" ;;
21852 esac
21853 as_fn_append CONFIG_FILES " '$ac_optarg'"
21854 ac_need_defaults=false;;
21855 --header | --heade | --head | --hea )
21856 $ac_shift
21857 case $ac_optarg in
21858 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21859 esac
21860 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21861 ac_need_defaults=false;;
21862 --he | --h)
21863 # Conflict between --help and --header
21864 as_fn_error $? "ambiguous option: \`$1'
21865 Try \`$0 --help' for more information.";;
21866 --help | --hel | -h )
21867 $as_echo "$ac_cs_usage"; exit ;;
21868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21869 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21870 ac_cs_silent=: ;;
21872 # This is an error.
21873 -*) as_fn_error $? "unrecognized option: \`$1'
21874 Try \`$0 --help' for more information." ;;
21876 *) as_fn_append ac_config_targets " $1"
21877 ac_need_defaults=false ;;
21879 esac
21880 shift
21881 done
21883 ac_configure_extra_args=
21885 if $ac_cs_silent; then
21886 exec 6>/dev/null
21887 ac_configure_extra_args="$ac_configure_extra_args --silent"
21890 _ACEOF
21891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21892 if \$ac_cs_recheck; then
21893 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21894 shift
21895 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21896 CONFIG_SHELL='$SHELL'
21897 export CONFIG_SHELL
21898 exec "\$@"
21901 _ACEOF
21902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21903 exec 5>>config.log
21905 echo
21906 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21907 ## Running $as_me. ##
21908 _ASBOX
21909 $as_echo "$ac_log"
21910 } >&5
21912 _ACEOF
21913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21915 # INIT-COMMANDS
21917 wine_fn_output_makedep ()
21919 as_dir=tools; as_fn_mkdir_p
21920 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21922 wine_fn_output_makefile ()
21924 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21925 `cat $wine_rules_file`
21926 _WINE_EOF
21927 as_fn_error $? "could not create Makefile" "$LINENO" 5
21930 _ACEOF
21932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21934 # Handling of arguments.
21935 for ac_config_target in $ac_config_targets
21937 case $ac_config_target in
21938 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21939 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21940 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21941 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21942 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21943 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21944 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21945 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21946 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21947 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21948 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21949 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21950 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21952 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21953 esac
21954 done
21957 # If the user did not use the arguments to specify the items to instantiate,
21958 # then the envvar interface is used. Set only those that are not.
21959 # We use the long form for the default assignment because of an extremely
21960 # bizarre bug on SunOS 4.1.3.
21961 if $ac_need_defaults; then
21962 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21963 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21964 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21965 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21968 # Have a temporary directory for convenience. Make it in the build tree
21969 # simply because there is no reason against having it here, and in addition,
21970 # creating and moving files from /tmp can sometimes cause problems.
21971 # Hook for its removal unless debugging.
21972 # Note that there is a small window in which the directory will not be cleaned:
21973 # after its creation but before its name has been assigned to `$tmp'.
21974 $debug ||
21976 tmp= ac_tmp=
21977 trap 'exit_status=$?
21978 : "${ac_tmp:=$tmp}"
21979 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21981 trap 'as_fn_exit 1' 1 2 13 15
21983 # Create a (secure) tmp directory for tmp files.
21986 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21987 test -d "$tmp"
21988 } ||
21990 tmp=./conf$$-$RANDOM
21991 (umask 077 && mkdir "$tmp")
21992 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21993 ac_tmp=$tmp
21995 # Set up the scripts for CONFIG_FILES section.
21996 # No need to generate them if there are no CONFIG_FILES.
21997 # This happens for instance with `./config.status config.h'.
21998 if test -n "$CONFIG_FILES"; then
22001 ac_cr=`echo X | tr X '\015'`
22002 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22003 # But we know of no other shell where ac_cr would be empty at this
22004 # point, so we can use a bashism as a fallback.
22005 if test "x$ac_cr" = x; then
22006 eval ac_cr=\$\'\\r\'
22008 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22009 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22010 ac_cs_awk_cr='\\r'
22011 else
22012 ac_cs_awk_cr=$ac_cr
22015 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22016 _ACEOF
22020 echo "cat >conf$$subs.awk <<_ACEOF" &&
22021 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22022 echo "_ACEOF"
22023 } >conf$$subs.sh ||
22024 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22025 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22026 ac_delim='%!_!# '
22027 for ac_last_try in false false false false false :; do
22028 . ./conf$$subs.sh ||
22029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22031 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22032 if test $ac_delim_n = $ac_delim_num; then
22033 break
22034 elif $ac_last_try; then
22035 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22036 else
22037 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22039 done
22040 rm -f conf$$subs.sh
22042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22043 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22044 _ACEOF
22045 sed -n '
22047 s/^/S["/; s/!.*/"]=/
22050 s/^[^!]*!//
22051 :repl
22052 t repl
22053 s/'"$ac_delim"'$//
22054 t delim
22057 s/\(.\{148\}\)..*/\1/
22058 t more1
22059 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22062 b repl
22063 :more1
22064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22067 s/.\{148\}//
22068 t nl
22069 :delim
22071 s/\(.\{148\}\)..*/\1/
22072 t more2
22073 s/["\\]/\\&/g; s/^/"/; s/$/"/
22076 :more2
22077 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22080 s/.\{148\}//
22081 t delim
22082 ' <conf$$subs.awk | sed '
22083 /^[^""]/{
22085 s/\n//
22087 ' >>$CONFIG_STATUS || ac_write_fail=1
22088 rm -f conf$$subs.awk
22089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22090 _ACAWK
22091 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22092 for (key in S) S_is_set[key] = 1
22093 FS = "\a"
22097 line = $ 0
22098 nfields = split(line, field, "@")
22099 substed = 0
22100 len = length(field[1])
22101 for (i = 2; i < nfields; i++) {
22102 key = field[i]
22103 keylen = length(key)
22104 if (S_is_set[key]) {
22105 value = S[key]
22106 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22107 len += length(value) + length(field[++i])
22108 substed = 1
22109 } else
22110 len += 1 + keylen
22113 print line
22116 _ACAWK
22117 _ACEOF
22118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22119 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22120 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22121 else
22123 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22124 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22125 _ACEOF
22127 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22128 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22129 # trailing colons and then remove the whole line if VPATH becomes empty
22130 # (actually we leave an empty line to preserve line numbers).
22131 if test "x$srcdir" = x.; then
22132 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22134 s///
22135 s/^/:/
22136 s/[ ]*$/:/
22137 s/:\$(srcdir):/:/g
22138 s/:\${srcdir}:/:/g
22139 s/:@srcdir@:/:/g
22140 s/^:*//
22141 s/:*$//
22143 s/\(=[ ]*\).*/\1/
22145 s/\n//
22146 s/^[^=]*=[ ]*$//
22150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22151 fi # test -n "$CONFIG_FILES"
22153 # Set up the scripts for CONFIG_HEADERS section.
22154 # No need to generate them if there are no CONFIG_HEADERS.
22155 # This happens for instance with `./config.status Makefile'.
22156 if test -n "$CONFIG_HEADERS"; then
22157 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22158 BEGIN {
22159 _ACEOF
22161 # Transform confdefs.h into an awk script `defines.awk', embedded as
22162 # here-document in config.status, that substitutes the proper values into
22163 # config.h.in to produce config.h.
22165 # Create a delimiter string that does not exist in confdefs.h, to ease
22166 # handling of long lines.
22167 ac_delim='%!_!# '
22168 for ac_last_try in false false :; do
22169 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22170 if test -z "$ac_tt"; then
22171 break
22172 elif $ac_last_try; then
22173 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22174 else
22175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22177 done
22179 # For the awk script, D is an array of macro values keyed by name,
22180 # likewise P contains macro parameters if any. Preserve backslash
22181 # newline sequences.
22183 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22184 sed -n '
22185 s/.\{148\}/&'"$ac_delim"'/g
22186 t rset
22187 :rset
22188 s/^[ ]*#[ ]*define[ ][ ]*/ /
22189 t def
22191 :def
22192 s/\\$//
22193 t bsnl
22194 s/["\\]/\\&/g
22195 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22196 D["\1"]=" \3"/p
22197 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22199 :bsnl
22200 s/["\\]/\\&/g
22201 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22202 D["\1"]=" \3\\\\\\n"\\/p
22203 t cont
22204 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22205 t cont
22207 :cont
22209 s/.\{148\}/&'"$ac_delim"'/g
22210 t clear
22211 :clear
22212 s/\\$//
22213 t bsnlc
22214 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22216 :bsnlc
22217 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22218 b cont
22219 ' <confdefs.h | sed '
22220 s/'"$ac_delim"'/"\\\
22221 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22224 for (key in D) D_is_set[key] = 1
22225 FS = "\a"
22227 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22228 line = \$ 0
22229 split(line, arg, " ")
22230 if (arg[1] == "#") {
22231 defundef = arg[2]
22232 mac1 = arg[3]
22233 } else {
22234 defundef = substr(arg[1], 2)
22235 mac1 = arg[2]
22237 split(mac1, mac2, "(") #)
22238 macro = mac2[1]
22239 prefix = substr(line, 1, index(line, defundef) - 1)
22240 if (D_is_set[macro]) {
22241 # Preserve the white space surrounding the "#".
22242 print prefix "define", macro P[macro] D[macro]
22243 next
22244 } else {
22245 # Replace #undef with comments. This is necessary, for example,
22246 # in the case of _POSIX_SOURCE, which is predefined and required
22247 # on some systems where configure will not decide to define it.
22248 if (defundef == "undef") {
22249 print "/*", prefix defundef, macro, "*/"
22250 next
22254 { print }
22255 _ACAWK
22256 _ACEOF
22257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22258 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22259 fi # test -n "$CONFIG_HEADERS"
22262 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22263 shift
22264 for ac_tag
22266 case $ac_tag in
22267 :[FHLC]) ac_mode=$ac_tag; continue;;
22268 esac
22269 case $ac_mode$ac_tag in
22270 :[FHL]*:*);;
22271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22272 :[FH]-) ac_tag=-:-;;
22273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22274 esac
22275 ac_save_IFS=$IFS
22276 IFS=:
22277 set x $ac_tag
22278 IFS=$ac_save_IFS
22279 shift
22280 ac_file=$1
22281 shift
22283 case $ac_mode in
22284 :L) ac_source=$1;;
22285 :[FH])
22286 ac_file_inputs=
22287 for ac_f
22289 case $ac_f in
22290 -) ac_f="$ac_tmp/stdin";;
22291 *) # Look for the file first in the build tree, then in the source tree
22292 # (if the path is not absolute). The absolute path cannot be DOS-style,
22293 # because $ac_f cannot contain `:'.
22294 test -f "$ac_f" ||
22295 case $ac_f in
22296 [\\/$]*) false;;
22297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22298 esac ||
22299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22300 esac
22301 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22302 as_fn_append ac_file_inputs " '$ac_f'"
22303 done
22305 # Let's still pretend it is `configure' which instantiates (i.e., don't
22306 # use $as_me), people would be surprised to read:
22307 # /* config.h. Generated by config.status. */
22308 configure_input='Generated from '`
22309 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22310 `' by configure.'
22311 if test x"$ac_file" != x-; then
22312 configure_input="$ac_file. $configure_input"
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22314 $as_echo "$as_me: creating $ac_file" >&6;}
22316 # Neutralize special characters interpreted by sed in replacement strings.
22317 case $configure_input in #(
22318 *\&* | *\|* | *\\* )
22319 ac_sed_conf_input=`$as_echo "$configure_input" |
22320 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22321 *) ac_sed_conf_input=$configure_input;;
22322 esac
22324 case $ac_tag in
22325 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22327 esac
22329 esac
22331 ac_dir=`$as_dirname -- "$ac_file" ||
22332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22333 X"$ac_file" : 'X\(//\)[^/]' \| \
22334 X"$ac_file" : 'X\(//\)$' \| \
22335 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22336 $as_echo X"$ac_file" |
22337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22338 s//\1/
22341 /^X\(\/\/\)[^/].*/{
22342 s//\1/
22345 /^X\(\/\/\)$/{
22346 s//\1/
22349 /^X\(\/\).*/{
22350 s//\1/
22353 s/.*/./; q'`
22354 as_dir="$ac_dir"; as_fn_mkdir_p
22355 ac_builddir=.
22357 case "$ac_dir" in
22358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22360 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22361 # A ".." for each directory in $ac_dir_suffix.
22362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22363 case $ac_top_builddir_sub in
22364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22366 esac ;;
22367 esac
22368 ac_abs_top_builddir=$ac_pwd
22369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22370 # for backward compatibility:
22371 ac_top_builddir=$ac_top_build_prefix
22373 case $srcdir in
22374 .) # We are building in place.
22375 ac_srcdir=.
22376 ac_top_srcdir=$ac_top_builddir_sub
22377 ac_abs_top_srcdir=$ac_pwd ;;
22378 [\\/]* | ?:[\\/]* ) # Absolute name.
22379 ac_srcdir=$srcdir$ac_dir_suffix;
22380 ac_top_srcdir=$srcdir
22381 ac_abs_top_srcdir=$srcdir ;;
22382 *) # Relative name.
22383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22384 ac_top_srcdir=$ac_top_build_prefix$srcdir
22385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22386 esac
22387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22390 case $ac_mode in
22393 # CONFIG_FILE
22396 _ACEOF
22398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22399 # If the template does not know about datarootdir, expand it.
22400 # FIXME: This hack should be removed a few years after 2.60.
22401 ac_datarootdir_hack=; ac_datarootdir_seen=
22402 ac_sed_dataroot='
22403 /datarootdir/ {
22407 /@datadir@/p
22408 /@docdir@/p
22409 /@infodir@/p
22410 /@localedir@/p
22411 /@mandir@/p'
22412 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22413 *datarootdir*) ac_datarootdir_seen=yes;;
22414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22416 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22417 _ACEOF
22418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22419 ac_datarootdir_hack='
22420 s&@datadir@&$datadir&g
22421 s&@docdir@&$docdir&g
22422 s&@infodir@&$infodir&g
22423 s&@localedir@&$localedir&g
22424 s&@mandir@&$mandir&g
22425 s&\\\${datarootdir}&$datarootdir&g' ;;
22426 esac
22427 _ACEOF
22429 # Neutralize VPATH when `$srcdir' = `.'.
22430 # Shell code in configure.ac might set extrasub.
22431 # FIXME: do we really want to maintain this feature?
22432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22433 ac_sed_extra="$ac_vpsub
22434 $extrasub
22435 _ACEOF
22436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22439 s|@configure_input@|$ac_sed_conf_input|;t t
22440 s&@top_builddir@&$ac_top_builddir_sub&;t t
22441 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22442 s&@srcdir@&$ac_srcdir&;t t
22443 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22444 s&@top_srcdir@&$ac_top_srcdir&;t t
22445 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22446 s&@builddir@&$ac_builddir&;t t
22447 s&@abs_builddir@&$ac_abs_builddir&;t t
22448 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22449 $ac_datarootdir_hack
22451 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22452 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22454 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22455 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22456 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22457 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22459 which seems to be undefined. Please make sure it is defined" >&5
22460 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22461 which seems to be undefined. Please make sure it is defined" >&2;}
22463 rm -f "$ac_tmp/stdin"
22464 case $ac_file in
22465 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22466 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22467 esac \
22468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22472 # CONFIG_HEADER
22474 if test x"$ac_file" != x-; then
22476 $as_echo "/* $configure_input */" \
22477 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22478 } >"$ac_tmp/config.h" \
22479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22480 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22482 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22483 else
22484 rm -f "$ac_file"
22485 mv "$ac_tmp/config.h" "$ac_file" \
22486 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22488 else
22489 $as_echo "/* $configure_input */" \
22490 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22491 || as_fn_error $? "could not create -" "$LINENO" 5
22496 # CONFIG_LINK
22499 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22501 else
22502 # Prefer the file from the source tree if names are identical.
22503 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22504 ac_source=$srcdir/$ac_source
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22508 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22510 if test ! -r "$ac_source"; then
22511 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22513 rm -f "$ac_file"
22515 # Try a relative symlink, then a hard link, then a copy.
22516 case $ac_source in
22517 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22518 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22519 esac
22520 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22521 ln "$ac_source" "$ac_file" 2>/dev/null ||
22522 cp -p "$ac_source" "$ac_file" ||
22523 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22526 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22527 $as_echo "$as_me: executing $ac_file commands" >&6;}
22529 esac
22532 case $ac_file$ac_mode in
22533 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22534 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22535 "Makefile":C) wine_fn_output_makefile Makefile ;;
22537 esac
22538 done # for ac_tag
22541 as_fn_exit 0
22542 _ACEOF
22543 ac_clean_files=$ac_clean_files_save
22545 test $ac_write_fail = 0 ||
22546 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22549 # configure is writing to config.log, and then calls config.status.
22550 # config.status does its own redirection, appending to config.log.
22551 # Unfortunately, on DOS this fails, as config.log is still kept open
22552 # by configure, so config.status won't be able to write to it; its
22553 # output is simply discarded. So we exec the FD to /dev/null,
22554 # effectively closing config.log, so it can be properly (re)opened and
22555 # appended to by config.status. When coming back to configure, we
22556 # need to make the FD available again.
22557 if test "$no_create" != yes; then
22558 ac_cs_success=:
22559 ac_config_status_args=
22560 test "$silent" = yes &&
22561 ac_config_status_args="$ac_config_status_args --quiet"
22562 exec 5>/dev/null
22563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22564 exec 5>>config.log
22565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22566 # would make configure fail if this is the last instruction.
22567 $ac_cs_success || as_fn_exit 1
22569 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22571 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22575 if test "$no_create" = "yes"
22576 then
22577 exit 0
22580 ac_save_IFS="$IFS"
22581 if test "x$wine_notices" != x; then
22582 echo >&6
22583 IFS="|"
22584 for msg in $wine_notices; do
22585 IFS="$ac_save_IFS"
22586 if ${msg:+false} :; then :
22588 else
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22590 $as_echo "$as_me: $msg" >&6;}
22592 done
22594 IFS="|"
22595 for msg in $wine_warnings; do
22596 IFS="$ac_save_IFS"
22597 if ${msg:+false} :; then :
22599 else
22600 echo >&2
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22602 $as_echo "$as_me: WARNING: $msg" >&2;}
22604 done
22605 IFS="$ac_save_IFS"
22607 $as_echo "
22608 $as_me: Finished. Do '${ac_make}' to compile Wine.
22609 " >&6