Release 5.10.
[wine/zf.git] / configure
blob44f8e7b9db068ad8e9ab0c40ca055e924a8eac6d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.10.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.10'
584 PACKAGE_STRING='Wine 5.10'
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 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_libraryloader_l2_1_0
975 enable_api_ms_win_core_localization_l1_1_0
976 enable_api_ms_win_core_localization_l1_2_0
977 enable_api_ms_win_core_localization_l1_2_1
978 enable_api_ms_win_core_localization_l1_2_2
979 enable_api_ms_win_core_localization_l2_1_0
980 enable_api_ms_win_core_localization_obsolete_l1_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_2_0
982 enable_api_ms_win_core_localization_obsolete_l1_3_0
983 enable_api_ms_win_core_localization_private_l1_1_0
984 enable_api_ms_win_core_localregistry_l1_1_0
985 enable_api_ms_win_core_memory_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_1
987 enable_api_ms_win_core_memory_l1_1_2
988 enable_api_ms_win_core_memory_l1_1_4
989 enable_api_ms_win_core_misc_l1_1_0
990 enable_api_ms_win_core_namedpipe_l1_1_0
991 enable_api_ms_win_core_namedpipe_l1_2_0
992 enable_api_ms_win_core_namespace_l1_1_0
993 enable_api_ms_win_core_normalization_l1_1_0
994 enable_api_ms_win_core_path_l1_1_0
995 enable_api_ms_win_core_privateprofile_l1_1_1
996 enable_api_ms_win_core_processenvironment_l1_1_0
997 enable_api_ms_win_core_processenvironment_l1_2_0
998 enable_api_ms_win_core_processthreads_l1_1_0
999 enable_api_ms_win_core_processthreads_l1_1_1
1000 enable_api_ms_win_core_processthreads_l1_1_2
1001 enable_api_ms_win_core_processthreads_l1_1_3
1002 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1003 enable_api_ms_win_core_profile_l1_1_0
1004 enable_api_ms_win_core_psapi_ansi_l1_1_0
1005 enable_api_ms_win_core_psapi_l1_1_0
1006 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1007 enable_api_ms_win_core_quirks_l1_1_0
1008 enable_api_ms_win_core_realtime_l1_1_0
1009 enable_api_ms_win_core_registry_l1_1_0
1010 enable_api_ms_win_core_registry_l2_1_0
1011 enable_api_ms_win_core_registry_l2_2_0
1012 enable_api_ms_win_core_registryuserspecific_l1_1_0
1013 enable_api_ms_win_core_rtlsupport_l1_1_0
1014 enable_api_ms_win_core_rtlsupport_l1_2_0
1015 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1016 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1017 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1018 enable_api_ms_win_core_shutdown_l1_1_0
1019 enable_api_ms_win_core_sidebyside_l1_1_0
1020 enable_api_ms_win_core_string_l1_1_0
1021 enable_api_ms_win_core_string_l2_1_0
1022 enable_api_ms_win_core_string_obsolete_l1_1_0
1023 enable_api_ms_win_core_stringansi_l1_1_0
1024 enable_api_ms_win_core_stringloader_l1_1_1
1025 enable_api_ms_win_core_synch_ansi_l1_1_0
1026 enable_api_ms_win_core_synch_l1_1_0
1027 enable_api_ms_win_core_synch_l1_2_0
1028 enable_api_ms_win_core_synch_l1_2_1
1029 enable_api_ms_win_core_sysinfo_l1_1_0
1030 enable_api_ms_win_core_sysinfo_l1_2_0
1031 enable_api_ms_win_core_sysinfo_l1_2_1
1032 enable_api_ms_win_core_threadpool_l1_1_0
1033 enable_api_ms_win_core_threadpool_l1_2_0
1034 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1035 enable_api_ms_win_core_threadpool_private_l1_1_0
1036 enable_api_ms_win_core_timezone_l1_1_0
1037 enable_api_ms_win_core_toolhelp_l1_1_0
1038 enable_api_ms_win_core_url_l1_1_0
1039 enable_api_ms_win_core_util_l1_1_0
1040 enable_api_ms_win_core_version_l1_1_0
1041 enable_api_ms_win_core_version_l1_1_1
1042 enable_api_ms_win_core_version_private_l1_1_0
1043 enable_api_ms_win_core_versionansi_l1_1_0
1044 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1045 enable_api_ms_win_core_winrt_error_l1_1_0
1046 enable_api_ms_win_core_winrt_error_l1_1_1
1047 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1048 enable_api_ms_win_core_winrt_l1_1_0
1049 enable_api_ms_win_core_winrt_registration_l1_1_0
1050 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1051 enable_api_ms_win_core_winrt_string_l1_1_0
1052 enable_api_ms_win_core_winrt_string_l1_1_1
1053 enable_api_ms_win_core_wow64_l1_1_0
1054 enable_api_ms_win_core_wow64_l1_1_1
1055 enable_api_ms_win_core_xstate_l1_1_0
1056 enable_api_ms_win_core_xstate_l2_1_0
1057 enable_api_ms_win_crt_conio_l1_1_0
1058 enable_api_ms_win_crt_convert_l1_1_0
1059 enable_api_ms_win_crt_environment_l1_1_0
1060 enable_api_ms_win_crt_filesystem_l1_1_0
1061 enable_api_ms_win_crt_heap_l1_1_0
1062 enable_api_ms_win_crt_locale_l1_1_0
1063 enable_api_ms_win_crt_math_l1_1_0
1064 enable_api_ms_win_crt_multibyte_l1_1_0
1065 enable_api_ms_win_crt_private_l1_1_0
1066 enable_api_ms_win_crt_process_l1_1_0
1067 enable_api_ms_win_crt_runtime_l1_1_0
1068 enable_api_ms_win_crt_stdio_l1_1_0
1069 enable_api_ms_win_crt_string_l1_1_0
1070 enable_api_ms_win_crt_time_l1_1_0
1071 enable_api_ms_win_crt_utility_l1_1_0
1072 enable_api_ms_win_devices_config_l1_1_0
1073 enable_api_ms_win_devices_config_l1_1_1
1074 enable_api_ms_win_devices_query_l1_1_1
1075 enable_api_ms_win_downlevel_advapi32_l1_1_0
1076 enable_api_ms_win_downlevel_advapi32_l2_1_0
1077 enable_api_ms_win_downlevel_kernel32_l2_1_0
1078 enable_api_ms_win_downlevel_normaliz_l1_1_0
1079 enable_api_ms_win_downlevel_ole32_l1_1_0
1080 enable_api_ms_win_downlevel_shell32_l1_1_0
1081 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1082 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1083 enable_api_ms_win_downlevel_user32_l1_1_0
1084 enable_api_ms_win_downlevel_version_l1_1_0
1085 enable_api_ms_win_dx_d3dkmt_l1_1_0
1086 enable_api_ms_win_eventing_classicprovider_l1_1_0
1087 enable_api_ms_win_eventing_consumer_l1_1_0
1088 enable_api_ms_win_eventing_controller_l1_1_0
1089 enable_api_ms_win_eventing_legacy_l1_1_0
1090 enable_api_ms_win_eventing_provider_l1_1_0
1091 enable_api_ms_win_eventlog_legacy_l1_1_0
1092 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1093 enable_api_ms_win_mm_joystick_l1_1_0
1094 enable_api_ms_win_mm_misc_l1_1_1
1095 enable_api_ms_win_mm_mme_l1_1_0
1096 enable_api_ms_win_mm_time_l1_1_0
1097 enable_api_ms_win_ntuser_dc_access_l1_1_0
1098 enable_api_ms_win_ntuser_rectangle_l1_1_0
1099 enable_api_ms_win_ntuser_sysparams_l1_1_0
1100 enable_api_ms_win_perf_legacy_l1_1_0
1101 enable_api_ms_win_power_base_l1_1_0
1102 enable_api_ms_win_power_setting_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1106 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1110 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1111 enable_api_ms_win_security_audit_l1_1_1
1112 enable_api_ms_win_security_base_l1_1_0
1113 enable_api_ms_win_security_base_l1_2_0
1114 enable_api_ms_win_security_base_private_l1_1_1
1115 enable_api_ms_win_security_credentials_l1_1_0
1116 enable_api_ms_win_security_cryptoapi_l1_1_0
1117 enable_api_ms_win_security_grouppolicy_l1_1_0
1118 enable_api_ms_win_security_lsalookup_l1_1_0
1119 enable_api_ms_win_security_lsalookup_l1_1_1
1120 enable_api_ms_win_security_lsalookup_l2_1_0
1121 enable_api_ms_win_security_lsalookup_l2_1_1
1122 enable_api_ms_win_security_lsapolicy_l1_1_0
1123 enable_api_ms_win_security_provider_l1_1_0
1124 enable_api_ms_win_security_sddl_l1_1_0
1125 enable_api_ms_win_security_systemfunctions_l1_1_0
1126 enable_api_ms_win_service_core_l1_1_0
1127 enable_api_ms_win_service_core_l1_1_1
1128 enable_api_ms_win_service_management_l1_1_0
1129 enable_api_ms_win_service_management_l2_1_0
1130 enable_api_ms_win_service_private_l1_1_1
1131 enable_api_ms_win_service_winsvc_l1_1_0
1132 enable_api_ms_win_service_winsvc_l1_2_0
1133 enable_api_ms_win_shcore_obsolete_l1_1_0
1134 enable_api_ms_win_shcore_scaling_l1_1_1
1135 enable_api_ms_win_shcore_stream_l1_1_0
1136 enable_api_ms_win_shcore_thread_l1_1_0
1137 enable_api_ms_win_shell_shellcom_l1_1_0
1138 enable_api_ms_win_shell_shellfolders_l1_1_0
1139 enable_apphelp
1140 enable_appwiz_cpl
1141 enable_atl
1142 enable_atl100
1143 enable_atl110
1144 enable_atl80
1145 enable_atl90
1146 enable_atlthunk
1147 enable_atmlib
1148 enable_authz
1149 enable_avicap32
1150 enable_avifil32
1151 enable_avrt
1152 enable_bcrypt
1153 enable_bluetoothapis
1154 enable_browseui
1155 enable_bthprops_cpl
1156 enable_cabinet
1157 enable_capi2032
1158 enable_cards
1159 enable_cdosys
1160 enable_cfgmgr32
1161 enable_clusapi
1162 enable_combase
1163 enable_comcat
1164 enable_comctl32
1165 enable_comdlg32
1166 enable_compstui
1167 enable_comsvcs
1168 enable_concrt140
1169 enable_connect
1170 enable_credui
1171 enable_crtdll
1172 enable_crypt32
1173 enable_cryptdlg
1174 enable_cryptdll
1175 enable_cryptext
1176 enable_cryptnet
1177 enable_cryptui
1178 enable_ctapi32
1179 enable_ctl3d32
1180 enable_d2d1
1181 enable_d3d10
1182 enable_d3d10_1
1183 enable_d3d10core
1184 enable_d3d11
1185 enable_d3d12
1186 enable_d3d8
1187 enable_d3d9
1188 enable_d3dcompiler_33
1189 enable_d3dcompiler_34
1190 enable_d3dcompiler_35
1191 enable_d3dcompiler_36
1192 enable_d3dcompiler_37
1193 enable_d3dcompiler_38
1194 enable_d3dcompiler_39
1195 enable_d3dcompiler_40
1196 enable_d3dcompiler_41
1197 enable_d3dcompiler_42
1198 enable_d3dcompiler_43
1199 enable_d3dcompiler_46
1200 enable_d3dcompiler_47
1201 enable_d3dim
1202 enable_d3drm
1203 enable_d3dx10_33
1204 enable_d3dx10_34
1205 enable_d3dx10_35
1206 enable_d3dx10_36
1207 enable_d3dx10_37
1208 enable_d3dx10_38
1209 enable_d3dx10_39
1210 enable_d3dx10_40
1211 enable_d3dx10_41
1212 enable_d3dx10_42
1213 enable_d3dx10_43
1214 enable_d3dx11_42
1215 enable_d3dx11_43
1216 enable_d3dx9_24
1217 enable_d3dx9_25
1218 enable_d3dx9_26
1219 enable_d3dx9_27
1220 enable_d3dx9_28
1221 enable_d3dx9_29
1222 enable_d3dx9_30
1223 enable_d3dx9_31
1224 enable_d3dx9_32
1225 enable_d3dx9_33
1226 enable_d3dx9_34
1227 enable_d3dx9_35
1228 enable_d3dx9_36
1229 enable_d3dx9_37
1230 enable_d3dx9_38
1231 enable_d3dx9_39
1232 enable_d3dx9_40
1233 enable_d3dx9_41
1234 enable_d3dx9_42
1235 enable_d3dx9_43
1236 enable_d3dxof
1237 enable_davclnt
1238 enable_dbgeng
1239 enable_dbghelp
1240 enable_dciman32
1241 enable_ddraw
1242 enable_ddrawex
1243 enable_devenum
1244 enable_dhcpcsvc
1245 enable_dhtmled_ocx
1246 enable_difxapi
1247 enable_dinput
1248 enable_dinput8
1249 enable_dispex
1250 enable_dmband
1251 enable_dmcompos
1252 enable_dmime
1253 enable_dmloader
1254 enable_dmoguids
1255 enable_dmscript
1256 enable_dmstyle
1257 enable_dmsynth
1258 enable_dmusic
1259 enable_dmusic32
1260 enable_dnsapi
1261 enable_dplay
1262 enable_dplayx
1263 enable_dpnaddr
1264 enable_dpnet
1265 enable_dpnhpast
1266 enable_dpnlobby
1267 enable_dpvoice
1268 enable_dpwsockx
1269 enable_drmclien
1270 enable_dsdmo
1271 enable_dsound
1272 enable_dsquery
1273 enable_dssenh
1274 enable_dsuiext
1275 enable_dswave
1276 enable_dwmapi
1277 enable_dwrite
1278 enable_dx8vb
1279 enable_dxdiagn
1280 enable_dxerr8
1281 enable_dxerr9
1282 enable_dxgi
1283 enable_dxguid
1284 enable_dxva2
1285 enable_esent
1286 enable_evr
1287 enable_explorerframe
1288 enable_ext_ms_win_authz_context_l1_1_0
1289 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1290 enable_ext_ms_win_dwmapi_ext_l1_1_0
1291 enable_ext_ms_win_gdi_dc_create_l1_1_0
1292 enable_ext_ms_win_gdi_dc_create_l1_1_1
1293 enable_ext_ms_win_gdi_dc_l1_2_0
1294 enable_ext_ms_win_gdi_devcaps_l1_1_0
1295 enable_ext_ms_win_gdi_draw_l1_1_0
1296 enable_ext_ms_win_gdi_draw_l1_1_1
1297 enable_ext_ms_win_gdi_font_l1_1_0
1298 enable_ext_ms_win_gdi_font_l1_1_1
1299 enable_ext_ms_win_gdi_render_l1_1_0
1300 enable_ext_ms_win_kernel32_package_current_l1_1_0
1301 enable_ext_ms_win_kernel32_package_l1_1_1
1302 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1303 enable_ext_ms_win_ntuser_draw_l1_1_0
1304 enable_ext_ms_win_ntuser_gui_l1_1_0
1305 enable_ext_ms_win_ntuser_gui_l1_3_0
1306 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1307 enable_ext_ms_win_ntuser_message_l1_1_0
1308 enable_ext_ms_win_ntuser_message_l1_1_1
1309 enable_ext_ms_win_ntuser_misc_l1_1_0
1310 enable_ext_ms_win_ntuser_misc_l1_2_0
1311 enable_ext_ms_win_ntuser_misc_l1_5_1
1312 enable_ext_ms_win_ntuser_mouse_l1_1_0
1313 enable_ext_ms_win_ntuser_private_l1_1_1
1314 enable_ext_ms_win_ntuser_private_l1_3_1
1315 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1316 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1317 enable_ext_ms_win_ntuser_window_l1_1_0
1318 enable_ext_ms_win_ntuser_window_l1_1_1
1319 enable_ext_ms_win_ntuser_window_l1_1_4
1320 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1321 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1322 enable_ext_ms_win_oleacc_l1_1_0
1323 enable_ext_ms_win_ras_rasapi32_l1_1_0
1324 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1325 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1326 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1330 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1331 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1332 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1334 enable_ext_ms_win_security_credui_l1_1_0
1335 enable_ext_ms_win_security_cryptui_l1_1_0
1336 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1337 enable_ext_ms_win_shell_comdlg32_l1_1_0
1338 enable_ext_ms_win_shell_shell32_l1_2_0
1339 enable_ext_ms_win_uxtheme_themes_l1_1_0
1340 enable_faultrep
1341 enable_feclient
1342 enable_fltlib
1343 enable_fltmgr_sys
1344 enable_fntcache
1345 enable_fontsub
1346 enable_fusion
1347 enable_fwpuclnt
1348 enable_gameux
1349 enable_gdi32
1350 enable_gdiplus
1351 enable_glu32
1352 enable_gphoto2_ds
1353 enable_gpkcsp
1354 enable_hal
1355 enable_hhctrl_ocx
1356 enable_hid
1357 enable_hidclass_sys
1358 enable_hlink
1359 enable_hnetcfg
1360 enable_http_sys
1361 enable_httpapi
1362 enable_iccvid
1363 enable_icmp
1364 enable_ieframe
1365 enable_ieproxy
1366 enable_imaadp32_acm
1367 enable_imagehlp
1368 enable_imm32
1369 enable_inetcomm
1370 enable_inetcpl_cpl
1371 enable_inetmib1
1372 enable_infosoft
1373 enable_initpki
1374 enable_inkobj
1375 enable_inseng
1376 enable_iphlpapi
1377 enable_iprop
1378 enable_irprops_cpl
1379 enable_itircl
1380 enable_itss
1381 enable_joy_cpl
1382 enable_jscript
1383 enable_jsproxy
1384 enable_kerberos
1385 enable_kernel32
1386 enable_kernelbase
1387 enable_ksecdd_sys
1388 enable_ksproxy_ax
1389 enable_ksuser
1390 enable_ktmw32
1391 enable_l3codeca_acm
1392 enable_loadperf
1393 enable_localspl
1394 enable_localui
1395 enable_lz32
1396 enable_mapi32
1397 enable_mapistub
1398 enable_mciavi32
1399 enable_mcicda
1400 enable_mciqtz32
1401 enable_mciseq
1402 enable_mciwave
1403 enable_mf
1404 enable_mf3216
1405 enable_mferror
1406 enable_mfmediaengine
1407 enable_mfplat
1408 enable_mfplay
1409 enable_mfreadwrite
1410 enable_mfuuid
1411 enable_mgmtapi
1412 enable_midimap
1413 enable_mlang
1414 enable_mmcndmgr
1415 enable_mmdevapi
1416 enable_mountmgr_sys
1417 enable_mp3dmod
1418 enable_mpr
1419 enable_mprapi
1420 enable_msacm32_drv
1421 enable_msacm32
1422 enable_msado15
1423 enable_msadp32_acm
1424 enable_msasn1
1425 enable_mscat32
1426 enable_mscms
1427 enable_mscoree
1428 enable_mscorwks
1429 enable_msctf
1430 enable_msctfp
1431 enable_msdaps
1432 enable_msdelta
1433 enable_msdmo
1434 enable_msdrm
1435 enable_msftedit
1436 enable_msg711_acm
1437 enable_msgsm32_acm
1438 enable_mshtml_tlb
1439 enable_mshtml
1440 enable_msi
1441 enable_msident
1442 enable_msimg32
1443 enable_msimsg
1444 enable_msimtf
1445 enable_msisip
1446 enable_msisys_ocx
1447 enable_msls31
1448 enable_msnet32
1449 enable_mspatcha
1450 enable_msports
1451 enable_msrle32
1452 enable_msscript_ocx
1453 enable_mssign32
1454 enable_mssip32
1455 enable_mstask
1456 enable_msvcirt
1457 enable_msvcm80
1458 enable_msvcm90
1459 enable_msvcp100
1460 enable_msvcp110
1461 enable_msvcp120
1462 enable_msvcp120_app
1463 enable_msvcp140
1464 enable_msvcp60
1465 enable_msvcp70
1466 enable_msvcp71
1467 enable_msvcp80
1468 enable_msvcp90
1469 enable_msvcr100
1470 enable_msvcr110
1471 enable_msvcr120
1472 enable_msvcr120_app
1473 enable_msvcr70
1474 enable_msvcr71
1475 enable_msvcr80
1476 enable_msvcr90
1477 enable_msvcrt
1478 enable_msvcrt20
1479 enable_msvcrt40
1480 enable_msvcrtd
1481 enable_msvfw32
1482 enable_msvidc32
1483 enable_mswsock
1484 enable_msxml
1485 enable_msxml2
1486 enable_msxml3
1487 enable_msxml4
1488 enable_msxml6
1489 enable_mtxdm
1490 enable_ncrypt
1491 enable_nddeapi
1492 enable_ndis_sys
1493 enable_netapi32
1494 enable_netcfgx
1495 enable_netio_sys
1496 enable_netprofm
1497 enable_newdev
1498 enable_ninput
1499 enable_normaliz
1500 enable_npmshtml
1501 enable_npptools
1502 enable_ntdll
1503 enable_ntdsapi
1504 enable_ntoskrnl_exe
1505 enable_ntprint
1506 enable_objsel
1507 enable_odbc32
1508 enable_odbcbcp
1509 enable_odbccp32
1510 enable_odbccu32
1511 enable_ole32
1512 enable_oleacc
1513 enable_oleaut32
1514 enable_olecli32
1515 enable_oledb32
1516 enable_oledlg
1517 enable_olepro32
1518 enable_olesvr32
1519 enable_olethk32
1520 enable_opcservices
1521 enable_openal32
1522 enable_opencl
1523 enable_opengl32
1524 enable_packager
1525 enable_pdh
1526 enable_photometadatahandler
1527 enable_pidgen
1528 enable_powrprof
1529 enable_printui
1530 enable_prntvpt
1531 enable_propsys
1532 enable_psapi
1533 enable_pstorec
1534 enable_qasf
1535 enable_qcap
1536 enable_qdvd
1537 enable_qedit
1538 enable_qmgr
1539 enable_qmgrprxy
1540 enable_quartz
1541 enable_query
1542 enable_qwave
1543 enable_rasapi32
1544 enable_rasdlg
1545 enable_regapi
1546 enable_resutils
1547 enable_riched20
1548 enable_riched32
1549 enable_rpcrt4
1550 enable_rsabase
1551 enable_rsaenh
1552 enable_rstrtmgr
1553 enable_rtutils
1554 enable_rtworkq
1555 enable_samlib
1556 enable_sane_ds
1557 enable_sapi
1558 enable_sas
1559 enable_scarddlg
1560 enable_sccbase
1561 enable_schannel
1562 enable_schedsvc
1563 enable_scrobj
1564 enable_scrrun
1565 enable_scsiport_sys
1566 enable_sechost
1567 enable_secur32
1568 enable_security
1569 enable_sensapi
1570 enable_serialui
1571 enable_setupapi
1572 enable_sfc
1573 enable_sfc_os
1574 enable_shcore
1575 enable_shdoclc
1576 enable_shdocvw
1577 enable_shell32
1578 enable_shfolder
1579 enable_shlwapi
1580 enable_slbcsp
1581 enable_slc
1582 enable_snmpapi
1583 enable_softpub
1584 enable_spoolss
1585 enable_srclient
1586 enable_sspicli
1587 enable_stdole2_tlb
1588 enable_stdole32_tlb
1589 enable_sti
1590 enable_strmbase
1591 enable_strmdll
1592 enable_strmiids
1593 enable_svrapi
1594 enable_sxs
1595 enable_t2embed
1596 enable_tapi32
1597 enable_taskschd
1598 enable_tdh
1599 enable_tdi_sys
1600 enable_traffic
1601 enable_twain_32
1602 enable_tzres
1603 enable_ucrtbase
1604 enable_uianimation
1605 enable_uiautomationcore
1606 enable_uiribbon
1607 enable_unicows
1608 enable_updspapi
1609 enable_url
1610 enable_urlmon
1611 enable_usbd_sys
1612 enable_user32
1613 enable_userenv
1614 enable_usp10
1615 enable_utildll
1616 enable_uuid
1617 enable_uxtheme
1618 enable_vbscript
1619 enable_vcomp
1620 enable_vcomp100
1621 enable_vcomp110
1622 enable_vcomp120
1623 enable_vcomp140
1624 enable_vcomp90
1625 enable_vcruntime140
1626 enable_vcruntime140_1
1627 enable_vdmdbg
1628 enable_version
1629 enable_vga
1630 enable_virtdisk
1631 enable_vssapi
1632 enable_vulkan_1
1633 enable_wbemdisp
1634 enable_wbemprox
1635 enable_wbemuuid
1636 enable_wdscore
1637 enable_webservices
1638 enable_wer
1639 enable_wevtapi
1640 enable_wiaservc
1641 enable_wimgapi
1642 enable_windowscodecs
1643 enable_windowscodecsext
1644 enable_winealsa_drv
1645 enable_wineandroid_drv
1646 enable_winebus_sys
1647 enable_winecoreaudio_drv
1648 enable_winecrt0
1649 enable_wined3d
1650 enable_winegstreamer
1651 enable_winehid_sys
1652 enable_winejoystick_drv
1653 enable_winemac_drv
1654 enable_winemapi
1655 enable_wineoss_drv
1656 enable_wineps_drv
1657 enable_winepulse_drv
1658 enable_wineqtdecoder
1659 enable_wineusb_sys
1660 enable_winevulkan
1661 enable_winex11_drv
1662 enable_wing32
1663 enable_winhttp
1664 enable_wininet
1665 enable_winmm
1666 enable_winnls32
1667 enable_winscard
1668 enable_winspool_drv
1669 enable_winsta
1670 enable_wintab32
1671 enable_wintrust
1672 enable_winusb
1673 enable_wlanapi
1674 enable_wlanui
1675 enable_wldap32
1676 enable_wmasf
1677 enable_wmcodecdspuuid
1678 enable_wmi
1679 enable_wmiutils
1680 enable_wmp
1681 enable_wmphoto
1682 enable_wmvcore
1683 enable_wnaspi32
1684 enable_wpc
1685 enable_wpcap
1686 enable_ws2_32
1687 enable_wsdapi
1688 enable_wshom_ocx
1689 enable_wsnmp32
1690 enable_wsock32
1691 enable_wtsapi32
1692 enable_wuapi
1693 enable_wuaueng
1694 enable_x3daudio1_0
1695 enable_x3daudio1_1
1696 enable_x3daudio1_2
1697 enable_x3daudio1_3
1698 enable_x3daudio1_4
1699 enable_x3daudio1_5
1700 enable_x3daudio1_6
1701 enable_x3daudio1_7
1702 enable_xapofx1_1
1703 enable_xapofx1_2
1704 enable_xapofx1_3
1705 enable_xapofx1_4
1706 enable_xapofx1_5
1707 enable_xaudio2_0
1708 enable_xaudio2_1
1709 enable_xaudio2_2
1710 enable_xaudio2_3
1711 enable_xaudio2_4
1712 enable_xaudio2_5
1713 enable_xaudio2_6
1714 enable_xaudio2_7
1715 enable_xaudio2_8
1716 enable_xaudio2_9
1717 enable_xinput1_1
1718 enable_xinput1_2
1719 enable_xinput1_3
1720 enable_xinput1_4
1721 enable_xinput9_1_0
1722 enable_xmllite
1723 enable_xolehlp
1724 enable_xpsprint
1725 enable_xpssvcs
1726 enable_fonts
1727 enable_include
1728 enable_port
1729 enable_wine
1730 enable_wpp
1731 enable_loader
1732 enable_nls
1733 enable_po
1734 enable_arp
1735 enable_aspnet_regiis
1736 enable_attrib
1737 enable_cabarc
1738 enable_cacls
1739 enable_chcp_com
1740 enable_clock
1741 enable_cmd
1742 enable_conhost
1743 enable_control
1744 enable_cscript
1745 enable_dism
1746 enable_dpnsvr
1747 enable_dxdiag
1748 enable_eject
1749 enable_expand
1750 enable_explorer
1751 enable_extrac32
1752 enable_fc
1753 enable_find
1754 enable_findstr
1755 enable_fsutil
1756 enable_hh
1757 enable_hostname
1758 enable_icacls
1759 enable_icinfo
1760 enable_iexplore
1761 enable_ipconfig
1762 enable_lodctr
1763 enable_mofcomp
1764 enable_mshta
1765 enable_msidb
1766 enable_msiexec
1767 enable_msinfo32
1768 enable_net
1769 enable_netsh
1770 enable_netstat
1771 enable_ngen
1772 enable_notepad
1773 enable_oleview
1774 enable_ping
1775 enable_plugplay
1776 enable_powershell
1777 enable_presentationfontcache
1778 enable_progman
1779 enable_reg
1780 enable_regasm
1781 enable_regedit
1782 enable_regini
1783 enable_regsvcs
1784 enable_regsvr32
1785 enable_rpcss
1786 enable_rundll32
1787 enable_sc
1788 enable_schtasks
1789 enable_sdbinst
1790 enable_secedit
1791 enable_servicemodelreg
1792 enable_services
1793 enable_shutdown
1794 enable_spoolsv
1795 enable_start
1796 enable_subst
1797 enable_svchost
1798 enable_systeminfo
1799 enable_taskkill
1800 enable_tasklist
1801 enable_taskmgr
1802 enable_termsv
1803 enable_uninstaller
1804 enable_unlodctr
1805 enable_view
1806 enable_wevtutil
1807 enable_whoami
1808 enable_wineboot
1809 enable_winebrowser
1810 enable_winecfg
1811 enable_wineconsole
1812 enable_winedbg
1813 enable_winedevice
1814 enable_winefile
1815 enable_winemenubuilder
1816 enable_winemine
1817 enable_winemsibuilder
1818 enable_winepath
1819 enable_winetest
1820 enable_winhlp32
1821 enable_winmgmt
1822 enable_winver
1823 enable_wmic
1824 enable_wmplayer
1825 enable_wordpad
1826 enable_write
1827 enable_wscript
1828 enable_wuauserv
1829 enable_wusa
1830 enable_xcopy
1831 enable_server
1832 enable_tools
1833 enable_sfnt2fon
1834 enable_widl
1835 enable_winebuild
1836 enable_winedump
1837 enable_winegcc
1838 enable_winemaker
1839 enable_wmc
1840 enable_wrc
1842 ac_precious_vars='build_alias
1843 host_alias
1844 target_alias
1846 CFLAGS
1847 LDFLAGS
1848 LIBS
1849 CPPFLAGS
1851 CXXFLAGS
1854 OBJC
1855 OBJCFLAGS
1856 OBJCPP
1857 XMKMF
1858 XML2_CFLAGS
1859 XML2_LIBS
1860 XSLT_CFLAGS
1861 XSLT_LIBS
1862 INOTIFY_CFLAGS
1863 INOTIFY_LIBS
1864 DBUS_CFLAGS
1865 DBUS_LIBS
1866 HAL_CFLAGS
1867 HAL_LIBS
1868 GNUTLS_CFLAGS
1869 GNUTLS_LIBS
1870 SANE_CFLAGS
1871 SANE_LIBS
1872 USB_CFLAGS
1873 USB_LIBS
1874 GPHOTO2_CFLAGS
1875 GPHOTO2_LIBS
1876 GPHOTO2_PORT_CFLAGS
1877 GPHOTO2_PORT_LIBS
1878 LCMS2_CFLAGS
1879 LCMS2_LIBS
1880 FREETYPE_CFLAGS
1881 FREETYPE_LIBS
1882 PULSE_CFLAGS
1883 PULSE_LIBS
1884 GSTREAMER_CFLAGS
1885 GSTREAMER_LIBS
1886 UDEV_CFLAGS
1887 UDEV_LIBS
1888 UNWIND_CFLAGS
1889 UNWIND_LIBS
1890 SDL2_CFLAGS
1891 SDL2_LIBS
1892 FAUDIO_CFLAGS
1893 FAUDIO_LIBS
1894 CAPI20_CFLAGS
1895 CAPI20_LIBS
1896 CUPS_CFLAGS
1897 CUPS_LIBS
1898 FONTCONFIG_CFLAGS
1899 FONTCONFIG_LIBS
1900 KRB5_CFLAGS
1901 KRB5_LIBS
1902 GSSAPI_CFLAGS
1903 GSSAPI_LIBS
1904 JPEG_CFLAGS
1905 JPEG_LIBS
1906 PNG_CFLAGS
1907 PNG_LIBS
1908 TIFF_CFLAGS
1909 TIFF_LIBS
1910 MPG123_CFLAGS
1911 MPG123_LIBS
1912 NETAPI_CFLAGS
1913 NETAPI_LIBS
1914 VKD3D_CFLAGS
1915 VKD3D_LIBS
1916 LDAP_CFLAGS
1917 LDAP_LIBS'
1920 # Initialize some variables set by options.
1921 ac_init_help=
1922 ac_init_version=false
1923 ac_unrecognized_opts=
1924 ac_unrecognized_sep=
1925 # The variables have the same names as the options, with
1926 # dashes changed to underlines.
1927 cache_file=/dev/null
1928 exec_prefix=NONE
1929 no_create=
1930 no_recursion=
1931 prefix=NONE
1932 program_prefix=NONE
1933 program_suffix=NONE
1934 program_transform_name=s,x,x,
1935 silent=
1936 site=
1937 srcdir=
1938 verbose=
1939 x_includes=NONE
1940 x_libraries=NONE
1942 # Installation directory options.
1943 # These are left unexpanded so users can "make install exec_prefix=/foo"
1944 # and all the variables that are supposed to be based on exec_prefix
1945 # by default will actually change.
1946 # Use braces instead of parens because sh, perl, etc. also accept them.
1947 # (The list follows the same order as the GNU Coding Standards.)
1948 bindir='${exec_prefix}/bin'
1949 sbindir='${exec_prefix}/sbin'
1950 libexecdir='${exec_prefix}/libexec'
1951 datarootdir='${prefix}/share'
1952 datadir='${datarootdir}'
1953 sysconfdir='${prefix}/etc'
1954 sharedstatedir='${prefix}/com'
1955 localstatedir='${prefix}/var'
1956 runstatedir='${localstatedir}/run'
1957 includedir='${prefix}/include'
1958 oldincludedir='/usr/include'
1959 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1960 infodir='${datarootdir}/info'
1961 htmldir='${docdir}'
1962 dvidir='${docdir}'
1963 pdfdir='${docdir}'
1964 psdir='${docdir}'
1965 libdir='${exec_prefix}/lib'
1966 localedir='${datarootdir}/locale'
1967 mandir='${datarootdir}/man'
1969 ac_prev=
1970 ac_dashdash=
1971 for ac_option
1973 # If the previous option needs an argument, assign it.
1974 if test -n "$ac_prev"; then
1975 eval $ac_prev=\$ac_option
1976 ac_prev=
1977 continue
1980 case $ac_option in
1981 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1982 *=) ac_optarg= ;;
1983 *) ac_optarg=yes ;;
1984 esac
1986 # Accept the important Cygnus configure options, so we can diagnose typos.
1988 case $ac_dashdash$ac_option in
1990 ac_dashdash=yes ;;
1992 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1993 ac_prev=bindir ;;
1994 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1995 bindir=$ac_optarg ;;
1997 -build | --build | --buil | --bui | --bu)
1998 ac_prev=build_alias ;;
1999 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2000 build_alias=$ac_optarg ;;
2002 -cache-file | --cache-file | --cache-fil | --cache-fi \
2003 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2004 ac_prev=cache_file ;;
2005 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2006 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2007 cache_file=$ac_optarg ;;
2009 --config-cache | -C)
2010 cache_file=config.cache ;;
2012 -datadir | --datadir | --datadi | --datad)
2013 ac_prev=datadir ;;
2014 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2015 datadir=$ac_optarg ;;
2017 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2018 | --dataroo | --dataro | --datar)
2019 ac_prev=datarootdir ;;
2020 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2021 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2022 datarootdir=$ac_optarg ;;
2024 -disable-* | --disable-*)
2025 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
2036 ac_unrecognized_sep=', ';;
2037 esac
2038 eval enable_$ac_useropt=no ;;
2040 -docdir | --docdir | --docdi | --doc | --do)
2041 ac_prev=docdir ;;
2042 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2043 docdir=$ac_optarg ;;
2045 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2046 ac_prev=dvidir ;;
2047 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2048 dvidir=$ac_optarg ;;
2050 -enable-* | --enable-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid feature name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "enable_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval enable_$ac_useropt=\$ac_optarg ;;
2066 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2067 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2068 | --exec | --exe | --ex)
2069 ac_prev=exec_prefix ;;
2070 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2071 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2072 | --exec=* | --exe=* | --ex=*)
2073 exec_prefix=$ac_optarg ;;
2075 -gas | --gas | --ga | --g)
2076 # Obsolete; use --with-gas.
2077 with_gas=yes ;;
2079 -help | --help | --hel | --he | -h)
2080 ac_init_help=long ;;
2081 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2082 ac_init_help=recursive ;;
2083 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2084 ac_init_help=short ;;
2086 -host | --host | --hos | --ho)
2087 ac_prev=host_alias ;;
2088 -host=* | --host=* | --hos=* | --ho=*)
2089 host_alias=$ac_optarg ;;
2091 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2092 ac_prev=htmldir ;;
2093 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2094 | --ht=*)
2095 htmldir=$ac_optarg ;;
2097 -includedir | --includedir | --includedi | --included | --include \
2098 | --includ | --inclu | --incl | --inc)
2099 ac_prev=includedir ;;
2100 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2101 | --includ=* | --inclu=* | --incl=* | --inc=*)
2102 includedir=$ac_optarg ;;
2104 -infodir | --infodir | --infodi | --infod | --info | --inf)
2105 ac_prev=infodir ;;
2106 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2107 infodir=$ac_optarg ;;
2109 -libdir | --libdir | --libdi | --libd)
2110 ac_prev=libdir ;;
2111 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2112 libdir=$ac_optarg ;;
2114 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2115 | --libexe | --libex | --libe)
2116 ac_prev=libexecdir ;;
2117 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2118 | --libexe=* | --libex=* | --libe=*)
2119 libexecdir=$ac_optarg ;;
2121 -localedir | --localedir | --localedi | --localed | --locale)
2122 ac_prev=localedir ;;
2123 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2124 localedir=$ac_optarg ;;
2126 -localstatedir | --localstatedir | --localstatedi | --localstated \
2127 | --localstate | --localstat | --localsta | --localst | --locals)
2128 ac_prev=localstatedir ;;
2129 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2130 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2131 localstatedir=$ac_optarg ;;
2133 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2134 ac_prev=mandir ;;
2135 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2136 mandir=$ac_optarg ;;
2138 -nfp | --nfp | --nf)
2139 # Obsolete; use --without-fp.
2140 with_fp=no ;;
2142 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2143 | --no-cr | --no-c | -n)
2144 no_create=yes ;;
2146 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2147 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2148 no_recursion=yes ;;
2150 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2151 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2152 | --oldin | --oldi | --old | --ol | --o)
2153 ac_prev=oldincludedir ;;
2154 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2155 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2156 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2157 oldincludedir=$ac_optarg ;;
2159 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2160 ac_prev=prefix ;;
2161 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2162 prefix=$ac_optarg ;;
2164 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2165 | --program-pre | --program-pr | --program-p)
2166 ac_prev=program_prefix ;;
2167 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2168 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2169 program_prefix=$ac_optarg ;;
2171 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2172 | --program-suf | --program-su | --program-s)
2173 ac_prev=program_suffix ;;
2174 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2175 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2176 program_suffix=$ac_optarg ;;
2178 -program-transform-name | --program-transform-name \
2179 | --program-transform-nam | --program-transform-na \
2180 | --program-transform-n | --program-transform- \
2181 | --program-transform | --program-transfor \
2182 | --program-transfo | --program-transf \
2183 | --program-trans | --program-tran \
2184 | --progr-tra | --program-tr | --program-t)
2185 ac_prev=program_transform_name ;;
2186 -program-transform-name=* | --program-transform-name=* \
2187 | --program-transform-nam=* | --program-transform-na=* \
2188 | --program-transform-n=* | --program-transform-=* \
2189 | --program-transform=* | --program-transfor=* \
2190 | --program-transfo=* | --program-transf=* \
2191 | --program-trans=* | --program-tran=* \
2192 | --progr-tra=* | --program-tr=* | --program-t=*)
2193 program_transform_name=$ac_optarg ;;
2195 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2196 ac_prev=pdfdir ;;
2197 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2198 pdfdir=$ac_optarg ;;
2200 -psdir | --psdir | --psdi | --psd | --ps)
2201 ac_prev=psdir ;;
2202 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2203 psdir=$ac_optarg ;;
2205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2206 | -silent | --silent | --silen | --sile | --sil)
2207 silent=yes ;;
2209 -runstatedir | --runstatedir | --runstatedi | --runstated \
2210 | --runstate | --runstat | --runsta | --runst | --runs \
2211 | --run | --ru | --r)
2212 ac_prev=runstatedir ;;
2213 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2214 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2215 | --run=* | --ru=* | --r=*)
2216 runstatedir=$ac_optarg ;;
2218 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2219 ac_prev=sbindir ;;
2220 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2221 | --sbi=* | --sb=*)
2222 sbindir=$ac_optarg ;;
2224 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2225 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2226 | --sharedst | --shareds | --shared | --share | --shar \
2227 | --sha | --sh)
2228 ac_prev=sharedstatedir ;;
2229 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2230 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2231 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2232 | --sha=* | --sh=*)
2233 sharedstatedir=$ac_optarg ;;
2235 -site | --site | --sit)
2236 ac_prev=site ;;
2237 -site=* | --site=* | --sit=*)
2238 site=$ac_optarg ;;
2240 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2241 ac_prev=srcdir ;;
2242 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2243 srcdir=$ac_optarg ;;
2245 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2246 | --syscon | --sysco | --sysc | --sys | --sy)
2247 ac_prev=sysconfdir ;;
2248 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2249 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2250 sysconfdir=$ac_optarg ;;
2252 -target | --target | --targe | --targ | --tar | --ta | --t)
2253 ac_prev=target_alias ;;
2254 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2255 target_alias=$ac_optarg ;;
2257 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2258 verbose=yes ;;
2260 -version | --version | --versio | --versi | --vers | -V)
2261 ac_init_version=: ;;
2263 -with-* | --with-*)
2264 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2265 # Reject names that are not valid shell variable names.
2266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2267 as_fn_error $? "invalid package name: $ac_useropt"
2268 ac_useropt_orig=$ac_useropt
2269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2270 case $ac_user_opts in
2272 "with_$ac_useropt"
2273 "*) ;;
2274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2275 ac_unrecognized_sep=', ';;
2276 esac
2277 eval with_$ac_useropt=\$ac_optarg ;;
2279 -without-* | --without-*)
2280 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2281 # Reject names that are not valid shell variable names.
2282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2283 as_fn_error $? "invalid package name: $ac_useropt"
2284 ac_useropt_orig=$ac_useropt
2285 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2286 case $ac_user_opts in
2288 "with_$ac_useropt"
2289 "*) ;;
2290 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2291 ac_unrecognized_sep=', ';;
2292 esac
2293 eval with_$ac_useropt=no ;;
2295 --x)
2296 # Obsolete; use --with-x.
2297 with_x=yes ;;
2299 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2300 | --x-incl | --x-inc | --x-in | --x-i)
2301 ac_prev=x_includes ;;
2302 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2303 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2304 x_includes=$ac_optarg ;;
2306 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2307 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2308 ac_prev=x_libraries ;;
2309 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2310 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2311 x_libraries=$ac_optarg ;;
2313 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2314 Try \`$0 --help' for more information"
2317 *=*)
2318 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2319 # Reject names that are not valid shell variable names.
2320 case $ac_envvar in #(
2321 '' | [0-9]* | *[!_$as_cr_alnum]* )
2322 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2323 esac
2324 eval $ac_envvar=\$ac_optarg
2325 export $ac_envvar ;;
2328 # FIXME: should be removed in autoconf 3.0.
2329 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2331 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2332 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2335 esac
2336 done
2338 if test -n "$ac_prev"; then
2339 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2340 as_fn_error $? "missing argument to $ac_option"
2343 if test -n "$ac_unrecognized_opts"; then
2344 case $enable_option_checking in
2345 no) ;;
2346 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2347 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2348 esac
2351 # Check all directory arguments for consistency.
2352 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2353 datadir sysconfdir sharedstatedir localstatedir includedir \
2354 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2355 libdir localedir mandir runstatedir
2357 eval ac_val=\$$ac_var
2358 # Remove trailing slashes.
2359 case $ac_val in
2360 */ )
2361 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2362 eval $ac_var=\$ac_val;;
2363 esac
2364 # Be sure to have absolute directory names.
2365 case $ac_val in
2366 [\\/$]* | ?:[\\/]* ) continue;;
2367 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2368 esac
2369 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2370 done
2372 # There might be people who depend on the old broken behavior: `$host'
2373 # used to hold the argument of --host etc.
2374 # FIXME: To remove some day.
2375 build=$build_alias
2376 host=$host_alias
2377 target=$target_alias
2379 # FIXME: To remove some day.
2380 if test "x$host_alias" != x; then
2381 if test "x$build_alias" = x; then
2382 cross_compiling=maybe
2383 elif test "x$build_alias" != "x$host_alias"; then
2384 cross_compiling=yes
2388 ac_tool_prefix=
2389 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2391 test "$silent" = yes && exec 6>/dev/null
2394 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2395 ac_ls_di=`ls -di .` &&
2396 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2397 as_fn_error $? "working directory cannot be determined"
2398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2399 as_fn_error $? "pwd does not report name of working directory"
2402 # Find the source files, if location was not specified.
2403 if test -z "$srcdir"; then
2404 ac_srcdir_defaulted=yes
2405 # Try the directory containing this script, then the parent directory.
2406 ac_confdir=`$as_dirname -- "$as_myself" ||
2407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2408 X"$as_myself" : 'X\(//\)[^/]' \| \
2409 X"$as_myself" : 'X\(//\)$' \| \
2410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2411 $as_echo X"$as_myself" |
2412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2413 s//\1/
2416 /^X\(\/\/\)[^/].*/{
2417 s//\1/
2420 /^X\(\/\/\)$/{
2421 s//\1/
2424 /^X\(\/\).*/{
2425 s//\1/
2428 s/.*/./; q'`
2429 srcdir=$ac_confdir
2430 if test ! -r "$srcdir/$ac_unique_file"; then
2431 srcdir=..
2433 else
2434 ac_srcdir_defaulted=no
2436 if test ! -r "$srcdir/$ac_unique_file"; then
2437 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2438 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2440 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2441 ac_abs_confdir=`(
2442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2443 pwd)`
2444 # When building in place, set srcdir=.
2445 if test "$ac_abs_confdir" = "$ac_pwd"; then
2446 srcdir=.
2448 # Remove unnecessary trailing slashes from srcdir.
2449 # Double slashes in file names in object file debugging info
2450 # mess up M-x gdb in Emacs.
2451 case $srcdir in
2452 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2453 esac
2454 for ac_var in $ac_precious_vars; do
2455 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2456 eval ac_env_${ac_var}_value=\$${ac_var}
2457 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2458 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2459 done
2462 # Report the --help message.
2464 if test "$ac_init_help" = "long"; then
2465 # Omit some internal or obsolete options to make the list less imposing.
2466 # This message is too long to be a string in the A/UX 3.1 sh.
2467 cat <<_ACEOF
2468 \`configure' configures Wine 5.10 to adapt to many kinds of systems.
2470 Usage: $0 [OPTION]... [VAR=VALUE]...
2472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2473 VAR=VALUE. See below for descriptions of some of the useful variables.
2475 Defaults for the options are specified in brackets.
2477 Configuration:
2478 -h, --help display this help and exit
2479 --help=short display options specific to this package
2480 --help=recursive display the short help of all the included packages
2481 -V, --version display version information and exit
2482 -q, --quiet, --silent do not print \`checking ...' messages
2483 --cache-file=FILE cache test results in FILE [disabled]
2484 -C, --config-cache alias for \`--cache-file=config.cache'
2485 -n, --no-create do not create output files
2486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2488 Installation directories:
2489 --prefix=PREFIX install architecture-independent files in PREFIX
2490 [$ac_default_prefix]
2491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2492 [PREFIX]
2494 By default, \`make install' will install all the files in
2495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2497 for instance \`--prefix=\$HOME'.
2499 For better control, use the options below.
2501 Fine tuning of the installation directories:
2502 --bindir=DIR user executables [EPREFIX/bin]
2503 --sbindir=DIR system admin executables [EPREFIX/sbin]
2504 --libexecdir=DIR program executables [EPREFIX/libexec]
2505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2508 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2509 --libdir=DIR object code libraries [EPREFIX/lib]
2510 --includedir=DIR C header files [PREFIX/include]
2511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2514 --infodir=DIR info documentation [DATAROOTDIR/info]
2515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2516 --mandir=DIR man documentation [DATAROOTDIR/man]
2517 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2518 --htmldir=DIR html documentation [DOCDIR]
2519 --dvidir=DIR dvi documentation [DOCDIR]
2520 --pdfdir=DIR pdf documentation [DOCDIR]
2521 --psdir=DIR ps documentation [DOCDIR]
2522 _ACEOF
2524 cat <<\_ACEOF
2526 X features:
2527 --x-includes=DIR X include files are in DIR
2528 --x-libraries=DIR X library files are in DIR
2530 System types:
2531 --build=BUILD configure for building on BUILD [guessed]
2532 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2533 _ACEOF
2536 if test -n "$ac_init_help"; then
2537 case $ac_init_help in
2538 short | recursive ) echo "Configuration of Wine 5.10:";;
2539 esac
2540 cat <<\_ACEOF
2542 Optional Features:
2543 --disable-option-checking ignore unrecognized --enable/--with options
2544 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2545 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2546 --disable-win16 do not include Win16 support
2547 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2548 binaries)
2549 --disable-tests do not build the regression tests
2550 --enable-maintainer-mode
2551 enable maintainer-specific build rules
2552 --enable-werror treat compilation warnings as errors
2553 --disable-largefile omit support for large files
2555 Optional Packages:
2556 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2557 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2558 --without-alsa do not use the Alsa sound support
2559 --without-capi do not use CAPI (ISDN support)
2560 --without-cms do not use CMS (color management support)
2561 --without-coreaudio do not use the CoreAudio sound support
2562 --without-cups do not use CUPS
2563 --without-curses do not use (n)curses
2564 --without-dbus do not use DBus (dynamic device support)
2565 --without-faudio do not use FAudio (XAudio2 support)
2566 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2567 --without-fontconfig do not use fontconfig
2568 --without-freetype do not use the FreeType library
2569 --without-gettext do not use gettext
2570 --with-gettextpo use the GetTextPO library to rebuild po files
2571 --without-gphoto do not use gphoto (Digital Camera support)
2572 --without-glu do not use the GLU library
2573 --without-gnutls do not use GnuTLS (schannel support)
2574 --without-gsm do not use libgsm (GSM 06.10 codec support)
2575 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2576 --without-gstreamer do not use GStreamer (codecs support)
2577 --without-hal do not use HAL (dynamic device support)
2578 --without-inotify do not use inotify (filesystem change notifications)
2579 --without-jpeg do not use JPEG
2580 --without-krb5 do not use krb5 (Kerberos)
2581 --without-ldap do not use LDAP
2582 --without-mingw do not use the MinGW cross-compiler
2583 --without-mpg123 do not use the mpg123 library
2584 --without-netapi do not use the Samba NetAPI library
2585 --without-openal do not use OpenAL
2586 --without-opencl do not use OpenCL
2587 --without-opengl do not use OpenGL
2588 --without-osmesa do not use the OSMesa library
2589 --without-oss do not use the OSS sound support
2590 --without-pcap do not use the Packet Capture library
2591 --without-png do not use PNG
2592 --without-pthread do not use the pthread library
2593 --without-pulse do not use PulseAudio sound support
2594 --without-sane do not use SANE (scanner support)
2595 --without-sdl do not use SDL
2596 --without-tiff do not use TIFF
2597 --without-udev do not use udev (plug and play support)
2598 --without-unwind do not use the libunwind library (exception
2599 handling)
2600 --without-usb do not use the libusb library
2601 --without-v4l2 do not use v4l2 (video capture)
2602 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2603 --without-vulkan do not use Vulkan
2604 --without-xcomposite do not use the Xcomposite extension
2605 --without-xcursor do not use the Xcursor extension
2606 --without-xfixes do not use Xfixes for clipboard change notifications
2607 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2608 --without-xinput do not use the Xinput extension
2609 --without-xinput2 do not use the Xinput 2 extension
2610 --without-xml do not use XML
2611 --without-xrandr do not use Xrandr (multi-monitor support)
2612 --without-xrender do not use the Xrender extension
2613 --without-xshape do not use the Xshape extension
2614 --without-xshm do not use XShm (shared memory extension)
2615 --without-xslt do not use XSLT
2616 --without-xxf86vm do not use XFree video mode extension
2617 --with-wine-tools=DIR use Wine tools from directory DIR
2618 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2619 --with-x use the X Window System
2621 Some influential environment variables:
2622 CC C compiler command
2623 CFLAGS C compiler flags
2624 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2625 nonstandard directory <lib dir>
2626 LIBS libraries to pass to the linker, e.g. -l<library>
2627 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2628 you have headers in a nonstandard directory <include dir>
2629 CXX C++ compiler command
2630 CXXFLAGS C++ compiler flags
2631 CPP C preprocessor
2632 OBJC Objective C compiler command
2633 OBJCFLAGS Objective C compiler flags
2634 OBJCPP Objective C preprocessor
2635 XMKMF Path to xmkmf, Makefile generator for X Window System
2636 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2637 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2638 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2639 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2640 INOTIFY_CFLAGS
2641 C compiler flags for libinotify, overriding pkg-config
2642 INOTIFY_LIBS
2643 Linker flags for libinotify, overriding pkg-config
2644 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2645 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2646 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2647 HAL_LIBS Linker flags for hal, overriding pkg-config
2648 GNUTLS_CFLAGS
2649 C compiler flags for gnutls, overriding pkg-config
2650 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2651 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2652 SANE_LIBS Linker flags for libsane, overriding pkg-config
2653 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2654 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2655 GPHOTO2_CFLAGS
2656 C compiler flags for libgphoto2, overriding pkg-config
2657 GPHOTO2_LIBS
2658 Linker flags for libgphoto2, overriding pkg-config
2659 GPHOTO2_PORT_CFLAGS
2660 C compiler flags for libgphoto2_port, overriding pkg-config
2661 GPHOTO2_PORT_LIBS
2662 Linker flags for libgphoto2_port, overriding pkg-config
2663 LCMS2_CFLAGS
2664 C compiler flags for lcms2, overriding pkg-config
2665 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2666 FREETYPE_CFLAGS
2667 C compiler flags for freetype2, overriding pkg-config
2668 FREETYPE_LIBS
2669 Linker flags for freetype2, overriding pkg-config
2670 PULSE_CFLAGS
2671 C compiler flags for libpulse, overriding pkg-config
2672 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2673 GSTREAMER_CFLAGS
2674 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2675 gstreamer-audio-1.0, overriding pkg-config
2676 GSTREAMER_LIBS
2677 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2678 gstreamer-audio-1.0, overriding pkg-config
2679 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2680 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2681 UNWIND_CFLAGS
2682 C compiler flags for libunwind, overriding pkg-config
2683 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2684 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2685 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2686 FAUDIO_CFLAGS
2687 C compiler flags for faudio, overriding pkg-config
2688 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2689 CAPI20_CFLAGS
2690 C compiler flags for capi20, overriding pkg-config
2691 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2692 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2693 CUPS_LIBS Linker flags for cups, overriding pkg-config
2694 FONTCONFIG_CFLAGS
2695 C compiler flags for fontconfig, overriding pkg-config
2696 FONTCONFIG_LIBS
2697 Linker flags for fontconfig, overriding pkg-config
2698 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2699 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2700 GSSAPI_CFLAGS
2701 C compiler flags for krb5-gssapi, overriding pkg-config
2702 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2703 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2704 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2705 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2706 PNG_LIBS Linker flags for libpng, overriding pkg-config
2707 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2708 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2709 MPG123_CFLAGS
2710 C compiler flags for libmpg123, overriding pkg-config
2711 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2712 NETAPI_CFLAGS
2713 C compiler flags for netapi, overriding pkg-config
2714 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2715 VKD3D_CFLAGS
2716 C compiler flags for libvkd3d, overriding pkg-config
2717 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2718 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2719 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2721 Use these variables to override the choices made by `configure' or to help
2722 it to find libraries and programs with nonstandard names/locations.
2724 Report bugs to <wine-devel@winehq.org>.
2725 Wine home page: <https://www.winehq.org>.
2726 _ACEOF
2727 ac_status=$?
2730 if test "$ac_init_help" = "recursive"; then
2731 # If there are subdirs, report their specific --help.
2732 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2733 test -d "$ac_dir" ||
2734 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2735 continue
2736 ac_builddir=.
2738 case "$ac_dir" in
2739 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2741 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2742 # A ".." for each directory in $ac_dir_suffix.
2743 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2744 case $ac_top_builddir_sub in
2745 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2746 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2747 esac ;;
2748 esac
2749 ac_abs_top_builddir=$ac_pwd
2750 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2751 # for backward compatibility:
2752 ac_top_builddir=$ac_top_build_prefix
2754 case $srcdir in
2755 .) # We are building in place.
2756 ac_srcdir=.
2757 ac_top_srcdir=$ac_top_builddir_sub
2758 ac_abs_top_srcdir=$ac_pwd ;;
2759 [\\/]* | ?:[\\/]* ) # Absolute name.
2760 ac_srcdir=$srcdir$ac_dir_suffix;
2761 ac_top_srcdir=$srcdir
2762 ac_abs_top_srcdir=$srcdir ;;
2763 *) # Relative name.
2764 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2765 ac_top_srcdir=$ac_top_build_prefix$srcdir
2766 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2767 esac
2768 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2770 cd "$ac_dir" || { ac_status=$?; continue; }
2771 # Check for guested configure.
2772 if test -f "$ac_srcdir/configure.gnu"; then
2773 echo &&
2774 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2775 elif test -f "$ac_srcdir/configure"; then
2776 echo &&
2777 $SHELL "$ac_srcdir/configure" --help=recursive
2778 else
2779 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2780 fi || ac_status=$?
2781 cd "$ac_pwd" || { ac_status=$?; break; }
2782 done
2785 test -n "$ac_init_help" && exit $ac_status
2786 if $ac_init_version; then
2787 cat <<\_ACEOF
2788 Wine configure 5.10
2789 generated by GNU Autoconf 2.69
2791 Copyright (C) 2012 Free Software Foundation, Inc.
2792 This configure script is free software; the Free Software Foundation
2793 gives unlimited permission to copy, distribute and modify it.
2794 _ACEOF
2795 exit
2798 ## ------------------------ ##
2799 ## Autoconf initialization. ##
2800 ## ------------------------ ##
2802 # ac_fn_c_try_compile LINENO
2803 # --------------------------
2804 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2805 ac_fn_c_try_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 rm -f conftest.$ac_objext
2809 if { { ac_try="$ac_compile"
2810 case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2813 esac
2814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2815 $as_echo "$ac_try_echo"; } >&5
2816 (eval "$ac_compile") 2>conftest.err
2817 ac_status=$?
2818 if test -s conftest.err; then
2819 grep -v '^ *+' conftest.err >conftest.er1
2820 cat conftest.er1 >&5
2821 mv -f conftest.er1 conftest.err
2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; } && {
2825 test -z "$ac_c_werror_flag" ||
2826 test ! -s conftest.err
2827 } && test -s conftest.$ac_objext; then :
2828 ac_retval=0
2829 else
2830 $as_echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2833 ac_retval=1
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 as_fn_set_status $ac_retval
2838 } # ac_fn_c_try_compile
2840 # ac_fn_cxx_try_compile LINENO
2841 # ----------------------------
2842 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2843 ac_fn_cxx_try_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 rm -f conftest.$ac_objext
2847 if { { ac_try="$ac_compile"
2848 case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851 esac
2852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2853 $as_echo "$ac_try_echo"; } >&5
2854 (eval "$ac_compile") 2>conftest.err
2855 ac_status=$?
2856 if test -s conftest.err; then
2857 grep -v '^ *+' conftest.err >conftest.er1
2858 cat conftest.er1 >&5
2859 mv -f conftest.er1 conftest.err
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; } && {
2863 test -z "$ac_cxx_werror_flag" ||
2864 test ! -s conftest.err
2865 } && test -s conftest.$ac_objext; then :
2866 ac_retval=0
2867 else
2868 $as_echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 ac_retval=1
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 as_fn_set_status $ac_retval
2876 } # ac_fn_cxx_try_compile
2878 # ac_fn_c_try_link LINENO
2879 # -----------------------
2880 # Try to link conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_c_try_link ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 rm -f conftest.$ac_objext conftest$ac_exeext
2885 if { { ac_try="$ac_link"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 $as_echo "$ac_try_echo"; } >&5
2892 (eval "$ac_link") 2>conftest.err
2893 ac_status=$?
2894 if test -s conftest.err; then
2895 grep -v '^ *+' conftest.err >conftest.er1
2896 cat conftest.er1 >&5
2897 mv -f conftest.er1 conftest.err
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; } && {
2901 test -z "$ac_c_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest$ac_exeext && {
2904 test "$cross_compiling" = yes ||
2905 test -x conftest$ac_exeext
2906 }; then :
2907 ac_retval=0
2908 else
2909 $as_echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2912 ac_retval=1
2914 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2915 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2916 # interfere with the next link command; also delete a directory that is
2917 # left behind by Apple's compiler. We do this before executing the actions.
2918 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 as_fn_set_status $ac_retval
2922 } # ac_fn_c_try_link
2924 # ac_fn_c_try_cpp LINENO
2925 # ----------------------
2926 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2927 ac_fn_c_try_cpp ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 if { { ac_try="$ac_cpp conftest.$ac_ext"
2931 case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2934 esac
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2938 ac_status=$?
2939 if test -s conftest.err; then
2940 grep -v '^ *+' conftest.err >conftest.er1
2941 cat conftest.er1 >&5
2942 mv -f conftest.er1 conftest.err
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; } > conftest.i && {
2946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2947 test ! -s conftest.err
2948 }; then :
2949 ac_retval=0
2950 else
2951 $as_echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2954 ac_retval=1
2956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 as_fn_set_status $ac_retval
2959 } # ac_fn_c_try_cpp
2961 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2962 # -------------------------------------------------------
2963 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2964 # the include files in INCLUDES and setting the cache variable VAR
2965 # accordingly.
2966 ac_fn_c_check_header_mongrel ()
2968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2969 if eval \${$3+:} false; then :
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 eval ac_res=\$$3
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977 $as_echo "$ac_res" >&6; }
2978 else
2979 # Is the header compilable?
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2981 $as_echo_n "checking $2 usability... " >&6; }
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2985 #include <$2>
2986 _ACEOF
2987 if ac_fn_c_try_compile "$LINENO"; then :
2988 ac_header_compiler=yes
2989 else
2990 ac_header_compiler=no
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2994 $as_echo "$ac_header_compiler" >&6; }
2996 # Is the header present?
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2998 $as_echo_n "checking $2 presence... " >&6; }
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3001 #include <$2>
3002 _ACEOF
3003 if ac_fn_c_try_cpp "$LINENO"; then :
3004 ac_header_preproc=yes
3005 else
3006 ac_header_preproc=no
3008 rm -f conftest.err conftest.i conftest.$ac_ext
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3010 $as_echo "$ac_header_preproc" >&6; }
3012 # So? What about this header?
3013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3014 yes:no: )
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3016 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3018 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3020 no:yes:* )
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3022 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3024 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3026 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3028 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3030 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3031 ( $as_echo "## ------------------------------------ ##
3032 ## Report this to wine-devel@winehq.org ##
3033 ## ------------------------------------ ##"
3034 ) | sed "s/^/$as_me: WARNING: /" >&2
3036 esac
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 $as_echo_n "checking for $2... " >&6; }
3039 if eval \${$3+:} false; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 eval "$3=\$ac_header_compiler"
3044 eval ac_res=\$$3
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3046 $as_echo "$ac_res" >&6; }
3048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3050 } # ac_fn_c_check_header_mongrel
3052 # ac_fn_c_try_run LINENO
3053 # ----------------------
3054 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3055 # that executables *can* be run.
3056 ac_fn_c_try_run ()
3058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3059 if { { ac_try="$ac_link"
3060 case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_link") 2>&5
3067 ac_status=$?
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3070 { { case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_try") 2>&5
3077 ac_status=$?
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; }; then :
3080 ac_retval=0
3081 else
3082 $as_echo "$as_me: program exited with status $ac_status" >&5
3083 $as_echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3086 ac_retval=$ac_status
3088 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 as_fn_set_status $ac_retval
3092 } # ac_fn_c_try_run
3094 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3095 # -------------------------------------------------------
3096 # Tests whether HEADER exists and can be compiled using the include files in
3097 # INCLUDES, setting the cache variable VAR accordingly.
3098 ac_fn_c_check_header_compile ()
3100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3102 $as_echo_n "checking for $2... " >&6; }
3103 if eval \${$3+:} false; then :
3104 $as_echo_n "(cached) " >&6
3105 else
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3109 #include <$2>
3110 _ACEOF
3111 if ac_fn_c_try_compile "$LINENO"; then :
3112 eval "$3=yes"
3113 else
3114 eval "$3=no"
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 eval ac_res=\$$3
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 } # ac_fn_c_check_header_compile
3125 # ac_fn_objc_try_compile LINENO
3126 # -----------------------------
3127 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3128 ac_fn_objc_try_compile ()
3130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3131 rm -f conftest.$ac_objext
3132 if { { ac_try="$ac_compile"
3133 case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_compile") 2>conftest.err
3140 ac_status=$?
3141 if test -s conftest.err; then
3142 grep -v '^ *+' conftest.err >conftest.er1
3143 cat conftest.er1 >&5
3144 mv -f conftest.er1 conftest.err
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; } && {
3148 test -z "$ac_objc_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then :
3151 ac_retval=0
3152 else
3153 $as_echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3156 ac_retval=1
3158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3159 as_fn_set_status $ac_retval
3161 } # ac_fn_objc_try_compile
3163 # ac_fn_objc_try_cpp LINENO
3164 # -------------------------
3165 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3166 ac_fn_objc_try_cpp ()
3168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3169 if { { ac_try="$ac_cpp conftest.$ac_ext"
3170 case "(($ac_try" in
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3173 esac
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3177 ac_status=$?
3178 if test -s conftest.err; then
3179 grep -v '^ *+' conftest.err >conftest.er1
3180 cat conftest.er1 >&5
3181 mv -f conftest.er1 conftest.err
3183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184 test $ac_status = 0; } > conftest.i && {
3185 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3186 test ! -s conftest.err
3187 }; then :
3188 ac_retval=0
3189 else
3190 $as_echo "$as_me: failed program was:" >&5
3191 sed 's/^/| /' conftest.$ac_ext >&5
3193 ac_retval=1
3195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3196 as_fn_set_status $ac_retval
3198 } # ac_fn_objc_try_cpp
3200 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3201 # ----------------------------------------------------------
3202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3203 # the include files in INCLUDES and setting the cache variable VAR
3204 # accordingly.
3205 ac_fn_objc_check_header_mongrel ()
3207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3208 if eval \${$3+:} false; then :
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3210 $as_echo_n "checking for $2... " >&6; }
3211 if eval \${$3+:} false; then :
3212 $as_echo_n "(cached) " >&6
3214 eval ac_res=\$$3
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3216 $as_echo "$ac_res" >&6; }
3217 else
3218 # Is the header compilable?
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3220 $as_echo_n "checking $2 usability... " >&6; }
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3224 #include <$2>
3225 _ACEOF
3226 if ac_fn_objc_try_compile "$LINENO"; then :
3227 ac_header_compiler=yes
3228 else
3229 ac_header_compiler=no
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3233 $as_echo "$ac_header_compiler" >&6; }
3235 # Is the header present?
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3237 $as_echo_n "checking $2 presence... " >&6; }
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3240 #include <$2>
3241 _ACEOF
3242 if ac_fn_objc_try_cpp "$LINENO"; then :
3243 ac_header_preproc=yes
3244 else
3245 ac_header_preproc=no
3247 rm -f conftest.err conftest.i conftest.$ac_ext
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3249 $as_echo "$ac_header_preproc" >&6; }
3251 # So? What about this header?
3252 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3253 yes:no: )
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3259 no:yes:* )
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3270 ( $as_echo "## ------------------------------------ ##
3271 ## Report this to wine-devel@winehq.org ##
3272 ## ------------------------------------ ##"
3273 ) | sed "s/^/$as_me: WARNING: /" >&2
3275 esac
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3277 $as_echo_n "checking for $2... " >&6; }
3278 if eval \${$3+:} false; then :
3279 $as_echo_n "(cached) " >&6
3280 else
3281 eval "$3=\$ac_header_compiler"
3283 eval ac_res=\$$3
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3285 $as_echo "$ac_res" >&6; }
3287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3289 } # ac_fn_objc_check_header_mongrel
3291 # ac_fn_c_check_func LINENO FUNC VAR
3292 # ----------------------------------
3293 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3294 ac_fn_c_check_func ()
3296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3298 $as_echo_n "checking for $2... " >&6; }
3299 if eval \${$3+:} false; then :
3300 $as_echo_n "(cached) " >&6
3301 else
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3304 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3306 #define $2 innocuous_$2
3308 /* System header to define __stub macros and hopefully few prototypes,
3309 which can conflict with char $2 (); below.
3310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3311 <limits.h> exists even on freestanding compilers. */
3313 #ifdef __STDC__
3314 # include <limits.h>
3315 #else
3316 # include <assert.h>
3317 #endif
3319 #undef $2
3321 /* Override any GCC internal prototype to avoid an error.
3322 Use char because int might match the return type of a GCC
3323 builtin and then its argument prototype would still apply. */
3324 #ifdef __cplusplus
3325 extern "C"
3326 #endif
3327 char $2 ();
3328 /* The GNU C library defines this for functions which it implements
3329 to always fail with ENOSYS. Some functions are actually named
3330 something starting with __ and the normal name is an alias. */
3331 #if defined __stub_$2 || defined __stub___$2
3332 choke me
3333 #endif
3336 main ()
3338 return $2 ();
3340 return 0;
3342 _ACEOF
3343 if ac_fn_c_try_link "$LINENO"; then :
3344 eval "$3=yes"
3345 else
3346 eval "$3=no"
3348 rm -f core conftest.err conftest.$ac_objext \
3349 conftest$ac_exeext conftest.$ac_ext
3351 eval ac_res=\$$3
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3353 $as_echo "$ac_res" >&6; }
3354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356 } # ac_fn_c_check_func
3358 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3359 # ----------------------------------------------------
3360 # Tries to find if the field MEMBER exists in type AGGR, after including
3361 # INCLUDES, setting cache variable VAR accordingly.
3362 ac_fn_c_check_member ()
3364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3366 $as_echo_n "checking for $2.$3... " >&6; }
3367 if eval \${$4+:} false; then :
3368 $as_echo_n "(cached) " >&6
3369 else
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3374 main ()
3376 static $2 ac_aggr;
3377 if (ac_aggr.$3)
3378 return 0;
3380 return 0;
3382 _ACEOF
3383 if ac_fn_c_try_compile "$LINENO"; then :
3384 eval "$4=yes"
3385 else
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3392 static $2 ac_aggr;
3393 if (sizeof ac_aggr.$3)
3394 return 0;
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 eval "$4=yes"
3401 else
3402 eval "$4=no"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 eval ac_res=\$$4
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3410 $as_echo "$ac_res" >&6; }
3411 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3413 } # ac_fn_c_check_member
3415 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3416 # -------------------------------------------
3417 # Tests whether TYPE exists after having included INCLUDES, setting cache
3418 # variable VAR accordingly.
3419 ac_fn_c_check_type ()
3421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3423 $as_echo_n "checking for $2... " >&6; }
3424 if eval \${$3+:} false; then :
3425 $as_echo_n "(cached) " >&6
3426 else
3427 eval "$3=no"
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3432 main ()
3434 if (sizeof ($2))
3435 return 0;
3437 return 0;
3439 _ACEOF
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3445 main ()
3447 if (sizeof (($2)))
3448 return 0;
3450 return 0;
3452 _ACEOF
3453 if ac_fn_c_try_compile "$LINENO"; then :
3455 else
3456 eval "$3=yes"
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 eval ac_res=\$$3
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3464 $as_echo "$ac_res" >&6; }
3465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3467 } # ac_fn_c_check_type
3468 cat >config.log <<_ACEOF
3469 This file contains any messages produced by compilers while
3470 running configure, to aid debugging if configure makes a mistake.
3472 It was created by Wine $as_me 5.10, which was
3473 generated by GNU Autoconf 2.69. Invocation command line was
3475 $ $0 $@
3477 _ACEOF
3478 exec 5>>config.log
3480 cat <<_ASUNAME
3481 ## --------- ##
3482 ## Platform. ##
3483 ## --------- ##
3485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3502 _ASUNAME
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 for as_dir in $PATH
3507 IFS=$as_save_IFS
3508 test -z "$as_dir" && as_dir=.
3509 $as_echo "PATH: $as_dir"
3510 done
3511 IFS=$as_save_IFS
3513 } >&5
3515 cat >&5 <<_ACEOF
3518 ## ----------- ##
3519 ## Core tests. ##
3520 ## ----------- ##
3522 _ACEOF
3525 # Keep a trace of the command line.
3526 # Strip out --no-create and --no-recursion so they do not pile up.
3527 # Strip out --silent because we don't want to record it for future runs.
3528 # Also quote any args containing shell meta-characters.
3529 # Make two passes to allow for proper duplicate-argument suppression.
3530 ac_configure_args=
3531 ac_configure_args0=
3532 ac_configure_args1=
3533 ac_must_keep_next=false
3534 for ac_pass in 1 2
3536 for ac_arg
3538 case $ac_arg in
3539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3541 | -silent | --silent | --silen | --sile | --sil)
3542 continue ;;
3543 *\'*)
3544 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3545 esac
3546 case $ac_pass in
3547 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3549 as_fn_append ac_configure_args1 " '$ac_arg'"
3550 if test $ac_must_keep_next = true; then
3551 ac_must_keep_next=false # Got value, back to normal.
3552 else
3553 case $ac_arg in
3554 *=* | --config-cache | -C | -disable-* | --disable-* \
3555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3557 | -with-* | --with-* | -without-* | --without-* | --x)
3558 case "$ac_configure_args0 " in
3559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3560 esac
3562 -* ) ac_must_keep_next=true ;;
3563 esac
3565 as_fn_append ac_configure_args " '$ac_arg'"
3567 esac
3568 done
3569 done
3570 { ac_configure_args0=; unset ac_configure_args0;}
3571 { ac_configure_args1=; unset ac_configure_args1;}
3573 # When interrupted or exit'd, cleanup temporary files, and complete
3574 # config.log. We remove comments because anyway the quotes in there
3575 # would cause problems or look ugly.
3576 # WARNING: Use '\'' to represent an apostrophe within the trap.
3577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3578 trap 'exit_status=$?
3579 # Save into config.log some information that might help in debugging.
3581 echo
3583 $as_echo "## ---------------- ##
3584 ## Cache variables. ##
3585 ## ---------------- ##"
3586 echo
3587 # The following way of writing the cache mishandles newlines in values,
3589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3590 eval ac_val=\$$ac_var
3591 case $ac_val in #(
3592 *${as_nl}*)
3593 case $ac_var in #(
3594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3596 esac
3597 case $ac_var in #(
3598 _ | IFS | as_nl) ;; #(
3599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3600 *) { eval $ac_var=; unset $ac_var;} ;;
3601 esac ;;
3602 esac
3603 done
3604 (set) 2>&1 |
3605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3606 *${as_nl}ac_space=\ *)
3607 sed -n \
3608 "s/'\''/'\''\\\\'\'''\''/g;
3609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3610 ;; #(
3612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3614 esac |
3615 sort
3617 echo
3619 $as_echo "## ----------------- ##
3620 ## Output variables. ##
3621 ## ----------------- ##"
3622 echo
3623 for ac_var in $ac_subst_vars
3625 eval ac_val=\$$ac_var
3626 case $ac_val in
3627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3628 esac
3629 $as_echo "$ac_var='\''$ac_val'\''"
3630 done | sort
3631 echo
3633 if test -n "$ac_subst_files"; then
3634 $as_echo "## ------------------- ##
3635 ## File substitutions. ##
3636 ## ------------------- ##"
3637 echo
3638 for ac_var in $ac_subst_files
3640 eval ac_val=\$$ac_var
3641 case $ac_val in
3642 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3643 esac
3644 $as_echo "$ac_var='\''$ac_val'\''"
3645 done | sort
3646 echo
3649 if test -s confdefs.h; then
3650 $as_echo "## ----------- ##
3651 ## confdefs.h. ##
3652 ## ----------- ##"
3653 echo
3654 cat confdefs.h
3655 echo
3657 test "$ac_signal" != 0 &&
3658 $as_echo "$as_me: caught signal $ac_signal"
3659 $as_echo "$as_me: exit $exit_status"
3660 } >&5
3661 rm -f core *.core core.conftest.* &&
3662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3663 exit $exit_status
3665 for ac_signal in 1 2 13 15; do
3666 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3667 done
3668 ac_signal=0
3670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3671 rm -f -r conftest* confdefs.h
3673 $as_echo "/* confdefs.h */" > confdefs.h
3675 # Predefined preprocessor variables.
3677 cat >>confdefs.h <<_ACEOF
3678 #define PACKAGE_NAME "$PACKAGE_NAME"
3679 _ACEOF
3681 cat >>confdefs.h <<_ACEOF
3682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3683 _ACEOF
3685 cat >>confdefs.h <<_ACEOF
3686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3687 _ACEOF
3689 cat >>confdefs.h <<_ACEOF
3690 #define PACKAGE_STRING "$PACKAGE_STRING"
3691 _ACEOF
3693 cat >>confdefs.h <<_ACEOF
3694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3695 _ACEOF
3697 cat >>confdefs.h <<_ACEOF
3698 #define PACKAGE_URL "$PACKAGE_URL"
3699 _ACEOF
3702 # Let the site file select an alternate cache file if it wants to.
3703 # Prefer an explicitly selected file to automatically selected ones.
3704 ac_site_file1=NONE
3705 ac_site_file2=NONE
3706 if test -n "$CONFIG_SITE"; then
3707 # We do not want a PATH search for config.site.
3708 case $CONFIG_SITE in #((
3709 -*) ac_site_file1=./$CONFIG_SITE;;
3710 */*) ac_site_file1=$CONFIG_SITE;;
3711 *) ac_site_file1=./$CONFIG_SITE;;
3712 esac
3713 elif test "x$prefix" != xNONE; then
3714 ac_site_file1=$prefix/share/config.site
3715 ac_site_file2=$prefix/etc/config.site
3716 else
3717 ac_site_file1=$ac_default_prefix/share/config.site
3718 ac_site_file2=$ac_default_prefix/etc/config.site
3720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3722 test "x$ac_site_file" = xNONE && continue
3723 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3726 sed 's/^/| /' "$ac_site_file" >&5
3727 . "$ac_site_file" \
3728 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error $? "failed to load site script $ac_site_file
3731 See \`config.log' for more details" "$LINENO" 5; }
3733 done
3735 if test -r "$cache_file"; then
3736 # Some versions of bash will fail to source /dev/null (special files
3737 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3738 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3740 $as_echo "$as_me: loading cache $cache_file" >&6;}
3741 case $cache_file in
3742 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3743 *) . "./$cache_file";;
3744 esac
3746 else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3748 $as_echo "$as_me: creating cache $cache_file" >&6;}
3749 >$cache_file
3752 # Check that the precious variables saved in the cache have kept the same
3753 # value.
3754 ac_cache_corrupted=false
3755 for ac_var in $ac_precious_vars; do
3756 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3757 eval ac_new_set=\$ac_env_${ac_var}_set
3758 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3759 eval ac_new_val=\$ac_env_${ac_var}_value
3760 case $ac_old_set,$ac_new_set in
3761 set,)
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3763 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3764 ac_cache_corrupted=: ;;
3765 ,set)
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3767 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3768 ac_cache_corrupted=: ;;
3769 ,);;
3771 if test "x$ac_old_val" != "x$ac_new_val"; then
3772 # differences in whitespace do not lead to failure.
3773 ac_old_val_w=`echo x $ac_old_val`
3774 ac_new_val_w=`echo x $ac_new_val`
3775 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3777 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3778 ac_cache_corrupted=:
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3781 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3782 eval $ac_var=\$ac_old_val
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3785 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3787 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3788 fi;;
3789 esac
3790 # Pass precious variables to config.status.
3791 if test "$ac_new_set" = set; then
3792 case $ac_new_val in
3793 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3794 *) ac_arg=$ac_var=$ac_new_val ;;
3795 esac
3796 case " $ac_configure_args " in
3797 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3798 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3799 esac
3801 done
3802 if $ac_cache_corrupted; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3807 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3809 ## -------------------- ##
3810 ## Main body of script. ##
3811 ## -------------------- ##
3813 ac_ext=c
3814 ac_cpp='$CPP $CPPFLAGS'
3815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3821 ac_config_headers="$ac_config_headers include/config.h"
3823 ac_aux_dir=
3824 for ac_dir in tools "$srcdir"/tools; do
3825 if test -f "$ac_dir/install-sh"; then
3826 ac_aux_dir=$ac_dir
3827 ac_install_sh="$ac_aux_dir/install-sh -c"
3828 break
3829 elif test -f "$ac_dir/install.sh"; then
3830 ac_aux_dir=$ac_dir
3831 ac_install_sh="$ac_aux_dir/install.sh -c"
3832 break
3833 elif test -f "$ac_dir/shtool"; then
3834 ac_aux_dir=$ac_dir
3835 ac_install_sh="$ac_aux_dir/shtool install -c"
3836 break
3838 done
3839 if test -z "$ac_aux_dir"; then
3840 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3843 # These three variables are undocumented and unsupported,
3844 # and are intended to be withdrawn in a future Autoconf release.
3845 # They can cause serious problems if a builder's source tree is in a directory
3846 # whose full name contains unusual characters.
3847 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3848 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3849 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3853 libwine_version="1.0"
3857 # Check whether --enable-win16 was given.
3858 if test "${enable_win16+set}" = set; then :
3859 enableval=$enable_win16;
3862 # Check whether --enable-win64 was given.
3863 if test "${enable_win64+set}" = set; then :
3864 enableval=$enable_win64;
3867 # Check whether --enable-tests was given.
3868 if test "${enable_tests+set}" = set; then :
3869 enableval=$enable_tests;
3872 # Check whether --enable-maintainer-mode was given.
3873 if test "${enable_maintainer_mode+set}" = set; then :
3874 enableval=$enable_maintainer_mode;
3877 # Check whether --enable-werror was given.
3878 if test "${enable_werror+set}" = set; then :
3879 enableval=$enable_werror;
3884 # Check whether --with-alsa was given.
3885 if test "${with_alsa+set}" = set; then :
3886 withval=$with_alsa;
3890 # Check whether --with-capi was given.
3891 if test "${with_capi+set}" = set; then :
3892 withval=$with_capi;
3896 # Check whether --with-cms was given.
3897 if test "${with_cms+set}" = set; then :
3898 withval=$with_cms;
3902 # Check whether --with-coreaudio was given.
3903 if test "${with_coreaudio+set}" = set; then :
3904 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3908 # Check whether --with-cups was given.
3909 if test "${with_cups+set}" = set; then :
3910 withval=$with_cups;
3914 # Check whether --with-curses was given.
3915 if test "${with_curses+set}" = set; then :
3916 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3920 # Check whether --with-dbus was given.
3921 if test "${with_dbus+set}" = set; then :
3922 withval=$with_dbus;
3926 # Check whether --with-faudio was given.
3927 if test "${with_faudio+set}" = set; then :
3928 withval=$with_faudio;
3932 # Check whether --with-float-abi was given.
3933 if test "${with_float_abi+set}" = set; then :
3934 withval=$with_float_abi;
3938 # Check whether --with-fontconfig was given.
3939 if test "${with_fontconfig+set}" = set; then :
3940 withval=$with_fontconfig;
3944 # Check whether --with-freetype was given.
3945 if test "${with_freetype+set}" = set; then :
3946 withval=$with_freetype;
3950 # Check whether --with-gettext was given.
3951 if test "${with_gettext+set}" = set; then :
3952 withval=$with_gettext;
3956 # Check whether --with-gettextpo was given.
3957 if test "${with_gettextpo+set}" = set; then :
3958 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3962 # Check whether --with-gphoto was given.
3963 if test "${with_gphoto+set}" = set; then :
3964 withval=$with_gphoto;
3968 # Check whether --with-glu was given.
3969 if test "${with_glu+set}" = set; then :
3970 withval=$with_glu;
3974 # Check whether --with-gnutls was given.
3975 if test "${with_gnutls+set}" = set; then :
3976 withval=$with_gnutls;
3980 # Check whether --with-gsm was given.
3981 if test "${with_gsm+set}" = set; then :
3982 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3986 # Check whether --with-gssapi was given.
3987 if test "${with_gssapi+set}" = set; then :
3988 withval=$with_gssapi;
3992 # Check whether --with-gstreamer was given.
3993 if test "${with_gstreamer+set}" = set; then :
3994 withval=$with_gstreamer;
3998 # Check whether --with-hal was given.
3999 if test "${with_hal+set}" = set; then :
4000 withval=$with_hal;
4004 # Check whether --with-inotify was given.
4005 if test "${with_inotify+set}" = set; then :
4006 withval=$with_inotify;
4010 # Check whether --with-jpeg was given.
4011 if test "${with_jpeg+set}" = set; then :
4012 withval=$with_jpeg;
4016 # Check whether --with-krb5 was given.
4017 if test "${with_krb5+set}" = set; then :
4018 withval=$with_krb5;
4022 # Check whether --with-ldap was given.
4023 if test "${with_ldap+set}" = set; then :
4024 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4028 # Check whether --with-mingw was given.
4029 if test "${with_mingw+set}" = set; then :
4030 withval=$with_mingw;
4034 # Check whether --with-mpg123 was given.
4035 if test "${with_mpg123+set}" = set; then :
4036 withval=$with_mpg123;
4040 # Check whether --with-netapi was given.
4041 if test "${with_netapi+set}" = set; then :
4042 withval=$with_netapi;
4046 # Check whether --with-openal was given.
4047 if test "${with_openal+set}" = set; then :
4048 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4052 # Check whether --with-opencl was given.
4053 if test "${with_opencl+set}" = set; then :
4054 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4058 # Check whether --with-opengl was given.
4059 if test "${with_opengl+set}" = set; then :
4060 withval=$with_opengl;
4064 # Check whether --with-osmesa was given.
4065 if test "${with_osmesa+set}" = set; then :
4066 withval=$with_osmesa;
4070 # Check whether --with-oss was given.
4071 if test "${with_oss+set}" = set; then :
4072 withval=$with_oss;
4076 # Check whether --with-pcap was given.
4077 if test "${with_pcap+set}" = set; then :
4078 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4082 # Check whether --with-png was given.
4083 if test "${with_png+set}" = set; then :
4084 withval=$with_png;
4088 # Check whether --with-pthread was given.
4089 if test "${with_pthread+set}" = set; then :
4090 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4094 # Check whether --with-pulse was given.
4095 if test "${with_pulse+set}" = set; then :
4096 withval=$with_pulse;
4100 # Check whether --with-sane was given.
4101 if test "${with_sane+set}" = set; then :
4102 withval=$with_sane;
4106 # Check whether --with-sdl was given.
4107 if test "${with_sdl+set}" = set; then :
4108 withval=$with_sdl;
4112 # Check whether --with-tiff was given.
4113 if test "${with_tiff+set}" = set; then :
4114 withval=$with_tiff;
4118 # Check whether --with-udev was given.
4119 if test "${with_udev+set}" = set; then :
4120 withval=$with_udev;
4124 # Check whether --with-unwind was given.
4125 if test "${with_unwind+set}" = set; then :
4126 withval=$with_unwind;
4130 # Check whether --with-usb was given.
4131 if test "${with_usb+set}" = set; then :
4132 withval=$with_usb;
4136 # Check whether --with-v4l2 was given.
4137 if test "${with_v4l2+set}" = set; then :
4138 withval=$with_v4l2;
4142 # Check whether --with-vkd3d was given.
4143 if test "${with_vkd3d+set}" = set; then :
4144 withval=$with_vkd3d;
4148 # Check whether --with-vulkan was given.
4149 if test "${with_vulkan+set}" = set; then :
4150 withval=$with_vulkan;
4154 # Check whether --with-xcomposite was given.
4155 if test "${with_xcomposite+set}" = set; then :
4156 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4160 # Check whether --with-xcursor was given.
4161 if test "${with_xcursor+set}" = set; then :
4162 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4166 # Check whether --with-xfixes was given.
4167 if test "${with_xfixes+set}" = set; then :
4168 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4172 # Check whether --with-xinerama was given.
4173 if test "${with_xinerama+set}" = set; then :
4174 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4178 # Check whether --with-xinput was given.
4179 if test "${with_xinput+set}" = set; then :
4180 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4184 # Check whether --with-xinput2 was given.
4185 if test "${with_xinput2+set}" = set; then :
4186 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4190 # Check whether --with-xml was given.
4191 if test "${with_xml+set}" = set; then :
4192 withval=$with_xml;
4196 # Check whether --with-xrandr was given.
4197 if test "${with_xrandr+set}" = set; then :
4198 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4202 # Check whether --with-xrender was given.
4203 if test "${with_xrender+set}" = set; then :
4204 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4208 # Check whether --with-xshape was given.
4209 if test "${with_xshape+set}" = set; then :
4210 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4214 # Check whether --with-xshm was given.
4215 if test "${with_xshm+set}" = set; then :
4216 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4220 # Check whether --with-xslt was given.
4221 if test "${with_xslt+set}" = set; then :
4222 withval=$with_xslt;
4226 # Check whether --with-xxf86vm was given.
4227 if test "${with_xxf86vm+set}" = set; then :
4228 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
4233 # Check whether --with-wine-tools was given.
4234 if test "${with_wine_tools+set}" = set; then :
4235 withval=$with_wine_tools;
4239 # Check whether --with-wine64 was given.
4240 if test "${with_wine64+set}" = set; then :
4241 withval=$with_wine64;
4245 # Make sure we can run config.sub.
4246 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4247 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4250 $as_echo_n "checking build system type... " >&6; }
4251 if ${ac_cv_build+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 ac_build_alias=$build_alias
4255 test "x$ac_build_alias" = x &&
4256 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4257 test "x$ac_build_alias" = x &&
4258 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4259 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4260 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4264 $as_echo "$ac_cv_build" >&6; }
4265 case $ac_cv_build in
4266 *-*-*) ;;
4267 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4268 esac
4269 build=$ac_cv_build
4270 ac_save_IFS=$IFS; IFS='-'
4271 set x $ac_cv_build
4272 shift
4273 build_cpu=$1
4274 build_vendor=$2
4275 shift; shift
4276 # Remember, the first character of IFS is used to create $*,
4277 # except with old shells:
4278 build_os=$*
4279 IFS=$ac_save_IFS
4280 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4284 $as_echo_n "checking host system type... " >&6; }
4285 if ${ac_cv_host+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test "x$host_alias" = x; then
4289 ac_cv_host=$ac_cv_build
4290 else
4291 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4292 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4297 $as_echo "$ac_cv_host" >&6; }
4298 case $ac_cv_host in
4299 *-*-*) ;;
4300 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4301 esac
4302 host=$ac_cv_host
4303 ac_save_IFS=$IFS; IFS='-'
4304 set x $ac_cv_host
4305 shift
4306 host_cpu=$1
4307 host_vendor=$2
4308 shift; shift
4309 # Remember, the first character of IFS is used to create $*,
4310 # except with old shells:
4311 host_os=$*
4312 IFS=$ac_save_IFS
4313 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4319 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4320 set x ${MAKE-make}
4321 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4322 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4323 $as_echo_n "(cached) " >&6
4324 else
4325 cat >conftest.make <<\_ACEOF
4326 SHELL = /bin/sh
4327 all:
4328 @echo '@@@%%%=$(MAKE)=@@@%%%'
4329 _ACEOF
4330 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4331 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4332 *@@@%%%=?*=@@@%%%*)
4333 eval ac_cv_prog_make_${ac_make}_set=yes;;
4335 eval ac_cv_prog_make_${ac_make}_set=no;;
4336 esac
4337 rm -f conftest.make
4339 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4341 $as_echo "yes" >&6; }
4342 SET_MAKE=
4343 else
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4346 SET_MAKE="MAKE=${MAKE-make}"
4349 ac_ext=c
4350 ac_cpp='$CPP $CPPFLAGS'
4351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4354 if test -n "$ac_tool_prefix"; then
4355 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4356 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_CC+:} false; then :
4360 $as_echo_n "(cached) " >&6
4361 else
4362 if test -n "$CC"; then
4363 ac_cv_prog_CC="$CC" # Let the user override the test.
4364 else
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH
4368 IFS=$as_save_IFS
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 break 2
4376 done
4377 done
4378 IFS=$as_save_IFS
4382 CC=$ac_cv_prog_CC
4383 if test -n "$CC"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4385 $as_echo "$CC" >&6; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4393 if test -z "$ac_cv_prog_CC"; then
4394 ac_ct_CC=$CC
4395 # Extract the first word of "gcc", so it can be a program name with args.
4396 set dummy gcc; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 if test -n "$ac_ct_CC"; then
4403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4404 else
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 for as_dir in $PATH
4408 IFS=$as_save_IFS
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_ac_ct_CC="gcc"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 break 2
4416 done
4417 done
4418 IFS=$as_save_IFS
4422 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4423 if test -n "$ac_ct_CC"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4425 $as_echo "$ac_ct_CC" >&6; }
4426 else
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4431 if test "x$ac_ct_CC" = x; then
4432 CC=""
4433 else
4434 case $cross_compiling:$ac_tool_warned in
4435 yes:)
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4438 ac_tool_warned=yes ;;
4439 esac
4440 CC=$ac_ct_CC
4442 else
4443 CC="$ac_cv_prog_CC"
4446 if test -z "$CC"; then
4447 if test -n "$ac_tool_prefix"; then
4448 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4449 set dummy ${ac_tool_prefix}cc; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_CC+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 if test -n "$CC"; then
4456 ac_cv_prog_CC="$CC" # Let the user override the test.
4457 else
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH
4461 IFS=$as_save_IFS
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_CC="${ac_tool_prefix}cc"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 break 2
4469 done
4470 done
4471 IFS=$as_save_IFS
4475 CC=$ac_cv_prog_CC
4476 if test -n "$CC"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4478 $as_echo "$CC" >&6; }
4479 else
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4487 if test -z "$CC"; then
4488 # Extract the first word of "cc", so it can be a program name with args.
4489 set dummy cc; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if ${ac_cv_prog_CC+:} false; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 if test -n "$CC"; then
4496 ac_cv_prog_CC="$CC" # Let the user override the test.
4497 else
4498 ac_prog_rejected=no
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4507 ac_prog_rejected=yes
4508 continue
4510 ac_cv_prog_CC="cc"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4514 done
4515 done
4516 IFS=$as_save_IFS
4518 if test $ac_prog_rejected = yes; then
4519 # We found a bogon in the path, so make sure we never use it.
4520 set dummy $ac_cv_prog_CC
4521 shift
4522 if test $# != 0; then
4523 # We chose a different compiler from the bogus one.
4524 # However, it has the same basename, so the bogon will be chosen
4525 # first if we set CC to just the basename; use the full file name.
4526 shift
4527 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4532 CC=$ac_cv_prog_CC
4533 if test -n "$CC"; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4535 $as_echo "$CC" >&6; }
4536 else
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4543 if test -z "$CC"; then
4544 if test -n "$ac_tool_prefix"; then
4545 for ac_prog in cl.exe
4547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4548 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550 $as_echo_n "checking for $ac_word... " >&6; }
4551 if ${ac_cv_prog_CC+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 if test -n "$CC"; then
4555 ac_cv_prog_CC="$CC" # Let the user override the test.
4556 else
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4560 IFS=$as_save_IFS
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 break 2
4568 done
4569 done
4570 IFS=$as_save_IFS
4574 CC=$ac_cv_prog_CC
4575 if test -n "$CC"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4577 $as_echo "$CC" >&6; }
4578 else
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4584 test -n "$CC" && break
4585 done
4587 if test -z "$CC"; then
4588 ac_ct_CC=$CC
4589 for ac_prog in cl.exe
4591 # Extract the first word of "$ac_prog", so it can be a program name with args.
4592 set dummy $ac_prog; ac_word=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test -n "$ac_ct_CC"; then
4599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4600 else
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH
4604 IFS=$as_save_IFS
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_ac_ct_CC="$ac_prog"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 break 2
4612 done
4613 done
4614 IFS=$as_save_IFS
4618 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4619 if test -n "$ac_ct_CC"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4621 $as_echo "$ac_ct_CC" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4628 test -n "$ac_ct_CC" && break
4629 done
4631 if test "x$ac_ct_CC" = x; then
4632 CC=""
4633 else
4634 case $cross_compiling:$ac_tool_warned in
4635 yes:)
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4638 ac_tool_warned=yes ;;
4639 esac
4640 CC=$ac_ct_CC
4647 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4649 as_fn_error $? "no acceptable C compiler found in \$PATH
4650 See \`config.log' for more details" "$LINENO" 5; }
4652 # Provide some information about the compiler.
4653 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4654 set X $ac_compile
4655 ac_compiler=$2
4656 for ac_option in --version -v -V -qversion; do
4657 { { ac_try="$ac_compiler $ac_option >&5"
4658 case "(($ac_try" in
4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4660 *) ac_try_echo=$ac_try;;
4661 esac
4662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4663 $as_echo "$ac_try_echo"; } >&5
4664 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4665 ac_status=$?
4666 if test -s conftest.err; then
4667 sed '10a\
4668 ... rest of stderr output deleted ...
4669 10q' conftest.err >conftest.er1
4670 cat conftest.er1 >&5
4672 rm -f conftest.er1 conftest.err
4673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674 test $ac_status = 0; }
4675 done
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4681 main ()
4685 return 0;
4687 _ACEOF
4688 ac_clean_files_save=$ac_clean_files
4689 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4690 # Try to create an executable without -o first, disregard a.out.
4691 # It will help us diagnose broken compilers, and finding out an intuition
4692 # of exeext.
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4694 $as_echo_n "checking whether the C compiler works... " >&6; }
4695 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4697 # The possible output files:
4698 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4700 ac_rmfiles=
4701 for ac_file in $ac_files
4703 case $ac_file in
4704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4705 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4706 esac
4707 done
4708 rm -f $ac_rmfiles
4710 if { { ac_try="$ac_link_default"
4711 case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4714 esac
4715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4716 $as_echo "$ac_try_echo"; } >&5
4717 (eval "$ac_link_default") 2>&5
4718 ac_status=$?
4719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4720 test $ac_status = 0; }; then :
4721 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4722 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4723 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4724 # so that the user can short-circuit this test for compilers unknown to
4725 # Autoconf.
4726 for ac_file in $ac_files ''
4728 test -f "$ac_file" || continue
4729 case $ac_file in
4730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4732 [ab].out )
4733 # We found the default executable, but exeext='' is most
4734 # certainly right.
4735 break;;
4736 *.* )
4737 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4738 then :; else
4739 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4741 # We set ac_cv_exeext here because the later test for it is not
4742 # safe: cross compilers may not add the suffix if given an `-o'
4743 # argument, so we may need to know it at that point already.
4744 # Even if this section looks crufty: it has the advantage of
4745 # actually working.
4746 break;;
4748 break;;
4749 esac
4750 done
4751 test "$ac_cv_exeext" = no && ac_cv_exeext=
4753 else
4754 ac_file=''
4756 if test -z "$ac_file"; then :
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4759 $as_echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4764 as_fn_error 77 "C compiler cannot create executables
4765 See \`config.log' for more details" "$LINENO" 5; }
4766 else
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4768 $as_echo "yes" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4771 $as_echo_n "checking for C compiler default output file name... " >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4773 $as_echo "$ac_file" >&6; }
4774 ac_exeext=$ac_cv_exeext
4776 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4777 ac_clean_files=$ac_clean_files_save
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4779 $as_echo_n "checking for suffix of executables... " >&6; }
4780 if { { ac_try="$ac_link"
4781 case "(($ac_try" in
4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4784 esac
4785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4786 $as_echo "$ac_try_echo"; } >&5
4787 (eval "$ac_link") 2>&5
4788 ac_status=$?
4789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4790 test $ac_status = 0; }; then :
4791 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4792 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4793 # work properly (i.e., refer to `conftest.exe'), while it won't with
4794 # `rm'.
4795 for ac_file in conftest.exe conftest conftest.*; do
4796 test -f "$ac_file" || continue
4797 case $ac_file in
4798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4799 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4800 break;;
4801 * ) break;;
4802 esac
4803 done
4804 else
4805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4807 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4808 See \`config.log' for more details" "$LINENO" 5; }
4810 rm -f conftest conftest$ac_cv_exeext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4812 $as_echo "$ac_cv_exeext" >&6; }
4814 rm -f conftest.$ac_ext
4815 EXEEXT=$ac_cv_exeext
4816 ac_exeext=$EXEEXT
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4819 #include <stdio.h>
4821 main ()
4823 FILE *f = fopen ("conftest.out", "w");
4824 return ferror (f) || fclose (f) != 0;
4827 return 0;
4829 _ACEOF
4830 ac_clean_files="$ac_clean_files conftest.out"
4831 # Check that the compiler produces executables we can run. If not, either
4832 # the compiler is broken, or we cross compile.
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4834 $as_echo_n "checking whether we are cross compiling... " >&6; }
4835 if test "$cross_compiling" != yes; then
4836 { { ac_try="$ac_link"
4837 case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4842 $as_echo "$ac_try_echo"; } >&5
4843 (eval "$ac_link") 2>&5
4844 ac_status=$?
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }
4847 if { ac_try='./conftest$ac_cv_exeext'
4848 { { case "(($ac_try" in
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4851 esac
4852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_try") 2>&5
4855 ac_status=$?
4856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4857 test $ac_status = 0; }; }; then
4858 cross_compiling=no
4859 else
4860 if test "$cross_compiling" = maybe; then
4861 cross_compiling=yes
4862 else
4863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4865 as_fn_error $? "cannot run C compiled programs.
4866 If you meant to cross compile, use \`--host'.
4867 See \`config.log' for more details" "$LINENO" 5; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4872 $as_echo "$cross_compiling" >&6; }
4874 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4875 ac_clean_files=$ac_clean_files_save
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4877 $as_echo_n "checking for suffix of object files... " >&6; }
4878 if ${ac_cv_objext+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4885 main ()
4889 return 0;
4891 _ACEOF
4892 rm -f conftest.o conftest.obj
4893 if { { ac_try="$ac_compile"
4894 case "(($ac_try" in
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4897 esac
4898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4899 $as_echo "$ac_try_echo"; } >&5
4900 (eval "$ac_compile") 2>&5
4901 ac_status=$?
4902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4903 test $ac_status = 0; }; then :
4904 for ac_file in conftest.o conftest.obj conftest.*; do
4905 test -f "$ac_file" || continue;
4906 case $ac_file in
4907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4908 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4909 break;;
4910 esac
4911 done
4912 else
4913 $as_echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.$ac_ext >&5
4916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4918 as_fn_error $? "cannot compute suffix of object files: cannot compile
4919 See \`config.log' for more details" "$LINENO" 5; }
4921 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4924 $as_echo "$ac_cv_objext" >&6; }
4925 OBJEXT=$ac_cv_objext
4926 ac_objext=$OBJEXT
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4928 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4929 if ${ac_cv_c_compiler_gnu+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4936 main ()
4938 #ifndef __GNUC__
4939 choke me
4940 #endif
4943 return 0;
4945 _ACEOF
4946 if ac_fn_c_try_compile "$LINENO"; then :
4947 ac_compiler_gnu=yes
4948 else
4949 ac_compiler_gnu=no
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4956 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4957 if test $ac_compiler_gnu = yes; then
4958 GCC=yes
4959 else
4960 GCC=
4962 ac_test_CFLAGS=${CFLAGS+set}
4963 ac_save_CFLAGS=$CFLAGS
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4965 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4966 if ${ac_cv_prog_cc_g+:} false; then :
4967 $as_echo_n "(cached) " >&6
4968 else
4969 ac_save_c_werror_flag=$ac_c_werror_flag
4970 ac_c_werror_flag=yes
4971 ac_cv_prog_cc_g=no
4972 CFLAGS="-g"
4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4977 main ()
4981 return 0;
4983 _ACEOF
4984 if ac_fn_c_try_compile "$LINENO"; then :
4985 ac_cv_prog_cc_g=yes
4986 else
4987 CFLAGS=""
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4992 main ()
4996 return 0;
4998 _ACEOF
4999 if ac_fn_c_try_compile "$LINENO"; then :
5001 else
5002 ac_c_werror_flag=$ac_save_c_werror_flag
5003 CFLAGS="-g"
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005 /* end confdefs.h. */
5008 main ()
5012 return 0;
5014 _ACEOF
5015 if ac_fn_c_try_compile "$LINENO"; then :
5016 ac_cv_prog_cc_g=yes
5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 ac_c_werror_flag=$ac_save_c_werror_flag
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5026 $as_echo "$ac_cv_prog_cc_g" >&6; }
5027 if test "$ac_test_CFLAGS" = set; then
5028 CFLAGS=$ac_save_CFLAGS
5029 elif test $ac_cv_prog_cc_g = yes; then
5030 if test "$GCC" = yes; then
5031 CFLAGS="-g -O2"
5032 else
5033 CFLAGS="-g"
5035 else
5036 if test "$GCC" = yes; then
5037 CFLAGS="-O2"
5038 else
5039 CFLAGS=
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5043 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5044 if ${ac_cv_prog_cc_c89+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 ac_cv_prog_cc_c89=no
5048 ac_save_CC=$CC
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5051 #include <stdarg.h>
5052 #include <stdio.h>
5053 struct stat;
5054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5055 struct buf { int x; };
5056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5057 static char *e (p, i)
5058 char **p;
5059 int i;
5061 return p[i];
5063 static char *f (char * (*g) (char **, int), char **p, ...)
5065 char *s;
5066 va_list v;
5067 va_start (v,p);
5068 s = g (p, va_arg (v,int));
5069 va_end (v);
5070 return s;
5073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5074 function prototypes and stuff, but not '\xHH' hex character constants.
5075 These don't provoke an error unfortunately, instead are silently treated
5076 as 'x'. The following induces an error, until -std is added to get
5077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5078 array size at least. It's necessary to write '\x00'==0 to get something
5079 that's true only with -std. */
5080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5083 inside strings and character constants. */
5084 #define FOO(x) 'x'
5085 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5087 int test (int i, double x);
5088 struct s1 {int (*f) (int a);};
5089 struct s2 {int (*f) (double a);};
5090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5091 int argc;
5092 char **argv;
5094 main ()
5096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5098 return 0;
5100 _ACEOF
5101 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5104 CC="$ac_save_CC $ac_arg"
5105 if ac_fn_c_try_compile "$LINENO"; then :
5106 ac_cv_prog_cc_c89=$ac_arg
5108 rm -f core conftest.err conftest.$ac_objext
5109 test "x$ac_cv_prog_cc_c89" != "xno" && break
5110 done
5111 rm -f conftest.$ac_ext
5112 CC=$ac_save_CC
5115 # AC_CACHE_VAL
5116 case "x$ac_cv_prog_cc_c89" in
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5119 $as_echo "none needed" >&6; } ;;
5120 xno)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5122 $as_echo "unsupported" >&6; } ;;
5124 CC="$CC $ac_cv_prog_cc_c89"
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5126 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5127 esac
5128 if test "x$ac_cv_prog_cc_c89" != xno; then :
5132 ac_ext=c
5133 ac_cpp='$CPP $CPPFLAGS'
5134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5138 ac_ext=cpp
5139 ac_cpp='$CXXCPP $CPPFLAGS'
5140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5143 if test -z "$CXX"; then
5144 if test -n "$CCC"; then
5145 CXX=$CCC
5146 else
5147 if test -n "$ac_tool_prefix"; then
5148 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5150 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5151 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_CXX+:} false; then :
5155 $as_echo_n "(cached) " >&6
5156 else
5157 if test -n "$CXX"; then
5158 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5171 done
5172 done
5173 IFS=$as_save_IFS
5177 CXX=$ac_cv_prog_CXX
5178 if test -n "$CXX"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5180 $as_echo "$CXX" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5187 test -n "$CXX" && break
5188 done
5190 if test -z "$CXX"; then
5191 ac_ct_CXX=$CXX
5192 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy $ac_prog; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 if test -n "$ac_ct_CXX"; then
5202 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_ac_ct_CXX="$ac_prog"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5222 if test -n "$ac_ct_CXX"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5224 $as_echo "$ac_ct_CXX" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 test -n "$ac_ct_CXX" && break
5232 done
5234 if test "x$ac_ct_CXX" = x; then
5235 CXX="g++"
5236 else
5237 case $cross_compiling:$ac_tool_warned in
5238 yes:)
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5241 ac_tool_warned=yes ;;
5242 esac
5243 CXX=$ac_ct_CXX
5249 # Provide some information about the compiler.
5250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5251 set X $ac_compile
5252 ac_compiler=$2
5253 for ac_option in --version -v -V -qversion; do
5254 { { ac_try="$ac_compiler $ac_option >&5"
5255 case "(($ac_try" in
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257 *) ac_try_echo=$ac_try;;
5258 esac
5259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5260 $as_echo "$ac_try_echo"; } >&5
5261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5262 ac_status=$?
5263 if test -s conftest.err; then
5264 sed '10a\
5265 ... rest of stderr output deleted ...
5266 10q' conftest.err >conftest.er1
5267 cat conftest.er1 >&5
5269 rm -f conftest.er1 conftest.err
5270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5271 test $ac_status = 0; }
5272 done
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5275 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5276 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5277 $as_echo_n "(cached) " >&6
5278 else
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5283 main ()
5285 #ifndef __GNUC__
5286 choke me
5287 #endif
5290 return 0;
5292 _ACEOF
5293 if ac_fn_cxx_try_compile "$LINENO"; then :
5294 ac_compiler_gnu=yes
5295 else
5296 ac_compiler_gnu=no
5298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5299 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5303 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5304 if test $ac_compiler_gnu = yes; then
5305 GXX=yes
5306 else
5307 GXX=
5309 ac_test_CXXFLAGS=${CXXFLAGS+set}
5310 ac_save_CXXFLAGS=$CXXFLAGS
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5312 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5313 if ${ac_cv_prog_cxx_g+:} false; then :
5314 $as_echo_n "(cached) " >&6
5315 else
5316 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5317 ac_cxx_werror_flag=yes
5318 ac_cv_prog_cxx_g=no
5319 CXXFLAGS="-g"
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5324 main ()
5328 return 0;
5330 _ACEOF
5331 if ac_fn_cxx_try_compile "$LINENO"; then :
5332 ac_cv_prog_cxx_g=yes
5333 else
5334 CXXFLAGS=""
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5339 main ()
5343 return 0;
5345 _ACEOF
5346 if ac_fn_cxx_try_compile "$LINENO"; then :
5348 else
5349 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5350 CXXFLAGS="-g"
5351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5355 main ()
5359 return 0;
5361 _ACEOF
5362 if ac_fn_cxx_try_compile "$LINENO"; then :
5363 ac_cv_prog_cxx_g=yes
5365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5373 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5374 if test "$ac_test_CXXFLAGS" = set; then
5375 CXXFLAGS=$ac_save_CXXFLAGS
5376 elif test $ac_cv_prog_cxx_g = yes; then
5377 if test "$GXX" = yes; then
5378 CXXFLAGS="-g -O2"
5379 else
5380 CXXFLAGS="-g"
5382 else
5383 if test "$GXX" = yes; then
5384 CXXFLAGS="-O2"
5385 else
5386 CXXFLAGS=
5389 ac_ext=c
5390 ac_cpp='$CPP $CPPFLAGS'
5391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5395 if test -n "$ac_tool_prefix"; then
5396 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5397 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_CPPBIN+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 if test -n "$CPPBIN"; then
5404 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5405 else
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 break 2
5417 done
5418 done
5419 IFS=$as_save_IFS
5423 CPPBIN=$ac_cv_prog_CPPBIN
5424 if test -n "$CPPBIN"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5426 $as_echo "$CPPBIN" >&6; }
5427 else
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5434 if test -z "$ac_cv_prog_CPPBIN"; then
5435 ac_ct_CPPBIN=$CPPBIN
5436 # Extract the first word of "cpp", so it can be a program name with args.
5437 set dummy cpp; ac_word=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 if test -n "$ac_ct_CPPBIN"; then
5444 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5445 else
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in $PATH
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_ac_ct_CPPBIN="cpp"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 break 2
5457 done
5458 done
5459 IFS=$as_save_IFS
5463 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5464 if test -n "$ac_ct_CPPBIN"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5466 $as_echo "$ac_ct_CPPBIN" >&6; }
5467 else
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5472 if test "x$ac_ct_CPPBIN" = x; then
5473 CPPBIN="cpp"
5474 else
5475 case $cross_compiling:$ac_tool_warned in
5476 yes:)
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 CPPBIN=$ac_ct_CPPBIN
5483 else
5484 CPPBIN="$ac_cv_prog_CPPBIN"
5488 cat >>confdefs.h <<_ACEOF
5489 #define EXEEXT "$ac_exeext"
5490 _ACEOF
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5494 set dummy ${ac_tool_prefix}ld; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_LD+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -n "$LD"; then
5501 ac_cv_prog_LD="$LD" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_LD="${ac_tool_prefix}ld"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 LD=$ac_cv_prog_LD
5521 if test -n "$LD"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5523 $as_echo "$LD" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5531 if test -z "$ac_cv_prog_LD"; then
5532 ac_ct_LD=$LD
5533 # Extract the first word of "ld", so it can be a program name with args.
5534 set dummy ld; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if test -n "$ac_ct_LD"; then
5541 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_ac_ct_LD="ld"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5561 if test -n "$ac_ct_LD"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5563 $as_echo "$ac_ct_LD" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5569 if test "x$ac_ct_LD" = x; then
5570 LD=""
5571 else
5572 case $cross_compiling:$ac_tool_warned in
5573 yes:)
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5576 ac_tool_warned=yes ;;
5577 esac
5578 LD=$ac_ct_LD
5580 else
5581 LD="$ac_cv_prog_LD"
5585 case $host in
5586 *-darwin*)
5587 with_fontconfig=${with_fontconfig:-no}
5589 *-mingw32*|*-cygwin*)
5590 enable_win16=${enable_win16:-no}
5591 with_mingw=${with_mingw:-no}
5592 CFLAGS="$CFLAGS -D_WIN32"
5594 esac
5596 case $host in
5597 x86_64*|amd64*)
5598 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5599 then
5600 CC="$CC -m32"
5601 CXX="$CXX -m32"
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5604 $as_echo_n "checking whether $CC works... " >&6; }
5605 if ${wine_cv_cc_m32+:} false; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5612 main ()
5616 return 0;
5618 _ACEOF
5619 if ac_fn_c_try_link "$LINENO"; then :
5620 wine_cv_cc_m32=yes
5621 else
5622 wine_cv_cc_m32=no
5624 rm -f core conftest.err conftest.$ac_objext \
5625 conftest$ac_exeext conftest.$ac_ext
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5628 $as_echo "$wine_cv_cc_m32" >&6; }
5629 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
5630 host_cpu="i386"
5631 notice_platform="32-bit "
5632 TARGETFLAGS="-m32"
5634 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5635 export PKG_CONFIG_PATH
5636 enable_win16=${enable_win16:-yes}
5637 with_unwind=${with_unwind:-no}
5638 else
5639 if test "x${GCC}" = "xyes"
5640 then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5642 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5643 if ${wine_cv_builtin_ms_va_list+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5648 #include <stdarg.h>
5650 main ()
5652 void func(__builtin_ms_va_list *args);
5654 return 0;
5656 _ACEOF
5657 if ac_fn_c_try_compile "$LINENO"; then :
5658 wine_cv_builtin_ms_va_list=yes
5659 else
5660 wine_cv_builtin_ms_va_list=no
5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5665 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5666 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
5668 CC="$CC -m64"
5669 CXX="$CXX -m64"
5670 host_cpu="x86_64"
5671 notice_platform="64-bit "
5672 TARGETFLAGS="-m64"
5676 arm*)
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5678 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5679 if ${wine_cv_thumb+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5683 /* end confdefs.h. */
5684 int ac_test(int i) { return i; }
5686 main ()
5688 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5690 return 0;
5692 _ACEOF
5693 if ac_fn_c_try_link "$LINENO"; then :
5694 wine_cv_thumb=yes
5695 else
5696 wine_cv_thumb=no
5698 rm -f core conftest.err conftest.$ac_objext \
5699 conftest$ac_exeext conftest.$ac_ext
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5702 $as_echo "$wine_cv_thumb" >&6; }
5703 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5704 case $with_float_abi in
5705 soft|softfp|hard)
5706 float_abi=$with_float_abi ;;
5708 case $host_os in
5709 *eabihf)
5710 float_abi=hard ;;
5712 float_abi=softfp
5713 saved_CFLAGS=$CFLAGS
5714 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5716 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5717 if ${wine_cv_float_abi+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5724 main ()
5726 asm("vmrs r2,fpscr");
5728 return 0;
5730 _ACEOF
5731 if ac_fn_c_try_link "$LINENO"; then :
5732 wine_cv_float_abi=yes
5733 else
5734 wine_cv_float_abi=no
5736 rm -f core conftest.err conftest.$ac_objext \
5737 conftest$ac_exeext conftest.$ac_ext
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5740 $as_echo "$wine_cv_float_abi" >&6; }
5741 if test $wine_cv_float_abi = no
5742 then
5743 float_abi=soft
5744 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5746 CFLAGS=$saved_CFLAGS
5747 esac
5749 esac
5750 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5751 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5754 aarch64*)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5756 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5757 if ${wine_cv_builtin_ms_va_list+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5762 #include <stdarg.h>
5764 main ()
5766 void func(__builtin_ms_va_list *args);
5768 return 0;
5770 _ACEOF
5771 if ac_fn_c_try_compile "$LINENO"; then :
5772 wine_cv_builtin_ms_va_list=yes
5773 else
5774 wine_cv_builtin_ms_va_list=no
5776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5779 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5780 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5782 i[3456789]86*)
5783 enable_win16=${enable_win16:-yes}
5784 with_unwind=${with_unwind:-no}
5786 esac
5788 enable_win16=${enable_win16:-no}
5789 enable_win64=${enable_win64:-no}
5791 enable_winetest=${enable_winetest:-$enable_tests}
5793 if test "x$enable_win64" = "xyes"
5794 then
5795 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5796 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5797 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5801 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5802 if ${wine_cv_toolsdir+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 wine_cv_toolsdir="$with_wine_tools"
5806 if test -z "$with_wine_tools"; then
5807 if test "$cross_compiling" = "yes"; then
5808 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5809 elif test -n "$with_wine64"; then
5810 wine_cv_toolsdir="$with_wine64"
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5815 $as_echo "$wine_cv_toolsdir" >&6; }
5816 if test -z "$wine_cv_toolsdir"; then
5817 wine_makedep=tools/makedep
5818 TOOLSDIR="\$(top_builddir)"
5820 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5821 wine_makedep=$wine_cv_toolsdir/tools/makedep
5822 case "$wine_cv_toolsdir" in
5823 /*) TOOLSDIR=$wine_cv_toolsdir
5825 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5827 esac
5828 enable_tools=${enable_tools:-no}
5829 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5830 else
5831 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5833 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5834 then
5835 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5839 for ac_prog in flex
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy $ac_prog; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_FLEX+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 if test -n "$FLEX"; then
5849 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5850 else
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_FLEX="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5868 FLEX=$ac_cv_prog_FLEX
5869 if test -n "$FLEX"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5871 $as_echo "$FLEX" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$FLEX" && break
5879 done
5880 test -n "$FLEX" || FLEX="none"
5882 if test "$FLEX" = "none"
5883 then
5884 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5887 $as_echo_n "checking whether flex is recent enough... " >&6; }
5888 if ${wine_cv_recent_flex+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 cat >conftest.l <<EOF
5892 %top{
5893 #include "prediluvian.h"
5897 if $FLEX -t conftest.l >/dev/null 2>&5
5898 then
5899 wine_cv_recent_flex=yes
5900 else
5901 wine_cv_recent_flex=no
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5905 $as_echo "$wine_cv_recent_flex" >&6; }
5906 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
5908 for ac_prog in bison
5910 # Extract the first word of "$ac_prog", so it can be a program name with args.
5911 set dummy $ac_prog; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_BISON+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$BISON"; then
5918 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_BISON="$ac_prog"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 BISON=$ac_cv_prog_BISON
5938 if test -n "$BISON"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5940 $as_echo "$BISON" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5947 test -n "$BISON" && break
5948 done
5949 test -n "$BISON" || BISON="none"
5951 if test "$BISON" = "none"
5952 then
5953 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5956 $as_echo_n "checking whether bison is recent enough... " >&6; }
5957 if ${wine_cv_recent_bison+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 cat >conftest.y <<EOF
5961 %define parse.error verbose
5963 empty: ;
5965 if $BISON conftest.y >/dev/null 2>&5
5966 then
5967 wine_cv_recent_bison=yes
5968 else
5969 wine_cv_recent_bison=no
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5973 $as_echo "$wine_cv_recent_bison" >&6; }
5974 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
5976 if test -n "$ac_tool_prefix"; then
5977 for ac_prog in ar gar
5979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if ${ac_cv_prog_AR+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 if test -n "$AR"; then
5987 ac_cv_prog_AR="$AR" # Let the user override the test.
5988 else
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 for as_dir in $PATH
5992 IFS=$as_save_IFS
5993 test -z "$as_dir" && as_dir=.
5994 for ac_exec_ext in '' $ac_executable_extensions; do
5995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5996 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 break 2
6000 done
6001 done
6002 IFS=$as_save_IFS
6006 AR=$ac_cv_prog_AR
6007 if test -n "$AR"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6009 $as_echo "$AR" >&6; }
6010 else
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6016 test -n "$AR" && break
6017 done
6019 if test -z "$AR"; then
6020 ac_ct_AR=$AR
6021 for ac_prog in ar gar
6023 # Extract the first word of "$ac_prog", so it can be a program name with args.
6024 set dummy $ac_prog; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6028 $as_echo_n "(cached) " >&6
6029 else
6030 if test -n "$ac_ct_AR"; then
6031 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6036 IFS=$as_save_IFS
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_ac_ct_AR="$ac_prog"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 break 2
6044 done
6045 done
6046 IFS=$as_save_IFS
6050 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6051 if test -n "$ac_ct_AR"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6053 $as_echo "$ac_ct_AR" >&6; }
6054 else
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6060 test -n "$ac_ct_AR" && break
6061 done
6063 if test "x$ac_ct_AR" = x; then
6064 AR="ar"
6065 else
6066 case $cross_compiling:$ac_tool_warned in
6067 yes:)
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6070 ac_tool_warned=yes ;;
6071 esac
6072 AR=$ac_ct_AR
6076 if test -n "$ac_tool_prefix"; then
6077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6078 set dummy ${ac_tool_prefix}strip; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if ${ac_cv_prog_STRIP+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 if test -n "$STRIP"; then
6085 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6100 IFS=$as_save_IFS
6104 STRIP=$ac_cv_prog_STRIP
6105 if test -n "$STRIP"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6107 $as_echo "$STRIP" >&6; }
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6115 if test -z "$ac_cv_prog_STRIP"; then
6116 ac_ct_STRIP=$STRIP
6117 # Extract the first word of "strip", so it can be a program name with args.
6118 set dummy strip; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$ac_ct_STRIP"; then
6125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_STRIP="strip"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6145 if test -n "$ac_ct_STRIP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6147 $as_echo "$ac_ct_STRIP" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6153 if test "x$ac_ct_STRIP" = x; then
6154 STRIP="strip"
6155 else
6156 case $cross_compiling:$ac_tool_warned in
6157 yes:)
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6160 ac_tool_warned=yes ;;
6161 esac
6162 STRIP=$ac_ct_STRIP
6164 else
6165 STRIP="$ac_cv_prog_STRIP"
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172 $as_echo_n "checking for $ac_word... " >&6; }
6173 if ${ac_cv_prog_RANLIB+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 if test -n "$RANLIB"; then
6177 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6186 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 break 2
6190 done
6191 done
6192 IFS=$as_save_IFS
6196 RANLIB=$ac_cv_prog_RANLIB
6197 if test -n "$RANLIB"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6199 $as_echo "$RANLIB" >&6; }
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6207 if test -z "$ac_cv_prog_RANLIB"; then
6208 ac_ct_RANLIB=$RANLIB
6209 # Extract the first word of "ranlib", so it can be a program name with args.
6210 set dummy ranlib; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$ac_ct_RANLIB"; then
6217 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226 ac_cv_prog_ac_ct_RANLIB="ranlib"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6237 if test -n "$ac_ct_RANLIB"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6239 $as_echo "$ac_ct_RANLIB" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6245 if test "x$ac_ct_RANLIB" = x; then
6246 RANLIB=":"
6247 else
6248 case $cross_compiling:$ac_tool_warned in
6249 yes:)
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252 ac_tool_warned=yes ;;
6253 esac
6254 RANLIB=$ac_ct_RANLIB
6256 else
6257 RANLIB="$ac_cv_prog_RANLIB"
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6261 $as_echo_n "checking whether ln -s works... " >&6; }
6262 LN_S=$as_ln_s
6263 if test "$LN_S" = "ln -s"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6265 $as_echo "yes" >&6; }
6266 else
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6268 $as_echo "no, using $LN_S" >&6; }
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6272 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6273 if ${ac_cv_path_GREP+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 if test -z "$GREP"; then
6277 ac_path_GREP_found=false
6278 # Loop through the user's path and test for each of PROGNAME-LIST
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_prog in grep ggrep; do
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6287 as_fn_executable_p "$ac_path_GREP" || continue
6288 # Check for GNU ac_path_GREP and select it if it is found.
6289 # Check for GNU $ac_path_GREP
6290 case `"$ac_path_GREP" --version 2>&1` in
6291 *GNU*)
6292 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6294 ac_count=0
6295 $as_echo_n 0123456789 >"conftest.in"
6296 while :
6298 cat "conftest.in" "conftest.in" >"conftest.tmp"
6299 mv "conftest.tmp" "conftest.in"
6300 cp "conftest.in" "conftest.nl"
6301 $as_echo 'GREP' >> "conftest.nl"
6302 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6304 as_fn_arith $ac_count + 1 && ac_count=$as_val
6305 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6306 # Best one so far, save it but keep looking for a better one
6307 ac_cv_path_GREP="$ac_path_GREP"
6308 ac_path_GREP_max=$ac_count
6310 # 10*(2^10) chars as input seems more than enough
6311 test $ac_count -gt 10 && break
6312 done
6313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6314 esac
6316 $ac_path_GREP_found && break 3
6317 done
6318 done
6319 done
6320 IFS=$as_save_IFS
6321 if test -z "$ac_cv_path_GREP"; then
6322 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6324 else
6325 ac_cv_path_GREP=$GREP
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6330 $as_echo "$ac_cv_path_GREP" >&6; }
6331 GREP="$ac_cv_path_GREP"
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6335 $as_echo_n "checking for egrep... " >&6; }
6336 if ${ac_cv_path_EGREP+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6340 then ac_cv_path_EGREP="$GREP -E"
6341 else
6342 if test -z "$EGREP"; then
6343 ac_path_EGREP_found=false
6344 # Loop through the user's path and test for each of PROGNAME-LIST
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6348 IFS=$as_save_IFS
6349 test -z "$as_dir" && as_dir=.
6350 for ac_prog in egrep; do
6351 for ac_exec_ext in '' $ac_executable_extensions; do
6352 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6353 as_fn_executable_p "$ac_path_EGREP" || continue
6354 # Check for GNU ac_path_EGREP and select it if it is found.
6355 # Check for GNU $ac_path_EGREP
6356 case `"$ac_path_EGREP" --version 2>&1` in
6357 *GNU*)
6358 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6360 ac_count=0
6361 $as_echo_n 0123456789 >"conftest.in"
6362 while :
6364 cat "conftest.in" "conftest.in" >"conftest.tmp"
6365 mv "conftest.tmp" "conftest.in"
6366 cp "conftest.in" "conftest.nl"
6367 $as_echo 'EGREP' >> "conftest.nl"
6368 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6369 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6370 as_fn_arith $ac_count + 1 && ac_count=$as_val
6371 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6372 # Best one so far, save it but keep looking for a better one
6373 ac_cv_path_EGREP="$ac_path_EGREP"
6374 ac_path_EGREP_max=$ac_count
6376 # 10*(2^10) chars as input seems more than enough
6377 test $ac_count -gt 10 && break
6378 done
6379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6380 esac
6382 $ac_path_EGREP_found && break 3
6383 done
6384 done
6385 done
6386 IFS=$as_save_IFS
6387 if test -z "$ac_cv_path_EGREP"; then
6388 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6390 else
6391 ac_cv_path_EGREP=$EGREP
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6397 $as_echo "$ac_cv_path_EGREP" >&6; }
6398 EGREP="$ac_cv_path_EGREP"
6401 # Extract the first word of "ldconfig", so it can be a program name with args.
6402 set dummy ldconfig; ac_word=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if ${ac_cv_path_LDCONFIG+:} false; then :
6406 $as_echo_n "(cached) " >&6
6407 else
6408 case $LDCONFIG in
6409 [\\/]* | ?:[\\/]*)
6410 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 for as_dir in /sbin /usr/sbin $PATH
6416 IFS=$as_save_IFS
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6420 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 break 2
6424 done
6425 done
6426 IFS=$as_save_IFS
6428 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6430 esac
6432 LDCONFIG=$ac_cv_path_LDCONFIG
6433 if test -n "$LDCONFIG"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6435 $as_echo "$LDCONFIG" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6442 for ac_prog in msgfmt
6444 # Extract the first word of "$ac_prog", so it can be a program name with args.
6445 set dummy $ac_prog; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if ${ac_cv_prog_MSGFMT+:} false; then :
6449 $as_echo_n "(cached) " >&6
6450 else
6451 if test -n "$MSGFMT"; then
6452 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6453 else
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 for as_dir in $PATH
6457 IFS=$as_save_IFS
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_MSGFMT="$ac_prog"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 break 2
6465 done
6466 done
6467 IFS=$as_save_IFS
6471 MSGFMT=$ac_cv_prog_MSGFMT
6472 if test -n "$MSGFMT"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6474 $as_echo "$MSGFMT" >&6; }
6475 else
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6481 test -n "$MSGFMT" && break
6482 done
6483 test -n "$MSGFMT" || MSGFMT="false"
6485 if ${ac_tool_prefix+:} false; then :
6486 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 if test -n "$PKG_CONFIG"; then
6494 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6499 IFS=$as_save_IFS
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 break 2
6507 done
6508 done
6509 IFS=$as_save_IFS
6513 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6514 if test -n "$PKG_CONFIG"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6516 $as_echo "$PKG_CONFIG" >&6; }
6517 else
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6524 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6525 if test "x$cross_compiling" = xyes; then :
6527 else
6528 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6529 # Extract the first word of "pkg-config", so it can be a program name with args.
6530 set dummy pkg-config; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$PKG_CONFIG"; then
6537 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_PKG_CONFIG="pkg-config"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6557 if test -n "$PKG_CONFIG"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6559 $as_echo "$PKG_CONFIG" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6567 else
6568 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6571 if test "x$enable_maintainer_mode" != "xyes"
6572 then
6573 FONTFORGE=""
6574 RSVG=""
6575 CONVERT=""
6576 ICOTOOL=""
6577 else
6578 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6579 for ac_prog in fontforge
6581 # Extract the first word of "$ac_prog", so it can be a program name with args.
6582 set dummy $ac_prog; ac_word=$2
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6584 $as_echo_n "checking for $ac_word... " >&6; }
6585 if ${ac_cv_prog_FONTFORGE+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 if test -n "$FONTFORGE"; then
6589 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6590 else
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 for as_dir in $PATH
6594 IFS=$as_save_IFS
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_FONTFORGE="$ac_prog"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 break 2
6602 done
6603 done
6604 IFS=$as_save_IFS
6608 FONTFORGE=$ac_cv_prog_FONTFORGE
6609 if test -n "$FONTFORGE"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6611 $as_echo "$FONTFORGE" >&6; }
6612 else
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6618 test -n "$FONTFORGE" && break
6619 done
6620 test -n "$FONTFORGE" || FONTFORGE="false"
6622 for ac_prog in rsvg-convert rsvg
6624 # Extract the first word of "$ac_prog", so it can be a program name with args.
6625 set dummy $ac_prog; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if ${ac_cv_prog_RSVG+:} false; then :
6629 $as_echo_n "(cached) " >&6
6630 else
6631 if test -n "$RSVG"; then
6632 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6641 ac_cv_prog_RSVG="$ac_prog"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 break 2
6645 done
6646 done
6647 IFS=$as_save_IFS
6651 RSVG=$ac_cv_prog_RSVG
6652 if test -n "$RSVG"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6654 $as_echo "$RSVG" >&6; }
6655 else
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6661 test -n "$RSVG" && break
6662 done
6663 test -n "$RSVG" || RSVG="false"
6665 for ac_prog in convert
6667 # Extract the first word of "$ac_prog", so it can be a program name with args.
6668 set dummy $ac_prog; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_CONVERT+:} false; then :
6672 $as_echo_n "(cached) " >&6
6673 else
6674 if test -n "$CONVERT"; then
6675 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6680 IFS=$as_save_IFS
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_CONVERT="$ac_prog"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 break 2
6688 done
6689 done
6690 IFS=$as_save_IFS
6694 CONVERT=$ac_cv_prog_CONVERT
6695 if test -n "$CONVERT"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6697 $as_echo "$CONVERT" >&6; }
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6704 test -n "$CONVERT" && break
6705 done
6706 test -n "$CONVERT" || CONVERT="false"
6708 for ac_prog in icotool
6710 # Extract the first word of "$ac_prog", so it can be a program name with args.
6711 set dummy $ac_prog; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_ICOTOOL+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 if test -n "$ICOTOOL"; then
6718 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6723 IFS=$as_save_IFS
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_ICOTOOL="$ac_prog"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 break 2
6731 done
6732 done
6733 IFS=$as_save_IFS
6737 ICOTOOL=$ac_cv_prog_ICOTOOL
6738 if test -n "$ICOTOOL"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6740 $as_echo "$ICOTOOL" >&6; }
6741 else
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6747 test -n "$ICOTOOL" && break
6748 done
6749 test -n "$ICOTOOL" || ICOTOOL="false"
6751 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6752 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6754 if test "$CONVERT" = false
6755 then
6756 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6759 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6760 convert_version=`convert --version | head -n1`
6761 if test "x$convert_version" != "x"
6762 then
6763 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6764 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6765 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6766 then
6767 CONVERT=false
6770 if test "$CONVERT" = false
6771 then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6773 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6774 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6777 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6781 if test "$ICOTOOL" = false
6782 then
6783 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6786 $as_echo_n "checking for recent enough icotool... " >&6; }
6787 icotool_version=`icotool --version | head -n1`
6788 if test "x$icotool_version" != "x"
6789 then
6790 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6791 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6792 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6793 then
6794 ICOTOOL=false
6795 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6798 if test "$ICOTOOL" = false
6799 then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6801 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6802 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6805 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6809 with_gettext=yes
6810 with_gettextpo=yes
6812 enable_werror=yes
6815 test "x$with_gettext" != xno || MSGFMT=false
6816 if test "$MSGFMT" != "false"
6817 then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6819 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6820 if ${wine_cv_msgfmt_contexts+:} false; then :
6821 $as_echo_n "(cached) " >&6
6822 else
6823 cat >conftest.po <<EOF
6824 # comment
6825 msgctxt "ctxt"
6826 msgid "id"
6827 msgstr "str"
6829 if $MSGFMT -o /dev/null conftest.po 2>&5
6830 then
6831 wine_cv_msgfmt_contexts=yes
6832 else
6833 wine_cv_msgfmt_contexts=no
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6837 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6838 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6840 if test "$MSGFMT" = false; then :
6841 case "x$with_gettext" in
6842 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6843 xno) ;;
6844 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6845 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6846 esac
6847 enable_po=${enable_po:-no}
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6852 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6853 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6854 $as_echo_n "(cached) " >&6
6855 else
6856 ac_check_lib_save_LIBS=$LIBS
6857 LIBS="-li386 $LIBS"
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6861 /* Override any GCC internal prototype to avoid an error.
6862 Use char because int might match the return type of a GCC
6863 builtin and then its argument prototype would still apply. */
6864 #ifdef __cplusplus
6865 extern "C"
6866 #endif
6867 char i386_set_ldt ();
6869 main ()
6871 return i386_set_ldt ();
6873 return 0;
6875 _ACEOF
6876 if ac_fn_c_try_link "$LINENO"; then :
6877 ac_cv_lib_i386_i386_set_ldt=yes
6878 else
6879 ac_cv_lib_i386_i386_set_ldt=no
6881 rm -f core conftest.err conftest.$ac_objext \
6882 conftest$ac_exeext conftest.$ac_ext
6883 LIBS=$ac_check_lib_save_LIBS
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6886 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6887 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6888 I386_LIBS="-li386"
6893 OPENGL_LIBS=""
6897 # Check whether --enable-largefile was given.
6898 if test "${enable_largefile+set}" = set; then :
6899 enableval=$enable_largefile;
6902 if test "$enable_largefile" != no; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6905 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6906 if ${ac_cv_sys_largefile_CC+:} false; then :
6907 $as_echo_n "(cached) " >&6
6908 else
6909 ac_cv_sys_largefile_CC=no
6910 if test "$GCC" != yes; then
6911 ac_save_CC=$CC
6912 while :; do
6913 # IRIX 6.2 and later do not support large files by default,
6914 # so use the C compiler's -n32 option if that helps.
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6917 #include <sys/types.h>
6918 /* Check that off_t can represent 2**63 - 1 correctly.
6919 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6920 since some C++ compilers masquerading as C compilers
6921 incorrectly reject 9223372036854775807. */
6922 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6923 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6924 && LARGE_OFF_T % 2147483647 == 1)
6925 ? 1 : -1];
6927 main ()
6931 return 0;
6933 _ACEOF
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 break
6937 rm -f core conftest.err conftest.$ac_objext
6938 CC="$CC -n32"
6939 if ac_fn_c_try_compile "$LINENO"; then :
6940 ac_cv_sys_largefile_CC=' -n32'; break
6942 rm -f core conftest.err conftest.$ac_objext
6943 break
6944 done
6945 CC=$ac_save_CC
6946 rm -f conftest.$ac_ext
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6950 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6951 if test "$ac_cv_sys_largefile_CC" != no; then
6952 CC=$CC$ac_cv_sys_largefile_CC
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6956 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6957 if ${ac_cv_sys_file_offset_bits+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 while :; do
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6964 /* Check that off_t can represent 2**63 - 1 correctly.
6965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6966 since some C++ compilers masquerading as C compilers
6967 incorrectly reject 9223372036854775807. */
6968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6970 && LARGE_OFF_T % 2147483647 == 1)
6971 ? 1 : -1];
6973 main ()
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_compile "$LINENO"; then :
6981 ac_cv_sys_file_offset_bits=no; break
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6986 #define _FILE_OFFSET_BITS 64
6987 #include <sys/types.h>
6988 /* Check that off_t can represent 2**63 - 1 correctly.
6989 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6990 since some C++ compilers masquerading as C compilers
6991 incorrectly reject 9223372036854775807. */
6992 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6993 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6994 && LARGE_OFF_T % 2147483647 == 1)
6995 ? 1 : -1];
6997 main ()
7001 return 0;
7003 _ACEOF
7004 if ac_fn_c_try_compile "$LINENO"; then :
7005 ac_cv_sys_file_offset_bits=64; break
7007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7008 ac_cv_sys_file_offset_bits=unknown
7009 break
7010 done
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7013 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7014 case $ac_cv_sys_file_offset_bits in #(
7015 no | unknown) ;;
7017 cat >>confdefs.h <<_ACEOF
7018 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7019 _ACEOF
7021 esac
7022 rm -rf conftest*
7023 if test $ac_cv_sys_file_offset_bits = unknown; then
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7025 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7026 if ${ac_cv_sys_large_files+:} false; then :
7027 $as_echo_n "(cached) " >&6
7028 else
7029 while :; do
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #include <sys/types.h>
7033 /* Check that off_t can represent 2**63 - 1 correctly.
7034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7035 since some C++ compilers masquerading as C compilers
7036 incorrectly reject 9223372036854775807. */
7037 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7039 && LARGE_OFF_T % 2147483647 == 1)
7040 ? 1 : -1];
7042 main ()
7046 return 0;
7048 _ACEOF
7049 if ac_fn_c_try_compile "$LINENO"; then :
7050 ac_cv_sys_large_files=no; break
7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055 #define _LARGE_FILES 1
7056 #include <sys/types.h>
7057 /* Check that off_t can represent 2**63 - 1 correctly.
7058 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7059 since some C++ compilers masquerading as C compilers
7060 incorrectly reject 9223372036854775807. */
7061 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7062 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7063 && LARGE_OFF_T % 2147483647 == 1)
7064 ? 1 : -1];
7066 main ()
7070 return 0;
7072 _ACEOF
7073 if ac_fn_c_try_compile "$LINENO"; then :
7074 ac_cv_sys_large_files=1; break
7076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7077 ac_cv_sys_large_files=unknown
7078 break
7079 done
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7082 $as_echo "$ac_cv_sys_large_files" >&6; }
7083 case $ac_cv_sys_large_files in #(
7084 no | unknown) ;;
7086 cat >>confdefs.h <<_ACEOF
7087 #define _LARGE_FILES $ac_cv_sys_large_files
7088 _ACEOF
7090 esac
7091 rm -rf conftest*
7098 ac_ext=c
7099 ac_cpp='$CPP $CPPFLAGS'
7100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7104 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7105 # On Suns, sometimes $CPP names a directory.
7106 if test -n "$CPP" && test -d "$CPP"; then
7107 CPP=
7109 if test -z "$CPP"; then
7110 if ${ac_cv_prog_CPP+:} false; then :
7111 $as_echo_n "(cached) " >&6
7112 else
7113 # Double quotes because CPP needs to be expanded
7114 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7116 ac_preproc_ok=false
7117 for ac_c_preproc_warn_flag in '' yes
7119 # Use a header file that comes with gcc, so configuring glibc
7120 # with a fresh cross-compiler works.
7121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7122 # <limits.h> exists even on freestanding compilers.
7123 # On the NeXT, cc -E runs the code through the compiler's parser,
7124 # not just through cpp. "Syntax error" is here to catch this case.
7125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126 /* end confdefs.h. */
7127 #ifdef __STDC__
7128 # include <limits.h>
7129 #else
7130 # include <assert.h>
7131 #endif
7132 Syntax error
7133 _ACEOF
7134 if ac_fn_c_try_cpp "$LINENO"; then :
7136 else
7137 # Broken: fails on valid input.
7138 continue
7140 rm -f conftest.err conftest.i conftest.$ac_ext
7142 # OK, works on sane cases. Now check whether nonexistent headers
7143 # can be detected and how.
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #include <ac_nonexistent.h>
7147 _ACEOF
7148 if ac_fn_c_try_cpp "$LINENO"; then :
7149 # Broken: success on invalid input.
7150 continue
7151 else
7152 # Passes both tests.
7153 ac_preproc_ok=:
7154 break
7156 rm -f conftest.err conftest.i conftest.$ac_ext
7158 done
7159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7160 rm -f conftest.i conftest.err conftest.$ac_ext
7161 if $ac_preproc_ok; then :
7162 break
7165 done
7166 ac_cv_prog_CPP=$CPP
7169 CPP=$ac_cv_prog_CPP
7170 else
7171 ac_cv_prog_CPP=$CPP
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7174 $as_echo "$CPP" >&6; }
7175 ac_preproc_ok=false
7176 for ac_c_preproc_warn_flag in '' yes
7178 # Use a header file that comes with gcc, so configuring glibc
7179 # with a fresh cross-compiler works.
7180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7181 # <limits.h> exists even on freestanding compilers.
7182 # On the NeXT, cc -E runs the code through the compiler's parser,
7183 # not just through cpp. "Syntax error" is here to catch this case.
7184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7186 #ifdef __STDC__
7187 # include <limits.h>
7188 #else
7189 # include <assert.h>
7190 #endif
7191 Syntax error
7192 _ACEOF
7193 if ac_fn_c_try_cpp "$LINENO"; then :
7195 else
7196 # Broken: fails on valid input.
7197 continue
7199 rm -f conftest.err conftest.i conftest.$ac_ext
7201 # OK, works on sane cases. Now check whether nonexistent headers
7202 # can be detected and how.
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 #include <ac_nonexistent.h>
7206 _ACEOF
7207 if ac_fn_c_try_cpp "$LINENO"; then :
7208 # Broken: success on invalid input.
7209 continue
7210 else
7211 # Passes both tests.
7212 ac_preproc_ok=:
7213 break
7215 rm -f conftest.err conftest.i conftest.$ac_ext
7217 done
7218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7219 rm -f conftest.i conftest.err conftest.$ac_ext
7220 if $ac_preproc_ok; then :
7222 else
7223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7225 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7226 See \`config.log' for more details" "$LINENO" 5; }
7229 ac_ext=c
7230 ac_cpp='$CPP $CPPFLAGS'
7231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7237 $as_echo_n "checking for ANSI C header files... " >&6; }
7238 if ${ac_cv_header_stdc+:} false; then :
7239 $as_echo_n "(cached) " >&6
7240 else
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #include <stdlib.h>
7244 #include <stdarg.h>
7245 #include <string.h>
7246 #include <float.h>
7249 main ()
7253 return 0;
7255 _ACEOF
7256 if ac_fn_c_try_compile "$LINENO"; then :
7257 ac_cv_header_stdc=yes
7258 else
7259 ac_cv_header_stdc=no
7261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7263 if test $ac_cv_header_stdc = yes; then
7264 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7267 #include <string.h>
7269 _ACEOF
7270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7271 $EGREP "memchr" >/dev/null 2>&1; then :
7273 else
7274 ac_cv_header_stdc=no
7276 rm -f conftest*
7280 if test $ac_cv_header_stdc = yes; then
7281 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7284 #include <stdlib.h>
7286 _ACEOF
7287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7288 $EGREP "free" >/dev/null 2>&1; then :
7290 else
7291 ac_cv_header_stdc=no
7293 rm -f conftest*
7297 if test $ac_cv_header_stdc = yes; then
7298 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7299 if test "$cross_compiling" = yes; then :
7301 else
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7304 #include <ctype.h>
7305 #include <stdlib.h>
7306 #if ((' ' & 0x0FF) == 0x020)
7307 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7308 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7309 #else
7310 # define ISLOWER(c) \
7311 (('a' <= (c) && (c) <= 'i') \
7312 || ('j' <= (c) && (c) <= 'r') \
7313 || ('s' <= (c) && (c) <= 'z'))
7314 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7315 #endif
7317 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7319 main ()
7321 int i;
7322 for (i = 0; i < 256; i++)
7323 if (XOR (islower (i), ISLOWER (i))
7324 || toupper (i) != TOUPPER (i))
7325 return 2;
7326 return 0;
7328 _ACEOF
7329 if ac_fn_c_try_run "$LINENO"; then :
7331 else
7332 ac_cv_header_stdc=no
7334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7335 conftest.$ac_objext conftest.beam conftest.$ac_ext
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7341 $as_echo "$ac_cv_header_stdc" >&6; }
7342 if test $ac_cv_header_stdc = yes; then
7344 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7349 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7350 inttypes.h stdint.h unistd.h
7351 do :
7352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7353 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7355 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7356 cat >>confdefs.h <<_ACEOF
7357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7358 _ACEOF
7362 done
7365 for ac_header in \
7366 AL/al.h \
7367 ApplicationServices/ApplicationServices.h \
7368 AudioToolbox/AudioConverter.h \
7369 AudioUnit/AudioUnit.h \
7370 AudioUnit/AudioComponent.h \
7371 CL/cl.h \
7372 Carbon/Carbon.h \
7373 CommonCrypto/CommonCryptor.h \
7374 CoreAudio/CoreAudio.h \
7375 CoreServices/CoreServices.h \
7376 DiskArbitration/DiskArbitration.h \
7377 EGL/egl.h \
7378 IOKit/IOKitLib.h \
7379 IOKit/hid/IOHIDLib.h \
7380 OpenAL/al.h \
7381 OpenCL/opencl.h \
7382 QuickTime/ImageCompression.h \
7383 Security/Security.h \
7384 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7385 SystemConfiguration/SCNetworkConfiguration.h \
7386 alias.h \
7387 arpa/inet.h \
7388 arpa/nameser.h \
7389 asm/types.h \
7390 asm/user.h \
7391 curses.h \
7392 dirent.h \
7393 dlfcn.h \
7394 elf.h \
7395 float.h \
7396 fnmatch.h \
7397 getopt.h \
7398 gettext-po.h \
7399 grp.h \
7400 gsm.h \
7401 gsm/gsm.h \
7402 ieeefp.h \
7403 inet/mib2.h \
7404 kstat.h \
7405 libproc.h \
7406 link.h \
7407 linux/cdrom.h \
7408 linux/compiler.h \
7409 linux/filter.h \
7410 linux/hdreg.h \
7411 linux/hidraw.h \
7412 linux/input.h \
7413 linux/ioctl.h \
7414 linux/joystick.h \
7415 linux/major.h \
7416 linux/param.h \
7417 linux/serial.h \
7418 linux/types.h \
7419 linux/ucdrom.h \
7420 lwp.h \
7421 mach-o/nlist.h \
7422 mach-o/loader.h \
7423 mach/mach.h \
7424 mach/machine.h \
7425 machine/cpu.h \
7426 machine/sysarch.h \
7427 mntent.h \
7428 ncurses.h \
7429 netdb.h \
7430 netinet/in.h \
7431 netinet/in_systm.h \
7432 netinet/tcp.h \
7433 netinet/tcp_fsm.h \
7434 pcap/pcap.h \
7435 poll.h \
7436 port.h \
7437 pthread.h \
7438 pwd.h \
7439 sasl/sasl.h \
7440 sched.h \
7441 scsi/scsi.h \
7442 scsi/scsi_ioctl.h \
7443 scsi/sg.h \
7444 stdbool.h \
7445 stdint.h \
7446 stropts.h \
7447 sys/attr.h \
7448 sys/auxv.h \
7449 sys/cdio.h \
7450 sys/epoll.h \
7451 sys/event.h \
7452 sys/filio.h \
7453 sys/ioctl.h \
7454 sys/ipc.h \
7455 sys/link.h \
7456 sys/mman.h \
7457 sys/modem.h \
7458 sys/msg.h \
7459 sys/mtio.h \
7460 sys/param.h \
7461 sys/poll.h \
7462 sys/prctl.h \
7463 sys/protosw.h \
7464 sys/ptrace.h \
7465 sys/queue.h \
7466 sys/resource.h \
7467 sys/scsiio.h \
7468 sys/shm.h \
7469 sys/signal.h \
7470 sys/socket.h \
7471 sys/socketvar.h \
7472 sys/sockio.h \
7473 sys/statvfs.h \
7474 sys/strtio.h \
7475 sys/syscall.h \
7476 sys/sysinfo.h \
7477 sys/tihdr.h \
7478 sys/time.h \
7479 sys/timeout.h \
7480 sys/times.h \
7481 sys/uio.h \
7482 sys/user.h \
7483 sys/utsname.h \
7484 sys/vnode.h \
7485 sys/wait.h \
7486 syscall.h \
7487 termios.h \
7488 unistd.h \
7489 utime.h \
7490 valgrind/memcheck.h \
7491 valgrind/valgrind.h
7493 do :
7494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7496 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7497 cat >>confdefs.h <<_ACEOF
7498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7499 _ACEOF
7503 done
7505 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7506 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7508 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7513 if test $ac_cv_header_sys_mkdev_h = no; then
7514 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7515 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7517 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7524 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7525 if ${ac_cv_header_stat_broken+:} false; then :
7526 $as_echo_n "(cached) " >&6
7527 else
7528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529 /* end confdefs.h. */
7530 #include <sys/types.h>
7531 #include <sys/stat.h>
7533 #if defined S_ISBLK && defined S_IFDIR
7534 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7535 #endif
7537 #if defined S_ISBLK && defined S_IFCHR
7538 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7539 #endif
7541 #if defined S_ISLNK && defined S_IFREG
7542 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7543 #endif
7545 #if defined S_ISSOCK && defined S_IFREG
7546 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7547 #endif
7549 _ACEOF
7550 if ac_fn_c_try_compile "$LINENO"; then :
7551 ac_cv_header_stat_broken=no
7552 else
7553 ac_cv_header_stat_broken=yes
7555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7558 $as_echo "$ac_cv_header_stat_broken" >&6; }
7559 if test $ac_cv_header_stat_broken = yes; then
7561 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7567 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7568 do :
7569 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7570 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7571 #ifdef HAVE_SYS_PARAM_H
7572 # include <sys/param.h>
7573 #endif
7575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7576 cat >>confdefs.h <<_ACEOF
7577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7578 _ACEOF
7582 done
7585 saved_sysctl_h_CFLAGS=$CFLAGS
7586 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7587 for ac_header in sys/sysctl.h
7588 do :
7589 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7590 #ifdef HAVE_SYS_PARAM_H
7591 # include <sys/param.h>
7592 #endif
7594 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7595 cat >>confdefs.h <<_ACEOF
7596 #define HAVE_SYS_SYSCTL_H 1
7597 _ACEOF
7601 done
7603 CFLAGS=$saved_sysctl_h_CFLAGS
7605 for ac_header in \
7606 netinet/ip.h \
7607 net/if.h \
7608 net/if_arp.h \
7609 net/if_dl.h \
7610 net/if_types.h \
7611 net/route.h \
7612 netinet/if_ether.h \
7613 netinet/if_inarp.h \
7614 netinet/in_pcb.h \
7615 netinet/ip_icmp.h \
7616 netinet/ip_var.h \
7617 netinet/udp.h \
7618 netipx/ipx.h \
7619 sys/un.h \
7621 do :
7622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7624 #ifdef HAVE_SYS_SOCKET_H
7625 # include <sys/socket.h>
7626 #endif
7627 #ifdef HAVE_SYS_SOCKETVAR_H
7628 # include <sys/socketvar.h>
7629 #endif
7630 #ifdef HAVE_NET_ROUTE_H
7631 # include <net/route.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_H
7634 # include <netinet/in.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IN_SYSTM_H
7637 # include <netinet/in_systm.h>
7638 #endif
7639 #ifdef HAVE_NET_IF_H
7640 # include <net/if.h>
7641 #endif
7642 #ifdef HAVE_NETINET_IP_H
7643 # include <netinet/ip.h>
7644 #endif
7646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7647 cat >>confdefs.h <<_ACEOF
7648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7649 _ACEOF
7653 done
7656 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7657 do :
7658 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7659 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7660 #ifdef HAVE_ALIAS_H
7661 # include <alias.h>
7662 #endif
7663 #ifdef HAVE_SYS_SOCKET_H
7664 # include <sys/socket.h>
7665 #endif
7666 #ifdef HAVE_SYS_SOCKETVAR_H
7667 # include <sys/socketvar.h>
7668 #endif
7669 #ifdef HAVE_SYS_TIMEOUT_H
7670 # include <sys/timeout.h>
7671 #endif
7672 #ifdef HAVE_NETINET_IN_H
7673 # include <netinet/in.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IN_SYSTM_H
7676 # include <netinet/in_systm.h>
7677 #endif
7678 #ifdef HAVE_NETINET_IP_H
7679 # include <netinet/ip.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IP_VAR_H
7682 # include <netinet/ip_var.h>
7683 #endif
7684 #ifdef HAVE_NETINET_IP_ICMP_H
7685 # include <netinet/ip_icmp.h>
7686 #endif
7687 #ifdef HAVE_NETINET_UDP_H
7688 # include <netinet/udp.h>
7689 #endif
7690 #ifdef HAVE_NETINET_TCP_H
7691 # include <netinet/tcp.h>
7692 #endif
7693 #ifdef HAVE_NETINET_TCP_TIMER_H
7694 #include <netinet/tcp_timer.h>
7695 #endif
7697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7700 _ACEOF
7704 done
7707 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7708 do :
7709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7710 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7711 #ifdef HAVE_ASM_TYPES_H
7712 # include <asm/types.h>
7713 #endif
7714 #ifdef HAVE_SYS_SOCKET_H
7715 # include <sys/socket.h>
7716 #endif
7717 #ifdef HAVE_LINUX_TYPES_H
7718 # include <linux/types.h>
7719 #endif
7721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7722 cat >>confdefs.h <<_ACEOF
7723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7724 _ACEOF
7728 done
7731 for ac_header in resolv.h
7732 do :
7733 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7734 #ifdef HAVE_SYS_SOCKET_H
7735 # include <sys/socket.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IN_H
7738 # include <netinet/in.h>
7739 #endif
7740 #ifdef HAVE_ARPA_NAMESER_H
7741 # include <arpa/nameser.h>
7742 #endif
7744 if test "x$ac_cv_header_resolv_h" = xyes; then :
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_RESOLV_H 1
7747 _ACEOF
7751 done
7754 for ac_header in ifaddrs.h
7755 do :
7756 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7758 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7759 cat >>confdefs.h <<_ACEOF
7760 #define HAVE_IFADDRS_H 1
7761 _ACEOF
7765 done
7768 for ac_header in sys/ucontext.h
7769 do :
7770 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7772 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7773 cat >>confdefs.h <<_ACEOF
7774 #define HAVE_SYS_UCONTEXT_H 1
7775 _ACEOF
7779 done
7782 for ac_header in sys/thr.h
7783 do :
7784 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7785 #ifdef HAVE_SYS_UCONTEXT_H
7786 #include <sys/ucontext.h>
7787 #endif
7789 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7790 cat >>confdefs.h <<_ACEOF
7791 #define HAVE_SYS_THR_H 1
7792 _ACEOF
7796 done
7799 for ac_header in pthread_np.h
7800 do :
7801 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7802 #include <pthread.h>
7803 #endif
7805 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7806 cat >>confdefs.h <<_ACEOF
7807 #define HAVE_PTHREAD_NP_H 1
7808 _ACEOF
7812 done
7815 for ac_header in linux/videodev2.h
7816 do :
7817 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7818 #include <sys/time.h>
7819 #endif
7820 #include <sys/types.h>
7821 #ifdef HAVE_ASM_TYPES_H
7822 #include <asm/types.h>
7823 #endif
7825 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_LINUX_VIDEODEV2_H 1
7828 _ACEOF
7832 done
7835 for ac_header in libprocstat.h
7836 do :
7837 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7838 #include <sys/param.h>
7839 #endif
7840 #ifdef HAVE_SYS_QUEUE_H
7841 #include <sys/queue.h>
7842 #endif
7843 #ifdef HAVE_SYS_SOCKET_H
7844 #include <sys/socket.h>
7845 #endif
7847 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7848 cat >>confdefs.h <<_ACEOF
7849 #define HAVE_LIBPROCSTAT_H 1
7850 _ACEOF
7854 done
7858 DLLFLAGS="-D_REENTRANT"
7860 LDRPATH_INSTALL=""
7862 LDRPATH_LOCAL=""
7864 LDDLLFLAGS=""
7866 LDEXECFLAGS=""
7868 TOP_INSTALL_LIB=""
7870 TOP_INSTALL_DEV=""
7872 WINELOADER_LDFLAGS=""
7874 WINEPRELOADER_LDFLAGS=""
7876 LIBEXT="so"
7877 DLLEXT=".so"
7878 # Extract the first word of "ldd", so it can be a program name with args.
7879 set dummy ldd; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_path_LDD+:} false; then :
7883 $as_echo_n "(cached) " >&6
7884 else
7885 case $LDD in
7886 [\\/]* | ?:[\\/]*)
7887 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891 as_dummy="/sbin:/usr/sbin:$PATH"
7892 for as_dir in $as_dummy
7894 IFS=$as_save_IFS
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 break 2
7902 done
7903 done
7904 IFS=$as_save_IFS
7906 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7908 esac
7910 LDD=$ac_cv_path_LDD
7911 if test -n "$LDD"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7913 $as_echo "$LDD" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}otool; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_OTOOL+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927 else
7928 if test -n "$OTOOL"; then
7929 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7934 IFS=$as_save_IFS
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 break 2
7942 done
7943 done
7944 IFS=$as_save_IFS
7948 OTOOL=$ac_cv_prog_OTOOL
7949 if test -n "$OTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7951 $as_echo "$OTOOL" >&6; }
7952 else
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_OTOOL"; then
7960 ac_ct_OTOOL=$OTOOL
7961 # Extract the first word of "otool", so it can be a program name with args.
7962 set dummy otool; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 if test -n "$ac_ct_OTOOL"; then
7969 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7970 else
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 for as_dir in $PATH
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_OTOOL="otool"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7982 done
7983 done
7984 IFS=$as_save_IFS
7988 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7989 if test -n "$ac_ct_OTOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7991 $as_echo "$ac_ct_OTOOL" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_OTOOL" = x; then
7998 OTOOL="otool"
7999 else
8000 case $cross_compiling:$ac_tool_warned in
8001 yes:)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8005 esac
8006 OTOOL=$ac_ct_OTOOL
8008 else
8009 OTOOL="$ac_cv_prog_OTOOL"
8012 if test -n "$ac_tool_prefix"; then
8013 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8014 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if ${ac_cv_prog_READELF+:} false; then :
8018 $as_echo_n "(cached) " >&6
8019 else
8020 if test -n "$READELF"; then
8021 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8022 else
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 for as_dir in $PATH
8026 IFS=$as_save_IFS
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 break 2
8034 done
8035 done
8036 IFS=$as_save_IFS
8040 READELF=$ac_cv_prog_READELF
8041 if test -n "$READELF"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8043 $as_echo "$READELF" >&6; }
8044 else
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8051 if test -z "$ac_cv_prog_READELF"; then
8052 ac_ct_READELF=$READELF
8053 # Extract the first word of "readelf", so it can be a program name with args.
8054 set dummy readelf; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8056 $as_echo_n "checking for $ac_word... " >&6; }
8057 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8058 $as_echo_n "(cached) " >&6
8059 else
8060 if test -n "$ac_ct_READELF"; then
8061 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8062 else
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 for as_dir in $PATH
8066 IFS=$as_save_IFS
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070 ac_cv_prog_ac_ct_READELF="readelf"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 break 2
8074 done
8075 done
8076 IFS=$as_save_IFS
8080 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8081 if test -n "$ac_ct_READELF"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8083 $as_echo "$ac_ct_READELF" >&6; }
8084 else
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8089 if test "x$ac_ct_READELF" = x; then
8090 READELF="true"
8091 else
8092 case $cross_compiling:$ac_tool_warned in
8093 yes:)
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8096 ac_tool_warned=yes ;;
8097 esac
8098 READELF=$ac_ct_READELF
8100 else
8101 READELF="$ac_cv_prog_READELF"
8104 wine_rules_file=conf$$rules.make
8105 rm -f $wine_rules_file
8106 SUBDIRS=""
8108 DISABLED_SUBDIRS=""
8110 CONFIGURE_TARGETS=""
8113 wine_fn_append_file ()
8115 as_fn_append $1 " \\$as_nl $2"
8118 wine_fn_append_rule ()
8120 $as_echo "$1" >>$wine_rules_file
8123 wine_fn_config_makefile ()
8125 wine_fn_append_file SUBDIRS $1
8126 if eval test \"x\$"$2"\" = x"no"; then :
8127 wine_fn_append_file DISABLED_SUBDIRS $1
8131 wine_fn_config_symlink ()
8133 ac_links=$@
8134 wine_fn_append_rule \
8135 "$ac_links:
8136 @./config.status \$@"
8137 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8140 wine_binary="wine"
8141 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8142 WINELOADER_PROGRAMS="$wine_binary"
8144 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8146 case $host_os in
8147 cygwin*|mingw32*)
8148 if test -n "$ac_tool_prefix"; then
8149 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8150 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8152 $as_echo_n "checking for $ac_word... " >&6; }
8153 if ${ac_cv_prog_DLLTOOL+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 if test -n "$DLLTOOL"; then
8157 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8158 else
8159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8160 for as_dir in $PATH
8162 IFS=$as_save_IFS
8163 test -z "$as_dir" && as_dir=.
8164 for ac_exec_ext in '' $ac_executable_extensions; do
8165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8166 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 break 2
8170 done
8171 done
8172 IFS=$as_save_IFS
8176 DLLTOOL=$ac_cv_prog_DLLTOOL
8177 if test -n "$DLLTOOL"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8179 $as_echo "$DLLTOOL" >&6; }
8180 else
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8187 if test -z "$ac_cv_prog_DLLTOOL"; then
8188 ac_ct_DLLTOOL=$DLLTOOL
8189 # Extract the first word of "dlltool", so it can be a program name with args.
8190 set dummy dlltool; ac_word=$2
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8192 $as_echo_n "checking for $ac_word... " >&6; }
8193 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8194 $as_echo_n "(cached) " >&6
8195 else
8196 if test -n "$ac_ct_DLLTOOL"; then
8197 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8198 else
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200 for as_dir in $PATH
8202 IFS=$as_save_IFS
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8208 break 2
8210 done
8211 done
8212 IFS=$as_save_IFS
8216 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8217 if test -n "$ac_ct_DLLTOOL"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8219 $as_echo "$ac_ct_DLLTOOL" >&6; }
8220 else
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8225 if test "x$ac_ct_DLLTOOL" = x; then
8226 DLLTOOL="false"
8227 else
8228 case $cross_compiling:$ac_tool_warned in
8229 yes:)
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8232 ac_tool_warned=yes ;;
8233 esac
8234 DLLTOOL=$ac_ct_DLLTOOL
8236 else
8237 DLLTOOL="$ac_cv_prog_DLLTOOL"
8240 LIBEXT="dll"
8241 DLLEXT=""
8242 case $host_cpu in
8243 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8244 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8245 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 ac_wine_try_cflags_saved=$CFLAGS
8249 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8253 _ACEOF
8254 if ac_fn_c_try_link "$LINENO"; then :
8255 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8256 else
8257 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8259 rm -f core conftest.err conftest.$ac_objext \
8260 conftest$ac_exeext conftest.$ac_ext
8261 CFLAGS=$ac_wine_try_cflags_saved
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8264 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8265 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8266 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8267 fi ;;
8268 esac
8269 enable_iphlpapi=${enable_iphlpapi:-no}
8270 enable_kernel32=${enable_kernel32:-no}
8271 enable_ntdll=${enable_ntdll:-no}
8272 enable_ws2_32=${enable_ws2_32:-no}
8273 enable_loader=${enable_loader:-no}
8274 enable_server=${enable_server:-no}
8275 with_x=${with_x:-no}
8276 with_pthread=${with_pthread:-no}
8279 darwin*|macosx*)
8280 ac_ext=m
8281 ac_cpp='$OBJCPP $CPPFLAGS'
8282 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8283 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8284 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8286 ac_ext=m
8287 ac_cpp='$OBJCPP $CPPFLAGS'
8288 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8291 if test -n "$ac_tool_prefix"; then
8292 for ac_prog in gcc objcc objc cc CC
8294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8295 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_OBJC+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 if test -n "$OBJC"; then
8302 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8303 else
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 for as_dir in $PATH
8307 IFS=$as_save_IFS
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313 break 2
8315 done
8316 done
8317 IFS=$as_save_IFS
8321 OBJC=$ac_cv_prog_OBJC
8322 if test -n "$OBJC"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8324 $as_echo "$OBJC" >&6; }
8325 else
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8331 test -n "$OBJC" && break
8332 done
8334 if test -z "$OBJC"; then
8335 ac_ct_OBJC=$OBJC
8336 for ac_prog in gcc objcc objc cc CC
8338 # Extract the first word of "$ac_prog", so it can be a program name with args.
8339 set dummy $ac_prog; ac_word=$2
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8341 $as_echo_n "checking for $ac_word... " >&6; }
8342 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 if test -n "$ac_ct_OBJC"; then
8346 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8347 else
8348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 for as_dir in $PATH
8351 IFS=$as_save_IFS
8352 test -z "$as_dir" && as_dir=.
8353 for ac_exec_ext in '' $ac_executable_extensions; do
8354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8355 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8357 break 2
8359 done
8360 done
8361 IFS=$as_save_IFS
8365 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8366 if test -n "$ac_ct_OBJC"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8368 $as_echo "$ac_ct_OBJC" >&6; }
8369 else
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8375 test -n "$ac_ct_OBJC" && break
8376 done
8378 if test "x$ac_ct_OBJC" = x; then
8379 OBJC="gcc"
8380 else
8381 case $cross_compiling:$ac_tool_warned in
8382 yes:)
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8385 ac_tool_warned=yes ;;
8386 esac
8387 OBJC=$ac_ct_OBJC
8391 # Provide some information about the compiler.
8392 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8393 set X $ac_compile
8394 ac_compiler=$2
8395 for ac_option in --version -v -V -qversion; do
8396 { { ac_try="$ac_compiler $ac_option >&5"
8397 case "(($ac_try" in
8398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8399 *) ac_try_echo=$ac_try;;
8400 esac
8401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8402 $as_echo "$ac_try_echo"; } >&5
8403 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8404 ac_status=$?
8405 if test -s conftest.err; then
8406 sed '10a\
8407 ... rest of stderr output deleted ...
8408 10q' conftest.err >conftest.er1
8409 cat conftest.er1 >&5
8411 rm -f conftest.er1 conftest.err
8412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8413 test $ac_status = 0; }
8414 done
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8417 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8418 if ${ac_cv_objc_compiler_gnu+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8425 main ()
8427 #ifndef __GNUC__
8428 choke me
8429 #endif
8432 return 0;
8434 _ACEOF
8435 if ac_fn_objc_try_compile "$LINENO"; then :
8436 ac_compiler_gnu=yes
8437 else
8438 ac_compiler_gnu=no
8440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8441 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8445 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8446 if test $ac_compiler_gnu = yes; then
8447 GOBJC=yes
8448 else
8449 GOBJC=
8451 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8452 ac_save_OBJCFLAGS=$OBJCFLAGS
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8454 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8455 if ${ac_cv_prog_objc_g+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_save_objc_werror_flag=$ac_objc_werror_flag
8459 ac_objc_werror_flag=yes
8460 ac_cv_prog_objc_g=no
8461 OBJCFLAGS="-g"
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8466 main ()
8470 return 0;
8472 _ACEOF
8473 if ac_fn_objc_try_compile "$LINENO"; then :
8474 ac_cv_prog_objc_g=yes
8475 else
8476 OBJCFLAGS=""
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8481 main ()
8485 return 0;
8487 _ACEOF
8488 if ac_fn_objc_try_compile "$LINENO"; then :
8490 else
8491 ac_objc_werror_flag=$ac_save_objc_werror_flag
8492 OBJCFLAGS="-g"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8497 main ()
8501 return 0;
8503 _ACEOF
8504 if ac_fn_objc_try_compile "$LINENO"; then :
8505 ac_cv_prog_objc_g=yes
8507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8512 ac_objc_werror_flag=$ac_save_objc_werror_flag
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8515 $as_echo "$ac_cv_prog_objc_g" >&6; }
8516 if test "$ac_test_OBJCFLAGS" = set; then
8517 OBJCFLAGS=$ac_save_OBJCFLAGS
8518 elif test $ac_cv_prog_objc_g = yes; then
8519 if test "$GOBJC" = yes; then
8520 OBJCFLAGS="-g -O2"
8521 else
8522 OBJCFLAGS="-g"
8524 else
8525 if test "$GOBJC" = yes; then
8526 OBJCFLAGS="-O2"
8527 else
8528 OBJCFLAGS=
8531 ac_ext=m
8532 ac_cpp='$OBJCPP $CPPFLAGS'
8533 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8534 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8535 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8538 ac_ext=m
8539 ac_cpp='$OBJCPP $CPPFLAGS'
8540 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8541 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8542 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8544 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8545 if test -z "$OBJCPP"; then
8546 if ${ac_cv_prog_OBJCPP+:} false; then :
8547 $as_echo_n "(cached) " >&6
8548 else
8549 # Double quotes because OBJCPP needs to be expanded
8550 for OBJCPP in "$OBJC -E" "/lib/cpp"
8552 ac_preproc_ok=false
8553 for ac_objc_preproc_warn_flag in '' yes
8555 # Use a header file that comes with gcc, so configuring glibc
8556 # with a fresh cross-compiler works.
8557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8558 # <limits.h> exists even on freestanding compilers.
8559 # On the NeXT, cc -E runs the code through the compiler's parser,
8560 # not just through cpp. "Syntax error" is here to catch this case.
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 #ifdef __STDC__
8564 # include <limits.h>
8565 #else
8566 # include <assert.h>
8567 #endif
8568 Syntax error
8569 _ACEOF
8570 if ac_fn_objc_try_cpp "$LINENO"; then :
8572 else
8573 # Broken: fails on valid input.
8574 continue
8576 rm -f conftest.err conftest.i conftest.$ac_ext
8578 # OK, works on sane cases. Now check whether nonexistent headers
8579 # can be detected and how.
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8582 #include <ac_nonexistent.h>
8583 _ACEOF
8584 if ac_fn_objc_try_cpp "$LINENO"; then :
8585 # Broken: success on invalid input.
8586 continue
8587 else
8588 # Passes both tests.
8589 ac_preproc_ok=:
8590 break
8592 rm -f conftest.err conftest.i conftest.$ac_ext
8594 done
8595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8596 rm -f conftest.i conftest.err conftest.$ac_ext
8597 if $ac_preproc_ok; then :
8598 break
8601 done
8602 ac_cv_prog_OBJCPP=$OBJCPP
8605 OBJCPP=$ac_cv_prog_OBJCPP
8606 else
8607 ac_cv_prog_OBJCPP=$OBJCPP
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8610 $as_echo "$OBJCPP" >&6; }
8611 ac_preproc_ok=false
8612 for ac_objc_preproc_warn_flag in '' yes
8614 # Use a header file that comes with gcc, so configuring glibc
8615 # with a fresh cross-compiler works.
8616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8617 # <limits.h> exists even on freestanding compilers.
8618 # On the NeXT, cc -E runs the code through the compiler's parser,
8619 # not just through cpp. "Syntax error" is here to catch this case.
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 #ifdef __STDC__
8623 # include <limits.h>
8624 #else
8625 # include <assert.h>
8626 #endif
8627 Syntax error
8628 _ACEOF
8629 if ac_fn_objc_try_cpp "$LINENO"; then :
8631 else
8632 # Broken: fails on valid input.
8633 continue
8635 rm -f conftest.err conftest.i conftest.$ac_ext
8637 # OK, works on sane cases. Now check whether nonexistent headers
8638 # can be detected and how.
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 #include <ac_nonexistent.h>
8642 _ACEOF
8643 if ac_fn_objc_try_cpp "$LINENO"; then :
8644 # Broken: success on invalid input.
8645 continue
8646 else
8647 # Passes both tests.
8648 ac_preproc_ok=:
8649 break
8651 rm -f conftest.err conftest.i conftest.$ac_ext
8653 done
8654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8655 rm -f conftest.i conftest.err conftest.$ac_ext
8656 if $ac_preproc_ok; then :
8658 else
8659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8661 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8662 See \`config.log' for more details" "$LINENO" 5; }
8665 ac_ext=m
8666 ac_cpp='$OBJCPP $CPPFLAGS'
8667 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8668 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8669 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8672 for ac_header in Metal/Metal.h
8673 do :
8674 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8675 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8676 cat >>confdefs.h <<_ACEOF
8677 #define HAVE_METAL_METAL_H 1
8678 _ACEOF
8682 done
8684 ac_ext=c
8685 ac_cpp='$CPP $CPPFLAGS'
8686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8690 LIBEXT="dylib"
8691 DLLFLAGS="$DLLFLAGS -fPIC"
8692 LDDLLFLAGS="-fPIC"
8693 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8694 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8695 COREFOUNDATION_LIBS="-framework CoreFoundation"
8697 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8699 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8701 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8703 CORESERVICES_LIBS="-framework CoreServices"
8705 APPKIT_LIBS="-framework AppKit"
8707 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8710 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8712 wine_can_build_preloader=yes
8713 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8715 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8716 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8717 $as_echo_n "(cached) " >&6
8718 else
8719 ac_wine_try_cflags_saved=$CFLAGS
8720 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8723 int main(int argc, char **argv) { return 0; }
8724 _ACEOF
8725 if ac_fn_c_try_link "$LINENO"; then :
8726 ac_cv_cflags__Wl__no_new_main__e__main=yes
8727 else
8728 ac_cv_cflags__Wl__no_new_main__e__main=no
8730 rm -f core conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 CFLAGS=$ac_wine_try_cflags_saved
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8735 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8736 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8737 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8739 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8740 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8751 else
8752 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8759 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8760 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8761 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8762 else
8763 { $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
8764 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8765 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8776 else
8777 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { $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
8784 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8785 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8786 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8787 else
8788 wine_can_build_preloader=no
8791 else
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8793 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8794 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8805 else
8806 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8813 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8814 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8815 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8816 else
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8818 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8819 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 int main(int argc, char **argv) { return 0; }
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8830 else
8831 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8838 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8839 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8840 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8841 else
8842 wine_can_build_preloader=no
8846 if test "$wine_can_build_preloader" = "yes"
8847 then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8849 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8850 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 ac_wine_try_cflags_saved=$CFLAGS
8854 CFLAGS="$CFLAGS -Wl,-no_pie"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8857 int main(int argc, char **argv) { return 0; }
8858 _ACEOF
8859 if ac_fn_c_try_link "$LINENO"; then :
8860 ac_cv_cflags__Wl__no_pie=yes
8861 else
8862 ac_cv_cflags__Wl__no_pie=no
8864 rm -f core conftest.err conftest.$ac_objext \
8865 conftest$ac_exeext conftest.$ac_ext
8866 CFLAGS=$ac_wine_try_cflags_saved
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8869 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8870 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8871 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8873 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8874 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8875 else
8876 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8879 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8880 then
8881 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8884 if test "$ac_cv_header_Security_Security_h" = "yes"
8885 then
8886 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8888 ac_save_LIBS="$LIBS"
8889 LIBS="$LIBS $SECURITY_LIBS"
8890 for ac_func in SSLCopyPeerCertificates
8891 do :
8892 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8893 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8894 cat >>confdefs.h <<_ACEOF
8895 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8896 _ACEOF
8899 done
8901 LIBS="$ac_save_LIBS"
8903 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8904 then
8905 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8906 then
8907 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8909 else
8910 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8913 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8914 ac_save_LIBS="$LIBS"
8915 LIBS="$LIBS $COREAUDIO_LIBS"
8916 for ac_func in AUGraphAddNode
8917 do :
8918 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8919 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8920 cat >>confdefs.h <<_ACEOF
8921 #define HAVE_AUGRAPHADDNODE 1
8922 _ACEOF
8925 done
8927 LIBS="$ac_save_LIBS"
8929 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8930 then
8931 OPENAL_LIBS="-framework OpenAL"
8934 cat >>confdefs.h <<_ACEOF
8935 #define HAVE_OPENAL 1
8936 _ACEOF
8938 ac_cv_lib_openal=yes
8940 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8941 then
8942 OPENCL_LIBS="-framework OpenCL"
8944 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8946 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8947 then
8948 ac_save_LIBS="$LIBS"
8949 LIBS="$LIBS $IOKIT_LIBS"
8950 for ac_func in IOHIDManagerCreate
8951 do :
8952 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8953 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8954 cat >>confdefs.h <<_ACEOF
8955 #define HAVE_IOHIDMANAGERCREATE 1
8956 _ACEOF
8959 done
8961 LIBS="$ac_save_LIBS"
8963 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8964 then
8965 ac_save_LIBS="$LIBS"
8966 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8968 $as_echo_n "checking for the QuickTime framework... " >&6; }
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 #include <QuickTime/ImageCompression.h>
8973 main ()
8975 CodecManagerVersion(NULL);
8977 return 0;
8979 _ACEOF
8980 if ac_fn_c_try_link "$LINENO"; then :
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8982 $as_echo "yes" >&6; }
8983 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8985 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8989 ac_cv_header_QuickTime_ImageCompression_h=no
8991 rm -f core conftest.err conftest.$ac_objext \
8992 conftest$ac_exeext conftest.$ac_ext
8993 LIBS="$ac_save_LIBS"
8995 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8996 then
8997 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8999 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9000 then
9001 CARBON_LIBS="-framework Carbon"
9004 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9005 then
9006 METAL_LIBS="-framework Metal -framework QuartzCore"
9010 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9011 then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9013 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9014 ac_ext=m
9015 ac_cpp='$OBJCPP $CPPFLAGS'
9016 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9017 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9018 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 #include <Metal/Metal.h>
9024 main ()
9026 id<MTLDevice> device; device.registryID;
9028 return 0;
9030 _ACEOF
9031 if ac_fn_objc_try_compile "$LINENO"; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9033 $as_echo "yes" >&6; }
9035 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9042 ac_ext=c
9043 ac_cpp='$CPP $CPPFLAGS'
9044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9050 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9051 then
9052 ac_save_LIBS="$LIBS"
9053 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9054 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9055 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9056 enable_winemac_drv=${enable_winemac_drv:-yes}
9059 LIBS="$ac_save_LIBS"
9062 if test "x$enable_win16" = "xyes"
9063 then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9065 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9066 if test "$cross_compiling" = yes; then :
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9068 $as_echo "cross-compiling, assuming yes" >&6; }
9069 else
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 asm(".text\n"
9073 "bad:\tnop;nop\n"
9074 "good:\tnop;nop\n\t"
9075 ".globl _testfunc\n"
9076 "_testfunc:\tcallw good");
9077 extern void testfunc();
9079 main ()
9081 unsigned short *p = (unsigned short *)testfunc;
9082 return p[0] != 0xe866 || p[1] != 0xfffa
9084 return 0;
9086 _ACEOF
9087 if ac_fn_c_try_run "$LINENO"; then :
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9089 $as_echo "yes" >&6; }
9090 else
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9093 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
9095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9096 conftest.$ac_objext conftest.beam conftest.$ac_ext
9101 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9103 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9105 WINELOADER_DEPENDS="wine_info.plist"
9107 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9108 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9111 linux-android*)
9112 DLLFLAGS="$DLLFLAGS -fPIC"
9113 LDDLLFLAGS="-fPIC"
9114 LDEXECFLAGS="-Wl,-pie"
9115 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9117 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9118 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 ac_wine_try_cflags_saved=$CFLAGS
9122 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9125 int main(int argc, char **argv) { return 0; }
9126 _ACEOF
9127 if ac_fn_c_try_link "$LINENO"; then :
9128 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9129 else
9130 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9132 rm -f core conftest.err conftest.$ac_objext \
9133 conftest$ac_exeext conftest.$ac_ext
9134 CFLAGS=$ac_wine_try_cflags_saved
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9137 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9138 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9139 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9141 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9142 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9144 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9145 if eval \${$as_ac_var+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 ac_wine_try_cflags_saved=$CFLAGS
9149 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9152 int main(int argc, char **argv) { return 0; }
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 eval "$as_ac_var=yes"
9156 else
9157 eval "$as_ac_var=no"
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 CFLAGS=$ac_wine_try_cflags_saved
9163 eval ac_res=\$$as_ac_var
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9165 $as_echo "$ac_res" >&6; }
9166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9167 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9168 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9169 else
9170 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9172 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9173 if eval \${$as_ac_var+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 ac_wine_try_cflags_saved=$CFLAGS
9177 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9180 int main(int argc, char **argv) { return 0; }
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 eval "$as_ac_var=yes"
9184 else
9185 eval "$as_ac_var=no"
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 CFLAGS=$ac_wine_try_cflags_saved
9191 eval ac_res=\$$as_ac_var
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9193 $as_echo "$ac_res" >&6; }
9194 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9195 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9196 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9200 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9201 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9202 $as_echo_n "(cached) " >&6
9203 else
9204 ac_wine_try_cflags_saved=$CFLAGS
9205 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9208 int main(int argc, char **argv) { return 0; }
9209 _ACEOF
9210 if ac_fn_c_try_link "$LINENO"; then :
9211 ac_cv_cflags__Wl___enable_new_dtags=yes
9212 else
9213 ac_cv_cflags__Wl___enable_new_dtags=no
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 CFLAGS=$ac_wine_try_cflags_saved
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9220 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9221 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9222 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9225 LIBWINE_SHAREDLIB="libwine.so"
9227 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9229 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9232 $as_echo_n "checking for -lEGL... " >&6; }
9233 if ${ac_cv_lib_soname_EGL+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_soname_save_LIBS=$LIBS
9237 LIBS="-lEGL $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char eglGetProcAddress ();
9249 main ()
9251 return eglGetProcAddress ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 case "$LIBEXT" in
9258 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9259 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'` ;;
9260 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9261 if ${ac_cv_lib_soname_EGL:+false} :; then :
9262 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9263 fi ;;
9264 esac
9265 else
9266 ac_cv_lib_soname_EGL=
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_soname_save_LIBS
9272 if ${ac_cv_lib_soname_EGL:+false} :; then :
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9274 $as_echo "not found" >&6; }
9276 else
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9278 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9280 cat >>confdefs.h <<_ACEOF
9281 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9282 _ACEOF
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9287 $as_echo_n "checking for -lGLESv2... " >&6; }
9288 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9289 $as_echo_n "(cached) " >&6
9290 else
9291 ac_check_soname_save_LIBS=$LIBS
9292 LIBS="-lGLESv2 $LIBS"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9299 #ifdef __cplusplus
9300 extern "C"
9301 #endif
9302 char glFlush ();
9304 main ()
9306 return glFlush ();
9308 return 0;
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 case "$LIBEXT" in
9313 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9314 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'` ;;
9315 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9316 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9317 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9318 fi ;;
9319 esac
9320 else
9321 ac_cv_lib_soname_GLESv2=
9323 rm -f core conftest.err conftest.$ac_objext \
9324 conftest$ac_exeext conftest.$ac_ext
9325 LIBS=$ac_check_soname_save_LIBS
9327 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9329 $as_echo "not found" >&6; }
9331 else
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9333 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9335 cat >>confdefs.h <<_ACEOF
9336 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9337 _ACEOF
9342 if test "x$exec_prefix" = xNONE
9343 then
9344 case $host_cpu in
9345 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9346 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9347 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9348 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9349 esac
9354 case $host_cpu in
9355 *i[3456789]86*)
9356 DLLFLAGS="$DLLFLAGS -fno-PIC"
9357 LDDLLFLAGS="-fno-PIC" ;;
9359 DLLFLAGS="$DLLFLAGS -fPIC"
9360 LDDLLFLAGS="-fPIC" ;;
9361 esac
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9363 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9364 if ${ac_cv_c_dll_gnuelf+:} false; then :
9365 $as_echo_n "(cached) " >&6
9366 else
9367 ac_wine_try_cflags_saved=$CFLAGS
9368 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9371 void myfunc() {}
9372 _ACEOF
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9375 else
9376 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 CFLAGS=$ac_wine_try_cflags_saved
9381 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9382 ac_cv_c_dll_gnuelf="yes"
9383 else
9384 ac_cv_c_dll_gnuelf="no"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9388 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9389 if test "$ac_cv_c_dll_gnuelf" = "yes"
9390 then
9391 LIBWINE_LDFLAGS="-shared"
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9393 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9394 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9405 else
9406 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9413 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9414 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9415 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9416 else
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9418 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9419 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_wine_try_cflags_saved=$CFLAGS
9423 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9426 int main(int argc, char **argv) { return 0; }
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9430 else
9431 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 CFLAGS=$ac_wine_try_cflags_saved
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9438 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9439 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9440 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9444 echo '{ global: *; };' >conftest.map
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9446 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9447 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 ac_wine_try_cflags_saved=$CFLAGS
9451 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9454 int main(int argc, char **argv) { return 0; }
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9457 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9458 else
9459 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 CFLAGS=$ac_wine_try_cflags_saved
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9466 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9467 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9468 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9470 rm -f conftest.map
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9473 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9474 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_wine_try_cflags_saved=$CFLAGS
9478 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_cflags__Wl___export_dynamic=yes
9485 else
9486 ac_cv_cflags__Wl___export_dynamic=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9493 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9494 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9495 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9497 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9499 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9501 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9502 if eval \${$as_ac_var+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 eval "$as_ac_var=yes"
9513 else
9514 eval "$as_ac_var=no"
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 CFLAGS=$ac_wine_try_cflags_saved
9520 eval ac_res=\$$as_ac_var
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9522 $as_echo "$ac_res" >&6; }
9523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9524 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9525 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9526 else
9527 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9529 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9530 if eval \${$as_ac_var+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_wine_try_cflags_saved=$CFLAGS
9534 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 int main(int argc, char **argv) { return 0; }
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 eval "$as_ac_var=yes"
9541 else
9542 eval "$as_ac_var=no"
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 CFLAGS=$ac_wine_try_cflags_saved
9548 eval ac_res=\$$as_ac_var
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9550 $as_echo "$ac_res" >&6; }
9551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9552 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9553 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9558 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9559 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_wine_try_cflags_saved=$CFLAGS
9563 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566 int main(int argc, char **argv) { return 0; }
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_cflags__Wl___enable_new_dtags=yes
9570 else
9571 ac_cv_cflags__Wl___enable_new_dtags=no
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 CFLAGS=$ac_wine_try_cflags_saved
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9578 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9579 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9580 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9583 case $host_cpu in
9584 *i[3456789]86* | x86_64 | *aarch64*)
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9586 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9587 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_wine_try_cflags_saved=$CFLAGS
9591 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594 int main(int argc, char **argv) { return 0; }
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9598 else
9599 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 CFLAGS=$ac_wine_try_cflags_saved
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9606 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9607 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9608 case $host_os in
9609 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9610 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9611 esac
9612 else
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9614 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9615 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_wine_try_cflags_saved=$CFLAGS
9619 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9622 int main(int argc, char **argv) { return 0; }
9623 _ACEOF
9624 if ac_fn_c_try_link "$LINENO"; then :
9625 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9626 else
9627 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9629 rm -f core conftest.err conftest.$ac_objext \
9630 conftest$ac_exeext conftest.$ac_ext
9631 CFLAGS=$ac_wine_try_cflags_saved
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9634 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9635 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9636 case $host_os in
9637 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9638 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9639 esac
9641 # Extract the first word of "prelink", so it can be a program name with args.
9642 set dummy prelink; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if ${ac_cv_path_PRELINK+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 case $PRELINK in
9649 [\\/]* | ?:[\\/]*)
9650 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 for as_dir in /sbin /usr/sbin $PATH
9656 IFS=$as_save_IFS
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9662 break 2
9664 done
9665 done
9666 IFS=$as_save_IFS
9668 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9670 esac
9672 PRELINK=$ac_cv_path_PRELINK
9673 if test -n "$PRELINK"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9675 $as_echo "$PRELINK" >&6; }
9676 else
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9682 if test "x$PRELINK" = xfalse
9683 then
9684 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9688 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9689 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9690 $as_echo_n "(cached) " >&6
9691 else
9692 ac_wine_try_cflags_saved=$CFLAGS
9693 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9696 int main(int argc, char **argv) { return 0; }
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9699 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9700 else
9701 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9703 rm -f core conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9705 CFLAGS=$ac_wine_try_cflags_saved
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9708 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9709 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9710 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9713 esac
9715 else
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9717 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9718 if ${ac_cv_c_dll_unixware+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 ac_wine_try_cflags_saved=$CFLAGS
9722 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9725 void myfunc() {}
9726 _ACEOF
9727 if ac_fn_c_try_link "$LINENO"; then :
9728 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9729 else
9730 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9732 rm -f core conftest.err conftest.$ac_objext \
9733 conftest$ac_exeext conftest.$ac_ext
9734 CFLAGS=$ac_wine_try_cflags_saved
9735 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9736 ac_cv_c_dll_unixware="yes"
9737 else
9738 ac_cv_c_dll_unixware="no"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9742 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9743 if test "$ac_cv_c_dll_unixware" = "yes"
9744 then
9745 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9748 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9750 LIBWINE_DEPENDS="wine.map"
9752 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9753 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9755 esac
9757 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9758 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9759 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9760 enable_winemac_drv=${enable_winemac_drv:-no}
9761 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9764 if test "x$with_mingw" != xno
9765 then
9766 case "x$with_mingw" in
9767 x|xyes) case "$host_cpu" in
9768 aarch64*)
9769 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9770 arm*)
9771 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9772 i[3456789]86*)
9773 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
9774 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9775 mingw32-gcc" ;;
9776 x86_64)
9777 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
9778 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9780 ac_prefix_list="" ;;
9781 esac
9782 for ac_prog in $ac_prefix_list
9784 # Extract the first word of "$ac_prog", so it can be a program name with args.
9785 set dummy $ac_prog; ac_word=$2
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9787 $as_echo_n "checking for $ac_word... " >&6; }
9788 if ${ac_cv_prog_CROSSCC+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 if test -n "$CROSSCC"; then
9792 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9793 else
9794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9795 for as_dir in $PATH
9797 IFS=$as_save_IFS
9798 test -z "$as_dir" && as_dir=.
9799 for ac_exec_ext in '' $ac_executable_extensions; do
9800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9801 ac_cv_prog_CROSSCC="$ac_prog"
9802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9803 break 2
9805 done
9806 done
9807 IFS=$as_save_IFS
9811 CROSSCC=$ac_cv_prog_CROSSCC
9812 if test -n "$CROSSCC"; then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9814 $as_echo "$CROSSCC" >&6; }
9815 else
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9817 $as_echo "no" >&6; }
9821 test -n "$CROSSCC" && break
9822 done
9823 test -n "$CROSSCC" || CROSSCC="false"
9825 *) CROSSCC=$with_mingw ;;
9826 esac
9827 if test "$CROSSCC" != "false"
9828 then
9829 ac_save_CC="$CC"
9830 saved_CFLAGS=$CFLAGS
9831 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9833 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9837 CC="$CROSSCC"
9838 CFLAGS=$CROSSCFLAGS
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9840 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9841 if ${wine_cv_crosscc+:} false; then :
9842 $as_echo_n "(cached) " >&6
9843 else
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9848 main ()
9852 return 0;
9854 _ACEOF
9855 if ac_fn_c_try_compile "$LINENO"; then :
9856 wine_cv_crosscc=yes
9857 else
9858 wine_cv_crosscc=no
9860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9863 $as_echo "$wine_cv_crosscc" >&6; }
9864 if test $wine_cv_crosscc = yes
9865 then
9866 set x $CROSSCC
9867 shift
9868 while test $# -ge 1
9870 case "$1" in
9871 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9872 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9873 esac
9874 shift
9875 done
9877 llvm_target=$CROSSTARGET
9878 llvm_cflags="-fuse-ld=lld"
9879 if test -z "$llvm_target"
9880 then
9881 case $host_cpu in
9882 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9883 *) llvm_target=$host_cpu-windows-gnu ;;
9884 esac
9886 case $llvm_target in
9887 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9888 esac
9889 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9891 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9892 if eval \${$as_ac_var+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_wine_try_cflags_saved=$CFLAGS
9896 ac_wine_try_cflags_saved_cc=$CC
9897 ac_wine_try_cflags_saved_exeext=$ac_exeext
9898 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9899 CC="$CROSSCC"
9900 ac_exeext=".exe"
9901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 /* end confdefs.h. */
9903 int __cdecl mainCRTStartup(void) { return 0; }
9904 _ACEOF
9905 if ac_fn_c_try_link "$LINENO"; then :
9906 eval "$as_ac_var=yes"
9907 else
9908 eval "$as_ac_var=no"
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 CFLAGS=$ac_wine_try_cflags_saved
9913 CC=$ac_wine_try_cflags_saved_cc
9914 ac_exeext=$ac_wine_try_cflags_saved_exeext
9916 eval ac_res=\$$as_ac_var
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9918 $as_echo "$ac_res" >&6; }
9919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9920 CROSSTARGET=$llvm_target
9921 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9922 DELAYLOADFLAG="-Wl,-delayload,"
9924 CFLAGS="$CFLAGS $llvm_cflags"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9928 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9929 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 ac_wine_try_cflags_saved_cc=$CC
9934 ac_wine_try_cflags_saved_exeext=$ac_exeext
9935 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9936 CC="$CROSSCC"
9937 ac_exeext=".exe"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int __cdecl mainCRTStartup(void) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_crosscflags__fno_strict_aliasing=yes
9944 else
9945 ac_cv_crosscflags__fno_strict_aliasing=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9950 CC=$ac_wine_try_cflags_saved_cc
9951 ac_exeext=$ac_wine_try_cflags_saved_exeext
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9954 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9955 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9959 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9960 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 ac_wine_try_cflags_saved_cc=$CC
9965 ac_wine_try_cflags_saved_exeext=$ac_exeext
9966 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9967 CC="$CROSSCC"
9968 ac_exeext=".exe"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int __cdecl mainCRTStartup(void) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9975 else
9976 ac_cv_crosscflags__Werror_unknown_warning_option=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 CFLAGS=$ac_wine_try_cflags_saved
9981 CC=$ac_wine_try_cflags_saved_cc
9982 ac_exeext=$ac_wine_try_cflags_saved_exeext
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9985 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9986 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9987 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9990 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9991 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_wine_try_cflags_saved=$CFLAGS
9995 ac_wine_try_cflags_saved_cc=$CC
9996 ac_wine_try_cflags_saved_exeext=$ac_exeext
9997 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9998 CC="$CROSSCC"
9999 ac_exeext=".exe"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int __cdecl mainCRTStartup(void) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10006 else
10007 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10012 CC=$ac_wine_try_cflags_saved_cc
10013 ac_exeext=$ac_wine_try_cflags_saved_exeext
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10016 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10017 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10018 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10021 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10022 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_wine_try_cflags_saved=$CFLAGS
10026 ac_wine_try_cflags_saved_cc=$CC
10027 ac_wine_try_cflags_saved_exeext=$ac_exeext
10028 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10029 CC="$CROSSCC"
10030 ac_exeext=".exe"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10033 int __cdecl mainCRTStartup(void) { return 0; }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10037 else
10038 ac_cv_crosscflags__Wdeclaration_after_statement=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 CFLAGS=$ac_wine_try_cflags_saved
10043 CC=$ac_wine_try_cflags_saved_cc
10044 ac_exeext=$ac_wine_try_cflags_saved_exeext
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10047 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10048 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10052 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10053 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_wine_try_cflags_saved=$CFLAGS
10057 ac_wine_try_cflags_saved_cc=$CC
10058 ac_wine_try_cflags_saved_exeext=$ac_exeext
10059 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10060 CC="$CROSSCC"
10061 ac_exeext=".exe"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 int __cdecl mainCRTStartup(void) { return 0; }
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 ac_cv_crosscflags__Wempty_body=yes
10068 else
10069 ac_cv_crosscflags__Wempty_body=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 CFLAGS=$ac_wine_try_cflags_saved
10074 CC=$ac_wine_try_cflags_saved_cc
10075 ac_exeext=$ac_wine_try_cflags_saved_exeext
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10078 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10079 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10083 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10084 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 ac_wine_try_cflags_saved_cc=$CC
10089 ac_wine_try_cflags_saved_exeext=$ac_exeext
10090 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10091 CC="$CROSSCC"
10092 ac_exeext=".exe"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int __cdecl mainCRTStartup(void) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_crosscflags__Wignored_qualifiers=yes
10099 else
10100 ac_cv_crosscflags__Wignored_qualifiers=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10105 CC=$ac_wine_try_cflags_saved_cc
10106 ac_exeext=$ac_wine_try_cflags_saved_exeext
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10109 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10110 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10114 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10115 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 ac_wine_try_cflags_saved_cc=$CC
10120 ac_wine_try_cflags_saved_exeext=$ac_exeext
10121 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10122 CC="$CROSSCC"
10123 ac_exeext=".exe"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 int __cdecl mainCRTStartup(void) { return 0; }
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_crosscflags__Wpacked_not_aligned=yes
10130 else
10131 ac_cv_crosscflags__Wpacked_not_aligned=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10136 CC=$ac_wine_try_cflags_saved_cc
10137 ac_exeext=$ac_wine_try_cflags_saved_exeext
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10140 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10141 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10145 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10146 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 ac_wine_try_cflags_saved_cc=$CC
10151 ac_wine_try_cflags_saved_exeext=$ac_exeext
10152 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10153 CC="$CROSSCC"
10154 ac_exeext=".exe"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int __cdecl mainCRTStartup(void) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_crosscflags__Wpragma_pack=yes
10161 else
10162 ac_cv_crosscflags__Wpragma_pack=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10167 CC=$ac_wine_try_cflags_saved_cc
10168 ac_exeext=$ac_wine_try_cflags_saved_exeext
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10171 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10172 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10173 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10176 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10177 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 ac_wine_try_cflags_saved_cc=$CC
10182 ac_wine_try_cflags_saved_exeext=$ac_exeext
10183 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10184 CC="$CROSSCC"
10185 ac_exeext=".exe"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int __cdecl mainCRTStartup(void) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_crosscflags__Wshift_overflow_2=yes
10192 else
10193 ac_cv_crosscflags__Wshift_overflow_2=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10198 CC=$ac_wine_try_cflags_saved_cc
10199 ac_exeext=$ac_wine_try_cflags_saved_exeext
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10202 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10203 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10204 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10207 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10208 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 ac_wine_try_cflags_saved_cc=$CC
10213 ac_wine_try_cflags_saved_exeext=$ac_exeext
10214 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10215 CC="$CROSSCC"
10216 ac_exeext=".exe"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 int __cdecl mainCRTStartup(void) { return 0; }
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_crosscflags__Wstrict_prototypes=yes
10223 else
10224 ac_cv_crosscflags__Wstrict_prototypes=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 CFLAGS=$ac_wine_try_cflags_saved
10229 CC=$ac_wine_try_cflags_saved_cc
10230 ac_exeext=$ac_wine_try_cflags_saved_exeext
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10233 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10234 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10235 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10238 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10239 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 ac_wine_try_cflags_saved_cc=$CC
10244 ac_wine_try_cflags_saved_exeext=$ac_exeext
10245 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10246 CC="$CROSSCC"
10247 ac_exeext=".exe"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int __cdecl mainCRTStartup(void) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 ac_cv_crosscflags__Wtype_limits=yes
10254 else
10255 ac_cv_crosscflags__Wtype_limits=no
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10260 CC=$ac_wine_try_cflags_saved_cc
10261 ac_exeext=$ac_wine_try_cflags_saved_exeext
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10264 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10265 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10266 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10270 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int __cdecl mainCRTStartup(void) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10285 else
10286 ac_cv_crosscflags__Wunused_but_set_parameter=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10295 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10296 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10301 if ${ac_cv_crosscflags__Wvla+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int __cdecl mainCRTStartup(void) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__Wvla=yes
10316 else
10317 ac_cv_crosscflags__Wvla=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10326 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10327 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10331 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10332 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10333 $as_echo_n "(cached) " >&6
10334 else
10335 ac_wine_try_cflags_saved=$CFLAGS
10336 ac_wine_try_cflags_saved_cc=$CC
10337 ac_wine_try_cflags_saved_exeext=$ac_exeext
10338 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10339 CC="$CROSSCC"
10340 ac_exeext=".exe"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int __cdecl mainCRTStartup(void) { return 0; }
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_crosscflags__Wwrite_strings=yes
10347 else
10348 ac_cv_crosscflags__Wwrite_strings=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 CFLAGS=$ac_wine_try_cflags_saved
10353 CC=$ac_wine_try_cflags_saved_cc
10354 ac_exeext=$ac_wine_try_cflags_saved_exeext
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10357 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10358 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10359 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10362 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10363 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10364 $as_echo_n "(cached) " >&6
10365 else
10366 ac_wine_try_cflags_saved=$CFLAGS
10367 ac_wine_try_cflags_saved_cc=$CC
10368 ac_wine_try_cflags_saved_exeext=$ac_exeext
10369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10370 CC="$CROSSCC"
10371 ac_exeext=".exe"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10374 int __cdecl mainCRTStartup(void) { return 0; }
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_crosscflags__Wpointer_arith=yes
10378 else
10379 ac_cv_crosscflags__Wpointer_arith=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 CFLAGS=$ac_wine_try_cflags_saved
10384 CC=$ac_wine_try_cflags_saved_cc
10385 ac_exeext=$ac_wine_try_cflags_saved_exeext
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10388 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10389 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10390 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10393 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10394 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_wine_try_cflags_saved=$CFLAGS
10398 ac_wine_try_cflags_saved_cc=$CC
10399 ac_wine_try_cflags_saved_exeext=$ac_exeext
10400 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10401 CC="$CROSSCC"
10402 ac_exeext=".exe"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 int __cdecl mainCRTStartup(void) { return 0; }
10406 _ACEOF
10407 if ac_fn_c_try_link "$LINENO"; then :
10408 ac_cv_crosscflags__Wlogical_op=yes
10409 else
10410 ac_cv_crosscflags__Wlogical_op=no
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 CFLAGS=$ac_wine_try_cflags_saved
10415 CC=$ac_wine_try_cflags_saved_cc
10416 ac_exeext=$ac_wine_try_cflags_saved_exeext
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10419 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10420 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10421 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10424 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10425 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10426 $as_echo_n "(cached) " >&6
10427 else
10428 ac_wine_try_cflags_saved=$CFLAGS
10429 ac_wine_try_cflags_saved_cc=$CC
10430 ac_wine_try_cflags_saved_exeext=$ac_exeext
10431 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10432 CC="$CROSSCC"
10433 ac_exeext=".exe"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 int __cdecl mainCRTStartup(void) { return 0; }
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 ac_cv_crosscflags__Wabsolute_value=yes
10440 else
10441 ac_cv_crosscflags__Wabsolute_value=no
10443 rm -f core conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 CFLAGS=$ac_wine_try_cflags_saved
10446 CC=$ac_wine_try_cflags_saved_cc
10447 ac_exeext=$ac_wine_try_cflags_saved_exeext
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10450 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10451 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10452 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10455 case $host_cpu in
10456 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10457 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10458 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_wine_try_cflags_saved=$CFLAGS
10462 ac_wine_try_cflags_saved_cc=$CC
10463 ac_wine_try_cflags_saved_exeext=$ac_exeext
10464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10465 CC="$CROSSCC"
10466 ac_exeext=".exe"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10469 int __cdecl mainCRTStartup(void) { return 0; }
10470 _ACEOF
10471 if ac_fn_c_try_link "$LINENO"; then :
10472 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10473 else
10474 ac_cv_crosscflags__fno_omit_frame_pointer=no
10476 rm -f core conftest.err conftest.$ac_objext \
10477 conftest$ac_exeext conftest.$ac_ext
10478 CFLAGS=$ac_wine_try_cflags_saved
10479 CC=$ac_wine_try_cflags_saved_cc
10480 ac_exeext=$ac_wine_try_cflags_saved_exeext
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10483 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10484 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10485 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10486 fi ;;
10487 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10488 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10489 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_wine_try_cflags_saved=$CFLAGS
10493 ac_wine_try_cflags_saved_cc=$CC
10494 ac_wine_try_cflags_saved_exeext=$ac_exeext
10495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10496 CC="$CROSSCC"
10497 ac_exeext=".exe"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 int __cdecl mainCRTStartup(void) { return 0; }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_crosscflags__Wno_format=yes
10504 else
10505 ac_cv_crosscflags__Wno_format=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 CFLAGS=$ac_wine_try_cflags_saved
10510 CC=$ac_wine_try_cflags_saved_cc
10511 ac_exeext=$ac_wine_try_cflags_saved_exeext
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10514 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10515 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10520 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__Wformat_overflow=yes
10535 else
10536 ac_cv_crosscflags__Wformat_overflow=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10545 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10546 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10550 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10551 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10552 $as_echo_n "(cached) " >&6
10553 else
10554 ac_wine_try_cflags_saved=$CFLAGS
10555 ac_wine_try_cflags_saved_cc=$CC
10556 ac_wine_try_cflags_saved_exeext=$ac_exeext
10557 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10558 CC="$CROSSCC"
10559 ac_exeext=".exe"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int __cdecl mainCRTStartup(void) { return 0; }
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 ac_cv_crosscflags__Wnonnull=yes
10566 else
10567 ac_cv_crosscflags__Wnonnull=no
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 CFLAGS=$ac_wine_try_cflags_saved
10572 CC=$ac_wine_try_cflags_saved_cc
10573 ac_exeext=$ac_wine_try_cflags_saved_exeext
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10576 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10577 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10578 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10579 fi ;;
10580 esac
10583 if test -z "$CROSSDEBUG"
10584 then
10585 for ac_flag in $CROSSCFLAGS; do
10586 case $ac_flag in
10587 -gdwarf*) CROSSDEBUG=dwarf ;;
10588 -gcodeview) CROSSDEBUG=pdb ;;
10589 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10590 esac
10591 done
10593 case $CROSSDEBUG in
10594 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10595 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10596 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10597 $as_echo_n "(cached) " >&6
10598 else
10599 ac_wine_try_cflags_saved=$CFLAGS
10600 ac_wine_try_cflags_saved_cc=$CC
10601 ac_wine_try_cflags_saved_exeext=$ac_exeext
10602 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10603 CC="$CROSSCC"
10604 ac_exeext=".exe"
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10607 int __cdecl mainCRTStartup(void) { return 0; }
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"; then :
10610 ac_cv_crosscflags__gdwarf_2=yes
10611 else
10612 ac_cv_crosscflags__gdwarf_2=no
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 CFLAGS=$ac_wine_try_cflags_saved
10617 CC=$ac_wine_try_cflags_saved_cc
10618 ac_exeext=$ac_wine_try_cflags_saved_exeext
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10621 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10622 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10626 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10627 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10628 $as_echo_n "(cached) " >&6
10629 else
10630 ac_wine_try_cflags_saved=$CFLAGS
10631 ac_wine_try_cflags_saved_cc=$CC
10632 ac_wine_try_cflags_saved_exeext=$ac_exeext
10633 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10634 CC="$CROSSCC"
10635 ac_exeext=".exe"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10638 int __cdecl mainCRTStartup(void) { return 0; }
10639 _ACEOF
10640 if ac_fn_c_try_link "$LINENO"; then :
10641 ac_cv_crosscflags__gstrict_dwarf=yes
10642 else
10643 ac_cv_crosscflags__gstrict_dwarf=no
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 CFLAGS=$ac_wine_try_cflags_saved
10648 CC=$ac_wine_try_cflags_saved_cc
10649 ac_exeext=$ac_wine_try_cflags_saved_exeext
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10652 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10653 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10654 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10655 fi ;;
10656 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10657 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10658 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_wine_try_cflags_saved=$CFLAGS
10662 ac_wine_try_cflags_saved_cc=$CC
10663 ac_wine_try_cflags_saved_exeext=$ac_exeext
10664 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10665 CC="$CROSSCC"
10666 ac_exeext=".exe"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 int __cdecl mainCRTStartup(void) { return 0; }
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"; then :
10672 ac_cv_crosscflags__gcodeview=yes
10673 else
10674 ac_cv_crosscflags__gcodeview=no
10676 rm -f core conftest.err conftest.$ac_objext \
10677 conftest$ac_exeext conftest.$ac_ext
10678 CFLAGS=$ac_wine_try_cflags_saved
10679 CC=$ac_wine_try_cflags_saved_cc
10680 ac_exeext=$ac_wine_try_cflags_saved_exeext
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10683 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10684 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10685 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10686 fi ;;
10687 esac
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10690 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10691 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_wine_try_cflags_saved=$CFLAGS
10695 ac_wine_try_cflags_saved_cc=$CC
10696 ac_wine_try_cflags_saved_exeext=$ac_exeext
10697 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10698 CC="$CROSSCC"
10699 ac_exeext=".exe"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10702 int __cdecl mainCRTStartup(void) { return 0; }
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 ac_cv_crosscflags__fexcess_precision_standard=yes
10706 else
10707 ac_cv_crosscflags__fexcess_precision_standard=no
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 CFLAGS=$ac_wine_try_cflags_saved
10712 CC=$ac_wine_try_cflags_saved_cc
10713 ac_exeext=$ac_wine_try_cflags_saved_exeext
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10716 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10717 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10718 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10722 if test "x$enable_werror" = "xyes"
10723 then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10725 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10726 if ${ac_cv_crosscflags__Werror+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_wine_try_cflags_saved=$CFLAGS
10730 ac_wine_try_cflags_saved_cc=$CC
10731 ac_wine_try_cflags_saved_exeext=$ac_exeext
10732 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10733 CC="$CROSSCC"
10734 ac_exeext=".exe"
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10737 int __cdecl mainCRTStartup(void) { return 0; }
10738 _ACEOF
10739 if ac_fn_c_try_link "$LINENO"; then :
10740 ac_cv_crosscflags__Werror=yes
10741 else
10742 ac_cv_crosscflags__Werror=no
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 CFLAGS=$ac_wine_try_cflags_saved
10747 CC=$ac_wine_try_cflags_saved_cc
10748 ac_exeext=$ac_wine_try_cflags_saved_exeext
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10751 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10752 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10753 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10757 CFLAGS=$saved_CFLAGS
10758 CC="$ac_save_CC"
10761 if test "x$CROSSTARGET" = "x"; then :
10762 case "x$with_mingw" in
10763 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10764 xno) ;;
10765 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10766 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10767 esac
10772 if test "$ac_cv_header_pthread_h" = "yes"
10773 then
10774 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10775 if test "x$ac_cv_func_pthread_create" = xyes; then :
10777 else
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10779 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10780 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10781 $as_echo_n "(cached) " >&6
10782 else
10783 ac_check_lib_save_LIBS=$LIBS
10784 LIBS="-lpthread $LIBS"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10791 #ifdef __cplusplus
10792 extern "C"
10793 #endif
10794 char pthread_create ();
10796 main ()
10798 return pthread_create ();
10800 return 0;
10802 _ACEOF
10803 if ac_fn_c_try_link "$LINENO"; then :
10804 ac_cv_lib_pthread_pthread_create=yes
10805 else
10806 ac_cv_lib_pthread_pthread_create=no
10808 rm -f core conftest.err conftest.$ac_objext \
10809 conftest$ac_exeext conftest.$ac_ext
10810 LIBS=$ac_check_lib_save_LIBS
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10813 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10814 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10815 PTHREAD_LIBS="-lpthread"
10822 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10823 case "x$with_pthread" in
10824 xno) ;;
10825 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10826 Wine cannot support threads without libpthread.
10827 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10828 esac
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10834 $as_echo_n "checking for X... " >&6; }
10837 # Check whether --with-x was given.
10838 if test "${with_x+set}" = set; then :
10839 withval=$with_x;
10842 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10843 if test "x$with_x" = xno; then
10844 # The user explicitly disabled X.
10845 have_x=disabled
10846 else
10847 case $x_includes,$x_libraries in #(
10848 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10849 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10850 $as_echo_n "(cached) " >&6
10851 else
10852 # One or both of the vars are not set, and there is no cached value.
10853 ac_x_includes=no ac_x_libraries=no
10854 rm -f -r conftest.dir
10855 if mkdir conftest.dir; then
10856 cd conftest.dir
10857 cat >Imakefile <<'_ACEOF'
10858 incroot:
10859 @echo incroot='${INCROOT}'
10860 usrlibdir:
10861 @echo usrlibdir='${USRLIBDIR}'
10862 libdir:
10863 @echo libdir='${LIBDIR}'
10864 _ACEOF
10865 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10866 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10867 for ac_var in incroot usrlibdir libdir; do
10868 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10869 done
10870 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10871 for ac_extension in a so sl dylib la dll; do
10872 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10873 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10874 ac_im_usrlibdir=$ac_im_libdir; break
10876 done
10877 # Screen out bogus values from the imake configuration. They are
10878 # bogus both because they are the default anyway, and because
10879 # using them would break gcc on systems where it needs fixed includes.
10880 case $ac_im_incroot in
10881 /usr/include) ac_x_includes= ;;
10882 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10883 esac
10884 case $ac_im_usrlibdir in
10885 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10886 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10887 esac
10889 cd ..
10890 rm -f -r conftest.dir
10893 # Standard set of common directories for X headers.
10894 # Check X11 before X11Rn because it is often a symlink to the current release.
10895 ac_x_header_dirs='
10896 /usr/X11/include
10897 /usr/X11R7/include
10898 /usr/X11R6/include
10899 /usr/X11R5/include
10900 /usr/X11R4/include
10902 /usr/include/X11
10903 /usr/include/X11R7
10904 /usr/include/X11R6
10905 /usr/include/X11R5
10906 /usr/include/X11R4
10908 /usr/local/X11/include
10909 /usr/local/X11R7/include
10910 /usr/local/X11R6/include
10911 /usr/local/X11R5/include
10912 /usr/local/X11R4/include
10914 /usr/local/include/X11
10915 /usr/local/include/X11R7
10916 /usr/local/include/X11R6
10917 /usr/local/include/X11R5
10918 /usr/local/include/X11R4
10920 /usr/X386/include
10921 /usr/x386/include
10922 /usr/XFree86/include/X11
10924 /usr/include
10925 /usr/local/include
10926 /usr/unsupported/include
10927 /usr/athena/include
10928 /usr/local/x11r5/include
10929 /usr/lpp/Xamples/include
10931 /usr/openwin/include
10932 /usr/openwin/share/include'
10934 if test "$ac_x_includes" = no; then
10935 # Guess where to find include files, by looking for Xlib.h.
10936 # First, try using that file with no special directory specified.
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 #include <X11/Xlib.h>
10940 _ACEOF
10941 if ac_fn_c_try_cpp "$LINENO"; then :
10942 # We can compile using X headers with no special include directory.
10943 ac_x_includes=
10944 else
10945 for ac_dir in $ac_x_header_dirs; do
10946 if test -r "$ac_dir/X11/Xlib.h"; then
10947 ac_x_includes=$ac_dir
10948 break
10950 done
10952 rm -f conftest.err conftest.i conftest.$ac_ext
10953 fi # $ac_x_includes = no
10955 if test "$ac_x_libraries" = no; then
10956 # Check for the libraries.
10957 # See if we find them without any special options.
10958 # Don't add to $LIBS permanently.
10959 ac_save_LIBS=$LIBS
10960 LIBS="-lX11 $LIBS"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 #include <X11/Xlib.h>
10965 main ()
10967 XrmInitialize ()
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 LIBS=$ac_save_LIBS
10974 # We can link X programs with no special library path.
10975 ac_x_libraries=
10976 else
10977 LIBS=$ac_save_LIBS
10978 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10980 # Don't even attempt the hair of trying to link an X program!
10981 for ac_extension in a so sl dylib la dll; do
10982 if test -r "$ac_dir/libX11.$ac_extension"; then
10983 ac_x_libraries=$ac_dir
10984 break 2
10986 done
10987 done
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 fi # $ac_x_libraries = no
10993 case $ac_x_includes,$ac_x_libraries in #(
10994 no,* | *,no | *\'*)
10995 # Didn't find X, or a directory has "'" in its name.
10996 ac_cv_have_x="have_x=no";; #(
10998 # Record where we found X for the cache.
10999 ac_cv_have_x="have_x=yes\
11000 ac_x_includes='$ac_x_includes'\
11001 ac_x_libraries='$ac_x_libraries'"
11002 esac
11004 ;; #(
11005 *) have_x=yes;;
11006 esac
11007 eval "$ac_cv_have_x"
11008 fi # $with_x != no
11010 if test "$have_x" != yes; then
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11012 $as_echo "$have_x" >&6; }
11013 no_x=yes
11014 else
11015 # If each of the values was on the command line, it overrides each guess.
11016 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11017 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11018 # Update the cache value to reflect the command line values.
11019 ac_cv_have_x="have_x=yes\
11020 ac_x_includes='$x_includes'\
11021 ac_x_libraries='$x_libraries'"
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11023 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11026 if test "$no_x" = yes; then
11027 # Not all programs may use this symbol, but it does not hurt to define it.
11029 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11031 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11032 else
11033 if test -n "$x_includes"; then
11034 X_CFLAGS="$X_CFLAGS -I$x_includes"
11037 # It would also be nice to do this for all -L options, not just this one.
11038 if test -n "$x_libraries"; then
11039 X_LIBS="$X_LIBS -L$x_libraries"
11040 # For Solaris; some versions of Sun CC require a space after -R and
11041 # others require no space. Words are not sufficient . . . .
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11043 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11044 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11045 ac_xsave_c_werror_flag=$ac_c_werror_flag
11046 ac_c_werror_flag=yes
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11051 main ()
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11060 $as_echo "no" >&6; }
11061 X_LIBS="$X_LIBS -R$x_libraries"
11062 else
11063 LIBS="$ac_xsave_LIBS -R $x_libraries"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11068 main ()
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11077 $as_echo "yes" >&6; }
11078 X_LIBS="$X_LIBS -R $x_libraries"
11079 else
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11081 $as_echo "neither works" >&6; }
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 ac_c_werror_flag=$ac_xsave_c_werror_flag
11089 LIBS=$ac_xsave_LIBS
11092 # Check for system-dependent libraries X programs must link with.
11093 # Do this before checking for the system-independent R6 libraries
11094 # (-lICE), since we may need -lsocket or whatever for X linking.
11096 if test "$ISC" = yes; then
11097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11098 else
11099 # Martyn Johnson says this is needed for Ultrix, if the X
11100 # libraries were built with DECnet support. And Karl Berry says
11101 # the Alpha needs dnet_stub (dnet does not exist).
11102 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char XOpenDisplay ();
11114 main ()
11116 return XOpenDisplay ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11123 else
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11125 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11126 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11127 $as_echo_n "(cached) " >&6
11128 else
11129 ac_check_lib_save_LIBS=$LIBS
11130 LIBS="-ldnet $LIBS"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11137 #ifdef __cplusplus
11138 extern "C"
11139 #endif
11140 char dnet_ntoa ();
11142 main ()
11144 return dnet_ntoa ();
11146 return 0;
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"; then :
11150 ac_cv_lib_dnet_dnet_ntoa=yes
11151 else
11152 ac_cv_lib_dnet_dnet_ntoa=no
11154 rm -f core conftest.err conftest.$ac_objext \
11155 conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11159 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11160 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11161 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11164 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11166 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11167 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-ldnet_stub $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char dnet_ntoa ();
11183 main ()
11185 return dnet_ntoa ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11192 else
11193 ac_cv_lib_dnet_stub_dnet_ntoa=no
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11200 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11201 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11202 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS="$ac_xsave_LIBS"
11211 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11212 # to get the SysV transport functions.
11213 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11214 # needs -lnsl.
11215 # The nsl library prevents programs from opening the X display
11216 # on Irix 5.2, according to T.E. Dickey.
11217 # The functions gethostbyname, getservbyname, and inet_addr are
11218 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11219 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11220 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11224 if test $ac_cv_func_gethostbyname = no; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11226 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11227 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-lnsl $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char gethostbyname ();
11243 main ()
11245 return gethostbyname ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 ac_cv_lib_nsl_gethostbyname=yes
11252 else
11253 ac_cv_lib_nsl_gethostbyname=no
11255 rm -f core conftest.err conftest.$ac_objext \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11260 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11261 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11265 if test $ac_cv_lib_nsl_gethostbyname = no; then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11267 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11268 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-lbsd $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char gethostbyname ();
11284 main ()
11286 return gethostbyname ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 ac_cv_lib_bsd_gethostbyname=yes
11293 else
11294 ac_cv_lib_bsd_gethostbyname=no
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_lib_save_LIBS
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11301 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11302 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11309 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11310 # socket/setsockopt and other routines are undefined under SCO ODT
11311 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11312 # on later versions), says Simon Leinen: it contains gethostby*
11313 # variants that don't use the name server (or something). -lsocket
11314 # must be given before -lnsl if both are needed. We assume that
11315 # if connect needs -lnsl, so does gethostbyname.
11316 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11317 if test "x$ac_cv_func_connect" = xyes; then :
11321 if test $ac_cv_func_connect = no; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11323 $as_echo_n "checking for connect in -lsocket... " >&6; }
11324 if ${ac_cv_lib_socket_connect+:} false; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char connect ();
11340 main ()
11342 return connect ();
11344 return 0;
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 ac_cv_lib_socket_connect=yes
11349 else
11350 ac_cv_lib_socket_connect=no
11352 rm -f core conftest.err conftest.$ac_objext \
11353 conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11357 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11358 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11359 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11364 # Guillermo Gomez says -lposix is necessary on A/UX.
11365 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11366 if test "x$ac_cv_func_remove" = xyes; then :
11370 if test $ac_cv_func_remove = no; then
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11372 $as_echo_n "checking for remove in -lposix... " >&6; }
11373 if ${ac_cv_lib_posix_remove+:} false; then :
11374 $as_echo_n "(cached) " >&6
11375 else
11376 ac_check_lib_save_LIBS=$LIBS
11377 LIBS="-lposix $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 remove ();
11389 main ()
11391 return remove ();
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 ac_cv_lib_posix_remove=yes
11398 else
11399 ac_cv_lib_posix_remove=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_posix_remove" >&5
11406 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11407 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11413 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11414 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11415 if test "x$ac_cv_func_shmat" = xyes; then :
11419 if test $ac_cv_func_shmat = no; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11421 $as_echo_n "checking for shmat in -lipc... " >&6; }
11422 if ${ac_cv_lib_ipc_shmat+:} false; then :
11423 $as_echo_n "(cached) " >&6
11424 else
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lipc $LIBS"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char shmat ();
11438 main ()
11440 return shmat ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 ac_cv_lib_ipc_shmat=yes
11447 else
11448 ac_cv_lib_ipc_shmat=no
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11455 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11456 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11463 # Check for libraries that X11R6 Xt/Xaw programs need.
11464 ac_save_LDFLAGS=$LDFLAGS
11465 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11466 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11467 # check for ICE first), but we must link in the order -lSM -lICE or
11468 # we get undefined symbols. So assume we have SM if we have ICE.
11469 # These have to be linked with before -lX11, unlike the other
11470 # libraries we check for below, so use a different variable.
11471 # John Interrante, Karl Berry
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11473 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11474 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_lib_save_LIBS=$LIBS
11478 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char IceConnectionNumber ();
11490 main ()
11492 return IceConnectionNumber ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_ICE_IceConnectionNumber=yes
11499 else
11500 ac_cv_lib_ICE_IceConnectionNumber=no
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11507 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11508 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11509 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11512 LDFLAGS=$ac_save_LDFLAGS
11517 if test "$have_x" = "yes"
11518 then
11519 ac_save_CPPFLAGS="$CPPFLAGS"
11520 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11523 $as_echo_n "checking for -lX11... " >&6; }
11524 if ${ac_cv_lib_soname_X11+:} false; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 ac_check_soname_save_LIBS=$LIBS
11528 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char XCreateWindow ();
11540 main ()
11542 return XCreateWindow ();
11544 return 0;
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 case "$LIBEXT" in
11549 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11550 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'` ;;
11551 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11552 if ${ac_cv_lib_soname_X11:+false} :; then :
11553 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11554 fi ;;
11555 esac
11556 else
11557 ac_cv_lib_soname_X11=
11559 rm -f core conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 LIBS=$ac_check_soname_save_LIBS
11563 if ${ac_cv_lib_soname_X11:+false} :; then :
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11565 $as_echo "not found" >&6; }
11567 else
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11569 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11571 cat >>confdefs.h <<_ACEOF
11572 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11573 _ACEOF
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11578 $as_echo_n "checking for -lXext... " >&6; }
11579 if ${ac_cv_lib_soname_Xext+:} false; then :
11580 $as_echo_n "(cached) " >&6
11581 else
11582 ac_check_soname_save_LIBS=$LIBS
11583 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11587 /* Override any GCC internal prototype to avoid an error.
11588 Use char because int might match the return type of a GCC
11589 builtin and then its argument prototype would still apply. */
11590 #ifdef __cplusplus
11591 extern "C"
11592 #endif
11593 char XextCreateExtension ();
11595 main ()
11597 return XextCreateExtension ();
11599 return 0;
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"; then :
11603 case "$LIBEXT" in
11604 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11605 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'` ;;
11606 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11607 if ${ac_cv_lib_soname_Xext:+false} :; then :
11608 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11609 fi ;;
11610 esac
11611 else
11612 ac_cv_lib_soname_Xext=
11614 rm -f core conftest.err conftest.$ac_objext \
11615 conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_soname_save_LIBS
11618 if ${ac_cv_lib_soname_Xext:+false} :; then :
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11620 $as_echo "not found" >&6; }
11622 else
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11624 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11626 cat >>confdefs.h <<_ACEOF
11627 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11628 _ACEOF
11630 X_LIBS="$X_LIBS -lXext"
11632 X_LIBS="$X_LIBS -lX11"
11634 for ac_header in X11/Xlib.h \
11635 X11/XKBlib.h \
11636 X11/Xutil.h \
11637 X11/Xcursor/Xcursor.h \
11638 X11/extensions/shape.h \
11639 X11/extensions/XInput.h \
11640 X11/extensions/XInput2.h \
11641 X11/extensions/XShm.h \
11642 X11/extensions/Xcomposite.h \
11643 X11/extensions/Xfixes.h \
11644 X11/extensions/Xinerama.h \
11645 X11/extensions/Xrandr.h \
11646 X11/extensions/Xrender.h \
11647 X11/extensions/xf86vmode.h \
11648 X11/extensions/xf86vmproto.h
11649 do :
11650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11652 # include <X11/Xlib.h>
11653 #endif
11654 #ifdef HAVE_X11_XUTIL_H
11655 # include <X11/Xutil.h>
11656 #endif
11658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11659 cat >>confdefs.h <<_ACEOF
11660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11661 _ACEOF
11665 done
11668 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11669 then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11671 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11672 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_lib_save_LIBS=$LIBS
11676 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char XkbQueryExtension ();
11688 main ()
11690 return XkbQueryExtension ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 ac_cv_lib_X11_XkbQueryExtension=yes
11697 else
11698 ac_cv_lib_X11_XkbQueryExtension=no
11700 rm -f core conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702 LIBS=$ac_check_lib_save_LIBS
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11705 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11706 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11708 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11714 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11715 then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11717 $as_echo_n "checking for -lXcursor... " >&6; }
11718 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11719 $as_echo_n "(cached) " >&6
11720 else
11721 ac_check_soname_save_LIBS=$LIBS
11722 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char XcursorImageLoadCursor ();
11734 main ()
11736 return XcursorImageLoadCursor ();
11738 return 0;
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"; then :
11742 case "$LIBEXT" in
11743 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11744 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'` ;;
11745 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11746 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11747 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11748 fi ;;
11749 esac
11750 else
11751 ac_cv_lib_soname_Xcursor=
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11761 else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11763 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11765 cat >>confdefs.h <<_ACEOF
11766 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11767 _ACEOF
11772 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11773 case "x$with_xcursor" in
11774 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11775 xno) ;;
11776 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11777 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11778 esac
11782 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11783 then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11785 $as_echo_n "checking for -lXi... " >&6; }
11786 if ${ac_cv_lib_soname_Xi+:} false; then :
11787 $as_echo_n "(cached) " >&6
11788 else
11789 ac_check_soname_save_LIBS=$LIBS
11790 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11797 #ifdef __cplusplus
11798 extern "C"
11799 #endif
11800 char XOpenDevice ();
11802 main ()
11804 return XOpenDevice ();
11806 return 0;
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"; then :
11810 case "$LIBEXT" in
11811 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11812 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'` ;;
11813 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11814 if ${ac_cv_lib_soname_Xi:+false} :; then :
11815 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11816 fi ;;
11817 esac
11818 else
11819 ac_cv_lib_soname_Xi=
11821 rm -f core conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 LIBS=$ac_check_soname_save_LIBS
11825 if ${ac_cv_lib_soname_Xi:+false} :; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11827 $as_echo "not found" >&6; }
11829 else
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11831 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11833 cat >>confdefs.h <<_ACEOF
11834 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11835 _ACEOF
11840 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11841 case "x$with_xinput" in
11842 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11843 xno) ;;
11844 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11845 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11846 esac
11850 if test "x$ac_cv_lib_soname_Xi" != x
11851 then
11852 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11853 case "x$with_xinput2" in
11854 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11855 xno) ;;
11856 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11857 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11858 esac
11863 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11866 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11867 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_lib_save_LIBS=$LIBS
11871 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char XShmQueryExtension ();
11883 main ()
11885 return XShmQueryExtension ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 ac_cv_lib_Xext_XShmQueryExtension=yes
11892 else
11893 ac_cv_lib_Xext_XShmQueryExtension=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11900 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11901 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11903 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11908 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11909 case "x$with_xshm" in
11910 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11911 xno) ;;
11912 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11913 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11914 esac
11918 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11919 then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11921 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11922 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char XShapeQueryExtension ();
11938 main ()
11940 return XShapeQueryExtension ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 ac_cv_lib_Xext_XShapeQueryExtension=yes
11947 else
11948 ac_cv_lib_Xext_XShapeQueryExtension=no
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11955 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11956 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11958 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11963 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11964 case "x$with_xshape" in
11965 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11966 xno) ;;
11967 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11968 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11969 esac
11973 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11974 then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11976 $as_echo_n "checking for -lXxf86vm... " >&6; }
11977 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_soname_save_LIBS=$LIBS
11981 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
11988 #ifdef __cplusplus
11989 extern "C"
11990 #endif
11991 char XF86VidModeQueryExtension ();
11993 main ()
11995 return XF86VidModeQueryExtension ();
11997 return 0;
11999 _ACEOF
12000 if ac_fn_c_try_link "$LINENO"; then :
12001 case "$LIBEXT" in
12002 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12003 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'` ;;
12004 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12005 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12006 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12007 fi ;;
12008 esac
12009 else
12010 ac_cv_lib_soname_Xxf86vm=
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 LIBS=$ac_check_soname_save_LIBS
12016 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12018 $as_echo "not found" >&6; }
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12022 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12024 cat >>confdefs.h <<_ACEOF
12025 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12026 _ACEOF
12031 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12032 case "x$with_xxf86vm" in
12033 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12034 xno) ;;
12035 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12036 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12037 esac
12041 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12042 then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12044 $as_echo_n "checking for -lXrender... " >&6; }
12045 if ${ac_cv_lib_soname_Xrender+:} false; then :
12046 $as_echo_n "(cached) " >&6
12047 else
12048 ac_check_soname_save_LIBS=$LIBS
12049 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12056 #ifdef __cplusplus
12057 extern "C"
12058 #endif
12059 char XRenderQueryExtension ();
12061 main ()
12063 return XRenderQueryExtension ();
12065 return 0;
12067 _ACEOF
12068 if ac_fn_c_try_link "$LINENO"; then :
12069 case "$LIBEXT" in
12070 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12071 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'` ;;
12072 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12073 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12074 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12075 fi ;;
12076 esac
12077 else
12078 ac_cv_lib_soname_Xrender=
12080 rm -f core conftest.err conftest.$ac_objext \
12081 conftest$ac_exeext conftest.$ac_ext
12082 LIBS=$ac_check_soname_save_LIBS
12084 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12086 $as_echo "not found" >&6; }
12088 else
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12090 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12092 cat >>confdefs.h <<_ACEOF
12093 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12094 _ACEOF
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12097 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12098 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char XRenderSetPictureTransform ();
12114 main ()
12116 return XRenderSetPictureTransform ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12123 else
12124 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12131 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12132 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12134 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12139 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12140 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_lib_save_LIBS=$LIBS
12144 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char XRenderCreateLinearGradient ();
12156 main ()
12158 return XRenderCreateLinearGradient ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12165 else
12166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_lib_save_LIBS
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12173 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12174 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12176 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12183 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12184 case "x$with_xrender" in
12185 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12186 xno) ;;
12187 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12188 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12189 esac
12193 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12194 then
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12197 #include <X11/Xlib.h>
12198 #include <X11/extensions/Xrandr.h>
12200 main ()
12202 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_compile "$LINENO"; then :
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12209 $as_echo_n "checking for -lXrandr... " >&6; }
12210 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12211 $as_echo_n "(cached) " >&6
12212 else
12213 ac_check_soname_save_LIBS=$LIBS
12214 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12218 /* Override any GCC internal prototype to avoid an error.
12219 Use char because int might match the return type of a GCC
12220 builtin and then its argument prototype would still apply. */
12221 #ifdef __cplusplus
12222 extern "C"
12223 #endif
12224 char XRRQueryExtension ();
12226 main ()
12228 return XRRQueryExtension ();
12230 return 0;
12232 _ACEOF
12233 if ac_fn_c_try_link "$LINENO"; then :
12234 case "$LIBEXT" in
12235 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12236 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'` ;;
12237 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12238 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12239 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12240 fi ;;
12241 esac
12242 else
12243 ac_cv_lib_soname_Xrandr=
12245 rm -f core conftest.err conftest.$ac_objext \
12246 conftest$ac_exeext conftest.$ac_ext
12247 LIBS=$ac_check_soname_save_LIBS
12249 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12251 $as_echo "not found" >&6; }
12253 else
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12255 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12257 cat >>confdefs.h <<_ACEOF
12258 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12259 _ACEOF
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12263 #include <X11/Xlib.h>
12264 #include <X11/extensions/Xrandr.h>
12266 main ()
12268 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_compile "$LINENO"; then :
12275 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 #include <X11/Xlib.h>
12282 #include <X11/extensions/Xrandr.h>
12284 main ()
12286 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_compile "$LINENO"; then :
12293 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12295 else
12296 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12303 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12304 case "x$with_xrandr" in
12305 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12306 xno) ;;
12307 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12308 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12309 esac
12313 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12314 then
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <X11/Xlib.h>
12318 #include <X11/extensions/Xfixes.h>
12320 main ()
12322 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12329 $as_echo_n "checking for -lXfixes... " >&6; }
12330 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_soname_save_LIBS=$LIBS
12334 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char XFixesQueryVersion ();
12346 main ()
12348 return XFixesQueryVersion ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 case "$LIBEXT" in
12355 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12356 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'` ;;
12357 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12358 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12359 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12360 fi ;;
12361 esac
12362 else
12363 ac_cv_lib_soname_Xfixes=
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12371 $as_echo "not found" >&6; }
12373 else
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12375 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12379 _ACEOF
12384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12387 case "x$with_xfixes" in
12388 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12389 xno) ;;
12390 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12391 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12392 esac
12396 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12397 then
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12400 #include <X11/Xlib.h>
12401 #include <X11/extensions/Xinerama.h>
12403 main ()
12405 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_compile "$LINENO"; then :
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12412 $as_echo_n "checking for -lXinerama... " >&6; }
12413 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_soname_save_LIBS=$LIBS
12417 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char XineramaQueryScreens ();
12429 main ()
12431 return XineramaQueryScreens ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 case "$LIBEXT" in
12438 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12439 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'` ;;
12440 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12442 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12443 fi ;;
12444 esac
12445 else
12446 ac_cv_lib_soname_Xinerama=
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_soname_save_LIBS
12452 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12454 $as_echo "not found" >&6; }
12456 else
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12458 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12460 cat >>confdefs.h <<_ACEOF
12461 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12462 _ACEOF
12467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12469 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12470 case "x$with_xinerama" in
12471 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12472 xno) ;;
12473 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12474 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12475 esac
12479 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12480 then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12482 $as_echo_n "checking for -lXcomposite... " >&6; }
12483 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 ac_check_soname_save_LIBS=$LIBS
12487 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char XCompositeRedirectWindow ();
12499 main ()
12501 return XCompositeRedirectWindow ();
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_link "$LINENO"; then :
12507 case "$LIBEXT" in
12508 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12509 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'` ;;
12510 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12512 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12513 fi ;;
12514 esac
12515 else
12516 ac_cv_lib_soname_Xcomposite=
12518 rm -f core conftest.err conftest.$ac_objext \
12519 conftest$ac_exeext conftest.$ac_ext
12520 LIBS=$ac_check_soname_save_LIBS
12522 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12524 $as_echo "not found" >&6; }
12526 else
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12528 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12530 cat >>confdefs.h <<_ACEOF
12531 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12532 _ACEOF
12537 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12538 case "x$with_xcomposite" in
12539 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12540 xno) ;;
12541 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12542 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12543 esac
12547 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12548 #include <X11/Xlib.h>
12549 #endif
12551 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12553 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_XICCALLBACK_CALLBACK 1
12555 _ACEOF
12559 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12560 #include <X11/Xlib.h>
12561 #endif
12563 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12565 cat >>confdefs.h <<_ACEOF
12566 #define HAVE_XEVENT_XCOOKIE 1
12567 _ACEOF
12574 opengl_msg=""
12575 if test "x$with_opengl" != "xno"
12576 then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12578 $as_echo_n "checking for -lGL... " >&6; }
12579 if ${ac_cv_lib_soname_GL+:} false; then :
12580 $as_echo_n "(cached) " >&6
12581 else
12582 ac_check_soname_save_LIBS=$LIBS
12583 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char glXCreateContext ();
12595 main ()
12597 return glXCreateContext ();
12599 return 0;
12601 _ACEOF
12602 if ac_fn_c_try_link "$LINENO"; then :
12603 case "$LIBEXT" in
12604 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12605 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'` ;;
12606 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12607 if ${ac_cv_lib_soname_GL:+false} :; then :
12608 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12609 fi ;;
12610 esac
12611 else
12612 ac_cv_lib_soname_GL=
12614 rm -f core conftest.err conftest.$ac_objext \
12615 conftest$ac_exeext conftest.$ac_ext
12616 LIBS=$ac_check_soname_save_LIBS
12618 if ${ac_cv_lib_soname_GL:+false} :; then :
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12620 $as_echo "not found" >&6; }
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12622 $as_echo_n "checking for -lGL... " >&6; }
12623 if ${ac_cv_lib_soname_GL+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_soname_save_LIBS=$LIBS
12627 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"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char glXCreateContext ();
12639 main ()
12641 return glXCreateContext ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 case "$LIBEXT" in
12648 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12649 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'` ;;
12650 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12651 if ${ac_cv_lib_soname_GL:+false} :; then :
12652 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12653 fi ;;
12654 esac
12655 else
12656 ac_cv_lib_soname_GL=
12658 rm -f core conftest.err conftest.$ac_objext \
12659 conftest$ac_exeext conftest.$ac_ext
12660 LIBS=$ac_check_soname_save_LIBS
12662 if ${ac_cv_lib_soname_GL:+false} :; then :
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12664 $as_echo "not found" >&6; }
12665 if test -f /usr/X11R6/lib/libGL.a
12666 then
12667 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12668 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12669 else
12670 opengl_msg="No OpenGL library found on this system."
12672 else
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12674 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12676 cat >>confdefs.h <<_ACEOF
12677 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12678 _ACEOF
12680 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"
12682 else
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12684 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12686 cat >>confdefs.h <<_ACEOF
12687 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12688 _ACEOF
12690 OPENGL_LIBS="-lGL"
12692 if test "x$with_glu" != "xno"
12693 then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12695 $as_echo_n "checking for -lGLU... " >&6; }
12696 if ${ac_cv_lib_soname_GLU+:} false; then :
12697 $as_echo_n "(cached) " >&6
12698 else
12699 ac_check_soname_save_LIBS=$LIBS
12700 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12704 /* Override any GCC internal prototype to avoid an error.
12705 Use char because int might match the return type of a GCC
12706 builtin and then its argument prototype would still apply. */
12707 #ifdef __cplusplus
12708 extern "C"
12709 #endif
12710 char gluLookAt ();
12712 main ()
12714 return gluLookAt ();
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_link "$LINENO"; then :
12720 case "$LIBEXT" in
12721 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12722 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'` ;;
12723 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12724 if ${ac_cv_lib_soname_GLU:+false} :; then :
12725 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12726 fi ;;
12727 esac
12728 else
12729 ac_cv_lib_soname_GLU=
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_soname_save_LIBS
12735 if ${ac_cv_lib_soname_GLU:+false} :; then :
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12737 $as_echo "not found" >&6; }
12739 else
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12741 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12743 cat >>confdefs.h <<_ACEOF
12744 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12745 _ACEOF
12749 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12750 case "x$with_glu" in
12751 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12754 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12755 esac
12760 if test "x$with_osmesa" != "xno"
12761 then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12763 $as_echo_n "checking for -lOSMesa... " >&6; }
12764 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12765 $as_echo_n "(cached) " >&6
12766 else
12767 ac_check_soname_save_LIBS=$LIBS
12768 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12775 #ifdef __cplusplus
12776 extern "C"
12777 #endif
12778 char OSMesaGetProcAddress ();
12780 main ()
12782 return OSMesaGetProcAddress ();
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_link "$LINENO"; then :
12788 case "$LIBEXT" in
12789 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12790 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'` ;;
12791 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12792 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12793 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12794 fi ;;
12795 esac
12796 else
12797 ac_cv_lib_soname_OSMesa=
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_soname_save_LIBS
12803 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12809 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12811 cat >>confdefs.h <<_ACEOF
12812 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12813 _ACEOF
12817 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12818 case "x$with_osmesa" in
12819 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12820 xno) ;;
12821 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12822 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12823 esac
12828 if test -n "$opengl_msg"; then :
12829 case "x$with_opengl" in
12830 x) as_fn_append wine_warnings "|$opengl_msg
12831 OpenGL and Direct3D won't be supported." ;;
12832 xno) ;;
12833 *) as_fn_error $? "$opengl_msg
12834 OpenGL and Direct3D won't be supported.
12835 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12836 esac
12840 CPPFLAGS="$ac_save_CPPFLAGS"
12841 else
12842 X_CFLAGS=""
12843 X_LIBS=""
12846 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12847 then
12848 if test "x$X_LIBS" = "x"; then :
12849 case "x$with_x" in
12850 xno) ;;
12851 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12852 without X support, which probably isn't what you want. You will need
12853 to install ${notice_platform}development packages of Xlib at the very least.
12854 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12855 esac
12856 enable_winex11_drv=${enable_winex11_drv:-no}
12858 else
12859 if test "x$X_LIBS" = "x"; then :
12860 case "x$with_x" in
12861 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12862 xno) ;;
12863 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12864 This is an error since --with-x was requested." "$LINENO" 5 ;;
12865 esac
12866 enable_winex11_drv=${enable_winex11_drv:-no}
12870 if test "$ac_cv_header_CL_cl_h" = "yes"
12871 then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12873 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12874 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12875 $as_echo_n "(cached) " >&6
12876 else
12877 ac_check_lib_save_LIBS=$LIBS
12878 LIBS="-lOpenCL $LIBS"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12885 #ifdef __cplusplus
12886 extern "C"
12887 #endif
12888 char clGetPlatformInfo ();
12890 main ()
12892 return clGetPlatformInfo ();
12894 return 0;
12896 _ACEOF
12897 if ac_fn_c_try_link "$LINENO"; then :
12898 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12899 else
12900 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12902 rm -f core conftest.err conftest.$ac_objext \
12903 conftest$ac_exeext conftest.$ac_ext
12904 LIBS=$ac_check_lib_save_LIBS
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12907 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12908 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12909 OPENCL_LIBS="-lOpenCL"
12914 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12915 case "x$with_opencl" in
12916 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12917 xno) ;;
12918 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12919 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12920 esac
12921 enable_opencl=${enable_opencl:-no}
12924 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12925 then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12927 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12928 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_lib_save_LIBS=$LIBS
12932 LIBS="-lpcap $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 pcap_create ();
12944 main ()
12946 return pcap_create ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 ac_cv_lib_pcap_pcap_create=yes
12953 else
12954 ac_cv_lib_pcap_pcap_create=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_pcap_pcap_create" >&5
12961 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12962 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12963 PCAP_LIBS="-lpcap"
12968 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12969 case "x$with_pcap" in
12970 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12971 xno) ;;
12972 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12973 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12974 esac
12975 enable_wpcap=${enable_wpcap:-no}
12979 if test "x$with_xml" != "xno"
12980 then
12981 if ${XML2_CFLAGS:+false} :; then :
12982 if ${PKG_CONFIG+:} false; then :
12983 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12986 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12987 if ${XML2_LIBS:+false} :; then :
12988 if ${PKG_CONFIG+:} false; then :
12989 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12992 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12993 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12994 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12995 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12996 ac_save_CPPFLAGS=$CPPFLAGS
12997 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12998 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12999 do :
13000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13001 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13003 cat >>confdefs.h <<_ACEOF
13004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13005 _ACEOF
13009 done
13011 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"
13012 then
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13014 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13015 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-lxml2 $XML2_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char xmlParseMemory ();
13031 main ()
13033 return xmlParseMemory ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_xml2_xmlParseMemory=yes
13040 else
13041 ac_cv_lib_xml2_xmlParseMemory=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13048 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13049 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13051 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13053 else
13054 XML2_LIBS=""
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13058 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13059 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lxml2 $XML2_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char xmlReadMemory ();
13075 main ()
13077 return xmlReadMemory ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_xml2_xmlReadMemory=yes
13084 else
13085 ac_cv_lib_xml2_xmlReadMemory=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13092 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13093 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13095 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13100 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13101 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-lxml2 $XML2_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xmlNewDocPI ();
13117 main ()
13119 return xmlNewDocPI ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_xml2_xmlNewDocPI=yes
13126 else
13127 ac_cv_lib_xml2_xmlNewDocPI=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13134 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13135 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13137 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13142 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13143 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_lib_save_LIBS=$LIBS
13147 LIBS="-lxml2 $XML2_LIBS $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char xmlSchemaSetParserStructuredErrors ();
13159 main ()
13161 return xmlSchemaSetParserStructuredErrors ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13168 else
13169 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13176 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13177 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13179 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13184 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13185 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13186 $as_echo_n "(cached) " >&6
13187 else
13188 ac_check_lib_save_LIBS=$LIBS
13189 LIBS="-lxml2 $XML2_LIBS $LIBS"
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13196 #ifdef __cplusplus
13197 extern "C"
13198 #endif
13199 char xmlSchemaSetValidStructuredErrors ();
13201 main ()
13203 return xmlSchemaSetValidStructuredErrors ();
13205 return 0;
13207 _ACEOF
13208 if ac_fn_c_try_link "$LINENO"; then :
13209 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13210 else
13211 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13213 rm -f core conftest.err conftest.$ac_objext \
13214 conftest$ac_exeext conftest.$ac_ext
13215 LIBS=$ac_check_lib_save_LIBS
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13218 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13219 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13221 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13226 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13227 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13228 $as_echo_n "(cached) " >&6
13229 else
13230 ac_check_lib_save_LIBS=$LIBS
13231 LIBS="-lxml2 $XML2_LIBS $LIBS"
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13235 /* Override any GCC internal prototype to avoid an error.
13236 Use char because int might match the return type of a GCC
13237 builtin and then its argument prototype would still apply. */
13238 #ifdef __cplusplus
13239 extern "C"
13240 #endif
13241 char xmlFirstElementChild ();
13243 main ()
13245 return xmlFirstElementChild ();
13247 return 0;
13249 _ACEOF
13250 if ac_fn_c_try_link "$LINENO"; then :
13251 ac_cv_lib_xml2_xmlFirstElementChild=yes
13252 else
13253 ac_cv_lib_xml2_xmlFirstElementChild=no
13255 rm -f core conftest.err conftest.$ac_objext \
13256 conftest$ac_exeext conftest.$ac_ext
13257 LIBS=$ac_check_lib_save_LIBS
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13260 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13261 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13263 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13267 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13269 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13271 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13275 else
13276 XML2_CFLAGS=""
13277 XML2_LIBS=""
13279 CPPFLAGS=$ac_save_CPPFLAGS
13280 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13281 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13284 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13285 case "x$with_xml" in
13286 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13287 xno) ;;
13288 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13289 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13290 esac
13294 if test "x$with_xslt" != "xno"
13295 then
13296 if ${XSLT_CFLAGS:+false} :; then :
13297 if ${PKG_CONFIG+:} false; then :
13298 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13301 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13302 if ${XSLT_LIBS:+false} :; then :
13303 if ${PKG_CONFIG+:} false; then :
13304 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13307 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13308 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13309 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13310 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13311 ac_save_CPPFLAGS=$CPPFLAGS
13312 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13313 for ac_header in libxslt/pattern.h libxslt/transform.h
13314 do :
13315 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13316 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13317 # include <libxslt/pattern.h>
13318 #endif
13320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13321 cat >>confdefs.h <<_ACEOF
13322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13323 _ACEOF
13327 done
13329 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13330 then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13332 $as_echo_n "checking for -lxslt... " >&6; }
13333 if ${ac_cv_lib_soname_xslt+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_soname_save_LIBS=$LIBS
13337 LIBS="-lxslt $XSLT_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char xsltCompilePattern ();
13349 main ()
13351 return xsltCompilePattern ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 case "$LIBEXT" in
13358 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13359 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'` ;;
13360 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13361 if ${ac_cv_lib_soname_xslt:+false} :; then :
13362 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13363 fi ;;
13364 esac
13365 else
13366 ac_cv_lib_soname_xslt=
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_xslt:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13376 else
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13378 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13380 cat >>confdefs.h <<_ACEOF
13381 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13382 _ACEOF
13386 else
13387 XSLT_CFLAGS=""
13389 CPPFLAGS=$ac_save_CPPFLAGS
13390 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13391 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13394 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13395 case "x$with_xslt" in
13396 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13399 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "x$with_inotify" != "xno"
13405 then
13406 if ${INOTIFY_CFLAGS:+false} :; then :
13407 if ${PKG_CONFIG+:} false; then :
13408 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13412 if ${INOTIFY_LIBS:+false} :; then :
13413 if ${PKG_CONFIG+:} false; then :
13414 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13419 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13420 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13421 ac_save_CPPFLAGS=$CPPFLAGS
13422 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13423 for ac_header in sys/inotify.h
13424 do :
13425 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13426 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13427 cat >>confdefs.h <<_ACEOF
13428 #define HAVE_SYS_INOTIFY_H 1
13429 _ACEOF
13433 done
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13436 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13437 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13438 $as_echo_n "(cached) " >&6
13439 else
13440 ac_check_lib_save_LIBS=$LIBS
13441 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13445 /* Override any GCC internal prototype to avoid an error.
13446 Use char because int might match the return type of a GCC
13447 builtin and then its argument prototype would still apply. */
13448 #ifdef __cplusplus
13449 extern "C"
13450 #endif
13451 char inotify_add_watch ();
13453 main ()
13455 return inotify_add_watch ();
13457 return 0;
13459 _ACEOF
13460 if ac_fn_c_try_link "$LINENO"; then :
13461 ac_cv_lib_inotify_inotify_add_watch=yes
13462 else
13463 ac_cv_lib_inotify_inotify_add_watch=no
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_lib_save_LIBS
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13470 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13471 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13473 else
13474 INOTIFY_LIBS=""
13477 CPPFLAGS=$ac_save_CPPFLAGS
13478 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13479 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13482 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13483 case "x$with_inotify" in
13484 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13485 xno) ;;
13486 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13487 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13488 esac
13492 if test "x$with_dbus" != "xno"
13493 then
13494 if ${DBUS_CFLAGS:+false} :; then :
13495 if ${PKG_CONFIG+:} false; then :
13496 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13500 if ${DBUS_LIBS:+false} :; then :
13501 if ${PKG_CONFIG+:} false; then :
13502 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13507 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13508 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13509 ac_save_CPPFLAGS=$CPPFLAGS
13510 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13511 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13512 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13514 $as_echo_n "checking for -ldbus-1... " >&6; }
13515 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13516 $as_echo_n "(cached) " >&6
13517 else
13518 ac_check_soname_save_LIBS=$LIBS
13519 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13526 #ifdef __cplusplus
13527 extern "C"
13528 #endif
13529 char dbus_connection_close ();
13531 main ()
13533 return dbus_connection_close ();
13535 return 0;
13537 _ACEOF
13538 if ac_fn_c_try_link "$LINENO"; then :
13539 case "$LIBEXT" in
13540 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13541 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'` ;;
13542 *) 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'`
13543 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13544 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13545 fi ;;
13546 esac
13547 else
13548 ac_cv_lib_soname_dbus_1=
13550 rm -f core conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 LIBS=$ac_check_soname_save_LIBS
13554 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13556 $as_echo "not found" >&6; }
13557 DBUS_CFLAGS=""
13558 else
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13560 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13562 cat >>confdefs.h <<_ACEOF
13563 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13564 _ACEOF
13568 else
13569 DBUS_CFLAGS=""
13573 CPPFLAGS=$ac_save_CPPFLAGS
13574 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13575 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13578 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13579 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13580 case "x$with_dbus" in
13581 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13582 xno) ;;
13583 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13584 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13585 esac
13589 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13590 then
13591 if ${HAL_CFLAGS:+false} :; then :
13592 if ${PKG_CONFIG+:} false; then :
13593 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13597 if ${HAL_LIBS:+false} :; then :
13598 if ${PKG_CONFIG+:} false; then :
13599 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13603 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13604 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13605 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13606 ac_save_CPPFLAGS=$CPPFLAGS
13607 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13608 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13609 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13611 $as_echo_n "checking for -lhal... " >&6; }
13612 if ${ac_cv_lib_soname_hal+:} false; then :
13613 $as_echo_n "(cached) " >&6
13614 else
13615 ac_check_soname_save_LIBS=$LIBS
13616 LIBS="-lhal $HAL_LIBS $LIBS"
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13620 /* Override any GCC internal prototype to avoid an error.
13621 Use char because int might match the return type of a GCC
13622 builtin and then its argument prototype would still apply. */
13623 #ifdef __cplusplus
13624 extern "C"
13625 #endif
13626 char libhal_ctx_new ();
13628 main ()
13630 return libhal_ctx_new ();
13632 return 0;
13634 _ACEOF
13635 if ac_fn_c_try_link "$LINENO"; then :
13636 case "$LIBEXT" in
13637 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13638 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'` ;;
13639 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13640 if ${ac_cv_lib_soname_hal:+false} :; then :
13641 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13642 fi ;;
13643 esac
13644 else
13645 ac_cv_lib_soname_hal=
13647 rm -f core conftest.err conftest.$ac_objext \
13648 conftest$ac_exeext conftest.$ac_ext
13649 LIBS=$ac_check_soname_save_LIBS
13651 if ${ac_cv_lib_soname_hal:+false} :; then :
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13653 $as_echo "not found" >&6; }
13654 HAL_CFLAGS=""
13655 else
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13657 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13659 cat >>confdefs.h <<_ACEOF
13660 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13661 _ACEOF
13665 else
13666 HAL_CFLAGS=""
13670 CPPFLAGS=$ac_save_CPPFLAGS
13671 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13672 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13674 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13675 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13676 case "x$with_hal" in
13677 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13678 xno) ;;
13679 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13680 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13681 esac
13686 if test "x$with_gnutls" != "xno"
13687 then
13688 if ${GNUTLS_CFLAGS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13694 if ${GNUTLS_LIBS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13700 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13701 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13702 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13703 ac_save_CPPFLAGS=$CPPFLAGS
13704 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13705 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13706 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13709 #include <gnutls/gnutls.h>
13710 #include <gnutls/crypto.h>
13712 main ()
13714 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_compile "$LINENO"; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13721 $as_echo_n "checking for -lgnutls... " >&6; }
13722 if ${ac_cv_lib_soname_gnutls+:} false; then :
13723 $as_echo_n "(cached) " >&6
13724 else
13725 ac_check_soname_save_LIBS=$LIBS
13726 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13733 #ifdef __cplusplus
13734 extern "C"
13735 #endif
13736 char gnutls_global_init ();
13738 main ()
13740 return gnutls_global_init ();
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 case "$LIBEXT" in
13747 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13748 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'` ;;
13749 *) 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'`
13750 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13751 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'`
13752 fi ;;
13753 esac
13754 else
13755 ac_cv_lib_soname_gnutls=
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 LIBS=$ac_check_soname_save_LIBS
13761 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13763 $as_echo "not found" >&6; }
13764 GNUTLS_CFLAGS=""
13765 else
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13767 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13769 cat >>confdefs.h <<_ACEOF
13770 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13771 _ACEOF
13775 ac_wine_check_funcs_save_LIBS="$LIBS"
13776 LIBS="$LIBS $GNUTLS_LIBS"
13777 for ac_func in gnutls_cipher_init
13778 do :
13779 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13780 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13781 cat >>confdefs.h <<_ACEOF
13782 #define HAVE_GNUTLS_CIPHER_INIT 1
13783 _ACEOF
13785 else
13786 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13788 done
13790 LIBS="$ac_wine_check_funcs_save_LIBS"
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13793 else
13794 GNUTLS_CFLAGS=""
13798 CPPFLAGS=$ac_save_CPPFLAGS
13799 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13800 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13803 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13804 case "x$with_gnutls" in
13805 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13806 xno) ;;
13807 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13808 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13809 esac
13813 CURSES_LIBS=""
13814 if test "$ac_cv_header_ncurses_h" = "yes"
13815 then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13817 $as_echo_n "checking for -lncurses... " >&6; }
13818 if ${ac_cv_lib_soname_ncurses+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_soname_save_LIBS=$LIBS
13822 LIBS="-lncurses $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char waddch ();
13834 main ()
13836 return waddch ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 case "$LIBEXT" in
13843 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13844 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'` ;;
13845 *) 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'`
13846 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13847 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13848 fi ;;
13849 esac
13850 else
13851 ac_cv_lib_soname_ncurses=
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13861 else
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13863 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13867 _ACEOF
13869 CURSES_LIBS="-lncurses"
13871 elif test "$ac_cv_header_curses_h" = "yes"
13872 then
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13874 $as_echo_n "checking for -lcurses... " >&6; }
13875 if ${ac_cv_lib_soname_curses+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_check_soname_save_LIBS=$LIBS
13879 LIBS="-lcurses $LIBS"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 #ifdef __cplusplus
13887 extern "C"
13888 #endif
13889 char waddch ();
13891 main ()
13893 return waddch ();
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"; then :
13899 case "$LIBEXT" in
13900 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13901 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'` ;;
13902 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13903 if ${ac_cv_lib_soname_curses:+false} :; then :
13904 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13905 fi ;;
13906 esac
13907 else
13908 ac_cv_lib_soname_curses=
13910 rm -f core conftest.err conftest.$ac_objext \
13911 conftest$ac_exeext conftest.$ac_ext
13912 LIBS=$ac_check_soname_save_LIBS
13914 if ${ac_cv_lib_soname_curses:+false} :; then :
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13916 $as_echo "not found" >&6; }
13918 else
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13920 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13922 cat >>confdefs.h <<_ACEOF
13923 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13924 _ACEOF
13926 CURSES_LIBS="-lcurses"
13929 ac_save_LIBS="$LIBS"
13930 LIBS="$LIBS $CURSES_LIBS"
13931 for ac_func in mousemask
13932 do :
13933 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13934 if test "x$ac_cv_func_mousemask" = xyes; then :
13935 cat >>confdefs.h <<_ACEOF
13936 #define HAVE_MOUSEMASK 1
13937 _ACEOF
13940 done
13942 LIBS="$ac_save_LIBS"
13943 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13944 case "x$with_curses" in
13945 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13946 xno) ;;
13947 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13948 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13949 esac
13953 if test "x$with_sane" != "xno"
13954 then
13955 if ${SANE_CFLAGS:+false} :; then :
13956 if ${PKG_CONFIG+:} false; then :
13957 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13960 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13961 if ${SANE_LIBS:+false} :; then :
13962 if ${PKG_CONFIG+:} false; then :
13963 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13966 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13968 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13969 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13970 ac_save_CPPFLAGS=$CPPFLAGS
13971 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13972 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13973 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13975 $as_echo_n "checking for -lsane... " >&6; }
13976 if ${ac_cv_lib_soname_sane+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_check_soname_save_LIBS=$LIBS
13980 LIBS="-lsane $SANE_LIBS $LIBS"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13987 #ifdef __cplusplus
13988 extern "C"
13989 #endif
13990 char sane_init ();
13992 main ()
13994 return sane_init ();
13996 return 0;
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 case "$LIBEXT" in
14001 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14002 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'` ;;
14003 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14004 if ${ac_cv_lib_soname_sane:+false} :; then :
14005 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14006 fi ;;
14007 esac
14008 else
14009 ac_cv_lib_soname_sane=
14011 rm -f core conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_soname_save_LIBS
14015 if ${ac_cv_lib_soname_sane:+false} :; then :
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14017 $as_echo "not found" >&6; }
14018 SANE_CFLAGS=""
14019 else
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14021 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14023 cat >>confdefs.h <<_ACEOF
14024 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14025 _ACEOF
14029 else
14030 SANE_CFLAGS=""
14034 CPPFLAGS=$ac_save_CPPFLAGS
14035 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14036 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14039 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14040 case "x$with_sane" in
14041 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14042 xno) ;;
14043 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14044 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14045 esac
14049 if test "x$with_usb" != "xno"
14050 then
14051 if ${USB_CFLAGS:+false} :; then :
14052 if ${PKG_CONFIG+:} false; then :
14053 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14057 if ${USB_LIBS:+false} :; then :
14058 if ${PKG_CONFIG+:} false; then :
14059 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14063 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14064 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14065 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14066 ac_save_CPPFLAGS=$CPPFLAGS
14067 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14068 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14069 if test "x$ac_cv_header_libusb_h" = xyes; then :
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14071 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14072 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 #ifdef __cplusplus
14084 extern "C"
14085 #endif
14086 char libusb_interrupt_event_handler ();
14088 main ()
14090 return libusb_interrupt_event_handler ();
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14097 else
14098 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 LIBS=$ac_check_lib_save_LIBS
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14105 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14106 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14108 else
14109 USB_LIBS=""
14112 else
14113 USB_LIBS=""
14117 CPPFLAGS=$ac_save_CPPFLAGS
14118 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14119 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14122 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14123 case "x$with_usb" in
14124 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14125 xno) ;;
14126 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14127 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14128 esac
14129 enable_wineusb_sys=${enable_wineusb_sys:-no}
14132 if test "x$with_v4l2" != "xno"
14133 then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14135 $as_echo_n "checking for -lv4l2... " >&6; }
14136 if ${ac_cv_lib_soname_v4l2+:} false; then :
14137 $as_echo_n "(cached) " >&6
14138 else
14139 ac_check_soname_save_LIBS=$LIBS
14140 LIBS="-lv4l2 $LIBS"
14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14144 /* Override any GCC internal prototype to avoid an error.
14145 Use char because int might match the return type of a GCC
14146 builtin and then its argument prototype would still apply. */
14147 #ifdef __cplusplus
14148 extern "C"
14149 #endif
14150 char v4l2_open ();
14152 main ()
14154 return v4l2_open ();
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"; then :
14160 case "$LIBEXT" in
14161 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14162 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'` ;;
14163 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14164 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14165 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14166 fi ;;
14167 esac
14168 else
14169 ac_cv_lib_soname_v4l2=
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 LIBS=$ac_check_soname_save_LIBS
14175 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14177 $as_echo "not found" >&6; }
14179 else
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14181 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14183 cat >>confdefs.h <<_ACEOF
14184 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14185 _ACEOF
14190 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14191 case "x$with_v4l2" in
14192 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14193 xno) ;;
14194 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14195 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14196 esac
14200 if test "x$with_gphoto" != "xno"
14201 then
14202 if ${GPHOTO2_CFLAGS:+false} :; then :
14203 if ${PKG_CONFIG+:} false; then :
14204 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14207 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14208 if ${GPHOTO2_LIBS:+false} :; then :
14209 if ${PKG_CONFIG+:} false; then :
14210 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14213 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14214 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14215 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14216 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14217 ac_save_CPPFLAGS=$CPPFLAGS
14218 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14219 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14220 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14222 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14223 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 ac_check_lib_save_LIBS=$LIBS
14227 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14234 #ifdef __cplusplus
14235 extern "C"
14236 #endif
14237 char gp_camera_new ();
14239 main ()
14241 return gp_camera_new ();
14243 return 0;
14245 _ACEOF
14246 if ac_fn_c_try_link "$LINENO"; then :
14247 ac_cv_lib_gphoto2_gp_camera_new=yes
14248 else
14249 ac_cv_lib_gphoto2_gp_camera_new=no
14251 rm -f core conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext conftest.$ac_ext
14253 LIBS=$ac_check_lib_save_LIBS
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14256 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14257 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14259 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14261 else
14262 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14265 else
14266 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14270 CPPFLAGS=$ac_save_CPPFLAGS
14271 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14272 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14274 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14275 if ${PKG_CONFIG+:} false; then :
14276 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14279 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14280 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14281 if ${PKG_CONFIG+:} false; then :
14282 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14285 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14286 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14287 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14288 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14289 ac_save_CPPFLAGS=$CPPFLAGS
14290 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14291 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14292 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14294 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14295 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14298 ac_check_lib_save_LIBS=$LIBS
14299 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14303 /* Override any GCC internal prototype to avoid an error.
14304 Use char because int might match the return type of a GCC
14305 builtin and then its argument prototype would still apply. */
14306 #ifdef __cplusplus
14307 extern "C"
14308 #endif
14309 char gp_port_info_list_new ();
14311 main ()
14313 return gp_port_info_list_new ();
14315 return 0;
14317 _ACEOF
14318 if ac_fn_c_try_link "$LINENO"; then :
14319 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14320 else
14321 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14323 rm -f core conftest.err conftest.$ac_objext \
14324 conftest$ac_exeext conftest.$ac_ext
14325 LIBS=$ac_check_lib_save_LIBS
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14328 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14329 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14331 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14333 else
14334 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14337 else
14338 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14342 CPPFLAGS=$ac_save_CPPFLAGS
14343 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14344 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14347 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14348 case "x$with_gphoto" in
14349 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14350 xno) ;;
14351 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14352 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14353 esac
14356 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14357 case "x$with_gphoto" in
14358 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14359 xno) ;;
14360 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14361 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14362 esac
14367 if test "$ac_cv_header_resolv_h" = "yes"
14368 then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14370 $as_echo_n "checking for resolver library... " >&6; }
14371 if ${ac_cv_have_resolv+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 ac_save_LIBS="$LIBS"
14375 for lib in '' -lresolv
14377 LIBS="$lib $ac_save_LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 #ifdef HAVE_NETINET_IN_H
14381 #include <netinet/in.h>
14382 #endif
14383 #include <resolv.h>
14385 main ()
14387 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_have_resolv=${lib:-"none required"}
14394 else
14395 ac_cv_have_resolv="not found"
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 test "x$ac_cv_have_resolv" = "xnot found" || break
14400 done
14401 LIBS="$ac_save_LIBS"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14404 $as_echo "$ac_cv_have_resolv" >&6; }
14406 case "$ac_cv_have_resolv" in
14407 "not found") ;;
14408 "none required")
14410 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14413 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14415 RESOLV_LIBS=$ac_cv_have_resolv
14417 esac
14419 if test "x$ac_cv_have_resolv" != "xnot found"
14420 then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14422 $as_echo_n "checking for res_getservers... " >&6; }
14423 if ${ac_cv_have_res_getservers+:} false; then :
14424 $as_echo_n "(cached) " >&6
14425 else
14426 ac_save_LIBS="$LIBS"
14427 LIBS="$RESOLV_LIBS $LIBS"
14428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14430 #include <resolv.h>
14432 main ()
14434 res_getservers(NULL, NULL, 0);
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_have_res_getservers=yes
14441 else
14442 ac_cv_have_res_getservers=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 LIBS="$ac_save_LIBS"
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14449 $as_echo "$ac_cv_have_res_getservers" >&6; }
14450 if test "$ac_cv_have_res_getservers" = "yes"
14451 then
14453 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14459 if test "x$with_cms" != "xno"
14460 then
14461 if ${LCMS2_CFLAGS:+false} :; then :
14462 if ${PKG_CONFIG+:} false; then :
14463 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14467 if ${LCMS2_LIBS:+false} :; then :
14468 if ${PKG_CONFIG+:} false; then :
14469 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14473 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14474 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14475 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14476 ac_save_CPPFLAGS=$CPPFLAGS
14477 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14478 for ac_header in lcms2.h
14479 do :
14480 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14481 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14482 cat >>confdefs.h <<_ACEOF
14483 #define HAVE_LCMS2_H 1
14484 _ACEOF
14488 done
14490 if test "$ac_cv_header_lcms2_h" = "yes"
14491 then
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14493 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14494 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 ac_check_lib_save_LIBS=$LIBS
14498 LIBS="-llcms2 $LCMS2_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 cmsOpenProfileFromFile ();
14510 main ()
14512 return cmsOpenProfileFromFile ();
14514 return 0;
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14519 else
14520 ac_cv_lib_lcms2_cmsOpenProfileFromFile=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_lcms2_cmsOpenProfileFromFile" >&5
14527 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14528 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14530 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14532 else
14533 LCMS2_LIBS=""
14536 else
14537 LCMS2_CFLAGS=""
14538 LCMS2_LIBS=""
14540 CPPFLAGS=$ac_save_CPPFLAGS
14541 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14542 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14545 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14546 case "x$with_cms" in
14547 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14548 xno) ;;
14549 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14550 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14551 esac
14555 if test "x$with_freetype" != "xno"
14556 then
14557 if ${FREETYPE_CFLAGS:+false} :; then :
14558 if ${PKG_CONFIG+:} false; then :
14559 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14562 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14563 if ${FREETYPE_LIBS:+false} :; then :
14564 if ${PKG_CONFIG+:} false; then :
14565 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14568 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14569 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14570 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14571 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14572 ac_save_CPPFLAGS=$CPPFLAGS
14573 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14574 for ac_header in ft2build.h
14575 do :
14576 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14577 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14578 cat >>confdefs.h <<_ACEOF
14579 #define HAVE_FT2BUILD_H 1
14580 _ACEOF
14584 done
14586 if test "$ac_cv_header_ft2build_h" = "yes"
14587 then
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14589 $as_echo_n "checking for -lfreetype... " >&6; }
14590 if ${ac_cv_lib_soname_freetype+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 ac_check_soname_save_LIBS=$LIBS
14594 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14601 #ifdef __cplusplus
14602 extern "C"
14603 #endif
14604 char FT_Init_FreeType ();
14606 main ()
14608 return FT_Init_FreeType ();
14610 return 0;
14612 _ACEOF
14613 if ac_fn_c_try_link "$LINENO"; then :
14614 case "$LIBEXT" in
14615 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14616 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'` ;;
14617 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14618 if ${ac_cv_lib_soname_freetype:+false} :; then :
14619 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14620 fi ;;
14621 esac
14622 else
14623 ac_cv_lib_soname_freetype=
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LIBS=$ac_check_soname_save_LIBS
14629 if ${ac_cv_lib_soname_freetype:+false} :; then :
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14631 $as_echo "not found" >&6; }
14632 FREETYPE_LIBS=""
14633 else
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14635 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14637 cat >>confdefs.h <<_ACEOF
14638 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14639 _ACEOF
14642 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14644 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14645 #include FT_MODULE_H
14647 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14649 cat >>confdefs.h <<_ACEOF
14650 #define HAVE_FT_TRUETYPEENGINETYPE 1
14651 _ACEOF
14657 else
14658 FREETYPE_CFLAGS=""
14659 FREETYPE_LIBS=""
14661 CPPFLAGS=$ac_save_CPPFLAGS
14662 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14663 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14666 if test "x$ac_cv_lib_soname_freetype" = x; then :
14667 case "x$with_freetype" in
14668 xno) ;;
14669 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14670 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14671 esac
14672 enable_fonts=${enable_fonts:-no}
14675 ac_wine_check_funcs_save_LIBS="$LIBS"
14676 LIBS="$LIBS $PTHREAD_LIBS"
14677 for ac_func in \
14678 pthread_getthreadid_np
14679 do :
14680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14682 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14683 cat >>confdefs.h <<_ACEOF
14684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14685 _ACEOF
14688 done
14690 LIBS="$ac_wine_check_funcs_save_LIBS"
14692 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14693 then
14694 if test "$ac_cv_header_gettext_po_h" = "yes"
14695 then
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14697 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14698 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_check_lib_save_LIBS=$LIBS
14702 LIBS="-lgettextpo $LIBS"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14706 /* Override any GCC internal prototype to avoid an error.
14707 Use char because int might match the return type of a GCC
14708 builtin and then its argument prototype would still apply. */
14709 #ifdef __cplusplus
14710 extern "C"
14711 #endif
14712 char po_message_msgctxt ();
14714 main ()
14716 return po_message_msgctxt ();
14718 return 0;
14720 _ACEOF
14721 if ac_fn_c_try_link "$LINENO"; then :
14722 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14723 else
14724 ac_cv_lib_gettextpo_po_message_msgctxt=no
14726 rm -f core conftest.err conftest.$ac_objext \
14727 conftest$ac_exeext conftest.$ac_ext
14728 LIBS=$ac_check_lib_save_LIBS
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14731 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14732 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14734 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14736 GETTEXTPO_LIBS="-lgettextpo"
14741 if test "x$GETTEXTPO_LIBS" = "x"; then :
14742 case "x$with_gettextpo" in
14743 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14744 xno) ;;
14745 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14746 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14747 esac
14750 if test "$srcdir" != .; then :
14751 case "x$with_gettextpo" in
14752 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14753 xno) ;;
14754 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14755 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14756 esac
14761 if test "x$with_pulse" != "xno";
14762 then
14763 if ${PULSE_CFLAGS:+false} :; then :
14764 if ${PKG_CONFIG+:} false; then :
14765 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14769 if ${PULSE_LIBS:+false} :; then :
14770 if ${PKG_CONFIG+:} false; then :
14771 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14776 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14777 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14778 ac_save_CPPFLAGS=$CPPFLAGS
14779 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14780 for ac_header in pulse/pulseaudio.h
14781 do :
14782 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14783 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14784 cat >>confdefs.h <<_ACEOF
14785 #define HAVE_PULSE_PULSEAUDIO_H 1
14786 _ACEOF
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14788 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14789 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_check_lib_save_LIBS=$LIBS
14793 LIBS="-lpulse $PULSE_LIBS $LIBS"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char pa_stream_is_corked ();
14805 main ()
14807 return pa_stream_is_corked ();
14809 return 0;
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_lib_pulse_pa_stream_is_corked=yes
14814 else
14815 ac_cv_lib_pulse_pa_stream_is_corked=no
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14819 LIBS=$ac_check_lib_save_LIBS
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14822 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14823 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14825 else
14826 PULSE_LIBS=""
14829 else
14830 PULSE_LIBS=""
14833 done
14835 CPPFLAGS=$ac_save_CPPFLAGS
14836 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14837 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14840 if test -z "$PULSE_LIBS"; then :
14841 case "x$with_pulse" in
14842 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14843 xno) ;;
14844 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14845 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14846 esac
14847 enable_winepulse_drv=${enable_winepulse_drv:-no}
14850 if test "x$with_gstreamer" != "xno"
14851 then
14852 if ${GSTREAMER_CFLAGS:+false} :; then :
14853 if ${PKG_CONFIG+:} false; then :
14854 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14858 if ${GSTREAMER_LIBS:+false} :; then :
14859 if ${PKG_CONFIG+:} false; then :
14860 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14865 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14866 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14867 ac_save_CPPFLAGS=$CPPFLAGS
14868 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14869 ac_gst_incl=""
14870 for i in $GSTREAMER_CFLAGS
14872 case "$i" in
14873 -I*) ac_gst_incl="$ac_gst_incl $i";;
14874 esac
14875 done
14876 GSTREAMER_CFLAGS=$ac_gst_incl
14877 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14878 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14879 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14881 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14884 #include <gst/gst.h>
14886 main ()
14888 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_compile "$LINENO"; then :
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14895 $as_echo "yes" >&6; }
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14897 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14898 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 ac_check_lib_save_LIBS=$LIBS
14902 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14906 /* Override any GCC internal prototype to avoid an error.
14907 Use char because int might match the return type of a GCC
14908 builtin and then its argument prototype would still apply. */
14909 #ifdef __cplusplus
14910 extern "C"
14911 #endif
14912 char gst_pad_new ();
14914 main ()
14916 return gst_pad_new ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"; then :
14922 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14923 else
14924 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14926 rm -f core conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14931 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14932 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14936 else
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14938 $as_echo "no" >&6; }
14939 ac_glib2_broken=yes
14940 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14946 CPPFLAGS=$ac_save_CPPFLAGS
14947 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14948 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14951 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 :
14952 case "x$with_gstreamer" in
14953 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14954 xno) ;;
14955 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14956 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14957 esac
14960 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14962 ALSA_LIBS=""
14964 if test "x$with_alsa" != "xno"
14965 then
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14967 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14968 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 ac_check_lib_save_LIBS=$LIBS
14972 LIBS="-lasound $LIBS"
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14976 /* Override any GCC internal prototype to avoid an error.
14977 Use char because int might match the return type of a GCC
14978 builtin and then its argument prototype would still apply. */
14979 #ifdef __cplusplus
14980 extern "C"
14981 #endif
14982 char snd_pcm_hw_params_get_access_mask ();
14984 main ()
14986 return snd_pcm_hw_params_get_access_mask ();
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14993 else
14994 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14996 rm -f core conftest.err conftest.$ac_objext \
14997 conftest$ac_exeext conftest.$ac_ext
14998 LIBS=$ac_check_lib_save_LIBS
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15001 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15002 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #include <alsa/asoundlib.h>
15007 main ()
15009 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15011 return 0;
15013 _ACEOF
15014 if ac_fn_c_try_compile "$LINENO"; then :
15015 ALSA_LIBS="-lasound"
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15023 if test "x$with_oss" != xno
15024 then
15025 ac_save_CPPFLAGS="$CPPFLAGS"
15026 if test -f /etc/oss.conf
15027 then
15028 . /etc/oss.conf
15030 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15031 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15032 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15033 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15034 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15036 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15038 cat >>confdefs.h <<_ACEOF
15039 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15040 _ACEOF
15042 OSS4_CFLAGS="$ac_oss_incl"
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15045 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15046 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15047 $as_echo_n "(cached) " >&6
15048 else
15049 ac_check_lib_save_LIBS=$LIBS
15050 LIBS="-lossaudio $LIBS"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 char _oss_ioctl ();
15062 main ()
15064 return _oss_ioctl ();
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_lib_ossaudio__oss_ioctl=yes
15071 else
15072 ac_cv_lib_ossaudio__oss_ioctl=no
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15076 LIBS=$ac_check_lib_save_LIBS
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15079 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15080 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15081 OSS4_LIBS="-lossaudio"
15090 CPPFLAGS="$ac_save_CPPFLAGS"
15092 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15093 case "x$with_oss" in
15094 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15095 xno) ;;
15096 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15097 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15098 esac
15099 enable_wineoss_drv=${enable_wineoss_drv:-no}
15102 if test "x$with_udev" != "xno"
15103 then
15104 if ${UDEV_CFLAGS:+false} :; then :
15105 if ${PKG_CONFIG+:} false; then :
15106 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15110 if ${UDEV_LIBS:+false} :; then :
15111 if ${PKG_CONFIG+:} false; then :
15112 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15116 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15117 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15118 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15119 ac_save_CPPFLAGS=$CPPFLAGS
15120 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15121 for ac_header in libudev.h
15122 do :
15123 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15124 if test "x$ac_cv_header_libudev_h" = xyes; then :
15125 cat >>confdefs.h <<_ACEOF
15126 #define HAVE_LIBUDEV_H 1
15127 _ACEOF
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15129 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15130 if ${ac_cv_lib_udev_udev_new+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 ac_check_lib_save_LIBS=$LIBS
15134 LIBS="-ludev $UDEV_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 udev_new ();
15146 main ()
15148 return udev_new ();
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_link "$LINENO"; then :
15154 ac_cv_lib_udev_udev_new=yes
15155 else
15156 ac_cv_lib_udev_udev_new=no
15158 rm -f core conftest.err conftest.$ac_objext \
15159 conftest$ac_exeext conftest.$ac_ext
15160 LIBS=$ac_check_lib_save_LIBS
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15163 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15164 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15166 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15168 else
15169 UDEV_LIBS=""
15172 else
15173 UDEV_LIBS=""
15176 done
15178 CPPFLAGS=$ac_save_CPPFLAGS
15179 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15180 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15183 if test "x$UDEV_LIBS" = "x"; then :
15184 case "x$with_udev" in
15185 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15186 xno) ;;
15187 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15188 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15189 esac
15193 if test "x$with_unwind" != xno
15194 then
15195 if ${UNWIND_CFLAGS:+false} :; then :
15196 if ${PKG_CONFIG+:} false; then :
15197 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15201 if ${UNWIND_LIBS:+false} :; then :
15202 if ${PKG_CONFIG+:} false; then :
15203 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15207 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15208 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15209 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15210 ac_save_CPPFLAGS=$CPPFLAGS
15211 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15213 $as_echo_n "checking for unw_step... " >&6; }
15214 if ${wine_cv_have_unw_step+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 #define UNW_LOCAL_ONLY
15220 #include <libunwind.h>
15222 main ()
15224 unw_cursor_t cursor; unw_step( &cursor );
15226 return 0;
15228 _ACEOF
15229 if ac_fn_c_try_link "$LINENO"; then :
15230 wine_cv_have_unw_step="yes"
15231 else
15232 wine_cv_have_unw_step="no"
15234 rm -f core conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15238 $as_echo "$wine_cv_have_unw_step" >&6; }
15239 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15240 then
15241 save_libs=$LIBS
15242 LIBS="$UNWIND_LIBS $LIBS"
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15244 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15245 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15246 $as_echo_n "(cached) " >&6
15247 else
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15250 #define UNW_LOCAL_ONLY
15251 #include <libunwind.h>
15253 main ()
15255 unw_cursor_t cursor; unw_step( &cursor );
15257 return 0;
15259 _ACEOF
15260 if ac_fn_c_try_link "$LINENO"; then :
15261 wine_cv_have_libunwind_unw_step="yes"
15262 else
15263 wine_cv_have_libunwind_unw_step="no"
15265 rm -f core conftest.err conftest.$ac_objext \
15266 conftest$ac_exeext conftest.$ac_ext
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15269 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15270 LIBS=$save_libs
15272 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15273 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15274 then
15276 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15279 CPPFLAGS=$ac_save_CPPFLAGS
15280 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15281 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15284 case $host in
15285 aarch64*|*-darwin*)
15286 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15287 case "x$with_unwind" in
15288 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15289 xno) ;;
15290 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15291 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15292 esac
15294 fi ;;
15295 esac
15297 if test "x$with_sdl" != "xno"
15298 then
15299 if ${SDL2_CFLAGS:+false} :; then :
15300 if ${PKG_CONFIG+:} false; then :
15301 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15305 if ${SDL2_LIBS:+false} :; then :
15306 if ${PKG_CONFIG+:} false; then :
15307 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15311 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15312 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15313 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15314 ac_save_CPPFLAGS=$CPPFLAGS
15315 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15316 for ac_header in SDL2/SDL.h
15317 do :
15318 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15319 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define HAVE_SDL2_SDL_H 1
15322 _ACEOF
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15324 $as_echo_n "checking for -lSDL2... " >&6; }
15325 if ${ac_cv_lib_soname_SDL2+:} false; then :
15326 $as_echo_n "(cached) " >&6
15327 else
15328 ac_check_soname_save_LIBS=$LIBS
15329 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15333 /* Override any GCC internal prototype to avoid an error.
15334 Use char because int might match the return type of a GCC
15335 builtin and then its argument prototype would still apply. */
15336 #ifdef __cplusplus
15337 extern "C"
15338 #endif
15339 char SDL_Init ();
15341 main ()
15343 return SDL_Init ();
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"; then :
15349 case "$LIBEXT" in
15350 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15351 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'` ;;
15352 *) 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'`
15353 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15354 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15355 fi ;;
15356 esac
15357 else
15358 ac_cv_lib_soname_SDL2=
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15362 LIBS=$ac_check_soname_save_LIBS
15364 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15366 $as_echo "not found" >&6; }
15368 else
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15370 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15372 cat >>confdefs.h <<_ACEOF
15373 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15374 _ACEOF
15380 done
15382 CPPFLAGS=$ac_save_CPPFLAGS
15383 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15384 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15387 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15388 case "x$with_sdl" in
15389 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15390 xno) ;;
15391 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15392 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15393 esac
15397 if test "x$with_faudio" != "xno"
15398 then
15399 if ${FAUDIO_CFLAGS:+false} :; then :
15400 if ${PKG_CONFIG+:} false; then :
15401 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15405 if ${FAUDIO_LIBS:+false} :; then :
15406 if ${PKG_CONFIG+:} false; then :
15407 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15411 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15412 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15413 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15414 ac_save_CPPFLAGS=$CPPFLAGS
15415 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15416 for ac_header in FAudio.h
15417 do :
15418 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15419 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define HAVE_FAUDIO_H 1
15422 _ACEOF
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15424 $as_echo_n "checking for -lFAudio... " >&6; }
15425 if ${ac_cv_lib_soname_FAudio+:} false; then :
15426 $as_echo_n "(cached) " >&6
15427 else
15428 ac_check_soname_save_LIBS=$LIBS
15429 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15436 #ifdef __cplusplus
15437 extern "C"
15438 #endif
15439 char FAudioCreate ();
15441 main ()
15443 return FAudioCreate ();
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 case "$LIBEXT" in
15450 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15451 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'` ;;
15452 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15453 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15454 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15455 fi ;;
15456 esac
15457 else
15458 ac_cv_lib_soname_FAudio=
15460 rm -f core conftest.err conftest.$ac_objext \
15461 conftest$ac_exeext conftest.$ac_ext
15462 LIBS=$ac_check_soname_save_LIBS
15464 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15466 $as_echo "not found" >&6; }
15468 else
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15470 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15472 cat >>confdefs.h <<_ACEOF
15473 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15474 _ACEOF
15480 done
15482 ac_wine_check_funcs_save_LIBS="$LIBS"
15483 LIBS="$LIBS $FAUDIO_LIBS"
15484 for ac_func in FAudio_CommitOperationSet \
15485 F3DAudioInitialize8 \
15486 FAudioLinkedVersion
15487 do :
15488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15493 _ACEOF
15496 done
15498 LIBS="$ac_wine_check_funcs_save_LIBS"
15500 CPPFLAGS=$ac_save_CPPFLAGS
15501 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15502 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15505 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15506 case "x$with_faudio" in
15507 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15508 xno) ;;
15509 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15510 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15511 esac
15515 if test "x$with_capi" != "xno"
15516 then
15517 if ${CAPI20_CFLAGS:+false} :; then :
15518 if ${PKG_CONFIG+:} false; then :
15519 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15523 if ${CAPI20_LIBS:+false} :; then :
15524 if ${PKG_CONFIG+:} false; then :
15525 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15530 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15531 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15532 ac_save_CPPFLAGS=$CPPFLAGS
15533 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15534 for ac_header in capi20.h linux/capi.h
15535 do :
15536 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15537 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15539 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15542 _ACEOF
15546 done
15548 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15549 then
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15551 $as_echo_n "checking for -lcapi20... " >&6; }
15552 if ${ac_cv_lib_soname_capi20+:} false; then :
15553 $as_echo_n "(cached) " >&6
15554 else
15555 ac_check_soname_save_LIBS=$LIBS
15556 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15558 /* end confdefs.h. */
15560 /* Override any GCC internal prototype to avoid an error.
15561 Use char because int might match the return type of a GCC
15562 builtin and then its argument prototype would still apply. */
15563 #ifdef __cplusplus
15564 extern "C"
15565 #endif
15566 char capi20_register ();
15568 main ()
15570 return capi20_register ();
15572 return 0;
15574 _ACEOF
15575 if ac_fn_c_try_link "$LINENO"; then :
15576 case "$LIBEXT" in
15577 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15578 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'` ;;
15579 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15580 if ${ac_cv_lib_soname_capi20:+false} :; then :
15581 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15582 fi ;;
15583 esac
15584 else
15585 ac_cv_lib_soname_capi20=
15587 rm -f core conftest.err conftest.$ac_objext \
15588 conftest$ac_exeext conftest.$ac_ext
15589 LIBS=$ac_check_soname_save_LIBS
15591 if ${ac_cv_lib_soname_capi20:+false} :; then :
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15593 $as_echo "not found" >&6; }
15595 else
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15597 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15599 cat >>confdefs.h <<_ACEOF
15600 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15601 _ACEOF
15606 CPPFLAGS=$ac_save_CPPFLAGS
15607 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15608 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15611 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15612 case "x$with_capi" in
15613 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15614 xno) ;;
15615 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15616 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15617 esac
15621 if test "x$with_cups" != "xno"
15622 then
15623 if ${CUPS_CFLAGS:+false} :; then :
15624 if ${PKG_CONFIG+:} false; then :
15625 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15628 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15629 if ${CUPS_LIBS:+false} :; then :
15630 if ${PKG_CONFIG+:} false; then :
15631 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15634 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15635 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15636 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15637 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15638 ac_save_CPPFLAGS=$CPPFLAGS
15639 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15640 for ac_header in cups/cups.h cups/ppd.h
15641 do :
15642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15643 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15647 _ACEOF
15651 done
15653 if test "$ac_cv_header_cups_cups_h" = "yes"
15654 then
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15656 $as_echo_n "checking for -lcups... " >&6; }
15657 if ${ac_cv_lib_soname_cups+:} false; then :
15658 $as_echo_n "(cached) " >&6
15659 else
15660 ac_check_soname_save_LIBS=$LIBS
15661 LIBS="-lcups $CUPS_LIBS $LIBS"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 #ifdef __cplusplus
15669 extern "C"
15670 #endif
15671 char cupsGetDefault ();
15673 main ()
15675 return cupsGetDefault ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"; then :
15681 case "$LIBEXT" in
15682 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15683 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'` ;;
15684 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15685 if ${ac_cv_lib_soname_cups:+false} :; then :
15686 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15687 fi ;;
15688 esac
15689 else
15690 ac_cv_lib_soname_cups=
15692 rm -f core conftest.err conftest.$ac_objext \
15693 conftest$ac_exeext conftest.$ac_ext
15694 LIBS=$ac_check_soname_save_LIBS
15696 if ${ac_cv_lib_soname_cups:+false} :; then :
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15698 $as_echo "not found" >&6; }
15699 CUPS_LIBS=""
15700 else
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15702 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15704 cat >>confdefs.h <<_ACEOF
15705 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15706 _ACEOF
15710 else
15711 CUPS_CFLAGS=""
15712 CUPS_LIBS=""
15714 CPPFLAGS=$ac_save_CPPFLAGS
15715 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15716 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15719 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15720 case "x$with_cups" in
15721 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15722 xno) ;;
15723 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15724 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15725 esac
15729 if test "x$with_fontconfig" != "xno"
15730 then
15731 if ${FONTCONFIG_CFLAGS:+false} :; then :
15732 if ${PKG_CONFIG+:} false; then :
15733 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15736 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15737 if ${FONTCONFIG_LIBS:+false} :; then :
15738 if ${PKG_CONFIG+:} false; then :
15739 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15742 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15744 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15745 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15746 ac_save_CPPFLAGS=$CPPFLAGS
15747 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15748 for ac_header in fontconfig/fontconfig.h
15749 do :
15750 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15751 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15754 _ACEOF
15758 done
15760 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15761 then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15763 $as_echo_n "checking for -lfontconfig... " >&6; }
15764 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 ac_check_soname_save_LIBS=$LIBS
15768 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 #ifdef __cplusplus
15776 extern "C"
15777 #endif
15778 char FcInit ();
15780 main ()
15782 return FcInit ();
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"; then :
15788 case "$LIBEXT" in
15789 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15790 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'` ;;
15791 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15792 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15793 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15794 fi ;;
15795 esac
15796 else
15797 ac_cv_lib_soname_fontconfig=
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 LIBS=$ac_check_soname_save_LIBS
15803 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15805 $as_echo "not found" >&6; }
15806 FONTCONFIG_CFLAGS=""
15807 else
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15809 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15811 cat >>confdefs.h <<_ACEOF
15812 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15813 _ACEOF
15817 else
15818 FONTCONFIG_CFLAGS=""
15820 CPPFLAGS=$ac_save_CPPFLAGS
15821 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15822 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15825 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15826 case "x$with_fontconfig" in
15827 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15828 xno) ;;
15829 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15830 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15831 esac
15835 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15836 then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15838 $as_echo_n "checking for -lgsm... " >&6; }
15839 if ${ac_cv_lib_soname_gsm+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 ac_check_soname_save_LIBS=$LIBS
15843 LIBS="-lgsm $LIBS"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15850 #ifdef __cplusplus
15851 extern "C"
15852 #endif
15853 char gsm_create ();
15855 main ()
15857 return gsm_create ();
15859 return 0;
15861 _ACEOF
15862 if ac_fn_c_try_link "$LINENO"; then :
15863 case "$LIBEXT" in
15864 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15865 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'` ;;
15866 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15867 if ${ac_cv_lib_soname_gsm:+false} :; then :
15868 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15869 fi ;;
15870 esac
15871 else
15872 ac_cv_lib_soname_gsm=
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 LIBS=$ac_check_soname_save_LIBS
15878 if ${ac_cv_lib_soname_gsm:+false} :; then :
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15880 $as_echo "not found" >&6; }
15882 else
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15884 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15886 cat >>confdefs.h <<_ACEOF
15887 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15888 _ACEOF
15893 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15894 case "x$with_gsm" in
15895 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15896 xno) ;;
15897 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15898 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15899 esac
15903 if test "x$with_krb5" != "xno"
15904 then
15905 if ${KRB5_CFLAGS:+false} :; then :
15906 if ${PKG_CONFIG+:} false; then :
15907 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15910 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15911 if ${KRB5_LIBS:+false} :; then :
15912 if ${PKG_CONFIG+:} false; then :
15913 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15916 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15918 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15919 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15920 ac_save_CPPFLAGS=$CPPFLAGS
15921 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15922 for ac_header in krb5/krb5.h
15923 do :
15924 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15925 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_KRB5_KRB5_H 1
15928 _ACEOF
15932 done
15934 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15935 then
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15937 $as_echo_n "checking for -lkrb5... " >&6; }
15938 if ${ac_cv_lib_soname_krb5+:} false; then :
15939 $as_echo_n "(cached) " >&6
15940 else
15941 ac_check_soname_save_LIBS=$LIBS
15942 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15946 /* Override any GCC internal prototype to avoid an error.
15947 Use char because int might match the return type of a GCC
15948 builtin and then its argument prototype would still apply. */
15949 #ifdef __cplusplus
15950 extern "C"
15951 #endif
15952 char krb5_is_config_principal ();
15954 main ()
15956 return krb5_is_config_principal ();
15958 return 0;
15960 _ACEOF
15961 if ac_fn_c_try_link "$LINENO"; then :
15962 case "$LIBEXT" in
15963 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15964 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'` ;;
15965 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15966 if ${ac_cv_lib_soname_krb5:+false} :; then :
15967 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15968 fi ;;
15969 esac
15970 else
15971 ac_cv_lib_soname_krb5=
15973 rm -f core conftest.err conftest.$ac_objext \
15974 conftest$ac_exeext conftest.$ac_ext
15975 LIBS=$ac_check_soname_save_LIBS
15977 if ${ac_cv_lib_soname_krb5:+false} :; then :
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15979 $as_echo "not found" >&6; }
15980 KRB5_CFLAGS=""
15981 else
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15983 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15985 cat >>confdefs.h <<_ACEOF
15986 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15987 _ACEOF
15991 else
15992 KRB5_CFLAGS=""
15994 CPPFLAGS=$ac_save_CPPFLAGS
15995 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15996 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15999 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16000 case "x$with_krb5" in
16001 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16002 xno) ;;
16003 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16004 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16005 esac
16008 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16010 if test "x$with_gssapi" != "xno"
16011 then
16012 if ${GSSAPI_CFLAGS:+false} :; then :
16013 if ${PKG_CONFIG+:} false; then :
16014 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16017 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16018 if ${GSSAPI_LIBS:+false} :; then :
16019 if ${PKG_CONFIG+:} false; then :
16020 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16023 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16025 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16026 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16027 ac_save_CPPFLAGS=$CPPFLAGS
16028 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16029 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16030 do :
16031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16032 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16033 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16036 _ACEOF
16040 done
16042 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16043 then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16045 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16046 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16047 $as_echo_n "(cached) " >&6
16048 else
16049 ac_check_soname_save_LIBS=$LIBS
16050 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16054 /* Override any GCC internal prototype to avoid an error.
16055 Use char because int might match the return type of a GCC
16056 builtin and then its argument prototype would still apply. */
16057 #ifdef __cplusplus
16058 extern "C"
16059 #endif
16060 char gss_init_sec_context ();
16062 main ()
16064 return gss_init_sec_context ();
16066 return 0;
16068 _ACEOF
16069 if ac_fn_c_try_link "$LINENO"; then :
16070 case "$LIBEXT" in
16071 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16072 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'` ;;
16073 *) 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'`
16074 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16075 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16076 fi ;;
16077 esac
16078 else
16079 ac_cv_lib_soname_gssapi_krb5=
16081 rm -f core conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_soname_save_LIBS
16085 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16087 $as_echo "not found" >&6; }
16088 GSSAPI_CFLAGS=""
16089 else
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16091 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16093 cat >>confdefs.h <<_ACEOF
16094 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16095 _ACEOF
16099 else
16100 GSSAPI_CFLAGS=""
16102 CPPFLAGS=$ac_save_CPPFLAGS
16103 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16104 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16107 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16108 case "x$with_gssapi" in
16109 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16110 xno) ;;
16111 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16112 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16113 esac
16117 if test "x$with_jpeg" != "xno"
16118 then
16119 if ${JPEG_CFLAGS:+false} :; then :
16120 if ${PKG_CONFIG+:} false; then :
16121 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16125 if ${JPEG_LIBS:+false} :; then :
16126 if ${PKG_CONFIG+:} false; then :
16127 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16132 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16133 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16134 ac_save_CPPFLAGS=$CPPFLAGS
16135 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16136 for ac_header in jpeglib.h
16137 do :
16138 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16139 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_JPEGLIB_H 1
16142 _ACEOF
16146 done
16148 if test "$ac_cv_header_jpeglib_h" = "yes"
16149 then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16151 $as_echo_n "checking for -ljpeg... " >&6; }
16152 if ${ac_cv_lib_soname_jpeg+:} false; then :
16153 $as_echo_n "(cached) " >&6
16154 else
16155 ac_check_soname_save_LIBS=$LIBS
16156 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16160 /* Override any GCC internal prototype to avoid an error.
16161 Use char because int might match the return type of a GCC
16162 builtin and then its argument prototype would still apply. */
16163 #ifdef __cplusplus
16164 extern "C"
16165 #endif
16166 char jpeg_start_decompress ();
16168 main ()
16170 return jpeg_start_decompress ();
16172 return 0;
16174 _ACEOF
16175 if ac_fn_c_try_link "$LINENO"; then :
16176 case "$LIBEXT" in
16177 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16178 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'` ;;
16179 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16180 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16181 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16182 fi ;;
16183 esac
16184 else
16185 ac_cv_lib_soname_jpeg=
16187 rm -f core conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16189 LIBS=$ac_check_soname_save_LIBS
16191 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16193 $as_echo "not found" >&6; }
16194 JPEG_CFLAGS=""
16195 else
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16197 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16199 cat >>confdefs.h <<_ACEOF
16200 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16201 _ACEOF
16205 else
16206 JPEG_CFLAGS=""
16208 CPPFLAGS=$ac_save_CPPFLAGS
16209 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16210 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16213 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16214 case "x$with_jpeg" in
16215 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16216 xno) ;;
16217 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16218 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16219 esac
16223 if test "x$with_png" != "xno"
16224 then
16225 if ${PNG_CFLAGS:+false} :; then :
16226 if ${PKG_CONFIG+:} false; then :
16227 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16230 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16231 if ${PNG_LIBS:+false} :; then :
16232 if ${PKG_CONFIG+:} false; then :
16233 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16236 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16238 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16239 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16240 ac_save_CPPFLAGS=$CPPFLAGS
16241 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16242 for ac_header in png.h
16243 do :
16244 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16245 if test "x$ac_cv_header_png_h" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_PNG_H 1
16248 _ACEOF
16252 done
16254 if test "$ac_cv_header_png_h" = "yes"
16255 then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16257 $as_echo_n "checking for -lpng... " >&6; }
16258 if ${ac_cv_lib_soname_png+:} false; then :
16259 $as_echo_n "(cached) " >&6
16260 else
16261 ac_check_soname_save_LIBS=$LIBS
16262 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16266 /* Override any GCC internal prototype to avoid an error.
16267 Use char because int might match the return type of a GCC
16268 builtin and then its argument prototype would still apply. */
16269 #ifdef __cplusplus
16270 extern "C"
16271 #endif
16272 char png_create_read_struct ();
16274 main ()
16276 return png_create_read_struct ();
16278 return 0;
16280 _ACEOF
16281 if ac_fn_c_try_link "$LINENO"; then :
16282 case "$LIBEXT" in
16283 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16284 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'` ;;
16285 *) 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'`
16286 if ${ac_cv_lib_soname_png:+false} :; then :
16287 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16288 fi ;;
16289 esac
16290 else
16291 ac_cv_lib_soname_png=
16293 rm -f core conftest.err conftest.$ac_objext \
16294 conftest$ac_exeext conftest.$ac_ext
16295 LIBS=$ac_check_soname_save_LIBS
16297 if ${ac_cv_lib_soname_png:+false} :; then :
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16299 $as_echo "not found" >&6; }
16300 PNG_CFLAGS=""
16301 else
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16303 $as_echo "$ac_cv_lib_soname_png" >&6; }
16305 cat >>confdefs.h <<_ACEOF
16306 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16307 _ACEOF
16311 else
16312 PNG_CFLAGS=""
16314 CPPFLAGS=$ac_save_CPPFLAGS
16315 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16316 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16319 if test "x$ac_cv_lib_soname_png" = "x"; then :
16320 case "x$with_png" in
16321 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16322 xno) ;;
16323 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16324 This is an error since --with-png was requested." "$LINENO" 5 ;;
16325 esac
16329 if test "x$with_tiff" != "xno"
16330 then
16331 if ${TIFF_CFLAGS:+false} :; then :
16332 if ${PKG_CONFIG+:} false; then :
16333 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16337 if ${TIFF_LIBS:+false} :; then :
16338 if ${PKG_CONFIG+:} false; then :
16339 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16344 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16345 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16346 ac_save_CPPFLAGS=$CPPFLAGS
16347 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16348 for ac_header in tiffio.h
16349 do :
16350 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16351 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_TIFFIO_H 1
16354 _ACEOF
16358 done
16360 if test "$ac_cv_header_tiffio_h" = "yes"
16361 then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16363 $as_echo_n "checking for -ltiff... " >&6; }
16364 if ${ac_cv_lib_soname_tiff+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 ac_check_soname_save_LIBS=$LIBS
16368 LIBS="-ltiff $TIFF_LIBS $LIBS"
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 #ifdef __cplusplus
16376 extern "C"
16377 #endif
16378 char TIFFClientOpen ();
16380 main ()
16382 return TIFFClientOpen ();
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_link "$LINENO"; then :
16388 case "$LIBEXT" in
16389 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16390 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'` ;;
16391 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16392 if ${ac_cv_lib_soname_tiff:+false} :; then :
16393 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16394 fi ;;
16395 esac
16396 else
16397 ac_cv_lib_soname_tiff=
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_soname_save_LIBS
16403 if ${ac_cv_lib_soname_tiff:+false} :; then :
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16405 $as_echo "not found" >&6; }
16407 else
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16409 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16411 cat >>confdefs.h <<_ACEOF
16412 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16413 _ACEOF
16418 CPPFLAGS=$ac_save_CPPFLAGS
16419 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16420 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16423 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16424 case "x$with_tiff" in
16425 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16426 xno) ;;
16427 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16428 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16429 esac
16433 if test "x$with_mpg123" != "xno"
16434 then
16435 if ${MPG123_CFLAGS:+false} :; then :
16436 if ${PKG_CONFIG+:} false; then :
16437 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16441 if ${MPG123_LIBS:+false} :; then :
16442 if ${PKG_CONFIG+:} false; then :
16443 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16447 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16448 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16449 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16450 ac_save_CPPFLAGS=$CPPFLAGS
16451 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16452 for ac_header in mpg123.h
16453 do :
16454 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16455 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_MPG123_H 1
16458 _ACEOF
16462 done
16464 if test "$ac_cv_header_mpg123_h" = "yes"
16465 then
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16467 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16468 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16469 $as_echo_n "(cached) " >&6
16470 else
16471 ac_check_lib_save_LIBS=$LIBS
16472 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16479 #ifdef __cplusplus
16480 extern "C"
16481 #endif
16482 char mpg123_feed ();
16484 main ()
16486 return mpg123_feed ();
16488 return 0;
16490 _ACEOF
16491 if ac_fn_c_try_link "$LINENO"; then :
16492 ac_cv_lib_mpg123_mpg123_feed=yes
16493 else
16494 ac_cv_lib_mpg123_mpg123_feed=no
16496 rm -f core conftest.err conftest.$ac_objext \
16497 conftest$ac_exeext conftest.$ac_ext
16498 LIBS=$ac_check_lib_save_LIBS
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16501 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16502 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16504 else
16505 MPG123_LIBS=""
16508 else
16509 MPG123_CFLAGS=""
16510 MPG123_LIBS=""
16512 CPPFLAGS=$ac_save_CPPFLAGS
16513 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16514 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16517 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16518 case "x$with_mpg123" in
16519 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16520 xno) ;;
16521 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16522 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16523 esac
16524 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16526 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16528 if test "$ac_cv_header_AL_al_h" = "yes"
16529 then
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16531 $as_echo_n "checking for -lopenal... " >&6; }
16532 if ${ac_cv_lib_soname_openal+:} false; then :
16533 $as_echo_n "(cached) " >&6
16534 else
16535 ac_check_soname_save_LIBS=$LIBS
16536 LIBS="-lopenal $LIBS"
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16543 #ifdef __cplusplus
16544 extern "C"
16545 #endif
16546 char alGetSource3i ();
16548 main ()
16550 return alGetSource3i ();
16552 return 0;
16554 _ACEOF
16555 if ac_fn_c_try_link "$LINENO"; then :
16556 case "$LIBEXT" in
16557 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16558 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'` ;;
16559 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16560 if ${ac_cv_lib_soname_openal:+false} :; then :
16561 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16562 fi ;;
16563 esac
16564 else
16565 ac_cv_lib_soname_openal=
16567 rm -f core conftest.err conftest.$ac_objext \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_soname_save_LIBS
16571 if ${ac_cv_lib_soname_openal:+false} :; then :
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16573 $as_echo "not found" >&6; }
16575 else
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16577 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16579 cat >>confdefs.h <<_ACEOF
16580 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16581 _ACEOF
16583 OPENAL_LIBS="-lopenal"
16585 ac_cv_lib_openal=yes
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_OPENAL 1
16589 _ACEOF
16593 if test "x$ac_cv_lib_openal" != xyes; then :
16594 case "x$with_openal" in
16595 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16596 xno) ;;
16597 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16598 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16599 esac
16600 enable_openal32=${enable_openal32:-no}
16603 if test "x$ac_cv_lib_soname_FAudio" = "x"
16604 then
16605 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16606 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16607 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16608 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16609 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16610 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16611 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16612 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16613 enable_xapofx1_1=${enable_xapofx1_1:-no}
16614 enable_xapofx1_2=${enable_xapofx1_2:-no}
16615 enable_xapofx1_3=${enable_xapofx1_3:-no}
16616 enable_xapofx1_4=${enable_xapofx1_4:-no}
16617 enable_xapofx1_5=${enable_xapofx1_5:-no}
16618 enable_xaudio2_0=${enable_xaudio2_0:-no}
16619 enable_xaudio2_1=${enable_xaudio2_1:-no}
16620 enable_xaudio2_2=${enable_xaudio2_2:-no}
16621 enable_xaudio2_3=${enable_xaudio2_3:-no}
16622 enable_xaudio2_4=${enable_xaudio2_4:-no}
16623 enable_xaudio2_5=${enable_xaudio2_5:-no}
16624 enable_xaudio2_6=${enable_xaudio2_6:-no}
16625 enable_xaudio2_7=${enable_xaudio2_7:-no}
16626 enable_xaudio2_8=${enable_xaudio2_8:-no}
16627 enable_xaudio2_9=${enable_xaudio2_9:-no}
16630 if test "$ac_cv_header_kstat_h" = "yes"
16631 then
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16633 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16634 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16635 $as_echo_n "(cached) " >&6
16636 else
16637 ac_check_lib_save_LIBS=$LIBS
16638 LIBS="-lkstat $LIBS"
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16642 /* Override any GCC internal prototype to avoid an error.
16643 Use char because int might match the return type of a GCC
16644 builtin and then its argument prototype would still apply. */
16645 #ifdef __cplusplus
16646 extern "C"
16647 #endif
16648 char kstat_open ();
16650 main ()
16652 return kstat_open ();
16654 return 0;
16656 _ACEOF
16657 if ac_fn_c_try_link "$LINENO"; then :
16658 ac_cv_lib_kstat_kstat_open=yes
16659 else
16660 ac_cv_lib_kstat_kstat_open=no
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16664 LIBS=$ac_check_lib_save_LIBS
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16667 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16668 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16670 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16672 KSTAT_LIBS="-lkstat"
16678 if test "$ac_cv_header_libprocstat_h" = "yes"
16679 then
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16681 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16682 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16683 $as_echo_n "(cached) " >&6
16684 else
16685 ac_check_lib_save_LIBS=$LIBS
16686 LIBS="-lprocstat $LIBS"
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16690 /* Override any GCC internal prototype to avoid an error.
16691 Use char because int might match the return type of a GCC
16692 builtin and then its argument prototype would still apply. */
16693 #ifdef __cplusplus
16694 extern "C"
16695 #endif
16696 char procstat_open_sysctl ();
16698 main ()
16700 return procstat_open_sysctl ();
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 ac_cv_lib_procstat_procstat_open_sysctl=yes
16707 else
16708 ac_cv_lib_procstat_procstat_open_sysctl=no
16710 rm -f core conftest.err conftest.$ac_objext \
16711 conftest$ac_exeext conftest.$ac_ext
16712 LIBS=$ac_check_lib_save_LIBS
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16715 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16716 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16718 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16720 PROCSTAT_LIBS="-lprocstat"
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16727 $as_echo_n "checking for -lodbc... " >&6; }
16728 if ${ac_cv_lib_soname_odbc+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 ac_check_soname_save_LIBS=$LIBS
16732 LIBS="-lodbc $LIBS"
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16736 /* Override any GCC internal prototype to avoid an error.
16737 Use char because int might match the return type of a GCC
16738 builtin and then its argument prototype would still apply. */
16739 #ifdef __cplusplus
16740 extern "C"
16741 #endif
16742 char SQLConnect ();
16744 main ()
16746 return SQLConnect ();
16748 return 0;
16750 _ACEOF
16751 if ac_fn_c_try_link "$LINENO"; then :
16752 case "$LIBEXT" in
16753 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16754 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'` ;;
16755 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16756 if ${ac_cv_lib_soname_odbc:+false} :; then :
16757 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16758 fi ;;
16759 esac
16760 else
16761 ac_cv_lib_soname_odbc=
16763 rm -f core conftest.err conftest.$ac_objext \
16764 conftest$ac_exeext conftest.$ac_ext
16765 LIBS=$ac_check_soname_save_LIBS
16767 if ${ac_cv_lib_soname_odbc:+false} :; then :
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16769 $as_echo "not found" >&6; }
16770 cat >>confdefs.h <<_ACEOF
16771 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16772 _ACEOF
16774 else
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16776 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16778 cat >>confdefs.h <<_ACEOF
16779 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16780 _ACEOF
16785 if test "x$with_netapi" != "xno"
16786 then
16787 if ${NETAPI_CFLAGS:+false} :; then :
16788 if ${PKG_CONFIG+:} false; then :
16789 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16793 if ${NETAPI_LIBS:+false} :; then :
16794 if ${PKG_CONFIG+:} false; then :
16795 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16800 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16801 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16802 ac_save_CPPFLAGS=$CPPFLAGS
16803 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16805 $as_echo_n "checking for -lnetapi... " >&6; }
16806 if ${ac_cv_lib_soname_netapi+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 ac_check_soname_save_LIBS=$LIBS
16810 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16814 /* Override any GCC internal prototype to avoid an error.
16815 Use char because int might match the return type of a GCC
16816 builtin and then its argument prototype would still apply. */
16817 #ifdef __cplusplus
16818 extern "C"
16819 #endif
16820 char libnetapi_init ();
16822 main ()
16824 return libnetapi_init ();
16826 return 0;
16828 _ACEOF
16829 if ac_fn_c_try_link "$LINENO"; then :
16830 case "$LIBEXT" in
16831 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16832 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'` ;;
16833 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16834 if ${ac_cv_lib_soname_netapi:+false} :; then :
16835 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16836 fi ;;
16837 esac
16838 else
16839 ac_cv_lib_soname_netapi=
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16843 LIBS=$ac_check_soname_save_LIBS
16845 if ${ac_cv_lib_soname_netapi:+false} :; then :
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16847 $as_echo "not found" >&6; }
16848 cat >>confdefs.h <<_ACEOF
16849 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16850 _ACEOF
16852 else
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16854 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16856 cat >>confdefs.h <<_ACEOF
16857 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16858 _ACEOF
16862 CPPFLAGS=$ac_save_CPPFLAGS
16863 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16864 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16868 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16869 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16870 then
16871 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16874 if test "x$with_vulkan" != "xno"
16875 then
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16877 $as_echo_n "checking for -lvulkan... " >&6; }
16878 if ${ac_cv_lib_soname_vulkan+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 ac_check_soname_save_LIBS=$LIBS
16882 LIBS="-lvulkan $LIBS"
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16886 /* Override any GCC internal prototype to avoid an error.
16887 Use char because int might match the return type of a GCC
16888 builtin and then its argument prototype would still apply. */
16889 #ifdef __cplusplus
16890 extern "C"
16891 #endif
16892 char vkGetInstanceProcAddr ();
16894 main ()
16896 return vkGetInstanceProcAddr ();
16898 return 0;
16900 _ACEOF
16901 if ac_fn_c_try_link "$LINENO"; then :
16902 case "$LIBEXT" in
16903 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16904 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'` ;;
16905 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16906 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16907 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16908 fi ;;
16909 esac
16910 else
16911 ac_cv_lib_soname_vulkan=
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_soname_save_LIBS
16917 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16919 $as_echo "not found" >&6; }
16921 else
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16923 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16925 cat >>confdefs.h <<_ACEOF
16926 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16927 _ACEOF
16931 if test "x$ac_cv_lib_soname_vulkan" = "x"
16932 then
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16934 $as_echo_n "checking for -lMoltenVK... " >&6; }
16935 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16936 $as_echo_n "(cached) " >&6
16937 else
16938 ac_check_soname_save_LIBS=$LIBS
16939 LIBS="-lMoltenVK $LIBS"
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16946 #ifdef __cplusplus
16947 extern "C"
16948 #endif
16949 char vkGetInstanceProcAddr ();
16951 main ()
16953 return vkGetInstanceProcAddr ();
16955 return 0;
16957 _ACEOF
16958 if ac_fn_c_try_link "$LINENO"; then :
16959 case "$LIBEXT" in
16960 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16961 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'` ;;
16962 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16963 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16964 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16965 fi ;;
16966 esac
16967 else
16968 ac_cv_lib_soname_MoltenVK=
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16972 LIBS=$ac_check_soname_save_LIBS
16974 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16976 $as_echo "not found" >&6; }
16978 else
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16980 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16982 cat >>confdefs.h <<_ACEOF
16983 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16984 _ACEOF
16990 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16991 case "x$with_vulkan" in
16992 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16993 xno) ;;
16994 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16995 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16996 esac
17000 if test "x$with_vkd3d" != "xno"
17001 then
17002 if ${VKD3D_CFLAGS:+false} :; then :
17003 if ${PKG_CONFIG+:} false; then :
17004 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17008 if ${VKD3D_LIBS:+false} :; then :
17009 if ${PKG_CONFIG+:} false; then :
17010 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17015 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17016 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17017 ac_save_CPPFLAGS=$CPPFLAGS
17018 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17020 $as_echo_n "checking for -lvkd3d... " >&6; }
17021 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 ac_check_soname_save_LIBS=$LIBS
17025 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17029 /* Override any GCC internal prototype to avoid an error.
17030 Use char because int might match the return type of a GCC
17031 builtin and then its argument prototype would still apply. */
17032 #ifdef __cplusplus
17033 extern "C"
17034 #endif
17035 char vkd3d_get_dxgi_format ();
17037 main ()
17039 return vkd3d_get_dxgi_format ();
17041 return 0;
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 case "$LIBEXT" in
17046 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17047 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'` ;;
17048 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17049 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17050 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17051 fi ;;
17052 esac
17053 else
17054 ac_cv_lib_soname_vkd3d=
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17058 LIBS=$ac_check_soname_save_LIBS
17060 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17062 $as_echo "not found" >&6; }
17064 else
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17066 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17068 cat >>confdefs.h <<_ACEOF
17069 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17070 _ACEOF
17074 CPPFLAGS=$ac_save_CPPFLAGS
17075 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17076 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17079 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17080 case "x$with_vkd3d" in
17081 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17082 xno) ;;
17083 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17084 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17085 esac
17088 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17091 EXTRACFLAGS=""
17093 if test "x${GCC}" = "xyes"
17094 then
17095 EXTRACFLAGS="-Wall -pipe"
17097 saved_CFLAGS=$CFLAGS
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17099 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17100 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 ac_wine_try_cflags_saved=$CFLAGS
17104 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 int main(int argc, char **argv) { return 0; }
17108 _ACEOF
17109 if ac_fn_c_try_link "$LINENO"; then :
17110 ac_cv_cflags__Werror_unknown_warning_option=yes
17111 else
17112 ac_cv_cflags__Werror_unknown_warning_option=no
17114 rm -f core conftest.err conftest.$ac_objext \
17115 conftest$ac_exeext conftest.$ac_ext
17116 CFLAGS=$ac_wine_try_cflags_saved
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17119 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17120 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17121 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17124 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17125 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 ac_wine_try_cflags_saved=$CFLAGS
17129 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 int main(int argc, char **argv) { return 0; }
17133 _ACEOF
17134 if ac_fn_c_try_link "$LINENO"; then :
17135 ac_cv_cflags__Werror_unused_command_line_argument=yes
17136 else
17137 ac_cv_cflags__Werror_unused_command_line_argument=no
17139 rm -f core conftest.err conftest.$ac_objext \
17140 conftest$ac_exeext conftest.$ac_ext
17141 CFLAGS=$ac_wine_try_cflags_saved
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17144 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17145 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17146 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17149 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17150 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17151 $as_echo_n "(cached) " >&6
17152 else
17153 ac_wine_try_cflags_saved=$CFLAGS
17154 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 int main(int argc, char **argv) { return 0; }
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17161 else
17162 ac_cv_cflags__Werror_ignored_optimization_argument=no
17164 rm -f core conftest.err conftest.$ac_objext \
17165 conftest$ac_exeext conftest.$ac_ext
17166 CFLAGS=$ac_wine_try_cflags_saved
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17169 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17170 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17171 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17174 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17175 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 ac_wine_try_cflags_saved=$CFLAGS
17179 CFLAGS="$CFLAGS -fcf-protection=none"
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17182 int main(int argc, char **argv) { return 0; }
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 ac_cv_cflags__fcf_protection_none=yes
17186 else
17187 ac_cv_cflags__fcf_protection_none=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 CFLAGS=$ac_wine_try_cflags_saved
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17194 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17195 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17196 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17199 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17200 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_wine_try_cflags_saved=$CFLAGS
17204 CFLAGS="$CFLAGS -fno-stack-protector"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 int main(int argc, char **argv) { return 0; }
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_cflags__fno_stack_protector=yes
17211 else
17212 ac_cv_cflags__fno_stack_protector=no
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216 CFLAGS=$ac_wine_try_cflags_saved
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17219 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17220 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17221 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17224 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17225 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 ac_wine_try_cflags_saved=$CFLAGS
17229 CFLAGS="$CFLAGS -fno-strict-aliasing"
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 int main(int argc, char **argv) { return 0; }
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_cflags__fno_strict_aliasing=yes
17236 else
17237 ac_cv_cflags__fno_strict_aliasing=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 CFLAGS=$ac_wine_try_cflags_saved
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17244 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17245 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17246 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17249 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17250 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_wine_try_cflags_saved=$CFLAGS
17254 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 int main(int argc, char **argv) { return 0; }
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"; then :
17260 ac_cv_cflags__Wdeclaration_after_statement=yes
17261 else
17262 ac_cv_cflags__Wdeclaration_after_statement=no
17264 rm -f core conftest.err conftest.$ac_objext \
17265 conftest$ac_exeext conftest.$ac_ext
17266 CFLAGS=$ac_wine_try_cflags_saved
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17269 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17270 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17271 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17274 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17275 if ${ac_cv_cflags__Wempty_body+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17278 ac_wine_try_cflags_saved=$CFLAGS
17279 CFLAGS="$CFLAGS -Wempty-body"
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 int main(int argc, char **argv) { return 0; }
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 ac_cv_cflags__Wempty_body=yes
17286 else
17287 ac_cv_cflags__Wempty_body=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17291 CFLAGS=$ac_wine_try_cflags_saved
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17294 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17295 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17296 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17299 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17300 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 ac_wine_try_cflags_saved=$CFLAGS
17304 CFLAGS="$CFLAGS -Wignored-qualifiers"
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 int main(int argc, char **argv) { return 0; }
17308 _ACEOF
17309 if ac_fn_c_try_link "$LINENO"; then :
17310 ac_cv_cflags__Wignored_qualifiers=yes
17311 else
17312 ac_cv_cflags__Wignored_qualifiers=no
17314 rm -f core conftest.err conftest.$ac_objext \
17315 conftest$ac_exeext conftest.$ac_ext
17316 CFLAGS=$ac_wine_try_cflags_saved
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17319 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17320 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17321 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17324 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17325 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17328 ac_wine_try_cflags_saved=$CFLAGS
17329 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 int main(int argc, char **argv) { return 0; }
17333 _ACEOF
17334 if ac_fn_c_try_link "$LINENO"; then :
17335 ac_cv_cflags__Wpacked_not_aligned=yes
17336 else
17337 ac_cv_cflags__Wpacked_not_aligned=no
17339 rm -f core conftest.err conftest.$ac_objext \
17340 conftest$ac_exeext conftest.$ac_ext
17341 CFLAGS=$ac_wine_try_cflags_saved
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17344 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17345 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17346 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17349 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17350 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17351 $as_echo_n "(cached) " >&6
17352 else
17353 ac_wine_try_cflags_saved=$CFLAGS
17354 CFLAGS="$CFLAGS -Wpragma-pack"
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 int main(int argc, char **argv) { return 0; }
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"; then :
17360 ac_cv_cflags__Wpragma_pack=yes
17361 else
17362 ac_cv_cflags__Wpragma_pack=no
17364 rm -f core conftest.err conftest.$ac_objext \
17365 conftest$ac_exeext conftest.$ac_ext
17366 CFLAGS=$ac_wine_try_cflags_saved
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17369 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17370 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17371 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17374 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17375 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17376 $as_echo_n "(cached) " >&6
17377 else
17378 ac_wine_try_cflags_saved=$CFLAGS
17379 CFLAGS="$CFLAGS -Wshift-overflow=2"
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 int main(int argc, char **argv) { return 0; }
17383 _ACEOF
17384 if ac_fn_c_try_link "$LINENO"; then :
17385 ac_cv_cflags__Wshift_overflow_2=yes
17386 else
17387 ac_cv_cflags__Wshift_overflow_2=no
17389 rm -f core conftest.err conftest.$ac_objext \
17390 conftest$ac_exeext conftest.$ac_ext
17391 CFLAGS=$ac_wine_try_cflags_saved
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17394 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17395 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17396 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17399 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17400 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17401 $as_echo_n "(cached) " >&6
17402 else
17403 ac_wine_try_cflags_saved=$CFLAGS
17404 CFLAGS="$CFLAGS -Wstrict-prototypes"
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17407 int main(int argc, char **argv) { return 0; }
17408 _ACEOF
17409 if ac_fn_c_try_link "$LINENO"; then :
17410 ac_cv_cflags__Wstrict_prototypes=yes
17411 else
17412 ac_cv_cflags__Wstrict_prototypes=no
17414 rm -f core conftest.err conftest.$ac_objext \
17415 conftest$ac_exeext conftest.$ac_ext
17416 CFLAGS=$ac_wine_try_cflags_saved
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17419 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17420 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17421 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17424 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17425 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17428 ac_wine_try_cflags_saved=$CFLAGS
17429 CFLAGS="$CFLAGS -Wtype-limits"
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 int main(int argc, char **argv) { return 0; }
17433 _ACEOF
17434 if ac_fn_c_try_link "$LINENO"; then :
17435 ac_cv_cflags__Wtype_limits=yes
17436 else
17437 ac_cv_cflags__Wtype_limits=no
17439 rm -f core conftest.err conftest.$ac_objext \
17440 conftest$ac_exeext conftest.$ac_ext
17441 CFLAGS=$ac_wine_try_cflags_saved
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17444 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17445 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17446 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17449 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17450 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17453 ac_wine_try_cflags_saved=$CFLAGS
17454 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 int main(int argc, char **argv) { return 0; }
17458 _ACEOF
17459 if ac_fn_c_try_link "$LINENO"; then :
17460 ac_cv_cflags__Wunused_but_set_parameter=yes
17461 else
17462 ac_cv_cflags__Wunused_but_set_parameter=no
17464 rm -f core conftest.err conftest.$ac_objext \
17465 conftest$ac_exeext conftest.$ac_ext
17466 CFLAGS=$ac_wine_try_cflags_saved
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17469 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17470 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17471 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17474 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17475 if ${ac_cv_cflags__Wvla+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 ac_wine_try_cflags_saved=$CFLAGS
17479 CFLAGS="$CFLAGS -Wvla"
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17482 int main(int argc, char **argv) { return 0; }
17483 _ACEOF
17484 if ac_fn_c_try_link "$LINENO"; then :
17485 ac_cv_cflags__Wvla=yes
17486 else
17487 ac_cv_cflags__Wvla=no
17489 rm -f core conftest.err conftest.$ac_objext \
17490 conftest$ac_exeext conftest.$ac_ext
17491 CFLAGS=$ac_wine_try_cflags_saved
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17494 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17495 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17496 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17499 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17500 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 ac_wine_try_cflags_saved=$CFLAGS
17504 CFLAGS="$CFLAGS -Wwrite-strings"
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 int main(int argc, char **argv) { return 0; }
17508 _ACEOF
17509 if ac_fn_c_try_link "$LINENO"; then :
17510 ac_cv_cflags__Wwrite_strings=yes
17511 else
17512 ac_cv_cflags__Wwrite_strings=no
17514 rm -f core conftest.err conftest.$ac_objext \
17515 conftest$ac_exeext conftest.$ac_ext
17516 CFLAGS=$ac_wine_try_cflags_saved
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17519 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17520 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17521 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17524 if test -z "$CROSSTARGET"
17525 then
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17527 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17528 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 ac_wine_try_cflags_saved=$CFLAGS
17532 CFLAGS="$CFLAGS -fexcess-precision=standard"
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 int main(int argc, char **argv) { return 0; }
17536 _ACEOF
17537 if ac_fn_c_try_link "$LINENO"; then :
17538 ac_cv_cflags__fexcess_precision_standard=yes
17539 else
17540 ac_cv_cflags__fexcess_precision_standard=no
17542 rm -f core conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17544 CFLAGS=$ac_wine_try_cflags_saved
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17547 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17548 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17549 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17555 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17556 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 ac_wine_try_cflags_saved=$CFLAGS
17560 CFLAGS="$CFLAGS -Wpointer-arith"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 int main(int argc, char **argv) { return 0; }
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_cflags__Wpointer_arith=yes
17567 else
17568 ac_cv_cflags__Wpointer_arith=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 CFLAGS=$ac_wine_try_cflags_saved
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17575 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17576 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17577 saved_string_h_CFLAGS=$CFLAGS
17578 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17580 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17581 if ${ac_cv_c_string_h_warnings+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17586 #include <string.h>
17588 main ()
17592 return 0;
17594 _ACEOF
17595 if ac_fn_c_try_compile "$LINENO"; then :
17596 ac_cv_c_string_h_warnings=no
17597 else
17598 ac_cv_c_string_h_warnings=yes
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17603 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17604 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17605 CFLAGS=$saved_string_h_CFLAGS
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17609 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17610 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17613 ac_wine_try_cflags_saved=$CFLAGS
17614 CFLAGS="$CFLAGS -Wlogical-op"
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 int main(int argc, char **argv) { return 0; }
17618 _ACEOF
17619 if ac_fn_c_try_link "$LINENO"; then :
17620 ac_cv_cflags__Wlogical_op=yes
17621 else
17622 ac_cv_cflags__Wlogical_op=no
17624 rm -f core conftest.err conftest.$ac_objext \
17625 conftest$ac_exeext conftest.$ac_ext
17626 CFLAGS=$ac_wine_try_cflags_saved
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17629 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17630 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17631 saved_string_h_CFLAGS=$CFLAGS
17632 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17634 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17635 if ${ac_cv_c_logicalop_noisy+:} false; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #include <string.h>
17641 char*f(const char *h,char n) {return strchr(h,n);}
17643 main ()
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 ac_cv_c_logicalop_noisy=no
17652 else
17653 ac_cv_c_logicalop_noisy=yes
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17658 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17659 CFLAGS=$saved_string_h_CFLAGS
17660 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17663 for ac_flag in $CFLAGS; do
17664 case $ac_flag in
17665 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17666 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17667 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670 ac_wine_try_cflags_saved=$CFLAGS
17671 CFLAGS="$CFLAGS -gdwarf-2"
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 int main(int argc, char **argv) { return 0; }
17675 _ACEOF
17676 if ac_fn_c_try_link "$LINENO"; then :
17677 ac_cv_cflags__gdwarf_2=yes
17678 else
17679 ac_cv_cflags__gdwarf_2=no
17681 rm -f core conftest.err conftest.$ac_objext \
17682 conftest$ac_exeext conftest.$ac_ext
17683 CFLAGS=$ac_wine_try_cflags_saved
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17686 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17687 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17688 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17691 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17692 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17695 ac_wine_try_cflags_saved=$CFLAGS
17696 CFLAGS="$CFLAGS -gstrict-dwarf"
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 int main(int argc, char **argv) { return 0; }
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702 ac_cv_cflags__gstrict_dwarf=yes
17703 else
17704 ac_cv_cflags__gstrict_dwarf=no
17706 rm -f core conftest.err conftest.$ac_objext \
17707 conftest$ac_exeext conftest.$ac_ext
17708 CFLAGS=$ac_wine_try_cflags_saved
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17711 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17712 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17713 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17714 fi ;;
17715 esac
17716 done
17718 MSVCRTFLAGS=""
17720 case $host_os in
17721 mingw32*) ;;
17722 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17723 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17724 if ${ac_cv_cflags__fno_builtin+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 ac_wine_try_cflags_saved=$CFLAGS
17728 CFLAGS="$CFLAGS -fno-builtin"
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 int main(int argc, char **argv) { return 0; }
17732 _ACEOF
17733 if ac_fn_c_try_link "$LINENO"; then :
17734 ac_cv_cflags__fno_builtin=yes
17735 else
17736 ac_cv_cflags__fno_builtin=no
17738 rm -f core conftest.err conftest.$ac_objext \
17739 conftest$ac_exeext conftest.$ac_ext
17740 CFLAGS=$ac_wine_try_cflags_saved
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17743 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17744 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17745 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17748 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17749 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17750 $as_echo_n "(cached) " >&6
17751 else
17752 ac_wine_try_cflags_saved=$CFLAGS
17753 CFLAGS="$CFLAGS -fshort-wchar"
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 int main(int argc, char **argv) { return 0; }
17757 _ACEOF
17758 if ac_fn_c_try_link "$LINENO"; then :
17759 ac_cv_cflags__fshort_wchar=yes
17760 else
17761 ac_cv_cflags__fshort_wchar=no
17763 rm -f core conftest.err conftest.$ac_objext \
17764 conftest$ac_exeext conftest.$ac_ext
17765 CFLAGS=$ac_wine_try_cflags_saved
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17768 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17769 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17770 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17771 fi ;;
17772 esac
17774 case $host_cpu in
17775 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17776 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17777 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17780 ac_wine_try_cflags_saved=$CFLAGS
17781 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 int main(int argc, char **argv) { return 0; }
17785 _ACEOF
17786 if ac_fn_c_try_link "$LINENO"; then :
17787 ac_cv_cflags__fno_omit_frame_pointer=yes
17788 else
17789 ac_cv_cflags__fno_omit_frame_pointer=no
17791 rm -f core conftest.err conftest.$ac_objext \
17792 conftest$ac_exeext conftest.$ac_ext
17793 CFLAGS=$ac_wine_try_cflags_saved
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17796 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17797 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17798 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17799 fi ;;
17800 *x86_64*)
17801 case $host_os in
17802 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17803 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17804 if ${ac_cv_cflags__Wno_format+:} false; then :
17805 $as_echo_n "(cached) " >&6
17806 else
17807 ac_wine_try_cflags_saved=$CFLAGS
17808 CFLAGS="$CFLAGS -Wno-format"
17809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17811 int main(int argc, char **argv) { return 0; }
17812 _ACEOF
17813 if ac_fn_c_try_link "$LINENO"; then :
17814 ac_cv_cflags__Wno_format=yes
17815 else
17816 ac_cv_cflags__Wno_format=no
17818 rm -f core conftest.err conftest.$ac_objext \
17819 conftest$ac_exeext conftest.$ac_ext
17820 CFLAGS=$ac_wine_try_cflags_saved
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17823 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17824 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17825 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17826 fi ;;
17827 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17828 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17829 if ${ac_cv_cflags__mabi_ms+:} false; then :
17830 $as_echo_n "(cached) " >&6
17831 else
17832 ac_wine_try_cflags_saved=$CFLAGS
17833 CFLAGS="$CFLAGS -mabi=ms"
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 int main(int argc, char **argv) { return 0; }
17837 _ACEOF
17838 if ac_fn_c_try_link "$LINENO"; then :
17839 ac_cv_cflags__mabi_ms=yes
17840 else
17841 ac_cv_cflags__mabi_ms=no
17843 rm -f core conftest.err conftest.$ac_objext \
17844 conftest$ac_exeext conftest.$ac_ext
17845 CFLAGS=$ac_wine_try_cflags_saved
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17848 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17849 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17850 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17851 fi ;;
17852 esac ;;
17853 esac
17855 CFLAGS=$saved_CFLAGS
17857 if test "x$enable_werror" = "xyes"
17858 then
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17860 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17861 if ${ac_cv_cflags__Werror+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 ac_wine_try_cflags_saved=$CFLAGS
17865 CFLAGS="$CFLAGS -Werror"
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17868 int main(int argc, char **argv) { return 0; }
17869 _ACEOF
17870 if ac_fn_c_try_link "$LINENO"; then :
17871 ac_cv_cflags__Werror=yes
17872 else
17873 ac_cv_cflags__Werror=no
17875 rm -f core conftest.err conftest.$ac_objext \
17876 conftest$ac_exeext conftest.$ac_ext
17877 CFLAGS=$ac_wine_try_cflags_saved
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17880 $as_echo "$ac_cv_cflags__Werror" >&6; }
17881 if test "x$ac_cv_cflags__Werror" = xyes; then :
17882 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17889 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17890 if ${ac_cv_c_fortify_enabled+:} false; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #include <string.h>
17897 main ()
17899 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17900 #error Fortify enabled
17901 #endif
17903 return 0;
17905 _ACEOF
17906 if ac_fn_c_try_compile "$LINENO"; then :
17907 ac_cv_c_fortify_enabled=no
17908 else
17909 ac_cv_c_fortify_enabled=yes
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17914 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17915 if test "$ac_cv_c_fortify_enabled" = yes
17916 then
17917 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17922 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17923 if ${ac_cv_c_cfi_support+:} false; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17928 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17930 main ()
17934 return 0;
17936 _ACEOF
17937 if ac_fn_c_try_compile "$LINENO"; then :
17938 ac_cv_c_cfi_support="yes"
17939 else
17940 ac_cv_c_cfi_support="no"
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17945 $as_echo "$ac_cv_c_cfi_support" >&6; }
17946 if test "$ac_cv_c_cfi_support" = "yes"
17947 then
17948 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17949 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17950 else
17951 if test "x$enable_win64" = "xyes"
17952 then
17953 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17958 case $build_os in
17959 cygwin*|mingw32*) TOOLSEXT=".exe"
17961 esac
17963 case $host_os in
17964 linux*)
17965 case $host_cpu in
17966 *i[3456789]86*|x86_64*|*aarch64*)
17967 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17968 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17970 esac
17972 esac
17975 ac_save_CFLAGS="$CFLAGS"
17976 CFLAGS="$CFLAGS $BUILTINFLAG"
17977 for ac_func in \
17978 __res_get_state \
17979 __res_getservers \
17980 _spawnvp \
17981 epoll_create \
17982 ffs \
17983 finitef \
17984 fnmatch \
17985 fork \
17986 fpclass \
17987 fstatfs \
17988 fstatvfs \
17989 futimens \
17990 futimes \
17991 futimesat \
17992 getattrlist \
17993 getauxval \
17994 getifaddrs \
17995 getopt_long_only \
17996 kqueue \
17997 lstat \
17998 mach_continuous_time \
17999 pipe2 \
18000 poll \
18001 port_create \
18002 prctl \
18003 pread \
18004 proc_pidinfo \
18005 pwrite \
18006 readdir \
18007 readlink \
18008 sched_yield \
18009 select \
18010 setproctitle \
18011 setprogname \
18012 settimeofday \
18013 sigprocmask \
18014 statfs \
18015 statvfs \
18016 strnlen \
18017 strtold \
18018 symlink \
18019 sysinfo \
18020 tcdrain \
18021 thr_kill2 \
18022 usleep
18024 do :
18025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18028 cat >>confdefs.h <<_ACEOF
18029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18030 _ACEOF
18033 done
18035 CFLAGS="$ac_save_CFLAGS"
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18038 $as_echo_n "checking for library containing dlopen... " >&6; }
18039 if ${ac_cv_search_dlopen+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 ac_func_search_save_LIBS=$LIBS
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char dlopen ();
18054 main ()
18056 return dlopen ();
18058 return 0;
18060 _ACEOF
18061 for ac_lib in '' dl; do
18062 if test -z "$ac_lib"; then
18063 ac_res="none required"
18064 else
18065 ac_res=-l$ac_lib
18066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18068 if ac_fn_c_try_link "$LINENO"; then :
18069 ac_cv_search_dlopen=$ac_res
18071 rm -f core conftest.err conftest.$ac_objext \
18072 conftest$ac_exeext
18073 if ${ac_cv_search_dlopen+:} false; then :
18074 break
18076 done
18077 if ${ac_cv_search_dlopen+:} false; then :
18079 else
18080 ac_cv_search_dlopen=no
18082 rm conftest.$ac_ext
18083 LIBS=$ac_func_search_save_LIBS
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18086 $as_echo "$ac_cv_search_dlopen" >&6; }
18087 ac_res=$ac_cv_search_dlopen
18088 if test "$ac_res" != no; then :
18089 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18093 ac_wine_check_funcs_save_LIBS="$LIBS"
18094 LIBS="$LIBS $DL_LIBS"
18095 for ac_func in dladdr dlinfo
18096 do :
18097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18100 cat >>confdefs.h <<_ACEOF
18101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18102 _ACEOF
18105 done
18107 LIBS="$ac_wine_check_funcs_save_LIBS"
18109 if test "$ac_cv_func_poll" = no
18110 then
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18112 $as_echo_n "checking for poll in -lpoll... " >&6; }
18113 if ${ac_cv_lib_poll_poll+:} false; then :
18114 $as_echo_n "(cached) " >&6
18115 else
18116 ac_check_lib_save_LIBS=$LIBS
18117 LIBS="-lpoll $LIBS"
18118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18121 /* Override any GCC internal prototype to avoid an error.
18122 Use char because int might match the return type of a GCC
18123 builtin and then its argument prototype would still apply. */
18124 #ifdef __cplusplus
18125 extern "C"
18126 #endif
18127 char poll ();
18129 main ()
18131 return poll ();
18133 return 0;
18135 _ACEOF
18136 if ac_fn_c_try_link "$LINENO"; then :
18137 ac_cv_lib_poll_poll=yes
18138 else
18139 ac_cv_lib_poll_poll=no
18141 rm -f core conftest.err conftest.$ac_objext \
18142 conftest$ac_exeext conftest.$ac_ext
18143 LIBS=$ac_check_lib_save_LIBS
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18146 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18147 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18148 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18149 POLL_LIBS="-lpoll"
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18156 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18157 if ${ac_cv_search_gethostbyname+:} false; then :
18158 $as_echo_n "(cached) " >&6
18159 else
18160 ac_func_search_save_LIBS=$LIBS
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18164 /* Override any GCC internal prototype to avoid an error.
18165 Use char because int might match the return type of a GCC
18166 builtin and then its argument prototype would still apply. */
18167 #ifdef __cplusplus
18168 extern "C"
18169 #endif
18170 char gethostbyname ();
18172 main ()
18174 return gethostbyname ();
18176 return 0;
18178 _ACEOF
18179 for ac_lib in '' nsl; do
18180 if test -z "$ac_lib"; then
18181 ac_res="none required"
18182 else
18183 ac_res=-l$ac_lib
18184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18186 if ac_fn_c_try_link "$LINENO"; then :
18187 ac_cv_search_gethostbyname=$ac_res
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext
18191 if ${ac_cv_search_gethostbyname+:} false; then :
18192 break
18194 done
18195 if ${ac_cv_search_gethostbyname+:} false; then :
18197 else
18198 ac_cv_search_gethostbyname=no
18200 rm conftest.$ac_ext
18201 LIBS=$ac_func_search_save_LIBS
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18204 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18205 ac_res=$ac_cv_search_gethostbyname
18206 if test "$ac_res" != no; then :
18207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18213 $as_echo_n "checking for library containing connect... " >&6; }
18214 if ${ac_cv_search_connect+:} false; then :
18215 $as_echo_n "(cached) " >&6
18216 else
18217 ac_func_search_save_LIBS=$LIBS
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18221 /* Override any GCC internal prototype to avoid an error.
18222 Use char because int might match the return type of a GCC
18223 builtin and then its argument prototype would still apply. */
18224 #ifdef __cplusplus
18225 extern "C"
18226 #endif
18227 char connect ();
18229 main ()
18231 return connect ();
18233 return 0;
18235 _ACEOF
18236 for ac_lib in '' socket; do
18237 if test -z "$ac_lib"; then
18238 ac_res="none required"
18239 else
18240 ac_res=-l$ac_lib
18241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18243 if ac_fn_c_try_link "$LINENO"; then :
18244 ac_cv_search_connect=$ac_res
18246 rm -f core conftest.err conftest.$ac_objext \
18247 conftest$ac_exeext
18248 if ${ac_cv_search_connect+:} false; then :
18249 break
18251 done
18252 if ${ac_cv_search_connect+:} false; then :
18254 else
18255 ac_cv_search_connect=no
18257 rm conftest.$ac_ext
18258 LIBS=$ac_func_search_save_LIBS
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18261 $as_echo "$ac_cv_search_connect" >&6; }
18262 ac_res=$ac_cv_search_connect
18263 if test "$ac_res" != no; then :
18264 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18270 $as_echo_n "checking for library containing inet_aton... " >&6; }
18271 if ${ac_cv_search_inet_aton+:} false; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274 ac_func_search_save_LIBS=$LIBS
18275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18278 /* Override any GCC internal prototype to avoid an error.
18279 Use char because int might match the return type of a GCC
18280 builtin and then its argument prototype would still apply. */
18281 #ifdef __cplusplus
18282 extern "C"
18283 #endif
18284 char inet_aton ();
18286 main ()
18288 return inet_aton ();
18290 return 0;
18292 _ACEOF
18293 for ac_lib in '' resolv; do
18294 if test -z "$ac_lib"; then
18295 ac_res="none required"
18296 else
18297 ac_res=-l$ac_lib
18298 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18300 if ac_fn_c_try_link "$LINENO"; then :
18301 ac_cv_search_inet_aton=$ac_res
18303 rm -f core conftest.err conftest.$ac_objext \
18304 conftest$ac_exeext
18305 if ${ac_cv_search_inet_aton+:} false; then :
18306 break
18308 done
18309 if ${ac_cv_search_inet_aton+:} false; then :
18311 else
18312 ac_cv_search_inet_aton=no
18314 rm conftest.$ac_ext
18315 LIBS=$ac_func_search_save_LIBS
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18318 $as_echo "$ac_cv_search_inet_aton" >&6; }
18319 ac_res=$ac_cv_search_inet_aton
18320 if test "$ac_res" != no; then :
18321 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18326 for ac_func in \
18327 getaddrinfo \
18328 getnameinfo \
18329 getnetbyname \
18330 getprotobyname \
18331 getprotobynumber \
18332 getservbyport \
18334 do :
18335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18337 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18338 cat >>confdefs.h <<_ACEOF
18339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18340 _ACEOF
18343 done
18346 case $host_os in
18347 darwin*|macosx*) ;;
18348 *) ac_save_LIBS=$LIBS
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18350 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18351 if ${ac_cv_search_clock_gettime+:} false; then :
18352 $as_echo_n "(cached) " >&6
18353 else
18354 ac_func_search_save_LIBS=$LIBS
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18358 /* Override any GCC internal prototype to avoid an error.
18359 Use char because int might match the return type of a GCC
18360 builtin and then its argument prototype would still apply. */
18361 #ifdef __cplusplus
18362 extern "C"
18363 #endif
18364 char clock_gettime ();
18366 main ()
18368 return clock_gettime ();
18370 return 0;
18372 _ACEOF
18373 for ac_lib in '' rt; do
18374 if test -z "$ac_lib"; then
18375 ac_res="none required"
18376 else
18377 ac_res=-l$ac_lib
18378 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18380 if ac_fn_c_try_link "$LINENO"; then :
18381 ac_cv_search_clock_gettime=$ac_res
18383 rm -f core conftest.err conftest.$ac_objext \
18384 conftest$ac_exeext
18385 if ${ac_cv_search_clock_gettime+:} false; then :
18386 break
18388 done
18389 if ${ac_cv_search_clock_gettime+:} false; then :
18391 else
18392 ac_cv_search_clock_gettime=no
18394 rm conftest.$ac_ext
18395 LIBS=$ac_func_search_save_LIBS
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18398 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18399 ac_res=$ac_cv_search_clock_gettime
18400 if test "$ac_res" != no; then :
18401 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18403 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18405 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18409 LIBS=$ac_save_LIBS
18411 esac
18413 if test "x$with_ldap" != "xno"
18414 then
18415 if ${LDAP_CFLAGS:+false} :; then :
18416 if ${PKG_CONFIG+:} false; then :
18417 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18421 if ${LDAP_LIBS:+false} :; then :
18422 if ${PKG_CONFIG+:} false; then :
18423 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18427 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18428 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18429 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18430 ac_save_CPPFLAGS=$CPPFLAGS
18431 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18432 for ac_header in ldap.h lber.h
18433 do :
18434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18435 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18437 cat >>confdefs.h <<_ACEOF
18438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18439 _ACEOF
18443 done
18445 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18446 then
18447 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18449 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18451 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18452 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 ac_check_lib_save_LIBS=$LIBS
18456 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18460 /* Override any GCC internal prototype to avoid an error.
18461 Use char because int might match the return type of a GCC
18462 builtin and then its argument prototype would still apply. */
18463 #ifdef __cplusplus
18464 extern "C"
18465 #endif
18466 char ldap_initialize ();
18468 main ()
18470 return ldap_initialize ();
18472 return 0;
18474 _ACEOF
18475 if ac_fn_c_try_link "$LINENO"; then :
18476 ac_cv_lib_ldap_r_ldap_initialize=yes
18477 else
18478 ac_cv_lib_ldap_r_ldap_initialize=no
18480 rm -f core conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18482 LIBS=$ac_check_lib_save_LIBS
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18485 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18486 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18488 $as_echo_n "checking for ber_init in -llber... " >&6; }
18489 if ${ac_cv_lib_lber_ber_init+:} false; then :
18490 $as_echo_n "(cached) " >&6
18491 else
18492 ac_check_lib_save_LIBS=$LIBS
18493 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18497 /* Override any GCC internal prototype to avoid an error.
18498 Use char because int might match the return type of a GCC
18499 builtin and then its argument prototype would still apply. */
18500 #ifdef __cplusplus
18501 extern "C"
18502 #endif
18503 char ber_init ();
18505 main ()
18507 return ber_init ();
18509 return 0;
18511 _ACEOF
18512 if ac_fn_c_try_link "$LINENO"; then :
18513 ac_cv_lib_lber_ber_init=yes
18514 else
18515 ac_cv_lib_lber_ber_init=no
18517 rm -f core conftest.err conftest.$ac_objext \
18518 conftest$ac_exeext conftest.$ac_ext
18519 LIBS=$ac_check_lib_save_LIBS
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18522 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18523 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18525 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18527 else
18528 LDAP_LIBS=""
18531 else
18532 LDAP_LIBS=""
18535 else
18536 LDAP_LIBS=""
18539 ac_wine_check_funcs_save_LIBS="$LIBS"
18540 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18541 for ac_func in \
18542 ldap_count_references \
18543 ldap_first_reference \
18544 ldap_next_reference \
18545 ldap_parse_reference \
18546 ldap_parse_sort_control \
18547 ldap_parse_sortresponse_control \
18548 ldap_parse_vlv_control \
18549 ldap_parse_vlvresponse_control
18550 do :
18551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18554 cat >>confdefs.h <<_ACEOF
18555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18556 _ACEOF
18559 done
18561 LIBS="$ac_wine_check_funcs_save_LIBS"
18562 else
18563 LDAP_LIBS=""
18565 CPPFLAGS=$ac_save_CPPFLAGS
18566 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18567 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18570 if test "x$LDAP_LIBS" = "x"; then :
18571 case "x$with_ldap" in
18572 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18573 xno) ;;
18574 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18575 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18576 esac
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18581 $as_echo_n "checking for sched_setaffinity... " >&6; }
18582 if ${wine_cv_have_sched_setaffinity+:} false; then :
18583 $as_echo_n "(cached) " >&6
18584 else
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 #define _GNU_SOURCE
18588 #include <sched.h>
18590 main ()
18592 sched_setaffinity(0, 0, 0);
18594 return 0;
18596 _ACEOF
18597 if ac_fn_c_try_link "$LINENO"; then :
18598 wine_cv_have_sched_setaffinity=yes
18599 else
18600 wine_cv_have_sched_setaffinity=no
18602 rm -f core conftest.err conftest.$ac_objext \
18603 conftest$ac_exeext conftest.$ac_ext
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18606 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18607 if test "$wine_cv_have_sched_setaffinity" = "yes"
18608 then
18610 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18615 $as_echo_n "checking for fallocate... " >&6; }
18616 if ${wine_cv_have_fallocate+:} false; then :
18617 $as_echo_n "(cached) " >&6
18618 else
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 #define _GNU_SOURCE
18622 #include <fcntl.h>
18624 main ()
18626 fallocate(-1, 0, 0, 0);
18628 return 0;
18630 _ACEOF
18631 if ac_fn_c_try_link "$LINENO"; then :
18632 wine_cv_have_fallocate=yes
18633 else
18634 wine_cv_have_fallocate=no
18636 rm -f core conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18640 $as_echo "$wine_cv_have_fallocate" >&6; }
18641 if test "$wine_cv_have_fallocate" = "yes"
18642 then
18644 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18650 $as_echo_n "checking for inline... " >&6; }
18651 if ${ac_cv_c_inline+:} false; then :
18652 $as_echo_n "(cached) " >&6
18653 else
18654 ac_cv_c_inline=no
18655 for ac_kw in inline __inline__ __inline; do
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18658 #ifndef __cplusplus
18659 typedef int foo_t;
18660 static $ac_kw foo_t static_foo () {return 0; }
18661 $ac_kw foo_t foo () {return 0; }
18662 #endif
18664 _ACEOF
18665 if ac_fn_c_try_compile "$LINENO"; then :
18666 ac_cv_c_inline=$ac_kw
18668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18669 test "$ac_cv_c_inline" != no && break
18670 done
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18674 $as_echo "$ac_cv_c_inline" >&6; }
18676 case $ac_cv_c_inline in
18677 inline | yes) ;;
18679 case $ac_cv_c_inline in
18680 no) ac_val=;;
18681 *) ac_val=$ac_cv_c_inline;;
18682 esac
18683 cat >>confdefs.h <<_ACEOF
18684 #ifndef __cplusplus
18685 #define inline $ac_val
18686 #endif
18687 _ACEOF
18689 esac
18691 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18692 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_FSBLKCNT_T 1
18696 _ACEOF
18700 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18701 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_FSFILCNT_T 1
18705 _ACEOF
18710 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18711 #include <signal.h>
18713 if test "x$ac_cv_type_sigset_t" = xyes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_SIGSET_T 1
18717 _ACEOF
18722 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18724 if test "x$ac_cv_type_request_sense" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_REQUEST_SENSE 1
18728 _ACEOF
18734 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18735 #ifdef HAVE_SYS_SOCKET_H
18736 #include <sys/socket.h>
18737 #endif
18738 #ifdef HAVE_SYS_SOCKETVAR_H
18739 #include <sys/socketvar.h>
18740 #endif
18741 #ifdef HAVE_NET_ROUTE_H
18742 #include <net/route.h>
18743 #endif
18744 #ifdef HAVE_NETINET_IN_H
18745 #include <netinet/in.h>
18746 #endif
18747 #ifdef HAVE_NETINET_IN_SYSTM_H
18748 #include <netinet/in_systm.h>
18749 #endif
18750 #ifdef HAVE_NETINET_IP_H
18751 #include <netinet/ip.h>
18752 #endif
18753 #ifdef HAVE_NETINET_IN_PCB_H
18754 #include <netinet/in_pcb.h>
18755 #endif
18757 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_STRUCT_XINPGEN 1
18761 _ACEOF
18767 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18768 #include <linux/input.h>
18769 #endif
18771 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18773 cat >>confdefs.h <<_ACEOF
18774 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18775 _ACEOF
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18782 $as_echo_n "checking for if_nameindex... " >&6; }
18783 if ${wine_cv_have_if_nameindex+:} false; then :
18784 $as_echo_n "(cached) " >&6
18785 else
18786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18788 #ifdef HAVE_SYS_TYPES_H
18789 #include <sys/types.h>
18790 #endif
18791 #ifdef HAVE_SYS_SOCKET_H
18792 #include <sys/socket.h>
18793 #endif
18794 #ifdef HAVE_NET_IF_H
18795 # include <net/if.h>
18796 #endif
18798 main ()
18800 struct if_nameindex *p = if_nameindex(); return p->if_index;
18802 return 0;
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"; then :
18806 wine_cv_have_if_nameindex=yes
18807 else
18808 wine_cv_have_if_nameindex=no
18810 rm -f core conftest.err conftest.$ac_objext \
18811 conftest$ac_exeext conftest.$ac_ext
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18814 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18815 if test "$wine_cv_have_if_nameindex" = "yes"
18816 then
18818 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18823 $as_echo_n "checking for sigaddset... " >&6; }
18824 if ${wine_cv_have_sigaddset+:} false; then :
18825 $as_echo_n "(cached) " >&6
18826 else
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 #include <signal.h>
18831 main ()
18833 sigset_t set; sigaddset(&set,SIGTERM);
18835 return 0;
18837 _ACEOF
18838 if ac_fn_c_try_link "$LINENO"; then :
18839 wine_cv_have_sigaddset=yes
18840 else
18841 wine_cv_have_sigaddset=no
18843 rm -f core conftest.err conftest.$ac_objext \
18844 conftest$ac_exeext conftest.$ac_ext
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18847 $as_echo "$wine_cv_have_sigaddset" >&6; }
18848 if test "$wine_cv_have_sigaddset" = "yes"
18849 then
18851 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18857 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18858 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18859 $as_echo_n "(cached) " >&6
18860 else
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 #include <netdb.h>
18865 main ()
18868 char *name=0;
18869 struct hostent he;
18870 struct hostent *result;
18871 char *buf=0;
18872 int bufsize=0;
18873 int errnr;
18874 char *addr=0;
18875 int addrlen=0;
18876 int addrtype=0;
18877 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18878 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18881 return 0;
18883 _ACEOF
18884 if ac_fn_c_try_link "$LINENO"; then :
18885 wine_cv_linux_gethostbyname_r_6=yes
18886 else
18887 wine_cv_linux_gethostbyname_r_6=no
18890 rm -f core conftest.err conftest.$ac_objext \
18891 conftest$ac_exeext conftest.$ac_ext
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18895 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18896 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18897 then
18899 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18903 if test "$ac_cv_header_linux_joystick_h" = "yes"
18904 then
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18906 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18907 if ${wine_cv_linux_joystick_22_api+:} false; then :
18908 $as_echo_n "(cached) " >&6
18909 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18913 #include <sys/ioctl.h>
18914 #include <sys/types.h>
18915 #include <linux/joystick.h>
18917 struct js_event blub;
18918 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18919 #error "no 2.2 header"
18920 #endif
18923 main ()
18925 /*empty*/
18927 return 0;
18929 _ACEOF
18930 if ac_fn_c_try_compile "$LINENO"; then :
18931 wine_cv_linux_joystick_22_api=yes
18932 else
18933 wine_cv_linux_joystick_22_api=no
18935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18939 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18940 if test "$wine_cv_linux_joystick_22_api" = "yes"
18941 then
18943 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18949 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18950 #ifdef HAVE_SYS_PARAM_H
18951 # include <sys/param.h>
18952 #endif
18953 #ifdef HAVE_SYS_MOUNT_H
18954 # include <sys/mount.h>
18955 #endif
18956 #ifdef HAVE_SYS_VFS_H
18957 # include <sys/vfs.h>
18958 #endif
18959 #ifdef HAVE_SYS_STATFS_H
18960 # include <sys/statfs.h>
18961 #endif
18963 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STRUCT_STATFS_F_BFREE 1
18967 _ACEOF
18971 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18972 #ifdef HAVE_SYS_PARAM_H
18973 # include <sys/param.h>
18974 #endif
18975 #ifdef HAVE_SYS_MOUNT_H
18976 # include <sys/mount.h>
18977 #endif
18978 #ifdef HAVE_SYS_VFS_H
18979 # include <sys/vfs.h>
18980 #endif
18981 #ifdef HAVE_SYS_STATFS_H
18982 # include <sys/statfs.h>
18983 #endif
18985 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18989 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18994 #ifdef HAVE_SYS_PARAM_H
18995 # include <sys/param.h>
18996 #endif
18997 #ifdef HAVE_SYS_MOUNT_H
18998 # include <sys/mount.h>
18999 #endif
19000 #ifdef HAVE_SYS_VFS_H
19001 # include <sys/vfs.h>
19002 #endif
19003 #ifdef HAVE_SYS_STATFS_H
19004 # include <sys/statfs.h>
19005 #endif
19007 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19011 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19016 #ifdef HAVE_SYS_PARAM_H
19017 # include <sys/param.h>
19018 #endif
19019 #ifdef HAVE_SYS_MOUNT_H
19020 # include <sys/mount.h>
19021 #endif
19022 #ifdef HAVE_SYS_VFS_H
19023 # include <sys/vfs.h>
19024 #endif
19025 #ifdef HAVE_SYS_STATFS_H
19026 # include <sys/statfs.h>
19027 #endif
19029 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_STATFS_F_FFREE 1
19033 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19038 #ifdef HAVE_SYS_PARAM_H
19039 # include <sys/param.h>
19040 #endif
19041 #ifdef HAVE_SYS_MOUNT_H
19042 # include <sys/mount.h>
19043 #endif
19044 #ifdef HAVE_SYS_VFS_H
19045 # include <sys/vfs.h>
19046 #endif
19047 #ifdef HAVE_SYS_STATFS_H
19048 # include <sys/statfs.h>
19049 #endif
19051 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19055 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19060 #ifdef HAVE_SYS_PARAM_H
19061 # include <sys/param.h>
19062 #endif
19063 #ifdef HAVE_SYS_MOUNT_H
19064 # include <sys/mount.h>
19065 #endif
19066 #ifdef HAVE_SYS_VFS_H
19067 # include <sys/vfs.h>
19068 #endif
19069 #ifdef HAVE_SYS_STATFS_H
19070 # include <sys/statfs.h>
19071 #endif
19073 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19077 _ACEOF
19083 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19084 #include <sys/statvfs.h>
19085 #endif
19087 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19091 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19098 #include <dirent.h>
19099 #endif
19101 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19105 _ACEOF
19111 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19112 #ifdef HAVE_SYS_SOCKET_H
19113 # include <sys/socket.h>
19114 #endif
19115 #ifdef HAVE_SYS_UN_H
19116 # include <sys/un.h>
19117 #endif
19119 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19128 #ifdef HAVE_SYS_SOCKET_H
19129 # include <sys/socket.h>
19130 #endif
19131 #ifdef HAVE_SYS_UN_H
19132 # include <sys/un.h>
19133 #endif
19135 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19139 _ACEOF
19143 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19144 #ifdef HAVE_SYS_SOCKET_H
19145 # include <sys/socket.h>
19146 #endif
19147 #ifdef HAVE_SYS_UN_H
19148 # include <sys/un.h>
19149 #endif
19151 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19155 _ACEOF
19161 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19162 #ifdef HAVE_SCSI_SG_H
19163 #include <scsi/sg.h>
19164 #endif
19166 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_SCSIREQ_T_CMD 1
19170 _ACEOF
19174 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>
19175 #ifdef HAVE_SCSI_SG_H
19176 #include <scsi/sg.h>
19177 #endif
19179 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19183 _ACEOF
19189 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19191 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_SIGINFO_T_SI_FD 1
19195 _ACEOF
19201 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19202 #ifdef HAVE_SYS_MTIO_H
19203 #include <sys/mtio.h>
19204 #endif
19206 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19210 _ACEOF
19214 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19215 #ifdef HAVE_SYS_MTIO_H
19216 #include <sys/mtio.h>
19217 #endif
19219 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19223 _ACEOF
19227 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19228 #ifdef HAVE_SYS_MTIO_H
19229 #include <sys/mtio.h>
19230 #endif
19232 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19234 cat >>confdefs.h <<_ACEOF
19235 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19236 _ACEOF
19242 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19243 #include <getopt.h>
19244 #endif
19246 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_STRUCT_OPTION_NAME 1
19250 _ACEOF
19256 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19257 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19261 _ACEOF
19265 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19266 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STRUCT_STAT_ST_MTIM 1
19270 _ACEOF
19274 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19275 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19279 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19284 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19286 cat >>confdefs.h <<_ACEOF
19287 #define HAVE_STRUCT_STAT_ST_CTIM 1
19288 _ACEOF
19292 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19293 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19295 cat >>confdefs.h <<_ACEOF
19296 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19297 _ACEOF
19301 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19302 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_STAT_ST_ATIM 1
19306 _ACEOF
19310 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19311 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19313 cat >>confdefs.h <<_ACEOF
19314 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19315 _ACEOF
19319 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19320 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19322 cat >>confdefs.h <<_ACEOF
19323 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19324 _ACEOF
19328 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19329 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19331 cat >>confdefs.h <<_ACEOF
19332 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19333 _ACEOF
19337 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19338 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19340 cat >>confdefs.h <<_ACEOF
19341 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19342 _ACEOF
19346 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19347 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19351 _ACEOF
19355 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19356 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19360 _ACEOF
19366 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
19367 #include <sys/types.h>
19368 #endif
19369 #ifdef HAVE_NETINET_IN_H
19370 #include <netinet/in.h>
19371 #endif
19373 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19377 _ACEOF
19383 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19384 #include <sys/types.h>
19385 #endif
19386 #ifdef HAVE_NETINET_IN_H
19387 #include <netinet/in.h>
19388 #endif
19389 #ifdef HAVE_RESOLV_H
19390 #include <resolv.h>
19391 #endif
19393 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19395 cat >>confdefs.h <<_ACEOF
19396 #define HAVE_STRUCT___RES_STATE 1
19397 _ACEOF
19403 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
19404 #include <resolv.h>
19405 #endif
19407 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19409 cat >>confdefs.h <<_ACEOF
19410 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19411 _ACEOF
19417 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19418 #include <sys/types.h>
19419 #endif
19420 #ifdef HAVE_NETINET_IN_H
19421 # include <netinet/in.h>
19422 #endif
19423 #ifdef HAVE_ARPA_NAMESER_H
19424 # include <arpa/nameser.h>
19425 #endif
19427 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19429 cat >>confdefs.h <<_ACEOF
19430 #define HAVE_NS_MSG__MSG_PTR 1
19431 _ACEOF
19437 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19438 #include <sys/types.h>
19439 #endif
19440 #ifdef HAVE_NETINET_IN_H
19441 #include <netinet/in.h>
19442 #endif
19443 #ifdef HAVE_NETINET_IP_H
19444 #include <netinet/ip.h>
19445 #endif
19446 #ifdef HAVE_NETINET_IP_ICMP_H
19447 #include <netinet/ip_icmp.h>
19448 #endif
19449 #ifdef HAVE_NETINET_ICMP_VAR_H
19450 #include <netinet/icmp_var.h>
19451 #endif
19453 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19455 cat >>confdefs.h <<_ACEOF
19456 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19457 _ACEOF
19463 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19464 #include <sys/types.h>
19465 #endif
19466 #ifdef HAVE_ALIAS_H
19467 #include <alias.h>
19468 #endif
19469 #ifdef HAVE_SYS_SOCKET_H
19470 #include <sys/socket.h>
19471 #endif
19472 #ifdef HAVE_SYS_SOCKETVAR_H
19473 #include <sys/socketvar.h>
19474 #endif
19475 #ifdef HAVE_SYS_TIMEOUT_H
19476 #include <sys/timeout.h>
19477 #endif
19478 #ifdef HAVE_NETINET_IN_H
19479 #include <netinet/in.h>
19480 #endif
19481 #ifdef HAVE_NETINET_IN_SYSTM_H
19482 #include <netinet/in_systm.h>
19483 #endif
19484 #ifdef HAVE_NETINET_IP_H
19485 #include <netinet/ip.h>
19486 #endif
19487 #ifdef HAVE_NETINET_IP_VAR_H
19488 #include <netinet/ip_var.h>
19489 #endif
19490 #ifdef HAVE_NETINET_IP_ICMP_H
19491 #include <netinet/ip_icmp.h>
19492 #endif
19493 #ifdef HAVE_NETINET_ICMP_VAR_H
19494 #include <netinet/icmp_var.h>
19495 #endif
19497 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19501 _ACEOF
19507 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19508 #include <sys/types.h>
19509 #endif
19510 #ifdef HAVE_SYS_SOCKETVAR_H
19511 #include <sys/socketvar.h>
19512 #endif
19513 #ifdef HAVE_NETINET_IN_H
19514 #include <netinet/in.h>
19515 #endif
19516 #ifdef HAVE_NETINET_IP_VAR_H
19517 #include <netinet/ip_var.h>
19518 #endif
19520 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19522 cat >>confdefs.h <<_ACEOF
19523 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19524 _ACEOF
19530 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
19531 #include <netinet/ip_var.h>
19532 #endif
19534 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19536 cat >>confdefs.h <<_ACEOF
19537 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19538 _ACEOF
19544 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19545 #include <sys/types.h>
19546 #endif
19547 #ifdef HAVE_SYS_SOCKETVAR_H
19548 #include <sys/socketvar.h>
19549 #endif
19550 #ifdef HAVE_NETINET_IN_H
19551 #include <netinet/in.h>
19552 #endif
19553 #ifdef HAVE_NETINET_TCP_H
19554 #include <netinet/tcp.h>
19555 #endif
19556 #ifdef HAVE_NETINET_TCP_VAR_H
19557 #include <netinet/tcp_var.h>
19558 #endif
19560 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19562 cat >>confdefs.h <<_ACEOF
19563 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19564 _ACEOF
19570 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
19571 #include <netinet/tcp_var.h>
19572 #endif
19574 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19576 cat >>confdefs.h <<_ACEOF
19577 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19578 _ACEOF
19584 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19585 #include <sys/types.h>
19586 #endif
19587 #ifdef HAVE_NETINET_IN_H
19588 #include <netinet/in.h>
19589 #endif
19590 #ifdef HAVE_NETINET_IP_VAR_H
19591 #include <netinet/ip_var.h>
19592 #endif
19593 #ifdef HAVE_NETINET_UDP_H
19594 #include <netinet/udp.h>
19595 #endif
19596 #ifdef HAVE_NETINET_UDP_VAR_H
19597 #include <netinet/udp_var.h>
19598 #endif
19600 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19602 cat >>confdefs.h <<_ACEOF
19603 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19604 _ACEOF
19610 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19611 #include <sys/types.h>
19612 #endif
19613 #ifdef HAVE_NET_IF_H
19614 # include <net/if.h>
19615 #endif
19617 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19619 cat >>confdefs.h <<_ACEOF
19620 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19621 _ACEOF
19627 ac_save_LIBS="$LIBS"
19628 LIBS="$LIBS -lm"
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19630 $as_echo_n "checking for isfinite... " >&6; }
19631 if ${ac_cv_have_isfinite+:} false; then :
19632 $as_echo_n "(cached) " >&6
19633 else
19634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19635 /* end confdefs.h. */
19636 #define _GNU_SOURCE
19637 #include <math.h>
19639 main ()
19641 float f = 0.0; return isfinite(f)
19643 return 0;
19645 _ACEOF
19646 if ac_fn_c_try_link "$LINENO"; then :
19647 ac_cv_have_isfinite="yes"
19648 else
19649 ac_cv_have_isfinite="no"
19651 rm -f core conftest.err conftest.$ac_objext \
19652 conftest$ac_exeext conftest.$ac_ext
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19655 $as_echo "$ac_cv_have_isfinite" >&6; }
19656 if test "$ac_cv_have_isfinite" = "yes"
19657 then
19659 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19664 $as_echo_n "checking for isinf... " >&6; }
19665 if ${ac_cv_have_isinf+:} false; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #include <math.h>
19672 main ()
19674 float f = 0.0; return isinf(f)
19676 return 0;
19678 _ACEOF
19679 if ac_fn_c_try_link "$LINENO"; then :
19680 ac_cv_have_isinf="yes"
19681 else
19682 ac_cv_have_isinf="no"
19684 rm -f core conftest.err conftest.$ac_objext \
19685 conftest$ac_exeext conftest.$ac_ext
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19688 $as_echo "$ac_cv_have_isinf" >&6; }
19689 if test "$ac_cv_have_isinf" = "yes"
19690 then
19692 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19697 $as_echo_n "checking for isnan... " >&6; }
19698 if ${ac_cv_have_isnan+:} false; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19703 #include <math.h>
19705 main ()
19707 float f = 0.0; return isnan(f)
19709 return 0;
19711 _ACEOF
19712 if ac_fn_c_try_link "$LINENO"; then :
19713 ac_cv_have_isnan="yes"
19714 else
19715 ac_cv_have_isnan="no"
19717 rm -f core conftest.err conftest.$ac_objext \
19718 conftest$ac_exeext conftest.$ac_ext
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19721 $as_echo "$ac_cv_have_isnan" >&6; }
19722 if test "$ac_cv_have_isnan" = "yes"
19723 then
19725 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19729 for ac_func in \
19730 acosh \
19731 acoshf \
19732 asinh \
19733 asinhf \
19734 atanh \
19735 atanhf \
19736 cbrt \
19737 cbrtf \
19738 erf \
19739 erfc \
19740 erfcf \
19741 erff \
19742 exp2 \
19743 exp2f \
19744 expm1 \
19745 expm1f \
19746 fma \
19747 fmaf \
19748 ilogb \
19749 ilogbf \
19750 j0 \
19751 j1 \
19752 jn \
19753 lgamma \
19754 lgammaf \
19755 llrint \
19756 llrintf \
19757 llround \
19758 llroundf \
19759 log1p \
19760 log1pf \
19761 log2 \
19762 log2f \
19763 lrint \
19764 lrintf \
19765 lround \
19766 lroundf \
19767 nearbyint \
19768 nearbyintf \
19769 nexttoward \
19770 nexttowardf \
19771 remainder \
19772 remainderf \
19773 remquo \
19774 remquof \
19775 rint \
19776 rintf \
19777 round \
19778 roundf \
19779 tgamma \
19780 tgammaf \
19781 trunc \
19782 truncf \
19783 y0 \
19784 y1 \
19787 do :
19788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19791 cat >>confdefs.h <<_ACEOF
19792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19793 _ACEOF
19796 done
19798 LIBS="$ac_save_LIBS"
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19801 $as_echo_n "checking for __builtin_popcount... " >&6; }
19802 if ${ac_cv_have___builtin_popcount+:} false; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19809 main ()
19811 return __builtin_popcount(1)
19813 return 0;
19815 _ACEOF
19816 if ac_fn_c_try_link "$LINENO"; then :
19817 ac_cv_have___builtin_popcount="yes"
19818 else
19819 ac_cv_have___builtin_popcount="no"
19821 rm -f core conftest.err conftest.$ac_objext \
19822 conftest$ac_exeext conftest.$ac_ext
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19825 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19826 if test "$ac_cv_have___builtin_popcount" = "yes"
19827 then
19829 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19834 $as_echo_n "checking for __clear_cache... " >&6; }
19835 if ${ac_cv_have___clear_cache+:} false; then :
19836 $as_echo_n "(cached) " >&6
19837 else
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19842 main ()
19844 __clear_cache((void*)0, (void*)0); return 0;
19846 return 0;
19848 _ACEOF
19849 if ac_fn_c_try_link "$LINENO"; then :
19850 ac_cv_have___clear_cache="yes"
19851 else
19852 ac_cv_have___clear_cache="no"
19854 rm -f core conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19858 $as_echo "$ac_cv_have___clear_cache" >&6; }
19859 if test "$ac_cv_have___clear_cache" = "yes"
19860 then
19862 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19867 case $host_cpu in
19868 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19869 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19870 if ${ac_cv_cpp_def___i386__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __i386__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___i386__=yes
19882 else
19883 ac_cv_cpp_def___i386__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19889 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19890 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__i386__"
19892 LINTFLAGS="$LINTFLAGS -D__i386__"
19893 fi ;;
19894 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19895 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19896 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19897 $as_echo_n "(cached) " >&6
19898 else
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #ifndef __x86_64__
19903 #endif
19904 _ACEOF
19905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19906 $EGREP "yes" >/dev/null 2>&1; then :
19907 ac_cv_cpp_def___x86_64__=yes
19908 else
19909 ac_cv_cpp_def___x86_64__=no
19911 rm -f conftest*
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19915 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19916 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19917 CFLAGS="$CFLAGS -D__x86_64__"
19918 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19919 fi ;;
19920 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19921 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19922 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19923 $as_echo_n "(cached) " >&6
19924 else
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19927 #ifndef __sparc64__
19929 #endif
19930 _ACEOF
19931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19932 $EGREP "yes" >/dev/null 2>&1; then :
19933 ac_cv_cpp_def___sparc64__=yes
19934 else
19935 ac_cv_cpp_def___sparc64__=no
19937 rm -f conftest*
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19941 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19942 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19943 CFLAGS="$CFLAGS -D__sparc64__"
19944 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19945 fi ;;
19946 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19947 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19948 if ${ac_cv_cpp_def___sparc__+:} false; then :
19949 $as_echo_n "(cached) " >&6
19950 else
19951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19953 #ifndef __sparc__
19955 #endif
19956 _ACEOF
19957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19958 $EGREP "yes" >/dev/null 2>&1; then :
19959 ac_cv_cpp_def___sparc__=yes
19960 else
19961 ac_cv_cpp_def___sparc__=no
19963 rm -f conftest*
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19967 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19968 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19969 CFLAGS="$CFLAGS -D__sparc__"
19970 LINTFLAGS="$LINTFLAGS -D__sparc__"
19971 fi ;;
19972 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19973 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19974 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19975 $as_echo_n "(cached) " >&6
19976 else
19977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19978 /* end confdefs.h. */
19979 #ifndef __powerpc64__
19981 #endif
19982 _ACEOF
19983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19984 $EGREP "yes" >/dev/null 2>&1; then :
19985 ac_cv_cpp_def___powerpc64__=yes
19986 else
19987 ac_cv_cpp_def___powerpc64__=no
19989 rm -f conftest*
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19993 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19994 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19995 CFLAGS="$CFLAGS -D__powerpc64__"
19996 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19997 fi ;;
19998 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19999 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20000 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20001 $as_echo_n "(cached) " >&6
20002 else
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20005 #ifndef __powerpc__
20007 #endif
20008 _ACEOF
20009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20010 $EGREP "yes" >/dev/null 2>&1; then :
20011 ac_cv_cpp_def___powerpc__=yes
20012 else
20013 ac_cv_cpp_def___powerpc__=no
20015 rm -f conftest*
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20019 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20020 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20021 CFLAGS="$CFLAGS -D__powerpc__"
20022 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20023 fi ;;
20024 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20025 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20026 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20027 $as_echo_n "(cached) " >&6
20028 else
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #ifndef __aarch64__
20033 #endif
20034 _ACEOF
20035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20036 $EGREP "yes" >/dev/null 2>&1; then :
20037 ac_cv_cpp_def___aarch64__=yes
20038 else
20039 ac_cv_cpp_def___aarch64__=no
20041 rm -f conftest*
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20045 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20046 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20047 CFLAGS="$CFLAGS -D__aarch64__"
20048 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20049 fi ;;
20050 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20051 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20052 if ${ac_cv_cpp_def___arm__+:} false; then :
20053 $as_echo_n "(cached) " >&6
20054 else
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 #ifndef __arm__
20059 #endif
20060 _ACEOF
20061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20062 $EGREP "yes" >/dev/null 2>&1; then :
20063 ac_cv_cpp_def___arm__=yes
20064 else
20065 ac_cv_cpp_def___arm__=no
20067 rm -f conftest*
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20071 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20072 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20073 CFLAGS="$CFLAGS -D__arm__"
20074 LINTFLAGS="$LINTFLAGS -D__arm__"
20075 fi ;;
20076 esac
20078 case $host_vendor in
20079 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20080 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20081 if ${ac_cv_cpp_def___sun__+:} false; then :
20082 $as_echo_n "(cached) " >&6
20083 else
20084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20085 /* end confdefs.h. */
20086 #ifndef __sun__
20088 #endif
20089 _ACEOF
20090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20091 $EGREP "yes" >/dev/null 2>&1; then :
20092 ac_cv_cpp_def___sun__=yes
20093 else
20094 ac_cv_cpp_def___sun__=no
20096 rm -f conftest*
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20100 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20101 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20102 CFLAGS="$CFLAGS -D__sun__"
20103 LINTFLAGS="$LINTFLAGS -D__sun__"
20104 fi ;;
20105 esac
20111 ac_config_commands="$ac_config_commands include/stamp-h"
20113 $as_echo_n "creating Makefile rules..." >&6
20115 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20116 OPENGL_LIBS = $OPENGL_LIBS
20117 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20118 IOKIT_LIBS = $IOKIT_LIBS
20119 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20120 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20121 CORESERVICES_LIBS = $CORESERVICES_LIBS
20122 APPKIT_LIBS = $APPKIT_LIBS
20123 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20124 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20125 SECURITY_LIBS = $SECURITY_LIBS
20126 COREAUDIO_LIBS = $COREAUDIO_LIBS
20127 OPENAL_LIBS = $OPENAL_LIBS
20128 OPENCL_LIBS = $OPENCL_LIBS
20129 QUICKTIME_LIBS = $QUICKTIME_LIBS
20130 CARBON_LIBS = $CARBON_LIBS
20131 METAL_LIBS = $METAL_LIBS
20132 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20133 PTHREAD_LIBS = $PTHREAD_LIBS
20134 X_CFLAGS = $X_CFLAGS
20135 X_PRE_LIBS = $X_PRE_LIBS
20136 X_LIBS = $X_LIBS
20137 X_EXTRA_LIBS = $X_EXTRA_LIBS
20138 PCAP_LIBS = $PCAP_LIBS
20139 XML2_CFLAGS = $XML2_CFLAGS
20140 XML2_LIBS = $XML2_LIBS
20141 XSLT_CFLAGS = $XSLT_CFLAGS
20142 XSLT_LIBS = $XSLT_LIBS
20143 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20144 INOTIFY_LIBS = $INOTIFY_LIBS
20145 DBUS_CFLAGS = $DBUS_CFLAGS
20146 DBUS_LIBS = $DBUS_LIBS
20147 HAL_CFLAGS = $HAL_CFLAGS
20148 HAL_LIBS = $HAL_LIBS
20149 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20150 GNUTLS_LIBS = $GNUTLS_LIBS
20151 SANE_CFLAGS = $SANE_CFLAGS
20152 SANE_LIBS = $SANE_LIBS
20153 USB_CFLAGS = $USB_CFLAGS
20154 USB_LIBS = $USB_LIBS
20155 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20156 GPHOTO2_LIBS = $GPHOTO2_LIBS
20157 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20158 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20159 RESOLV_LIBS = $RESOLV_LIBS
20160 LCMS2_CFLAGS = $LCMS2_CFLAGS
20161 LCMS2_LIBS = $LCMS2_LIBS
20162 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20163 FREETYPE_LIBS = $FREETYPE_LIBS
20164 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20165 PULSE_CFLAGS = $PULSE_CFLAGS
20166 PULSE_LIBS = $PULSE_LIBS
20167 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20168 GSTREAMER_LIBS = $GSTREAMER_LIBS
20169 ALSA_LIBS = $ALSA_LIBS
20170 OSS4_CFLAGS = $OSS4_CFLAGS
20171 OSS4_LIBS = $OSS4_LIBS
20172 UDEV_CFLAGS = $UDEV_CFLAGS
20173 UDEV_LIBS = $UDEV_LIBS
20174 UNWIND_CFLAGS = $UNWIND_CFLAGS
20175 UNWIND_LIBS = $UNWIND_LIBS
20176 SDL2_CFLAGS = $SDL2_CFLAGS
20177 SDL2_LIBS = $SDL2_LIBS
20178 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20179 FAUDIO_LIBS = $FAUDIO_LIBS
20180 CAPI20_CFLAGS = $CAPI20_CFLAGS
20181 CAPI20_LIBS = $CAPI20_LIBS
20182 CUPS_CFLAGS = $CUPS_CFLAGS
20183 CUPS_LIBS = $CUPS_LIBS
20184 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20185 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20186 KRB5_CFLAGS = $KRB5_CFLAGS
20187 KRB5_LIBS = $KRB5_LIBS
20188 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20189 GSSAPI_LIBS = $GSSAPI_LIBS
20190 JPEG_CFLAGS = $JPEG_CFLAGS
20191 JPEG_LIBS = $JPEG_LIBS
20192 PNG_CFLAGS = $PNG_CFLAGS
20193 PNG_LIBS = $PNG_LIBS
20194 TIFF_CFLAGS = $TIFF_CFLAGS
20195 TIFF_LIBS = $TIFF_LIBS
20196 MPG123_CFLAGS = $MPG123_CFLAGS
20197 MPG123_LIBS = $MPG123_LIBS
20198 KSTAT_LIBS = $KSTAT_LIBS
20199 PROCSTAT_LIBS = $PROCSTAT_LIBS
20200 NETAPI_CFLAGS = $NETAPI_CFLAGS
20201 NETAPI_LIBS = $NETAPI_LIBS
20202 VKD3D_CFLAGS = $VKD3D_CFLAGS
20203 VKD3D_LIBS = $VKD3D_LIBS
20204 POLL_LIBS = $POLL_LIBS
20205 RT_LIBS = $RT_LIBS
20206 LDAP_CFLAGS = $LDAP_CFLAGS
20207 LDAP_LIBS = $LDAP_LIBS
20212 wine_fn_append_rule "
20213 # Rules automatically generated by configure
20215 .INIT: Makefile
20216 .MAKEFILEDEPS:
20217 all: Makefile
20218 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20219 @./config.status Make.tmp Makefile
20220 depend: \$(MAKEDEP) dummy
20221 \$(MAKEDEP)"
20223 ac_config_links="$ac_config_links wine:tools/winewrapper"
20224 wine_fn_config_symlink wine
20225 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20226 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20227 wine_fn_config_symlink wine64
20230 wine_fn_config_makefile dlls/acledit enable_acledit
20231 wine_fn_config_makefile dlls/aclui enable_aclui
20232 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20233 wine_fn_config_makefile dlls/activeds enable_activeds
20234 wine_fn_config_makefile dlls/activeds/tests enable_tests
20235 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20236 wine_fn_config_makefile dlls/adsiid enable_adsiid
20237 wine_fn_config_makefile dlls/adsldp enable_adsldp
20238 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20239 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20240 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20241 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20242 wine_fn_config_makefile dlls/advpack enable_advpack
20243 wine_fn_config_makefile dlls/advpack/tests enable_tests
20244 wine_fn_config_makefile dlls/amsi enable_amsi
20245 wine_fn_config_makefile dlls/amstream enable_amstream
20246 wine_fn_config_makefile dlls/amstream/tests enable_tests
20247 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20249 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20250 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20257 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20272 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20273 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20275 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20278 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20279 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20281 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20282 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20301 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20302 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20306 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20307 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20316 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20317 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20320 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20324 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20329 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20330 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20353 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20357 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20359 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20360 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20362 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20370 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20375 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20376 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20381 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20383 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20402 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20403 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20407 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20423 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20428 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20434 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20436 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20438 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20439 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20440 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20442 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20443 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20444 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20445 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20447 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20448 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20450 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20453 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20455 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20456 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20457 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20459 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20461 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20463 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20464 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20465 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20466 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20467 wine_fn_config_makefile dlls/apphelp enable_apphelp
20468 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20469 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20470 wine_fn_config_makefile dlls/atl enable_atl
20471 wine_fn_config_makefile dlls/atl/tests enable_tests
20472 wine_fn_config_makefile dlls/atl100 enable_atl100
20473 wine_fn_config_makefile dlls/atl100/tests enable_tests
20474 wine_fn_config_makefile dlls/atl110 enable_atl110
20475 wine_fn_config_makefile dlls/atl80 enable_atl80
20476 wine_fn_config_makefile dlls/atl80/tests enable_tests
20477 wine_fn_config_makefile dlls/atl90 enable_atl90
20478 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20479 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20480 wine_fn_config_makefile dlls/atmlib enable_atmlib
20481 wine_fn_config_makefile dlls/authz enable_authz
20482 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20483 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20484 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20485 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20486 wine_fn_config_makefile dlls/avrt enable_avrt
20487 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20488 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20489 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20490 wine_fn_config_makefile dlls/browseui enable_browseui
20491 wine_fn_config_makefile dlls/browseui/tests enable_tests
20492 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20493 wine_fn_config_makefile dlls/cabinet enable_cabinet
20494 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20495 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20496 wine_fn_config_makefile dlls/cards enable_cards
20497 wine_fn_config_makefile dlls/cdosys enable_cdosys
20498 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20499 wine_fn_config_makefile dlls/clusapi enable_clusapi
20500 wine_fn_config_makefile dlls/combase enable_combase
20501 wine_fn_config_makefile dlls/combase/tests enable_tests
20502 wine_fn_config_makefile dlls/comcat enable_comcat
20503 wine_fn_config_makefile dlls/comcat/tests enable_tests
20504 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20505 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20506 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20507 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20508 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20509 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20510 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20511 wine_fn_config_makefile dlls/compstui enable_compstui
20512 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20513 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20514 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20515 wine_fn_config_makefile dlls/connect enable_connect
20516 wine_fn_config_makefile dlls/credui enable_credui
20517 wine_fn_config_makefile dlls/credui/tests enable_tests
20518 wine_fn_config_makefile dlls/crtdll enable_crtdll
20519 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20520 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20521 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20522 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20523 wine_fn_config_makefile dlls/cryptext enable_cryptext
20524 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20525 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20526 wine_fn_config_makefile dlls/cryptui enable_cryptui
20527 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20528 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20529 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20530 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20531 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20532 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20533 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20534 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20535 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20536 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20537 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20538 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20539 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20540 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20541 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20542 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20543 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20544 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20545 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20546 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20547 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20548 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20549 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20550 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20551 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20552 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20553 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20554 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20555 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20556 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20557 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20558 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20559 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20560 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20561 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20562 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20563 wine_fn_config_makefile dlls/d3dim enable_d3dim
20564 wine_fn_config_makefile dlls/d3drm enable_d3drm
20565 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20566 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20567 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20568 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20569 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20570 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20571 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20572 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20573 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20574 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20575 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20576 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20577 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20578 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20579 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20580 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20581 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20582 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20583 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20584 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20585 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20586 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20587 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20588 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20589 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20590 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20591 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20592 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20593 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20594 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20595 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20596 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20597 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20598 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20599 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20600 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20601 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20602 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20603 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20604 wine_fn_config_makefile dlls/davclnt enable_davclnt
20605 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20606 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20607 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20608 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20609 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20610 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20611 wine_fn_config_makefile dlls/ddraw enable_ddraw
20612 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20613 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20614 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20615 wine_fn_config_makefile dlls/devenum enable_devenum
20616 wine_fn_config_makefile dlls/devenum/tests enable_tests
20617 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20618 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20619 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20620 wine_fn_config_makefile dlls/difxapi enable_difxapi
20621 wine_fn_config_makefile dlls/dinput enable_dinput
20622 wine_fn_config_makefile dlls/dinput/tests enable_tests
20623 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20624 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20625 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20626 wine_fn_config_makefile dlls/dispex enable_dispex
20627 wine_fn_config_makefile dlls/dispex/tests enable_tests
20628 wine_fn_config_makefile dlls/display.drv16 enable_win16
20629 wine_fn_config_makefile dlls/dmband enable_dmband
20630 wine_fn_config_makefile dlls/dmband/tests enable_tests
20631 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20632 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20633 wine_fn_config_makefile dlls/dmime enable_dmime
20634 wine_fn_config_makefile dlls/dmime/tests enable_tests
20635 wine_fn_config_makefile dlls/dmloader enable_dmloader
20636 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20637 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20638 wine_fn_config_makefile dlls/dmscript enable_dmscript
20639 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20640 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20641 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20642 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20643 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20644 wine_fn_config_makefile dlls/dmusic enable_dmusic
20645 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20646 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20647 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20648 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20649 wine_fn_config_makefile dlls/dplay enable_dplay
20650 wine_fn_config_makefile dlls/dplayx enable_dplayx
20651 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20652 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20653 wine_fn_config_makefile dlls/dpnet enable_dpnet
20654 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20655 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20656 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20657 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20658 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20659 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20660 wine_fn_config_makefile dlls/drmclien enable_drmclien
20661 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20662 wine_fn_config_makefile dlls/dsound enable_dsound
20663 wine_fn_config_makefile dlls/dsound/tests enable_tests
20664 wine_fn_config_makefile dlls/dsquery enable_dsquery
20665 wine_fn_config_makefile dlls/dssenh enable_dssenh
20666 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20667 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20668 wine_fn_config_makefile dlls/dswave enable_dswave
20669 wine_fn_config_makefile dlls/dswave/tests enable_tests
20670 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20671 wine_fn_config_makefile dlls/dwrite enable_dwrite
20672 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20673 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20674 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20675 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20676 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20677 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20678 wine_fn_config_makefile dlls/dxgi enable_dxgi
20679 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20680 wine_fn_config_makefile dlls/dxguid enable_dxguid
20681 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20682 wine_fn_config_makefile dlls/esent enable_esent
20683 wine_fn_config_makefile dlls/evr enable_evr
20684 wine_fn_config_makefile dlls/evr/tests enable_tests
20685 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20686 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20687 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20688 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20689 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20690 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20691 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20692 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20693 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20694 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20695 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20696 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20698 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20699 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20700 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20701 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20702 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20703 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20704 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20705 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20706 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20707 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20708 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20709 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20710 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20711 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20712 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20713 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20714 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20715 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20716 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20717 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20718 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20719 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20720 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20721 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20722 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20723 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20724 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20725 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20726 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20727 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
20728 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20729 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20730 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20731 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20732 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20733 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20734 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20735 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20736 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20737 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20738 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20739 wine_fn_config_makefile dlls/faultrep enable_faultrep
20740 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20741 wine_fn_config_makefile dlls/feclient enable_feclient
20742 wine_fn_config_makefile dlls/fltlib enable_fltlib
20743 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20744 wine_fn_config_makefile dlls/fntcache enable_fntcache
20745 wine_fn_config_makefile dlls/fontsub enable_fontsub
20746 wine_fn_config_makefile dlls/fusion enable_fusion
20747 wine_fn_config_makefile dlls/fusion/tests enable_tests
20748 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20749 wine_fn_config_makefile dlls/gameux enable_gameux
20750 wine_fn_config_makefile dlls/gameux/tests enable_tests
20751 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20752 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20753 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20754 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20755 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20756 wine_fn_config_makefile dlls/glu32 enable_glu32
20757 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20758 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20759 wine_fn_config_makefile dlls/hal enable_hal
20760 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20761 wine_fn_config_makefile dlls/hid enable_hid
20762 wine_fn_config_makefile dlls/hid/tests enable_tests
20763 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20764 wine_fn_config_makefile dlls/hlink enable_hlink
20765 wine_fn_config_makefile dlls/hlink/tests enable_tests
20766 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20767 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20768 wine_fn_config_makefile dlls/http.sys enable_http_sys
20769 wine_fn_config_makefile dlls/httpapi enable_httpapi
20770 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20771 wine_fn_config_makefile dlls/iccvid enable_iccvid
20772 wine_fn_config_makefile dlls/icmp enable_icmp
20773 wine_fn_config_makefile dlls/ieframe enable_ieframe
20774 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20775 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20776 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20777 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20778 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20779 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20780 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20781 wine_fn_config_makefile dlls/imm32 enable_imm32
20782 wine_fn_config_makefile dlls/imm32/tests enable_tests
20783 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20784 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20785 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20786 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20787 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20788 wine_fn_config_makefile dlls/infosoft enable_infosoft
20789 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20790 wine_fn_config_makefile dlls/initpki enable_initpki
20791 wine_fn_config_makefile dlls/inkobj enable_inkobj
20792 wine_fn_config_makefile dlls/inseng enable_inseng
20793 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20794 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20795 wine_fn_config_makefile dlls/iprop enable_iprop
20796 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20797 wine_fn_config_makefile dlls/itircl enable_itircl
20798 wine_fn_config_makefile dlls/itss enable_itss
20799 wine_fn_config_makefile dlls/itss/tests enable_tests
20800 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20801 wine_fn_config_makefile dlls/jscript enable_jscript
20802 wine_fn_config_makefile dlls/jscript/tests enable_tests
20803 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20804 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20805 wine_fn_config_makefile dlls/kerberos enable_kerberos
20806 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20807 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20808 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20809 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20810 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20811 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20812 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20813 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20814 wine_fn_config_makefile dlls/ksuser enable_ksuser
20815 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20816 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20817 wine_fn_config_makefile dlls/loadperf enable_loadperf
20818 wine_fn_config_makefile dlls/localspl enable_localspl
20819 wine_fn_config_makefile dlls/localspl/tests enable_tests
20820 wine_fn_config_makefile dlls/localui enable_localui
20821 wine_fn_config_makefile dlls/localui/tests enable_tests
20822 wine_fn_config_makefile dlls/lz32 enable_lz32
20823 wine_fn_config_makefile dlls/lz32/tests enable_tests
20824 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20825 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20826 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20827 wine_fn_config_makefile dlls/mapistub enable_mapistub
20828 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20829 wine_fn_config_makefile dlls/mcicda enable_mcicda
20830 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20831 wine_fn_config_makefile dlls/mciseq enable_mciseq
20832 wine_fn_config_makefile dlls/mciwave enable_mciwave
20833 wine_fn_config_makefile dlls/mf enable_mf
20834 wine_fn_config_makefile dlls/mf/tests enable_tests
20835 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20836 wine_fn_config_makefile dlls/mferror enable_mferror
20837 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20838 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20839 wine_fn_config_makefile dlls/mfplat enable_mfplat
20840 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20841 wine_fn_config_makefile dlls/mfplay enable_mfplay
20842 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20843 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20844 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20845 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20846 wine_fn_config_makefile dlls/midimap enable_midimap
20847 wine_fn_config_makefile dlls/mlang enable_mlang
20848 wine_fn_config_makefile dlls/mlang/tests enable_tests
20849 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20850 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20851 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20852 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20853 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20854 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20855 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20856 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20857 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20858 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20859 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20860 wine_fn_config_makefile dlls/mpr enable_mpr
20861 wine_fn_config_makefile dlls/mpr/tests enable_tests
20862 wine_fn_config_makefile dlls/mprapi enable_mprapi
20863 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20864 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20865 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20866 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20867 wine_fn_config_makefile dlls/msado15 enable_msado15
20868 wine_fn_config_makefile dlls/msado15/tests enable_tests
20869 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20870 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20871 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20872 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20873 wine_fn_config_makefile dlls/mscms enable_mscms
20874 wine_fn_config_makefile dlls/mscms/tests enable_tests
20875 wine_fn_config_makefile dlls/mscoree enable_mscoree
20876 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20877 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20878 wine_fn_config_makefile dlls/msctf enable_msctf
20879 wine_fn_config_makefile dlls/msctf/tests enable_tests
20880 wine_fn_config_makefile dlls/msctfp enable_msctfp
20881 wine_fn_config_makefile dlls/msdaps enable_msdaps
20882 wine_fn_config_makefile dlls/msdelta enable_msdelta
20883 wine_fn_config_makefile dlls/msdmo enable_msdmo
20884 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20885 wine_fn_config_makefile dlls/msdrm enable_msdrm
20886 wine_fn_config_makefile dlls/msftedit enable_msftedit
20887 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20888 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20889 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20890 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20891 wine_fn_config_makefile dlls/mshtml enable_mshtml
20892 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20893 wine_fn_config_makefile dlls/msi enable_msi
20894 wine_fn_config_makefile dlls/msi/tests enable_tests
20895 wine_fn_config_makefile dlls/msident enable_msident
20896 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20897 wine_fn_config_makefile dlls/msimsg enable_msimsg
20898 wine_fn_config_makefile dlls/msimtf enable_msimtf
20899 wine_fn_config_makefile dlls/msisip enable_msisip
20900 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20901 wine_fn_config_makefile dlls/msls31 enable_msls31
20902 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20903 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20904 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20905 wine_fn_config_makefile dlls/msports enable_msports
20906 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20907 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20908 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20909 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20910 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20911 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20912 wine_fn_config_makefile dlls/mstask enable_mstask
20913 wine_fn_config_makefile dlls/mstask/tests enable_tests
20914 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20915 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20916 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20917 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20918 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20919 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20920 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20921 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20922 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20923 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20924 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20925 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20926 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20927 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20928 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20929 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20930 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20931 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20932 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20933 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20934 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20935 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20936 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20937 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20938 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20939 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20940 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20941 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20942 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20943 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20944 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20945 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20946 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20947 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20948 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20949 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20950 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20951 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20952 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20953 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20954 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20955 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20956 wine_fn_config_makefile dlls/mswsock enable_mswsock
20957 wine_fn_config_makefile dlls/msxml enable_msxml
20958 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20959 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20960 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20961 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20962 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20963 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20964 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20965 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20966 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20967 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20968 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20969 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20970 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20971 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20972 wine_fn_config_makefile dlls/netprofm enable_netprofm
20973 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20974 wine_fn_config_makefile dlls/newdev enable_newdev
20975 wine_fn_config_makefile dlls/ninput enable_ninput
20976 wine_fn_config_makefile dlls/ninput/tests enable_tests
20977 wine_fn_config_makefile dlls/normaliz enable_normaliz
20978 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20979 wine_fn_config_makefile dlls/npptools enable_npptools
20980 wine_fn_config_makefile dlls/ntdll enable_ntdll
20981 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20982 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20983 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20984 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20985 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20986 wine_fn_config_makefile dlls/ntprint enable_ntprint
20987 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20988 wine_fn_config_makefile dlls/objsel enable_objsel
20989 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20990 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20991 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20992 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20993 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20994 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20995 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20996 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20997 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20998 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20999 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21000 wine_fn_config_makefile dlls/ole32 enable_ole32
21001 wine_fn_config_makefile dlls/ole32/tests enable_tests
21002 wine_fn_config_makefile dlls/oleacc enable_oleacc
21003 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21004 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21005 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21006 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21007 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21008 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21009 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21010 wine_fn_config_makefile dlls/oledlg enable_oledlg
21011 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21012 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21013 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21014 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21015 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21016 wine_fn_config_makefile dlls/opcservices enable_opcservices
21017 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21018 wine_fn_config_makefile dlls/openal32 enable_openal32
21019 wine_fn_config_makefile dlls/opencl enable_opencl
21020 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21021 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21022 wine_fn_config_makefile dlls/packager enable_packager
21023 wine_fn_config_makefile dlls/packager/tests enable_tests
21024 wine_fn_config_makefile dlls/pdh enable_pdh
21025 wine_fn_config_makefile dlls/pdh/tests enable_tests
21026 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21027 wine_fn_config_makefile dlls/pidgen enable_pidgen
21028 wine_fn_config_makefile dlls/powrprof enable_powrprof
21029 wine_fn_config_makefile dlls/printui enable_printui
21030 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21031 wine_fn_config_makefile dlls/propsys enable_propsys
21032 wine_fn_config_makefile dlls/propsys/tests enable_tests
21033 wine_fn_config_makefile dlls/psapi enable_psapi
21034 wine_fn_config_makefile dlls/psapi/tests enable_tests
21035 wine_fn_config_makefile dlls/pstorec enable_pstorec
21036 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21037 wine_fn_config_makefile dlls/qasf enable_qasf
21038 wine_fn_config_makefile dlls/qasf/tests enable_tests
21039 wine_fn_config_makefile dlls/qcap enable_qcap
21040 wine_fn_config_makefile dlls/qcap/tests enable_tests
21041 wine_fn_config_makefile dlls/qdvd enable_qdvd
21042 wine_fn_config_makefile dlls/qedit enable_qedit
21043 wine_fn_config_makefile dlls/qedit/tests enable_tests
21044 wine_fn_config_makefile dlls/qmgr enable_qmgr
21045 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21046 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21047 wine_fn_config_makefile dlls/quartz enable_quartz
21048 wine_fn_config_makefile dlls/quartz/tests enable_tests
21049 wine_fn_config_makefile dlls/query enable_query
21050 wine_fn_config_makefile dlls/qwave enable_qwave
21051 wine_fn_config_makefile dlls/qwave/tests enable_tests
21052 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21053 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21054 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21055 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21056 wine_fn_config_makefile dlls/regapi enable_regapi
21057 wine_fn_config_makefile dlls/resutils enable_resutils
21058 wine_fn_config_makefile dlls/riched20 enable_riched20
21059 wine_fn_config_makefile dlls/riched20/tests enable_tests
21060 wine_fn_config_makefile dlls/riched32 enable_riched32
21061 wine_fn_config_makefile dlls/riched32/tests enable_tests
21062 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21063 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21064 wine_fn_config_makefile dlls/rsabase enable_rsabase
21065 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21066 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21067 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21068 wine_fn_config_makefile dlls/rtutils enable_rtutils
21069 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21070 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21071 wine_fn_config_makefile dlls/samlib enable_samlib
21072 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21073 wine_fn_config_makefile dlls/sapi enable_sapi
21074 wine_fn_config_makefile dlls/sapi/tests enable_tests
21075 wine_fn_config_makefile dlls/sas enable_sas
21076 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21077 wine_fn_config_makefile dlls/sccbase enable_sccbase
21078 wine_fn_config_makefile dlls/schannel enable_schannel
21079 wine_fn_config_makefile dlls/schannel/tests enable_tests
21080 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21081 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21082 wine_fn_config_makefile dlls/scrobj enable_scrobj
21083 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21084 wine_fn_config_makefile dlls/scrrun enable_scrrun
21085 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21086 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21087 wine_fn_config_makefile dlls/sechost enable_sechost
21088 wine_fn_config_makefile dlls/secur32 enable_secur32
21089 wine_fn_config_makefile dlls/secur32/tests enable_tests
21090 wine_fn_config_makefile dlls/security enable_security
21091 wine_fn_config_makefile dlls/sensapi enable_sensapi
21092 wine_fn_config_makefile dlls/serialui enable_serialui
21093 wine_fn_config_makefile dlls/serialui/tests enable_tests
21094 wine_fn_config_makefile dlls/setupapi enable_setupapi
21095 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21096 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21097 wine_fn_config_makefile dlls/sfc enable_sfc
21098 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21099 wine_fn_config_makefile dlls/shcore enable_shcore
21100 wine_fn_config_makefile dlls/shcore/tests enable_tests
21101 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21102 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21103 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21104 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21105 wine_fn_config_makefile dlls/shell32 enable_shell32
21106 wine_fn_config_makefile dlls/shell32/tests enable_tests
21107 wine_fn_config_makefile dlls/shfolder enable_shfolder
21108 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21109 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21110 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21111 wine_fn_config_makefile dlls/slc enable_slc
21112 wine_fn_config_makefile dlls/slc/tests enable_tests
21113 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21114 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21115 wine_fn_config_makefile dlls/softpub enable_softpub
21116 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21117 wine_fn_config_makefile dlls/spoolss enable_spoolss
21118 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21119 wine_fn_config_makefile dlls/srclient enable_srclient
21120 wine_fn_config_makefile dlls/sspicli enable_sspicli
21121 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21122 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21123 wine_fn_config_makefile dlls/sti enable_sti
21124 wine_fn_config_makefile dlls/sti/tests enable_tests
21125 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21126 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21127 wine_fn_config_makefile dlls/strmbase enable_strmbase
21128 wine_fn_config_makefile dlls/strmdll enable_strmdll
21129 wine_fn_config_makefile dlls/strmiids enable_strmiids
21130 wine_fn_config_makefile dlls/svrapi enable_svrapi
21131 wine_fn_config_makefile dlls/sxs enable_sxs
21132 wine_fn_config_makefile dlls/sxs/tests enable_tests
21133 wine_fn_config_makefile dlls/system.drv16 enable_win16
21134 wine_fn_config_makefile dlls/t2embed enable_t2embed
21135 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21136 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21137 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21138 wine_fn_config_makefile dlls/taskschd enable_taskschd
21139 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21140 wine_fn_config_makefile dlls/tdh enable_tdh
21141 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21142 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21143 wine_fn_config_makefile dlls/traffic enable_traffic
21144 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21145 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21146 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21147 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21148 wine_fn_config_makefile dlls/tzres enable_tzres
21149 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21150 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21151 wine_fn_config_makefile dlls/uianimation enable_uianimation
21152 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21153 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21154 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21155 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21156 wine_fn_config_makefile dlls/unicows enable_unicows
21157 wine_fn_config_makefile dlls/updspapi enable_updspapi
21158 wine_fn_config_makefile dlls/url enable_url
21159 wine_fn_config_makefile dlls/urlmon enable_urlmon
21160 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21161 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21162 wine_fn_config_makefile dlls/user.exe16 enable_win16
21163 wine_fn_config_makefile dlls/user32 enable_user32
21164 wine_fn_config_makefile dlls/user32/tests enable_tests
21165 wine_fn_config_makefile dlls/userenv enable_userenv
21166 wine_fn_config_makefile dlls/userenv/tests enable_tests
21167 wine_fn_config_makefile dlls/usp10 enable_usp10
21168 wine_fn_config_makefile dlls/usp10/tests enable_tests
21169 wine_fn_config_makefile dlls/utildll enable_utildll
21170 wine_fn_config_makefile dlls/uuid enable_uuid
21171 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21172 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21173 wine_fn_config_makefile dlls/vbscript enable_vbscript
21174 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21175 wine_fn_config_makefile dlls/vcomp enable_vcomp
21176 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21177 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21178 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21179 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21180 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21181 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21182 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21183 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21184 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21185 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21186 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21187 wine_fn_config_makefile dlls/version enable_version
21188 wine_fn_config_makefile dlls/version/tests enable_tests
21189 wine_fn_config_makefile dlls/vga enable_vga
21190 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21191 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21192 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21193 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21194 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21195 wine_fn_config_makefile dlls/vssapi enable_vssapi
21196 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21197 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21198 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21199 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21200 wine_fn_config_makefile dlls/w32skrnl enable_win16
21201 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21202 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21203 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21204 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21205 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21206 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21207 wine_fn_config_makefile dlls/wdscore enable_wdscore
21208 wine_fn_config_makefile dlls/webservices enable_webservices
21209 wine_fn_config_makefile dlls/webservices/tests enable_tests
21210 wine_fn_config_makefile dlls/wer enable_wer
21211 wine_fn_config_makefile dlls/wer/tests enable_tests
21212 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21213 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21214 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21215 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21216 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21217 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21218 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21219 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21220 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21221 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21222 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21223 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21224 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21225 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21226 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21227 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21228 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21229 wine_fn_config_makefile dlls/wined3d enable_wined3d
21230 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21231 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21232 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21233 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21234 wine_fn_config_makefile dlls/winemapi enable_winemapi
21235 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21236 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21237 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21238 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21239 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21240 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21241 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21242 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21243 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21244 wine_fn_config_makefile dlls/wing32 enable_wing32
21245 wine_fn_config_makefile dlls/winhttp enable_winhttp
21246 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21247 wine_fn_config_makefile dlls/wininet enable_wininet
21248 wine_fn_config_makefile dlls/wininet/tests enable_tests
21249 wine_fn_config_makefile dlls/winmm enable_winmm
21250 wine_fn_config_makefile dlls/winmm/tests enable_tests
21251 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21252 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21253 wine_fn_config_makefile dlls/winscard enable_winscard
21254 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21255 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21256 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21257 wine_fn_config_makefile dlls/winsta enable_winsta
21258 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21259 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21260 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21261 wine_fn_config_makefile dlls/wintrust enable_wintrust
21262 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21263 wine_fn_config_makefile dlls/winusb enable_winusb
21264 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21265 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21266 wine_fn_config_makefile dlls/wlanui enable_wlanui
21267 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21268 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21269 wine_fn_config_makefile dlls/wmasf enable_wmasf
21270 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21271 wine_fn_config_makefile dlls/wmi enable_wmi
21272 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21273 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21274 wine_fn_config_makefile dlls/wmp enable_wmp
21275 wine_fn_config_makefile dlls/wmp/tests enable_tests
21276 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21277 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21278 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21279 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21280 wine_fn_config_makefile dlls/wow32 enable_win16
21281 wine_fn_config_makefile dlls/wpc enable_wpc
21282 wine_fn_config_makefile dlls/wpc/tests enable_tests
21283 wine_fn_config_makefile dlls/wpcap enable_wpcap
21284 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21285 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21286 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21287 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21288 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21289 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21290 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21291 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21292 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21293 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21294 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21295 wine_fn_config_makefile dlls/wuapi enable_wuapi
21296 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21297 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21298 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21299 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21300 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21301 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21302 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21303 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21304 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21305 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21306 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21307 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21308 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21309 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21310 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21311 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21312 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21313 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21314 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21315 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21316 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21317 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21318 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21319 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21320 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21321 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21322 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21323 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21324 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21325 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21326 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21327 wine_fn_config_makefile dlls/xmllite enable_xmllite
21328 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21329 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21330 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21331 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21332 wine_fn_config_makefile fonts enable_fonts
21333 wine_fn_config_makefile include enable_include
21334 wine_fn_config_makefile libs/port enable_port
21335 wine_fn_config_makefile libs/wine enable_wine
21336 wine_fn_config_makefile libs/wpp enable_wpp
21337 wine_fn_config_makefile loader enable_loader
21338 wine_fn_config_makefile nls enable_nls
21339 wine_fn_config_makefile po enable_po
21340 wine_fn_config_makefile programs/arp enable_arp
21341 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21342 wine_fn_config_makefile programs/attrib enable_attrib
21343 wine_fn_config_makefile programs/cabarc enable_cabarc
21344 wine_fn_config_makefile programs/cacls enable_cacls
21345 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21346 wine_fn_config_makefile programs/clock enable_clock
21347 wine_fn_config_makefile programs/cmd enable_cmd
21348 wine_fn_config_makefile programs/cmd/tests enable_tests
21349 wine_fn_config_makefile programs/conhost enable_conhost
21350 wine_fn_config_makefile programs/control enable_control
21351 wine_fn_config_makefile programs/cscript enable_cscript
21352 wine_fn_config_makefile programs/dism enable_dism
21353 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21354 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21355 wine_fn_config_makefile programs/eject enable_eject
21356 wine_fn_config_makefile programs/expand enable_expand
21357 wine_fn_config_makefile programs/explorer enable_explorer
21358 wine_fn_config_makefile programs/extrac32 enable_extrac32
21359 wine_fn_config_makefile programs/fc enable_fc
21360 wine_fn_config_makefile programs/find enable_find
21361 wine_fn_config_makefile programs/find/tests enable_tests
21362 wine_fn_config_makefile programs/findstr enable_findstr
21363 wine_fn_config_makefile programs/fsutil enable_fsutil
21364 wine_fn_config_makefile programs/hh enable_hh
21365 wine_fn_config_makefile programs/hostname enable_hostname
21366 wine_fn_config_makefile programs/icacls enable_icacls
21367 wine_fn_config_makefile programs/icinfo enable_icinfo
21368 wine_fn_config_makefile programs/iexplore enable_iexplore
21369 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21370 wine_fn_config_makefile programs/lodctr enable_lodctr
21371 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21372 wine_fn_config_makefile programs/mshta enable_mshta
21373 wine_fn_config_makefile programs/msidb enable_msidb
21374 wine_fn_config_makefile programs/msiexec enable_msiexec
21375 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21376 wine_fn_config_makefile programs/net enable_net
21377 wine_fn_config_makefile programs/netsh enable_netsh
21378 wine_fn_config_makefile programs/netstat enable_netstat
21379 wine_fn_config_makefile programs/ngen enable_ngen
21380 wine_fn_config_makefile programs/notepad enable_notepad
21381 wine_fn_config_makefile programs/oleview enable_oleview
21382 wine_fn_config_makefile programs/ping enable_ping
21383 wine_fn_config_makefile programs/plugplay enable_plugplay
21384 wine_fn_config_makefile programs/powershell enable_powershell
21385 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21386 wine_fn_config_makefile programs/progman enable_progman
21387 wine_fn_config_makefile programs/reg enable_reg
21388 wine_fn_config_makefile programs/reg/tests enable_tests
21389 wine_fn_config_makefile programs/regasm enable_regasm
21390 wine_fn_config_makefile programs/regedit enable_regedit
21391 wine_fn_config_makefile programs/regedit/tests enable_tests
21392 wine_fn_config_makefile programs/regini enable_regini
21393 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21394 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21395 wine_fn_config_makefile programs/rpcss enable_rpcss
21396 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21397 wine_fn_config_makefile programs/rundll32 enable_rundll32
21398 wine_fn_config_makefile programs/sc enable_sc
21399 wine_fn_config_makefile programs/schtasks enable_schtasks
21400 wine_fn_config_makefile programs/schtasks/tests enable_tests
21401 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21402 wine_fn_config_makefile programs/secedit enable_secedit
21403 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21404 wine_fn_config_makefile programs/services enable_services
21405 wine_fn_config_makefile programs/services/tests enable_tests
21406 wine_fn_config_makefile programs/shutdown enable_shutdown
21407 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21408 wine_fn_config_makefile programs/start enable_start
21409 wine_fn_config_makefile programs/subst enable_subst
21410 wine_fn_config_makefile programs/svchost enable_svchost
21411 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21412 wine_fn_config_makefile programs/taskkill enable_taskkill
21413 wine_fn_config_makefile programs/tasklist enable_tasklist
21414 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21415 wine_fn_config_makefile programs/termsv enable_termsv
21416 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21417 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21418 wine_fn_config_makefile programs/view enable_view
21419 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21420 wine_fn_config_makefile programs/whoami enable_whoami
21421 wine_fn_config_makefile programs/wineboot enable_wineboot
21422 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21423 wine_fn_config_makefile programs/winecfg enable_winecfg
21424 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21425 wine_fn_config_makefile programs/winedbg enable_winedbg
21426 wine_fn_config_makefile programs/winedevice enable_winedevice
21427 wine_fn_config_makefile programs/winefile enable_winefile
21428 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21429 wine_fn_config_makefile programs/winemine enable_winemine
21430 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21431 wine_fn_config_makefile programs/winepath enable_winepath
21432 wine_fn_config_makefile programs/winetest enable_winetest
21433 wine_fn_config_makefile programs/winevdm enable_win16
21434 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21435 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21436 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21437 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21438 wine_fn_config_makefile programs/winver enable_winver
21439 wine_fn_config_makefile programs/wmic enable_wmic
21440 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21441 wine_fn_config_makefile programs/wordpad enable_wordpad
21442 wine_fn_config_makefile programs/write enable_write
21443 wine_fn_config_makefile programs/wscript enable_wscript
21444 wine_fn_config_makefile programs/wscript/tests enable_tests
21445 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21446 wine_fn_config_makefile programs/wusa enable_wusa
21447 wine_fn_config_makefile programs/xcopy enable_xcopy
21448 wine_fn_config_makefile programs/xcopy/tests enable_tests
21449 wine_fn_config_makefile server enable_server
21450 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21451 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21452 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21453 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21454 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21455 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21456 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21457 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21458 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21461 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21462 wine_fn_append_file CONFIGURE_TARGETS "tags"
21463 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21464 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21465 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21466 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21467 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21468 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21470 if test "x$enable_tools" != xno
21471 then
21472 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21473 ac_config_commands="$ac_config_commands tools/makedep"
21477 ac_config_commands="$ac_config_commands Makefile"
21480 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21484 if test "x$enable_maintainer_mode" = xyes
21485 then
21486 wine_fn_append_rule "configure: configure.ac aclocal.m4
21487 autoconf --warnings=all
21488 include/config.h.in: include/stamp-h.in
21489 include/stamp-h.in: configure.ac aclocal.m4
21490 autoheader --warnings=all
21491 @echo timestamp > \$@"
21494 if test "x$enable_tools" != xno
21495 then
21496 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21497 @./config.status tools/makedep
21498 Makefile: tools/makedep$ac_exeext
21499 fonts: tools/sfnt2fon
21500 include: tools tools/widl"
21501 else
21502 wine_fn_append_rule "\$(MAKEDEP):
21503 @echo \"You need to run make in $TOOLSDIR first\" && false"
21506 if test -n "$with_wine64"
21507 then
21508 case "$with_wine64" in
21509 /*) reldir="" ;;
21510 *) reldir="../" ;;
21511 esac
21512 rm -f fonts server 2>/dev/null
21513 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21514 loader/wine64 loader/wine64-preloader:
21515 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21516 $with_wine64/loader/wine:
21517 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21518 $with_wine64/loader/wine-preloader:
21519 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21520 clean::
21521 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21522 else
21523 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21524 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21525 fonts \
21526 loader/wine.inf \
21527 loader/winebus.inf \
21528 loader/winehid.inf \
21529 loader/wineusb.inf \
21530 nls \
21531 programs/msidb/msidb \
21532 programs/msiexec/msiexec \
21533 programs/notepad/notepad \
21534 programs/regedit/regedit \
21535 programs/regsvr32/regsvr32 \
21536 programs/wineboot/wineboot \
21537 programs/winecfg/winecfg \
21538 programs/wineconsole/wineconsole \
21539 programs/winedbg/winedbg \
21540 programs/winefile/winefile \
21541 programs/winemine/winemine \
21542 programs/winepath/winepath \
21543 server/wineserver"
21545 case $host_os in
21546 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21547 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21548 esac
21551 $as_echo " done" >&6
21552 cat >confcache <<\_ACEOF
21553 # This file is a shell script that caches the results of configure
21554 # tests run on this system so they can be shared between configure
21555 # scripts and configure runs, see configure's option --config-cache.
21556 # It is not useful on other systems. If it contains results you don't
21557 # want to keep, you may remove or edit it.
21559 # config.status only pays attention to the cache file if you give it
21560 # the --recheck option to rerun configure.
21562 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21563 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21564 # following values.
21566 _ACEOF
21568 # The following way of writing the cache mishandles newlines in values,
21569 # but we know of no workaround that is simple, portable, and efficient.
21570 # So, we kill variables containing newlines.
21571 # Ultrix sh set writes to stderr and can't be redirected directly,
21572 # and sets the high bit in the cache file unless we assign to the vars.
21574 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21575 eval ac_val=\$$ac_var
21576 case $ac_val in #(
21577 *${as_nl}*)
21578 case $ac_var in #(
21579 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21580 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21581 esac
21582 case $ac_var in #(
21583 _ | IFS | as_nl) ;; #(
21584 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21585 *) { eval $ac_var=; unset $ac_var;} ;;
21586 esac ;;
21587 esac
21588 done
21590 (set) 2>&1 |
21591 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21592 *${as_nl}ac_space=\ *)
21593 # `set' does not quote correctly, so add quotes: double-quote
21594 # substitution turns \\\\ into \\, and sed turns \\ into \.
21595 sed -n \
21596 "s/'/'\\\\''/g;
21597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21598 ;; #(
21600 # `set' quotes correctly as required by POSIX, so do not add quotes.
21601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21603 esac |
21604 sort
21606 sed '
21607 /^ac_cv_env_/b end
21608 t clear
21609 :clear
21610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21611 t end
21612 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21613 :end' >>confcache
21614 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21615 if test -w "$cache_file"; then
21616 if test "x$cache_file" != "x/dev/null"; then
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21618 $as_echo "$as_me: updating cache $cache_file" >&6;}
21619 if test ! -f "$cache_file" || test -h "$cache_file"; then
21620 cat confcache >"$cache_file"
21621 else
21622 case $cache_file in #(
21623 */* | ?:*)
21624 mv -f confcache "$cache_file"$$ &&
21625 mv -f "$cache_file"$$ "$cache_file" ;; #(
21627 mv -f confcache "$cache_file" ;;
21628 esac
21631 else
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21633 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21636 rm -f confcache
21638 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21639 # Let make expand exec_prefix.
21640 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21642 DEFS=-DHAVE_CONFIG_H
21644 ac_libobjs=
21645 ac_ltlibobjs=
21647 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21648 # 1. Remove the extension, and $U if already installed.
21649 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21650 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21651 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21652 # will be set to the directory where LIBOBJS objects are built.
21653 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21654 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21655 done
21656 LIBOBJS=$ac_libobjs
21658 LTLIBOBJS=$ac_ltlibobjs
21662 : "${CONFIG_STATUS=./config.status}"
21663 ac_write_fail=0
21664 ac_clean_files_save=$ac_clean_files
21665 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21667 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21668 as_write_fail=0
21669 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21670 #! $SHELL
21671 # Generated by $as_me.
21672 # Run this file to recreate the current configuration.
21673 # Compiler output produced by configure, useful for debugging
21674 # configure, is in config.log if it exists.
21676 debug=false
21677 ac_cs_recheck=false
21678 ac_cs_silent=false
21680 SHELL=\${CONFIG_SHELL-$SHELL}
21681 export SHELL
21682 _ASEOF
21683 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21684 ## -------------------- ##
21685 ## M4sh Initialization. ##
21686 ## -------------------- ##
21688 # Be more Bourne compatible
21689 DUALCASE=1; export DUALCASE # for MKS sh
21690 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21691 emulate sh
21692 NULLCMD=:
21693 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21694 # is contrary to our usage. Disable this feature.
21695 alias -g '${1+"$@"}'='"$@"'
21696 setopt NO_GLOB_SUBST
21697 else
21698 case `(set -o) 2>/dev/null` in #(
21699 *posix*) :
21700 set -o posix ;; #(
21701 *) :
21703 esac
21707 as_nl='
21709 export as_nl
21710 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21711 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21712 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21714 # Prefer a ksh shell builtin over an external printf program on Solaris,
21715 # but without wasting forks for bash or zsh.
21716 if test -z "$BASH_VERSION$ZSH_VERSION" \
21717 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21718 as_echo='print -r --'
21719 as_echo_n='print -rn --'
21720 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21721 as_echo='printf %s\n'
21722 as_echo_n='printf %s'
21723 else
21724 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21725 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21726 as_echo_n='/usr/ucb/echo -n'
21727 else
21728 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21729 as_echo_n_body='eval
21730 arg=$1;
21731 case $arg in #(
21732 *"$as_nl"*)
21733 expr "X$arg" : "X\\(.*\\)$as_nl";
21734 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21735 esac;
21736 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21738 export as_echo_n_body
21739 as_echo_n='sh -c $as_echo_n_body as_echo'
21741 export as_echo_body
21742 as_echo='sh -c $as_echo_body as_echo'
21745 # The user is always right.
21746 if test "${PATH_SEPARATOR+set}" != set; then
21747 PATH_SEPARATOR=:
21748 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21749 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21750 PATH_SEPARATOR=';'
21755 # IFS
21756 # We need space, tab and new line, in precisely that order. Quoting is
21757 # there to prevent editors from complaining about space-tab.
21758 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21759 # splitting by setting IFS to empty value.)
21760 IFS=" "" $as_nl"
21762 # Find who we are. Look in the path if we contain no directory separator.
21763 as_myself=
21764 case $0 in #((
21765 *[\\/]* ) as_myself=$0 ;;
21766 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21767 for as_dir in $PATH
21769 IFS=$as_save_IFS
21770 test -z "$as_dir" && as_dir=.
21771 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21772 done
21773 IFS=$as_save_IFS
21776 esac
21777 # We did not find ourselves, most probably we were run as `sh COMMAND'
21778 # in which case we are not to be found in the path.
21779 if test "x$as_myself" = x; then
21780 as_myself=$0
21782 if test ! -f "$as_myself"; then
21783 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21784 exit 1
21787 # Unset variables that we do not need and which cause bugs (e.g. in
21788 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21789 # suppresses any "Segmentation fault" message there. '((' could
21790 # trigger a bug in pdksh 5.2.14.
21791 for as_var in BASH_ENV ENV MAIL MAILPATH
21792 do eval test x\${$as_var+set} = xset \
21793 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21794 done
21795 PS1='$ '
21796 PS2='> '
21797 PS4='+ '
21799 # NLS nuisances.
21800 LC_ALL=C
21801 export LC_ALL
21802 LANGUAGE=C
21803 export LANGUAGE
21805 # CDPATH.
21806 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21809 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21810 # ----------------------------------------
21811 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21812 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21813 # script with STATUS, using 1 if that was 0.
21814 as_fn_error ()
21816 as_status=$1; test $as_status -eq 0 && as_status=1
21817 if test "$4"; then
21818 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21819 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21821 $as_echo "$as_me: error: $2" >&2
21822 as_fn_exit $as_status
21823 } # as_fn_error
21826 # as_fn_set_status STATUS
21827 # -----------------------
21828 # Set $? to STATUS, without forking.
21829 as_fn_set_status ()
21831 return $1
21832 } # as_fn_set_status
21834 # as_fn_exit STATUS
21835 # -----------------
21836 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21837 as_fn_exit ()
21839 set +e
21840 as_fn_set_status $1
21841 exit $1
21842 } # as_fn_exit
21844 # as_fn_unset VAR
21845 # ---------------
21846 # Portably unset VAR.
21847 as_fn_unset ()
21849 { eval $1=; unset $1;}
21851 as_unset=as_fn_unset
21852 # as_fn_append VAR VALUE
21853 # ----------------------
21854 # Append the text in VALUE to the end of the definition contained in VAR. Take
21855 # advantage of any shell optimizations that allow amortized linear growth over
21856 # repeated appends, instead of the typical quadratic growth present in naive
21857 # implementations.
21858 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21859 eval 'as_fn_append ()
21861 eval $1+=\$2
21863 else
21864 as_fn_append ()
21866 eval $1=\$$1\$2
21868 fi # as_fn_append
21870 # as_fn_arith ARG...
21871 # ------------------
21872 # Perform arithmetic evaluation on the ARGs, and store the result in the
21873 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21874 # must be portable across $(()) and expr.
21875 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21876 eval 'as_fn_arith ()
21878 as_val=$(( $* ))
21880 else
21881 as_fn_arith ()
21883 as_val=`expr "$@" || test $? -eq 1`
21885 fi # as_fn_arith
21888 if expr a : '\(a\)' >/dev/null 2>&1 &&
21889 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21890 as_expr=expr
21891 else
21892 as_expr=false
21895 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21896 as_basename=basename
21897 else
21898 as_basename=false
21901 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21902 as_dirname=dirname
21903 else
21904 as_dirname=false
21907 as_me=`$as_basename -- "$0" ||
21908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21909 X"$0" : 'X\(//\)$' \| \
21910 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21911 $as_echo X/"$0" |
21912 sed '/^.*\/\([^/][^/]*\)\/*$/{
21913 s//\1/
21916 /^X\/\(\/\/\)$/{
21917 s//\1/
21920 /^X\/\(\/\).*/{
21921 s//\1/
21924 s/.*/./; q'`
21926 # Avoid depending upon Character Ranges.
21927 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21928 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21929 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21930 as_cr_digits='0123456789'
21931 as_cr_alnum=$as_cr_Letters$as_cr_digits
21933 ECHO_C= ECHO_N= ECHO_T=
21934 case `echo -n x` in #(((((
21935 -n*)
21936 case `echo 'xy\c'` in
21937 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21938 xy) ECHO_C='\c';;
21939 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21940 ECHO_T=' ';;
21941 esac;;
21943 ECHO_N='-n';;
21944 esac
21946 rm -f conf$$ conf$$.exe conf$$.file
21947 if test -d conf$$.dir; then
21948 rm -f conf$$.dir/conf$$.file
21949 else
21950 rm -f conf$$.dir
21951 mkdir conf$$.dir 2>/dev/null
21953 if (echo >conf$$.file) 2>/dev/null; then
21954 if ln -s conf$$.file conf$$ 2>/dev/null; then
21955 as_ln_s='ln -s'
21956 # ... but there are two gotchas:
21957 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21958 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21959 # In both cases, we have to default to `cp -pR'.
21960 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21961 as_ln_s='cp -pR'
21962 elif ln conf$$.file conf$$ 2>/dev/null; then
21963 as_ln_s=ln
21964 else
21965 as_ln_s='cp -pR'
21967 else
21968 as_ln_s='cp -pR'
21970 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21971 rmdir conf$$.dir 2>/dev/null
21974 # as_fn_mkdir_p
21975 # -------------
21976 # Create "$as_dir" as a directory, including parents if necessary.
21977 as_fn_mkdir_p ()
21980 case $as_dir in #(
21981 -*) as_dir=./$as_dir;;
21982 esac
21983 test -d "$as_dir" || eval $as_mkdir_p || {
21984 as_dirs=
21985 while :; do
21986 case $as_dir in #(
21987 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21988 *) as_qdir=$as_dir;;
21989 esac
21990 as_dirs="'$as_qdir' $as_dirs"
21991 as_dir=`$as_dirname -- "$as_dir" ||
21992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21993 X"$as_dir" : 'X\(//\)[^/]' \| \
21994 X"$as_dir" : 'X\(//\)$' \| \
21995 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21996 $as_echo X"$as_dir" |
21997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21998 s//\1/
22001 /^X\(\/\/\)[^/].*/{
22002 s//\1/
22005 /^X\(\/\/\)$/{
22006 s//\1/
22009 /^X\(\/\).*/{
22010 s//\1/
22013 s/.*/./; q'`
22014 test -d "$as_dir" && break
22015 done
22016 test -z "$as_dirs" || eval "mkdir $as_dirs"
22017 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22020 } # as_fn_mkdir_p
22021 if mkdir -p . 2>/dev/null; then
22022 as_mkdir_p='mkdir -p "$as_dir"'
22023 else
22024 test -d ./-p && rmdir ./-p
22025 as_mkdir_p=false
22029 # as_fn_executable_p FILE
22030 # -----------------------
22031 # Test if FILE is an executable regular file.
22032 as_fn_executable_p ()
22034 test -f "$1" && test -x "$1"
22035 } # as_fn_executable_p
22036 as_test_x='test -x'
22037 as_executable_p=as_fn_executable_p
22039 # Sed expression to map a string onto a valid CPP name.
22040 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22042 # Sed expression to map a string onto a valid variable name.
22043 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22046 exec 6>&1
22047 ## ----------------------------------- ##
22048 ## Main body of $CONFIG_STATUS script. ##
22049 ## ----------------------------------- ##
22050 _ASEOF
22051 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22054 # Save the log message, to keep $0 and so on meaningful, and to
22055 # report actual input values of CONFIG_FILES etc. instead of their
22056 # values after options handling.
22057 ac_log="
22058 This file was extended by Wine $as_me 5.10, which was
22059 generated by GNU Autoconf 2.69. Invocation command line was
22061 CONFIG_FILES = $CONFIG_FILES
22062 CONFIG_HEADERS = $CONFIG_HEADERS
22063 CONFIG_LINKS = $CONFIG_LINKS
22064 CONFIG_COMMANDS = $CONFIG_COMMANDS
22065 $ $0 $@
22067 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22070 _ACEOF
22072 case $ac_config_files in *"
22073 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22074 esac
22076 case $ac_config_headers in *"
22077 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22078 esac
22081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22082 # Files that config.status was made for.
22083 config_files="$ac_config_files"
22084 config_headers="$ac_config_headers"
22085 config_links="$ac_config_links"
22086 config_commands="$ac_config_commands"
22088 _ACEOF
22090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22091 ac_cs_usage="\
22092 \`$as_me' instantiates files and other configuration actions
22093 from templates according to the current configuration. Unless the files
22094 and actions are specified as TAGs, all are instantiated by default.
22096 Usage: $0 [OPTION]... [TAG]...
22098 -h, --help print this help, then exit
22099 -V, --version print version number and configuration settings, then exit
22100 --config print configuration, then exit
22101 -q, --quiet, --silent
22102 do not print progress messages
22103 -d, --debug don't remove temporary files
22104 --recheck update $as_me by reconfiguring in the same conditions
22105 --file=FILE[:TEMPLATE]
22106 instantiate the configuration file FILE
22107 --header=FILE[:TEMPLATE]
22108 instantiate the configuration header FILE
22110 Configuration files:
22111 $config_files
22113 Configuration headers:
22114 $config_headers
22116 Configuration links:
22117 $config_links
22119 Configuration commands:
22120 $config_commands
22122 Report bugs to <wine-devel@winehq.org>.
22123 Wine home page: <https://www.winehq.org>."
22125 _ACEOF
22126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22127 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22128 ac_cs_version="\\
22129 Wine config.status 5.10
22130 configured by $0, generated by GNU Autoconf 2.69,
22131 with options \\"\$ac_cs_config\\"
22133 Copyright (C) 2012 Free Software Foundation, Inc.
22134 This config.status script is free software; the Free Software Foundation
22135 gives unlimited permission to copy, distribute and modify it."
22137 ac_pwd='$ac_pwd'
22138 srcdir='$srcdir'
22139 test -n "\$AWK" || AWK=awk
22140 _ACEOF
22142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22143 # The default lists apply if the user does not specify any file.
22144 ac_need_defaults=:
22145 while test $# != 0
22147 case $1 in
22148 --*=?*)
22149 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22150 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22151 ac_shift=:
22153 --*=)
22154 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22155 ac_optarg=
22156 ac_shift=:
22159 ac_option=$1
22160 ac_optarg=$2
22161 ac_shift=shift
22163 esac
22165 case $ac_option in
22166 # Handling of the options.
22167 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22168 ac_cs_recheck=: ;;
22169 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22170 $as_echo "$ac_cs_version"; exit ;;
22171 --config | --confi | --conf | --con | --co | --c )
22172 $as_echo "$ac_cs_config"; exit ;;
22173 --debug | --debu | --deb | --de | --d | -d )
22174 debug=: ;;
22175 --file | --fil | --fi | --f )
22176 $ac_shift
22177 case $ac_optarg in
22178 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22179 '') as_fn_error $? "missing file argument" ;;
22180 esac
22181 as_fn_append CONFIG_FILES " '$ac_optarg'"
22182 ac_need_defaults=false;;
22183 --header | --heade | --head | --hea )
22184 $ac_shift
22185 case $ac_optarg in
22186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22187 esac
22188 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22189 ac_need_defaults=false;;
22190 --he | --h)
22191 # Conflict between --help and --header
22192 as_fn_error $? "ambiguous option: \`$1'
22193 Try \`$0 --help' for more information.";;
22194 --help | --hel | -h )
22195 $as_echo "$ac_cs_usage"; exit ;;
22196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22197 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22198 ac_cs_silent=: ;;
22200 # This is an error.
22201 -*) as_fn_error $? "unrecognized option: \`$1'
22202 Try \`$0 --help' for more information." ;;
22204 *) as_fn_append ac_config_targets " $1"
22205 ac_need_defaults=false ;;
22207 esac
22208 shift
22209 done
22211 ac_configure_extra_args=
22213 if $ac_cs_silent; then
22214 exec 6>/dev/null
22215 ac_configure_extra_args="$ac_configure_extra_args --silent"
22218 _ACEOF
22219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22220 if \$ac_cs_recheck; then
22221 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22222 shift
22223 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22224 CONFIG_SHELL='$SHELL'
22225 export CONFIG_SHELL
22226 exec "\$@"
22229 _ACEOF
22230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22231 exec 5>>config.log
22233 echo
22234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22235 ## Running $as_me. ##
22236 _ASBOX
22237 $as_echo "$ac_log"
22238 } >&5
22240 _ACEOF
22241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22243 # INIT-COMMANDS
22245 wine_fn_output_makedep ()
22247 as_dir=tools; as_fn_mkdir_p
22248 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22250 wine_fn_output_makefile ()
22252 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22253 `cat $wine_rules_file`
22254 _WINE_EOF
22255 as_fn_error $? "could not create Makefile" "$LINENO" 5
22258 _ACEOF
22260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22262 # Handling of arguments.
22263 for ac_config_target in $ac_config_targets
22265 case $ac_config_target in
22266 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22267 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22268 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22269 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22270 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22271 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22272 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22274 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22275 esac
22276 done
22279 # If the user did not use the arguments to specify the items to instantiate,
22280 # then the envvar interface is used. Set only those that are not.
22281 # We use the long form for the default assignment because of an extremely
22282 # bizarre bug on SunOS 4.1.3.
22283 if $ac_need_defaults; then
22284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22286 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22287 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22290 # Have a temporary directory for convenience. Make it in the build tree
22291 # simply because there is no reason against having it here, and in addition,
22292 # creating and moving files from /tmp can sometimes cause problems.
22293 # Hook for its removal unless debugging.
22294 # Note that there is a small window in which the directory will not be cleaned:
22295 # after its creation but before its name has been assigned to `$tmp'.
22296 $debug ||
22298 tmp= ac_tmp=
22299 trap 'exit_status=$?
22300 : "${ac_tmp:=$tmp}"
22301 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22303 trap 'as_fn_exit 1' 1 2 13 15
22305 # Create a (secure) tmp directory for tmp files.
22308 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22309 test -d "$tmp"
22310 } ||
22312 tmp=./conf$$-$RANDOM
22313 (umask 077 && mkdir "$tmp")
22314 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22315 ac_tmp=$tmp
22317 # Set up the scripts for CONFIG_FILES section.
22318 # No need to generate them if there are no CONFIG_FILES.
22319 # This happens for instance with `./config.status config.h'.
22320 if test -n "$CONFIG_FILES"; then
22323 ac_cr=`echo X | tr X '\015'`
22324 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22325 # But we know of no other shell where ac_cr would be empty at this
22326 # point, so we can use a bashism as a fallback.
22327 if test "x$ac_cr" = x; then
22328 eval ac_cr=\$\'\\r\'
22330 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22331 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22332 ac_cs_awk_cr='\\r'
22333 else
22334 ac_cs_awk_cr=$ac_cr
22337 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22338 _ACEOF
22342 echo "cat >conf$$subs.awk <<_ACEOF" &&
22343 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22344 echo "_ACEOF"
22345 } >conf$$subs.sh ||
22346 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22347 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22348 ac_delim='%!_!# '
22349 for ac_last_try in false false false false false :; do
22350 . ./conf$$subs.sh ||
22351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22353 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22354 if test $ac_delim_n = $ac_delim_num; then
22355 break
22356 elif $ac_last_try; then
22357 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22358 else
22359 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22361 done
22362 rm -f conf$$subs.sh
22364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22365 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22366 _ACEOF
22367 sed -n '
22369 s/^/S["/; s/!.*/"]=/
22372 s/^[^!]*!//
22373 :repl
22374 t repl
22375 s/'"$ac_delim"'$//
22376 t delim
22379 s/\(.\{148\}\)..*/\1/
22380 t more1
22381 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22384 b repl
22385 :more1
22386 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22389 s/.\{148\}//
22390 t nl
22391 :delim
22393 s/\(.\{148\}\)..*/\1/
22394 t more2
22395 s/["\\]/\\&/g; s/^/"/; s/$/"/
22398 :more2
22399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22402 s/.\{148\}//
22403 t delim
22404 ' <conf$$subs.awk | sed '
22405 /^[^""]/{
22407 s/\n//
22409 ' >>$CONFIG_STATUS || ac_write_fail=1
22410 rm -f conf$$subs.awk
22411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22412 _ACAWK
22413 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22414 for (key in S) S_is_set[key] = 1
22415 FS = "\a"
22419 line = $ 0
22420 nfields = split(line, field, "@")
22421 substed = 0
22422 len = length(field[1])
22423 for (i = 2; i < nfields; i++) {
22424 key = field[i]
22425 keylen = length(key)
22426 if (S_is_set[key]) {
22427 value = S[key]
22428 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22429 len += length(value) + length(field[++i])
22430 substed = 1
22431 } else
22432 len += 1 + keylen
22435 print line
22438 _ACAWK
22439 _ACEOF
22440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22441 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22442 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22443 else
22445 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22446 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22447 _ACEOF
22449 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22450 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22451 # trailing colons and then remove the whole line if VPATH becomes empty
22452 # (actually we leave an empty line to preserve line numbers).
22453 if test "x$srcdir" = x.; then
22454 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22456 s///
22457 s/^/:/
22458 s/[ ]*$/:/
22459 s/:\$(srcdir):/:/g
22460 s/:\${srcdir}:/:/g
22461 s/:@srcdir@:/:/g
22462 s/^:*//
22463 s/:*$//
22465 s/\(=[ ]*\).*/\1/
22467 s/\n//
22468 s/^[^=]*=[ ]*$//
22472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22473 fi # test -n "$CONFIG_FILES"
22475 # Set up the scripts for CONFIG_HEADERS section.
22476 # No need to generate them if there are no CONFIG_HEADERS.
22477 # This happens for instance with `./config.status Makefile'.
22478 if test -n "$CONFIG_HEADERS"; then
22479 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22480 BEGIN {
22481 _ACEOF
22483 # Transform confdefs.h into an awk script `defines.awk', embedded as
22484 # here-document in config.status, that substitutes the proper values into
22485 # config.h.in to produce config.h.
22487 # Create a delimiter string that does not exist in confdefs.h, to ease
22488 # handling of long lines.
22489 ac_delim='%!_!# '
22490 for ac_last_try in false false :; do
22491 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22492 if test -z "$ac_tt"; then
22493 break
22494 elif $ac_last_try; then
22495 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22496 else
22497 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22499 done
22501 # For the awk script, D is an array of macro values keyed by name,
22502 # likewise P contains macro parameters if any. Preserve backslash
22503 # newline sequences.
22505 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22506 sed -n '
22507 s/.\{148\}/&'"$ac_delim"'/g
22508 t rset
22509 :rset
22510 s/^[ ]*#[ ]*define[ ][ ]*/ /
22511 t def
22513 :def
22514 s/\\$//
22515 t bsnl
22516 s/["\\]/\\&/g
22517 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22518 D["\1"]=" \3"/p
22519 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22521 :bsnl
22522 s/["\\]/\\&/g
22523 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22524 D["\1"]=" \3\\\\\\n"\\/p
22525 t cont
22526 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22527 t cont
22529 :cont
22531 s/.\{148\}/&'"$ac_delim"'/g
22532 t clear
22533 :clear
22534 s/\\$//
22535 t bsnlc
22536 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22538 :bsnlc
22539 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22540 b cont
22541 ' <confdefs.h | sed '
22542 s/'"$ac_delim"'/"\\\
22543 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22546 for (key in D) D_is_set[key] = 1
22547 FS = "\a"
22549 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22550 line = \$ 0
22551 split(line, arg, " ")
22552 if (arg[1] == "#") {
22553 defundef = arg[2]
22554 mac1 = arg[3]
22555 } else {
22556 defundef = substr(arg[1], 2)
22557 mac1 = arg[2]
22559 split(mac1, mac2, "(") #)
22560 macro = mac2[1]
22561 prefix = substr(line, 1, index(line, defundef) - 1)
22562 if (D_is_set[macro]) {
22563 # Preserve the white space surrounding the "#".
22564 print prefix "define", macro P[macro] D[macro]
22565 next
22566 } else {
22567 # Replace #undef with comments. This is necessary, for example,
22568 # in the case of _POSIX_SOURCE, which is predefined and required
22569 # on some systems where configure will not decide to define it.
22570 if (defundef == "undef") {
22571 print "/*", prefix defundef, macro, "*/"
22572 next
22576 { print }
22577 _ACAWK
22578 _ACEOF
22579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22580 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22581 fi # test -n "$CONFIG_HEADERS"
22584 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22585 shift
22586 for ac_tag
22588 case $ac_tag in
22589 :[FHLC]) ac_mode=$ac_tag; continue;;
22590 esac
22591 case $ac_mode$ac_tag in
22592 :[FHL]*:*);;
22593 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22594 :[FH]-) ac_tag=-:-;;
22595 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22596 esac
22597 ac_save_IFS=$IFS
22598 IFS=:
22599 set x $ac_tag
22600 IFS=$ac_save_IFS
22601 shift
22602 ac_file=$1
22603 shift
22605 case $ac_mode in
22606 :L) ac_source=$1;;
22607 :[FH])
22608 ac_file_inputs=
22609 for ac_f
22611 case $ac_f in
22612 -) ac_f="$ac_tmp/stdin";;
22613 *) # Look for the file first in the build tree, then in the source tree
22614 # (if the path is not absolute). The absolute path cannot be DOS-style,
22615 # because $ac_f cannot contain `:'.
22616 test -f "$ac_f" ||
22617 case $ac_f in
22618 [\\/$]*) false;;
22619 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22620 esac ||
22621 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22622 esac
22623 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22624 as_fn_append ac_file_inputs " '$ac_f'"
22625 done
22627 # Let's still pretend it is `configure' which instantiates (i.e., don't
22628 # use $as_me), people would be surprised to read:
22629 # /* config.h. Generated by config.status. */
22630 configure_input='Generated from '`
22631 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22632 `' by configure.'
22633 if test x"$ac_file" != x-; then
22634 configure_input="$ac_file. $configure_input"
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22636 $as_echo "$as_me: creating $ac_file" >&6;}
22638 # Neutralize special characters interpreted by sed in replacement strings.
22639 case $configure_input in #(
22640 *\&* | *\|* | *\\* )
22641 ac_sed_conf_input=`$as_echo "$configure_input" |
22642 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22643 *) ac_sed_conf_input=$configure_input;;
22644 esac
22646 case $ac_tag in
22647 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22649 esac
22651 esac
22653 ac_dir=`$as_dirname -- "$ac_file" ||
22654 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22655 X"$ac_file" : 'X\(//\)[^/]' \| \
22656 X"$ac_file" : 'X\(//\)$' \| \
22657 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22658 $as_echo X"$ac_file" |
22659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22660 s//\1/
22663 /^X\(\/\/\)[^/].*/{
22664 s//\1/
22667 /^X\(\/\/\)$/{
22668 s//\1/
22671 /^X\(\/\).*/{
22672 s//\1/
22675 s/.*/./; q'`
22676 as_dir="$ac_dir"; as_fn_mkdir_p
22677 ac_builddir=.
22679 case "$ac_dir" in
22680 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22682 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22683 # A ".." for each directory in $ac_dir_suffix.
22684 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22685 case $ac_top_builddir_sub in
22686 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22687 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22688 esac ;;
22689 esac
22690 ac_abs_top_builddir=$ac_pwd
22691 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22692 # for backward compatibility:
22693 ac_top_builddir=$ac_top_build_prefix
22695 case $srcdir in
22696 .) # We are building in place.
22697 ac_srcdir=.
22698 ac_top_srcdir=$ac_top_builddir_sub
22699 ac_abs_top_srcdir=$ac_pwd ;;
22700 [\\/]* | ?:[\\/]* ) # Absolute name.
22701 ac_srcdir=$srcdir$ac_dir_suffix;
22702 ac_top_srcdir=$srcdir
22703 ac_abs_top_srcdir=$srcdir ;;
22704 *) # Relative name.
22705 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22706 ac_top_srcdir=$ac_top_build_prefix$srcdir
22707 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22708 esac
22709 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22712 case $ac_mode in
22715 # CONFIG_FILE
22718 _ACEOF
22720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22721 # If the template does not know about datarootdir, expand it.
22722 # FIXME: This hack should be removed a few years after 2.60.
22723 ac_datarootdir_hack=; ac_datarootdir_seen=
22724 ac_sed_dataroot='
22725 /datarootdir/ {
22729 /@datadir@/p
22730 /@docdir@/p
22731 /@infodir@/p
22732 /@localedir@/p
22733 /@mandir@/p'
22734 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22735 *datarootdir*) ac_datarootdir_seen=yes;;
22736 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22738 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22739 _ACEOF
22740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22741 ac_datarootdir_hack='
22742 s&@datadir@&$datadir&g
22743 s&@docdir@&$docdir&g
22744 s&@infodir@&$infodir&g
22745 s&@localedir@&$localedir&g
22746 s&@mandir@&$mandir&g
22747 s&\\\${datarootdir}&$datarootdir&g' ;;
22748 esac
22749 _ACEOF
22751 # Neutralize VPATH when `$srcdir' = `.'.
22752 # Shell code in configure.ac might set extrasub.
22753 # FIXME: do we really want to maintain this feature?
22754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22755 ac_sed_extra="$ac_vpsub
22756 $extrasub
22757 _ACEOF
22758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22760 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22761 s|@configure_input@|$ac_sed_conf_input|;t t
22762 s&@top_builddir@&$ac_top_builddir_sub&;t t
22763 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22764 s&@srcdir@&$ac_srcdir&;t t
22765 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22766 s&@top_srcdir@&$ac_top_srcdir&;t t
22767 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22768 s&@builddir@&$ac_builddir&;t t
22769 s&@abs_builddir@&$ac_abs_builddir&;t t
22770 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22771 $ac_datarootdir_hack
22773 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22774 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22776 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22777 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22778 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22779 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22781 which seems to be undefined. Please make sure it is defined" >&5
22782 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22783 which seems to be undefined. Please make sure it is defined" >&2;}
22785 rm -f "$ac_tmp/stdin"
22786 case $ac_file in
22787 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22788 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22789 esac \
22790 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22794 # CONFIG_HEADER
22796 if test x"$ac_file" != x-; then
22798 $as_echo "/* $configure_input */" \
22799 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22800 } >"$ac_tmp/config.h" \
22801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22802 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22804 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22805 else
22806 rm -f "$ac_file"
22807 mv "$ac_tmp/config.h" "$ac_file" \
22808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22810 else
22811 $as_echo "/* $configure_input */" \
22812 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22813 || as_fn_error $? "could not create -" "$LINENO" 5
22818 # CONFIG_LINK
22821 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22823 else
22824 # Prefer the file from the source tree if names are identical.
22825 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22826 ac_source=$srcdir/$ac_source
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22830 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22832 if test ! -r "$ac_source"; then
22833 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22835 rm -f "$ac_file"
22837 # Try a relative symlink, then a hard link, then a copy.
22838 case $ac_source in
22839 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22840 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22841 esac
22842 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22843 ln "$ac_source" "$ac_file" 2>/dev/null ||
22844 cp -p "$ac_source" "$ac_file" ||
22845 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22848 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22849 $as_echo "$as_me: executing $ac_file commands" >&6;}
22851 esac
22854 case $ac_file$ac_mode in
22855 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22856 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22857 "Makefile":C) wine_fn_output_makefile Makefile ;;
22859 esac
22860 done # for ac_tag
22863 as_fn_exit 0
22864 _ACEOF
22865 ac_clean_files=$ac_clean_files_save
22867 test $ac_write_fail = 0 ||
22868 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22871 # configure is writing to config.log, and then calls config.status.
22872 # config.status does its own redirection, appending to config.log.
22873 # Unfortunately, on DOS this fails, as config.log is still kept open
22874 # by configure, so config.status won't be able to write to it; its
22875 # output is simply discarded. So we exec the FD to /dev/null,
22876 # effectively closing config.log, so it can be properly (re)opened and
22877 # appended to by config.status. When coming back to configure, we
22878 # need to make the FD available again.
22879 if test "$no_create" != yes; then
22880 ac_cs_success=:
22881 ac_config_status_args=
22882 test "$silent" = yes &&
22883 ac_config_status_args="$ac_config_status_args --quiet"
22884 exec 5>/dev/null
22885 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22886 exec 5>>config.log
22887 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22888 # would make configure fail if this is the last instruction.
22889 $ac_cs_success || as_fn_exit 1
22891 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22893 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22897 if test "$no_create" = "yes"
22898 then
22899 exit 0
22902 ac_save_IFS="$IFS"
22903 if test "x$wine_notices" != x; then
22904 echo >&6
22905 IFS="|"
22906 for msg in $wine_notices; do
22907 IFS="$ac_save_IFS"
22908 if ${msg:+false} :; then :
22910 else
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22912 $as_echo "$as_me: $msg" >&6;}
22914 done
22916 IFS="|"
22917 for msg in $wine_warnings; do
22918 IFS="$ac_save_IFS"
22919 if ${msg:+false} :; then :
22921 else
22922 echo >&2
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22924 $as_echo "$as_me: WARNING: $msg" >&2;}
22926 done
22927 IFS="$ac_save_IFS"
22929 $as_echo "
22930 $as_me: Finished. Do '${ac_make}' to compile Wine.
22931 " >&6