wined3d: Introduce wined3d_resource_prepare_sysmem().
[wine.git] / configure
blob19a56c9d0fb9ec40e2d2307c6cec3caf517c102a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.13.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.13'
584 PACKAGE_STRING='Wine 4.13'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 Z_CFLAGS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 INOTIFY_LIBS
694 INOTIFY_CFLAGS
695 XSLT_LIBS
696 XSLT_CFLAGS
697 XML2_LIBS
698 XML2_CFLAGS
699 PCAP_LIBS
700 X_EXTRA_LIBS
701 X_LIBS
702 X_PRE_LIBS
703 X_CFLAGS
704 XMKMF
705 PTHREAD_LIBS
706 EXTRACROSSCFLAGS
707 CROSSCFLAGS
708 CROSSCC
709 CROSSTARGET
710 LIBWINE_DEPENDS
711 PRELINK
712 WINELOADER_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_SHAREDLIB
715 METAL_LIBS
716 CARBON_LIBS
717 QUICKTIME_LIBS
718 OPENCL_LIBS
719 OPENAL_LIBS
720 COREAUDIO_LIBS
721 SECURITY_LIBS
722 DISKARBITRATION_LIBS
723 APPKIT_LIBS
724 CORESERVICES_LIBS
725 APPLICATIONSERVICES_LIBS
726 FORCEFEEDBACK_LIBS
727 IOKIT_LIBS
728 COREFOUNDATION_LIBS
729 OBJCPP
730 ac_ct_OBJC
731 OBJCFLAGS
732 OBJC
733 DLLTOOL
734 WINELOADER_PROGRAMS
735 CONFIGURE_TARGETS
736 DISABLED_SUBDIRS
737 SUBDIRS
738 READELF
739 OTOOL
741 WINEPRELOADER_LDFLAGS
742 WINELOADER_LDFLAGS
743 TOP_INSTALL_DEV
744 TOP_INSTALL_LIB
745 LDEXECFLAGS
746 LDDLLFLAGS
747 LDRPATH_LOCAL
748 LDRPATH_INSTALL
749 DLLFLAGS
751 OPENGL_LIBS
752 ICOTOOL
753 CONVERT
754 RSVG
755 FONTFORGE
756 PKG_CONFIG
757 MSGFMT
758 LDCONFIG
759 EGREP
760 GREP
761 LN_S
762 RANLIB
763 STRIP
764 ac_ct_AR
766 BISON
767 FLEX
768 TOOLSDIR
769 TARGETFLAGS
771 CPPBIN
772 ac_ct_CXX
773 CXXFLAGS
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
782 SET_MAKE
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 target_alias
792 host_alias
793 build_alias
794 LIBS
795 ECHO_T
796 ECHO_N
797 ECHO_C
798 DEFS
799 mandir
800 localedir
801 libdir
802 psdir
803 pdfdir
804 dvidir
805 htmldir
806 infodir
807 docdir
808 oldincludedir
809 includedir
810 runstatedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_win16
834 enable_win64
835 enable_tests
836 enable_maintainer_mode
837 with_alsa
838 with_capi
839 with_cms
840 with_coreaudio
841 with_cups
842 with_curses
843 with_dbus
844 with_faudio
845 with_float_abi
846 with_fontconfig
847 with_freetype
848 with_gettext
849 with_gettextpo
850 with_gphoto
851 with_glu
852 with_gnutls
853 with_gsm
854 with_gssapi
855 with_gstreamer
856 with_hal
857 with_inotify
858 with_jpeg
859 with_krb5
860 with_ldap
861 with_mingw
862 with_mpg123
863 with_netapi
864 with_openal
865 with_opencl
866 with_opengl
867 with_osmesa
868 with_oss
869 with_pcap
870 with_png
871 with_pthread
872 with_pulse
873 with_sane
874 with_sdl
875 with_tiff
876 with_udev
877 with_v4l2
878 with_vkd3d
879 with_vulkan
880 with_xcomposite
881 with_xcursor
882 with_xfixes
883 with_xinerama
884 with_xinput
885 with_xinput2
886 with_xml
887 with_xrandr
888 with_xrender
889 with_xshape
890 with_xshm
891 with_xslt
892 with_xxf86vm
893 with_zlib
894 with_wine_tools
895 with_wine64
896 enable_largefile
897 with_x
898 enable_acledit
899 enable_aclui
900 enable_activeds
901 enable_actxprxy
902 enable_adsiid
903 enable_adsldp
904 enable_adsldpc
905 enable_advapi32
906 enable_advpack
907 enable_amsi
908 enable_amstream
909 enable_api_ms_win_appmodel_identity_l1_1_0
910 enable_api_ms_win_appmodel_runtime_l1_1_1
911 enable_api_ms_win_appmodel_runtime_l1_1_2
912 enable_api_ms_win_core_apiquery_l1_1_0
913 enable_api_ms_win_core_appcompat_l1_1_1
914 enable_api_ms_win_core_appinit_l1_1_0
915 enable_api_ms_win_core_atoms_l1_1_0
916 enable_api_ms_win_core_bem_l1_1_0
917 enable_api_ms_win_core_com_l1_1_0
918 enable_api_ms_win_core_com_l1_1_1
919 enable_api_ms_win_core_com_private_l1_1_0
920 enable_api_ms_win_core_comm_l1_1_0
921 enable_api_ms_win_core_console_l1_1_0
922 enable_api_ms_win_core_console_l2_1_0
923 enable_api_ms_win_core_crt_l1_1_0
924 enable_api_ms_win_core_crt_l2_1_0
925 enable_api_ms_win_core_datetime_l1_1_0
926 enable_api_ms_win_core_datetime_l1_1_1
927 enable_api_ms_win_core_debug_l1_1_0
928 enable_api_ms_win_core_debug_l1_1_1
929 enable_api_ms_win_core_delayload_l1_1_0
930 enable_api_ms_win_core_delayload_l1_1_1
931 enable_api_ms_win_core_errorhandling_l1_1_0
932 enable_api_ms_win_core_errorhandling_l1_1_1
933 enable_api_ms_win_core_errorhandling_l1_1_2
934 enable_api_ms_win_core_errorhandling_l1_1_3
935 enable_api_ms_win_core_fibers_l1_1_0
936 enable_api_ms_win_core_fibers_l1_1_1
937 enable_api_ms_win_core_file_l1_1_0
938 enable_api_ms_win_core_file_l1_2_0
939 enable_api_ms_win_core_file_l1_2_1
940 enable_api_ms_win_core_file_l1_2_2
941 enable_api_ms_win_core_file_l2_1_0
942 enable_api_ms_win_core_file_l2_1_1
943 enable_api_ms_win_core_file_l2_1_2
944 enable_api_ms_win_core_handle_l1_1_0
945 enable_api_ms_win_core_heap_l1_1_0
946 enable_api_ms_win_core_heap_l1_2_0
947 enable_api_ms_win_core_heap_l2_1_0
948 enable_api_ms_win_core_heap_obsolete_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_1_0
950 enable_api_ms_win_core_interlocked_l1_2_0
951 enable_api_ms_win_core_io_l1_1_0
952 enable_api_ms_win_core_io_l1_1_1
953 enable_api_ms_win_core_job_l1_1_0
954 enable_api_ms_win_core_job_l2_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_0
956 enable_api_ms_win_core_kernel32_legacy_l1_1_1
957 enable_api_ms_win_core_kernel32_private_l1_1_1
958 enable_api_ms_win_core_largeinteger_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_0
960 enable_api_ms_win_core_libraryloader_l1_1_1
961 enable_api_ms_win_core_libraryloader_l1_2_0
962 enable_api_ms_win_core_libraryloader_l1_2_1
963 enable_api_ms_win_core_libraryloader_l1_2_2
964 enable_api_ms_win_core_localization_l1_1_0
965 enable_api_ms_win_core_localization_l1_2_0
966 enable_api_ms_win_core_localization_l1_2_1
967 enable_api_ms_win_core_localization_l2_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_1_0
969 enable_api_ms_win_core_localization_obsolete_l1_2_0
970 enable_api_ms_win_core_localization_obsolete_l1_3_0
971 enable_api_ms_win_core_localization_private_l1_1_0
972 enable_api_ms_win_core_localregistry_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_0
974 enable_api_ms_win_core_memory_l1_1_1
975 enable_api_ms_win_core_memory_l1_1_2
976 enable_api_ms_win_core_misc_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_1_0
978 enable_api_ms_win_core_namedpipe_l1_2_0
979 enable_api_ms_win_core_namespace_l1_1_0
980 enable_api_ms_win_core_normalization_l1_1_0
981 enable_api_ms_win_core_path_l1_1_0
982 enable_api_ms_win_core_privateprofile_l1_1_1
983 enable_api_ms_win_core_processenvironment_l1_1_0
984 enable_api_ms_win_core_processenvironment_l1_2_0
985 enable_api_ms_win_core_processthreads_l1_1_0
986 enable_api_ms_win_core_processthreads_l1_1_1
987 enable_api_ms_win_core_processthreads_l1_1_2
988 enable_api_ms_win_core_processthreads_l1_1_3
989 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
990 enable_api_ms_win_core_profile_l1_1_0
991 enable_api_ms_win_core_psapi_ansi_l1_1_0
992 enable_api_ms_win_core_psapi_l1_1_0
993 enable_api_ms_win_core_psapi_obsolete_l1_1_0
994 enable_api_ms_win_core_quirks_l1_1_0
995 enable_api_ms_win_core_realtime_l1_1_0
996 enable_api_ms_win_core_registry_l1_1_0
997 enable_api_ms_win_core_registry_l2_1_0
998 enable_api_ms_win_core_registryuserspecific_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_1_0
1000 enable_api_ms_win_core_rtlsupport_l1_2_0
1001 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1004 enable_api_ms_win_core_shutdown_l1_1_0
1005 enable_api_ms_win_core_sidebyside_l1_1_0
1006 enable_api_ms_win_core_string_l1_1_0
1007 enable_api_ms_win_core_string_l2_1_0
1008 enable_api_ms_win_core_string_obsolete_l1_1_0
1009 enable_api_ms_win_core_stringansi_l1_1_0
1010 enable_api_ms_win_core_stringloader_l1_1_1
1011 enable_api_ms_win_core_synch_ansi_l1_1_0
1012 enable_api_ms_win_core_synch_l1_1_0
1013 enable_api_ms_win_core_synch_l1_2_0
1014 enable_api_ms_win_core_synch_l1_2_1
1015 enable_api_ms_win_core_sysinfo_l1_1_0
1016 enable_api_ms_win_core_sysinfo_l1_2_0
1017 enable_api_ms_win_core_sysinfo_l1_2_1
1018 enable_api_ms_win_core_threadpool_l1_1_0
1019 enable_api_ms_win_core_threadpool_l1_2_0
1020 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1021 enable_api_ms_win_core_threadpool_private_l1_1_0
1022 enable_api_ms_win_core_timezone_l1_1_0
1023 enable_api_ms_win_core_toolhelp_l1_1_0
1024 enable_api_ms_win_core_url_l1_1_0
1025 enable_api_ms_win_core_util_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_0
1027 enable_api_ms_win_core_version_l1_1_1
1028 enable_api_ms_win_core_version_private_l1_1_0
1029 enable_api_ms_win_core_versionansi_l1_1_0
1030 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_0
1032 enable_api_ms_win_core_winrt_error_l1_1_1
1033 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1034 enable_api_ms_win_core_winrt_l1_1_0
1035 enable_api_ms_win_core_winrt_registration_l1_1_0
1036 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_0
1038 enable_api_ms_win_core_winrt_string_l1_1_1
1039 enable_api_ms_win_core_wow64_l1_1_0
1040 enable_api_ms_win_core_wow64_l1_1_1
1041 enable_api_ms_win_core_xstate_l1_1_0
1042 enable_api_ms_win_core_xstate_l2_1_0
1043 enable_api_ms_win_crt_conio_l1_1_0
1044 enable_api_ms_win_crt_convert_l1_1_0
1045 enable_api_ms_win_crt_environment_l1_1_0
1046 enable_api_ms_win_crt_filesystem_l1_1_0
1047 enable_api_ms_win_crt_heap_l1_1_0
1048 enable_api_ms_win_crt_locale_l1_1_0
1049 enable_api_ms_win_crt_math_l1_1_0
1050 enable_api_ms_win_crt_multibyte_l1_1_0
1051 enable_api_ms_win_crt_private_l1_1_0
1052 enable_api_ms_win_crt_process_l1_1_0
1053 enable_api_ms_win_crt_runtime_l1_1_0
1054 enable_api_ms_win_crt_stdio_l1_1_0
1055 enable_api_ms_win_crt_string_l1_1_0
1056 enable_api_ms_win_crt_time_l1_1_0
1057 enable_api_ms_win_crt_utility_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_0
1059 enable_api_ms_win_devices_config_l1_1_1
1060 enable_api_ms_win_devices_query_l1_1_1
1061 enable_api_ms_win_downlevel_advapi32_l1_1_0
1062 enable_api_ms_win_downlevel_advapi32_l2_1_0
1063 enable_api_ms_win_downlevel_normaliz_l1_1_0
1064 enable_api_ms_win_downlevel_ole32_l1_1_0
1065 enable_api_ms_win_downlevel_shell32_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1067 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1068 enable_api_ms_win_downlevel_user32_l1_1_0
1069 enable_api_ms_win_downlevel_version_l1_1_0
1070 enable_api_ms_win_dx_d3dkmt_l1_1_0
1071 enable_api_ms_win_eventing_classicprovider_l1_1_0
1072 enable_api_ms_win_eventing_consumer_l1_1_0
1073 enable_api_ms_win_eventing_controller_l1_1_0
1074 enable_api_ms_win_eventing_legacy_l1_1_0
1075 enable_api_ms_win_eventing_provider_l1_1_0
1076 enable_api_ms_win_eventlog_legacy_l1_1_0
1077 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1078 enable_api_ms_win_mm_joystick_l1_1_0
1079 enable_api_ms_win_mm_misc_l1_1_1
1080 enable_api_ms_win_mm_mme_l1_1_0
1081 enable_api_ms_win_mm_time_l1_1_0
1082 enable_api_ms_win_ntuser_dc_access_l1_1_0
1083 enable_api_ms_win_ntuser_rectangle_l1_1_0
1084 enable_api_ms_win_ntuser_sysparams_l1_1_0
1085 enable_api_ms_win_perf_legacy_l1_1_0
1086 enable_api_ms_win_power_base_l1_1_0
1087 enable_api_ms_win_power_setting_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1091 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1094 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1095 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1096 enable_api_ms_win_security_audit_l1_1_1
1097 enable_api_ms_win_security_base_l1_1_0
1098 enable_api_ms_win_security_base_l1_2_0
1099 enable_api_ms_win_security_base_private_l1_1_1
1100 enable_api_ms_win_security_credentials_l1_1_0
1101 enable_api_ms_win_security_cryptoapi_l1_1_0
1102 enable_api_ms_win_security_grouppolicy_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_0
1104 enable_api_ms_win_security_lsalookup_l1_1_1
1105 enable_api_ms_win_security_lsalookup_l2_1_0
1106 enable_api_ms_win_security_lsalookup_l2_1_1
1107 enable_api_ms_win_security_lsapolicy_l1_1_0
1108 enable_api_ms_win_security_provider_l1_1_0
1109 enable_api_ms_win_security_sddl_l1_1_0
1110 enable_api_ms_win_security_systemfunctions_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_0
1112 enable_api_ms_win_service_core_l1_1_1
1113 enable_api_ms_win_service_management_l1_1_0
1114 enable_api_ms_win_service_management_l2_1_0
1115 enable_api_ms_win_service_private_l1_1_1
1116 enable_api_ms_win_service_winsvc_l1_1_0
1117 enable_api_ms_win_service_winsvc_l1_2_0
1118 enable_api_ms_win_shcore_obsolete_l1_1_0
1119 enable_api_ms_win_shcore_scaling_l1_1_1
1120 enable_api_ms_win_shcore_stream_l1_1_0
1121 enable_api_ms_win_shcore_thread_l1_1_0
1122 enable_api_ms_win_shell_shellcom_l1_1_0
1123 enable_api_ms_win_shell_shellfolders_l1_1_0
1124 enable_apphelp
1125 enable_appwiz_cpl
1126 enable_atl
1127 enable_atl100
1128 enable_atl110
1129 enable_atl80
1130 enable_atl90
1131 enable_atlthunk
1132 enable_atmlib
1133 enable_authz
1134 enable_avicap32
1135 enable_avifil32
1136 enable_avrt
1137 enable_bcrypt
1138 enable_bluetoothapis
1139 enable_browseui
1140 enable_bthprops_cpl
1141 enable_cabinet
1142 enable_capi2032
1143 enable_cards
1144 enable_cdosys
1145 enable_cfgmgr32
1146 enable_clusapi
1147 enable_combase
1148 enable_comcat
1149 enable_comctl32
1150 enable_comdlg32
1151 enable_compstui
1152 enable_comsvcs
1153 enable_concrt140
1154 enable_connect
1155 enable_credui
1156 enable_crtdll
1157 enable_crypt32
1158 enable_cryptdlg
1159 enable_cryptdll
1160 enable_cryptext
1161 enable_cryptnet
1162 enable_cryptui
1163 enable_ctapi32
1164 enable_ctl3d32
1165 enable_d2d1
1166 enable_d3d10
1167 enable_d3d10_1
1168 enable_d3d10core
1169 enable_d3d11
1170 enable_d3d12
1171 enable_d3d8
1172 enable_d3d9
1173 enable_d3dcompiler_33
1174 enable_d3dcompiler_34
1175 enable_d3dcompiler_35
1176 enable_d3dcompiler_36
1177 enable_d3dcompiler_37
1178 enable_d3dcompiler_38
1179 enable_d3dcompiler_39
1180 enable_d3dcompiler_40
1181 enable_d3dcompiler_41
1182 enable_d3dcompiler_42
1183 enable_d3dcompiler_43
1184 enable_d3dcompiler_46
1185 enable_d3dcompiler_47
1186 enable_d3dim
1187 enable_d3drm
1188 enable_d3dx10_33
1189 enable_d3dx10_34
1190 enable_d3dx10_35
1191 enable_d3dx10_36
1192 enable_d3dx10_37
1193 enable_d3dx10_38
1194 enable_d3dx10_39
1195 enable_d3dx10_40
1196 enable_d3dx10_41
1197 enable_d3dx10_42
1198 enable_d3dx10_43
1199 enable_d3dx11_42
1200 enable_d3dx11_43
1201 enable_d3dx9_24
1202 enable_d3dx9_25
1203 enable_d3dx9_26
1204 enable_d3dx9_27
1205 enable_d3dx9_28
1206 enable_d3dx9_29
1207 enable_d3dx9_30
1208 enable_d3dx9_31
1209 enable_d3dx9_32
1210 enable_d3dx9_33
1211 enable_d3dx9_34
1212 enable_d3dx9_35
1213 enable_d3dx9_36
1214 enable_d3dx9_37
1215 enable_d3dx9_38
1216 enable_d3dx9_39
1217 enable_d3dx9_40
1218 enable_d3dx9_41
1219 enable_d3dx9_42
1220 enable_d3dx9_43
1221 enable_d3dxof
1222 enable_davclnt
1223 enable_dbgeng
1224 enable_dbghelp
1225 enable_dciman32
1226 enable_ddraw
1227 enable_ddrawex
1228 enable_devenum
1229 enable_dhcpcsvc
1230 enable_dhtmled_ocx
1231 enable_difxapi
1232 enable_dinput
1233 enable_dinput8
1234 enable_dispex
1235 enable_dmband
1236 enable_dmcompos
1237 enable_dmime
1238 enable_dmloader
1239 enable_dmoguids
1240 enable_dmscript
1241 enable_dmstyle
1242 enable_dmsynth
1243 enable_dmusic
1244 enable_dmusic32
1245 enable_dnsapi
1246 enable_dplay
1247 enable_dplayx
1248 enable_dpnaddr
1249 enable_dpnet
1250 enable_dpnhpast
1251 enable_dpnlobby
1252 enable_dpvoice
1253 enable_dpwsockx
1254 enable_drmclien
1255 enable_dsound
1256 enable_dsquery
1257 enable_dssenh
1258 enable_dswave
1259 enable_dwmapi
1260 enable_dwrite
1261 enable_dx8vb
1262 enable_dxdiagn
1263 enable_dxerr8
1264 enable_dxerr9
1265 enable_dxgi
1266 enable_dxguid
1267 enable_dxva2
1268 enable_esent
1269 enable_evr
1270 enable_explorerframe
1271 enable_ext_ms_win_authz_context_l1_1_0
1272 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1273 enable_ext_ms_win_dwmapi_ext_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_0
1275 enable_ext_ms_win_gdi_dc_create_l1_1_1
1276 enable_ext_ms_win_gdi_dc_l1_2_0
1277 enable_ext_ms_win_gdi_devcaps_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_0
1279 enable_ext_ms_win_gdi_draw_l1_1_1
1280 enable_ext_ms_win_gdi_font_l1_1_0
1281 enable_ext_ms_win_gdi_font_l1_1_1
1282 enable_ext_ms_win_gdi_render_l1_1_0
1283 enable_ext_ms_win_kernel32_package_current_l1_1_0
1284 enable_ext_ms_win_kernel32_package_l1_1_1
1285 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1286 enable_ext_ms_win_ntuser_draw_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_1_0
1288 enable_ext_ms_win_ntuser_gui_l1_3_0
1289 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1290 enable_ext_ms_win_ntuser_message_l1_1_0
1291 enable_ext_ms_win_ntuser_message_l1_1_1
1292 enable_ext_ms_win_ntuser_misc_l1_1_0
1293 enable_ext_ms_win_ntuser_misc_l1_2_0
1294 enable_ext_ms_win_ntuser_misc_l1_5_1
1295 enable_ext_ms_win_ntuser_mouse_l1_1_0
1296 enable_ext_ms_win_ntuser_private_l1_1_1
1297 enable_ext_ms_win_ntuser_private_l1_3_1
1298 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_0
1301 enable_ext_ms_win_ntuser_window_l1_1_1
1302 enable_ext_ms_win_ntuser_window_l1_1_4
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1304 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1305 enable_ext_ms_win_oleacc_l1_1_0
1306 enable_ext_ms_win_ras_rasapi32_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1309 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1313 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1314 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1316 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1317 enable_ext_ms_win_security_credui_l1_1_0
1318 enable_ext_ms_win_security_cryptui_l1_1_0
1319 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1320 enable_ext_ms_win_shell_comdlg32_l1_1_0
1321 enable_ext_ms_win_shell_shell32_l1_2_0
1322 enable_ext_ms_win_uxtheme_themes_l1_1_0
1323 enable_faultrep
1324 enable_feclient
1325 enable_fltlib
1326 enable_fltmgr_sys
1327 enable_fntcache
1328 enable_fontsub
1329 enable_fusion
1330 enable_fwpuclnt
1331 enable_gameux
1332 enable_gdi32
1333 enable_gdiplus
1334 enable_glu32
1335 enable_gphoto2_ds
1336 enable_gpkcsp
1337 enable_hal
1338 enable_hhctrl_ocx
1339 enable_hid
1340 enable_hidclass_sys
1341 enable_hlink
1342 enable_hnetcfg
1343 enable_httpapi
1344 enable_iccvid
1345 enable_icmp
1346 enable_ieframe
1347 enable_ieproxy
1348 enable_imaadp32_acm
1349 enable_imagehlp
1350 enable_imm32
1351 enable_inetcomm
1352 enable_inetcpl_cpl
1353 enable_inetmib1
1354 enable_infosoft
1355 enable_initpki
1356 enable_inkobj
1357 enable_inseng
1358 enable_iphlpapi
1359 enable_iprop
1360 enable_irprops_cpl
1361 enable_itircl
1362 enable_itss
1363 enable_joy_cpl
1364 enable_jscript
1365 enable_jsproxy
1366 enable_kerberos
1367 enable_kernel32
1368 enable_kernelbase
1369 enable_ksecdd_sys
1370 enable_ksuser
1371 enable_ktmw32
1372 enable_l3codeca_acm
1373 enable_loadperf
1374 enable_localspl
1375 enable_localui
1376 enable_lz32
1377 enable_mapi32
1378 enable_mapistub
1379 enable_mciavi32
1380 enable_mcicda
1381 enable_mciqtz32
1382 enable_mciseq
1383 enable_mciwave
1384 enable_mf
1385 enable_mf3216
1386 enable_mferror
1387 enable_mfplat
1388 enable_mfplay
1389 enable_mfreadwrite
1390 enable_mfuuid
1391 enable_mgmtapi
1392 enable_midimap
1393 enable_mlang
1394 enable_mmcndmgr
1395 enable_mmdevapi
1396 enable_mountmgr_sys
1397 enable_mp3dmod
1398 enable_mpr
1399 enable_mprapi
1400 enable_msacm32_drv
1401 enable_msacm32
1402 enable_msadp32_acm
1403 enable_msasn1
1404 enable_mscat32
1405 enable_mscms
1406 enable_mscoree
1407 enable_mscorwks
1408 enable_msctf
1409 enable_msctfp
1410 enable_msdaps
1411 enable_msdelta
1412 enable_msdmo
1413 enable_msdrm
1414 enable_msftedit
1415 enable_msg711_acm
1416 enable_msgsm32_acm
1417 enable_mshtml_tlb
1418 enable_mshtml
1419 enable_msi
1420 enable_msident
1421 enable_msimg32
1422 enable_msimsg
1423 enable_msimtf
1424 enable_msisip
1425 enable_msisys_ocx
1426 enable_msls31
1427 enable_msnet32
1428 enable_mspatcha
1429 enable_msports
1430 enable_msrle32
1431 enable_msscript_ocx
1432 enable_mssign32
1433 enable_mssip32
1434 enable_mstask
1435 enable_msvcirt
1436 enable_msvcm80
1437 enable_msvcm90
1438 enable_msvcp100
1439 enable_msvcp110
1440 enable_msvcp120
1441 enable_msvcp120_app
1442 enable_msvcp140
1443 enable_msvcp60
1444 enable_msvcp70
1445 enable_msvcp71
1446 enable_msvcp80
1447 enable_msvcp90
1448 enable_msvcr100
1449 enable_msvcr110
1450 enable_msvcr120
1451 enable_msvcr120_app
1452 enable_msvcr70
1453 enable_msvcr71
1454 enable_msvcr80
1455 enable_msvcr90
1456 enable_msvcrt
1457 enable_msvcrt20
1458 enable_msvcrt40
1459 enable_msvcrtd
1460 enable_msvfw32
1461 enable_msvidc32
1462 enable_mswsock
1463 enable_msxml
1464 enable_msxml2
1465 enable_msxml3
1466 enable_msxml4
1467 enable_msxml6
1468 enable_mtxdm
1469 enable_ncrypt
1470 enable_nddeapi
1471 enable_ndis_sys
1472 enable_netapi32
1473 enable_netcfgx
1474 enable_netprofm
1475 enable_newdev
1476 enable_ninput
1477 enable_normaliz
1478 enable_npmshtml
1479 enable_npptools
1480 enable_ntdll
1481 enable_ntdsapi
1482 enable_ntoskrnl_exe
1483 enable_ntprint
1484 enable_objsel
1485 enable_odbc32
1486 enable_odbccp32
1487 enable_odbccu32
1488 enable_ole32
1489 enable_oleacc
1490 enable_oleaut32
1491 enable_olecli32
1492 enable_oledb32
1493 enable_oledlg
1494 enable_olepro32
1495 enable_olesvr32
1496 enable_olethk32
1497 enable_opcservices
1498 enable_openal32
1499 enable_opencl
1500 enable_opengl32
1501 enable_packager
1502 enable_pdh
1503 enable_photometadatahandler
1504 enable_pidgen
1505 enable_powrprof
1506 enable_printui
1507 enable_prntvpt
1508 enable_propsys
1509 enable_psapi
1510 enable_pstorec
1511 enable_qcap
1512 enable_qedit
1513 enable_qmgr
1514 enable_qmgrprxy
1515 enable_quartz
1516 enable_query
1517 enable_qwave
1518 enable_rasapi32
1519 enable_rasdlg
1520 enable_regapi
1521 enable_resutils
1522 enable_riched20
1523 enable_riched32
1524 enable_rpcrt4
1525 enable_rsabase
1526 enable_rsaenh
1527 enable_rstrtmgr
1528 enable_rtutils
1529 enable_samlib
1530 enable_sane_ds
1531 enable_sapi
1532 enable_sas
1533 enable_scarddlg
1534 enable_sccbase
1535 enable_schannel
1536 enable_schedsvc
1537 enable_scrobj
1538 enable_scrrun
1539 enable_scsiport_sys
1540 enable_secur32
1541 enable_security
1542 enable_sensapi
1543 enable_serialui
1544 enable_setupapi
1545 enable_sfc
1546 enable_sfc_os
1547 enable_shcore
1548 enable_shdoclc
1549 enable_shdocvw
1550 enable_shell32
1551 enable_shfolder
1552 enable_shlwapi
1553 enable_slbcsp
1554 enable_slc
1555 enable_snmpapi
1556 enable_softpub
1557 enable_spoolss
1558 enable_srclient
1559 enable_sspicli
1560 enable_stdole2_tlb
1561 enable_stdole32_tlb
1562 enable_sti
1563 enable_strmbase
1564 enable_strmdll
1565 enable_strmiids
1566 enable_svrapi
1567 enable_sxs
1568 enable_t2embed
1569 enable_tapi32
1570 enable_taskschd
1571 enable_tdh
1572 enable_tdi_sys
1573 enable_traffic
1574 enable_twain_32
1575 enable_tzres
1576 enable_ucrtbase
1577 enable_uianimation
1578 enable_uiautomationcore
1579 enable_uiribbon
1580 enable_unicows
1581 enable_updspapi
1582 enable_url
1583 enable_urlmon
1584 enable_usbd_sys
1585 enable_user32
1586 enable_userenv
1587 enable_usp10
1588 enable_utildll
1589 enable_uuid
1590 enable_uxtheme
1591 enable_vbscript
1592 enable_vcomp
1593 enable_vcomp100
1594 enable_vcomp110
1595 enable_vcomp120
1596 enable_vcomp140
1597 enable_vcomp90
1598 enable_vcruntime140
1599 enable_vdmdbg
1600 enable_version
1601 enable_virtdisk
1602 enable_vssapi
1603 enable_vulkan_1
1604 enable_wbemdisp
1605 enable_wbemprox
1606 enable_wdscore
1607 enable_webservices
1608 enable_wer
1609 enable_wevtapi
1610 enable_wiaservc
1611 enable_wimgapi
1612 enable_windowscodecs
1613 enable_windowscodecsext
1614 enable_winealsa_drv
1615 enable_wineandroid_drv
1616 enable_winebus_sys
1617 enable_winecoreaudio_drv
1618 enable_winecrt0
1619 enable_wined3d
1620 enable_winegstreamer
1621 enable_winehid_sys
1622 enable_winejoystick_drv
1623 enable_winemac_drv
1624 enable_winemapi
1625 enable_wineoss_drv
1626 enable_wineps_drv
1627 enable_winepulse_drv
1628 enable_wineqtdecoder
1629 enable_winevulkan
1630 enable_winex11_drv
1631 enable_wing32
1632 enable_winhttp
1633 enable_wininet
1634 enable_winmm
1635 enable_winnls32
1636 enable_winscard
1637 enable_winspool_drv
1638 enable_winsta
1639 enable_wintab32
1640 enable_wintrust
1641 enable_winusb
1642 enable_wlanapi
1643 enable_wlanui
1644 enable_wldap32
1645 enable_wmasf
1646 enable_wmcodecdspuuid
1647 enable_wmi
1648 enable_wmiutils
1649 enable_wmp
1650 enable_wmphoto
1651 enable_wmvcore
1652 enable_wnaspi32
1653 enable_wpc
1654 enable_wpcap
1655 enable_ws2_32
1656 enable_wsdapi
1657 enable_wshom_ocx
1658 enable_wsnmp32
1659 enable_wsock32
1660 enable_wtsapi32
1661 enable_wuapi
1662 enable_wuaueng
1663 enable_x3daudio1_0
1664 enable_x3daudio1_1
1665 enable_x3daudio1_2
1666 enable_x3daudio1_3
1667 enable_x3daudio1_4
1668 enable_x3daudio1_5
1669 enable_x3daudio1_6
1670 enable_x3daudio1_7
1671 enable_xapofx1_1
1672 enable_xapofx1_2
1673 enable_xapofx1_3
1674 enable_xapofx1_4
1675 enable_xapofx1_5
1676 enable_xaudio2_0
1677 enable_xaudio2_1
1678 enable_xaudio2_2
1679 enable_xaudio2_3
1680 enable_xaudio2_4
1681 enable_xaudio2_5
1682 enable_xaudio2_6
1683 enable_xaudio2_7
1684 enable_xaudio2_8
1685 enable_xaudio2_9
1686 enable_xinput1_1
1687 enable_xinput1_2
1688 enable_xinput1_3
1689 enable_xinput1_4
1690 enable_xinput9_1_0
1691 enable_xmllite
1692 enable_xolehlp
1693 enable_xpsprint
1694 enable_xpssvcs
1695 enable_fonts
1696 enable_include
1697 enable_port
1698 enable_wine
1699 enable_wpp
1700 enable_loader
1701 enable_po
1702 enable_arp
1703 enable_aspnet_regiis
1704 enable_attrib
1705 enable_cabarc
1706 enable_cacls
1707 enable_clock
1708 enable_cmd
1709 enable_conhost
1710 enable_control
1711 enable_cscript
1712 enable_dism
1713 enable_dpnsvr
1714 enable_dxdiag
1715 enable_eject
1716 enable_expand
1717 enable_explorer
1718 enable_extrac32
1719 enable_fc
1720 enable_find
1721 enable_findstr
1722 enable_fsutil
1723 enable_hh
1724 enable_hostname
1725 enable_icacls
1726 enable_icinfo
1727 enable_iexplore
1728 enable_ipconfig
1729 enable_lodctr
1730 enable_mofcomp
1731 enable_mshta
1732 enable_msidb
1733 enable_msiexec
1734 enable_msinfo32
1735 enable_net
1736 enable_netsh
1737 enable_netstat
1738 enable_ngen
1739 enable_notepad
1740 enable_oleview
1741 enable_ping
1742 enable_plugplay
1743 enable_powershell
1744 enable_presentationfontcache
1745 enable_progman
1746 enable_reg
1747 enable_regasm
1748 enable_regedit
1749 enable_regsvcs
1750 enable_regsvr32
1751 enable_rpcss
1752 enable_rundll32
1753 enable_sc
1754 enable_schtasks
1755 enable_sdbinst
1756 enable_secedit
1757 enable_servicemodelreg
1758 enable_services
1759 enable_shutdown
1760 enable_spoolsv
1761 enable_start
1762 enable_subst
1763 enable_svchost
1764 enable_systeminfo
1765 enable_taskkill
1766 enable_tasklist
1767 enable_taskmgr
1768 enable_termsv
1769 enable_uninstaller
1770 enable_unlodctr
1771 enable_view
1772 enable_wevtutil
1773 enable_wineboot
1774 enable_winebrowser
1775 enable_winecfg
1776 enable_wineconsole
1777 enable_winedbg
1778 enable_winedevice
1779 enable_winefile
1780 enable_winemenubuilder
1781 enable_winemine
1782 enable_winemsibuilder
1783 enable_winepath
1784 enable_winetest
1785 enable_winhlp32
1786 enable_winmgmt
1787 enable_winver
1788 enable_wmic
1789 enable_wmplayer
1790 enable_wordpad
1791 enable_write
1792 enable_wscript
1793 enable_wusa
1794 enable_xcopy
1795 enable_server
1796 enable_tools
1797 enable_sfnt2fon
1798 enable_widl
1799 enable_winebuild
1800 enable_winedump
1801 enable_winegcc
1802 enable_winemaker
1803 enable_wmc
1804 enable_wrc
1806 ac_precious_vars='build_alias
1807 host_alias
1808 target_alias
1810 CFLAGS
1811 LDFLAGS
1812 LIBS
1813 CPPFLAGS
1815 CXXFLAGS
1818 OBJC
1819 OBJCFLAGS
1820 OBJCPP
1821 XMKMF
1822 XML2_CFLAGS
1823 XML2_LIBS
1824 XSLT_CFLAGS
1825 XSLT_LIBS
1826 INOTIFY_CFLAGS
1827 INOTIFY_LIBS
1828 DBUS_CFLAGS
1829 DBUS_LIBS
1830 HAL_CFLAGS
1831 HAL_LIBS
1832 GNUTLS_CFLAGS
1833 GNUTLS_LIBS
1834 SANE_CFLAGS
1835 SANE_LIBS
1836 GPHOTO2_CFLAGS
1837 GPHOTO2_LIBS
1838 GPHOTO2_PORT_CFLAGS
1839 GPHOTO2_PORT_LIBS
1840 LCMS2_CFLAGS
1841 LCMS2_LIBS
1842 FREETYPE_CFLAGS
1843 FREETYPE_LIBS
1844 Z_CFLAGS
1845 Z_LIBS
1846 PULSE_CFLAGS
1847 PULSE_LIBS
1848 GSTREAMER_CFLAGS
1849 GSTREAMER_LIBS
1850 UDEV_CFLAGS
1851 UDEV_LIBS
1852 SDL2_CFLAGS
1853 SDL2_LIBS
1854 FAUDIO_CFLAGS
1855 FAUDIO_LIBS
1856 CAPI20_CFLAGS
1857 CAPI20_LIBS
1858 CUPS_CFLAGS
1859 CUPS_LIBS
1860 FONTCONFIG_CFLAGS
1861 FONTCONFIG_LIBS
1862 KRB5_CFLAGS
1863 KRB5_LIBS
1864 GSSAPI_CFLAGS
1865 GSSAPI_LIBS
1866 JPEG_CFLAGS
1867 JPEG_LIBS
1868 PNG_CFLAGS
1869 PNG_LIBS
1870 TIFF_CFLAGS
1871 TIFF_LIBS
1872 MPG123_CFLAGS
1873 MPG123_LIBS
1874 NETAPI_CFLAGS
1875 NETAPI_LIBS
1876 VKD3D_CFLAGS
1877 VKD3D_LIBS
1878 LDAP_CFLAGS
1879 LDAP_LIBS'
1882 # Initialize some variables set by options.
1883 ac_init_help=
1884 ac_init_version=false
1885 ac_unrecognized_opts=
1886 ac_unrecognized_sep=
1887 # The variables have the same names as the options, with
1888 # dashes changed to underlines.
1889 cache_file=/dev/null
1890 exec_prefix=NONE
1891 no_create=
1892 no_recursion=
1893 prefix=NONE
1894 program_prefix=NONE
1895 program_suffix=NONE
1896 program_transform_name=s,x,x,
1897 silent=
1898 site=
1899 srcdir=
1900 verbose=
1901 x_includes=NONE
1902 x_libraries=NONE
1904 # Installation directory options.
1905 # These are left unexpanded so users can "make install exec_prefix=/foo"
1906 # and all the variables that are supposed to be based on exec_prefix
1907 # by default will actually change.
1908 # Use braces instead of parens because sh, perl, etc. also accept them.
1909 # (The list follows the same order as the GNU Coding Standards.)
1910 bindir='${exec_prefix}/bin'
1911 sbindir='${exec_prefix}/sbin'
1912 libexecdir='${exec_prefix}/libexec'
1913 datarootdir='${prefix}/share'
1914 datadir='${datarootdir}'
1915 sysconfdir='${prefix}/etc'
1916 sharedstatedir='${prefix}/com'
1917 localstatedir='${prefix}/var'
1918 runstatedir='${localstatedir}/run'
1919 includedir='${prefix}/include'
1920 oldincludedir='/usr/include'
1921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1922 infodir='${datarootdir}/info'
1923 htmldir='${docdir}'
1924 dvidir='${docdir}'
1925 pdfdir='${docdir}'
1926 psdir='${docdir}'
1927 libdir='${exec_prefix}/lib'
1928 localedir='${datarootdir}/locale'
1929 mandir='${datarootdir}/man'
1931 ac_prev=
1932 ac_dashdash=
1933 for ac_option
1935 # If the previous option needs an argument, assign it.
1936 if test -n "$ac_prev"; then
1937 eval $ac_prev=\$ac_option
1938 ac_prev=
1939 continue
1942 case $ac_option in
1943 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1944 *=) ac_optarg= ;;
1945 *) ac_optarg=yes ;;
1946 esac
1948 # Accept the important Cygnus configure options, so we can diagnose typos.
1950 case $ac_dashdash$ac_option in
1952 ac_dashdash=yes ;;
1954 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1955 ac_prev=bindir ;;
1956 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1957 bindir=$ac_optarg ;;
1959 -build | --build | --buil | --bui | --bu)
1960 ac_prev=build_alias ;;
1961 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1962 build_alias=$ac_optarg ;;
1964 -cache-file | --cache-file | --cache-fil | --cache-fi \
1965 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1966 ac_prev=cache_file ;;
1967 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1968 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1969 cache_file=$ac_optarg ;;
1971 --config-cache | -C)
1972 cache_file=config.cache ;;
1974 -datadir | --datadir | --datadi | --datad)
1975 ac_prev=datadir ;;
1976 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1977 datadir=$ac_optarg ;;
1979 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1980 | --dataroo | --dataro | --datar)
1981 ac_prev=datarootdir ;;
1982 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1983 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1984 datarootdir=$ac_optarg ;;
1986 -disable-* | --disable-*)
1987 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1988 # Reject names that are not valid shell variable names.
1989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1990 as_fn_error $? "invalid feature name: $ac_useropt"
1991 ac_useropt_orig=$ac_useropt
1992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1993 case $ac_user_opts in
1995 "enable_$ac_useropt"
1996 "*) ;;
1997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1998 ac_unrecognized_sep=', ';;
1999 esac
2000 eval enable_$ac_useropt=no ;;
2002 -docdir | --docdir | --docdi | --doc | --do)
2003 ac_prev=docdir ;;
2004 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2005 docdir=$ac_optarg ;;
2007 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2008 ac_prev=dvidir ;;
2009 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2010 dvidir=$ac_optarg ;;
2012 -enable-* | --enable-*)
2013 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2014 # Reject names that are not valid shell variable names.
2015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2016 as_fn_error $? "invalid feature name: $ac_useropt"
2017 ac_useropt_orig=$ac_useropt
2018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2019 case $ac_user_opts in
2021 "enable_$ac_useropt"
2022 "*) ;;
2023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2024 ac_unrecognized_sep=', ';;
2025 esac
2026 eval enable_$ac_useropt=\$ac_optarg ;;
2028 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2029 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2030 | --exec | --exe | --ex)
2031 ac_prev=exec_prefix ;;
2032 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2033 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2034 | --exec=* | --exe=* | --ex=*)
2035 exec_prefix=$ac_optarg ;;
2037 -gas | --gas | --ga | --g)
2038 # Obsolete; use --with-gas.
2039 with_gas=yes ;;
2041 -help | --help | --hel | --he | -h)
2042 ac_init_help=long ;;
2043 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2044 ac_init_help=recursive ;;
2045 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2046 ac_init_help=short ;;
2048 -host | --host | --hos | --ho)
2049 ac_prev=host_alias ;;
2050 -host=* | --host=* | --hos=* | --ho=*)
2051 host_alias=$ac_optarg ;;
2053 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2054 ac_prev=htmldir ;;
2055 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2056 | --ht=*)
2057 htmldir=$ac_optarg ;;
2059 -includedir | --includedir | --includedi | --included | --include \
2060 | --includ | --inclu | --incl | --inc)
2061 ac_prev=includedir ;;
2062 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2063 | --includ=* | --inclu=* | --incl=* | --inc=*)
2064 includedir=$ac_optarg ;;
2066 -infodir | --infodir | --infodi | --infod | --info | --inf)
2067 ac_prev=infodir ;;
2068 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2069 infodir=$ac_optarg ;;
2071 -libdir | --libdir | --libdi | --libd)
2072 ac_prev=libdir ;;
2073 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2074 libdir=$ac_optarg ;;
2076 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2077 | --libexe | --libex | --libe)
2078 ac_prev=libexecdir ;;
2079 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2080 | --libexe=* | --libex=* | --libe=*)
2081 libexecdir=$ac_optarg ;;
2083 -localedir | --localedir | --localedi | --localed | --locale)
2084 ac_prev=localedir ;;
2085 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2086 localedir=$ac_optarg ;;
2088 -localstatedir | --localstatedir | --localstatedi | --localstated \
2089 | --localstate | --localstat | --localsta | --localst | --locals)
2090 ac_prev=localstatedir ;;
2091 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2092 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2093 localstatedir=$ac_optarg ;;
2095 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2096 ac_prev=mandir ;;
2097 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2098 mandir=$ac_optarg ;;
2100 -nfp | --nfp | --nf)
2101 # Obsolete; use --without-fp.
2102 with_fp=no ;;
2104 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2105 | --no-cr | --no-c | -n)
2106 no_create=yes ;;
2108 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2109 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2110 no_recursion=yes ;;
2112 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2113 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2114 | --oldin | --oldi | --old | --ol | --o)
2115 ac_prev=oldincludedir ;;
2116 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2117 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2118 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2119 oldincludedir=$ac_optarg ;;
2121 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2122 ac_prev=prefix ;;
2123 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2124 prefix=$ac_optarg ;;
2126 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2127 | --program-pre | --program-pr | --program-p)
2128 ac_prev=program_prefix ;;
2129 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2130 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2131 program_prefix=$ac_optarg ;;
2133 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2134 | --program-suf | --program-su | --program-s)
2135 ac_prev=program_suffix ;;
2136 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2137 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2138 program_suffix=$ac_optarg ;;
2140 -program-transform-name | --program-transform-name \
2141 | --program-transform-nam | --program-transform-na \
2142 | --program-transform-n | --program-transform- \
2143 | --program-transform | --program-transfor \
2144 | --program-transfo | --program-transf \
2145 | --program-trans | --program-tran \
2146 | --progr-tra | --program-tr | --program-t)
2147 ac_prev=program_transform_name ;;
2148 -program-transform-name=* | --program-transform-name=* \
2149 | --program-transform-nam=* | --program-transform-na=* \
2150 | --program-transform-n=* | --program-transform-=* \
2151 | --program-transform=* | --program-transfor=* \
2152 | --program-transfo=* | --program-transf=* \
2153 | --program-trans=* | --program-tran=* \
2154 | --progr-tra=* | --program-tr=* | --program-t=*)
2155 program_transform_name=$ac_optarg ;;
2157 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2158 ac_prev=pdfdir ;;
2159 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2160 pdfdir=$ac_optarg ;;
2162 -psdir | --psdir | --psdi | --psd | --ps)
2163 ac_prev=psdir ;;
2164 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2165 psdir=$ac_optarg ;;
2167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2168 | -silent | --silent | --silen | --sile | --sil)
2169 silent=yes ;;
2171 -runstatedir | --runstatedir | --runstatedi | --runstated \
2172 | --runstate | --runstat | --runsta | --runst | --runs \
2173 | --run | --ru | --r)
2174 ac_prev=runstatedir ;;
2175 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2176 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2177 | --run=* | --ru=* | --r=*)
2178 runstatedir=$ac_optarg ;;
2180 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2181 ac_prev=sbindir ;;
2182 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2183 | --sbi=* | --sb=*)
2184 sbindir=$ac_optarg ;;
2186 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2187 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2188 | --sharedst | --shareds | --shared | --share | --shar \
2189 | --sha | --sh)
2190 ac_prev=sharedstatedir ;;
2191 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2192 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2193 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2194 | --sha=* | --sh=*)
2195 sharedstatedir=$ac_optarg ;;
2197 -site | --site | --sit)
2198 ac_prev=site ;;
2199 -site=* | --site=* | --sit=*)
2200 site=$ac_optarg ;;
2202 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2203 ac_prev=srcdir ;;
2204 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2205 srcdir=$ac_optarg ;;
2207 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2208 | --syscon | --sysco | --sysc | --sys | --sy)
2209 ac_prev=sysconfdir ;;
2210 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2211 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2212 sysconfdir=$ac_optarg ;;
2214 -target | --target | --targe | --targ | --tar | --ta | --t)
2215 ac_prev=target_alias ;;
2216 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2217 target_alias=$ac_optarg ;;
2219 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2220 verbose=yes ;;
2222 -version | --version | --versio | --versi | --vers | -V)
2223 ac_init_version=: ;;
2225 -with-* | --with-*)
2226 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2227 # Reject names that are not valid shell variable names.
2228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2229 as_fn_error $? "invalid package name: $ac_useropt"
2230 ac_useropt_orig=$ac_useropt
2231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2232 case $ac_user_opts in
2234 "with_$ac_useropt"
2235 "*) ;;
2236 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2237 ac_unrecognized_sep=', ';;
2238 esac
2239 eval with_$ac_useropt=\$ac_optarg ;;
2241 -without-* | --without-*)
2242 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2243 # Reject names that are not valid shell variable names.
2244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2245 as_fn_error $? "invalid package name: $ac_useropt"
2246 ac_useropt_orig=$ac_useropt
2247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2248 case $ac_user_opts in
2250 "with_$ac_useropt"
2251 "*) ;;
2252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2253 ac_unrecognized_sep=', ';;
2254 esac
2255 eval with_$ac_useropt=no ;;
2257 --x)
2258 # Obsolete; use --with-x.
2259 with_x=yes ;;
2261 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2262 | --x-incl | --x-inc | --x-in | --x-i)
2263 ac_prev=x_includes ;;
2264 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2265 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2266 x_includes=$ac_optarg ;;
2268 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2269 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2270 ac_prev=x_libraries ;;
2271 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2272 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2273 x_libraries=$ac_optarg ;;
2275 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2276 Try \`$0 --help' for more information"
2279 *=*)
2280 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2281 # Reject names that are not valid shell variable names.
2282 case $ac_envvar in #(
2283 '' | [0-9]* | *[!_$as_cr_alnum]* )
2284 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2285 esac
2286 eval $ac_envvar=\$ac_optarg
2287 export $ac_envvar ;;
2290 # FIXME: should be removed in autoconf 3.0.
2291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2294 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2297 esac
2298 done
2300 if test -n "$ac_prev"; then
2301 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2302 as_fn_error $? "missing argument to $ac_option"
2305 if test -n "$ac_unrecognized_opts"; then
2306 case $enable_option_checking in
2307 no) ;;
2308 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2310 esac
2313 # Check all directory arguments for consistency.
2314 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2315 datadir sysconfdir sharedstatedir localstatedir includedir \
2316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2317 libdir localedir mandir runstatedir
2319 eval ac_val=\$$ac_var
2320 # Remove trailing slashes.
2321 case $ac_val in
2322 */ )
2323 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2324 eval $ac_var=\$ac_val;;
2325 esac
2326 # Be sure to have absolute directory names.
2327 case $ac_val in
2328 [\\/$]* | ?:[\\/]* ) continue;;
2329 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2330 esac
2331 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2332 done
2334 # There might be people who depend on the old broken behavior: `$host'
2335 # used to hold the argument of --host etc.
2336 # FIXME: To remove some day.
2337 build=$build_alias
2338 host=$host_alias
2339 target=$target_alias
2341 # FIXME: To remove some day.
2342 if test "x$host_alias" != x; then
2343 if test "x$build_alias" = x; then
2344 cross_compiling=maybe
2345 elif test "x$build_alias" != "x$host_alias"; then
2346 cross_compiling=yes
2350 ac_tool_prefix=
2351 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2353 test "$silent" = yes && exec 6>/dev/null
2356 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2357 ac_ls_di=`ls -di .` &&
2358 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2359 as_fn_error $? "working directory cannot be determined"
2360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2361 as_fn_error $? "pwd does not report name of working directory"
2364 # Find the source files, if location was not specified.
2365 if test -z "$srcdir"; then
2366 ac_srcdir_defaulted=yes
2367 # Try the directory containing this script, then the parent directory.
2368 ac_confdir=`$as_dirname -- "$as_myself" ||
2369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2370 X"$as_myself" : 'X\(//\)[^/]' \| \
2371 X"$as_myself" : 'X\(//\)$' \| \
2372 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2373 $as_echo X"$as_myself" |
2374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2375 s//\1/
2378 /^X\(\/\/\)[^/].*/{
2379 s//\1/
2382 /^X\(\/\/\)$/{
2383 s//\1/
2386 /^X\(\/\).*/{
2387 s//\1/
2390 s/.*/./; q'`
2391 srcdir=$ac_confdir
2392 if test ! -r "$srcdir/$ac_unique_file"; then
2393 srcdir=..
2395 else
2396 ac_srcdir_defaulted=no
2398 if test ! -r "$srcdir/$ac_unique_file"; then
2399 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2400 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2402 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2403 ac_abs_confdir=`(
2404 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2405 pwd)`
2406 # When building in place, set srcdir=.
2407 if test "$ac_abs_confdir" = "$ac_pwd"; then
2408 srcdir=.
2410 # Remove unnecessary trailing slashes from srcdir.
2411 # Double slashes in file names in object file debugging info
2412 # mess up M-x gdb in Emacs.
2413 case $srcdir in
2414 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2415 esac
2416 for ac_var in $ac_precious_vars; do
2417 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2418 eval ac_env_${ac_var}_value=\$${ac_var}
2419 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2420 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2421 done
2424 # Report the --help message.
2426 if test "$ac_init_help" = "long"; then
2427 # Omit some internal or obsolete options to make the list less imposing.
2428 # This message is too long to be a string in the A/UX 3.1 sh.
2429 cat <<_ACEOF
2430 \`configure' configures Wine 4.13 to adapt to many kinds of systems.
2432 Usage: $0 [OPTION]... [VAR=VALUE]...
2434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2435 VAR=VALUE. See below for descriptions of some of the useful variables.
2437 Defaults for the options are specified in brackets.
2439 Configuration:
2440 -h, --help display this help and exit
2441 --help=short display options specific to this package
2442 --help=recursive display the short help of all the included packages
2443 -V, --version display version information and exit
2444 -q, --quiet, --silent do not print \`checking ...' messages
2445 --cache-file=FILE cache test results in FILE [disabled]
2446 -C, --config-cache alias for \`--cache-file=config.cache'
2447 -n, --no-create do not create output files
2448 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2450 Installation directories:
2451 --prefix=PREFIX install architecture-independent files in PREFIX
2452 [$ac_default_prefix]
2453 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2454 [PREFIX]
2456 By default, \`make install' will install all the files in
2457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2459 for instance \`--prefix=\$HOME'.
2461 For better control, use the options below.
2463 Fine tuning of the installation directories:
2464 --bindir=DIR user executables [EPREFIX/bin]
2465 --sbindir=DIR system admin executables [EPREFIX/sbin]
2466 --libexecdir=DIR program executables [EPREFIX/libexec]
2467 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2468 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2469 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2470 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2471 --libdir=DIR object code libraries [EPREFIX/lib]
2472 --includedir=DIR C header files [PREFIX/include]
2473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2476 --infodir=DIR info documentation [DATAROOTDIR/info]
2477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2478 --mandir=DIR man documentation [DATAROOTDIR/man]
2479 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2480 --htmldir=DIR html documentation [DOCDIR]
2481 --dvidir=DIR dvi documentation [DOCDIR]
2482 --pdfdir=DIR pdf documentation [DOCDIR]
2483 --psdir=DIR ps documentation [DOCDIR]
2484 _ACEOF
2486 cat <<\_ACEOF
2488 X features:
2489 --x-includes=DIR X include files are in DIR
2490 --x-libraries=DIR X library files are in DIR
2492 System types:
2493 --build=BUILD configure for building on BUILD [guessed]
2494 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2495 _ACEOF
2498 if test -n "$ac_init_help"; then
2499 case $ac_init_help in
2500 short | recursive ) echo "Configuration of Wine 4.13:";;
2501 esac
2502 cat <<\_ACEOF
2504 Optional Features:
2505 --disable-option-checking ignore unrecognized --enable/--with options
2506 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2507 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2508 --disable-win16 do not include Win16 support
2509 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2510 binaries)
2511 --disable-tests do not build the regression tests
2512 --enable-maintainer-mode
2513 enable maintainer-specific build rules
2514 --disable-largefile omit support for large files
2516 Optional Packages:
2517 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2518 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2519 --without-alsa do not use the Alsa sound support
2520 --without-capi do not use CAPI (ISDN support)
2521 --without-cms do not use CMS (color management support)
2522 --without-coreaudio do not use the CoreAudio sound support
2523 --without-cups do not use CUPS
2524 --without-curses do not use (n)curses
2525 --without-dbus do not use DBus (dynamic device support)
2526 --without-faudio do not use FAudio (XAudio2 support)
2527 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2528 --without-fontconfig do not use fontconfig
2529 --without-freetype do not use the FreeType library
2530 --without-gettext do not use gettext
2531 --with-gettextpo use the GetTextPO library to rebuild po files
2532 --without-gphoto do not use gphoto (Digital Camera support)
2533 --without-glu do not use the GLU library
2534 --without-gnutls do not use GnuTLS (schannel support)
2535 --without-gsm do not use libgsm (GSM 06.10 codec support)
2536 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2537 --without-gstreamer do not use GStreamer (codecs support)
2538 --without-hal do not use HAL (dynamic device support)
2539 --without-inotify do not use inotify (filesystem change notifications)
2540 --without-jpeg do not use JPEG
2541 --without-krb5 do not use krb5 (Kerberos)
2542 --without-ldap do not use LDAP
2543 --without-mingw do not use the MinGW cross-compiler
2544 --without-mpg123 do not use the mpg123 library
2545 --without-netapi do not use the Samba NetAPI library
2546 --without-openal do not use OpenAL
2547 --without-opencl do not use OpenCL
2548 --without-opengl do not use OpenGL
2549 --without-osmesa do not use the OSMesa library
2550 --without-oss do not use the OSS sound support
2551 --without-pcap do not use the Packet Capture library
2552 --without-png do not use PNG
2553 --without-pthread do not use the pthread library
2554 --without-pulse do not use PulseAudio sound support
2555 --without-sane do not use SANE (scanner support)
2556 --without-sdl do not use SDL
2557 --without-tiff do not use TIFF
2558 --without-udev do not use udev (plug and play support)
2559 --without-v4l2 do not use v4l2 (video capture)
2560 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2561 --without-vulkan do not use Vulkan
2562 --without-xcomposite do not use the Xcomposite extension
2563 --without-xcursor do not use the Xcursor extension
2564 --without-xfixes do not use Xfixes for clipboard change notifications
2565 --without-xinerama do not use Xinerama (multi-monitor support)
2566 --without-xinput do not use the Xinput extension
2567 --without-xinput2 do not use the Xinput 2 extension
2568 --without-xml do not use XML
2569 --without-xrandr do not use Xrandr (resolution changes)
2570 --without-xrender do not use the Xrender extension
2571 --without-xshape do not use the Xshape extension
2572 --without-xshm do not use XShm (shared memory extension)
2573 --without-xslt do not use XSLT
2574 --without-xxf86vm do not use XFree video mode extension
2575 --without-zlib do not use Zlib (data compression)
2576 --with-wine-tools=DIR use Wine tools from directory DIR
2577 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2578 --with-x use the X Window System
2580 Some influential environment variables:
2581 CC C compiler command
2582 CFLAGS C compiler flags
2583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2584 nonstandard directory <lib dir>
2585 LIBS libraries to pass to the linker, e.g. -l<library>
2586 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2587 you have headers in a nonstandard directory <include dir>
2588 CXX C++ compiler command
2589 CXXFLAGS C++ compiler flags
2590 CPP C preprocessor
2591 OBJC Objective C compiler command
2592 OBJCFLAGS Objective C compiler flags
2593 OBJCPP Objective C preprocessor
2594 XMKMF Path to xmkmf, Makefile generator for X Window System
2595 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2596 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2597 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2598 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2599 INOTIFY_CFLAGS
2600 C compiler flags for libinotify, overriding pkg-config
2601 INOTIFY_LIBS
2602 Linker flags for libinotify, overriding pkg-config
2603 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2604 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2605 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2606 HAL_LIBS Linker flags for hal, overriding pkg-config
2607 GNUTLS_CFLAGS
2608 C compiler flags for gnutls, overriding pkg-config
2609 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2610 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2611 SANE_LIBS Linker flags for libsane, overriding pkg-config
2612 GPHOTO2_CFLAGS
2613 C compiler flags for libgphoto2, overriding pkg-config
2614 GPHOTO2_LIBS
2615 Linker flags for libgphoto2, overriding pkg-config
2616 GPHOTO2_PORT_CFLAGS
2617 C compiler flags for libgphoto2_port, overriding pkg-config
2618 GPHOTO2_PORT_LIBS
2619 Linker flags for libgphoto2_port, overriding pkg-config
2620 LCMS2_CFLAGS
2621 C compiler flags for lcms2, overriding pkg-config
2622 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2623 FREETYPE_CFLAGS
2624 C compiler flags for freetype2, overriding pkg-config
2625 FREETYPE_LIBS
2626 Linker flags for freetype2, overriding pkg-config
2627 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2628 Z_LIBS Linker flags for libz, overriding pkg-config
2629 PULSE_CFLAGS
2630 C compiler flags for libpulse, overriding pkg-config
2631 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2632 GSTREAMER_CFLAGS
2633 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2634 gstreamer-audio-1.0, overriding pkg-config
2635 GSTREAMER_LIBS
2636 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2637 gstreamer-audio-1.0, overriding pkg-config
2638 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2639 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2640 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2641 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2642 FAUDIO_CFLAGS
2643 C compiler flags for faudio, overriding pkg-config
2644 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2645 CAPI20_CFLAGS
2646 C compiler flags for capi20, overriding pkg-config
2647 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2648 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2649 CUPS_LIBS Linker flags for cups, overriding pkg-config
2650 FONTCONFIG_CFLAGS
2651 C compiler flags for fontconfig, overriding pkg-config
2652 FONTCONFIG_LIBS
2653 Linker flags for fontconfig, overriding pkg-config
2654 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2655 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2656 GSSAPI_CFLAGS
2657 C compiler flags for krb5-gssapi, overriding pkg-config
2658 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2659 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2660 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2661 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2662 PNG_LIBS Linker flags for libpng, overriding pkg-config
2663 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2664 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2665 MPG123_CFLAGS
2666 C compiler flags for libmpg123, overriding pkg-config
2667 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2668 NETAPI_CFLAGS
2669 C compiler flags for netapi, overriding pkg-config
2670 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2671 VKD3D_CFLAGS
2672 C compiler flags for libvkd3d, overriding pkg-config
2673 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2674 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2675 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2677 Use these variables to override the choices made by `configure' or to help
2678 it to find libraries and programs with nonstandard names/locations.
2680 Report bugs to <wine-devel@winehq.org>.
2681 Wine home page: <https://www.winehq.org>.
2682 _ACEOF
2683 ac_status=$?
2686 if test "$ac_init_help" = "recursive"; then
2687 # If there are subdirs, report their specific --help.
2688 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2689 test -d "$ac_dir" ||
2690 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2691 continue
2692 ac_builddir=.
2694 case "$ac_dir" in
2695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2697 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2698 # A ".." for each directory in $ac_dir_suffix.
2699 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2700 case $ac_top_builddir_sub in
2701 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2702 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2703 esac ;;
2704 esac
2705 ac_abs_top_builddir=$ac_pwd
2706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2707 # for backward compatibility:
2708 ac_top_builddir=$ac_top_build_prefix
2710 case $srcdir in
2711 .) # We are building in place.
2712 ac_srcdir=.
2713 ac_top_srcdir=$ac_top_builddir_sub
2714 ac_abs_top_srcdir=$ac_pwd ;;
2715 [\\/]* | ?:[\\/]* ) # Absolute name.
2716 ac_srcdir=$srcdir$ac_dir_suffix;
2717 ac_top_srcdir=$srcdir
2718 ac_abs_top_srcdir=$srcdir ;;
2719 *) # Relative name.
2720 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2721 ac_top_srcdir=$ac_top_build_prefix$srcdir
2722 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2723 esac
2724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2726 cd "$ac_dir" || { ac_status=$?; continue; }
2727 # Check for guested configure.
2728 if test -f "$ac_srcdir/configure.gnu"; then
2729 echo &&
2730 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2731 elif test -f "$ac_srcdir/configure"; then
2732 echo &&
2733 $SHELL "$ac_srcdir/configure" --help=recursive
2734 else
2735 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2736 fi || ac_status=$?
2737 cd "$ac_pwd" || { ac_status=$?; break; }
2738 done
2741 test -n "$ac_init_help" && exit $ac_status
2742 if $ac_init_version; then
2743 cat <<\_ACEOF
2744 Wine configure 4.13
2745 generated by GNU Autoconf 2.69
2747 Copyright (C) 2012 Free Software Foundation, Inc.
2748 This configure script is free software; the Free Software Foundation
2749 gives unlimited permission to copy, distribute and modify it.
2750 _ACEOF
2751 exit
2754 ## ------------------------ ##
2755 ## Autoconf initialization. ##
2756 ## ------------------------ ##
2758 # ac_fn_c_try_compile LINENO
2759 # --------------------------
2760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2761 ac_fn_c_try_compile ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 rm -f conftest.$ac_objext
2765 if { { ac_try="$ac_compile"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 $as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_compile") 2>conftest.err
2773 ac_status=$?
2774 if test -s conftest.err; then
2775 grep -v '^ *+' conftest.err >conftest.er1
2776 cat conftest.er1 >&5
2777 mv -f conftest.er1 conftest.err
2779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then :
2784 ac_retval=0
2785 else
2786 $as_echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status $ac_retval
2794 } # ac_fn_c_try_compile
2796 # ac_fn_cxx_try_compile LINENO
2797 # ----------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_cxx_try_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_cxx_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then :
2822 ac_retval=0
2823 else
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_cxx_try_compile
2834 # ac_fn_c_try_link LINENO
2835 # -----------------------
2836 # Try to link conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_c_try_link ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest$ac_exeext
2841 if { { ac_try="$ac_link"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_link") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_c_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest$ac_exeext && {
2860 test "$cross_compiling" = yes ||
2861 test -x conftest$ac_exeext
2862 }; then :
2863 ac_retval=0
2864 else
2865 $as_echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2868 ac_retval=1
2870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2872 # interfere with the next link command; also delete a directory that is
2873 # left behind by Apple's compiler. We do this before executing the actions.
2874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval
2878 } # ac_fn_c_try_link
2880 # ac_fn_c_try_cpp LINENO
2881 # ----------------------
2882 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_c_try_cpp ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 if { { ac_try="$ac_cpp conftest.$ac_ext"
2887 case "(($ac_try" in
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2890 esac
2891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892 $as_echo "$ac_try_echo"; } >&5
2893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2894 ac_status=$?
2895 if test -s conftest.err; then
2896 grep -v '^ *+' conftest.err >conftest.er1
2897 cat conftest.er1 >&5
2898 mv -f conftest.er1 conftest.err
2900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2901 test $ac_status = 0; } > conftest.i && {
2902 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2903 test ! -s conftest.err
2904 }; then :
2905 ac_retval=0
2906 else
2907 $as_echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2910 ac_retval=1
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status $ac_retval
2915 } # ac_fn_c_try_cpp
2917 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2918 # -------------------------------------------------------
2919 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2920 # the include files in INCLUDES and setting the cache variable VAR
2921 # accordingly.
2922 ac_fn_c_check_header_mongrel ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 if eval \${$3+:} false; then :
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2927 $as_echo_n "checking for $2... " >&6; }
2928 if eval \${$3+:} false; then :
2929 $as_echo_n "(cached) " >&6
2931 eval ac_res=\$$3
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2933 $as_echo "$ac_res" >&6; }
2934 else
2935 # Is the header compilable?
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2937 $as_echo_n "checking $2 usability... " >&6; }
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2941 #include <$2>
2942 _ACEOF
2943 if ac_fn_c_try_compile "$LINENO"; then :
2944 ac_header_compiler=yes
2945 else
2946 ac_header_compiler=no
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2950 $as_echo "$ac_header_compiler" >&6; }
2952 # Is the header present?
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2954 $as_echo_n "checking $2 presence... " >&6; }
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2957 #include <$2>
2958 _ACEOF
2959 if ac_fn_c_try_cpp "$LINENO"; then :
2960 ac_header_preproc=yes
2961 else
2962 ac_header_preproc=no
2964 rm -f conftest.err conftest.i conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2966 $as_echo "$ac_header_preproc" >&6; }
2968 # So? What about this header?
2969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2970 yes:no: )
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2972 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2974 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2976 no:yes:* )
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2978 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2980 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2982 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2984 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2986 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2987 ( $as_echo "## ------------------------------------ ##
2988 ## Report this to wine-devel@winehq.org ##
2989 ## ------------------------------------ ##"
2990 ) | sed "s/^/$as_me: WARNING: /" >&2
2992 esac
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2994 $as_echo_n "checking for $2... " >&6; }
2995 if eval \${$3+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 eval "$3=\$ac_header_compiler"
3000 eval ac_res=\$$3
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002 $as_echo "$ac_res" >&6; }
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 } # ac_fn_c_check_header_mongrel
3008 # ac_fn_c_try_run LINENO
3009 # ----------------------
3010 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3011 # that executables *can* be run.
3012 ac_fn_c_try_run ()
3014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3015 if { { ac_try="$ac_link"
3016 case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_link") 2>&5
3023 ac_status=$?
3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3026 { { case "(($ac_try" in
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3029 esac
3030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_try") 2>&5
3033 ac_status=$?
3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; }; }; then :
3036 ac_retval=0
3037 else
3038 $as_echo "$as_me: program exited with status $ac_status" >&5
3039 $as_echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3042 ac_retval=$ac_status
3044 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3046 as_fn_set_status $ac_retval
3048 } # ac_fn_c_try_run
3050 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3051 # -------------------------------------------------------
3052 # Tests whether HEADER exists and can be compiled using the include files in
3053 # INCLUDES, setting the cache variable VAR accordingly.
3054 ac_fn_c_check_header_compile ()
3056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3058 $as_echo_n "checking for $2... " >&6; }
3059 if eval \${$3+:} false; then :
3060 $as_echo_n "(cached) " >&6
3061 else
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3065 #include <$2>
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"; then :
3068 eval "$3=yes"
3069 else
3070 eval "$3=no"
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 eval ac_res=\$$3
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3076 $as_echo "$ac_res" >&6; }
3077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3079 } # ac_fn_c_check_header_compile
3081 # ac_fn_objc_try_compile LINENO
3082 # -----------------------------
3083 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3084 ac_fn_objc_try_compile ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 rm -f conftest.$ac_objext
3088 if { { ac_try="$ac_compile"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_compile") 2>conftest.err
3096 ac_status=$?
3097 if test -s conftest.err; then
3098 grep -v '^ *+' conftest.err >conftest.er1
3099 cat conftest.er1 >&5
3100 mv -f conftest.er1 conftest.err
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; } && {
3104 test -z "$ac_objc_werror_flag" ||
3105 test ! -s conftest.err
3106 } && test -s conftest.$ac_objext; then :
3107 ac_retval=0
3108 else
3109 $as_echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3112 ac_retval=1
3114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3115 as_fn_set_status $ac_retval
3117 } # ac_fn_objc_try_compile
3119 # ac_fn_objc_try_cpp LINENO
3120 # -------------------------
3121 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3122 ac_fn_objc_try_cpp ()
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 if { { ac_try="$ac_cpp conftest.$ac_ext"
3126 case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3133 ac_status=$?
3134 if test -s conftest.err; then
3135 grep -v '^ *+' conftest.err >conftest.er1
3136 cat conftest.er1 >&5
3137 mv -f conftest.er1 conftest.err
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140 test $ac_status = 0; } > conftest.i && {
3141 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3142 test ! -s conftest.err
3143 }; then :
3144 ac_retval=0
3145 else
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 ac_retval=1
3151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3152 as_fn_set_status $ac_retval
3154 } # ac_fn_objc_try_cpp
3156 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3157 # ----------------------------------------------------------
3158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3159 # the include files in INCLUDES and setting the cache variable VAR
3160 # accordingly.
3161 ac_fn_objc_check_header_mongrel ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 if eval \${$3+:} false; then :
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3166 $as_echo_n "checking for $2... " >&6; }
3167 if eval \${$3+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 eval ac_res=\$$3
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3172 $as_echo "$ac_res" >&6; }
3173 else
3174 # Is the header compilable?
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3176 $as_echo_n "checking $2 usability... " >&6; }
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3180 #include <$2>
3181 _ACEOF
3182 if ac_fn_objc_try_compile "$LINENO"; then :
3183 ac_header_compiler=yes
3184 else
3185 ac_header_compiler=no
3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3189 $as_echo "$ac_header_compiler" >&6; }
3191 # Is the header present?
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3193 $as_echo_n "checking $2 presence... " >&6; }
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3196 #include <$2>
3197 _ACEOF
3198 if ac_fn_objc_try_cpp "$LINENO"; then :
3199 ac_header_preproc=yes
3200 else
3201 ac_header_preproc=no
3203 rm -f conftest.err conftest.i conftest.$ac_ext
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3205 $as_echo "$ac_header_preproc" >&6; }
3207 # So? What about this header?
3208 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3209 yes:no: )
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3215 no:yes:* )
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3219 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3223 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3226 ( $as_echo "## ------------------------------------ ##
3227 ## Report this to wine-devel@winehq.org ##
3228 ## ------------------------------------ ##"
3229 ) | sed "s/^/$as_me: WARNING: /" >&2
3231 esac
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3233 $as_echo_n "checking for $2... " >&6; }
3234 if eval \${$3+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 eval "$3=\$ac_header_compiler"
3239 eval ac_res=\$$3
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3241 $as_echo "$ac_res" >&6; }
3243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3245 } # ac_fn_objc_check_header_mongrel
3247 # ac_fn_c_check_func LINENO FUNC VAR
3248 # ----------------------------------
3249 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3250 ac_fn_c_check_func ()
3252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3254 $as_echo_n "checking for $2... " >&6; }
3255 if eval \${$3+:} false; then :
3256 $as_echo_n "(cached) " >&6
3257 else
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3260 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3262 #define $2 innocuous_$2
3264 /* System header to define __stub macros and hopefully few prototypes,
3265 which can conflict with char $2 (); below.
3266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3267 <limits.h> exists even on freestanding compilers. */
3269 #ifdef __STDC__
3270 # include <limits.h>
3271 #else
3272 # include <assert.h>
3273 #endif
3275 #undef $2
3277 /* Override any GCC internal prototype to avoid an error.
3278 Use char because int might match the return type of a GCC
3279 builtin and then its argument prototype would still apply. */
3280 #ifdef __cplusplus
3281 extern "C"
3282 #endif
3283 char $2 ();
3284 /* The GNU C library defines this for functions which it implements
3285 to always fail with ENOSYS. Some functions are actually named
3286 something starting with __ and the normal name is an alias. */
3287 #if defined __stub_$2 || defined __stub___$2
3288 choke me
3289 #endif
3292 main ()
3294 return $2 ();
3296 return 0;
3298 _ACEOF
3299 if ac_fn_c_try_link "$LINENO"; then :
3300 eval "$3=yes"
3301 else
3302 eval "$3=no"
3304 rm -f core conftest.err conftest.$ac_objext \
3305 conftest$ac_exeext conftest.$ac_ext
3307 eval ac_res=\$$3
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3309 $as_echo "$ac_res" >&6; }
3310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3312 } # ac_fn_c_check_func
3314 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3315 # ----------------------------------------------------
3316 # Tries to find if the field MEMBER exists in type AGGR, after including
3317 # INCLUDES, setting cache variable VAR accordingly.
3318 ac_fn_c_check_member ()
3320 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3322 $as_echo_n "checking for $2.$3... " >&6; }
3323 if eval \${$4+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3330 main ()
3332 static $2 ac_aggr;
3333 if (ac_aggr.$3)
3334 return 0;
3336 return 0;
3338 _ACEOF
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 eval "$4=yes"
3341 else
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3348 static $2 ac_aggr;
3349 if (sizeof ac_aggr.$3)
3350 return 0;
3352 return 0;
3354 _ACEOF
3355 if ac_fn_c_try_compile "$LINENO"; then :
3356 eval "$4=yes"
3357 else
3358 eval "$4=no"
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 eval ac_res=\$$4
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3366 $as_echo "$ac_res" >&6; }
3367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3369 } # ac_fn_c_check_member
3371 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3372 # -------------------------------------------
3373 # Tests whether TYPE exists after having included INCLUDES, setting cache
3374 # variable VAR accordingly.
3375 ac_fn_c_check_type ()
3377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3379 $as_echo_n "checking for $2... " >&6; }
3380 if eval \${$3+:} false; then :
3381 $as_echo_n "(cached) " >&6
3382 else
3383 eval "$3=no"
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h. */
3388 main ()
3390 if (sizeof ($2))
3391 return 0;
3393 return 0;
3395 _ACEOF
3396 if ac_fn_c_try_compile "$LINENO"; then :
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3401 main ()
3403 if (sizeof (($2)))
3404 return 0;
3406 return 0;
3408 _ACEOF
3409 if ac_fn_c_try_compile "$LINENO"; then :
3411 else
3412 eval "$3=yes"
3414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 eval ac_res=\$$3
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3420 $as_echo "$ac_res" >&6; }
3421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3423 } # ac_fn_c_check_type
3424 cat >config.log <<_ACEOF
3425 This file contains any messages produced by compilers while
3426 running configure, to aid debugging if configure makes a mistake.
3428 It was created by Wine $as_me 4.13, which was
3429 generated by GNU Autoconf 2.69. Invocation command line was
3431 $ $0 $@
3433 _ACEOF
3434 exec 5>>config.log
3436 cat <<_ASUNAME
3437 ## --------- ##
3438 ## Platform. ##
3439 ## --------- ##
3441 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3442 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3443 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3444 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3445 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3447 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3448 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3450 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3451 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3452 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3453 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3454 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3455 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3456 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3458 _ASUNAME
3460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461 for as_dir in $PATH
3463 IFS=$as_save_IFS
3464 test -z "$as_dir" && as_dir=.
3465 $as_echo "PATH: $as_dir"
3466 done
3467 IFS=$as_save_IFS
3469 } >&5
3471 cat >&5 <<_ACEOF
3474 ## ----------- ##
3475 ## Core tests. ##
3476 ## ----------- ##
3478 _ACEOF
3481 # Keep a trace of the command line.
3482 # Strip out --no-create and --no-recursion so they do not pile up.
3483 # Strip out --silent because we don't want to record it for future runs.
3484 # Also quote any args containing shell meta-characters.
3485 # Make two passes to allow for proper duplicate-argument suppression.
3486 ac_configure_args=
3487 ac_configure_args0=
3488 ac_configure_args1=
3489 ac_must_keep_next=false
3490 for ac_pass in 1 2
3492 for ac_arg
3494 case $ac_arg in
3495 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3496 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3497 | -silent | --silent | --silen | --sile | --sil)
3498 continue ;;
3499 *\'*)
3500 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3501 esac
3502 case $ac_pass in
3503 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3505 as_fn_append ac_configure_args1 " '$ac_arg'"
3506 if test $ac_must_keep_next = true; then
3507 ac_must_keep_next=false # Got value, back to normal.
3508 else
3509 case $ac_arg in
3510 *=* | --config-cache | -C | -disable-* | --disable-* \
3511 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3512 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3513 | -with-* | --with-* | -without-* | --without-* | --x)
3514 case "$ac_configure_args0 " in
3515 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3516 esac
3518 -* ) ac_must_keep_next=true ;;
3519 esac
3521 as_fn_append ac_configure_args " '$ac_arg'"
3523 esac
3524 done
3525 done
3526 { ac_configure_args0=; unset ac_configure_args0;}
3527 { ac_configure_args1=; unset ac_configure_args1;}
3529 # When interrupted or exit'd, cleanup temporary files, and complete
3530 # config.log. We remove comments because anyway the quotes in there
3531 # would cause problems or look ugly.
3532 # WARNING: Use '\'' to represent an apostrophe within the trap.
3533 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3534 trap 'exit_status=$?
3535 # Save into config.log some information that might help in debugging.
3537 echo
3539 $as_echo "## ---------------- ##
3540 ## Cache variables. ##
3541 ## ---------------- ##"
3542 echo
3543 # The following way of writing the cache mishandles newlines in values,
3545 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3546 eval ac_val=\$$ac_var
3547 case $ac_val in #(
3548 *${as_nl}*)
3549 case $ac_var in #(
3550 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3551 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3552 esac
3553 case $ac_var in #(
3554 _ | IFS | as_nl) ;; #(
3555 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3556 *) { eval $ac_var=; unset $ac_var;} ;;
3557 esac ;;
3558 esac
3559 done
3560 (set) 2>&1 |
3561 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3562 *${as_nl}ac_space=\ *)
3563 sed -n \
3564 "s/'\''/'\''\\\\'\'''\''/g;
3565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3566 ;; #(
3568 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3570 esac |
3571 sort
3573 echo
3575 $as_echo "## ----------------- ##
3576 ## Output variables. ##
3577 ## ----------------- ##"
3578 echo
3579 for ac_var in $ac_subst_vars
3581 eval ac_val=\$$ac_var
3582 case $ac_val in
3583 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3584 esac
3585 $as_echo "$ac_var='\''$ac_val'\''"
3586 done | sort
3587 echo
3589 if test -n "$ac_subst_files"; then
3590 $as_echo "## ------------------- ##
3591 ## File substitutions. ##
3592 ## ------------------- ##"
3593 echo
3594 for ac_var in $ac_subst_files
3596 eval ac_val=\$$ac_var
3597 case $ac_val in
3598 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3599 esac
3600 $as_echo "$ac_var='\''$ac_val'\''"
3601 done | sort
3602 echo
3605 if test -s confdefs.h; then
3606 $as_echo "## ----------- ##
3607 ## confdefs.h. ##
3608 ## ----------- ##"
3609 echo
3610 cat confdefs.h
3611 echo
3613 test "$ac_signal" != 0 &&
3614 $as_echo "$as_me: caught signal $ac_signal"
3615 $as_echo "$as_me: exit $exit_status"
3616 } >&5
3617 rm -f core *.core core.conftest.* &&
3618 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3619 exit $exit_status
3621 for ac_signal in 1 2 13 15; do
3622 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3623 done
3624 ac_signal=0
3626 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3627 rm -f -r conftest* confdefs.h
3629 $as_echo "/* confdefs.h */" > confdefs.h
3631 # Predefined preprocessor variables.
3633 cat >>confdefs.h <<_ACEOF
3634 #define PACKAGE_NAME "$PACKAGE_NAME"
3635 _ACEOF
3637 cat >>confdefs.h <<_ACEOF
3638 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3639 _ACEOF
3641 cat >>confdefs.h <<_ACEOF
3642 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3643 _ACEOF
3645 cat >>confdefs.h <<_ACEOF
3646 #define PACKAGE_STRING "$PACKAGE_STRING"
3647 _ACEOF
3649 cat >>confdefs.h <<_ACEOF
3650 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3651 _ACEOF
3653 cat >>confdefs.h <<_ACEOF
3654 #define PACKAGE_URL "$PACKAGE_URL"
3655 _ACEOF
3658 # Let the site file select an alternate cache file if it wants to.
3659 # Prefer an explicitly selected file to automatically selected ones.
3660 ac_site_file1=NONE
3661 ac_site_file2=NONE
3662 if test -n "$CONFIG_SITE"; then
3663 # We do not want a PATH search for config.site.
3664 case $CONFIG_SITE in #((
3665 -*) ac_site_file1=./$CONFIG_SITE;;
3666 */*) ac_site_file1=$CONFIG_SITE;;
3667 *) ac_site_file1=./$CONFIG_SITE;;
3668 esac
3669 elif test "x$prefix" != xNONE; then
3670 ac_site_file1=$prefix/share/config.site
3671 ac_site_file2=$prefix/etc/config.site
3672 else
3673 ac_site_file1=$ac_default_prefix/share/config.site
3674 ac_site_file2=$ac_default_prefix/etc/config.site
3676 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3678 test "x$ac_site_file" = xNONE && continue
3679 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3681 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3682 sed 's/^/| /' "$ac_site_file" >&5
3683 . "$ac_site_file" \
3684 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3686 as_fn_error $? "failed to load site script $ac_site_file
3687 See \`config.log' for more details" "$LINENO" 5; }
3689 done
3691 if test -r "$cache_file"; then
3692 # Some versions of bash will fail to source /dev/null (special files
3693 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3694 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3696 $as_echo "$as_me: loading cache $cache_file" >&6;}
3697 case $cache_file in
3698 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3699 *) . "./$cache_file";;
3700 esac
3702 else
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3704 $as_echo "$as_me: creating cache $cache_file" >&6;}
3705 >$cache_file
3708 # Check that the precious variables saved in the cache have kept the same
3709 # value.
3710 ac_cache_corrupted=false
3711 for ac_var in $ac_precious_vars; do
3712 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3713 eval ac_new_set=\$ac_env_${ac_var}_set
3714 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3715 eval ac_new_val=\$ac_env_${ac_var}_value
3716 case $ac_old_set,$ac_new_set in
3717 set,)
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3719 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3720 ac_cache_corrupted=: ;;
3721 ,set)
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3723 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3724 ac_cache_corrupted=: ;;
3725 ,);;
3727 if test "x$ac_old_val" != "x$ac_new_val"; then
3728 # differences in whitespace do not lead to failure.
3729 ac_old_val_w=`echo x $ac_old_val`
3730 ac_new_val_w=`echo x $ac_new_val`
3731 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3733 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3734 ac_cache_corrupted=:
3735 else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3737 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3738 eval $ac_var=\$ac_old_val
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3741 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3743 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3744 fi;;
3745 esac
3746 # Pass precious variables to config.status.
3747 if test "$ac_new_set" = set; then
3748 case $ac_new_val in
3749 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3750 *) ac_arg=$ac_var=$ac_new_val ;;
3751 esac
3752 case " $ac_configure_args " in
3753 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3754 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3755 esac
3757 done
3758 if $ac_cache_corrupted; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3762 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3763 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3765 ## -------------------- ##
3766 ## Main body of script. ##
3767 ## -------------------- ##
3769 ac_ext=c
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 ac_config_headers="$ac_config_headers include/config.h"
3779 ac_aux_dir=
3780 for ac_dir in tools "$srcdir"/tools; do
3781 if test -f "$ac_dir/install-sh"; then
3782 ac_aux_dir=$ac_dir
3783 ac_install_sh="$ac_aux_dir/install-sh -c"
3784 break
3785 elif test -f "$ac_dir/install.sh"; then
3786 ac_aux_dir=$ac_dir
3787 ac_install_sh="$ac_aux_dir/install.sh -c"
3788 break
3789 elif test -f "$ac_dir/shtool"; then
3790 ac_aux_dir=$ac_dir
3791 ac_install_sh="$ac_aux_dir/shtool install -c"
3792 break
3794 done
3795 if test -z "$ac_aux_dir"; then
3796 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3799 # These three variables are undocumented and unsupported,
3800 # and are intended to be withdrawn in a future Autoconf release.
3801 # They can cause serious problems if a builder's source tree is in a directory
3802 # whose full name contains unusual characters.
3803 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3804 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3805 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3809 libwine_version="1.0"
3813 # Check whether --enable-win16 was given.
3814 if test "${enable_win16+set}" = set; then :
3815 enableval=$enable_win16;
3818 # Check whether --enable-win64 was given.
3819 if test "${enable_win64+set}" = set; then :
3820 enableval=$enable_win64;
3823 # Check whether --enable-tests was given.
3824 if test "${enable_tests+set}" = set; then :
3825 enableval=$enable_tests;
3828 # Check whether --enable-maintainer-mode was given.
3829 if test "${enable_maintainer_mode+set}" = set; then :
3830 enableval=$enable_maintainer_mode;
3835 # Check whether --with-alsa was given.
3836 if test "${with_alsa+set}" = set; then :
3837 withval=$with_alsa;
3841 # Check whether --with-capi was given.
3842 if test "${with_capi+set}" = set; then :
3843 withval=$with_capi;
3847 # Check whether --with-cms was given.
3848 if test "${with_cms+set}" = set; then :
3849 withval=$with_cms;
3853 # Check whether --with-coreaudio was given.
3854 if test "${with_coreaudio+set}" = set; then :
3855 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3859 # Check whether --with-cups was given.
3860 if test "${with_cups+set}" = set; then :
3861 withval=$with_cups;
3865 # Check whether --with-curses was given.
3866 if test "${with_curses+set}" = set; then :
3867 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3871 # Check whether --with-dbus was given.
3872 if test "${with_dbus+set}" = set; then :
3873 withval=$with_dbus;
3877 # Check whether --with-faudio was given.
3878 if test "${with_faudio+set}" = set; then :
3879 withval=$with_faudio;
3883 # Check whether --with-float-abi was given.
3884 if test "${with_float_abi+set}" = set; then :
3885 withval=$with_float_abi;
3889 # Check whether --with-fontconfig was given.
3890 if test "${with_fontconfig+set}" = set; then :
3891 withval=$with_fontconfig;
3895 # Check whether --with-freetype was given.
3896 if test "${with_freetype+set}" = set; then :
3897 withval=$with_freetype;
3901 # Check whether --with-gettext was given.
3902 if test "${with_gettext+set}" = set; then :
3903 withval=$with_gettext;
3907 # Check whether --with-gettextpo was given.
3908 if test "${with_gettextpo+set}" = set; then :
3909 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3913 # Check whether --with-gphoto was given.
3914 if test "${with_gphoto+set}" = set; then :
3915 withval=$with_gphoto;
3919 # Check whether --with-glu was given.
3920 if test "${with_glu+set}" = set; then :
3921 withval=$with_glu;
3925 # Check whether --with-gnutls was given.
3926 if test "${with_gnutls+set}" = set; then :
3927 withval=$with_gnutls;
3931 # Check whether --with-gsm was given.
3932 if test "${with_gsm+set}" = set; then :
3933 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3937 # Check whether --with-gssapi was given.
3938 if test "${with_gssapi+set}" = set; then :
3939 withval=$with_gssapi;
3943 # Check whether --with-gstreamer was given.
3944 if test "${with_gstreamer+set}" = set; then :
3945 withval=$with_gstreamer;
3949 # Check whether --with-hal was given.
3950 if test "${with_hal+set}" = set; then :
3951 withval=$with_hal;
3955 # Check whether --with-inotify was given.
3956 if test "${with_inotify+set}" = set; then :
3957 withval=$with_inotify;
3961 # Check whether --with-jpeg was given.
3962 if test "${with_jpeg+set}" = set; then :
3963 withval=$with_jpeg;
3967 # Check whether --with-krb5 was given.
3968 if test "${with_krb5+set}" = set; then :
3969 withval=$with_krb5;
3973 # Check whether --with-ldap was given.
3974 if test "${with_ldap+set}" = set; then :
3975 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3979 # Check whether --with-mingw was given.
3980 if test "${with_mingw+set}" = set; then :
3981 withval=$with_mingw;
3985 # Check whether --with-mpg123 was given.
3986 if test "${with_mpg123+set}" = set; then :
3987 withval=$with_mpg123;
3991 # Check whether --with-netapi was given.
3992 if test "${with_netapi+set}" = set; then :
3993 withval=$with_netapi;
3997 # Check whether --with-openal was given.
3998 if test "${with_openal+set}" = set; then :
3999 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4003 # Check whether --with-opencl was given.
4004 if test "${with_opencl+set}" = set; then :
4005 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4009 # Check whether --with-opengl was given.
4010 if test "${with_opengl+set}" = set; then :
4011 withval=$with_opengl;
4015 # Check whether --with-osmesa was given.
4016 if test "${with_osmesa+set}" = set; then :
4017 withval=$with_osmesa;
4021 # Check whether --with-oss was given.
4022 if test "${with_oss+set}" = set; then :
4023 withval=$with_oss;
4027 # Check whether --with-pcap was given.
4028 if test "${with_pcap+set}" = set; then :
4029 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4033 # Check whether --with-png was given.
4034 if test "${with_png+set}" = set; then :
4035 withval=$with_png;
4039 # Check whether --with-pthread was given.
4040 if test "${with_pthread+set}" = set; then :
4041 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4045 # Check whether --with-pulse was given.
4046 if test "${with_pulse+set}" = set; then :
4047 withval=$with_pulse;
4051 # Check whether --with-sane was given.
4052 if test "${with_sane+set}" = set; then :
4053 withval=$with_sane;
4057 # Check whether --with-sdl was given.
4058 if test "${with_sdl+set}" = set; then :
4059 withval=$with_sdl;
4063 # Check whether --with-tiff was given.
4064 if test "${with_tiff+set}" = set; then :
4065 withval=$with_tiff;
4069 # Check whether --with-udev was given.
4070 if test "${with_udev+set}" = set; then :
4071 withval=$with_udev;
4075 # Check whether --with-v4l2 was given.
4076 if test "${with_v4l2+set}" = set; then :
4077 withval=$with_v4l2;
4081 # Check whether --with-vkd3d was given.
4082 if test "${with_vkd3d+set}" = set; then :
4083 withval=$with_vkd3d;
4087 # Check whether --with-vulkan was given.
4088 if test "${with_vulkan+set}" = set; then :
4089 withval=$with_vulkan;
4093 # Check whether --with-xcomposite was given.
4094 if test "${with_xcomposite+set}" = set; then :
4095 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4099 # Check whether --with-xcursor was given.
4100 if test "${with_xcursor+set}" = set; then :
4101 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4105 # Check whether --with-xfixes was given.
4106 if test "${with_xfixes+set}" = set; then :
4107 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4111 # Check whether --with-xinerama was given.
4112 if test "${with_xinerama+set}" = set; then :
4113 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4117 # Check whether --with-xinput was given.
4118 if test "${with_xinput+set}" = set; then :
4119 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4123 # Check whether --with-xinput2 was given.
4124 if test "${with_xinput2+set}" = set; then :
4125 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4129 # Check whether --with-xml was given.
4130 if test "${with_xml+set}" = set; then :
4131 withval=$with_xml;
4135 # Check whether --with-xrandr was given.
4136 if test "${with_xrandr+set}" = set; then :
4137 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4141 # Check whether --with-xrender was given.
4142 if test "${with_xrender+set}" = set; then :
4143 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4147 # Check whether --with-xshape was given.
4148 if test "${with_xshape+set}" = set; then :
4149 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4153 # Check whether --with-xshm was given.
4154 if test "${with_xshm+set}" = set; then :
4155 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4159 # Check whether --with-xslt was given.
4160 if test "${with_xslt+set}" = set; then :
4161 withval=$with_xslt;
4165 # Check whether --with-xxf86vm was given.
4166 if test "${with_xxf86vm+set}" = set; then :
4167 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
4171 # Check whether --with-zlib was given.
4172 if test "${with_zlib+set}" = set; then :
4173 withval=$with_zlib;
4178 # Check whether --with-wine-tools was given.
4179 if test "${with_wine_tools+set}" = set; then :
4180 withval=$with_wine_tools;
4184 # Check whether --with-wine64 was given.
4185 if test "${with_wine64+set}" = set; then :
4186 withval=$with_wine64;
4190 # Make sure we can run config.sub.
4191 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4192 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4195 $as_echo_n "checking build system type... " >&6; }
4196 if ${ac_cv_build+:} false; then :
4197 $as_echo_n "(cached) " >&6
4198 else
4199 ac_build_alias=$build_alias
4200 test "x$ac_build_alias" = x &&
4201 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4202 test "x$ac_build_alias" = x &&
4203 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4204 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4205 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4209 $as_echo "$ac_cv_build" >&6; }
4210 case $ac_cv_build in
4211 *-*-*) ;;
4212 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4213 esac
4214 build=$ac_cv_build
4215 ac_save_IFS=$IFS; IFS='-'
4216 set x $ac_cv_build
4217 shift
4218 build_cpu=$1
4219 build_vendor=$2
4220 shift; shift
4221 # Remember, the first character of IFS is used to create $*,
4222 # except with old shells:
4223 build_os=$*
4224 IFS=$ac_save_IFS
4225 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4229 $as_echo_n "checking host system type... " >&6; }
4230 if ${ac_cv_host+:} false; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 if test "x$host_alias" = x; then
4234 ac_cv_host=$ac_cv_build
4235 else
4236 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4237 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4242 $as_echo "$ac_cv_host" >&6; }
4243 case $ac_cv_host in
4244 *-*-*) ;;
4245 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4246 esac
4247 host=$ac_cv_host
4248 ac_save_IFS=$IFS; IFS='-'
4249 set x $ac_cv_host
4250 shift
4251 host_cpu=$1
4252 host_vendor=$2
4253 shift; shift
4254 # Remember, the first character of IFS is used to create $*,
4255 # except with old shells:
4256 host_os=$*
4257 IFS=$ac_save_IFS
4258 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4262 case "$srcdir" in
4263 .) ;;
4264 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4265 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4266 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4267 fi ;;
4268 esac
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4272 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4273 set x ${MAKE-make}
4274 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4275 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 cat >conftest.make <<\_ACEOF
4279 SHELL = /bin/sh
4280 all:
4281 @echo '@@@%%%=$(MAKE)=@@@%%%'
4282 _ACEOF
4283 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4284 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4285 *@@@%%%=?*=@@@%%%*)
4286 eval ac_cv_prog_make_${ac_make}_set=yes;;
4288 eval ac_cv_prog_make_${ac_make}_set=no;;
4289 esac
4290 rm -f conftest.make
4292 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4294 $as_echo "yes" >&6; }
4295 SET_MAKE=
4296 else
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4299 SET_MAKE="MAKE=${MAKE-make}"
4302 ac_ext=c
4303 ac_cpp='$CPP $CPPFLAGS'
4304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4307 if test -n "$ac_tool_prefix"; then
4308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4309 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_CC+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 if test -n "$CC"; then
4316 ac_cv_prog_CC="$CC" # Let the user override the test.
4317 else
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 for as_dir in $PATH
4321 IFS=$as_save_IFS
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 break 2
4329 done
4330 done
4331 IFS=$as_save_IFS
4335 CC=$ac_cv_prog_CC
4336 if test -n "$CC"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4338 $as_echo "$CC" >&6; }
4339 else
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4346 if test -z "$ac_cv_prog_CC"; then
4347 ac_ct_CC=$CC
4348 # Extract the first word of "gcc", so it can be a program name with args.
4349 set dummy gcc; ac_word=$2
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; }
4352 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 if test -n "$ac_ct_CC"; then
4356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_ac_ct_CC="gcc"
4366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2
4369 done
4370 done
4371 IFS=$as_save_IFS
4375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4376 if test -n "$ac_ct_CC"; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4378 $as_echo "$ac_ct_CC" >&6; }
4379 else
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4384 if test "x$ac_ct_CC" = x; then
4385 CC=""
4386 else
4387 case $cross_compiling:$ac_tool_warned in
4388 yes:)
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4391 ac_tool_warned=yes ;;
4392 esac
4393 CC=$ac_ct_CC
4395 else
4396 CC="$ac_cv_prog_CC"
4399 if test -z "$CC"; then
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4402 set dummy ${ac_tool_prefix}cc; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_CC+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$CC"; then
4409 ac_cv_prog_CC="$CC" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_CC="${ac_tool_prefix}cc"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 CC=$ac_cv_prog_CC
4429 if test -n "$CC"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4431 $as_echo "$CC" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4440 if test -z "$CC"; then
4441 # Extract the first word of "cc", so it can be a program name with args.
4442 set dummy cc; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_CC+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 if test -n "$CC"; then
4449 ac_cv_prog_CC="$CC" # Let the user override the test.
4450 else
4451 ac_prog_rejected=no
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4455 IFS=$as_save_IFS
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4460 ac_prog_rejected=yes
4461 continue
4463 ac_cv_prog_CC="cc"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 break 2
4467 done
4468 done
4469 IFS=$as_save_IFS
4471 if test $ac_prog_rejected = yes; then
4472 # We found a bogon in the path, so make sure we never use it.
4473 set dummy $ac_cv_prog_CC
4474 shift
4475 if test $# != 0; then
4476 # We chose a different compiler from the bogus one.
4477 # However, it has the same basename, so the bogon will be chosen
4478 # first if we set CC to just the basename; use the full file name.
4479 shift
4480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4485 CC=$ac_cv_prog_CC
4486 if test -n "$CC"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4488 $as_echo "$CC" >&6; }
4489 else
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4496 if test -z "$CC"; then
4497 if test -n "$ac_tool_prefix"; then
4498 for ac_prog in cl.exe
4500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4503 $as_echo_n "checking for $ac_word... " >&6; }
4504 if ${ac_cv_prog_CC+:} false; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 if test -n "$CC"; then
4508 ac_cv_prog_CC="$CC" # Let the user override the test.
4509 else
4510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 for as_dir in $PATH
4513 IFS=$as_save_IFS
4514 test -z "$as_dir" && as_dir=.
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 break 2
4521 done
4522 done
4523 IFS=$as_save_IFS
4527 CC=$ac_cv_prog_CC
4528 if test -n "$CC"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4530 $as_echo "$CC" >&6; }
4531 else
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4537 test -n "$CC" && break
4538 done
4540 if test -z "$CC"; then
4541 ac_ct_CC=$CC
4542 for ac_prog in cl.exe
4544 # Extract the first word of "$ac_prog", so it can be a program name with args.
4545 set dummy $ac_prog; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4549 $as_echo_n "(cached) " >&6
4550 else
4551 if test -n "$ac_ct_CC"; then
4552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_ac_ct_CC="$ac_prog"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 break 2
4565 done
4566 done
4567 IFS=$as_save_IFS
4571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4572 if test -n "$ac_ct_CC"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4574 $as_echo "$ac_ct_CC" >&6; }
4575 else
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 test -n "$ac_ct_CC" && break
4582 done
4584 if test "x$ac_ct_CC" = x; then
4585 CC=""
4586 else
4587 case $cross_compiling:$ac_tool_warned in
4588 yes:)
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4591 ac_tool_warned=yes ;;
4592 esac
4593 CC=$ac_ct_CC
4600 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4602 as_fn_error $? "no acceptable C compiler found in \$PATH
4603 See \`config.log' for more details" "$LINENO" 5; }
4605 # Provide some information about the compiler.
4606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4607 set X $ac_compile
4608 ac_compiler=$2
4609 for ac_option in --version -v -V -qversion; do
4610 { { ac_try="$ac_compiler $ac_option >&5"
4611 case "(($ac_try" in
4612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4613 *) ac_try_echo=$ac_try;;
4614 esac
4615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4616 $as_echo "$ac_try_echo"; } >&5
4617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4618 ac_status=$?
4619 if test -s conftest.err; then
4620 sed '10a\
4621 ... rest of stderr output deleted ...
4622 10q' conftest.err >conftest.er1
4623 cat conftest.er1 >&5
4625 rm -f conftest.er1 conftest.err
4626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4627 test $ac_status = 0; }
4628 done
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4638 return 0;
4640 _ACEOF
4641 ac_clean_files_save=$ac_clean_files
4642 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4643 # Try to create an executable without -o first, disregard a.out.
4644 # It will help us diagnose broken compilers, and finding out an intuition
4645 # of exeext.
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4647 $as_echo_n "checking whether the C compiler works... " >&6; }
4648 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4650 # The possible output files:
4651 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4653 ac_rmfiles=
4654 for ac_file in $ac_files
4656 case $ac_file in
4657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4658 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4659 esac
4660 done
4661 rm -f $ac_rmfiles
4663 if { { ac_try="$ac_link_default"
4664 case "(($ac_try" in
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4667 esac
4668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4669 $as_echo "$ac_try_echo"; } >&5
4670 (eval "$ac_link_default") 2>&5
4671 ac_status=$?
4672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4673 test $ac_status = 0; }; then :
4674 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4675 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4676 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4677 # so that the user can short-circuit this test for compilers unknown to
4678 # Autoconf.
4679 for ac_file in $ac_files ''
4681 test -f "$ac_file" || continue
4682 case $ac_file in
4683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4685 [ab].out )
4686 # We found the default executable, but exeext='' is most
4687 # certainly right.
4688 break;;
4689 *.* )
4690 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4691 then :; else
4692 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4694 # We set ac_cv_exeext here because the later test for it is not
4695 # safe: cross compilers may not add the suffix if given an `-o'
4696 # argument, so we may need to know it at that point already.
4697 # Even if this section looks crufty: it has the advantage of
4698 # actually working.
4699 break;;
4701 break;;
4702 esac
4703 done
4704 test "$ac_cv_exeext" = no && ac_cv_exeext=
4706 else
4707 ac_file=''
4709 if test -z "$ac_file"; then :
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4712 $as_echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error 77 "C compiler cannot create executables
4718 See \`config.log' for more details" "$LINENO" 5; }
4719 else
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4724 $as_echo_n "checking for C compiler default output file name... " >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4726 $as_echo "$ac_file" >&6; }
4727 ac_exeext=$ac_cv_exeext
4729 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4730 ac_clean_files=$ac_clean_files_save
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4732 $as_echo_n "checking for suffix of executables... " >&6; }
4733 if { { ac_try="$ac_link"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_link") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; then :
4744 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4745 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4746 # work properly (i.e., refer to `conftest.exe'), while it won't with
4747 # `rm'.
4748 for ac_file in conftest.exe conftest conftest.*; do
4749 test -f "$ac_file" || continue
4750 case $ac_file in
4751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4752 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4753 break;;
4754 * ) break;;
4755 esac
4756 done
4757 else
4758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4760 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4761 See \`config.log' for more details" "$LINENO" 5; }
4763 rm -f conftest conftest$ac_cv_exeext
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4765 $as_echo "$ac_cv_exeext" >&6; }
4767 rm -f conftest.$ac_ext
4768 EXEEXT=$ac_cv_exeext
4769 ac_exeext=$EXEEXT
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #include <stdio.h>
4774 main ()
4776 FILE *f = fopen ("conftest.out", "w");
4777 return ferror (f) || fclose (f) != 0;
4780 return 0;
4782 _ACEOF
4783 ac_clean_files="$ac_clean_files conftest.out"
4784 # Check that the compiler produces executables we can run. If not, either
4785 # the compiler is broken, or we cross compile.
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4787 $as_echo_n "checking whether we are cross compiling... " >&6; }
4788 if test "$cross_compiling" != yes; then
4789 { { ac_try="$ac_link"
4790 case "(($ac_try" in
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4793 esac
4794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4795 $as_echo "$ac_try_echo"; } >&5
4796 (eval "$ac_link") 2>&5
4797 ac_status=$?
4798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4799 test $ac_status = 0; }
4800 if { ac_try='./conftest$ac_cv_exeext'
4801 { { case "(($ac_try" in
4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803 *) ac_try_echo=$ac_try;;
4804 esac
4805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4806 $as_echo "$ac_try_echo"; } >&5
4807 (eval "$ac_try") 2>&5
4808 ac_status=$?
4809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4810 test $ac_status = 0; }; }; then
4811 cross_compiling=no
4812 else
4813 if test "$cross_compiling" = maybe; then
4814 cross_compiling=yes
4815 else
4816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4818 as_fn_error $? "cannot run C compiled programs.
4819 If you meant to cross compile, use \`--host'.
4820 See \`config.log' for more details" "$LINENO" 5; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4825 $as_echo "$cross_compiling" >&6; }
4827 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4828 ac_clean_files=$ac_clean_files_save
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4830 $as_echo_n "checking for suffix of object files... " >&6; }
4831 if ${ac_cv_objext+:} false; then :
4832 $as_echo_n "(cached) " >&6
4833 else
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4838 main ()
4842 return 0;
4844 _ACEOF
4845 rm -f conftest.o conftest.obj
4846 if { { ac_try="$ac_compile"
4847 case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4850 esac
4851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4852 $as_echo "$ac_try_echo"; } >&5
4853 (eval "$ac_compile") 2>&5
4854 ac_status=$?
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }; then :
4857 for ac_file in conftest.o conftest.obj conftest.*; do
4858 test -f "$ac_file" || continue;
4859 case $ac_file in
4860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4861 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4862 break;;
4863 esac
4864 done
4865 else
4866 $as_echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4871 as_fn_error $? "cannot compute suffix of object files: cannot compile
4872 See \`config.log' for more details" "$LINENO" 5; }
4874 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4877 $as_echo "$ac_cv_objext" >&6; }
4878 OBJEXT=$ac_cv_objext
4879 ac_objext=$OBJEXT
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4882 if ${ac_cv_c_compiler_gnu+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4891 #ifndef __GNUC__
4892 choke me
4893 #endif
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_compiler_gnu=yes
4901 else
4902 ac_compiler_gnu=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4911 GCC=yes
4912 else
4913 GCC=
4915 ac_test_CFLAGS=${CFLAGS+set}
4916 ac_save_CFLAGS=$CFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4919 if ${ac_cv_prog_cc_g+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 ac_save_c_werror_flag=$ac_c_werror_flag
4923 ac_c_werror_flag=yes
4924 ac_cv_prog_cc_g=no
4925 CFLAGS="-g"
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 if ac_fn_c_try_compile "$LINENO"; then :
4938 ac_cv_prog_cc_g=yes
4939 else
4940 CFLAGS=""
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_c_try_compile "$LINENO"; then :
4954 else
4955 ac_c_werror_flag=$ac_save_c_werror_flag
4956 CFLAGS="-g"
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4965 return 0;
4967 _ACEOF
4968 if ac_fn_c_try_compile "$LINENO"; then :
4969 ac_cv_prog_cc_g=yes
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_c_werror_flag=$ac_save_c_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
4980 if test "$ac_test_CFLAGS" = set; then
4981 CFLAGS=$ac_save_CFLAGS
4982 elif test $ac_cv_prog_cc_g = yes; then
4983 if test "$GCC" = yes; then
4984 CFLAGS="-g -O2"
4985 else
4986 CFLAGS="-g"
4988 else
4989 if test "$GCC" = yes; then
4990 CFLAGS="-O2"
4991 else
4992 CFLAGS=
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4997 if ${ac_cv_prog_cc_c89+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 ac_cv_prog_cc_c89=no
5001 ac_save_CC=$CC
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5004 #include <stdarg.h>
5005 #include <stdio.h>
5006 struct stat;
5007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5008 struct buf { int x; };
5009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5010 static char *e (p, i)
5011 char **p;
5012 int i;
5014 return p[i];
5016 static char *f (char * (*g) (char **, int), char **p, ...)
5018 char *s;
5019 va_list v;
5020 va_start (v,p);
5021 s = g (p, va_arg (v,int));
5022 va_end (v);
5023 return s;
5026 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5027 function prototypes and stuff, but not '\xHH' hex character constants.
5028 These don't provoke an error unfortunately, instead are silently treated
5029 as 'x'. The following induces an error, until -std is added to get
5030 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5031 array size at least. It's necessary to write '\x00'==0 to get something
5032 that's true only with -std. */
5033 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5035 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5036 inside strings and character constants. */
5037 #define FOO(x) 'x'
5038 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5040 int test (int i, double x);
5041 struct s1 {int (*f) (int a);};
5042 struct s2 {int (*f) (double a);};
5043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5044 int argc;
5045 char **argv;
5047 main ()
5049 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5051 return 0;
5053 _ACEOF
5054 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5055 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5057 CC="$ac_save_CC $ac_arg"
5058 if ac_fn_c_try_compile "$LINENO"; then :
5059 ac_cv_prog_cc_c89=$ac_arg
5061 rm -f core conftest.err conftest.$ac_objext
5062 test "x$ac_cv_prog_cc_c89" != "xno" && break
5063 done
5064 rm -f conftest.$ac_ext
5065 CC=$ac_save_CC
5068 # AC_CACHE_VAL
5069 case "x$ac_cv_prog_cc_c89" in
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5072 $as_echo "none needed" >&6; } ;;
5073 xno)
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5075 $as_echo "unsupported" >&6; } ;;
5077 CC="$CC $ac_cv_prog_cc_c89"
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5080 esac
5081 if test "x$ac_cv_prog_cc_c89" != xno; then :
5085 ac_ext=c
5086 ac_cpp='$CPP $CPPFLAGS'
5087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5091 ac_ext=cpp
5092 ac_cpp='$CXXCPP $CPPFLAGS'
5093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5096 if test -z "$CXX"; then
5097 if test -n "$CCC"; then
5098 CXX=$CCC
5099 else
5100 if test -n "$ac_tool_prefix"; then
5101 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_CXX+:} false; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$CXX"; then
5111 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 CXX=$ac_cv_prog_CXX
5131 if test -n "$CXX"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5133 $as_echo "$CXX" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5140 test -n "$CXX" && break
5141 done
5143 if test -z "$CXX"; then
5144 ac_ct_CXX=$CXX
5145 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5147 # Extract the first word of "$ac_prog", so it can be a program name with args.
5148 set dummy $ac_prog; ac_word=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5152 $as_echo_n "(cached) " >&6
5153 else
5154 if test -n "$ac_ct_CXX"; then
5155 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5156 else
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 for as_dir in $PATH
5160 IFS=$as_save_IFS
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_ac_ct_CXX="$ac_prog"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 break 2
5168 done
5169 done
5170 IFS=$as_save_IFS
5174 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5175 if test -n "$ac_ct_CXX"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5177 $as_echo "$ac_ct_CXX" >&6; }
5178 else
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5184 test -n "$ac_ct_CXX" && break
5185 done
5187 if test "x$ac_ct_CXX" = x; then
5188 CXX="g++"
5189 else
5190 case $cross_compiling:$ac_tool_warned in
5191 yes:)
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5194 ac_tool_warned=yes ;;
5195 esac
5196 CXX=$ac_ct_CXX
5202 # Provide some information about the compiler.
5203 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5204 set X $ac_compile
5205 ac_compiler=$2
5206 for ac_option in --version -v -V -qversion; do
5207 { { ac_try="$ac_compiler $ac_option >&5"
5208 case "(($ac_try" in
5209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5211 esac
5212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5213 $as_echo "$ac_try_echo"; } >&5
5214 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5215 ac_status=$?
5216 if test -s conftest.err; then
5217 sed '10a\
5218 ... rest of stderr output deleted ...
5219 10q' conftest.err >conftest.er1
5220 cat conftest.er1 >&5
5222 rm -f conftest.er1 conftest.err
5223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5224 test $ac_status = 0; }
5225 done
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5228 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5229 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5236 main ()
5238 #ifndef __GNUC__
5239 choke me
5240 #endif
5243 return 0;
5245 _ACEOF
5246 if ac_fn_cxx_try_compile "$LINENO"; then :
5247 ac_compiler_gnu=yes
5248 else
5249 ac_compiler_gnu=no
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5256 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5257 if test $ac_compiler_gnu = yes; then
5258 GXX=yes
5259 else
5260 GXX=
5262 ac_test_CXXFLAGS=${CXXFLAGS+set}
5263 ac_save_CXXFLAGS=$CXXFLAGS
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5265 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5266 if ${ac_cv_prog_cxx_g+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5270 ac_cxx_werror_flag=yes
5271 ac_cv_prog_cxx_g=no
5272 CXXFLAGS="-g"
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5277 main ()
5281 return 0;
5283 _ACEOF
5284 if ac_fn_cxx_try_compile "$LINENO"; then :
5285 ac_cv_prog_cxx_g=yes
5286 else
5287 CXXFLAGS=""
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5292 main ()
5296 return 0;
5298 _ACEOF
5299 if ac_fn_cxx_try_compile "$LINENO"; then :
5301 else
5302 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5303 CXXFLAGS="-g"
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5308 main ()
5312 return 0;
5314 _ACEOF
5315 if ac_fn_cxx_try_compile "$LINENO"; then :
5316 ac_cv_prog_cxx_g=yes
5318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5326 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5327 if test "$ac_test_CXXFLAGS" = set; then
5328 CXXFLAGS=$ac_save_CXXFLAGS
5329 elif test $ac_cv_prog_cxx_g = yes; then
5330 if test "$GXX" = yes; then
5331 CXXFLAGS="-g -O2"
5332 else
5333 CXXFLAGS="-g"
5335 else
5336 if test "$GXX" = yes; then
5337 CXXFLAGS="-O2"
5338 else
5339 CXXFLAGS=
5342 ac_ext=c
5343 ac_cpp='$CPP $CPPFLAGS'
5344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5350 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_CPPBIN+:} false; then :
5354 $as_echo_n "(cached) " >&6
5355 else
5356 if test -n "$CPPBIN"; then
5357 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5358 else
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH
5362 IFS=$as_save_IFS
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 break 2
5370 done
5371 done
5372 IFS=$as_save_IFS
5376 CPPBIN=$ac_cv_prog_CPPBIN
5377 if test -n "$CPPBIN"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5379 $as_echo "$CPPBIN" >&6; }
5380 else
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5387 if test -z "$ac_cv_prog_CPPBIN"; then
5388 ac_ct_CPPBIN=$CPPBIN
5389 # Extract the first word of "cpp", so it can be a program name with args.
5390 set dummy cpp; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$ac_ct_CPPBIN"; then
5397 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_ac_ct_CPPBIN="cpp"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5417 if test -n "$ac_ct_CPPBIN"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5419 $as_echo "$ac_ct_CPPBIN" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5425 if test "x$ac_ct_CPPBIN" = x; then
5426 CPPBIN="cpp"
5427 else
5428 case $cross_compiling:$ac_tool_warned in
5429 yes:)
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5432 ac_tool_warned=yes ;;
5433 esac
5434 CPPBIN=$ac_ct_CPPBIN
5436 else
5437 CPPBIN="$ac_cv_prog_CPPBIN"
5441 cat >>confdefs.h <<_ACEOF
5442 #define EXEEXT "$ac_exeext"
5443 _ACEOF
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}ld; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_LD+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$LD"; then
5454 ac_cv_prog_LD="$LD" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_LD="${ac_tool_prefix}ld"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 LD=$ac_cv_prog_LD
5474 if test -n "$LD"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5476 $as_echo "$LD" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_LD"; then
5485 ac_ct_LD=$LD
5486 # Extract the first word of "ld", so it can be a program name with args.
5487 set dummy ld; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$ac_ct_LD"; then
5494 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_LD="ld"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5514 if test -n "$ac_ct_LD"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5516 $as_echo "$ac_ct_LD" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_LD" = x; then
5523 LD=""
5524 else
5525 case $cross_compiling:$ac_tool_warned in
5526 yes:)
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned=yes ;;
5530 esac
5531 LD=$ac_ct_LD
5533 else
5534 LD="$ac_cv_prog_LD"
5538 case $host in
5539 *-darwin*)
5540 with_fontconfig=${with_fontconfig:-no}
5542 *-mingw32*|*-cygwin*)
5543 enable_win16=${enable_win16:-no}
5544 with_mingw=${with_mingw:-no}
5545 CFLAGS="$CFLAGS -D_WIN32"
5547 esac
5549 case $host in
5550 x86_64*|amd64*)
5551 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5552 then
5553 CC="$CC -m32"
5554 CXX="$CXX -m32"
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5557 $as_echo_n "checking whether $CC works... " >&6; }
5558 if ${wine_cv_cc_m32+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5562 /* end confdefs.h. */
5565 main ()
5569 return 0;
5571 _ACEOF
5572 if ac_fn_c_try_link "$LINENO"; then :
5573 wine_cv_cc_m32=yes
5574 else
5575 wine_cv_cc_m32=no
5577 rm -f core conftest.err conftest.$ac_objext \
5578 conftest$ac_exeext conftest.$ac_ext
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5581 $as_echo "$wine_cv_cc_m32" >&6; }
5582 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
5583 host_cpu="i386"
5584 notice_platform="32-bit "
5585 TARGETFLAGS="-m32"
5587 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5588 export PKG_CONFIG_PATH
5589 enable_win16=${enable_win16:-yes}
5590 else
5591 if test "x${GCC}" = "xyes"
5592 then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5594 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5595 if ${wine_cv_builtin_ms_va_list+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5600 #include <stdarg.h>
5602 main ()
5604 void func(__builtin_ms_va_list *args);
5606 return 0;
5608 _ACEOF
5609 if ac_fn_c_try_compile "$LINENO"; then :
5610 wine_cv_builtin_ms_va_list=yes
5611 else
5612 wine_cv_builtin_ms_va_list=no
5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5617 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5618 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
5620 CC="$CC -m64"
5621 CXX="$CXX -m64"
5622 host_cpu="x86_64"
5623 notice_platform="64-bit "
5624 TARGETFLAGS="-m64"
5628 arm*)
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5630 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5631 if ${wine_cv_thumb+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5636 int ac_test(int i) { return i; }
5638 main ()
5640 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5642 return 0;
5644 _ACEOF
5645 if ac_fn_c_try_link "$LINENO"; then :
5646 wine_cv_thumb=yes
5647 else
5648 wine_cv_thumb=no
5650 rm -f core conftest.err conftest.$ac_objext \
5651 conftest$ac_exeext conftest.$ac_ext
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5654 $as_echo "$wine_cv_thumb" >&6; }
5655 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5656 case $with_float_abi in
5657 soft|softfp|hard)
5658 float_abi=$with_float_abi ;;
5660 case $host_os in
5661 *eabihf)
5662 float_abi=hard ;;
5664 float_abi=softfp
5665 saved_CFLAGS=$CFLAGS
5666 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5668 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5669 if ${wine_cv_float_abi+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5676 main ()
5678 asm("vmrs r2,fpscr");
5680 return 0;
5682 _ACEOF
5683 if ac_fn_c_try_link "$LINENO"; then :
5684 wine_cv_float_abi=yes
5685 else
5686 wine_cv_float_abi=no
5688 rm -f core conftest.err conftest.$ac_objext \
5689 conftest$ac_exeext conftest.$ac_ext
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5692 $as_echo "$wine_cv_float_abi" >&6; }
5693 if test $wine_cv_float_abi = no
5694 then
5695 float_abi=soft
5696 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5698 CFLAGS=$saved_CFLAGS
5699 esac
5701 esac
5702 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5703 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5706 aarch64*)
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5709 if ${wine_cv_builtin_ms_va_list+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 #include <stdarg.h>
5716 main ()
5718 void func(__builtin_ms_va_list *args);
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 wine_cv_builtin_ms_va_list=yes
5725 else
5726 wine_cv_builtin_ms_va_list=no
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5731 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5732 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5734 i[3456789]86*)
5735 enable_win16=${enable_win16:-yes}
5737 esac
5739 enable_win16=${enable_win16:-no}
5740 enable_win64=${enable_win64:-no}
5742 enable_winetest=${enable_winetest:-$enable_tests}
5744 if test "x$enable_win64" = "xyes"
5745 then
5746 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5747 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5748 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5752 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5753 if ${wine_cv_toolsdir+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 wine_cv_toolsdir="$with_wine_tools"
5757 if test -z "$with_wine_tools"; then
5758 if test "$cross_compiling" = "yes"; then
5759 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5760 elif test -n "$with_wine64"; then
5761 wine_cv_toolsdir="$with_wine64"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5766 $as_echo "$wine_cv_toolsdir" >&6; }
5767 if test -z "$wine_cv_toolsdir"; then
5768 wine_makedep=tools/makedep
5769 TOOLSDIR="\$(top_builddir)"
5771 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5772 wine_makedep=$wine_cv_toolsdir/tools/makedep
5773 case "$wine_cv_toolsdir" in
5774 /*) TOOLSDIR=$wine_cv_toolsdir
5776 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5778 esac
5779 enable_tools=${enable_tools:-no}
5780 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5781 else
5782 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5784 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5785 then
5786 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5790 for ac_prog in flex
5792 # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_FLEX+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 if test -n "$FLEX"; then
5800 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5801 else
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH
5805 IFS=$as_save_IFS
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_FLEX="$ac_prog"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 break 2
5813 done
5814 done
5815 IFS=$as_save_IFS
5819 FLEX=$ac_cv_prog_FLEX
5820 if test -n "$FLEX"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5822 $as_echo "$FLEX" >&6; }
5823 else
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5829 test -n "$FLEX" && break
5830 done
5831 test -n "$FLEX" || FLEX="none"
5833 if test "$FLEX" = "none"
5834 then
5835 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5838 $as_echo_n "checking whether flex is recent enough... " >&6; }
5839 if ${wine_cv_recent_flex+:} false; then :
5840 $as_echo_n "(cached) " >&6
5841 else
5842 cat >conftest.l <<EOF
5843 %top{
5844 #include "prediluvian.h"
5848 if $FLEX -t conftest.l >/dev/null 2>&5
5849 then
5850 wine_cv_recent_flex=yes
5851 else
5852 wine_cv_recent_flex=no
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5856 $as_echo "$wine_cv_recent_flex" >&6; }
5857 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
5859 for ac_prog in bison
5861 # Extract the first word of "$ac_prog", so it can be a program name with args.
5862 set dummy $ac_prog; ac_word=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864 $as_echo_n "checking for $ac_word... " >&6; }
5865 if ${ac_cv_prog_BISON+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 if test -n "$BISON"; then
5869 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5870 else
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 for as_dir in $PATH
5874 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_BISON="$ac_prog"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 break 2
5882 done
5883 done
5884 IFS=$as_save_IFS
5888 BISON=$ac_cv_prog_BISON
5889 if test -n "$BISON"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5891 $as_echo "$BISON" >&6; }
5892 else
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 $as_echo "no" >&6; }
5898 test -n "$BISON" && break
5899 done
5900 test -n "$BISON" || BISON="none"
5902 if test "$BISON" = "none"
5903 then
5904 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5907 $as_echo_n "checking whether bison is recent enough... " >&6; }
5908 if ${wine_cv_recent_bison+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 cat >conftest.y <<EOF
5912 %define parse.error verbose
5914 empty: ;
5916 if $BISON conftest.y >/dev/null 2>&5
5917 then
5918 wine_cv_recent_bison=yes
5919 else
5920 wine_cv_recent_bison=no
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5924 $as_echo "$wine_cv_recent_bison" >&6; }
5925 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
5927 if test -n "$ac_tool_prefix"; then
5928 for ac_prog in ar gar
5930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_AR+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$AR"; then
5938 ac_cv_prog_AR="$AR" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 AR=$ac_cv_prog_AR
5958 if test -n "$AR"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5960 $as_echo "$AR" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$AR" && break
5968 done
5970 if test -z "$AR"; then
5971 ac_ct_AR=$AR
5972 for ac_prog in ar gar
5974 # Extract the first word of "$ac_prog", so it can be a program name with args.
5975 set dummy $ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$ac_ct_AR"; then
5982 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_ac_ct_AR="$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6002 if test -n "$ac_ct_AR"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6004 $as_echo "$ac_ct_AR" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$ac_ct_AR" && break
6012 done
6014 if test "x$ac_ct_AR" = x; then
6015 AR="ar"
6016 else
6017 case $cross_compiling:$ac_tool_warned in
6018 yes:)
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021 ac_tool_warned=yes ;;
6022 esac
6023 AR=$ac_ct_AR
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}strip; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_STRIP+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$STRIP"; then
6036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 STRIP=$ac_cv_prog_STRIP
6056 if test -n "$STRIP"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6058 $as_echo "$STRIP" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6066 if test -z "$ac_cv_prog_STRIP"; then
6067 ac_ct_STRIP=$STRIP
6068 # Extract the first word of "strip", so it can be a program name with args.
6069 set dummy strip; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 $as_echo_n "checking for $ac_word... " >&6; }
6072 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 if test -n "$ac_ct_STRIP"; then
6076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_STRIP="strip"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6096 if test -n "$ac_ct_STRIP"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6098 $as_echo "$ac_ct_STRIP" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6104 if test "x$ac_ct_STRIP" = x; then
6105 STRIP="strip"
6106 else
6107 case $cross_compiling:$ac_tool_warned in
6108 yes:)
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned=yes ;;
6112 esac
6113 STRIP=$ac_ct_STRIP
6115 else
6116 STRIP="$ac_cv_prog_STRIP"
6119 if test -n "$ac_tool_prefix"; then
6120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_RANLIB+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 if test -n "$RANLIB"; then
6128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 RANLIB=$ac_cv_prog_RANLIB
6148 if test -n "$RANLIB"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6150 $as_echo "$RANLIB" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6158 if test -z "$ac_cv_prog_RANLIB"; then
6159 ac_ct_RANLIB=$RANLIB
6160 # Extract the first word of "ranlib", so it can be a program name with args.
6161 set dummy ranlib; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 $as_echo_n "checking for $ac_word... " >&6; }
6164 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6165 $as_echo_n "(cached) " >&6
6166 else
6167 if test -n "$ac_ct_RANLIB"; then
6168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6173 IFS=$as_save_IFS
6174 test -z "$as_dir" && as_dir=.
6175 for ac_exec_ext in '' $ac_executable_extensions; do
6176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6177 ac_cv_prog_ac_ct_RANLIB="ranlib"
6178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 break 2
6181 done
6182 done
6183 IFS=$as_save_IFS
6187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6188 if test -n "$ac_ct_RANLIB"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6190 $as_echo "$ac_ct_RANLIB" >&6; }
6191 else
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6193 $as_echo "no" >&6; }
6196 if test "x$ac_ct_RANLIB" = x; then
6197 RANLIB=":"
6198 else
6199 case $cross_compiling:$ac_tool_warned in
6200 yes:)
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6203 ac_tool_warned=yes ;;
6204 esac
6205 RANLIB=$ac_ct_RANLIB
6207 else
6208 RANLIB="$ac_cv_prog_RANLIB"
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6212 $as_echo_n "checking whether ln -s works... " >&6; }
6213 LN_S=$as_ln_s
6214 if test "$LN_S" = "ln -s"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6216 $as_echo "yes" >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6219 $as_echo "no, using $LN_S" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6223 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6224 if ${ac_cv_path_GREP+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -z "$GREP"; then
6228 ac_path_GREP_found=false
6229 # Loop through the user's path and test for each of PROGNAME-LIST
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_prog in grep ggrep; do
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6238 as_fn_executable_p "$ac_path_GREP" || continue
6239 # Check for GNU ac_path_GREP and select it if it is found.
6240 # Check for GNU $ac_path_GREP
6241 case `"$ac_path_GREP" --version 2>&1` in
6242 *GNU*)
6243 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6245 ac_count=0
6246 $as_echo_n 0123456789 >"conftest.in"
6247 while :
6249 cat "conftest.in" "conftest.in" >"conftest.tmp"
6250 mv "conftest.tmp" "conftest.in"
6251 cp "conftest.in" "conftest.nl"
6252 $as_echo 'GREP' >> "conftest.nl"
6253 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6254 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6255 as_fn_arith $ac_count + 1 && ac_count=$as_val
6256 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6257 # Best one so far, save it but keep looking for a better one
6258 ac_cv_path_GREP="$ac_path_GREP"
6259 ac_path_GREP_max=$ac_count
6261 # 10*(2^10) chars as input seems more than enough
6262 test $ac_count -gt 10 && break
6263 done
6264 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6265 esac
6267 $ac_path_GREP_found && break 3
6268 done
6269 done
6270 done
6271 IFS=$as_save_IFS
6272 if test -z "$ac_cv_path_GREP"; then
6273 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6275 else
6276 ac_cv_path_GREP=$GREP
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6281 $as_echo "$ac_cv_path_GREP" >&6; }
6282 GREP="$ac_cv_path_GREP"
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6286 $as_echo_n "checking for egrep... " >&6; }
6287 if ${ac_cv_path_EGREP+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6291 then ac_cv_path_EGREP="$GREP -E"
6292 else
6293 if test -z "$EGREP"; then
6294 ac_path_EGREP_found=false
6295 # Loop through the user's path and test for each of PROGNAME-LIST
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6299 IFS=$as_save_IFS
6300 test -z "$as_dir" && as_dir=.
6301 for ac_prog in egrep; do
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6304 as_fn_executable_p "$ac_path_EGREP" || continue
6305 # Check for GNU ac_path_EGREP and select it if it is found.
6306 # Check for GNU $ac_path_EGREP
6307 case `"$ac_path_EGREP" --version 2>&1` in
6308 *GNU*)
6309 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6311 ac_count=0
6312 $as_echo_n 0123456789 >"conftest.in"
6313 while :
6315 cat "conftest.in" "conftest.in" >"conftest.tmp"
6316 mv "conftest.tmp" "conftest.in"
6317 cp "conftest.in" "conftest.nl"
6318 $as_echo 'EGREP' >> "conftest.nl"
6319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6321 as_fn_arith $ac_count + 1 && ac_count=$as_val
6322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6323 # Best one so far, save it but keep looking for a better one
6324 ac_cv_path_EGREP="$ac_path_EGREP"
6325 ac_path_EGREP_max=$ac_count
6327 # 10*(2^10) chars as input seems more than enough
6328 test $ac_count -gt 10 && break
6329 done
6330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6331 esac
6333 $ac_path_EGREP_found && break 3
6334 done
6335 done
6336 done
6337 IFS=$as_save_IFS
6338 if test -z "$ac_cv_path_EGREP"; then
6339 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6341 else
6342 ac_cv_path_EGREP=$EGREP
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6348 $as_echo "$ac_cv_path_EGREP" >&6; }
6349 EGREP="$ac_cv_path_EGREP"
6352 # Extract the first word of "ldconfig", so it can be a program name with args.
6353 set dummy ldconfig; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_path_LDCONFIG+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 case $LDCONFIG in
6360 [\\/]* | ?:[\\/]*)
6361 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in /sbin /usr/sbin $PATH
6367 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6371 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 break 2
6375 done
6376 done
6377 IFS=$as_save_IFS
6379 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6381 esac
6383 LDCONFIG=$ac_cv_path_LDCONFIG
6384 if test -n "$LDCONFIG"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6386 $as_echo "$LDCONFIG" >&6; }
6387 else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6393 for ac_prog in msgfmt
6395 # Extract the first word of "$ac_prog", so it can be a program name with args.
6396 set dummy $ac_prog; ac_word=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_prog_MSGFMT+:} false; then :
6400 $as_echo_n "(cached) " >&6
6401 else
6402 if test -n "$MSGFMT"; then
6403 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6404 else
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 for as_dir in $PATH
6408 IFS=$as_save_IFS
6409 test -z "$as_dir" && as_dir=.
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_prog_MSGFMT="$ac_prog"
6413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 break 2
6416 done
6417 done
6418 IFS=$as_save_IFS
6422 MSGFMT=$ac_cv_prog_MSGFMT
6423 if test -n "$MSGFMT"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6425 $as_echo "$MSGFMT" >&6; }
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6432 test -n "$MSGFMT" && break
6433 done
6434 test -n "$MSGFMT" || MSGFMT="false"
6436 if ${ac_tool_prefix+:} false; then :
6437 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$PKG_CONFIG"; then
6445 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6465 if test -n "$PKG_CONFIG"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6467 $as_echo "$PKG_CONFIG" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6475 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6476 if test "x$cross_compiling" = xyes; then :
6478 else
6479 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6480 # Extract the first word of "pkg-config", so it can be a program name with args.
6481 set dummy pkg-config; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 if test -n "$PKG_CONFIG"; then
6488 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6493 IFS=$as_save_IFS
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_PKG_CONFIG="pkg-config"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6508 if test -n "$PKG_CONFIG"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6510 $as_echo "$PKG_CONFIG" >&6; }
6511 else
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6518 else
6519 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6522 if test "x$enable_maintainer_mode" != "xyes"
6523 then
6524 FONTFORGE=""
6525 RSVG=""
6526 CONVERT=""
6527 ICOTOOL=""
6528 else
6529 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6530 for ac_prog in fontforge
6532 # Extract the first word of "$ac_prog", so it can be a program name with args.
6533 set dummy $ac_prog; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_FONTFORGE+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$FONTFORGE"; then
6540 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_FONTFORGE="$ac_prog"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 FONTFORGE=$ac_cv_prog_FONTFORGE
6560 if test -n "$FONTFORGE"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6562 $as_echo "$FONTFORGE" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6569 test -n "$FONTFORGE" && break
6570 done
6571 test -n "$FONTFORGE" || FONTFORGE="false"
6573 for ac_prog in rsvg-convert rsvg
6575 # Extract the first word of "$ac_prog", so it can be a program name with args.
6576 set dummy $ac_prog; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_RSVG+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$RSVG"; then
6583 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_RSVG="$ac_prog"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 RSVG=$ac_cv_prog_RSVG
6603 if test -n "$RSVG"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6605 $as_echo "$RSVG" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6612 test -n "$RSVG" && break
6613 done
6614 test -n "$RSVG" || RSVG="false"
6616 for ac_prog in convert
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_CONVERT+:} false; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$CONVERT"; then
6626 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_CONVERT="$ac_prog"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 CONVERT=$ac_cv_prog_CONVERT
6646 if test -n "$CONVERT"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6648 $as_echo "$CONVERT" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6655 test -n "$CONVERT" && break
6656 done
6657 test -n "$CONVERT" || CONVERT="false"
6659 for ac_prog in icotool
6661 # Extract the first word of "$ac_prog", so it can be a program name with args.
6662 set dummy $ac_prog; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_ICOTOOL+:} false; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ICOTOOL"; then
6669 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_ICOTOOL="$ac_prog"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 ICOTOOL=$ac_cv_prog_ICOTOOL
6689 if test -n "$ICOTOOL"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6691 $as_echo "$ICOTOOL" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6698 test -n "$ICOTOOL" && break
6699 done
6700 test -n "$ICOTOOL" || ICOTOOL="false"
6702 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6703 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6705 if test "$CONVERT" = false
6706 then
6707 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6708 else
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6710 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6711 convert_version=`convert --version | head -n1`
6712 if test "x$convert_version" != "x"
6713 then
6714 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6715 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6716 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6717 then
6718 CONVERT=false
6721 if test "$CONVERT" = false
6722 then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6724 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6725 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6726 else
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6728 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6732 if test "$ICOTOOL" = false
6733 then
6734 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6737 $as_echo_n "checking for recent enough icotool... " >&6; }
6738 icotool_version=`icotool --version | head -n1`
6739 if test "x$icotool_version" != "x"
6740 then
6741 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6742 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6743 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6744 then
6745 ICOTOOL=false
6746 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6749 if test "$ICOTOOL" = false
6750 then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6752 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6753 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6754 else
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6756 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6760 with_gettext=yes
6761 with_gettextpo=yes
6764 test "x$with_gettext" != xno || MSGFMT=false
6765 if test "$MSGFMT" != "false"
6766 then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6768 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6769 if ${wine_cv_msgfmt_contexts+:} false; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 cat >conftest.po <<EOF
6773 # comment
6774 msgctxt "ctxt"
6775 msgid "id"
6776 msgstr "str"
6778 if $MSGFMT -o /dev/null conftest.po 2>&5
6779 then
6780 wine_cv_msgfmt_contexts=yes
6781 else
6782 wine_cv_msgfmt_contexts=no
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6786 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6787 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6789 if test "$MSGFMT" = false; then :
6790 case "x$with_gettext" in
6791 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6792 xno) ;;
6793 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6794 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6795 esac
6796 enable_po=${enable_po:-no}
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6801 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6802 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805 ac_check_lib_save_LIBS=$LIBS
6806 LIBS="-li386 $LIBS"
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808 /* end confdefs.h. */
6810 /* Override any GCC internal prototype to avoid an error.
6811 Use char because int might match the return type of a GCC
6812 builtin and then its argument prototype would still apply. */
6813 #ifdef __cplusplus
6814 extern "C"
6815 #endif
6816 char i386_set_ldt ();
6818 main ()
6820 return i386_set_ldt ();
6822 return 0;
6824 _ACEOF
6825 if ac_fn_c_try_link "$LINENO"; then :
6826 ac_cv_lib_i386_i386_set_ldt=yes
6827 else
6828 ac_cv_lib_i386_i386_set_ldt=no
6830 rm -f core conftest.err conftest.$ac_objext \
6831 conftest$ac_exeext conftest.$ac_ext
6832 LIBS=$ac_check_lib_save_LIBS
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6835 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6836 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define HAVE_LIBI386 1
6839 _ACEOF
6841 LIBS="-li386 $LIBS"
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6846 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6847 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6848 $as_echo_n "(cached) " >&6
6849 else
6850 ac_check_lib_save_LIBS=$LIBS
6851 LIBS="-lossaudio $LIBS"
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6855 /* Override any GCC internal prototype to avoid an error.
6856 Use char because int might match the return type of a GCC
6857 builtin and then its argument prototype would still apply. */
6858 #ifdef __cplusplus
6859 extern "C"
6860 #endif
6861 char _oss_ioctl ();
6863 main ()
6865 return _oss_ioctl ();
6867 return 0;
6869 _ACEOF
6870 if ac_fn_c_try_link "$LINENO"; then :
6871 ac_cv_lib_ossaudio__oss_ioctl=yes
6872 else
6873 ac_cv_lib_ossaudio__oss_ioctl=no
6875 rm -f core conftest.err conftest.$ac_objext \
6876 conftest$ac_exeext conftest.$ac_ext
6877 LIBS=$ac_check_lib_save_LIBS
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6880 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6881 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define HAVE_LIBOSSAUDIO 1
6884 _ACEOF
6886 LIBS="-lossaudio $LIBS"
6891 OPENGL_LIBS=""
6895 # Check whether --enable-largefile was given.
6896 if test "${enable_largefile+set}" = set; then :
6897 enableval=$enable_largefile;
6900 if test "$enable_largefile" != no; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6903 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6904 if ${ac_cv_sys_largefile_CC+:} false; then :
6905 $as_echo_n "(cached) " >&6
6906 else
6907 ac_cv_sys_largefile_CC=no
6908 if test "$GCC" != yes; then
6909 ac_save_CC=$CC
6910 while :; do
6911 # IRIX 6.2 and later do not support large files by default,
6912 # so use the C compiler's -n32 option if that helps.
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6915 #include <sys/types.h>
6916 /* Check that off_t can represent 2**63 - 1 correctly.
6917 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6918 since some C++ compilers masquerading as C compilers
6919 incorrectly reject 9223372036854775807. */
6920 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6921 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6922 && LARGE_OFF_T % 2147483647 == 1)
6923 ? 1 : -1];
6925 main ()
6929 return 0;
6931 _ACEOF
6932 if ac_fn_c_try_compile "$LINENO"; then :
6933 break
6935 rm -f core conftest.err conftest.$ac_objext
6936 CC="$CC -n32"
6937 if ac_fn_c_try_compile "$LINENO"; then :
6938 ac_cv_sys_largefile_CC=' -n32'; break
6940 rm -f core conftest.err conftest.$ac_objext
6941 break
6942 done
6943 CC=$ac_save_CC
6944 rm -f conftest.$ac_ext
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6948 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6949 if test "$ac_cv_sys_largefile_CC" != no; then
6950 CC=$CC$ac_cv_sys_largefile_CC
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6954 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6955 if ${ac_cv_sys_file_offset_bits+:} false; then :
6956 $as_echo_n "(cached) " >&6
6957 else
6958 while :; do
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <sys/types.h>
6962 /* Check that off_t can represent 2**63 - 1 correctly.
6963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6964 since some C++ compilers masquerading as C compilers
6965 incorrectly reject 9223372036854775807. */
6966 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6968 && LARGE_OFF_T % 2147483647 == 1)
6969 ? 1 : -1];
6971 main ()
6975 return 0;
6977 _ACEOF
6978 if ac_fn_c_try_compile "$LINENO"; then :
6979 ac_cv_sys_file_offset_bits=no; break
6981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6984 #define _FILE_OFFSET_BITS 64
6985 #include <sys/types.h>
6986 /* Check that off_t can represent 2**63 - 1 correctly.
6987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6988 since some C++ compilers masquerading as C compilers
6989 incorrectly reject 9223372036854775807. */
6990 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6992 && LARGE_OFF_T % 2147483647 == 1)
6993 ? 1 : -1];
6995 main ()
6999 return 0;
7001 _ACEOF
7002 if ac_fn_c_try_compile "$LINENO"; then :
7003 ac_cv_sys_file_offset_bits=64; break
7005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7006 ac_cv_sys_file_offset_bits=unknown
7007 break
7008 done
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7011 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7012 case $ac_cv_sys_file_offset_bits in #(
7013 no | unknown) ;;
7015 cat >>confdefs.h <<_ACEOF
7016 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7017 _ACEOF
7019 esac
7020 rm -rf conftest*
7021 if test $ac_cv_sys_file_offset_bits = unknown; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7023 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7024 if ${ac_cv_sys_large_files+:} false; then :
7025 $as_echo_n "(cached) " >&6
7026 else
7027 while :; do
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 #include <sys/types.h>
7031 /* Check that off_t can represent 2**63 - 1 correctly.
7032 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7033 since some C++ compilers masquerading as C compilers
7034 incorrectly reject 9223372036854775807. */
7035 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7036 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7037 && LARGE_OFF_T % 2147483647 == 1)
7038 ? 1 : -1];
7040 main ()
7044 return 0;
7046 _ACEOF
7047 if ac_fn_c_try_compile "$LINENO"; then :
7048 ac_cv_sys_large_files=no; break
7050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 #define _LARGE_FILES 1
7054 #include <sys/types.h>
7055 /* Check that off_t can represent 2**63 - 1 correctly.
7056 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7057 since some C++ compilers masquerading as C compilers
7058 incorrectly reject 9223372036854775807. */
7059 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7060 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7061 && LARGE_OFF_T % 2147483647 == 1)
7062 ? 1 : -1];
7064 main ()
7068 return 0;
7070 _ACEOF
7071 if ac_fn_c_try_compile "$LINENO"; then :
7072 ac_cv_sys_large_files=1; break
7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7075 ac_cv_sys_large_files=unknown
7076 break
7077 done
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7080 $as_echo "$ac_cv_sys_large_files" >&6; }
7081 case $ac_cv_sys_large_files in #(
7082 no | unknown) ;;
7084 cat >>confdefs.h <<_ACEOF
7085 #define _LARGE_FILES $ac_cv_sys_large_files
7086 _ACEOF
7088 esac
7089 rm -rf conftest*
7096 ac_ext=c
7097 ac_cpp='$CPP $CPPFLAGS'
7098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7102 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7103 # On Suns, sometimes $CPP names a directory.
7104 if test -n "$CPP" && test -d "$CPP"; then
7105 CPP=
7107 if test -z "$CPP"; then
7108 if ${ac_cv_prog_CPP+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 # Double quotes because CPP needs to be expanded
7112 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7114 ac_preproc_ok=false
7115 for ac_c_preproc_warn_flag in '' yes
7117 # Use a header file that comes with gcc, so configuring glibc
7118 # with a fresh cross-compiler works.
7119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7120 # <limits.h> exists even on freestanding compilers.
7121 # On the NeXT, cc -E runs the code through the compiler's parser,
7122 # not just through cpp. "Syntax error" is here to catch this case.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #ifdef __STDC__
7126 # include <limits.h>
7127 #else
7128 # include <assert.h>
7129 #endif
7130 Syntax error
7131 _ACEOF
7132 if ac_fn_c_try_cpp "$LINENO"; then :
7134 else
7135 # Broken: fails on valid input.
7136 continue
7138 rm -f conftest.err conftest.i conftest.$ac_ext
7140 # OK, works on sane cases. Now check whether nonexistent headers
7141 # can be detected and how.
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7144 #include <ac_nonexistent.h>
7145 _ACEOF
7146 if ac_fn_c_try_cpp "$LINENO"; then :
7147 # Broken: success on invalid input.
7148 continue
7149 else
7150 # Passes both tests.
7151 ac_preproc_ok=:
7152 break
7154 rm -f conftest.err conftest.i conftest.$ac_ext
7156 done
7157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7158 rm -f conftest.i conftest.err conftest.$ac_ext
7159 if $ac_preproc_ok; then :
7160 break
7163 done
7164 ac_cv_prog_CPP=$CPP
7167 CPP=$ac_cv_prog_CPP
7168 else
7169 ac_cv_prog_CPP=$CPP
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7172 $as_echo "$CPP" >&6; }
7173 ac_preproc_ok=false
7174 for ac_c_preproc_warn_flag in '' yes
7176 # Use a header file that comes with gcc, so configuring glibc
7177 # with a fresh cross-compiler works.
7178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7179 # <limits.h> exists even on freestanding compilers.
7180 # On the NeXT, cc -E runs the code through the compiler's parser,
7181 # not just through cpp. "Syntax error" is here to catch this case.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #ifdef __STDC__
7185 # include <limits.h>
7186 #else
7187 # include <assert.h>
7188 #endif
7189 Syntax error
7190 _ACEOF
7191 if ac_fn_c_try_cpp "$LINENO"; then :
7193 else
7194 # Broken: fails on valid input.
7195 continue
7197 rm -f conftest.err conftest.i conftest.$ac_ext
7199 # OK, works on sane cases. Now check whether nonexistent headers
7200 # can be detected and how.
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7203 #include <ac_nonexistent.h>
7204 _ACEOF
7205 if ac_fn_c_try_cpp "$LINENO"; then :
7206 # Broken: success on invalid input.
7207 continue
7208 else
7209 # Passes both tests.
7210 ac_preproc_ok=:
7211 break
7213 rm -f conftest.err conftest.i conftest.$ac_ext
7215 done
7216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7217 rm -f conftest.i conftest.err conftest.$ac_ext
7218 if $ac_preproc_ok; then :
7220 else
7221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7223 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7224 See \`config.log' for more details" "$LINENO" 5; }
7227 ac_ext=c
7228 ac_cpp='$CPP $CPPFLAGS'
7229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7235 $as_echo_n "checking for ANSI C header files... " >&6; }
7236 if ${ac_cv_header_stdc+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240 /* end confdefs.h. */
7241 #include <stdlib.h>
7242 #include <stdarg.h>
7243 #include <string.h>
7244 #include <float.h>
7247 main ()
7251 return 0;
7253 _ACEOF
7254 if ac_fn_c_try_compile "$LINENO"; then :
7255 ac_cv_header_stdc=yes
7256 else
7257 ac_cv_header_stdc=no
7259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7261 if test $ac_cv_header_stdc = yes; then
7262 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */
7265 #include <string.h>
7267 _ACEOF
7268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7269 $EGREP "memchr" >/dev/null 2>&1; then :
7271 else
7272 ac_cv_header_stdc=no
7274 rm -f conftest*
7278 if test $ac_cv_header_stdc = yes; then
7279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h. */
7282 #include <stdlib.h>
7284 _ACEOF
7285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7286 $EGREP "free" >/dev/null 2>&1; then :
7288 else
7289 ac_cv_header_stdc=no
7291 rm -f conftest*
7295 if test $ac_cv_header_stdc = yes; then
7296 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7297 if test "$cross_compiling" = yes; then :
7299 else
7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7302 #include <ctype.h>
7303 #include <stdlib.h>
7304 #if ((' ' & 0x0FF) == 0x020)
7305 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7306 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7307 #else
7308 # define ISLOWER(c) \
7309 (('a' <= (c) && (c) <= 'i') \
7310 || ('j' <= (c) && (c) <= 'r') \
7311 || ('s' <= (c) && (c) <= 'z'))
7312 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7313 #endif
7315 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7317 main ()
7319 int i;
7320 for (i = 0; i < 256; i++)
7321 if (XOR (islower (i), ISLOWER (i))
7322 || toupper (i) != TOUPPER (i))
7323 return 2;
7324 return 0;
7326 _ACEOF
7327 if ac_fn_c_try_run "$LINENO"; then :
7329 else
7330 ac_cv_header_stdc=no
7332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7333 conftest.$ac_objext conftest.beam conftest.$ac_ext
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7339 $as_echo "$ac_cv_header_stdc" >&6; }
7340 if test $ac_cv_header_stdc = yes; then
7342 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7346 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7347 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7348 inttypes.h stdint.h unistd.h
7349 do :
7350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7353 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7354 cat >>confdefs.h <<_ACEOF
7355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7356 _ACEOF
7360 done
7363 for ac_header in \
7364 AL/al.h \
7365 ApplicationServices/ApplicationServices.h \
7366 AudioToolbox/AudioConverter.h \
7367 AudioUnit/AudioUnit.h \
7368 AudioUnit/AudioComponent.h \
7369 CL/cl.h \
7370 Carbon/Carbon.h \
7371 CommonCrypto/CommonCryptor.h \
7372 CoreAudio/CoreAudio.h \
7373 CoreServices/CoreServices.h \
7374 DiskArbitration/DiskArbitration.h \
7375 EGL/egl.h \
7376 IOKit/IOKitLib.h \
7377 IOKit/hid/IOHIDLib.h \
7378 OpenAL/al.h \
7379 OpenCL/opencl.h \
7380 QuickTime/ImageCompression.h \
7381 Security/Security.h \
7382 alias.h \
7383 arpa/inet.h \
7384 arpa/nameser.h \
7385 asm/types.h \
7386 asm/user.h \
7387 curses.h \
7388 dirent.h \
7389 dlfcn.h \
7390 elf.h \
7391 float.h \
7392 fnmatch.h \
7393 getopt.h \
7394 gettext-po.h \
7395 grp.h \
7396 gsm.h \
7397 gsm/gsm.h \
7398 ieeefp.h \
7399 inet/mib2.h \
7400 kstat.h \
7401 libproc.h \
7402 link.h \
7403 linux/cdrom.h \
7404 linux/compiler.h \
7405 linux/filter.h \
7406 linux/hdreg.h \
7407 linux/hidraw.h \
7408 linux/input.h \
7409 linux/ioctl.h \
7410 linux/joystick.h \
7411 linux/major.h \
7412 linux/param.h \
7413 linux/serial.h \
7414 linux/types.h \
7415 linux/ucdrom.h \
7416 lwp.h \
7417 mach-o/nlist.h \
7418 mach-o/loader.h \
7419 mach/mach.h \
7420 mach/machine.h \
7421 machine/cpu.h \
7422 machine/limits.h \
7423 machine/sysarch.h \
7424 mntent.h \
7425 ncurses.h \
7426 netdb.h \
7427 netinet/in.h \
7428 netinet/in_systm.h \
7429 netinet/tcp.h \
7430 netinet/tcp_fsm.h \
7431 pcap/pcap.h \
7432 poll.h \
7433 port.h \
7434 pthread.h \
7435 pwd.h \
7436 sched.h \
7437 scsi/scsi.h \
7438 scsi/scsi_ioctl.h \
7439 scsi/sg.h \
7440 stdbool.h \
7441 stdint.h \
7442 stropts.h \
7443 sys/attr.h \
7444 sys/auxv.h \
7445 sys/cdio.h \
7446 sys/elf32.h \
7447 sys/epoll.h \
7448 sys/event.h \
7449 sys/exec_elf.h \
7450 sys/filio.h \
7451 sys/ioctl.h \
7452 sys/ipc.h \
7453 sys/limits.h \
7454 sys/link.h \
7455 sys/mman.h \
7456 sys/modem.h \
7457 sys/msg.h \
7458 sys/mtio.h \
7459 sys/param.h \
7460 sys/poll.h \
7461 sys/prctl.h \
7462 sys/protosw.h \
7463 sys/ptrace.h \
7464 sys/queue.h \
7465 sys/resource.h \
7466 sys/scsiio.h \
7467 sys/shm.h \
7468 sys/signal.h \
7469 sys/socket.h \
7470 sys/socketvar.h \
7471 sys/sockio.h \
7472 sys/statvfs.h \
7473 sys/strtio.h \
7474 sys/syscall.h \
7475 sys/sysinfo.h \
7476 sys/tihdr.h \
7477 sys/time.h \
7478 sys/timeout.h \
7479 sys/times.h \
7480 sys/uio.h \
7481 sys/user.h \
7482 sys/utsname.h \
7483 sys/vnode.h \
7484 sys/wait.h \
7485 syscall.h \
7486 termios.h \
7487 unistd.h \
7488 utime.h \
7489 valgrind/memcheck.h \
7490 valgrind/valgrind.h
7492 do :
7493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7494 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7495 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7496 cat >>confdefs.h <<_ACEOF
7497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7498 _ACEOF
7502 done
7504 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7505 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7507 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7512 if test $ac_cv_header_sys_mkdev_h = no; then
7513 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7514 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7516 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7523 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7524 if ${ac_cv_header_stat_broken+:} false; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528 /* end confdefs.h. */
7529 #include <sys/types.h>
7530 #include <sys/stat.h>
7532 #if defined S_ISBLK && defined S_IFDIR
7533 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7534 #endif
7536 #if defined S_ISBLK && defined S_IFCHR
7537 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7538 #endif
7540 #if defined S_ISLNK && defined S_IFREG
7541 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7542 #endif
7544 #if defined S_ISSOCK && defined S_IFREG
7545 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7546 #endif
7548 _ACEOF
7549 if ac_fn_c_try_compile "$LINENO"; then :
7550 ac_cv_header_stat_broken=no
7551 else
7552 ac_cv_header_stat_broken=yes
7554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7557 $as_echo "$ac_cv_header_stat_broken" >&6; }
7558 if test $ac_cv_header_stat_broken = yes; then
7560 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7566 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7567 do :
7568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7569 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7570 #ifdef HAVE_SYS_PARAM_H
7571 # include <sys/param.h>
7572 #endif
7574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7575 cat >>confdefs.h <<_ACEOF
7576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7577 _ACEOF
7581 done
7584 for ac_header in \
7585 netinet/ip.h \
7586 net/if.h \
7587 net/if_arp.h \
7588 net/if_dl.h \
7589 net/if_types.h \
7590 net/route.h \
7591 netinet/if_ether.h \
7592 netinet/if_inarp.h \
7593 netinet/in_pcb.h \
7594 netinet/ip_icmp.h \
7595 netinet/ip_var.h \
7596 netinet/udp.h \
7597 netipx/ipx.h \
7598 sys/un.h \
7600 do :
7601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7602 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7603 #ifdef HAVE_SYS_SOCKET_H
7604 # include <sys/socket.h>
7605 #endif
7606 #ifdef HAVE_SYS_SOCKETVAR_H
7607 # include <sys/socketvar.h>
7608 #endif
7609 #ifdef HAVE_NET_ROUTE_H
7610 # include <net/route.h>
7611 #endif
7612 #ifdef HAVE_NETINET_IN_H
7613 # include <netinet/in.h>
7614 #endif
7615 #ifdef HAVE_NETINET_IN_SYSTM_H
7616 # include <netinet/in_systm.h>
7617 #endif
7618 #ifdef HAVE_NET_IF_H
7619 # include <net/if.h>
7620 #endif
7621 #ifdef HAVE_NETINET_IP_H
7622 # include <netinet/ip.h>
7623 #endif
7625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7626 cat >>confdefs.h <<_ACEOF
7627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7628 _ACEOF
7632 done
7635 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7636 do :
7637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7638 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7639 #ifdef HAVE_ALIAS_H
7640 # include <alias.h>
7641 #endif
7642 #ifdef HAVE_SYS_SOCKET_H
7643 # include <sys/socket.h>
7644 #endif
7645 #ifdef HAVE_SYS_SOCKETVAR_H
7646 # include <sys/socketvar.h>
7647 #endif
7648 #ifdef HAVE_SYS_TIMEOUT_H
7649 # include <sys/timeout.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IN_H
7652 # include <netinet/in.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IN_SYSTM_H
7655 # include <netinet/in_systm.h>
7656 #endif
7657 #ifdef HAVE_NETINET_IP_H
7658 # include <netinet/ip.h>
7659 #endif
7660 #ifdef HAVE_NETINET_IP_VAR_H
7661 # include <netinet/ip_var.h>
7662 #endif
7663 #ifdef HAVE_NETINET_IP_ICMP_H
7664 # include <netinet/ip_icmp.h>
7665 #endif
7666 #ifdef HAVE_NETINET_UDP_H
7667 # include <netinet/udp.h>
7668 #endif
7669 #ifdef HAVE_NETINET_TCP_H
7670 # include <netinet/tcp.h>
7671 #endif
7672 #ifdef HAVE_NETINET_TCP_TIMER_H
7673 #include <netinet/tcp_timer.h>
7674 #endif
7676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7677 cat >>confdefs.h <<_ACEOF
7678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7679 _ACEOF
7683 done
7686 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7687 do :
7688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7689 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7690 #ifdef HAVE_ASM_TYPES_H
7691 # include <asm/types.h>
7692 #endif
7693 #ifdef HAVE_SYS_SOCKET_H
7694 # include <sys/socket.h>
7695 #endif
7696 #ifdef HAVE_LINUX_TYPES_H
7697 # include <linux/types.h>
7698 #endif
7700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7701 cat >>confdefs.h <<_ACEOF
7702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 _ACEOF
7707 done
7710 for ac_header in mach-o/dyld_images.h
7711 do :
7712 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7713 # include <stdbool.h>
7714 #endif
7715 #ifdef HAVE_STDINT_H
7716 # include <stdint.h>
7717 #endif
7719 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7720 cat >>confdefs.h <<_ACEOF
7721 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7722 _ACEOF
7726 done
7729 for ac_header in resolv.h
7730 do :
7731 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7732 #ifdef HAVE_SYS_SOCKET_H
7733 # include <sys/socket.h>
7734 #endif
7735 #ifdef HAVE_NETINET_IN_H
7736 # include <netinet/in.h>
7737 #endif
7738 #ifdef HAVE_ARPA_NAMESER_H
7739 # include <arpa/nameser.h>
7740 #endif
7742 if test "x$ac_cv_header_resolv_h" = xyes; then :
7743 cat >>confdefs.h <<_ACEOF
7744 #define HAVE_RESOLV_H 1
7745 _ACEOF
7749 done
7752 for ac_header in ifaddrs.h
7753 do :
7754 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7756 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7757 cat >>confdefs.h <<_ACEOF
7758 #define HAVE_IFADDRS_H 1
7759 _ACEOF
7763 done
7766 for ac_header in sys/ucontext.h
7767 do :
7768 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7770 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_SYS_UCONTEXT_H 1
7773 _ACEOF
7777 done
7780 for ac_header in sys/thr.h
7781 do :
7782 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7783 #ifdef HAVE_SYS_UCONTEXT_H
7784 #include <sys/ucontext.h>
7785 #endif
7787 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_SYS_THR_H 1
7790 _ACEOF
7794 done
7797 for ac_header in pthread_np.h
7798 do :
7799 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7800 #include <pthread.h>
7801 #endif
7803 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7804 cat >>confdefs.h <<_ACEOF
7805 #define HAVE_PTHREAD_NP_H 1
7806 _ACEOF
7810 done
7813 for ac_header in linux/videodev2.h
7814 do :
7815 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7816 #include <sys/time.h>
7817 #endif
7818 #include <sys/types.h>
7819 #ifdef HAVE_ASM_TYPES_H
7820 #include <asm/types.h>
7821 #endif
7823 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_LINUX_VIDEODEV2_H 1
7826 _ACEOF
7830 done
7833 for ac_header in libprocstat.h
7834 do :
7835 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7836 #include <sys/param.h>
7837 #endif
7838 #ifdef HAVE_SYS_QUEUE_H
7839 #include <sys/queue.h>
7840 #endif
7841 #ifdef HAVE_SYS_SOCKET_H
7842 #include <sys/socket.h>
7843 #endif
7845 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_LIBPROCSTAT_H 1
7848 _ACEOF
7852 done
7856 DLLFLAGS="-D_REENTRANT"
7858 LDRPATH_INSTALL=""
7860 LDRPATH_LOCAL=""
7862 LDDLLFLAGS=""
7864 LDEXECFLAGS=""
7866 TOP_INSTALL_LIB=""
7868 TOP_INSTALL_DEV=""
7870 WINELOADER_LDFLAGS=""
7872 WINEPRELOADER_LDFLAGS=""
7874 LIBEXT="so"
7875 DLLEXT=".so"
7876 # Extract the first word of "ldd", so it can be a program name with args.
7877 set dummy ldd; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_path_LDD+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 case $LDD in
7884 [\\/]* | ?:[\\/]*)
7885 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 as_dummy="/sbin:/usr/sbin:$PATH"
7890 for as_dir in $as_dummy
7892 IFS=$as_save_IFS
7893 test -z "$as_dir" && as_dir=.
7894 for ac_exec_ext in '' $ac_executable_extensions; do
7895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7896 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7898 break 2
7900 done
7901 done
7902 IFS=$as_save_IFS
7904 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7906 esac
7908 LDD=$ac_cv_path_LDD
7909 if test -n "$LDD"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7911 $as_echo "$LDD" >&6; }
7912 else
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7918 if test -n "$ac_tool_prefix"; then
7919 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7920 set dummy ${ac_tool_prefix}otool; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7922 $as_echo_n "checking for $ac_word... " >&6; }
7923 if ${ac_cv_prog_OTOOL+:} false; then :
7924 $as_echo_n "(cached) " >&6
7925 else
7926 if test -n "$OTOOL"; then
7927 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7928 else
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 for as_dir in $PATH
7932 IFS=$as_save_IFS
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 break 2
7940 done
7941 done
7942 IFS=$as_save_IFS
7946 OTOOL=$ac_cv_prog_OTOOL
7947 if test -n "$OTOOL"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7949 $as_echo "$OTOOL" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7957 if test -z "$ac_cv_prog_OTOOL"; then
7958 ac_ct_OTOOL=$OTOOL
7959 # Extract the first word of "otool", so it can be a program name with args.
7960 set dummy otool; ac_word=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7962 $as_echo_n "checking for $ac_word... " >&6; }
7963 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 if test -n "$ac_ct_OTOOL"; then
7967 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7968 else
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 for as_dir in $PATH
7972 IFS=$as_save_IFS
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_prog_ac_ct_OTOOL="otool"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 break 2
7980 done
7981 done
7982 IFS=$as_save_IFS
7986 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7987 if test -n "$ac_ct_OTOOL"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7989 $as_echo "$ac_ct_OTOOL" >&6; }
7990 else
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7995 if test "x$ac_ct_OTOOL" = x; then
7996 OTOOL="otool"
7997 else
7998 case $cross_compiling:$ac_tool_warned in
7999 yes:)
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8002 ac_tool_warned=yes ;;
8003 esac
8004 OTOOL=$ac_ct_OTOOL
8006 else
8007 OTOOL="$ac_cv_prog_OTOOL"
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_READELF+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$READELF"; then
8019 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 READELF=$ac_cv_prog_READELF
8039 if test -n "$READELF"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8041 $as_echo "$READELF" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_READELF"; then
8050 ac_ct_READELF=$READELF
8051 # Extract the first word of "readelf", so it can be a program name with args.
8052 set dummy readelf; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 if test -n "$ac_ct_READELF"; then
8059 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8060 else
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 for as_dir in $PATH
8064 IFS=$as_save_IFS
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_READELF="readelf"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 break 2
8072 done
8073 done
8074 IFS=$as_save_IFS
8078 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8079 if test -n "$ac_ct_READELF"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8081 $as_echo "$ac_ct_READELF" >&6; }
8082 else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_READELF" = x; then
8088 READELF="true"
8089 else
8090 case $cross_compiling:$ac_tool_warned in
8091 yes:)
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned=yes ;;
8095 esac
8096 READELF=$ac_ct_READELF
8098 else
8099 READELF="$ac_cv_prog_READELF"
8102 wine_rules_file=conf$$rules.make
8103 rm -f $wine_rules_file
8104 SUBDIRS=""
8106 DISABLED_SUBDIRS=""
8108 CONFIGURE_TARGETS=""
8111 wine_fn_append_file ()
8113 as_fn_append $1 " \\$as_nl $2"
8116 wine_fn_append_rule ()
8118 $as_echo "$1" >>$wine_rules_file
8121 wine_fn_config_makefile ()
8123 wine_fn_append_file SUBDIRS $1
8124 if eval test \"x\$"$2"\" = x"no"; then :
8125 wine_fn_append_file DISABLED_SUBDIRS $1
8129 wine_fn_config_symlink ()
8131 ac_links=$@
8132 wine_fn_append_rule \
8133 "$ac_links:
8134 @./config.status \$@"
8135 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8138 wine_binary="wine"
8139 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8140 WINELOADER_PROGRAMS="$wine_binary"
8142 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8144 case $host_os in
8145 cygwin*|mingw32*)
8146 if test -n "$ac_tool_prefix"; then
8147 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8148 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_DLLTOOL+:} false; then :
8152 $as_echo_n "(cached) " >&6
8153 else
8154 if test -n "$DLLTOOL"; then
8155 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8156 else
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 for as_dir in $PATH
8160 IFS=$as_save_IFS
8161 test -z "$as_dir" && as_dir=.
8162 for ac_exec_ext in '' $ac_executable_extensions; do
8163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 break 2
8168 done
8169 done
8170 IFS=$as_save_IFS
8174 DLLTOOL=$ac_cv_prog_DLLTOOL
8175 if test -n "$DLLTOOL"; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8177 $as_echo "$DLLTOOL" >&6; }
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8185 if test -z "$ac_cv_prog_DLLTOOL"; then
8186 ac_ct_DLLTOOL=$DLLTOOL
8187 # Extract the first word of "dlltool", so it can be a program name with args.
8188 set dummy dlltool; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190 $as_echo_n "checking for $ac_word... " >&6; }
8191 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8192 $as_echo_n "(cached) " >&6
8193 else
8194 if test -n "$ac_ct_DLLTOOL"; then
8195 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8196 else
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 for as_dir in $PATH
8200 IFS=$as_save_IFS
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8204 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8206 break 2
8208 done
8209 done
8210 IFS=$as_save_IFS
8214 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8215 if test -n "$ac_ct_DLLTOOL"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8217 $as_echo "$ac_ct_DLLTOOL" >&6; }
8218 else
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8223 if test "x$ac_ct_DLLTOOL" = x; then
8224 DLLTOOL="false"
8225 else
8226 case $cross_compiling:$ac_tool_warned in
8227 yes:)
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8230 ac_tool_warned=yes ;;
8231 esac
8232 DLLTOOL=$ac_ct_DLLTOOL
8234 else
8235 DLLTOOL="$ac_cv_prog_DLLTOOL"
8238 LIBEXT="dll"
8239 DLLEXT=""
8240 case $host_cpu in
8241 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8242 esac
8243 enable_iphlpapi=${enable_iphlpapi:-no}
8244 enable_kernel32=${enable_kernel32:-no}
8245 enable_ntdll=${enable_ntdll:-no}
8246 enable_ws2_32=${enable_ws2_32:-no}
8247 enable_loader=${enable_loader:-no}
8248 enable_server=${enable_server:-no}
8249 with_x=${with_x:-no}
8250 with_pthread=${with_pthread:-no}
8253 darwin*|macosx*)
8254 for ac_header in libunwind.h
8255 do :
8256 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8258 cat >>confdefs.h <<_ACEOF
8259 #define HAVE_LIBUNWIND_H 1
8260 _ACEOF
8264 done
8266 ac_ext=m
8267 ac_cpp='$OBJCPP $CPPFLAGS'
8268 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8269 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8270 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8272 ac_ext=m
8273 ac_cpp='$OBJCPP $CPPFLAGS'
8274 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8275 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8276 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8277 if test -n "$ac_tool_prefix"; then
8278 for ac_prog in gcc objcc objc cc CC
8280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8281 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_OBJC+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 if test -n "$OBJC"; then
8288 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8293 IFS=$as_save_IFS
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8297 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 break 2
8301 done
8302 done
8303 IFS=$as_save_IFS
8307 OBJC=$ac_cv_prog_OBJC
8308 if test -n "$OBJC"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8310 $as_echo "$OBJC" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8317 test -n "$OBJC" && break
8318 done
8320 if test -z "$OBJC"; then
8321 ac_ct_OBJC=$OBJC
8322 for ac_prog in gcc objcc objc cc CC
8324 # Extract the first word of "$ac_prog", so it can be a program name with args.
8325 set dummy $ac_prog; ac_word=$2
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8327 $as_echo_n "checking for $ac_word... " >&6; }
8328 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 if test -n "$ac_ct_OBJC"; then
8332 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8333 else
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335 for as_dir in $PATH
8337 IFS=$as_save_IFS
8338 test -z "$as_dir" && as_dir=.
8339 for ac_exec_ext in '' $ac_executable_extensions; do
8340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8343 break 2
8345 done
8346 done
8347 IFS=$as_save_IFS
8351 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8352 if test -n "$ac_ct_OBJC"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8354 $as_echo "$ac_ct_OBJC" >&6; }
8355 else
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8357 $as_echo "no" >&6; }
8361 test -n "$ac_ct_OBJC" && break
8362 done
8364 if test "x$ac_ct_OBJC" = x; then
8365 OBJC="gcc"
8366 else
8367 case $cross_compiling:$ac_tool_warned in
8368 yes:)
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8371 ac_tool_warned=yes ;;
8372 esac
8373 OBJC=$ac_ct_OBJC
8377 # Provide some information about the compiler.
8378 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8379 set X $ac_compile
8380 ac_compiler=$2
8381 for ac_option in --version -v -V -qversion; do
8382 { { ac_try="$ac_compiler $ac_option >&5"
8383 case "(($ac_try" in
8384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8385 *) ac_try_echo=$ac_try;;
8386 esac
8387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8388 $as_echo "$ac_try_echo"; } >&5
8389 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8390 ac_status=$?
8391 if test -s conftest.err; then
8392 sed '10a\
8393 ... rest of stderr output deleted ...
8394 10q' conftest.err >conftest.er1
8395 cat conftest.er1 >&5
8397 rm -f conftest.er1 conftest.err
8398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8399 test $ac_status = 0; }
8400 done
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8403 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8404 if ${ac_cv_objc_compiler_gnu+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8411 main ()
8413 #ifndef __GNUC__
8414 choke me
8415 #endif
8418 return 0;
8420 _ACEOF
8421 if ac_fn_objc_try_compile "$LINENO"; then :
8422 ac_compiler_gnu=yes
8423 else
8424 ac_compiler_gnu=no
8426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8427 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8431 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8432 if test $ac_compiler_gnu = yes; then
8433 GOBJC=yes
8434 else
8435 GOBJC=
8437 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8438 ac_save_OBJCFLAGS=$OBJCFLAGS
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8440 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8441 if ${ac_cv_prog_objc_g+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_save_objc_werror_flag=$ac_objc_werror_flag
8445 ac_objc_werror_flag=yes
8446 ac_cv_prog_objc_g=no
8447 OBJCFLAGS="-g"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_objc_try_compile "$LINENO"; then :
8460 ac_cv_prog_objc_g=yes
8461 else
8462 OBJCFLAGS=""
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8467 main ()
8471 return 0;
8473 _ACEOF
8474 if ac_fn_objc_try_compile "$LINENO"; then :
8476 else
8477 ac_objc_werror_flag=$ac_save_objc_werror_flag
8478 OBJCFLAGS="-g"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8483 main ()
8487 return 0;
8489 _ACEOF
8490 if ac_fn_objc_try_compile "$LINENO"; then :
8491 ac_cv_prog_objc_g=yes
8493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8498 ac_objc_werror_flag=$ac_save_objc_werror_flag
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8501 $as_echo "$ac_cv_prog_objc_g" >&6; }
8502 if test "$ac_test_OBJCFLAGS" = set; then
8503 OBJCFLAGS=$ac_save_OBJCFLAGS
8504 elif test $ac_cv_prog_objc_g = yes; then
8505 if test "$GOBJC" = yes; then
8506 OBJCFLAGS="-g -O2"
8507 else
8508 OBJCFLAGS="-g"
8510 else
8511 if test "$GOBJC" = yes; then
8512 OBJCFLAGS="-O2"
8513 else
8514 OBJCFLAGS=
8517 ac_ext=m
8518 ac_cpp='$OBJCPP $CPPFLAGS'
8519 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8520 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8521 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8524 ac_ext=m
8525 ac_cpp='$OBJCPP $CPPFLAGS'
8526 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8527 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8528 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8530 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8531 if test -z "$OBJCPP"; then
8532 if ${ac_cv_prog_OBJCPP+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 # Double quotes because OBJCPP needs to be expanded
8536 for OBJCPP in "$OBJC -E" "/lib/cpp"
8538 ac_preproc_ok=false
8539 for ac_objc_preproc_warn_flag in '' yes
8541 # Use a header file that comes with gcc, so configuring glibc
8542 # with a fresh cross-compiler works.
8543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8544 # <limits.h> exists even on freestanding compilers.
8545 # On the NeXT, cc -E runs the code through the compiler's parser,
8546 # not just through cpp. "Syntax error" is here to catch this case.
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8549 #ifdef __STDC__
8550 # include <limits.h>
8551 #else
8552 # include <assert.h>
8553 #endif
8554 Syntax error
8555 _ACEOF
8556 if ac_fn_objc_try_cpp "$LINENO"; then :
8558 else
8559 # Broken: fails on valid input.
8560 continue
8562 rm -f conftest.err conftest.i conftest.$ac_ext
8564 # OK, works on sane cases. Now check whether nonexistent headers
8565 # can be detected and how.
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8568 #include <ac_nonexistent.h>
8569 _ACEOF
8570 if ac_fn_objc_try_cpp "$LINENO"; then :
8571 # Broken: success on invalid input.
8572 continue
8573 else
8574 # Passes both tests.
8575 ac_preproc_ok=:
8576 break
8578 rm -f conftest.err conftest.i conftest.$ac_ext
8580 done
8581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8582 rm -f conftest.i conftest.err conftest.$ac_ext
8583 if $ac_preproc_ok; then :
8584 break
8587 done
8588 ac_cv_prog_OBJCPP=$OBJCPP
8591 OBJCPP=$ac_cv_prog_OBJCPP
8592 else
8593 ac_cv_prog_OBJCPP=$OBJCPP
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8596 $as_echo "$OBJCPP" >&6; }
8597 ac_preproc_ok=false
8598 for ac_objc_preproc_warn_flag in '' yes
8600 # Use a header file that comes with gcc, so configuring glibc
8601 # with a fresh cross-compiler works.
8602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8603 # <limits.h> exists even on freestanding compilers.
8604 # On the NeXT, cc -E runs the code through the compiler's parser,
8605 # not just through cpp. "Syntax error" is here to catch this case.
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 #ifdef __STDC__
8609 # include <limits.h>
8610 #else
8611 # include <assert.h>
8612 #endif
8613 Syntax error
8614 _ACEOF
8615 if ac_fn_objc_try_cpp "$LINENO"; then :
8617 else
8618 # Broken: fails on valid input.
8619 continue
8621 rm -f conftest.err conftest.i conftest.$ac_ext
8623 # OK, works on sane cases. Now check whether nonexistent headers
8624 # can be detected and how.
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 #include <ac_nonexistent.h>
8628 _ACEOF
8629 if ac_fn_objc_try_cpp "$LINENO"; then :
8630 # Broken: success on invalid input.
8631 continue
8632 else
8633 # Passes both tests.
8634 ac_preproc_ok=:
8635 break
8637 rm -f conftest.err conftest.i conftest.$ac_ext
8639 done
8640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8641 rm -f conftest.i conftest.err conftest.$ac_ext
8642 if $ac_preproc_ok; then :
8644 else
8645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8647 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8648 See \`config.log' for more details" "$LINENO" 5; }
8651 ac_ext=m
8652 ac_cpp='$OBJCPP $CPPFLAGS'
8653 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8654 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8655 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8658 for ac_header in Metal/Metal.h
8659 do :
8660 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8661 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8662 cat >>confdefs.h <<_ACEOF
8663 #define HAVE_METAL_METAL_H 1
8664 _ACEOF
8668 done
8670 ac_ext=c
8671 ac_cpp='$CPP $CPPFLAGS'
8672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8676 LIBEXT="dylib"
8677 DLLFLAGS="$DLLFLAGS -fPIC"
8678 LDDLLFLAGS="-fPIC"
8679 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8680 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8681 COREFOUNDATION_LIBS="-framework CoreFoundation"
8683 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8685 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8687 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8689 CORESERVICES_LIBS="-framework CoreServices"
8691 APPKIT_LIBS="-framework AppKit"
8694 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8696 wine_can_build_preloader=yes
8697 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8699 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8700 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__Wl__no_new_main__e__main=yes
8711 else
8712 ac_cv_cflags__Wl__no_new_main__e__main=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8719 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8720 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8721 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8723 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8724 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 ac_wine_try_cflags_saved=$CFLAGS
8728 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 int main(int argc, char **argv) { return 0; }
8732 _ACEOF
8733 if ac_fn_c_try_link "$LINENO"; then :
8734 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8735 else
8736 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 CFLAGS=$ac_wine_try_cflags_saved
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8743 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8744 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8745 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8746 else
8747 { $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
8748 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8749 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8760 else
8761 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 CFLAGS=$ac_wine_try_cflags_saved
8767 { $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
8768 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8769 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8770 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8771 else
8772 wine_can_build_preloader=no
8775 else
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8777 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8778 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 ac_wine_try_cflags_saved=$CFLAGS
8782 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 int main(int argc, char **argv) { return 0; }
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8789 else
8790 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 CFLAGS=$ac_wine_try_cflags_saved
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8797 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8798 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8799 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8800 else
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8802 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8803 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 ac_wine_try_cflags_saved=$CFLAGS
8807 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8810 int main(int argc, char **argv) { return 0; }
8811 _ACEOF
8812 if ac_fn_c_try_link "$LINENO"; then :
8813 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8814 else
8815 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 CFLAGS=$ac_wine_try_cflags_saved
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8822 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8823 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8824 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8825 else
8826 wine_can_build_preloader=no
8830 if test "$wine_can_build_preloader" = "yes"
8831 then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8833 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8834 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -Wl,-no_pie"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8841 int main(int argc, char **argv) { return 0; }
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_cflags__Wl__no_pie=yes
8845 else
8846 ac_cv_cflags__Wl__no_pie=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 CFLAGS=$ac_wine_try_cflags_saved
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8853 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8854 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8855 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8857 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8858 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8859 else
8860 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8863 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8864 then
8865 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8868 if test "$ac_cv_header_Security_Security_h" = "yes"
8869 then
8870 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8872 ac_save_LIBS="$LIBS"
8873 LIBS="$LIBS $SECURITY_LIBS"
8874 for ac_func in SSLCopyPeerCertificates
8875 do :
8876 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8877 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8878 cat >>confdefs.h <<_ACEOF
8879 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8880 _ACEOF
8883 done
8885 LIBS="$ac_save_LIBS"
8887 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8888 then
8889 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8890 then
8891 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8893 else
8894 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8897 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8898 ac_save_LIBS="$LIBS"
8899 LIBS="$LIBS $COREAUDIO_LIBS"
8900 for ac_func in AUGraphAddNode
8901 do :
8902 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8903 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8904 cat >>confdefs.h <<_ACEOF
8905 #define HAVE_AUGRAPHADDNODE 1
8906 _ACEOF
8909 done
8911 LIBS="$ac_save_LIBS"
8913 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8914 then
8915 OPENAL_LIBS="-framework OpenAL"
8918 cat >>confdefs.h <<_ACEOF
8919 #define HAVE_OPENAL 1
8920 _ACEOF
8922 ac_cv_lib_openal=yes
8924 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8925 then
8926 OPENCL_LIBS="-framework OpenCL"
8928 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8930 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8931 then
8932 ac_save_LIBS="$LIBS"
8933 LIBS="$LIBS $IOKIT_LIBS"
8934 for ac_func in IOHIDManagerCreate
8935 do :
8936 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8937 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8938 cat >>confdefs.h <<_ACEOF
8939 #define HAVE_IOHIDMANAGERCREATE 1
8940 _ACEOF
8943 done
8945 LIBS="$ac_save_LIBS"
8947 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8948 then
8949 ac_save_LIBS="$LIBS"
8950 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8952 $as_echo_n "checking for the QuickTime framework... " >&6; }
8953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8954 /* end confdefs.h. */
8955 #include <QuickTime/ImageCompression.h>
8957 main ()
8959 CodecManagerVersion(NULL);
8961 return 0;
8963 _ACEOF
8964 if ac_fn_c_try_link "$LINENO"; then :
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8966 $as_echo "yes" >&6; }
8967 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8969 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8970 else
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8973 ac_cv_header_QuickTime_ImageCompression_h=no
8975 rm -f core conftest.err conftest.$ac_objext \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LIBS="$ac_save_LIBS"
8979 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8980 then
8981 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8983 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8984 then
8985 CARBON_LIBS="-framework Carbon"
8988 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8989 then
8990 METAL_LIBS="-framework Metal -framework QuartzCore"
8994 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8995 then
8996 ac_save_LIBS="$LIBS"
8997 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8998 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8999 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9000 enable_winemac_drv=${enable_winemac_drv:-yes}
9003 LIBS="$ac_save_LIBS"
9006 if test "x$enable_win16" = "xyes"
9007 then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9009 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9010 if test "$cross_compiling" = yes; then :
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9012 $as_echo "cross-compiling, assuming yes" >&6; }
9013 else
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9016 asm(".text\n"
9017 "bad:\tnop;nop\n"
9018 "good:\tnop;nop\n\t"
9019 ".globl _testfunc\n"
9020 "_testfunc:\tcallw good");
9021 extern void testfunc();
9023 main ()
9025 unsigned short *p = (unsigned short *)testfunc;
9026 return p[0] != 0xe866 || p[1] != 0xfffa
9028 return 0;
9030 _ACEOF
9031 if ac_fn_c_try_run "$LINENO"; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9033 $as_echo "yes" >&6; }
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9037 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
9039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9040 conftest.$ac_objext conftest.beam conftest.$ac_ext
9045 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9047 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9049 WINELOADER_DEPENDS="wine_info.plist"
9051 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9052 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9055 linux-android*)
9056 DLLFLAGS="$DLLFLAGS -fPIC"
9057 LDDLLFLAGS="-fPIC"
9058 LDEXECFLAGS="-Wl,-pie"
9059 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9061 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9062 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 ac_wine_try_cflags_saved=$CFLAGS
9066 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 int main(int argc, char **argv) { return 0; }
9070 _ACEOF
9071 if ac_fn_c_try_link "$LINENO"; then :
9072 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9073 else
9074 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9076 rm -f core conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext
9078 CFLAGS=$ac_wine_try_cflags_saved
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9081 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9082 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9083 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9085 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9086 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9088 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9089 if eval \${$as_ac_var+:} false; then :
9090 $as_echo_n "(cached) " >&6
9091 else
9092 ac_wine_try_cflags_saved=$CFLAGS
9093 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9096 int main(int argc, char **argv) { return 0; }
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 eval "$as_ac_var=yes"
9100 else
9101 eval "$as_ac_var=no"
9103 rm -f core conftest.err conftest.$ac_objext \
9104 conftest$ac_exeext conftest.$ac_ext
9105 CFLAGS=$ac_wine_try_cflags_saved
9107 eval ac_res=\$$as_ac_var
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9109 $as_echo "$ac_res" >&6; }
9110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9111 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9112 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9113 else
9114 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9116 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9117 if eval \${$as_ac_var+:} false; then :
9118 $as_echo_n "(cached) " >&6
9119 else
9120 ac_wine_try_cflags_saved=$CFLAGS
9121 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9124 int main(int argc, char **argv) { return 0; }
9125 _ACEOF
9126 if ac_fn_c_try_link "$LINENO"; then :
9127 eval "$as_ac_var=yes"
9128 else
9129 eval "$as_ac_var=no"
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 CFLAGS=$ac_wine_try_cflags_saved
9135 eval ac_res=\$$as_ac_var
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9137 $as_echo "$ac_res" >&6; }
9138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9139 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9140 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9144 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9145 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 ac_wine_try_cflags_saved=$CFLAGS
9149 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
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 ac_cv_cflags__Wl___enable_new_dtags=yes
9156 else
9157 ac_cv_cflags__Wl___enable_new_dtags=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9164 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9165 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9166 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9169 LIBWINE_SHAREDLIB="libwine.so"
9171 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9173 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9176 $as_echo_n "checking for -lEGL... " >&6; }
9177 if ${ac_cv_lib_soname_EGL+:} false; then :
9178 $as_echo_n "(cached) " >&6
9179 else
9180 ac_check_soname_save_LIBS=$LIBS
9181 LIBS="-lEGL $LIBS"
9182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9185 /* Override any GCC internal prototype to avoid an error.
9186 Use char because int might match the return type of a GCC
9187 builtin and then its argument prototype would still apply. */
9188 #ifdef __cplusplus
9189 extern "C"
9190 #endif
9191 char eglGetProcAddress ();
9193 main ()
9195 return eglGetProcAddress ();
9197 return 0;
9199 _ACEOF
9200 if ac_fn_c_try_link "$LINENO"; then :
9201 case "$LIBEXT" in
9202 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9203 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'` ;;
9204 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9205 if ${ac_cv_lib_soname_EGL:+false} :; then :
9206 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9207 fi ;;
9208 esac
9209 else
9210 ac_cv_lib_soname_EGL=
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 LIBS=$ac_check_soname_save_LIBS
9216 if ${ac_cv_lib_soname_EGL:+false} :; then :
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9218 $as_echo "not found" >&6; }
9220 else
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9222 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9224 cat >>confdefs.h <<_ACEOF
9225 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9226 _ACEOF
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9231 $as_echo_n "checking for -lGLESv2... " >&6; }
9232 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9233 $as_echo_n "(cached) " >&6
9234 else
9235 ac_check_soname_save_LIBS=$LIBS
9236 LIBS="-lGLESv2 $LIBS"
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9240 /* Override any GCC internal prototype to avoid an error.
9241 Use char because int might match the return type of a GCC
9242 builtin and then its argument prototype would still apply. */
9243 #ifdef __cplusplus
9244 extern "C"
9245 #endif
9246 char glFlush ();
9248 main ()
9250 return glFlush ();
9252 return 0;
9254 _ACEOF
9255 if ac_fn_c_try_link "$LINENO"; then :
9256 case "$LIBEXT" in
9257 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9258 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'` ;;
9259 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9260 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9261 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9262 fi ;;
9263 esac
9264 else
9265 ac_cv_lib_soname_GLESv2=
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_soname_save_LIBS
9271 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9273 $as_echo "not found" >&6; }
9275 else
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9277 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9279 cat >>confdefs.h <<_ACEOF
9280 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9281 _ACEOF
9286 if test "x$exec_prefix" = xNONE
9287 then
9288 case $host_cpu in
9289 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9290 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9291 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9292 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9293 esac
9298 case $host_cpu in
9299 *i[3456789]86*)
9300 DLLFLAGS="$DLLFLAGS -fno-PIC"
9301 LDDLLFLAGS="-fno-PIC" ;;
9303 DLLFLAGS="$DLLFLAGS -fPIC"
9304 LDDLLFLAGS="-fPIC" ;;
9305 esac
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9307 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9308 if ${ac_cv_c_dll_gnuelf+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_wine_try_cflags_saved=$CFLAGS
9312 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9315 void myfunc() {}
9316 _ACEOF
9317 if ac_fn_c_try_link "$LINENO"; then :
9318 ac_cv_c_dll_gnuelf="yes"
9319 else
9320 ac_cv_c_dll_gnuelf="no"
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 CFLAGS=$ac_wine_try_cflags_saved
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9327 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9328 if test "$ac_cv_c_dll_gnuelf" = "yes"
9329 then
9330 LIBWINE_LDFLAGS="-shared"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9332 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9333 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_wine_try_cflags_saved=$CFLAGS
9337 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9340 int main(int argc, char **argv) { return 0; }
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9344 else
9345 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 CFLAGS=$ac_wine_try_cflags_saved
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9352 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9353 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9354 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9355 else
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9383 echo '{ global: *; };' >conftest.map
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9385 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9386 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_wine_try_cflags_saved=$CFLAGS
9390 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9393 int main(int argc, char **argv) { return 0; }
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9397 else
9398 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 CFLAGS=$ac_wine_try_cflags_saved
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9405 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9406 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9407 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9409 rm -f conftest.map
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9412 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9413 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_cflags__Wl___export_dynamic=yes
9424 else
9425 ac_cv_cflags__Wl___export_dynamic=no
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 CFLAGS=$ac_wine_try_cflags_saved
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9432 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9436 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9438 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9440 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9441 if eval \${$as_ac_var+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_wine_try_cflags_saved=$CFLAGS
9445 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9448 int main(int argc, char **argv) { return 0; }
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 eval "$as_ac_var=yes"
9452 else
9453 eval "$as_ac_var=no"
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 CFLAGS=$ac_wine_try_cflags_saved
9459 eval ac_res=\$$as_ac_var
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9461 $as_echo "$ac_res" >&6; }
9462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9463 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9464 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9465 else
9466 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9468 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9469 if eval \${$as_ac_var+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"; then :
9479 eval "$as_ac_var=yes"
9480 else
9481 eval "$as_ac_var=no"
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 CFLAGS=$ac_wine_try_cflags_saved
9487 eval ac_res=\$$as_ac_var
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9489 $as_echo "$ac_res" >&6; }
9490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9491 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9492 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9497 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9498 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_wine_try_cflags_saved=$CFLAGS
9502 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9505 int main(int argc, char **argv) { return 0; }
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 ac_cv_cflags__Wl___enable_new_dtags=yes
9509 else
9510 ac_cv_cflags__Wl___enable_new_dtags=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 CFLAGS=$ac_wine_try_cflags_saved
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9517 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9518 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9519 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9522 case $host_cpu in
9523 *i[3456789]86* | x86_64 | *aarch64*)
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9525 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9526 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_wine_try_cflags_saved=$CFLAGS
9530 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533 int main(int argc, char **argv) { return 0; }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9537 else
9538 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 CFLAGS=$ac_wine_try_cflags_saved
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9545 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9546 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9547 case $host_os in
9548 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9549 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9550 esac
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9553 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9554 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_wine_try_cflags_saved=$CFLAGS
9558 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 int main(int argc, char **argv) { return 0; }
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9565 else
9566 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 CFLAGS=$ac_wine_try_cflags_saved
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9573 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9574 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9575 case $host_os in
9576 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9577 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9578 esac
9580 # Extract the first word of "prelink", so it can be a program name with args.
9581 set dummy prelink; ac_word=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if ${ac_cv_path_PRELINK+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 case $PRELINK in
9588 [\\/]* | ?:[\\/]*)
9589 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9593 for as_dir in /sbin /usr/sbin $PATH
9595 IFS=$as_save_IFS
9596 test -z "$as_dir" && as_dir=.
9597 for ac_exec_ext in '' $ac_executable_extensions; do
9598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9599 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9601 break 2
9603 done
9604 done
9605 IFS=$as_save_IFS
9607 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9609 esac
9611 PRELINK=$ac_cv_path_PRELINK
9612 if test -n "$PRELINK"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9614 $as_echo "$PRELINK" >&6; }
9615 else
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 $as_echo "no" >&6; }
9621 if test "x$PRELINK" = xfalse
9622 then
9623 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9627 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9628 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 ac_wine_try_cflags_saved=$CFLAGS
9632 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9635 int main(int argc, char **argv) { return 0; }
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9639 else
9640 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 CFLAGS=$ac_wine_try_cflags_saved
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9647 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9648 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9649 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9652 esac
9654 else
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9656 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9657 if ${ac_cv_c_dll_unixware+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_wine_try_cflags_saved=$CFLAGS
9661 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9664 void myfunc() {}
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 ac_cv_c_dll_unixware="yes"
9668 else
9669 ac_cv_c_dll_unixware="no"
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 CFLAGS=$ac_wine_try_cflags_saved
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9676 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9677 if test "$ac_cv_c_dll_unixware" = "yes"
9678 then
9679 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9682 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9684 LIBWINE_DEPENDS="wine.map"
9686 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9687 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9689 esac
9691 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9692 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9693 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9694 enable_winemac_drv=${enable_winemac_drv:-no}
9695 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9697 CROSSTARGET=""
9699 if test "x$with_mingw" != xno
9700 then
9701 case "x$with_mingw" in
9702 x|xyes) case "$host_cpu" in
9703 aarch64*)
9704 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9705 arm*)
9706 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9707 i[3456789]86*)
9708 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
9709 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9710 mingw32-gcc" ;;
9711 x86_64)
9712 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
9713 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9715 ac_prefix_list="" ;;
9716 esac
9717 for ac_prog in $ac_prefix_list
9719 # Extract the first word of "$ac_prog", so it can be a program name with args.
9720 set dummy $ac_prog; ac_word=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9722 $as_echo_n "checking for $ac_word... " >&6; }
9723 if ${ac_cv_prog_CROSSCC+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 if test -n "$CROSSCC"; then
9727 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9728 else
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 for as_dir in $PATH
9732 IFS=$as_save_IFS
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9736 ac_cv_prog_CROSSCC="$ac_prog"
9737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9738 break 2
9740 done
9741 done
9742 IFS=$as_save_IFS
9746 CROSSCC=$ac_cv_prog_CROSSCC
9747 if test -n "$CROSSCC"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9749 $as_echo "$CROSSCC" >&6; }
9750 else
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 $as_echo "no" >&6; }
9756 test -n "$CROSSCC" && break
9757 done
9758 test -n "$CROSSCC" || CROSSCC="false"
9760 *) CROSSCC=$with_mingw ;;
9761 esac
9762 if test "$CROSSCC" != "false"
9763 then
9764 ac_save_CC="$CC"
9765 saved_CFLAGS=$CFLAGS
9766 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9768 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9771 CC="$CROSSCC"
9772 CFLAGS=$CROSSCFLAGS
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9774 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9775 if ${wine_cv_crosscc+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9782 main ()
9786 return 0;
9788 _ACEOF
9789 if ac_fn_c_try_compile "$LINENO"; then :
9790 wine_cv_crosscc=yes
9791 else
9792 wine_cv_crosscc=no
9794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9797 $as_echo "$wine_cv_crosscc" >&6; }
9798 if test $wine_cv_crosscc = yes
9799 then
9800 set x $CROSSCC
9801 shift
9802 while test $# -ge 1
9804 case "$1" in
9805 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9806 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9807 esac
9808 shift
9809 done
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9812 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9813 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 ac_wine_try_cflags_saved=$CFLAGS
9817 ac_wine_try_cflags_saved_cc=$CC
9818 ac_wine_try_cflags_saved_exeext=$ac_exeext
9819 CFLAGS="$CFLAGS -fno-strict-aliasing"
9820 CC="$CROSSCC"
9821 ac_exeext=".exe"
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9824 int main(int argc, char **argv) { return 0; }
9825 _ACEOF
9826 if ac_fn_c_try_link "$LINENO"; then :
9827 ac_cv_crosscflags__fno_strict_aliasing=yes
9828 else
9829 ac_cv_crosscflags__fno_strict_aliasing=no
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 CFLAGS=$ac_wine_try_cflags_saved
9834 CC=$ac_wine_try_cflags_saved_cc
9835 ac_exeext=$ac_wine_try_cflags_saved_exeext
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9838 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9839 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9840 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9843 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9844 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9845 $as_echo_n "(cached) " >&6
9846 else
9847 ac_wine_try_cflags_saved=$CFLAGS
9848 ac_wine_try_cflags_saved_cc=$CC
9849 ac_wine_try_cflags_saved_exeext=$ac_exeext
9850 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9851 CC="$CROSSCC"
9852 ac_exeext=".exe"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int main(int argc, char **argv) { return 0; }
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9859 else
9860 ac_cv_crosscflags__Werror_unknown_warning_option=no
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 CFLAGS=$ac_wine_try_cflags_saved
9865 CC=$ac_wine_try_cflags_saved_cc
9866 ac_exeext=$ac_wine_try_cflags_saved_exeext
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9869 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9870 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9871 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9874 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9875 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_wine_try_cflags_saved=$CFLAGS
9879 ac_wine_try_cflags_saved_cc=$CC
9880 ac_wine_try_cflags_saved_exeext=$ac_exeext
9881 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9882 CC="$CROSSCC"
9883 ac_exeext=".exe"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 int main(int argc, char **argv) { return 0; }
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9890 else
9891 ac_cv_crosscflags__Wdeclaration_after_statement=no
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 CFLAGS=$ac_wine_try_cflags_saved
9896 CC=$ac_wine_try_cflags_saved_cc
9897 ac_exeext=$ac_wine_try_cflags_saved_exeext
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9900 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9901 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9902 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9905 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9906 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9907 $as_echo_n "(cached) " >&6
9908 else
9909 ac_wine_try_cflags_saved=$CFLAGS
9910 ac_wine_try_cflags_saved_cc=$CC
9911 ac_wine_try_cflags_saved_exeext=$ac_exeext
9912 CFLAGS="$CFLAGS -Wempty-body"
9913 CC="$CROSSCC"
9914 ac_exeext=".exe"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int main(int argc, char **argv) { return 0; }
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9920 ac_cv_crosscflags__Wempty_body=yes
9921 else
9922 ac_cv_crosscflags__Wempty_body=no
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 CFLAGS=$ac_wine_try_cflags_saved
9927 CC=$ac_wine_try_cflags_saved_cc
9928 ac_exeext=$ac_wine_try_cflags_saved_exeext
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9931 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9932 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9933 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9936 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9937 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_wine_try_cflags_saved=$CFLAGS
9941 ac_wine_try_cflags_saved_cc=$CC
9942 ac_wine_try_cflags_saved_exeext=$ac_exeext
9943 CFLAGS="$CFLAGS -Wignored-qualifiers"
9944 CC="$CROSSCC"
9945 ac_exeext=".exe"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9948 int main(int argc, char **argv) { return 0; }
9949 _ACEOF
9950 if ac_fn_c_try_link "$LINENO"; then :
9951 ac_cv_crosscflags__Wignored_qualifiers=yes
9952 else
9953 ac_cv_crosscflags__Wignored_qualifiers=no
9955 rm -f core conftest.err conftest.$ac_objext \
9956 conftest$ac_exeext conftest.$ac_ext
9957 CFLAGS=$ac_wine_try_cflags_saved
9958 CC=$ac_wine_try_cflags_saved_cc
9959 ac_exeext=$ac_wine_try_cflags_saved_exeext
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9962 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9963 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9964 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9967 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9968 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_wine_try_cflags_saved=$CFLAGS
9972 ac_wine_try_cflags_saved_cc=$CC
9973 ac_wine_try_cflags_saved_exeext=$ac_exeext
9974 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9975 CC="$CROSSCC"
9976 ac_exeext=".exe"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int main(int argc, char **argv) { return 0; }
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"; then :
9982 ac_cv_crosscflags__Wpacked_not_aligned=yes
9983 else
9984 ac_cv_crosscflags__Wpacked_not_aligned=no
9986 rm -f core conftest.err conftest.$ac_objext \
9987 conftest$ac_exeext conftest.$ac_ext
9988 CFLAGS=$ac_wine_try_cflags_saved
9989 CC=$ac_wine_try_cflags_saved_cc
9990 ac_exeext=$ac_wine_try_cflags_saved_exeext
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9993 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9994 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9995 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9998 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9999 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_wine_try_cflags_saved=$CFLAGS
10003 ac_wine_try_cflags_saved_cc=$CC
10004 ac_wine_try_cflags_saved_exeext=$ac_exeext
10005 CFLAGS="$CFLAGS -Wpragma-pack"
10006 CC="$CROSSCC"
10007 ac_exeext=".exe"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 int main(int argc, char **argv) { return 0; }
10011 _ACEOF
10012 if ac_fn_c_try_link "$LINENO"; then :
10013 ac_cv_crosscflags__Wpragma_pack=yes
10014 else
10015 ac_cv_crosscflags__Wpragma_pack=no
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 CFLAGS=$ac_wine_try_cflags_saved
10020 CC=$ac_wine_try_cflags_saved_cc
10021 ac_exeext=$ac_wine_try_cflags_saved_exeext
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10024 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10025 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10026 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10029 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10030 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10031 $as_echo_n "(cached) " >&6
10032 else
10033 ac_wine_try_cflags_saved=$CFLAGS
10034 ac_wine_try_cflags_saved_cc=$CC
10035 ac_wine_try_cflags_saved_exeext=$ac_exeext
10036 CFLAGS="$CFLAGS -Wshift-overflow=2"
10037 CC="$CROSSCC"
10038 ac_exeext=".exe"
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10041 int main(int argc, char **argv) { return 0; }
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 ac_cv_crosscflags__Wshift_overflow_2=yes
10045 else
10046 ac_cv_crosscflags__Wshift_overflow_2=no
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 CFLAGS=$ac_wine_try_cflags_saved
10051 CC=$ac_wine_try_cflags_saved_cc
10052 ac_exeext=$ac_wine_try_cflags_saved_exeext
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10055 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10056 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10057 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10060 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10061 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_wine_try_cflags_saved=$CFLAGS
10065 ac_wine_try_cflags_saved_cc=$CC
10066 ac_wine_try_cflags_saved_exeext=$ac_exeext
10067 CFLAGS="$CFLAGS -Wstrict-prototypes"
10068 CC="$CROSSCC"
10069 ac_exeext=".exe"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10072 int main(int argc, char **argv) { return 0; }
10073 _ACEOF
10074 if ac_fn_c_try_link "$LINENO"; then :
10075 ac_cv_crosscflags__Wstrict_prototypes=yes
10076 else
10077 ac_cv_crosscflags__Wstrict_prototypes=no
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 CFLAGS=$ac_wine_try_cflags_saved
10082 CC=$ac_wine_try_cflags_saved_cc
10083 ac_exeext=$ac_wine_try_cflags_saved_exeext
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10086 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10087 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10088 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10091 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10092 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10093 $as_echo_n "(cached) " >&6
10094 else
10095 ac_wine_try_cflags_saved=$CFLAGS
10096 ac_wine_try_cflags_saved_cc=$CC
10097 ac_wine_try_cflags_saved_exeext=$ac_exeext
10098 CFLAGS="$CFLAGS -Wtype-limits"
10099 CC="$CROSSCC"
10100 ac_exeext=".exe"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10103 int main(int argc, char **argv) { return 0; }
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"; then :
10106 ac_cv_crosscflags__Wtype_limits=yes
10107 else
10108 ac_cv_crosscflags__Wtype_limits=no
10110 rm -f core conftest.err conftest.$ac_objext \
10111 conftest$ac_exeext conftest.$ac_ext
10112 CFLAGS=$ac_wine_try_cflags_saved
10113 CC=$ac_wine_try_cflags_saved_cc
10114 ac_exeext=$ac_wine_try_cflags_saved_exeext
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10117 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10118 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10119 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10122 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10123 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10124 $as_echo_n "(cached) " >&6
10125 else
10126 ac_wine_try_cflags_saved=$CFLAGS
10127 ac_wine_try_cflags_saved_cc=$CC
10128 ac_wine_try_cflags_saved_exeext=$ac_exeext
10129 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10130 CC="$CROSSCC"
10131 ac_exeext=".exe"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10134 int main(int argc, char **argv) { return 0; }
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10138 else
10139 ac_cv_crosscflags__Wunused_but_set_parameter=no
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 CFLAGS=$ac_wine_try_cflags_saved
10144 CC=$ac_wine_try_cflags_saved_cc
10145 ac_exeext=$ac_wine_try_cflags_saved_exeext
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10148 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10149 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10150 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10153 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10154 if ${ac_cv_crosscflags__Wvla+:} false; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 ac_wine_try_cflags_saved=$CFLAGS
10158 ac_wine_try_cflags_saved_cc=$CC
10159 ac_wine_try_cflags_saved_exeext=$ac_exeext
10160 CFLAGS="$CFLAGS -Wvla"
10161 CC="$CROSSCC"
10162 ac_exeext=".exe"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10165 int main(int argc, char **argv) { return 0; }
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 ac_cv_crosscflags__Wvla=yes
10169 else
10170 ac_cv_crosscflags__Wvla=no
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10175 CC=$ac_wine_try_cflags_saved_cc
10176 ac_exeext=$ac_wine_try_cflags_saved_exeext
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10179 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10180 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10181 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10184 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10185 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_wine_try_cflags_saved=$CFLAGS
10189 ac_wine_try_cflags_saved_cc=$CC
10190 ac_wine_try_cflags_saved_exeext=$ac_exeext
10191 CFLAGS="$CFLAGS -Wwrite-strings"
10192 CC="$CROSSCC"
10193 ac_exeext=".exe"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10196 int main(int argc, char **argv) { return 0; }
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 ac_cv_crosscflags__Wwrite_strings=yes
10200 else
10201 ac_cv_crosscflags__Wwrite_strings=no
10203 rm -f core conftest.err conftest.$ac_objext \
10204 conftest$ac_exeext conftest.$ac_ext
10205 CFLAGS=$ac_wine_try_cflags_saved
10206 CC=$ac_wine_try_cflags_saved_cc
10207 ac_exeext=$ac_wine_try_cflags_saved_exeext
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10210 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10211 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10212 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10215 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10216 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10217 $as_echo_n "(cached) " >&6
10218 else
10219 ac_wine_try_cflags_saved=$CFLAGS
10220 ac_wine_try_cflags_saved_cc=$CC
10221 ac_wine_try_cflags_saved_exeext=$ac_exeext
10222 CFLAGS="$CFLAGS -Wpointer-arith"
10223 CC="$CROSSCC"
10224 ac_exeext=".exe"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 int main(int argc, char **argv) { return 0; }
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_crosscflags__Wpointer_arith=yes
10231 else
10232 ac_cv_crosscflags__Wpointer_arith=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 CFLAGS=$ac_wine_try_cflags_saved
10237 CC=$ac_wine_try_cflags_saved_cc
10238 ac_exeext=$ac_wine_try_cflags_saved_exeext
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10241 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10242 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10243 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10246 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10247 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10248 $as_echo_n "(cached) " >&6
10249 else
10250 ac_wine_try_cflags_saved=$CFLAGS
10251 ac_wine_try_cflags_saved_cc=$CC
10252 ac_wine_try_cflags_saved_exeext=$ac_exeext
10253 CFLAGS="$CFLAGS -Wlogical-op"
10254 CC="$CROSSCC"
10255 ac_exeext=".exe"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 ac_cv_crosscflags__Wlogical_op=yes
10262 else
10263 ac_cv_crosscflags__Wlogical_op=no
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10268 CC=$ac_wine_try_cflags_saved_cc
10269 ac_exeext=$ac_wine_try_cflags_saved_exeext
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10272 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10273 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10274 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10277 case $host_cpu in
10278 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10279 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10280 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_wine_try_cflags_saved=$CFLAGS
10284 ac_wine_try_cflags_saved_cc=$CC
10285 ac_wine_try_cflags_saved_exeext=$ac_exeext
10286 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10287 CC="$CROSSCC"
10288 ac_exeext=".exe"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 int main(int argc, char **argv) { return 0; }
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10295 else
10296 ac_cv_crosscflags__fno_omit_frame_pointer=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 CFLAGS=$ac_wine_try_cflags_saved
10301 CC=$ac_wine_try_cflags_saved_cc
10302 ac_exeext=$ac_wine_try_cflags_saved_exeext
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10305 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10306 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10307 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10308 fi ;;
10309 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10310 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10311 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_wine_try_cflags_saved=$CFLAGS
10315 ac_wine_try_cflags_saved_cc=$CC
10316 ac_wine_try_cflags_saved_exeext=$ac_exeext
10317 CFLAGS="$CFLAGS -Wno-format"
10318 CC="$CROSSCC"
10319 ac_exeext=".exe"
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 int main(int argc, char **argv) { return 0; }
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 ac_cv_crosscflags__Wno_format=yes
10326 else
10327 ac_cv_crosscflags__Wno_format=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 CFLAGS=$ac_wine_try_cflags_saved
10332 CC=$ac_wine_try_cflags_saved_cc
10333 ac_exeext=$ac_wine_try_cflags_saved_exeext
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10336 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10337 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10338 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10339 fi ;;
10340 esac
10342 for ac_flag in $CROSSCFLAGS; do
10343 case $ac_flag in
10344 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10345 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10346 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_wine_try_cflags_saved=$CFLAGS
10350 ac_wine_try_cflags_saved_cc=$CC
10351 ac_wine_try_cflags_saved_exeext=$ac_exeext
10352 CFLAGS="$CFLAGS -gdwarf-2"
10353 CC="$CROSSCC"
10354 ac_exeext=".exe"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int main(int argc, char **argv) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 ac_cv_crosscflags__gdwarf_2=yes
10361 else
10362 ac_cv_crosscflags__gdwarf_2=no
10364 rm -f core conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10367 CC=$ac_wine_try_cflags_saved_cc
10368 ac_exeext=$ac_wine_try_cflags_saved_exeext
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10371 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10372 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10373 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10376 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10377 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10378 $as_echo_n "(cached) " >&6
10379 else
10380 ac_wine_try_cflags_saved=$CFLAGS
10381 ac_wine_try_cflags_saved_cc=$CC
10382 ac_wine_try_cflags_saved_exeext=$ac_exeext
10383 CFLAGS="$CFLAGS -gstrict-dwarf"
10384 CC="$CROSSCC"
10385 ac_exeext=".exe"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 int main(int argc, char **argv) { return 0; }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 ac_cv_crosscflags__gstrict_dwarf=yes
10392 else
10393 ac_cv_crosscflags__gstrict_dwarf=no
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 CFLAGS=$ac_wine_try_cflags_saved
10398 CC=$ac_wine_try_cflags_saved_cc
10399 ac_exeext=$ac_wine_try_cflags_saved_exeext
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10402 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10403 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10404 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10405 fi ;;
10406 esac
10407 done
10409 if test "x$enable_maintainer_mode" = xyes
10410 then
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10412 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10413 if ${ac_cv_crosscflags__Werror+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 ac_wine_try_cflags_saved_cc=$CC
10418 ac_wine_try_cflags_saved_exeext=$ac_exeext
10419 CFLAGS="$CFLAGS -Werror"
10420 CC="$CROSSCC"
10421 ac_exeext=".exe"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 int main(int argc, char **argv) { return 0; }
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 ac_cv_crosscflags__Werror=yes
10428 else
10429 ac_cv_crosscflags__Werror=no
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 CFLAGS=$ac_wine_try_cflags_saved
10434 CC=$ac_wine_try_cflags_saved_cc
10435 ac_exeext=$ac_wine_try_cflags_saved_exeext
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10438 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10439 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10440 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10444 CFLAGS=$saved_CFLAGS
10445 CC="$ac_save_CC"
10448 if test "x$CROSSTARGET" = "x"; then :
10449 case "x$with_mingw" in
10450 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10451 xno) ;;
10452 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10453 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10454 esac
10459 if test "$ac_cv_header_pthread_h" = "yes"
10460 then
10461 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10462 if test "x$ac_cv_func_pthread_create" = xyes; then :
10464 else
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10466 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10467 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_check_lib_save_LIBS=$LIBS
10471 LIBS="-lpthread $LIBS"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10478 #ifdef __cplusplus
10479 extern "C"
10480 #endif
10481 char pthread_create ();
10483 main ()
10485 return pthread_create ();
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 ac_cv_lib_pthread_pthread_create=yes
10492 else
10493 ac_cv_lib_pthread_pthread_create=no
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_lib_save_LIBS
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10500 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10501 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10502 PTHREAD_LIBS="-lpthread"
10509 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10510 case "x$with_pthread" in
10511 xno) ;;
10512 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10513 Wine cannot support threads without libpthread.
10514 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10515 esac
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10521 $as_echo_n "checking for X... " >&6; }
10524 # Check whether --with-x was given.
10525 if test "${with_x+set}" = set; then :
10526 withval=$with_x;
10529 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10530 if test "x$with_x" = xno; then
10531 # The user explicitly disabled X.
10532 have_x=disabled
10533 else
10534 case $x_includes,$x_libraries in #(
10535 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10536 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10537 $as_echo_n "(cached) " >&6
10538 else
10539 # One or both of the vars are not set, and there is no cached value.
10540 ac_x_includes=no ac_x_libraries=no
10541 rm -f -r conftest.dir
10542 if mkdir conftest.dir; then
10543 cd conftest.dir
10544 cat >Imakefile <<'_ACEOF'
10545 incroot:
10546 @echo incroot='${INCROOT}'
10547 usrlibdir:
10548 @echo usrlibdir='${USRLIBDIR}'
10549 libdir:
10550 @echo libdir='${LIBDIR}'
10551 _ACEOF
10552 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10553 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10554 for ac_var in incroot usrlibdir libdir; do
10555 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10556 done
10557 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10558 for ac_extension in a so sl dylib la dll; do
10559 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10560 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10561 ac_im_usrlibdir=$ac_im_libdir; break
10563 done
10564 # Screen out bogus values from the imake configuration. They are
10565 # bogus both because they are the default anyway, and because
10566 # using them would break gcc on systems where it needs fixed includes.
10567 case $ac_im_incroot in
10568 /usr/include) ac_x_includes= ;;
10569 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10570 esac
10571 case $ac_im_usrlibdir in
10572 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10573 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10574 esac
10576 cd ..
10577 rm -f -r conftest.dir
10580 # Standard set of common directories for X headers.
10581 # Check X11 before X11Rn because it is often a symlink to the current release.
10582 ac_x_header_dirs='
10583 /usr/X11/include
10584 /usr/X11R7/include
10585 /usr/X11R6/include
10586 /usr/X11R5/include
10587 /usr/X11R4/include
10589 /usr/include/X11
10590 /usr/include/X11R7
10591 /usr/include/X11R6
10592 /usr/include/X11R5
10593 /usr/include/X11R4
10595 /usr/local/X11/include
10596 /usr/local/X11R7/include
10597 /usr/local/X11R6/include
10598 /usr/local/X11R5/include
10599 /usr/local/X11R4/include
10601 /usr/local/include/X11
10602 /usr/local/include/X11R7
10603 /usr/local/include/X11R6
10604 /usr/local/include/X11R5
10605 /usr/local/include/X11R4
10607 /usr/X386/include
10608 /usr/x386/include
10609 /usr/XFree86/include/X11
10611 /usr/include
10612 /usr/local/include
10613 /usr/unsupported/include
10614 /usr/athena/include
10615 /usr/local/x11r5/include
10616 /usr/lpp/Xamples/include
10618 /usr/openwin/include
10619 /usr/openwin/share/include'
10621 if test "$ac_x_includes" = no; then
10622 # Guess where to find include files, by looking for Xlib.h.
10623 # First, try using that file with no special directory specified.
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 #include <X11/Xlib.h>
10627 _ACEOF
10628 if ac_fn_c_try_cpp "$LINENO"; then :
10629 # We can compile using X headers with no special include directory.
10630 ac_x_includes=
10631 else
10632 for ac_dir in $ac_x_header_dirs; do
10633 if test -r "$ac_dir/X11/Xlib.h"; then
10634 ac_x_includes=$ac_dir
10635 break
10637 done
10639 rm -f conftest.err conftest.i conftest.$ac_ext
10640 fi # $ac_x_includes = no
10642 if test "$ac_x_libraries" = no; then
10643 # Check for the libraries.
10644 # See if we find them without any special options.
10645 # Don't add to $LIBS permanently.
10646 ac_save_LIBS=$LIBS
10647 LIBS="-lX11 $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10650 #include <X11/Xlib.h>
10652 main ()
10654 XrmInitialize ()
10656 return 0;
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 LIBS=$ac_save_LIBS
10661 # We can link X programs with no special library path.
10662 ac_x_libraries=
10663 else
10664 LIBS=$ac_save_LIBS
10665 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10667 # Don't even attempt the hair of trying to link an X program!
10668 for ac_extension in a so sl dylib la dll; do
10669 if test -r "$ac_dir/libX11.$ac_extension"; then
10670 ac_x_libraries=$ac_dir
10671 break 2
10673 done
10674 done
10676 rm -f core conftest.err conftest.$ac_objext \
10677 conftest$ac_exeext conftest.$ac_ext
10678 fi # $ac_x_libraries = no
10680 case $ac_x_includes,$ac_x_libraries in #(
10681 no,* | *,no | *\'*)
10682 # Didn't find X, or a directory has "'" in its name.
10683 ac_cv_have_x="have_x=no";; #(
10685 # Record where we found X for the cache.
10686 ac_cv_have_x="have_x=yes\
10687 ac_x_includes='$ac_x_includes'\
10688 ac_x_libraries='$ac_x_libraries'"
10689 esac
10691 ;; #(
10692 *) have_x=yes;;
10693 esac
10694 eval "$ac_cv_have_x"
10695 fi # $with_x != no
10697 if test "$have_x" != yes; then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10699 $as_echo "$have_x" >&6; }
10700 no_x=yes
10701 else
10702 # If each of the values was on the command line, it overrides each guess.
10703 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10704 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10705 # Update the cache value to reflect the command line values.
10706 ac_cv_have_x="have_x=yes\
10707 ac_x_includes='$x_includes'\
10708 ac_x_libraries='$x_libraries'"
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10710 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10713 if test "$no_x" = yes; then
10714 # Not all programs may use this symbol, but it does not hurt to define it.
10716 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10718 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10719 else
10720 if test -n "$x_includes"; then
10721 X_CFLAGS="$X_CFLAGS -I$x_includes"
10724 # It would also be nice to do this for all -L options, not just this one.
10725 if test -n "$x_libraries"; then
10726 X_LIBS="$X_LIBS -L$x_libraries"
10727 # For Solaris; some versions of Sun CC require a space after -R and
10728 # others require no space. Words are not sufficient . . . .
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10730 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10731 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10732 ac_xsave_c_werror_flag=$ac_c_werror_flag
10733 ac_c_werror_flag=yes
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10738 main ()
10742 return 0;
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10747 $as_echo "no" >&6; }
10748 X_LIBS="$X_LIBS -R$x_libraries"
10749 else
10750 LIBS="$ac_xsave_LIBS -R $x_libraries"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10755 main ()
10759 return 0;
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"; then :
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10764 $as_echo "yes" >&6; }
10765 X_LIBS="$X_LIBS -R $x_libraries"
10766 else
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10768 $as_echo "neither works" >&6; }
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 ac_c_werror_flag=$ac_xsave_c_werror_flag
10776 LIBS=$ac_xsave_LIBS
10779 # Check for system-dependent libraries X programs must link with.
10780 # Do this before checking for the system-independent R6 libraries
10781 # (-lICE), since we may need -lsocket or whatever for X linking.
10783 if test "$ISC" = yes; then
10784 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10785 else
10786 # Martyn Johnson says this is needed for Ultrix, if the X
10787 # libraries were built with DECnet support. And Karl Berry says
10788 # the Alpha needs dnet_stub (dnet does not exist).
10789 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char XOpenDisplay ();
10801 main ()
10803 return XOpenDisplay ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10810 else
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10812 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10813 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 ac_check_lib_save_LIBS=$LIBS
10817 LIBS="-ldnet $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10824 #ifdef __cplusplus
10825 extern "C"
10826 #endif
10827 char dnet_ntoa ();
10829 main ()
10831 return dnet_ntoa ();
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 ac_cv_lib_dnet_dnet_ntoa=yes
10838 else
10839 ac_cv_lib_dnet_dnet_ntoa=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10846 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10847 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10848 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10851 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10853 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10854 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_lib_save_LIBS=$LIBS
10858 LIBS="-ldnet_stub $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char dnet_ntoa ();
10870 main ()
10872 return dnet_ntoa ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10879 else
10880 ac_cv_lib_dnet_stub_dnet_ntoa=no
10882 rm -f core conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 LIBS=$ac_check_lib_save_LIBS
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10887 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10888 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10889 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS="$ac_xsave_LIBS"
10898 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10899 # to get the SysV transport functions.
10900 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10901 # needs -lnsl.
10902 # The nsl library prevents programs from opening the X display
10903 # on Irix 5.2, according to T.E. Dickey.
10904 # The functions gethostbyname, getservbyname, and inet_addr are
10905 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10906 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10907 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10911 if test $ac_cv_func_gethostbyname = no; then
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10913 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10914 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-lnsl $LIBS"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10925 #ifdef __cplusplus
10926 extern "C"
10927 #endif
10928 char gethostbyname ();
10930 main ()
10932 return gethostbyname ();
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 ac_cv_lib_nsl_gethostbyname=yes
10939 else
10940 ac_cv_lib_nsl_gethostbyname=no
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_lib_save_LIBS
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10947 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10948 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10952 if test $ac_cv_lib_nsl_gethostbyname = no; then
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10954 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10955 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10956 $as_echo_n "(cached) " >&6
10957 else
10958 ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-lbsd $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char gethostbyname ();
10971 main ()
10973 return gethostbyname ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 ac_cv_lib_bsd_gethostbyname=yes
10980 else
10981 ac_cv_lib_bsd_gethostbyname=no
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10988 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10989 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10990 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10996 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10997 # socket/setsockopt and other routines are undefined under SCO ODT
10998 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10999 # on later versions), says Simon Leinen: it contains gethostby*
11000 # variants that don't use the name server (or something). -lsocket
11001 # must be given before -lnsl if both are needed. We assume that
11002 # if connect needs -lnsl, so does gethostbyname.
11003 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11004 if test "x$ac_cv_func_connect" = xyes; then :
11008 if test $ac_cv_func_connect = no; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11010 $as_echo_n "checking for connect in -lsocket... " >&6; }
11011 if ${ac_cv_lib_socket_connect+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char connect ();
11027 main ()
11029 return connect ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_socket_connect=yes
11036 else
11037 ac_cv_lib_socket_connect=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11044 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11045 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11046 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11051 # Guillermo Gomez says -lposix is necessary on A/UX.
11052 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11053 if test "x$ac_cv_func_remove" = xyes; then :
11057 if test $ac_cv_func_remove = no; then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11059 $as_echo_n "checking for remove in -lposix... " >&6; }
11060 if ${ac_cv_lib_posix_remove+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lposix $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char remove ();
11076 main ()
11078 return remove ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_posix_remove=yes
11085 else
11086 ac_cv_lib_posix_remove=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11093 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11094 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11095 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11100 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11101 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11102 if test "x$ac_cv_func_shmat" = xyes; then :
11106 if test $ac_cv_func_shmat = no; then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11108 $as_echo_n "checking for shmat in -lipc... " >&6; }
11109 if ${ac_cv_lib_ipc_shmat+:} false; then :
11110 $as_echo_n "(cached) " >&6
11111 else
11112 ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-lipc $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char shmat ();
11125 main ()
11127 return shmat ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_ipc_shmat=yes
11134 else
11135 ac_cv_lib_ipc_shmat=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11142 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11143 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11144 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11150 # Check for libraries that X11R6 Xt/Xaw programs need.
11151 ac_save_LDFLAGS=$LDFLAGS
11152 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11153 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11154 # check for ICE first), but we must link in the order -lSM -lICE or
11155 # we get undefined symbols. So assume we have SM if we have ICE.
11156 # These have to be linked with before -lX11, unlike the other
11157 # libraries we check for below, so use a different variable.
11158 # John Interrante, Karl Berry
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11160 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11161 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_lib_save_LIBS=$LIBS
11165 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char IceConnectionNumber ();
11177 main ()
11179 return IceConnectionNumber ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 ac_cv_lib_ICE_IceConnectionNumber=yes
11186 else
11187 ac_cv_lib_ICE_IceConnectionNumber=no
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11194 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11195 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11196 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11199 LDFLAGS=$ac_save_LDFLAGS
11204 if test "$have_x" = "yes"
11205 then
11206 ac_save_CPPFLAGS="$CPPFLAGS"
11207 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11210 $as_echo_n "checking for -lX11... " >&6; }
11211 if ${ac_cv_lib_soname_X11+:} false; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 ac_check_soname_save_LIBS=$LIBS
11215 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char XCreateWindow ();
11227 main ()
11229 return XCreateWindow ();
11231 return 0;
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 case "$LIBEXT" in
11236 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11237 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'` ;;
11238 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11239 if ${ac_cv_lib_soname_X11:+false} :; then :
11240 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11241 fi ;;
11242 esac
11243 else
11244 ac_cv_lib_soname_X11=
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_soname_save_LIBS
11250 if ${ac_cv_lib_soname_X11:+false} :; then :
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11252 $as_echo "not found" >&6; }
11254 else
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11256 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11258 cat >>confdefs.h <<_ACEOF
11259 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11260 _ACEOF
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11265 $as_echo_n "checking for -lXext... " >&6; }
11266 if ${ac_cv_lib_soname_Xext+:} false; then :
11267 $as_echo_n "(cached) " >&6
11268 else
11269 ac_check_soname_save_LIBS=$LIBS
11270 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11277 #ifdef __cplusplus
11278 extern "C"
11279 #endif
11280 char XextCreateExtension ();
11282 main ()
11284 return XextCreateExtension ();
11286 return 0;
11288 _ACEOF
11289 if ac_fn_c_try_link "$LINENO"; then :
11290 case "$LIBEXT" in
11291 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11292 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'` ;;
11293 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11294 if ${ac_cv_lib_soname_Xext:+false} :; then :
11295 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11296 fi ;;
11297 esac
11298 else
11299 ac_cv_lib_soname_Xext=
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_soname_save_LIBS
11305 if ${ac_cv_lib_soname_Xext:+false} :; then :
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11307 $as_echo "not found" >&6; }
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11311 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11313 cat >>confdefs.h <<_ACEOF
11314 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11315 _ACEOF
11317 X_LIBS="$X_LIBS -lXext"
11319 X_LIBS="$X_LIBS -lX11"
11321 for ac_header in X11/Xlib.h \
11322 X11/XKBlib.h \
11323 X11/Xutil.h \
11324 X11/Xcursor/Xcursor.h \
11325 X11/extensions/shape.h \
11326 X11/extensions/XInput.h \
11327 X11/extensions/XInput2.h \
11328 X11/extensions/XShm.h \
11329 X11/extensions/Xcomposite.h \
11330 X11/extensions/Xfixes.h \
11331 X11/extensions/Xinerama.h \
11332 X11/extensions/Xrandr.h \
11333 X11/extensions/Xrender.h \
11334 X11/extensions/xf86vmode.h \
11335 X11/extensions/xf86vmproto.h
11336 do :
11337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11338 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11339 # include <X11/Xlib.h>
11340 #endif
11341 #ifdef HAVE_X11_XUTIL_H
11342 # include <X11/Xutil.h>
11343 #endif
11345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11346 cat >>confdefs.h <<_ACEOF
11347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11348 _ACEOF
11352 done
11355 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11356 then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11358 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11359 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11360 $as_echo_n "(cached) " >&6
11361 else
11362 ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11370 #ifdef __cplusplus
11371 extern "C"
11372 #endif
11373 char XkbQueryExtension ();
11375 main ()
11377 return XkbQueryExtension ();
11379 return 0;
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 ac_cv_lib_X11_XkbQueryExtension=yes
11384 else
11385 ac_cv_lib_X11_XkbQueryExtension=no
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11392 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11393 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11395 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11401 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11402 then
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11404 $as_echo_n "checking for -lXcursor... " >&6; }
11405 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_soname_save_LIBS=$LIBS
11409 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char XcursorImageLoadCursor ();
11421 main ()
11423 return XcursorImageLoadCursor ();
11425 return 0;
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 case "$LIBEXT" in
11430 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11434 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11435 fi ;;
11436 esac
11437 else
11438 ac_cv_lib_soname_Xcursor=
11440 rm -f core conftest.err conftest.$ac_objext \
11441 conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_soname_save_LIBS
11444 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11446 $as_echo "not found" >&6; }
11448 else
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11450 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11452 cat >>confdefs.h <<_ACEOF
11453 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11454 _ACEOF
11459 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11460 case "x$with_xcursor" in
11461 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11462 xno) ;;
11463 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11464 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11465 esac
11469 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11470 then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11472 $as_echo_n "checking for -lXi... " >&6; }
11473 if ${ac_cv_lib_soname_Xi+:} false; then :
11474 $as_echo_n "(cached) " >&6
11475 else
11476 ac_check_soname_save_LIBS=$LIBS
11477 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char XOpenDevice ();
11489 main ()
11491 return XOpenDevice ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 case "$LIBEXT" in
11498 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11499 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'` ;;
11500 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11501 if ${ac_cv_lib_soname_Xi:+false} :; then :
11502 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11503 fi ;;
11504 esac
11505 else
11506 ac_cv_lib_soname_Xi=
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_soname_save_LIBS
11512 if ${ac_cv_lib_soname_Xi:+false} :; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11514 $as_echo "not found" >&6; }
11516 else
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11518 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11520 cat >>confdefs.h <<_ACEOF
11521 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11522 _ACEOF
11527 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11528 case "x$with_xinput" in
11529 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11530 xno) ;;
11531 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11532 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11533 esac
11537 if test "x$ac_cv_lib_soname_Xi" != x
11538 then
11539 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11540 case "x$with_xinput2" in
11541 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11542 xno) ;;
11543 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11544 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11545 esac
11550 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11551 then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11553 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11554 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_lib_save_LIBS=$LIBS
11558 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char XShmQueryExtension ();
11570 main ()
11572 return XShmQueryExtension ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 ac_cv_lib_Xext_XShmQueryExtension=yes
11579 else
11580 ac_cv_lib_Xext_XShmQueryExtension=no
11582 rm -f core conftest.err conftest.$ac_objext \
11583 conftest$ac_exeext conftest.$ac_ext
11584 LIBS=$ac_check_lib_save_LIBS
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11587 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11588 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11590 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11595 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11596 case "x$with_xshm" in
11597 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11598 xno) ;;
11599 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11600 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11601 esac
11605 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11606 then
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11608 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11609 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11610 $as_echo_n "(cached) " >&6
11611 else
11612 ac_check_lib_save_LIBS=$LIBS
11613 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char XShapeQueryExtension ();
11625 main ()
11627 return XShapeQueryExtension ();
11629 return 0;
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"; then :
11633 ac_cv_lib_Xext_XShapeQueryExtension=yes
11634 else
11635 ac_cv_lib_Xext_XShapeQueryExtension=no
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_lib_save_LIBS
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11642 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11643 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11645 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11650 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11651 case "x$with_xshape" in
11652 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11653 xno) ;;
11654 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11655 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11656 esac
11660 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11661 then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11663 $as_echo_n "checking for -lXxf86vm... " >&6; }
11664 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11665 $as_echo_n "(cached) " >&6
11666 else
11667 ac_check_soname_save_LIBS=$LIBS
11668 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11672 /* Override any GCC internal prototype to avoid an error.
11673 Use char because int might match the return type of a GCC
11674 builtin and then its argument prototype would still apply. */
11675 #ifdef __cplusplus
11676 extern "C"
11677 #endif
11678 char XF86VidModeQueryExtension ();
11680 main ()
11682 return XF86VidModeQueryExtension ();
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_link "$LINENO"; then :
11688 case "$LIBEXT" in
11689 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11690 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'` ;;
11691 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11692 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11693 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11694 fi ;;
11695 esac
11696 else
11697 ac_cv_lib_soname_Xxf86vm=
11699 rm -f core conftest.err conftest.$ac_objext \
11700 conftest$ac_exeext conftest.$ac_ext
11701 LIBS=$ac_check_soname_save_LIBS
11703 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11705 $as_echo "not found" >&6; }
11707 else
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11709 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11711 cat >>confdefs.h <<_ACEOF
11712 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11713 _ACEOF
11718 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11719 case "x$with_xxf86vm" in
11720 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11721 xno) ;;
11722 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11723 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11724 esac
11728 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11729 then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11731 $as_echo_n "checking for -lXrender... " >&6; }
11732 if ${ac_cv_lib_soname_Xrender+:} false; then :
11733 $as_echo_n "(cached) " >&6
11734 else
11735 ac_check_soname_save_LIBS=$LIBS
11736 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char XRenderQueryExtension ();
11748 main ()
11750 return XRenderQueryExtension ();
11752 return 0;
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 case "$LIBEXT" in
11757 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11758 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'` ;;
11759 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11760 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11761 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11762 fi ;;
11763 esac
11764 else
11765 ac_cv_lib_soname_Xrender=
11767 rm -f core conftest.err conftest.$ac_objext \
11768 conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_soname_save_LIBS
11771 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11773 $as_echo "not found" >&6; }
11775 else
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11777 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11779 cat >>confdefs.h <<_ACEOF
11780 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11781 _ACEOF
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11784 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11785 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char XRenderSetPictureTransform ();
11801 main ()
11803 return XRenderSetPictureTransform ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11810 else
11811 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11813 rm -f core conftest.err conftest.$ac_objext \
11814 conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_lib_save_LIBS
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11818 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11819 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11821 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11826 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11827 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char XRenderCreateLinearGradient ();
11843 main ()
11845 return XRenderCreateLinearGradient ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11852 else
11853 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11860 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11861 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11863 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11870 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11871 case "x$with_xrender" in
11872 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11873 xno) ;;
11874 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11875 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11876 esac
11880 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11881 then
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11884 #include <X11/Xlib.h>
11885 #include <X11/extensions/Xrandr.h>
11887 main ()
11889 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_compile "$LINENO"; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11896 $as_echo_n "checking for -lXrandr... " >&6; }
11897 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11898 $as_echo_n "(cached) " >&6
11899 else
11900 ac_check_soname_save_LIBS=$LIBS
11901 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11908 #ifdef __cplusplus
11909 extern "C"
11910 #endif
11911 char XRRQueryExtension ();
11913 main ()
11915 return XRRQueryExtension ();
11917 return 0;
11919 _ACEOF
11920 if ac_fn_c_try_link "$LINENO"; then :
11921 case "$LIBEXT" in
11922 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11923 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'` ;;
11924 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11925 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11926 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11927 fi ;;
11928 esac
11929 else
11930 ac_cv_lib_soname_Xrandr=
11932 rm -f core conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_soname_save_LIBS
11936 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11938 $as_echo "not found" >&6; }
11940 else
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11942 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11944 cat >>confdefs.h <<_ACEOF
11945 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11946 _ACEOF
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #include <X11/Xlib.h>
11951 #include <X11/extensions/Xrandr.h>
11953 main ()
11955 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_compile "$LINENO"; then :
11962 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11970 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11971 case "x$with_xrandr" in
11972 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11973 xno) ;;
11974 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11975 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11976 esac
11980 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11981 then
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11984 #include <X11/Xlib.h>
11985 #include <X11/extensions/Xfixes.h>
11987 main ()
11989 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_compile "$LINENO"; then :
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11996 $as_echo_n "checking for -lXfixes... " >&6; }
11997 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11998 $as_echo_n "(cached) " >&6
11999 else
12000 ac_check_soname_save_LIBS=$LIBS
12001 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12008 #ifdef __cplusplus
12009 extern "C"
12010 #endif
12011 char XFixesQueryVersion ();
12013 main ()
12015 return XFixesQueryVersion ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"; then :
12021 case "$LIBEXT" in
12022 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12023 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'` ;;
12024 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12025 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12026 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12027 fi ;;
12028 esac
12029 else
12030 ac_cv_lib_soname_Xfixes=
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 LIBS=$ac_check_soname_save_LIBS
12036 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12038 $as_echo "not found" >&6; }
12040 else
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12042 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12044 cat >>confdefs.h <<_ACEOF
12045 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12046 _ACEOF
12051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12053 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12054 case "x$with_xfixes" in
12055 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12056 xno) ;;
12057 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12058 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12059 esac
12063 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12064 then
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12067 #include <X11/Xlib.h>
12068 #include <X11/extensions/Xinerama.h>
12070 main ()
12072 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12074 return 0;
12076 _ACEOF
12077 if ac_fn_c_try_compile "$LINENO"; then :
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12079 $as_echo_n "checking for -lXinerama... " >&6; }
12080 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12081 $as_echo_n "(cached) " >&6
12082 else
12083 ac_check_soname_save_LIBS=$LIBS
12084 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12091 #ifdef __cplusplus
12092 extern "C"
12093 #endif
12094 char XineramaQueryScreens ();
12096 main ()
12098 return XineramaQueryScreens ();
12100 return 0;
12102 _ACEOF
12103 if ac_fn_c_try_link "$LINENO"; then :
12104 case "$LIBEXT" in
12105 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12106 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'` ;;
12107 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12108 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12109 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12110 fi ;;
12111 esac
12112 else
12113 ac_cv_lib_soname_Xinerama=
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_soname_save_LIBS
12119 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12121 $as_echo "not found" >&6; }
12123 else
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12125 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12127 cat >>confdefs.h <<_ACEOF
12128 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12129 _ACEOF
12134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12136 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12137 case "x$with_xinerama" in
12138 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12139 xno) ;;
12140 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12141 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12142 esac
12146 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12147 then
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12149 $as_echo_n "checking for -lXcomposite... " >&6; }
12150 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12151 $as_echo_n "(cached) " >&6
12152 else
12153 ac_check_soname_save_LIBS=$LIBS
12154 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161 #ifdef __cplusplus
12162 extern "C"
12163 #endif
12164 char XCompositeRedirectWindow ();
12166 main ()
12168 return XCompositeRedirectWindow ();
12170 return 0;
12172 _ACEOF
12173 if ac_fn_c_try_link "$LINENO"; then :
12174 case "$LIBEXT" in
12175 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12176 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'` ;;
12177 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12178 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12179 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12180 fi ;;
12181 esac
12182 else
12183 ac_cv_lib_soname_Xcomposite=
12185 rm -f core conftest.err conftest.$ac_objext \
12186 conftest$ac_exeext conftest.$ac_ext
12187 LIBS=$ac_check_soname_save_LIBS
12189 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12191 $as_echo "not found" >&6; }
12193 else
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12195 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12197 cat >>confdefs.h <<_ACEOF
12198 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12199 _ACEOF
12204 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12205 case "x$with_xcomposite" in
12206 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12209 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12210 esac
12214 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12215 #include <X11/Xlib.h>
12216 #endif
12218 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12220 cat >>confdefs.h <<_ACEOF
12221 #define HAVE_XICCALLBACK_CALLBACK 1
12222 _ACEOF
12226 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12227 #include <X11/Xlib.h>
12228 #endif
12230 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12232 cat >>confdefs.h <<_ACEOF
12233 #define HAVE_XEVENT_XCOOKIE 1
12234 _ACEOF
12241 opengl_msg=""
12242 if test "x$with_opengl" != "xno"
12243 then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12245 $as_echo_n "checking for -lGL... " >&6; }
12246 if ${ac_cv_lib_soname_GL+:} false; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 ac_check_soname_save_LIBS=$LIBS
12250 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12257 #ifdef __cplusplus
12258 extern "C"
12259 #endif
12260 char glXCreateContext ();
12262 main ()
12264 return glXCreateContext ();
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"; then :
12270 case "$LIBEXT" in
12271 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12272 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'` ;;
12273 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12274 if ${ac_cv_lib_soname_GL:+false} :; then :
12275 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12276 fi ;;
12277 esac
12278 else
12279 ac_cv_lib_soname_GL=
12281 rm -f core conftest.err conftest.$ac_objext \
12282 conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_soname_save_LIBS
12285 if ${ac_cv_lib_soname_GL:+false} :; then :
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12287 $as_echo "not found" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12289 $as_echo_n "checking for -lGL... " >&6; }
12290 if ${ac_cv_lib_soname_GL+:} false; then :
12291 $as_echo_n "(cached) " >&6
12292 else
12293 ac_check_soname_save_LIBS=$LIBS
12294 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"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12301 #ifdef __cplusplus
12302 extern "C"
12303 #endif
12304 char glXCreateContext ();
12306 main ()
12308 return glXCreateContext ();
12310 return 0;
12312 _ACEOF
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 case "$LIBEXT" in
12315 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12316 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'` ;;
12317 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12318 if ${ac_cv_lib_soname_GL:+false} :; then :
12319 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12320 fi ;;
12321 esac
12322 else
12323 ac_cv_lib_soname_GL=
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_soname_save_LIBS
12329 if ${ac_cv_lib_soname_GL:+false} :; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12331 $as_echo "not found" >&6; }
12332 if test -f /usr/X11R6/lib/libGL.a
12333 then
12334 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12335 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12336 else
12337 opengl_msg="No OpenGL library found on this system."
12339 else
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12343 cat >>confdefs.h <<_ACEOF
12344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12345 _ACEOF
12347 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"
12349 else
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12351 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12353 cat >>confdefs.h <<_ACEOF
12354 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12355 _ACEOF
12357 OPENGL_LIBS="-lGL"
12359 if test "x$with_glu" != "xno"
12360 then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12362 $as_echo_n "checking for -lGLU... " >&6; }
12363 if ${ac_cv_lib_soname_GLU+:} false; then :
12364 $as_echo_n "(cached) " >&6
12365 else
12366 ac_check_soname_save_LIBS=$LIBS
12367 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 /* Override any GCC internal prototype to avoid an error.
12372 Use char because int might match the return type of a GCC
12373 builtin and then its argument prototype would still apply. */
12374 #ifdef __cplusplus
12375 extern "C"
12376 #endif
12377 char gluLookAt ();
12379 main ()
12381 return gluLookAt ();
12383 return 0;
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387 case "$LIBEXT" in
12388 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12389 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'` ;;
12390 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12391 if ${ac_cv_lib_soname_GLU:+false} :; then :
12392 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12393 fi ;;
12394 esac
12395 else
12396 ac_cv_lib_soname_GLU=
12398 rm -f core conftest.err conftest.$ac_objext \
12399 conftest$ac_exeext conftest.$ac_ext
12400 LIBS=$ac_check_soname_save_LIBS
12402 if ${ac_cv_lib_soname_GLU:+false} :; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12404 $as_echo "not found" >&6; }
12406 else
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12408 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12410 cat >>confdefs.h <<_ACEOF
12411 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12412 _ACEOF
12416 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12417 case "x$with_glu" in
12418 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12419 xno) ;;
12420 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12421 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12422 esac
12427 if test "x$with_osmesa" != "xno"
12428 then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12430 $as_echo_n "checking for -lOSMesa... " >&6; }
12431 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12432 $as_echo_n "(cached) " >&6
12433 else
12434 ac_check_soname_save_LIBS=$LIBS
12435 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12442 #ifdef __cplusplus
12443 extern "C"
12444 #endif
12445 char OSMesaGetProcAddress ();
12447 main ()
12449 return OSMesaGetProcAddress ();
12451 return 0;
12453 _ACEOF
12454 if ac_fn_c_try_link "$LINENO"; then :
12455 case "$LIBEXT" in
12456 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12457 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'` ;;
12458 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12459 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12460 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12461 fi ;;
12462 esac
12463 else
12464 ac_cv_lib_soname_OSMesa=
12466 rm -f core conftest.err conftest.$ac_objext \
12467 conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_soname_save_LIBS
12470 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12472 $as_echo "not found" >&6; }
12474 else
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12476 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12478 cat >>confdefs.h <<_ACEOF
12479 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12480 _ACEOF
12484 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12485 case "x$with_osmesa" in
12486 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12487 xno) ;;
12488 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12489 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12490 esac
12495 if test -n "$opengl_msg"; then :
12496 case "x$with_opengl" in
12497 x) as_fn_append wine_warnings "|$opengl_msg
12498 OpenGL and Direct3D won't be supported." ;;
12499 xno) ;;
12500 *) as_fn_error $? "$opengl_msg
12501 OpenGL and Direct3D won't be supported.
12502 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12503 esac
12507 CPPFLAGS="$ac_save_CPPFLAGS"
12508 else
12509 X_CFLAGS=""
12510 X_LIBS=""
12513 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12514 then
12515 if test "x$X_LIBS" = "x"; then :
12516 case "x$with_x" in
12517 xno) ;;
12518 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12519 without X support, which probably isn't what you want. You will need
12520 to install ${notice_platform}development packages of Xlib at the very least.
12521 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12522 esac
12523 enable_winex11_drv=${enable_winex11_drv:-no}
12525 else
12526 if test "x$X_LIBS" = "x"; then :
12527 case "x$with_x" in
12528 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12529 xno) ;;
12530 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12531 This is an error since --with-x was requested." "$LINENO" 5 ;;
12532 esac
12533 enable_winex11_drv=${enable_winex11_drv:-no}
12537 if test "$ac_cv_header_CL_cl_h" = "yes"
12538 then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12540 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12541 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12542 $as_echo_n "(cached) " >&6
12543 else
12544 ac_check_lib_save_LIBS=$LIBS
12545 LIBS="-lOpenCL $LIBS"
12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12549 /* Override any GCC internal prototype to avoid an error.
12550 Use char because int might match the return type of a GCC
12551 builtin and then its argument prototype would still apply. */
12552 #ifdef __cplusplus
12553 extern "C"
12554 #endif
12555 char clGetPlatformInfo ();
12557 main ()
12559 return clGetPlatformInfo ();
12561 return 0;
12563 _ACEOF
12564 if ac_fn_c_try_link "$LINENO"; then :
12565 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12566 else
12567 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12569 rm -f core conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12571 LIBS=$ac_check_lib_save_LIBS
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12574 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12575 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12576 OPENCL_LIBS="-lOpenCL"
12581 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12582 case "x$with_opencl" in
12583 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12584 xno) ;;
12585 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12586 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12587 esac
12588 enable_opencl=${enable_opencl:-no}
12591 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12592 then
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12594 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12595 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12596 $as_echo_n "(cached) " >&6
12597 else
12598 ac_check_lib_save_LIBS=$LIBS
12599 LIBS="-lpcap $LIBS"
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12606 #ifdef __cplusplus
12607 extern "C"
12608 #endif
12609 char pcap_create ();
12611 main ()
12613 return pcap_create ();
12615 return 0;
12617 _ACEOF
12618 if ac_fn_c_try_link "$LINENO"; then :
12619 ac_cv_lib_pcap_pcap_create=yes
12620 else
12621 ac_cv_lib_pcap_pcap_create=no
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_lib_save_LIBS
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12628 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12629 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12630 PCAP_LIBS="-lpcap"
12635 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12636 case "x$with_pcap" in
12637 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12638 xno) ;;
12639 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12640 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12641 esac
12642 enable_wpcap=${enable_wpcap:-no}
12646 if test "x$with_xml" != "xno"
12647 then
12648 if ${XML2_CFLAGS:+false} :; then :
12649 if ${PKG_CONFIG+:} false; then :
12650 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12653 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12654 if ${XML2_LIBS:+false} :; then :
12655 if ${PKG_CONFIG+:} false; then :
12656 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12659 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12660 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12661 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12662 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12663 ac_save_CPPFLAGS=$CPPFLAGS
12664 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12665 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12666 do :
12667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12668 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12670 cat >>confdefs.h <<_ACEOF
12671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12672 _ACEOF
12676 done
12678 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"
12679 then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12681 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12682 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_lib_save_LIBS=$LIBS
12686 LIBS="-lxml2 $XML2_LIBS $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char xmlParseMemory ();
12698 main ()
12700 return xmlParseMemory ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_xml2_xmlParseMemory=yes
12707 else
12708 ac_cv_lib_xml2_xmlParseMemory=no
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12715 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12716 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12718 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12720 else
12721 XML2_LIBS=""
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12725 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12726 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12727 $as_echo_n "(cached) " >&6
12728 else
12729 ac_check_lib_save_LIBS=$LIBS
12730 LIBS="-lxml2 $XML2_LIBS $LIBS"
12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12734 /* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12737 #ifdef __cplusplus
12738 extern "C"
12739 #endif
12740 char xmlReadMemory ();
12742 main ()
12744 return xmlReadMemory ();
12746 return 0;
12748 _ACEOF
12749 if ac_fn_c_try_link "$LINENO"; then :
12750 ac_cv_lib_xml2_xmlReadMemory=yes
12751 else
12752 ac_cv_lib_xml2_xmlReadMemory=no
12754 rm -f core conftest.err conftest.$ac_objext \
12755 conftest$ac_exeext conftest.$ac_ext
12756 LIBS=$ac_check_lib_save_LIBS
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12759 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12760 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12762 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12767 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12768 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_lib_save_LIBS=$LIBS
12772 LIBS="-lxml2 $XML2_LIBS $LIBS"
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12779 #ifdef __cplusplus
12780 extern "C"
12781 #endif
12782 char xmlNewDocPI ();
12784 main ()
12786 return xmlNewDocPI ();
12788 return 0;
12790 _ACEOF
12791 if ac_fn_c_try_link "$LINENO"; then :
12792 ac_cv_lib_xml2_xmlNewDocPI=yes
12793 else
12794 ac_cv_lib_xml2_xmlNewDocPI=no
12796 rm -f core conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_lib_save_LIBS
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12801 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12802 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12804 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12809 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12810 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12811 $as_echo_n "(cached) " >&6
12812 else
12813 ac_check_lib_save_LIBS=$LIBS
12814 LIBS="-lxml2 $XML2_LIBS $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 #ifdef __cplusplus
12822 extern "C"
12823 #endif
12824 char xmlSchemaSetParserStructuredErrors ();
12826 main ()
12828 return xmlSchemaSetParserStructuredErrors ();
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_link "$LINENO"; then :
12834 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12835 else
12836 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12838 rm -f core conftest.err conftest.$ac_objext \
12839 conftest$ac_exeext conftest.$ac_ext
12840 LIBS=$ac_check_lib_save_LIBS
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12843 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12844 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12846 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12851 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12852 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lxml2 $XML2_LIBS $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12863 #ifdef __cplusplus
12864 extern "C"
12865 #endif
12866 char xmlSchemaSetValidStructuredErrors ();
12868 main ()
12870 return xmlSchemaSetValidStructuredErrors ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12877 else
12878 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12885 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12886 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12888 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12893 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12894 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12895 $as_echo_n "(cached) " >&6
12896 else
12897 ac_check_lib_save_LIBS=$LIBS
12898 LIBS="-lxml2 $XML2_LIBS $LIBS"
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12902 /* Override any GCC internal prototype to avoid an error.
12903 Use char because int might match the return type of a GCC
12904 builtin and then its argument prototype would still apply. */
12905 #ifdef __cplusplus
12906 extern "C"
12907 #endif
12908 char xmlFirstElementChild ();
12910 main ()
12912 return xmlFirstElementChild ();
12914 return 0;
12916 _ACEOF
12917 if ac_fn_c_try_link "$LINENO"; then :
12918 ac_cv_lib_xml2_xmlFirstElementChild=yes
12919 else
12920 ac_cv_lib_xml2_xmlFirstElementChild=no
12922 rm -f core conftest.err conftest.$ac_objext \
12923 conftest$ac_exeext conftest.$ac_ext
12924 LIBS=$ac_check_lib_save_LIBS
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12927 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12928 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12930 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12934 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12936 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12938 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12942 else
12943 XML2_CFLAGS=""
12944 XML2_LIBS=""
12946 CPPFLAGS=$ac_save_CPPFLAGS
12947 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12948 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12951 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12952 case "x$with_xml" in
12953 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12954 xno) ;;
12955 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12956 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12957 esac
12961 if test "x$with_xslt" != "xno"
12962 then
12963 if ${XSLT_CFLAGS:+false} :; then :
12964 if ${PKG_CONFIG+:} false; then :
12965 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12968 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12969 if ${XSLT_LIBS:+false} :; then :
12970 if ${PKG_CONFIG+:} false; then :
12971 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12974 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12975 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12976 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12977 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12978 ac_save_CPPFLAGS=$CPPFLAGS
12979 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12980 for ac_header in libxslt/pattern.h libxslt/transform.h
12981 do :
12982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12983 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12984 # include <libxslt/pattern.h>
12985 #endif
12987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12988 cat >>confdefs.h <<_ACEOF
12989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12990 _ACEOF
12994 done
12996 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12997 then
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12999 $as_echo_n "checking for -lxslt... " >&6; }
13000 if ${ac_cv_lib_soname_xslt+:} false; then :
13001 $as_echo_n "(cached) " >&6
13002 else
13003 ac_check_soname_save_LIBS=$LIBS
13004 LIBS="-lxslt $XSLT_LIBS $LIBS"
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 /* Override any GCC internal prototype to avoid an error.
13009 Use char because int might match the return type of a GCC
13010 builtin and then its argument prototype would still apply. */
13011 #ifdef __cplusplus
13012 extern "C"
13013 #endif
13014 char xsltCompilePattern ();
13016 main ()
13018 return xsltCompilePattern ();
13020 return 0;
13022 _ACEOF
13023 if ac_fn_c_try_link "$LINENO"; then :
13024 case "$LIBEXT" in
13025 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13026 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'` ;;
13027 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13028 if ${ac_cv_lib_soname_xslt:+false} :; then :
13029 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13030 fi ;;
13031 esac
13032 else
13033 ac_cv_lib_soname_xslt=
13035 rm -f core conftest.err conftest.$ac_objext \
13036 conftest$ac_exeext conftest.$ac_ext
13037 LIBS=$ac_check_soname_save_LIBS
13039 if ${ac_cv_lib_soname_xslt:+false} :; then :
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13041 $as_echo "not found" >&6; }
13043 else
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13045 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13047 cat >>confdefs.h <<_ACEOF
13048 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13049 _ACEOF
13053 else
13054 XSLT_CFLAGS=""
13056 CPPFLAGS=$ac_save_CPPFLAGS
13057 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13058 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13061 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13062 case "x$with_xslt" in
13063 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13064 xno) ;;
13065 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13066 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13067 esac
13071 if test "x$with_inotify" != "xno"
13072 then
13073 if ${INOTIFY_CFLAGS:+false} :; then :
13074 if ${PKG_CONFIG+:} false; then :
13075 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13079 if ${INOTIFY_LIBS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13086 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13087 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13088 ac_save_CPPFLAGS=$CPPFLAGS
13089 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13090 for ac_header in sys/inotify.h
13091 do :
13092 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13093 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13094 cat >>confdefs.h <<_ACEOF
13095 #define HAVE_SYS_INOTIFY_H 1
13096 _ACEOF
13100 done
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13103 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13104 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_lib_save_LIBS=$LIBS
13108 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char inotify_add_watch ();
13120 main ()
13122 return inotify_add_watch ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_lib_inotify_inotify_add_watch=yes
13129 else
13130 ac_cv_lib_inotify_inotify_add_watch=no
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13137 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13138 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13140 else
13141 INOTIFY_LIBS=""
13144 CPPFLAGS=$ac_save_CPPFLAGS
13145 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13146 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13149 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13150 case "x$with_inotify" in
13151 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13152 xno) ;;
13153 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13154 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13155 esac
13159 if test "x$with_dbus" != "xno"
13160 then
13161 if ${DBUS_CFLAGS:+false} :; then :
13162 if ${PKG_CONFIG+:} false; then :
13163 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13167 if ${DBUS_LIBS:+false} :; then :
13168 if ${PKG_CONFIG+:} false; then :
13169 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13174 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13175 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13176 ac_save_CPPFLAGS=$CPPFLAGS
13177 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13178 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13179 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13181 $as_echo_n "checking for -ldbus-1... " >&6; }
13182 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13183 $as_echo_n "(cached) " >&6
13184 else
13185 ac_check_soname_save_LIBS=$LIBS
13186 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13193 #ifdef __cplusplus
13194 extern "C"
13195 #endif
13196 char dbus_connection_close ();
13198 main ()
13200 return dbus_connection_close ();
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_link "$LINENO"; then :
13206 case "$LIBEXT" in
13207 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13208 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'` ;;
13209 *) 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'`
13210 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13211 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13212 fi ;;
13213 esac
13214 else
13215 ac_cv_lib_soname_dbus_1=
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_soname_save_LIBS
13221 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13223 $as_echo "not found" >&6; }
13224 DBUS_CFLAGS=""
13225 else
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13227 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13229 cat >>confdefs.h <<_ACEOF
13230 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13231 _ACEOF
13235 else
13236 DBUS_CFLAGS=""
13240 CPPFLAGS=$ac_save_CPPFLAGS
13241 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13242 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13245 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13246 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13247 case "x$with_dbus" in
13248 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13249 xno) ;;
13250 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13251 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13252 esac
13256 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13257 then
13258 if ${HAL_CFLAGS:+false} :; then :
13259 if ${PKG_CONFIG+:} false; then :
13260 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13264 if ${HAL_LIBS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13270 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13271 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13272 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13273 ac_save_CPPFLAGS=$CPPFLAGS
13274 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13275 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13276 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13278 $as_echo_n "checking for -lhal... " >&6; }
13279 if ${ac_cv_lib_soname_hal+:} false; then :
13280 $as_echo_n "(cached) " >&6
13281 else
13282 ac_check_soname_save_LIBS=$LIBS
13283 LIBS="-lhal $HAL_LIBS $LIBS"
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13290 #ifdef __cplusplus
13291 extern "C"
13292 #endif
13293 char libhal_ctx_new ();
13295 main ()
13297 return libhal_ctx_new ();
13299 return 0;
13301 _ACEOF
13302 if ac_fn_c_try_link "$LINENO"; then :
13303 case "$LIBEXT" in
13304 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13305 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'` ;;
13306 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13307 if ${ac_cv_lib_soname_hal:+false} :; then :
13308 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13309 fi ;;
13310 esac
13311 else
13312 ac_cv_lib_soname_hal=
13314 rm -f core conftest.err conftest.$ac_objext \
13315 conftest$ac_exeext conftest.$ac_ext
13316 LIBS=$ac_check_soname_save_LIBS
13318 if ${ac_cv_lib_soname_hal:+false} :; then :
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13320 $as_echo "not found" >&6; }
13321 HAL_CFLAGS=""
13322 else
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13324 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13326 cat >>confdefs.h <<_ACEOF
13327 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13328 _ACEOF
13332 else
13333 HAL_CFLAGS=""
13337 CPPFLAGS=$ac_save_CPPFLAGS
13338 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13339 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13341 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13342 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13343 case "x$with_hal" in
13344 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13345 xno) ;;
13346 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13347 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13348 esac
13353 if test "x$with_gnutls" != "xno"
13354 then
13355 if ${GNUTLS_CFLAGS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13361 if ${GNUTLS_LIBS:+false} :; then :
13362 if ${PKG_CONFIG+:} false; then :
13363 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13368 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13369 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13370 ac_save_CPPFLAGS=$CPPFLAGS
13371 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13372 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13373 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13376 #include <gnutls/gnutls.h>
13377 #include <gnutls/crypto.h>
13379 main ()
13381 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13383 return 0;
13385 _ACEOF
13386 if ac_fn_c_try_compile "$LINENO"; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13388 $as_echo_n "checking for -lgnutls... " >&6; }
13389 if ${ac_cv_lib_soname_gnutls+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_soname_save_LIBS=$LIBS
13393 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char gnutls_global_init ();
13405 main ()
13407 return gnutls_global_init ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 case "$LIBEXT" in
13414 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13415 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'` ;;
13416 *) 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'`
13417 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13418 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'`
13419 fi ;;
13420 esac
13421 else
13422 ac_cv_lib_soname_gnutls=
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 LIBS=$ac_check_soname_save_LIBS
13428 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13430 $as_echo "not found" >&6; }
13431 GNUTLS_CFLAGS=""
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13434 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13436 cat >>confdefs.h <<_ACEOF
13437 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13438 _ACEOF
13442 ac_wine_check_funcs_save_LIBS="$LIBS"
13443 LIBS="$LIBS $GNUTLS_LIBS"
13444 for ac_func in gnutls_cipher_init
13445 do :
13446 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13447 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13448 cat >>confdefs.h <<_ACEOF
13449 #define HAVE_GNUTLS_CIPHER_INIT 1
13450 _ACEOF
13452 else
13453 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13455 done
13457 LIBS="$ac_wine_check_funcs_save_LIBS"
13459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13460 else
13461 GNUTLS_CFLAGS=""
13465 CPPFLAGS=$ac_save_CPPFLAGS
13466 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13467 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13470 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13471 case "x$with_gnutls" in
13472 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13473 xno) ;;
13474 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13475 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13476 esac
13480 CURSES_LIBS=""
13481 if test "$ac_cv_header_ncurses_h" = "yes"
13482 then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13484 $as_echo_n "checking for -lncurses... " >&6; }
13485 if ${ac_cv_lib_soname_ncurses+:} false; then :
13486 $as_echo_n "(cached) " >&6
13487 else
13488 ac_check_soname_save_LIBS=$LIBS
13489 LIBS="-lncurses $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13496 #ifdef __cplusplus
13497 extern "C"
13498 #endif
13499 char waddch ();
13501 main ()
13503 return waddch ();
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 case "$LIBEXT" in
13510 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13511 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'` ;;
13512 *) 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'`
13513 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13514 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13515 fi ;;
13516 esac
13517 else
13518 ac_cv_lib_soname_ncurses=
13520 rm -f core conftest.err conftest.$ac_objext \
13521 conftest$ac_exeext conftest.$ac_ext
13522 LIBS=$ac_check_soname_save_LIBS
13524 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13526 $as_echo "not found" >&6; }
13528 else
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13530 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13532 cat >>confdefs.h <<_ACEOF
13533 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13534 _ACEOF
13536 CURSES_LIBS="-lncurses"
13538 elif test "$ac_cv_header_curses_h" = "yes"
13539 then
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13541 $as_echo_n "checking for -lcurses... " >&6; }
13542 if ${ac_cv_lib_soname_curses+:} false; then :
13543 $as_echo_n "(cached) " >&6
13544 else
13545 ac_check_soname_save_LIBS=$LIBS
13546 LIBS="-lcurses $LIBS"
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13550 /* Override any GCC internal prototype to avoid an error.
13551 Use char because int might match the return type of a GCC
13552 builtin and then its argument prototype would still apply. */
13553 #ifdef __cplusplus
13554 extern "C"
13555 #endif
13556 char waddch ();
13558 main ()
13560 return waddch ();
13562 return 0;
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 case "$LIBEXT" in
13567 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13568 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'` ;;
13569 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13570 if ${ac_cv_lib_soname_curses:+false} :; then :
13571 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13572 fi ;;
13573 esac
13574 else
13575 ac_cv_lib_soname_curses=
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_soname_save_LIBS
13581 if ${ac_cv_lib_soname_curses:+false} :; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13583 $as_echo "not found" >&6; }
13585 else
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13587 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13589 cat >>confdefs.h <<_ACEOF
13590 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13591 _ACEOF
13593 CURSES_LIBS="-lcurses"
13596 ac_save_LIBS="$LIBS"
13597 LIBS="$LIBS $CURSES_LIBS"
13598 for ac_func in mousemask
13599 do :
13600 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13601 if test "x$ac_cv_func_mousemask" = xyes; then :
13602 cat >>confdefs.h <<_ACEOF
13603 #define HAVE_MOUSEMASK 1
13604 _ACEOF
13607 done
13609 LIBS="$ac_save_LIBS"
13610 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13611 case "x$with_curses" in
13612 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13613 xno) ;;
13614 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13615 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13616 esac
13620 if test "x$with_sane" != "xno"
13621 then
13622 if ${SANE_CFLAGS:+false} :; then :
13623 if ${PKG_CONFIG+:} false; then :
13624 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13627 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13628 if ${SANE_LIBS:+false} :; then :
13629 if ${PKG_CONFIG+:} false; then :
13630 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13633 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13635 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13637 ac_save_CPPFLAGS=$CPPFLAGS
13638 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13639 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13640 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13642 $as_echo_n "checking for -lsane... " >&6; }
13643 if ${ac_cv_lib_soname_sane+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_check_soname_save_LIBS=$LIBS
13647 LIBS="-lsane $SANE_LIBS $LIBS"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13654 #ifdef __cplusplus
13655 extern "C"
13656 #endif
13657 char sane_init ();
13659 main ()
13661 return sane_init ();
13663 return 0;
13665 _ACEOF
13666 if ac_fn_c_try_link "$LINENO"; then :
13667 case "$LIBEXT" in
13668 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13669 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'` ;;
13670 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13671 if ${ac_cv_lib_soname_sane:+false} :; then :
13672 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13673 fi ;;
13674 esac
13675 else
13676 ac_cv_lib_soname_sane=
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_soname_save_LIBS
13682 if ${ac_cv_lib_soname_sane:+false} :; then :
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13684 $as_echo "not found" >&6; }
13685 SANE_CFLAGS=""
13686 else
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13688 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13690 cat >>confdefs.h <<_ACEOF
13691 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13692 _ACEOF
13696 else
13697 SANE_CFLAGS=""
13701 CPPFLAGS=$ac_save_CPPFLAGS
13702 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13703 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13706 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13707 case "x$with_sane" in
13708 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13709 xno) ;;
13710 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13711 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13712 esac
13716 if test "x$with_v4l2" != "xno"
13717 then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13719 $as_echo_n "checking for -lv4l2... " >&6; }
13720 if ${ac_cv_lib_soname_v4l2+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 ac_check_soname_save_LIBS=$LIBS
13724 LIBS="-lv4l2 $LIBS"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13728 /* Override any GCC internal prototype to avoid an error.
13729 Use char because int might match the return type of a GCC
13730 builtin and then its argument prototype would still apply. */
13731 #ifdef __cplusplus
13732 extern "C"
13733 #endif
13734 char v4l2_open ();
13736 main ()
13738 return v4l2_open ();
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 case "$LIBEXT" in
13745 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13746 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'` ;;
13747 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13748 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13749 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13750 fi ;;
13751 esac
13752 else
13753 ac_cv_lib_soname_v4l2=
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_soname_save_LIBS
13759 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13761 $as_echo "not found" >&6; }
13763 else
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13765 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13767 cat >>confdefs.h <<_ACEOF
13768 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13769 _ACEOF
13774 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13775 case "x$with_v4l2" in
13776 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13777 xno) ;;
13778 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13779 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13780 esac
13784 if test "x$with_gphoto" != "xno"
13785 then
13786 if ${GPHOTO2_CFLAGS:+false} :; then :
13787 if ${PKG_CONFIG+:} false; then :
13788 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13791 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13792 if ${GPHOTO2_LIBS:+false} :; then :
13793 if ${PKG_CONFIG+:} false; then :
13794 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13797 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13798 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13799 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13800 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13801 ac_save_CPPFLAGS=$CPPFLAGS
13802 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13803 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13804 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13806 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13807 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_check_lib_save_LIBS=$LIBS
13811 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 /* Override any GCC internal prototype to avoid an error.
13816 Use char because int might match the return type of a GCC
13817 builtin and then its argument prototype would still apply. */
13818 #ifdef __cplusplus
13819 extern "C"
13820 #endif
13821 char gp_camera_new ();
13823 main ()
13825 return gp_camera_new ();
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 ac_cv_lib_gphoto2_gp_camera_new=yes
13832 else
13833 ac_cv_lib_gphoto2_gp_camera_new=no
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LIBS=$ac_check_lib_save_LIBS
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13840 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13841 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13843 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13845 else
13846 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13849 else
13850 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13854 CPPFLAGS=$ac_save_CPPFLAGS
13855 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13856 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13858 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13859 if ${PKG_CONFIG+:} false; then :
13860 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13863 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13864 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13865 if ${PKG_CONFIG+:} false; then :
13866 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13869 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13870 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13871 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13872 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13873 ac_save_CPPFLAGS=$CPPFLAGS
13874 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13875 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13876 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13878 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13879 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13880 $as_echo_n "(cached) " >&6
13881 else
13882 ac_check_lib_save_LIBS=$LIBS
13883 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 #ifdef __cplusplus
13891 extern "C"
13892 #endif
13893 char gp_port_info_list_new ();
13895 main ()
13897 return gp_port_info_list_new ();
13899 return 0;
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"; then :
13903 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13904 else
13905 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13907 rm -f core conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_lib_save_LIBS
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13912 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13913 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13915 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13917 else
13918 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13921 else
13922 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13926 CPPFLAGS=$ac_save_CPPFLAGS
13927 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13928 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13931 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13932 case "x$with_gphoto" in
13933 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13934 xno) ;;
13935 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13936 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13937 esac
13940 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13941 case "x$with_gphoto" in
13942 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13943 xno) ;;
13944 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13945 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13946 esac
13951 if test "$ac_cv_header_resolv_h" = "yes"
13952 then
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13954 $as_echo_n "checking for resolver library... " >&6; }
13955 if ${ac_cv_have_resolv+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 ac_save_LIBS="$LIBS"
13959 for lib in '' -lresolv
13961 LIBS="$lib $ac_save_LIBS"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 #ifdef HAVE_NETINET_IN_H
13965 #include <netinet/in.h>
13966 #endif
13967 #include <resolv.h>
13969 main ()
13971 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13973 return 0;
13975 _ACEOF
13976 if ac_fn_c_try_link "$LINENO"; then :
13977 ac_cv_have_resolv=${lib:-"none required"}
13978 else
13979 ac_cv_have_resolv="not found"
13981 rm -f core conftest.err conftest.$ac_objext \
13982 conftest$ac_exeext conftest.$ac_ext
13983 test "x$ac_cv_have_resolv" = "xnot found" || break
13984 done
13985 LIBS="$ac_save_LIBS"
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13988 $as_echo "$ac_cv_have_resolv" >&6; }
13990 case "$ac_cv_have_resolv" in
13991 "not found") ;;
13992 "none required")
13994 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13997 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13999 RESOLV_LIBS=$ac_cv_have_resolv
14001 esac
14004 if test "x$with_cms" != "xno"
14005 then
14006 if ${LCMS2_CFLAGS:+false} :; then :
14007 if ${PKG_CONFIG+:} false; then :
14008 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14012 if ${LCMS2_LIBS:+false} :; then :
14013 if ${PKG_CONFIG+:} false; then :
14014 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14018 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14019 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14020 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14021 ac_save_CPPFLAGS=$CPPFLAGS
14022 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14023 for ac_header in lcms2.h
14024 do :
14025 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14026 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14027 cat >>confdefs.h <<_ACEOF
14028 #define HAVE_LCMS2_H 1
14029 _ACEOF
14033 done
14035 if test "$ac_cv_header_lcms2_h" = "yes"
14036 then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14038 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14039 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_check_lib_save_LIBS=$LIBS
14043 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 #ifdef __cplusplus
14051 extern "C"
14052 #endif
14053 char cmsOpenProfileFromFile ();
14055 main ()
14057 return cmsOpenProfileFromFile ();
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14064 else
14065 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_lib_save_LIBS
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14072 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14073 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14075 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14077 else
14078 LCMS2_LIBS=""
14081 else
14082 LCMS2_CFLAGS=""
14083 LCMS2_LIBS=""
14085 CPPFLAGS=$ac_save_CPPFLAGS
14086 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14087 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14090 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14091 case "x$with_cms" in
14092 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14093 xno) ;;
14094 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14095 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14096 esac
14100 if test "x$with_freetype" != "xno"
14101 then
14102 if ${FREETYPE_CFLAGS:+false} :; then :
14103 if ${PKG_CONFIG+:} false; then :
14104 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14107 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14108 if ${FREETYPE_LIBS:+false} :; then :
14109 if ${PKG_CONFIG+:} false; then :
14110 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14113 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14114 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14115 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14116 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14117 ac_save_CPPFLAGS=$CPPFLAGS
14118 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14119 for ac_header in ft2build.h
14120 do :
14121 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14122 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14123 cat >>confdefs.h <<_ACEOF
14124 #define HAVE_FT2BUILD_H 1
14125 _ACEOF
14129 done
14131 if test "$ac_cv_header_ft2build_h" = "yes"
14132 then
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14134 $as_echo_n "checking for -lfreetype... " >&6; }
14135 if ${ac_cv_lib_soname_freetype+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_check_soname_save_LIBS=$LIBS
14139 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14146 #ifdef __cplusplus
14147 extern "C"
14148 #endif
14149 char FT_Init_FreeType ();
14151 main ()
14153 return FT_Init_FreeType ();
14155 return 0;
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 case "$LIBEXT" in
14160 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14161 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'` ;;
14162 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14163 if ${ac_cv_lib_soname_freetype:+false} :; then :
14164 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14165 fi ;;
14166 esac
14167 else
14168 ac_cv_lib_soname_freetype=
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 LIBS=$ac_check_soname_save_LIBS
14174 if ${ac_cv_lib_soname_freetype:+false} :; then :
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14176 $as_echo "not found" >&6; }
14177 FREETYPE_LIBS=""
14178 else
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14180 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14182 cat >>confdefs.h <<_ACEOF
14183 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14184 _ACEOF
14187 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14189 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14190 #include FT_MODULE_H
14192 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14194 cat >>confdefs.h <<_ACEOF
14195 #define HAVE_FT_TRUETYPEENGINETYPE 1
14196 _ACEOF
14202 else
14203 FREETYPE_CFLAGS=""
14204 FREETYPE_LIBS=""
14206 CPPFLAGS=$ac_save_CPPFLAGS
14207 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14208 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14211 if test "x$ac_cv_lib_soname_freetype" = x; then :
14212 case "x$with_freetype" in
14213 xno) ;;
14214 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14215 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14216 esac
14217 enable_fonts=${enable_fonts:-no}
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14221 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14222 if ${ac_cv_c_ppdev+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 #ifdef HAVE_SYS_IOCTL_H
14228 # include <sys/ioctl.h>
14229 #endif
14230 #include <linux/ppdev.h>
14232 main ()
14234 ioctl (1,PPCLAIM,0)
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_compile "$LINENO"; then :
14240 ac_cv_c_ppdev="yes"
14241 else
14242 ac_cv_c_ppdev="no"
14244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14247 $as_echo "$ac_cv_c_ppdev" >&6; }
14248 if test "$ac_cv_c_ppdev" = "yes"
14249 then
14251 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14255 ac_wine_check_funcs_save_LIBS="$LIBS"
14256 LIBS="$LIBS $PTHREAD_LIBS"
14257 for ac_func in \
14258 pthread_getthreadid_np
14259 do :
14260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14263 cat >>confdefs.h <<_ACEOF
14264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14265 _ACEOF
14268 done
14270 LIBS="$ac_wine_check_funcs_save_LIBS"
14272 if test "x$with_zlib" != "xno"
14273 then
14274 if ${Z_CFLAGS:+false} :; then :
14275 if ${PKG_CONFIG+:} false; then :
14276 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14280 if ${Z_LIBS:+false} :; then :
14281 if ${PKG_CONFIG+:} false; then :
14282 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14286 Z_LIBS=${Z_LIBS:-"-lz"}
14287 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14288 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14289 ac_save_CPPFLAGS=$CPPFLAGS
14290 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14291 for ac_header in zlib.h
14292 do :
14293 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14294 if test "x$ac_cv_header_zlib_h" = xyes; then :
14295 cat >>confdefs.h <<_ACEOF
14296 #define HAVE_ZLIB_H 1
14297 _ACEOF
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14299 $as_echo_n "checking for inflate in -lz... " >&6; }
14300 if ${ac_cv_lib_z_inflate+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_check_lib_save_LIBS=$LIBS
14304 LIBS="-lz $Z_LIBS $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char inflate ();
14316 main ()
14318 return inflate ();
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_lib_z_inflate=yes
14325 else
14326 ac_cv_lib_z_inflate=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14333 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14334 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14336 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14338 else
14339 Z_LIBS=""
14342 else
14343 Z_LIBS=""
14346 done
14348 CPPFLAGS=$ac_save_CPPFLAGS
14349 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14350 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14353 if test "x$Z_LIBS" = "x"; then :
14354 case "x$with_zlib" in
14355 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14356 xno) ;;
14357 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14358 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14359 esac
14363 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14364 then
14365 if test "$ac_cv_header_gettext_po_h" = "yes"
14366 then
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14368 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14369 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_check_lib_save_LIBS=$LIBS
14373 LIBS="-lgettextpo $LIBS"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14377 /* Override any GCC internal prototype to avoid an error.
14378 Use char because int might match the return type of a GCC
14379 builtin and then its argument prototype would still apply. */
14380 #ifdef __cplusplus
14381 extern "C"
14382 #endif
14383 char po_message_msgctxt ();
14385 main ()
14387 return po_message_msgctxt ();
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14394 else
14395 ac_cv_lib_gettextpo_po_message_msgctxt=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_lib_save_LIBS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14402 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14403 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14405 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14407 GETTEXTPO_LIBS="-lgettextpo"
14412 if test "x$GETTEXTPO_LIBS" = "x"; then :
14413 case "x$with_gettextpo" in
14414 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14415 xno) ;;
14416 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14417 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14418 esac
14421 if test "$srcdir" != .; then :
14422 case "x$with_gettextpo" in
14423 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14424 xno) ;;
14425 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14426 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14427 esac
14432 if test "x$with_pulse" != "xno";
14433 then
14434 if ${PULSE_CFLAGS:+false} :; then :
14435 if ${PKG_CONFIG+:} false; then :
14436 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14440 if ${PULSE_LIBS:+false} :; then :
14441 if ${PKG_CONFIG+:} false; then :
14442 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14447 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14448 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14449 ac_save_CPPFLAGS=$CPPFLAGS
14450 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14451 for ac_header in pulse/pulseaudio.h
14452 do :
14453 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14454 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14455 cat >>confdefs.h <<_ACEOF
14456 #define HAVE_PULSE_PULSEAUDIO_H 1
14457 _ACEOF
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14459 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14460 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_check_lib_save_LIBS=$LIBS
14464 LIBS="-lpulse $PULSE_LIBS $LIBS"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 #ifdef __cplusplus
14472 extern "C"
14473 #endif
14474 char pa_stream_is_corked ();
14476 main ()
14478 return pa_stream_is_corked ();
14480 return 0;
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_lib_pulse_pa_stream_is_corked=yes
14485 else
14486 ac_cv_lib_pulse_pa_stream_is_corked=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 LIBS=$ac_check_lib_save_LIBS
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14493 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14494 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14496 else
14497 PULSE_LIBS=""
14500 else
14501 PULSE_LIBS=""
14504 done
14506 CPPFLAGS=$ac_save_CPPFLAGS
14507 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14508 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14511 if test -z "$PULSE_LIBS"; then :
14512 case "x$with_pulse" in
14513 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14514 xno) ;;
14515 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14516 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14517 esac
14518 enable_winepulse_drv=${enable_winepulse_drv:-no}
14521 if test "x$with_gstreamer" != "xno"
14522 then
14523 if ${GSTREAMER_CFLAGS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14529 if ${GSTREAMER_LIBS:+false} :; then :
14530 if ${PKG_CONFIG+:} false; then :
14531 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14536 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14537 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14538 ac_save_CPPFLAGS=$CPPFLAGS
14539 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14540 ac_gst_incl=""
14541 for i in $GSTREAMER_CFLAGS
14543 case "$i" in
14544 -I*) ac_gst_incl="$ac_gst_incl $i";;
14545 esac
14546 done
14547 GSTREAMER_CFLAGS=$ac_gst_incl
14548 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14549 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14550 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14552 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 #include <gst/gst.h>
14557 main ()
14559 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_compile "$LINENO"; then :
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14566 $as_echo "yes" >&6; }
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14568 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14569 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_check_lib_save_LIBS=$LIBS
14573 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14577 /* Override any GCC internal prototype to avoid an error.
14578 Use char because int might match the return type of a GCC
14579 builtin and then its argument prototype would still apply. */
14580 #ifdef __cplusplus
14581 extern "C"
14582 #endif
14583 char gst_pad_new ();
14585 main ()
14587 return gst_pad_new ();
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14594 else
14595 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 LIBS=$ac_check_lib_save_LIBS
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14602 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14603 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14607 else
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14609 $as_echo "no" >&6; }
14610 ac_glib2_broken=yes
14611 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 CPPFLAGS=$ac_save_CPPFLAGS
14618 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14619 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14622 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 :
14623 case "x$with_gstreamer" in
14624 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14625 xno) ;;
14626 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14627 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14628 esac
14631 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14633 ALSA_LIBS=""
14635 if test "x$with_alsa" != "xno"
14636 then
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14638 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14639 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 ac_check_lib_save_LIBS=$LIBS
14643 LIBS="-lasound $LIBS"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 #ifdef __cplusplus
14651 extern "C"
14652 #endif
14653 char snd_pcm_hw_params_get_access_mask ();
14655 main ()
14657 return snd_pcm_hw_params_get_access_mask ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"; then :
14663 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14664 else
14665 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14667 rm -f core conftest.err conftest.$ac_objext \
14668 conftest$ac_exeext conftest.$ac_ext
14669 LIBS=$ac_check_lib_save_LIBS
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14672 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14673 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14676 #include <alsa/asoundlib.h>
14678 main ()
14680 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14682 return 0;
14684 _ACEOF
14685 if ac_fn_c_try_compile "$LINENO"; then :
14686 ALSA_LIBS="-lasound"
14688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14692 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14694 if test "x$with_oss" != xno
14695 then
14696 ac_save_CPPFLAGS="$CPPFLAGS"
14697 if test -f /etc/oss.conf
14698 then
14699 . /etc/oss.conf
14701 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14702 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14703 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14704 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14705 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14707 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14709 cat >>confdefs.h <<_ACEOF
14710 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14711 _ACEOF
14713 OSS4_CFLAGS="$ac_oss_incl"
14720 CPPFLAGS="$ac_save_CPPFLAGS"
14722 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14723 case "x$with_oss" in
14724 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14725 xno) ;;
14726 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14727 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14728 esac
14729 enable_wineoss_drv=${enable_wineoss_drv:-no}
14732 if test "x$with_udev" != "xno"
14733 then
14734 if ${UDEV_CFLAGS:+false} :; then :
14735 if ${PKG_CONFIG+:} false; then :
14736 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14740 if ${UDEV_LIBS:+false} :; then :
14741 if ${PKG_CONFIG+:} false; then :
14742 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14746 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14747 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14748 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14749 ac_save_CPPFLAGS=$CPPFLAGS
14750 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14751 for ac_header in libudev.h
14752 do :
14753 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14754 if test "x$ac_cv_header_libudev_h" = xyes; then :
14755 cat >>confdefs.h <<_ACEOF
14756 #define HAVE_LIBUDEV_H 1
14757 _ACEOF
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14759 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14760 if ${ac_cv_lib_udev_udev_new+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-ludev $UDEV_LIBS $LIBS"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 #ifdef __cplusplus
14772 extern "C"
14773 #endif
14774 char udev_new ();
14776 main ()
14778 return udev_new ();
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_lib_udev_udev_new=yes
14785 else
14786 ac_cv_lib_udev_udev_new=no
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_lib_save_LIBS
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14793 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14794 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14796 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14798 else
14799 UDEV_LIBS=""
14802 else
14803 UDEV_LIBS=""
14806 done
14808 CPPFLAGS=$ac_save_CPPFLAGS
14809 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14810 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14813 if test "x$UDEV_LIBS" = "x"; then :
14814 case "x$with_udev" in
14815 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14816 xno) ;;
14817 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14818 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14819 esac
14823 if test "x$with_sdl" != "xno"
14824 then
14825 if ${SDL2_CFLAGS:+false} :; then :
14826 if ${PKG_CONFIG+:} false; then :
14827 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14831 if ${SDL2_LIBS:+false} :; then :
14832 if ${PKG_CONFIG+:} false; then :
14833 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14837 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14838 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14839 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14840 ac_save_CPPFLAGS=$CPPFLAGS
14841 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14842 for ac_header in SDL2/SDL.h
14843 do :
14844 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14845 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14846 cat >>confdefs.h <<_ACEOF
14847 #define HAVE_SDL2_SDL_H 1
14848 _ACEOF
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14850 $as_echo_n "checking for -lSDL2... " >&6; }
14851 if ${ac_cv_lib_soname_SDL2+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 ac_check_soname_save_LIBS=$LIBS
14855 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14862 #ifdef __cplusplus
14863 extern "C"
14864 #endif
14865 char SDL_Init ();
14867 main ()
14869 return SDL_Init ();
14871 return 0;
14873 _ACEOF
14874 if ac_fn_c_try_link "$LINENO"; then :
14875 case "$LIBEXT" in
14876 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14877 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'` ;;
14878 *) 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'`
14879 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14880 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14881 fi ;;
14882 esac
14883 else
14884 ac_cv_lib_soname_SDL2=
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 LIBS=$ac_check_soname_save_LIBS
14890 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14892 $as_echo "not found" >&6; }
14894 else
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14896 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14898 cat >>confdefs.h <<_ACEOF
14899 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14900 _ACEOF
14906 done
14908 CPPFLAGS=$ac_save_CPPFLAGS
14909 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14910 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14913 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14914 case "x$with_sdl" in
14915 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14916 xno) ;;
14917 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14918 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14919 esac
14923 if test "x$with_faudio" != "xno"
14924 then
14925 if ${FAUDIO_CFLAGS:+false} :; then :
14926 if ${PKG_CONFIG+:} false; then :
14927 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14931 if ${FAUDIO_LIBS:+false} :; then :
14932 if ${PKG_CONFIG+:} false; then :
14933 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14937 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14938 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14939 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14940 ac_save_CPPFLAGS=$CPPFLAGS
14941 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14942 for ac_header in FAudio.h
14943 do :
14944 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14945 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14946 cat >>confdefs.h <<_ACEOF
14947 #define HAVE_FAUDIO_H 1
14948 _ACEOF
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14950 $as_echo_n "checking for -lFAudio... " >&6; }
14951 if ${ac_cv_lib_soname_FAudio+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_check_soname_save_LIBS=$LIBS
14955 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14962 #ifdef __cplusplus
14963 extern "C"
14964 #endif
14965 char FAudioCreate ();
14967 main ()
14969 return FAudioCreate ();
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 case "$LIBEXT" in
14976 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14977 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'` ;;
14978 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14979 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14980 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14981 fi ;;
14982 esac
14983 else
14984 ac_cv_lib_soname_FAudio=
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_soname_save_LIBS
14990 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14992 $as_echo "not found" >&6; }
14994 else
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14996 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14998 cat >>confdefs.h <<_ACEOF
14999 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15000 _ACEOF
15006 done
15008 ac_wine_check_funcs_save_LIBS="$LIBS"
15009 LIBS="$LIBS $FAUDIO_LIBS"
15010 for ac_func in FAudio_CommitOperationSet \
15011 F3DAudioInitialize8
15012 do :
15013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15015 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15016 cat >>confdefs.h <<_ACEOF
15017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15018 _ACEOF
15021 done
15023 LIBS="$ac_wine_check_funcs_save_LIBS"
15025 CPPFLAGS=$ac_save_CPPFLAGS
15026 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15027 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15030 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15031 case "x$with_faudio" in
15032 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15033 xno) ;;
15034 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15035 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15036 esac
15040 if test "x$with_capi" != "xno"
15041 then
15042 if ${CAPI20_CFLAGS:+false} :; then :
15043 if ${PKG_CONFIG+:} false; then :
15044 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15048 if ${CAPI20_LIBS:+false} :; then :
15049 if ${PKG_CONFIG+:} false; then :
15050 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15055 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15056 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15057 ac_save_CPPFLAGS=$CPPFLAGS
15058 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15059 for ac_header in capi20.h linux/capi.h
15060 do :
15061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15062 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15065 cat >>confdefs.h <<_ACEOF
15066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15067 _ACEOF
15071 done
15073 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15074 then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15076 $as_echo_n "checking for -lcapi20... " >&6; }
15077 if ${ac_cv_lib_soname_capi20+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 ac_check_soname_save_LIBS=$LIBS
15081 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 #ifdef __cplusplus
15089 extern "C"
15090 #endif
15091 char capi20_register ();
15093 main ()
15095 return capi20_register ();
15097 return 0;
15099 _ACEOF
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 case "$LIBEXT" in
15102 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15103 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'` ;;
15104 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15105 if ${ac_cv_lib_soname_capi20:+false} :; then :
15106 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15107 fi ;;
15108 esac
15109 else
15110 ac_cv_lib_soname_capi20=
15112 rm -f core conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15114 LIBS=$ac_check_soname_save_LIBS
15116 if ${ac_cv_lib_soname_capi20:+false} :; then :
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15118 $as_echo "not found" >&6; }
15120 else
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15122 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15124 cat >>confdefs.h <<_ACEOF
15125 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15126 _ACEOF
15131 CPPFLAGS=$ac_save_CPPFLAGS
15132 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15133 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15136 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15137 case "x$with_capi" in
15138 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15139 xno) ;;
15140 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15141 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15142 esac
15146 if test "x$with_cups" != "xno"
15147 then
15148 if ${CUPS_CFLAGS:+false} :; then :
15149 if ${PKG_CONFIG+:} false; then :
15150 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15153 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15154 if ${CUPS_LIBS:+false} :; then :
15155 if ${PKG_CONFIG+:} false; then :
15156 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15159 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15160 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15161 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15162 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15163 ac_save_CPPFLAGS=$CPPFLAGS
15164 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15165 for ac_header in cups/cups.h cups/ppd.h
15166 do :
15167 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15168 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15170 cat >>confdefs.h <<_ACEOF
15171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15172 _ACEOF
15176 done
15178 if test "$ac_cv_header_cups_cups_h" = "yes"
15179 then
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15181 $as_echo_n "checking for -lcups... " >&6; }
15182 if ${ac_cv_lib_soname_cups+:} false; then :
15183 $as_echo_n "(cached) " >&6
15184 else
15185 ac_check_soname_save_LIBS=$LIBS
15186 LIBS="-lcups $CUPS_LIBS $LIBS"
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15190 /* Override any GCC internal prototype to avoid an error.
15191 Use char because int might match the return type of a GCC
15192 builtin and then its argument prototype would still apply. */
15193 #ifdef __cplusplus
15194 extern "C"
15195 #endif
15196 char cupsGetDefault ();
15198 main ()
15200 return cupsGetDefault ();
15202 return 0;
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"; then :
15206 case "$LIBEXT" in
15207 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15208 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'` ;;
15209 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15210 if ${ac_cv_lib_soname_cups:+false} :; then :
15211 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15212 fi ;;
15213 esac
15214 else
15215 ac_cv_lib_soname_cups=
15217 rm -f core conftest.err conftest.$ac_objext \
15218 conftest$ac_exeext conftest.$ac_ext
15219 LIBS=$ac_check_soname_save_LIBS
15221 if ${ac_cv_lib_soname_cups:+false} :; then :
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15223 $as_echo "not found" >&6; }
15224 CUPS_LIBS=""
15225 else
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15227 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15229 cat >>confdefs.h <<_ACEOF
15230 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15231 _ACEOF
15235 else
15236 CUPS_CFLAGS=""
15237 CUPS_LIBS=""
15239 CPPFLAGS=$ac_save_CPPFLAGS
15240 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15241 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15244 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15245 case "x$with_cups" in
15246 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15247 xno) ;;
15248 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15249 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15250 esac
15254 if test "x$with_fontconfig" != "xno"
15255 then
15256 if ${FONTCONFIG_CFLAGS:+false} :; then :
15257 if ${PKG_CONFIG+:} false; then :
15258 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15261 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15262 if ${FONTCONFIG_LIBS:+false} :; then :
15263 if ${PKG_CONFIG+:} false; then :
15264 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15267 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15269 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15270 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15271 ac_save_CPPFLAGS=$CPPFLAGS
15272 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15273 for ac_header in fontconfig/fontconfig.h
15274 do :
15275 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15276 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15279 _ACEOF
15283 done
15285 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15286 then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15288 $as_echo_n "checking for -lfontconfig... " >&6; }
15289 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char FcInit ();
15305 main ()
15307 return FcInit ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 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'` ;;
15316 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15317 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15318 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else
15322 ac_cv_lib_soname_fontconfig=
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15330 $as_echo "not found" >&6; }
15331 FONTCONFIG_CFLAGS=""
15332 else
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15334 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15338 _ACEOF
15342 else
15343 FONTCONFIG_CFLAGS=""
15345 CPPFLAGS=$ac_save_CPPFLAGS
15346 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15347 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15350 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15351 case "x$with_fontconfig" in
15352 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15353 xno) ;;
15354 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15355 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15356 esac
15360 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15361 then
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15363 $as_echo_n "checking for -lgsm... " >&6; }
15364 if ${ac_cv_lib_soname_gsm+:} false; then :
15365 $as_echo_n "(cached) " >&6
15366 else
15367 ac_check_soname_save_LIBS=$LIBS
15368 LIBS="-lgsm $LIBS"
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15372 /* Override any GCC internal prototype to avoid an error.
15373 Use char because int might match the return type of a GCC
15374 builtin and then its argument prototype would still apply. */
15375 #ifdef __cplusplus
15376 extern "C"
15377 #endif
15378 char gsm_create ();
15380 main ()
15382 return gsm_create ();
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_link "$LINENO"; then :
15388 case "$LIBEXT" in
15389 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15392 if ${ac_cv_lib_soname_gsm:+false} :; then :
15393 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15394 fi ;;
15395 esac
15396 else
15397 ac_cv_lib_soname_gsm=
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_gsm:+false} :; then :
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15405 $as_echo "not found" >&6; }
15407 else
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15409 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15411 cat >>confdefs.h <<_ACEOF
15412 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15413 _ACEOF
15418 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15419 case "x$with_gsm" in
15420 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15421 xno) ;;
15422 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15423 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15424 esac
15428 if test "x$with_krb5" != "xno"
15429 then
15430 if ${KRB5_CFLAGS:+false} :; then :
15431 if ${PKG_CONFIG+:} false; then :
15432 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15435 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15436 if ${KRB5_LIBS:+false} :; then :
15437 if ${PKG_CONFIG+:} false; then :
15438 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15441 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15443 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15444 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15445 ac_save_CPPFLAGS=$CPPFLAGS
15446 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15447 for ac_header in krb5/krb5.h
15448 do :
15449 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15450 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15451 cat >>confdefs.h <<_ACEOF
15452 #define HAVE_KRB5_KRB5_H 1
15453 _ACEOF
15457 done
15459 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15460 then
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15462 $as_echo_n "checking for -lkrb5... " >&6; }
15463 if ${ac_cv_lib_soname_krb5+:} false; then :
15464 $as_echo_n "(cached) " >&6
15465 else
15466 ac_check_soname_save_LIBS=$LIBS
15467 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15471 /* Override any GCC internal prototype to avoid an error.
15472 Use char because int might match the return type of a GCC
15473 builtin and then its argument prototype would still apply. */
15474 #ifdef __cplusplus
15475 extern "C"
15476 #endif
15477 char krb5_is_config_principal ();
15479 main ()
15481 return krb5_is_config_principal ();
15483 return 0;
15485 _ACEOF
15486 if ac_fn_c_try_link "$LINENO"; then :
15487 case "$LIBEXT" in
15488 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15489 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'` ;;
15490 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15491 if ${ac_cv_lib_soname_krb5:+false} :; then :
15492 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15493 fi ;;
15494 esac
15495 else
15496 ac_cv_lib_soname_krb5=
15498 rm -f core conftest.err conftest.$ac_objext \
15499 conftest$ac_exeext conftest.$ac_ext
15500 LIBS=$ac_check_soname_save_LIBS
15502 if ${ac_cv_lib_soname_krb5:+false} :; then :
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15504 $as_echo "not found" >&6; }
15505 KRB5_CFLAGS=""
15506 else
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15508 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15510 cat >>confdefs.h <<_ACEOF
15511 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15512 _ACEOF
15516 else
15517 KRB5_CFLAGS=""
15519 CPPFLAGS=$ac_save_CPPFLAGS
15520 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15521 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15523 else
15524 with_gssapi=${with_gssapi:-no}
15526 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15527 case "x$with_krb5" in
15528 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15529 xno) ;;
15530 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15531 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15532 esac
15536 if test "x$with_gssapi" != "xno"
15537 then
15538 if ${GSSAPI_CFLAGS:+false} :; then :
15539 if ${PKG_CONFIG+:} false; then :
15540 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15543 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15544 if ${GSSAPI_LIBS:+false} :; then :
15545 if ${PKG_CONFIG+:} false; then :
15546 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15549 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15551 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15552 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15553 ac_save_CPPFLAGS=$CPPFLAGS
15554 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15555 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15556 do :
15557 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15558 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15559 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15560 cat >>confdefs.h <<_ACEOF
15561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15562 _ACEOF
15566 done
15568 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15569 then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15571 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15572 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15573 $as_echo_n "(cached) " >&6
15574 else
15575 ac_check_soname_save_LIBS=$LIBS
15576 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15580 /* Override any GCC internal prototype to avoid an error.
15581 Use char because int might match the return type of a GCC
15582 builtin and then its argument prototype would still apply. */
15583 #ifdef __cplusplus
15584 extern "C"
15585 #endif
15586 char gss_init_sec_context ();
15588 main ()
15590 return gss_init_sec_context ();
15592 return 0;
15594 _ACEOF
15595 if ac_fn_c_try_link "$LINENO"; then :
15596 case "$LIBEXT" in
15597 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15598 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'` ;;
15599 *) 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'`
15600 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15601 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15602 fi ;;
15603 esac
15604 else
15605 ac_cv_lib_soname_gssapi_krb5=
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext conftest.$ac_ext
15609 LIBS=$ac_check_soname_save_LIBS
15611 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15613 $as_echo "not found" >&6; }
15614 GSSAPI_CFLAGS=""
15615 else
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15617 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15619 cat >>confdefs.h <<_ACEOF
15620 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15621 _ACEOF
15625 else
15626 GSSAPI_CFLAGS=""
15628 CPPFLAGS=$ac_save_CPPFLAGS
15629 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15630 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15633 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15634 case "x$with_gssapi" in
15635 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15636 xno) ;;
15637 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15638 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15639 esac
15643 if test "x$with_jpeg" != "xno"
15644 then
15645 if ${JPEG_CFLAGS:+false} :; then :
15646 if ${PKG_CONFIG+:} false; then :
15647 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15651 if ${JPEG_LIBS:+false} :; then :
15652 if ${PKG_CONFIG+:} false; then :
15653 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15658 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15659 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15660 ac_save_CPPFLAGS=$CPPFLAGS
15661 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15662 for ac_header in jpeglib.h
15663 do :
15664 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15665 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15666 cat >>confdefs.h <<_ACEOF
15667 #define HAVE_JPEGLIB_H 1
15668 _ACEOF
15672 done
15674 if test "$ac_cv_header_jpeglib_h" = "yes"
15675 then
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15677 $as_echo_n "checking for -ljpeg... " >&6; }
15678 if ${ac_cv_lib_soname_jpeg+:} false; then :
15679 $as_echo_n "(cached) " >&6
15680 else
15681 ac_check_soname_save_LIBS=$LIBS
15682 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15686 /* Override any GCC internal prototype to avoid an error.
15687 Use char because int might match the return type of a GCC
15688 builtin and then its argument prototype would still apply. */
15689 #ifdef __cplusplus
15690 extern "C"
15691 #endif
15692 char jpeg_start_decompress ();
15694 main ()
15696 return jpeg_start_decompress ();
15698 return 0;
15700 _ACEOF
15701 if ac_fn_c_try_link "$LINENO"; then :
15702 case "$LIBEXT" in
15703 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15704 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'` ;;
15705 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15706 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15707 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15708 fi ;;
15709 esac
15710 else
15711 ac_cv_lib_soname_jpeg=
15713 rm -f core conftest.err conftest.$ac_objext \
15714 conftest$ac_exeext conftest.$ac_ext
15715 LIBS=$ac_check_soname_save_LIBS
15717 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15719 $as_echo "not found" >&6; }
15720 JPEG_CFLAGS=""
15721 else
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15723 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15725 cat >>confdefs.h <<_ACEOF
15726 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15727 _ACEOF
15731 else
15732 JPEG_CFLAGS=""
15734 CPPFLAGS=$ac_save_CPPFLAGS
15735 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15736 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15739 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15740 case "x$with_jpeg" in
15741 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15742 xno) ;;
15743 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15744 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15745 esac
15749 if test "x$with_png" != "xno"
15750 then
15751 if ${PNG_CFLAGS:+false} :; then :
15752 if ${PKG_CONFIG+:} false; then :
15753 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15756 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15757 if ${PNG_LIBS:+false} :; then :
15758 if ${PKG_CONFIG+:} false; then :
15759 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15762 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15764 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15765 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15766 ac_save_CPPFLAGS=$CPPFLAGS
15767 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15768 for ac_header in png.h
15769 do :
15770 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15771 if test "x$ac_cv_header_png_h" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_PNG_H 1
15774 _ACEOF
15778 done
15780 if test "$ac_cv_header_png_h" = "yes"
15781 then
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15783 $as_echo_n "checking for -lpng... " >&6; }
15784 if ${ac_cv_lib_soname_png+:} false; then :
15785 $as_echo_n "(cached) " >&6
15786 else
15787 ac_check_soname_save_LIBS=$LIBS
15788 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15795 #ifdef __cplusplus
15796 extern "C"
15797 #endif
15798 char png_create_read_struct ();
15800 main ()
15802 return png_create_read_struct ();
15804 return 0;
15806 _ACEOF
15807 if ac_fn_c_try_link "$LINENO"; then :
15808 case "$LIBEXT" in
15809 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15810 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'` ;;
15811 *) 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'`
15812 if ${ac_cv_lib_soname_png:+false} :; then :
15813 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15814 fi ;;
15815 esac
15816 else
15817 ac_cv_lib_soname_png=
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821 LIBS=$ac_check_soname_save_LIBS
15823 if ${ac_cv_lib_soname_png:+false} :; then :
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15825 $as_echo "not found" >&6; }
15826 PNG_CFLAGS=""
15827 else
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15829 $as_echo "$ac_cv_lib_soname_png" >&6; }
15831 cat >>confdefs.h <<_ACEOF
15832 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15833 _ACEOF
15837 else
15838 PNG_CFLAGS=""
15840 CPPFLAGS=$ac_save_CPPFLAGS
15841 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15842 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15845 if test "x$ac_cv_lib_soname_png" = "x"; then :
15846 case "x$with_png" in
15847 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15848 xno) ;;
15849 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15850 This is an error since --with-png was requested." "$LINENO" 5 ;;
15851 esac
15855 if test "x$with_tiff" != "xno"
15856 then
15857 if ${TIFF_CFLAGS:+false} :; then :
15858 if ${PKG_CONFIG+:} false; then :
15859 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15863 if ${TIFF_LIBS:+false} :; then :
15864 if ${PKG_CONFIG+:} false; then :
15865 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15870 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15871 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15872 ac_save_CPPFLAGS=$CPPFLAGS
15873 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15874 for ac_header in tiffio.h
15875 do :
15876 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15877 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_TIFFIO_H 1
15880 _ACEOF
15884 done
15886 if test "$ac_cv_header_tiffio_h" = "yes"
15887 then
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15889 $as_echo_n "checking for -ltiff... " >&6; }
15890 if ${ac_cv_lib_soname_tiff+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 ac_check_soname_save_LIBS=$LIBS
15894 LIBS="-ltiff $TIFF_LIBS $LIBS"
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15901 #ifdef __cplusplus
15902 extern "C"
15903 #endif
15904 char TIFFClientOpen ();
15906 main ()
15908 return TIFFClientOpen ();
15910 return 0;
15912 _ACEOF
15913 if ac_fn_c_try_link "$LINENO"; then :
15914 case "$LIBEXT" in
15915 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15916 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'` ;;
15917 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15918 if ${ac_cv_lib_soname_tiff:+false} :; then :
15919 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15920 fi ;;
15921 esac
15922 else
15923 ac_cv_lib_soname_tiff=
15925 rm -f core conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15927 LIBS=$ac_check_soname_save_LIBS
15929 if ${ac_cv_lib_soname_tiff:+false} :; then :
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15931 $as_echo "not found" >&6; }
15933 else
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15935 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15937 cat >>confdefs.h <<_ACEOF
15938 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15939 _ACEOF
15944 CPPFLAGS=$ac_save_CPPFLAGS
15945 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15946 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15949 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15950 case "x$with_tiff" in
15951 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15952 xno) ;;
15953 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15954 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15955 esac
15959 if test "x$with_mpg123" != "xno"
15960 then
15961 if ${MPG123_CFLAGS:+false} :; then :
15962 if ${PKG_CONFIG+:} false; then :
15963 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15967 if ${MPG123_LIBS:+false} :; then :
15968 if ${PKG_CONFIG+:} false; then :
15969 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15973 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15974 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15975 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15976 ac_save_CPPFLAGS=$CPPFLAGS
15977 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15978 for ac_header in mpg123.h
15979 do :
15980 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15981 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_MPG123_H 1
15984 _ACEOF
15988 done
15990 if test "$ac_cv_header_mpg123_h" = "yes"
15991 then
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15993 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15994 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_check_lib_save_LIBS=$LIBS
15998 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 #ifdef __cplusplus
16006 extern "C"
16007 #endif
16008 char mpg123_feed ();
16010 main ()
16012 return mpg123_feed ();
16014 return 0;
16016 _ACEOF
16017 if ac_fn_c_try_link "$LINENO"; then :
16018 ac_cv_lib_mpg123_mpg123_feed=yes
16019 else
16020 ac_cv_lib_mpg123_mpg123_feed=no
16022 rm -f core conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_lib_save_LIBS
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16027 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16028 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16030 else
16031 MPG123_LIBS=""
16034 else
16035 MPG123_CFLAGS=""
16036 MPG123_LIBS=""
16038 CPPFLAGS=$ac_save_CPPFLAGS
16039 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16040 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16043 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16044 case "x$with_mpg123" in
16045 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16046 xno) ;;
16047 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16048 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16049 esac
16050 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16052 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16054 if test "$ac_cv_header_AL_al_h" = "yes"
16055 then
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16057 $as_echo_n "checking for -lopenal... " >&6; }
16058 if ${ac_cv_lib_soname_openal+:} false; then :
16059 $as_echo_n "(cached) " >&6
16060 else
16061 ac_check_soname_save_LIBS=$LIBS
16062 LIBS="-lopenal $LIBS"
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16066 /* Override any GCC internal prototype to avoid an error.
16067 Use char because int might match the return type of a GCC
16068 builtin and then its argument prototype would still apply. */
16069 #ifdef __cplusplus
16070 extern "C"
16071 #endif
16072 char alGetSource3i ();
16074 main ()
16076 return alGetSource3i ();
16078 return 0;
16080 _ACEOF
16081 if ac_fn_c_try_link "$LINENO"; then :
16082 case "$LIBEXT" in
16083 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16084 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'` ;;
16085 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16086 if ${ac_cv_lib_soname_openal:+false} :; then :
16087 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16088 fi ;;
16089 esac
16090 else
16091 ac_cv_lib_soname_openal=
16093 rm -f core conftest.err conftest.$ac_objext \
16094 conftest$ac_exeext conftest.$ac_ext
16095 LIBS=$ac_check_soname_save_LIBS
16097 if ${ac_cv_lib_soname_openal:+false} :; then :
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16099 $as_echo "not found" >&6; }
16101 else
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16103 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16105 cat >>confdefs.h <<_ACEOF
16106 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16107 _ACEOF
16109 OPENAL_LIBS="-lopenal"
16111 ac_cv_lib_openal=yes
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_OPENAL 1
16115 _ACEOF
16119 if test "x$ac_cv_lib_openal" != xyes; then :
16120 case "x$with_openal" in
16121 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16122 xno) ;;
16123 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16124 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16125 esac
16126 enable_openal32=${enable_openal32:-no}
16129 if test "x$ac_cv_lib_soname_FAudio" = "x"
16130 then
16131 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16132 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16133 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16134 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16135 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16136 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16137 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16138 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16139 enable_xapofx1_1=${enable_xapofx1_1:-no}
16140 enable_xapofx1_2=${enable_xapofx1_2:-no}
16141 enable_xapofx1_3=${enable_xapofx1_3:-no}
16142 enable_xapofx1_4=${enable_xapofx1_4:-no}
16143 enable_xapofx1_5=${enable_xapofx1_5:-no}
16144 enable_xaudio2_0=${enable_xaudio2_0:-no}
16145 enable_xaudio2_1=${enable_xaudio2_1:-no}
16146 enable_xaudio2_2=${enable_xaudio2_2:-no}
16147 enable_xaudio2_3=${enable_xaudio2_3:-no}
16148 enable_xaudio2_4=${enable_xaudio2_4:-no}
16149 enable_xaudio2_5=${enable_xaudio2_5:-no}
16150 enable_xaudio2_6=${enable_xaudio2_6:-no}
16151 enable_xaudio2_7=${enable_xaudio2_7:-no}
16152 enable_xaudio2_8=${enable_xaudio2_8:-no}
16153 enable_xaudio2_9=${enable_xaudio2_9:-no}
16156 if test "$ac_cv_header_kstat_h" = "yes"
16157 then
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16159 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16160 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16161 $as_echo_n "(cached) " >&6
16162 else
16163 ac_check_lib_save_LIBS=$LIBS
16164 LIBS="-lkstat $LIBS"
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16168 /* Override any GCC internal prototype to avoid an error.
16169 Use char because int might match the return type of a GCC
16170 builtin and then its argument prototype would still apply. */
16171 #ifdef __cplusplus
16172 extern "C"
16173 #endif
16174 char kstat_open ();
16176 main ()
16178 return kstat_open ();
16180 return 0;
16182 _ACEOF
16183 if ac_fn_c_try_link "$LINENO"; then :
16184 ac_cv_lib_kstat_kstat_open=yes
16185 else
16186 ac_cv_lib_kstat_kstat_open=no
16188 rm -f core conftest.err conftest.$ac_objext \
16189 conftest$ac_exeext conftest.$ac_ext
16190 LIBS=$ac_check_lib_save_LIBS
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16193 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16194 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16196 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16198 KSTAT_LIBS="-lkstat"
16204 if test "$ac_cv_header_libprocstat_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16207 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16208 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_lib_save_LIBS=$LIBS
16212 LIBS="-lprocstat $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char procstat_open_sysctl ();
16224 main ()
16226 return procstat_open_sysctl ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 ac_cv_lib_procstat_procstat_open_sysctl=yes
16233 else
16234 ac_cv_lib_procstat_procstat_open_sysctl=no
16236 rm -f core conftest.err conftest.$ac_objext \
16237 conftest$ac_exeext conftest.$ac_ext
16238 LIBS=$ac_check_lib_save_LIBS
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16241 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16242 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16244 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16246 PROCSTAT_LIBS="-lprocstat"
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16253 $as_echo_n "checking for -lodbc... " >&6; }
16254 if ${ac_cv_lib_soname_odbc+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 ac_check_soname_save_LIBS=$LIBS
16258 LIBS="-lodbc $LIBS"
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16262 /* Override any GCC internal prototype to avoid an error.
16263 Use char because int might match the return type of a GCC
16264 builtin and then its argument prototype would still apply. */
16265 #ifdef __cplusplus
16266 extern "C"
16267 #endif
16268 char SQLConnect ();
16270 main ()
16272 return SQLConnect ();
16274 return 0;
16276 _ACEOF
16277 if ac_fn_c_try_link "$LINENO"; then :
16278 case "$LIBEXT" in
16279 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16280 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'` ;;
16281 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16282 if ${ac_cv_lib_soname_odbc:+false} :; then :
16283 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16284 fi ;;
16285 esac
16286 else
16287 ac_cv_lib_soname_odbc=
16289 rm -f core conftest.err conftest.$ac_objext \
16290 conftest$ac_exeext conftest.$ac_ext
16291 LIBS=$ac_check_soname_save_LIBS
16293 if ${ac_cv_lib_soname_odbc:+false} :; then :
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16295 $as_echo "not found" >&6; }
16296 cat >>confdefs.h <<_ACEOF
16297 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16298 _ACEOF
16300 else
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16302 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16304 cat >>confdefs.h <<_ACEOF
16305 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16306 _ACEOF
16311 if test "x$with_netapi" != "xno"
16312 then
16313 if ${NETAPI_CFLAGS:+false} :; then :
16314 if ${PKG_CONFIG+:} false; then :
16315 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16319 if ${NETAPI_LIBS:+false} :; then :
16320 if ${PKG_CONFIG+:} false; then :
16321 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16326 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16327 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16328 ac_save_CPPFLAGS=$CPPFLAGS
16329 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16331 $as_echo_n "checking for -lnetapi... " >&6; }
16332 if ${ac_cv_lib_soname_netapi+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 ac_check_soname_save_LIBS=$LIBS
16336 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16340 /* Override any GCC internal prototype to avoid an error.
16341 Use char because int might match the return type of a GCC
16342 builtin and then its argument prototype would still apply. */
16343 #ifdef __cplusplus
16344 extern "C"
16345 #endif
16346 char libnetapi_init ();
16348 main ()
16350 return libnetapi_init ();
16352 return 0;
16354 _ACEOF
16355 if ac_fn_c_try_link "$LINENO"; then :
16356 case "$LIBEXT" in
16357 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16358 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'` ;;
16359 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16360 if ${ac_cv_lib_soname_netapi:+false} :; then :
16361 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16362 fi ;;
16363 esac
16364 else
16365 ac_cv_lib_soname_netapi=
16367 rm -f core conftest.err conftest.$ac_objext \
16368 conftest$ac_exeext conftest.$ac_ext
16369 LIBS=$ac_check_soname_save_LIBS
16371 if ${ac_cv_lib_soname_netapi:+false} :; then :
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16373 $as_echo "not found" >&6; }
16374 cat >>confdefs.h <<_ACEOF
16375 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16376 _ACEOF
16378 else
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16380 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16382 cat >>confdefs.h <<_ACEOF
16383 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16384 _ACEOF
16388 CPPFLAGS=$ac_save_CPPFLAGS
16389 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16390 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16394 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16395 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16396 then
16397 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16400 if test "x$with_vulkan" != "xno"
16401 then
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16403 $as_echo_n "checking for -lvulkan... " >&6; }
16404 if ${ac_cv_lib_soname_vulkan+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 ac_check_soname_save_LIBS=$LIBS
16408 LIBS="-lvulkan $LIBS"
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16412 /* Override any GCC internal prototype to avoid an error.
16413 Use char because int might match the return type of a GCC
16414 builtin and then its argument prototype would still apply. */
16415 #ifdef __cplusplus
16416 extern "C"
16417 #endif
16418 char vkGetInstanceProcAddr ();
16420 main ()
16422 return vkGetInstanceProcAddr ();
16424 return 0;
16426 _ACEOF
16427 if ac_fn_c_try_link "$LINENO"; then :
16428 case "$LIBEXT" in
16429 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16430 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'` ;;
16431 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16432 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16433 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16434 fi ;;
16435 esac
16436 else
16437 ac_cv_lib_soname_vulkan=
16439 rm -f core conftest.err conftest.$ac_objext \
16440 conftest$ac_exeext conftest.$ac_ext
16441 LIBS=$ac_check_soname_save_LIBS
16443 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16445 $as_echo "not found" >&6; }
16447 else
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16449 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16451 cat >>confdefs.h <<_ACEOF
16452 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16453 _ACEOF
16457 if test "x$ac_cv_lib_soname_vulkan" = "x"
16458 then
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16460 $as_echo_n "checking for -lMoltenVK... " >&6; }
16461 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 ac_check_soname_save_LIBS=$LIBS
16465 LIBS="-lMoltenVK $LIBS"
16466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16469 /* Override any GCC internal prototype to avoid an error.
16470 Use char because int might match the return type of a GCC
16471 builtin and then its argument prototype would still apply. */
16472 #ifdef __cplusplus
16473 extern "C"
16474 #endif
16475 char vkGetInstanceProcAddr ();
16477 main ()
16479 return vkGetInstanceProcAddr ();
16481 return 0;
16483 _ACEOF
16484 if ac_fn_c_try_link "$LINENO"; then :
16485 case "$LIBEXT" in
16486 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16487 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'` ;;
16488 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16489 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16490 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16491 fi ;;
16492 esac
16493 else
16494 ac_cv_lib_soname_MoltenVK=
16496 rm -f core conftest.err conftest.$ac_objext \
16497 conftest$ac_exeext conftest.$ac_ext
16498 LIBS=$ac_check_soname_save_LIBS
16500 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16502 $as_echo "not found" >&6; }
16504 else
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16506 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16508 cat >>confdefs.h <<_ACEOF
16509 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16510 _ACEOF
16516 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16517 case "x$with_vulkan" in
16518 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16519 xno) ;;
16520 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16521 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16522 esac
16526 if test "x$with_vkd3d" != "xno"
16527 then
16528 if ${VKD3D_CFLAGS:+false} :; then :
16529 if ${PKG_CONFIG+:} false; then :
16530 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16534 if ${VKD3D_LIBS:+false} :; then :
16535 if ${PKG_CONFIG+:} false; then :
16536 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16541 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16542 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16543 ac_save_CPPFLAGS=$CPPFLAGS
16544 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16546 $as_echo_n "checking for -lvkd3d... " >&6; }
16547 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16548 $as_echo_n "(cached) " >&6
16549 else
16550 ac_check_soname_save_LIBS=$LIBS
16551 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 /* Override any GCC internal prototype to avoid an error.
16556 Use char because int might match the return type of a GCC
16557 builtin and then its argument prototype would still apply. */
16558 #ifdef __cplusplus
16559 extern "C"
16560 #endif
16561 char vkd3d_get_dxgi_format ();
16563 main ()
16565 return vkd3d_get_dxgi_format ();
16567 return 0;
16569 _ACEOF
16570 if ac_fn_c_try_link "$LINENO"; then :
16571 case "$LIBEXT" in
16572 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16573 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'` ;;
16574 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16575 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16576 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16577 fi ;;
16578 esac
16579 else
16580 ac_cv_lib_soname_vkd3d=
16582 rm -f core conftest.err conftest.$ac_objext \
16583 conftest$ac_exeext conftest.$ac_ext
16584 LIBS=$ac_check_soname_save_LIBS
16586 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16588 $as_echo "not found" >&6; }
16590 else
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16592 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16594 cat >>confdefs.h <<_ACEOF
16595 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16596 _ACEOF
16600 CPPFLAGS=$ac_save_CPPFLAGS
16601 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16602 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16605 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16606 case "x$with_vkd3d" in
16607 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16608 xno) ;;
16609 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16610 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16611 esac
16614 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16617 EXTRACFLAGS=""
16619 if test "x${GCC}" = "xyes"
16620 then
16621 EXTRACFLAGS="-Wall -pipe"
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16624 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16625 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16626 $as_echo_n "(cached) " >&6
16627 else
16628 if test "$cross_compiling" = yes; then :
16629 ac_cv_c_gcc_strength_bug="no"
16630 else
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633 int L[4] = {0,1,2,3};
16635 main ()
16637 static int Array[3];
16638 unsigned int B = 3;
16639 int i;
16640 for(i=0; i<B; i++) Array[i] = i - 3;
16641 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16642 L[i] = 4;
16643 return (Array[1] != -2 || L[2] != 3)
16645 return 0;
16647 _ACEOF
16648 if ac_fn_c_try_run "$LINENO"; then :
16649 ac_cv_c_gcc_strength_bug="no"
16650 else
16651 ac_cv_c_gcc_strength_bug="yes"
16653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16654 conftest.$ac_objext conftest.beam conftest.$ac_ext
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16659 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16660 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16661 then
16662 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16666 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16667 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16668 $as_echo_n "(cached) " >&6
16669 else
16670 ac_wine_try_cflags_saved=$CFLAGS
16671 CFLAGS="$CFLAGS -fno-strict-aliasing"
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 int main(int argc, char **argv) { return 0; }
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"; then :
16677 ac_cv_cflags__fno_strict_aliasing=yes
16678 else
16679 ac_cv_cflags__fno_strict_aliasing=no
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 CFLAGS=$ac_wine_try_cflags_saved
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16686 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16687 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16688 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16691 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16692 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16693 $as_echo_n "(cached) " >&6
16694 else
16695 ac_wine_try_cflags_saved=$CFLAGS
16696 CFLAGS="$CFLAGS -fexcess-precision=standard"
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 int main(int argc, char **argv) { return 0; }
16700 _ACEOF
16701 if ac_fn_c_try_link "$LINENO"; then :
16702 ac_cv_cflags__fexcess_precision_standard=yes
16703 else
16704 ac_cv_cflags__fexcess_precision_standard=no
16706 rm -f core conftest.err conftest.$ac_objext \
16707 conftest$ac_exeext conftest.$ac_ext
16708 CFLAGS=$ac_wine_try_cflags_saved
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16711 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16712 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16713 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16716 saved_CFLAGS=$CFLAGS
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16718 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16719 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16720 $as_echo_n "(cached) " >&6
16721 else
16722 ac_wine_try_cflags_saved=$CFLAGS
16723 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 int main(int argc, char **argv) { return 0; }
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"; then :
16729 ac_cv_cflags__Werror_unknown_warning_option=yes
16730 else
16731 ac_cv_cflags__Werror_unknown_warning_option=no
16733 rm -f core conftest.err conftest.$ac_objext \
16734 conftest$ac_exeext conftest.$ac_ext
16735 CFLAGS=$ac_wine_try_cflags_saved
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16738 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16739 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16740 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16743 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16744 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747 ac_wine_try_cflags_saved=$CFLAGS
16748 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 int main(int argc, char **argv) { return 0; }
16752 _ACEOF
16753 if ac_fn_c_try_link "$LINENO"; then :
16754 ac_cv_cflags__Werror_unused_command_line_argument=yes
16755 else
16756 ac_cv_cflags__Werror_unused_command_line_argument=no
16758 rm -f core conftest.err conftest.$ac_objext \
16759 conftest$ac_exeext conftest.$ac_ext
16760 CFLAGS=$ac_wine_try_cflags_saved
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16763 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16764 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16765 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16768 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16769 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 ac_wine_try_cflags_saved=$CFLAGS
16773 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 int main(int argc, char **argv) { return 0; }
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"; then :
16779 ac_cv_cflags__Wdeclaration_after_statement=yes
16780 else
16781 ac_cv_cflags__Wdeclaration_after_statement=no
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 CFLAGS=$ac_wine_try_cflags_saved
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16788 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16789 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16790 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16793 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16794 if ${ac_cv_cflags__Wempty_body+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 ac_wine_try_cflags_saved=$CFLAGS
16798 CFLAGS="$CFLAGS -Wempty-body"
16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16801 int main(int argc, char **argv) { return 0; }
16802 _ACEOF
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 ac_cv_cflags__Wempty_body=yes
16805 else
16806 ac_cv_cflags__Wempty_body=no
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 CFLAGS=$ac_wine_try_cflags_saved
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16813 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16814 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16815 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16818 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16819 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16820 $as_echo_n "(cached) " >&6
16821 else
16822 ac_wine_try_cflags_saved=$CFLAGS
16823 CFLAGS="$CFLAGS -Wignored-qualifiers"
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16826 int main(int argc, char **argv) { return 0; }
16827 _ACEOF
16828 if ac_fn_c_try_link "$LINENO"; then :
16829 ac_cv_cflags__Wignored_qualifiers=yes
16830 else
16831 ac_cv_cflags__Wignored_qualifiers=no
16833 rm -f core conftest.err conftest.$ac_objext \
16834 conftest$ac_exeext conftest.$ac_ext
16835 CFLAGS=$ac_wine_try_cflags_saved
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16838 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16839 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16840 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16843 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16844 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16845 $as_echo_n "(cached) " >&6
16846 else
16847 ac_wine_try_cflags_saved=$CFLAGS
16848 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16851 int main(int argc, char **argv) { return 0; }
16852 _ACEOF
16853 if ac_fn_c_try_link "$LINENO"; then :
16854 ac_cv_cflags__Wpacked_not_aligned=yes
16855 else
16856 ac_cv_cflags__Wpacked_not_aligned=no
16858 rm -f core conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext conftest.$ac_ext
16860 CFLAGS=$ac_wine_try_cflags_saved
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16863 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16864 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16865 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16868 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16869 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16870 $as_echo_n "(cached) " >&6
16871 else
16872 ac_wine_try_cflags_saved=$CFLAGS
16873 CFLAGS="$CFLAGS -Wpragma-pack"
16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16876 int main(int argc, char **argv) { return 0; }
16877 _ACEOF
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 ac_cv_cflags__Wpragma_pack=yes
16880 else
16881 ac_cv_cflags__Wpragma_pack=no
16883 rm -f core conftest.err conftest.$ac_objext \
16884 conftest$ac_exeext conftest.$ac_ext
16885 CFLAGS=$ac_wine_try_cflags_saved
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16888 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16889 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16890 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16893 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16894 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16897 ac_wine_try_cflags_saved=$CFLAGS
16898 CFLAGS="$CFLAGS -Wshift-overflow=2"
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 int main(int argc, char **argv) { return 0; }
16902 _ACEOF
16903 if ac_fn_c_try_link "$LINENO"; then :
16904 ac_cv_cflags__Wshift_overflow_2=yes
16905 else
16906 ac_cv_cflags__Wshift_overflow_2=no
16908 rm -f core conftest.err conftest.$ac_objext \
16909 conftest$ac_exeext conftest.$ac_ext
16910 CFLAGS=$ac_wine_try_cflags_saved
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16913 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16914 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16915 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16918 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16919 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16920 $as_echo_n "(cached) " >&6
16921 else
16922 ac_wine_try_cflags_saved=$CFLAGS
16923 CFLAGS="$CFLAGS -Wstrict-prototypes"
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 int main(int argc, char **argv) { return 0; }
16927 _ACEOF
16928 if ac_fn_c_try_link "$LINENO"; then :
16929 ac_cv_cflags__Wstrict_prototypes=yes
16930 else
16931 ac_cv_cflags__Wstrict_prototypes=no
16933 rm -f core conftest.err conftest.$ac_objext \
16934 conftest$ac_exeext conftest.$ac_ext
16935 CFLAGS=$ac_wine_try_cflags_saved
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16938 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16939 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16940 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16943 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16944 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16947 ac_wine_try_cflags_saved=$CFLAGS
16948 CFLAGS="$CFLAGS -Wtype-limits"
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16951 int main(int argc, char **argv) { return 0; }
16952 _ACEOF
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 ac_cv_cflags__Wtype_limits=yes
16955 else
16956 ac_cv_cflags__Wtype_limits=no
16958 rm -f core conftest.err conftest.$ac_objext \
16959 conftest$ac_exeext conftest.$ac_ext
16960 CFLAGS=$ac_wine_try_cflags_saved
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16963 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16964 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16965 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16968 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16969 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16970 $as_echo_n "(cached) " >&6
16971 else
16972 ac_wine_try_cflags_saved=$CFLAGS
16973 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976 int main(int argc, char **argv) { return 0; }
16977 _ACEOF
16978 if ac_fn_c_try_link "$LINENO"; then :
16979 ac_cv_cflags__Wunused_but_set_parameter=yes
16980 else
16981 ac_cv_cflags__Wunused_but_set_parameter=no
16983 rm -f core conftest.err conftest.$ac_objext \
16984 conftest$ac_exeext conftest.$ac_ext
16985 CFLAGS=$ac_wine_try_cflags_saved
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16988 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16989 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16990 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16993 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16994 if ${ac_cv_cflags__Wvla+:} false; then :
16995 $as_echo_n "(cached) " >&6
16996 else
16997 ac_wine_try_cflags_saved=$CFLAGS
16998 CFLAGS="$CFLAGS -Wvla"
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17001 int main(int argc, char **argv) { return 0; }
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 ac_cv_cflags__Wvla=yes
17005 else
17006 ac_cv_cflags__Wvla=no
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17010 CFLAGS=$ac_wine_try_cflags_saved
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17013 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17014 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17015 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17018 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17019 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 ac_wine_try_cflags_saved=$CFLAGS
17023 CFLAGS="$CFLAGS -Wwrite-strings"
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 int main(int argc, char **argv) { return 0; }
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"; then :
17029 ac_cv_cflags__Wwrite_strings=yes
17030 else
17031 ac_cv_cflags__Wwrite_strings=no
17033 rm -f core conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17035 CFLAGS=$ac_wine_try_cflags_saved
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17038 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17039 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17040 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17044 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17045 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17046 $as_echo_n "(cached) " >&6
17047 else
17048 ac_wine_try_cflags_saved=$CFLAGS
17049 CFLAGS="$CFLAGS -Wpointer-arith"
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 int main(int argc, char **argv) { return 0; }
17053 _ACEOF
17054 if ac_fn_c_try_link "$LINENO"; then :
17055 ac_cv_cflags__Wpointer_arith=yes
17056 else
17057 ac_cv_cflags__Wpointer_arith=no
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17061 CFLAGS=$ac_wine_try_cflags_saved
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17064 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17065 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17066 saved_string_h_CFLAGS=$CFLAGS
17067 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17069 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17070 if ${ac_cv_c_string_h_warnings+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <string.h>
17077 main ()
17081 return 0;
17083 _ACEOF
17084 if ac_fn_c_try_compile "$LINENO"; then :
17085 ac_cv_c_string_h_warnings=no
17086 else
17087 ac_cv_c_string_h_warnings=yes
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17092 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17093 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17094 CFLAGS=$saved_string_h_CFLAGS
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17098 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17099 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 ac_wine_try_cflags_saved=$CFLAGS
17103 CFLAGS="$CFLAGS -Wlogical-op"
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17106 int main(int argc, char **argv) { return 0; }
17107 _ACEOF
17108 if ac_fn_c_try_link "$LINENO"; then :
17109 ac_cv_cflags__Wlogical_op=yes
17110 else
17111 ac_cv_cflags__Wlogical_op=no
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 CFLAGS=$ac_wine_try_cflags_saved
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17118 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17119 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17120 saved_string_h_CFLAGS=$CFLAGS
17121 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17123 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17124 if ${ac_cv_c_logicalop_noisy+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 #include <string.h>
17130 char*f(const char *h,char n) {return strchr(h,n);}
17132 main ()
17136 return 0;
17138 _ACEOF
17139 if ac_fn_c_try_compile "$LINENO"; then :
17140 ac_cv_c_logicalop_noisy=no
17141 else
17142 ac_cv_c_logicalop_noisy=yes
17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17147 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17148 CFLAGS=$saved_string_h_CFLAGS
17149 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17152 for ac_flag in $CFLAGS; do
17153 case $ac_flag in
17154 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17155 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17156 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 ac_wine_try_cflags_saved=$CFLAGS
17160 CFLAGS="$CFLAGS -gdwarf-2"
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 int main(int argc, char **argv) { return 0; }
17164 _ACEOF
17165 if ac_fn_c_try_link "$LINENO"; then :
17166 ac_cv_cflags__gdwarf_2=yes
17167 else
17168 ac_cv_cflags__gdwarf_2=no
17170 rm -f core conftest.err conftest.$ac_objext \
17171 conftest$ac_exeext conftest.$ac_ext
17172 CFLAGS=$ac_wine_try_cflags_saved
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17175 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17176 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17177 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17180 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17181 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17184 ac_wine_try_cflags_saved=$CFLAGS
17185 CFLAGS="$CFLAGS -gstrict-dwarf"
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 int main(int argc, char **argv) { return 0; }
17189 _ACEOF
17190 if ac_fn_c_try_link "$LINENO"; then :
17191 ac_cv_cflags__gstrict_dwarf=yes
17192 else
17193 ac_cv_cflags__gstrict_dwarf=no
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17197 CFLAGS=$ac_wine_try_cflags_saved
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17200 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17201 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17202 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17203 fi ;;
17204 esac
17205 done
17207 MSVCRTFLAGS=""
17209 case $host_os in
17210 cygwin*|mingw32*) ;;
17211 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17212 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17213 if ${ac_cv_cflags__fno_builtin+:} false; then :
17214 $as_echo_n "(cached) " >&6
17215 else
17216 ac_wine_try_cflags_saved=$CFLAGS
17217 CFLAGS="$CFLAGS -fno-builtin"
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17220 int main(int argc, char **argv) { return 0; }
17221 _ACEOF
17222 if ac_fn_c_try_link "$LINENO"; then :
17223 ac_cv_cflags__fno_builtin=yes
17224 else
17225 ac_cv_cflags__fno_builtin=no
17227 rm -f core conftest.err conftest.$ac_objext \
17228 conftest$ac_exeext conftest.$ac_ext
17229 CFLAGS=$ac_wine_try_cflags_saved
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17232 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17233 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17234 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17237 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17238 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17239 $as_echo_n "(cached) " >&6
17240 else
17241 ac_wine_try_cflags_saved=$CFLAGS
17242 CFLAGS="$CFLAGS -fshort-wchar"
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 int main(int argc, char **argv) { return 0; }
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"; then :
17248 ac_cv_cflags__fshort_wchar=yes
17249 else
17250 ac_cv_cflags__fshort_wchar=no
17252 rm -f core conftest.err conftest.$ac_objext \
17253 conftest$ac_exeext conftest.$ac_ext
17254 CFLAGS=$ac_wine_try_cflags_saved
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17257 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17258 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17259 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17260 fi ;;
17261 esac
17263 case $host_cpu in
17264 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17265 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17266 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 ac_wine_try_cflags_saved=$CFLAGS
17270 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 int main(int argc, char **argv) { return 0; }
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 ac_cv_cflags__fno_omit_frame_pointer=yes
17277 else
17278 ac_cv_cflags__fno_omit_frame_pointer=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 CFLAGS=$ac_wine_try_cflags_saved
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17285 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17286 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17287 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17288 fi ;;
17289 *x86_64*)
17290 case $host_os in
17291 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17292 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17293 if ${ac_cv_cflags__Wno_format+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 ac_wine_try_cflags_saved=$CFLAGS
17297 CFLAGS="$CFLAGS -Wno-format"
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 int main(int argc, char **argv) { return 0; }
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"; then :
17303 ac_cv_cflags__Wno_format=yes
17304 else
17305 ac_cv_cflags__Wno_format=no
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17309 CFLAGS=$ac_wine_try_cflags_saved
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17312 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17313 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17314 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17315 fi ;;
17316 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17317 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17318 if ${ac_cv_cflags__mabi_ms+:} false; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17321 ac_wine_try_cflags_saved=$CFLAGS
17322 CFLAGS="$CFLAGS -mabi=ms"
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 int main(int argc, char **argv) { return 0; }
17326 _ACEOF
17327 if ac_fn_c_try_link "$LINENO"; then :
17328 ac_cv_cflags__mabi_ms=yes
17329 else
17330 ac_cv_cflags__mabi_ms=no
17332 rm -f core conftest.err conftest.$ac_objext \
17333 conftest$ac_exeext conftest.$ac_ext
17334 CFLAGS=$ac_wine_try_cflags_saved
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17337 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17338 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17339 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17340 fi ;;
17341 esac ;;
17342 esac
17344 CFLAGS=$saved_CFLAGS
17346 if test "x$enable_maintainer_mode" = "xyes"
17347 then
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17349 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17350 if ${ac_cv_cflags__Werror+:} false; then :
17351 $as_echo_n "(cached) " >&6
17352 else
17353 ac_wine_try_cflags_saved=$CFLAGS
17354 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
17361 else
17362 ac_cv_cflags__Werror=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__Werror" >&5
17369 $as_echo "$ac_cv_cflags__Werror" >&6; }
17370 if test "x$ac_cv_cflags__Werror" = xyes; then :
17371 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17378 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17379 if ${ac_cv_c_fortify_enabled+:} false; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 #include <string.h>
17386 main ()
17388 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17389 #error Fortify enabled
17390 #endif
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_compile "$LINENO"; then :
17396 ac_cv_c_fortify_enabled=no
17397 else
17398 ac_cv_c_fortify_enabled=yes
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17403 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17404 if test "$ac_cv_c_fortify_enabled" = yes
17405 then
17406 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17411 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17412 if ${ac_cv_c_cfi_support+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17419 main ()
17423 return 0;
17425 _ACEOF
17426 if ac_fn_c_try_compile "$LINENO"; then :
17427 ac_cv_c_cfi_support="yes"
17428 else
17429 ac_cv_c_cfi_support="no"
17431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17434 $as_echo "$ac_cv_c_cfi_support" >&6; }
17435 if test "$ac_cv_c_cfi_support" = "yes"
17436 then
17437 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17438 else
17439 if test "x$enable_win64" = "xyes"
17440 then
17441 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17446 case $build_os in
17447 cygwin*|mingw32*) TOOLSEXT=".exe"
17449 esac
17451 case $host_os in
17452 linux*)
17453 case $host_cpu in
17454 *i[3456789]86*|x86_64*|*aarch64*)
17455 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17456 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17458 esac
17460 esac
17463 ac_save_CFLAGS="$CFLAGS"
17464 CFLAGS="$CFLAGS $BUILTINFLAG"
17465 for ac_func in \
17466 __res_get_state \
17467 __res_getservers \
17468 _spawnvp \
17469 dlopen \
17470 epoll_create \
17471 ffs \
17472 finitef \
17473 fnmatch \
17474 fork \
17475 fpclass \
17476 fstatfs \
17477 fstatvfs \
17478 futimens \
17479 futimes \
17480 futimesat \
17481 getattrlist \
17482 getauxval \
17483 getifaddrs \
17484 getopt_long_only \
17485 kqueue \
17486 lstat \
17487 pipe2 \
17488 poll \
17489 port_create \
17490 prctl \
17491 pread \
17492 proc_pidinfo \
17493 pwrite \
17494 readdir \
17495 readlink \
17496 sched_yield \
17497 select \
17498 setproctitle \
17499 setprogname \
17500 settimeofday \
17501 sigprocmask \
17502 statfs \
17503 statvfs \
17504 strnlen \
17505 strtold \
17506 symlink \
17507 sysinfo \
17508 tcdrain \
17509 thr_kill2 \
17510 timegm \
17511 usleep
17513 do :
17514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17517 cat >>confdefs.h <<_ACEOF
17518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17519 _ACEOF
17522 done
17524 CFLAGS="$ac_save_CFLAGS"
17526 if test "$ac_cv_func_dlopen" = no
17527 then
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17529 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17530 if ${ac_cv_lib_dl_dlopen+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 ac_check_lib_save_LIBS=$LIBS
17534 LIBS="-ldl $LIBS"
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17538 /* Override any GCC internal prototype to avoid an error.
17539 Use char because int might match the return type of a GCC
17540 builtin and then its argument prototype would still apply. */
17541 #ifdef __cplusplus
17542 extern "C"
17543 #endif
17544 char dlopen ();
17546 main ()
17548 return dlopen ();
17550 return 0;
17552 _ACEOF
17553 if ac_fn_c_try_link "$LINENO"; then :
17554 ac_cv_lib_dl_dlopen=yes
17555 else
17556 ac_cv_lib_dl_dlopen=no
17558 rm -f core conftest.err conftest.$ac_objext \
17559 conftest$ac_exeext conftest.$ac_ext
17560 LIBS=$ac_check_lib_save_LIBS
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17563 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17564 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17565 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17566 DL_LIBS="-ldl"
17571 ac_wine_check_funcs_save_LIBS="$LIBS"
17572 LIBS="$LIBS $DL_LIBS"
17573 for ac_func in dladdr
17574 do :
17575 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17576 if test "x$ac_cv_func_dladdr" = xyes; then :
17577 cat >>confdefs.h <<_ACEOF
17578 #define HAVE_DLADDR 1
17579 _ACEOF
17582 done
17584 LIBS="$ac_wine_check_funcs_save_LIBS"
17586 if test "$ac_cv_func_poll" = no
17587 then
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17589 $as_echo_n "checking for poll in -lpoll... " >&6; }
17590 if ${ac_cv_lib_poll_poll+:} false; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593 ac_check_lib_save_LIBS=$LIBS
17594 LIBS="-lpoll $LIBS"
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17598 /* Override any GCC internal prototype to avoid an error.
17599 Use char because int might match the return type of a GCC
17600 builtin and then its argument prototype would still apply. */
17601 #ifdef __cplusplus
17602 extern "C"
17603 #endif
17604 char poll ();
17606 main ()
17608 return poll ();
17610 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"; then :
17614 ac_cv_lib_poll_poll=yes
17615 else
17616 ac_cv_lib_poll_poll=no
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17620 LIBS=$ac_check_lib_save_LIBS
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17623 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17624 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17625 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17626 POLL_LIBS="-lpoll"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17633 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17634 if ${ac_cv_search_gethostbyname+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 ac_func_search_save_LIBS=$LIBS
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17644 #ifdef __cplusplus
17645 extern "C"
17646 #endif
17647 char gethostbyname ();
17649 main ()
17651 return gethostbyname ();
17653 return 0;
17655 _ACEOF
17656 for ac_lib in '' nsl; do
17657 if test -z "$ac_lib"; then
17658 ac_res="none required"
17659 else
17660 ac_res=-l$ac_lib
17661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17663 if ac_fn_c_try_link "$LINENO"; then :
17664 ac_cv_search_gethostbyname=$ac_res
17666 rm -f core conftest.err conftest.$ac_objext \
17667 conftest$ac_exeext
17668 if ${ac_cv_search_gethostbyname+:} false; then :
17669 break
17671 done
17672 if ${ac_cv_search_gethostbyname+:} false; then :
17674 else
17675 ac_cv_search_gethostbyname=no
17677 rm conftest.$ac_ext
17678 LIBS=$ac_func_search_save_LIBS
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17681 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17682 ac_res=$ac_cv_search_gethostbyname
17683 if test "$ac_res" != no; then :
17684 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17690 $as_echo_n "checking for library containing connect... " >&6; }
17691 if ${ac_cv_search_connect+:} false; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 ac_func_search_save_LIBS=$LIBS
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17698 /* Override any GCC internal prototype to avoid an error.
17699 Use char because int might match the return type of a GCC
17700 builtin and then its argument prototype would still apply. */
17701 #ifdef __cplusplus
17702 extern "C"
17703 #endif
17704 char connect ();
17706 main ()
17708 return connect ();
17710 return 0;
17712 _ACEOF
17713 for ac_lib in '' socket; do
17714 if test -z "$ac_lib"; then
17715 ac_res="none required"
17716 else
17717 ac_res=-l$ac_lib
17718 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17720 if ac_fn_c_try_link "$LINENO"; then :
17721 ac_cv_search_connect=$ac_res
17723 rm -f core conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext
17725 if ${ac_cv_search_connect+:} false; then :
17726 break
17728 done
17729 if ${ac_cv_search_connect+:} false; then :
17731 else
17732 ac_cv_search_connect=no
17734 rm conftest.$ac_ext
17735 LIBS=$ac_func_search_save_LIBS
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17738 $as_echo "$ac_cv_search_connect" >&6; }
17739 ac_res=$ac_cv_search_connect
17740 if test "$ac_res" != no; then :
17741 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17747 $as_echo_n "checking for library containing inet_aton... " >&6; }
17748 if ${ac_cv_search_inet_aton+:} false; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751 ac_func_search_save_LIBS=$LIBS
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17755 /* Override any GCC internal prototype to avoid an error.
17756 Use char because int might match the return type of a GCC
17757 builtin and then its argument prototype would still apply. */
17758 #ifdef __cplusplus
17759 extern "C"
17760 #endif
17761 char inet_aton ();
17763 main ()
17765 return inet_aton ();
17767 return 0;
17769 _ACEOF
17770 for ac_lib in '' resolv; do
17771 if test -z "$ac_lib"; then
17772 ac_res="none required"
17773 else
17774 ac_res=-l$ac_lib
17775 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17777 if ac_fn_c_try_link "$LINENO"; then :
17778 ac_cv_search_inet_aton=$ac_res
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext
17782 if ${ac_cv_search_inet_aton+:} false; then :
17783 break
17785 done
17786 if ${ac_cv_search_inet_aton+:} false; then :
17788 else
17789 ac_cv_search_inet_aton=no
17791 rm conftest.$ac_ext
17792 LIBS=$ac_func_search_save_LIBS
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17795 $as_echo "$ac_cv_search_inet_aton" >&6; }
17796 ac_res=$ac_cv_search_inet_aton
17797 if test "$ac_res" != no; then :
17798 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17803 for ac_func in \
17804 getaddrinfo \
17805 getnameinfo \
17806 getnetbyname \
17807 getprotobyname \
17808 getprotobynumber \
17809 getservbyport \
17810 inet_addr \
17811 inet_network \
17812 inet_ntop \
17813 inet_pton \
17815 do :
17816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17819 cat >>confdefs.h <<_ACEOF
17820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17821 _ACEOF
17824 done
17827 case $host_os in
17828 darwin*|macosx*) ;;
17829 *) ac_save_LIBS=$LIBS
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17831 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17832 if ${ac_cv_search_clock_gettime+:} false; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835 ac_func_search_save_LIBS=$LIBS
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17839 /* Override any GCC internal prototype to avoid an error.
17840 Use char because int might match the return type of a GCC
17841 builtin and then its argument prototype would still apply. */
17842 #ifdef __cplusplus
17843 extern "C"
17844 #endif
17845 char clock_gettime ();
17847 main ()
17849 return clock_gettime ();
17851 return 0;
17853 _ACEOF
17854 for ac_lib in '' rt; do
17855 if test -z "$ac_lib"; then
17856 ac_res="none required"
17857 else
17858 ac_res=-l$ac_lib
17859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17861 if ac_fn_c_try_link "$LINENO"; then :
17862 ac_cv_search_clock_gettime=$ac_res
17864 rm -f core conftest.err conftest.$ac_objext \
17865 conftest$ac_exeext
17866 if ${ac_cv_search_clock_gettime+:} false; then :
17867 break
17869 done
17870 if ${ac_cv_search_clock_gettime+:} false; then :
17872 else
17873 ac_cv_search_clock_gettime=no
17875 rm conftest.$ac_ext
17876 LIBS=$ac_func_search_save_LIBS
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17879 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17880 ac_res=$ac_cv_search_clock_gettime
17881 if test "$ac_res" != no; then :
17882 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17884 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17886 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17890 LIBS=$ac_save_LIBS
17892 esac
17894 if test "x$with_ldap" != "xno"
17895 then
17896 if ${LDAP_CFLAGS:+false} :; then :
17897 if ${PKG_CONFIG+:} false; then :
17898 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17902 if ${LDAP_LIBS:+false} :; then :
17903 if ${PKG_CONFIG+:} false; then :
17904 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17908 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17909 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17910 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17911 ac_save_CPPFLAGS=$CPPFLAGS
17912 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17913 for ac_header in ldap.h lber.h
17914 do :
17915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17916 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17918 cat >>confdefs.h <<_ACEOF
17919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17920 _ACEOF
17924 done
17926 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17927 then
17928 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17930 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17932 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17933 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17936 ac_check_lib_save_LIBS=$LIBS
17937 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 /* Override any GCC internal prototype to avoid an error.
17942 Use char because int might match the return type of a GCC
17943 builtin and then its argument prototype would still apply. */
17944 #ifdef __cplusplus
17945 extern "C"
17946 #endif
17947 char ldap_initialize ();
17949 main ()
17951 return ldap_initialize ();
17953 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 ac_cv_lib_ldap_r_ldap_initialize=yes
17958 else
17959 ac_cv_lib_ldap_r_ldap_initialize=no
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17963 LIBS=$ac_check_lib_save_LIBS
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17966 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17967 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17969 $as_echo_n "checking for ber_init in -llber... " >&6; }
17970 if ${ac_cv_lib_lber_ber_init+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 ac_check_lib_save_LIBS=$LIBS
17974 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17978 /* Override any GCC internal prototype to avoid an error.
17979 Use char because int might match the return type of a GCC
17980 builtin and then its argument prototype would still apply. */
17981 #ifdef __cplusplus
17982 extern "C"
17983 #endif
17984 char ber_init ();
17986 main ()
17988 return ber_init ();
17990 return 0;
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"; then :
17994 ac_cv_lib_lber_ber_init=yes
17995 else
17996 ac_cv_lib_lber_ber_init=no
17998 rm -f core conftest.err conftest.$ac_objext \
17999 conftest$ac_exeext conftest.$ac_ext
18000 LIBS=$ac_check_lib_save_LIBS
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18003 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18004 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18006 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18008 else
18009 LDAP_LIBS=""
18012 else
18013 LDAP_LIBS=""
18016 else
18017 LDAP_LIBS=""
18020 ac_wine_check_funcs_save_LIBS="$LIBS"
18021 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18022 for ac_func in \
18023 ldap_count_references \
18024 ldap_first_reference \
18025 ldap_next_reference \
18026 ldap_parse_reference \
18027 ldap_parse_sort_control \
18028 ldap_parse_sortresponse_control \
18029 ldap_parse_vlv_control \
18030 ldap_parse_vlvresponse_control
18031 do :
18032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18035 cat >>confdefs.h <<_ACEOF
18036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18037 _ACEOF
18040 done
18042 LIBS="$ac_wine_check_funcs_save_LIBS"
18043 else
18044 LDAP_LIBS=""
18046 CPPFLAGS=$ac_save_CPPFLAGS
18047 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18048 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18051 if test "x$LDAP_LIBS" = "x"; then :
18052 case "x$with_ldap" in
18053 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18054 xno) ;;
18055 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18056 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18057 esac
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18062 $as_echo_n "checking for sched_setaffinity... " >&6; }
18063 if ${wine_cv_have_sched_setaffinity+:} false; then :
18064 $as_echo_n "(cached) " >&6
18065 else
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #define _GNU_SOURCE
18069 #include <sched.h>
18071 main ()
18073 sched_setaffinity(0, 0, 0);
18075 return 0;
18077 _ACEOF
18078 if ac_fn_c_try_link "$LINENO"; then :
18079 wine_cv_have_sched_setaffinity=yes
18080 else
18081 wine_cv_have_sched_setaffinity=no
18083 rm -f core conftest.err conftest.$ac_objext \
18084 conftest$ac_exeext conftest.$ac_ext
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18087 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18088 if test "$wine_cv_have_sched_setaffinity" = "yes"
18089 then
18091 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18096 $as_echo_n "checking for fallocate... " >&6; }
18097 if ${wine_cv_have_fallocate+:} false; then :
18098 $as_echo_n "(cached) " >&6
18099 else
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18102 #define _GNU_SOURCE
18103 #include <fcntl.h>
18105 main ()
18107 fallocate(-1, 0, 0, 0);
18109 return 0;
18111 _ACEOF
18112 if ac_fn_c_try_link "$LINENO"; then :
18113 wine_cv_have_fallocate=yes
18114 else
18115 wine_cv_have_fallocate=no
18117 rm -f core conftest.err conftest.$ac_objext \
18118 conftest$ac_exeext conftest.$ac_ext
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18121 $as_echo "$wine_cv_have_fallocate" >&6; }
18122 if test "$wine_cv_have_fallocate" = "yes"
18123 then
18125 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18131 $as_echo_n "checking for inline... " >&6; }
18132 if ${ac_cv_c_inline+:} false; then :
18133 $as_echo_n "(cached) " >&6
18134 else
18135 ac_cv_c_inline=no
18136 for ac_kw in inline __inline__ __inline; do
18137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18138 /* end confdefs.h. */
18139 #ifndef __cplusplus
18140 typedef int foo_t;
18141 static $ac_kw foo_t static_foo () {return 0; }
18142 $ac_kw foo_t foo () {return 0; }
18143 #endif
18145 _ACEOF
18146 if ac_fn_c_try_compile "$LINENO"; then :
18147 ac_cv_c_inline=$ac_kw
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150 test "$ac_cv_c_inline" != no && break
18151 done
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18155 $as_echo "$ac_cv_c_inline" >&6; }
18157 case $ac_cv_c_inline in
18158 inline | yes) ;;
18160 case $ac_cv_c_inline in
18161 no) ac_val=;;
18162 *) ac_val=$ac_cv_c_inline;;
18163 esac
18164 cat >>confdefs.h <<_ACEOF
18165 #ifndef __cplusplus
18166 #define inline $ac_val
18167 #endif
18168 _ACEOF
18170 esac
18172 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18173 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_FSBLKCNT_T 1
18177 _ACEOF
18181 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18182 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18184 cat >>confdefs.h <<_ACEOF
18185 #define HAVE_FSFILCNT_T 1
18186 _ACEOF
18191 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18192 #include <signal.h>
18194 if test "x$ac_cv_type_sigset_t" = xyes; then :
18196 cat >>confdefs.h <<_ACEOF
18197 #define HAVE_SIGSET_T 1
18198 _ACEOF
18203 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18205 if test "x$ac_cv_type_request_sense" = xyes; then :
18207 cat >>confdefs.h <<_ACEOF
18208 #define HAVE_REQUEST_SENSE 1
18209 _ACEOF
18215 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18216 #ifdef HAVE_SYS_SOCKET_H
18217 #include <sys/socket.h>
18218 #endif
18219 #ifdef HAVE_SYS_SOCKETVAR_H
18220 #include <sys/socketvar.h>
18221 #endif
18222 #ifdef HAVE_NET_ROUTE_H
18223 #include <net/route.h>
18224 #endif
18225 #ifdef HAVE_NETINET_IN_H
18226 #include <netinet/in.h>
18227 #endif
18228 #ifdef HAVE_NETINET_IN_SYSTM_H
18229 #include <netinet/in_systm.h>
18230 #endif
18231 #ifdef HAVE_NETINET_IP_H
18232 #include <netinet/ip.h>
18233 #endif
18234 #ifdef HAVE_NETINET_IN_PCB_H
18235 #include <netinet/in_pcb.h>
18236 #endif
18238 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18240 cat >>confdefs.h <<_ACEOF
18241 #define HAVE_STRUCT_XINPGEN 1
18242 _ACEOF
18248 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18249 #include <link.h>
18250 #endif
18251 #ifdef HAVE_SYS_LINK_H
18252 #include <sys/link.h>
18253 #endif
18255 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18257 cat >>confdefs.h <<_ACEOF
18258 #define HAVE_STRUCT_R_DEBUG 1
18259 _ACEOF
18263 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18264 #include <link.h>
18265 #endif
18266 #ifdef HAVE_SYS_LINK_H
18267 #include <sys/link.h>
18268 #endif
18270 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18272 cat >>confdefs.h <<_ACEOF
18273 #define HAVE_STRUCT_LINK_MAP 1
18274 _ACEOF
18280 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18281 #include <linux/input.h>
18282 #endif
18284 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18286 cat >>confdefs.h <<_ACEOF
18287 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18288 _ACEOF
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18295 $as_echo_n "checking for if_nameindex... " >&6; }
18296 if ${wine_cv_have_if_nameindex+:} false; then :
18297 $as_echo_n "(cached) " >&6
18298 else
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18301 #ifdef HAVE_SYS_TYPES_H
18302 #include <sys/types.h>
18303 #endif
18304 #ifdef HAVE_SYS_SOCKET_H
18305 #include <sys/socket.h>
18306 #endif
18307 #ifdef HAVE_NET_IF_H
18308 # include <net/if.h>
18309 #endif
18311 main ()
18313 struct if_nameindex *p = if_nameindex(); return p->if_index;
18315 return 0;
18317 _ACEOF
18318 if ac_fn_c_try_link "$LINENO"; then :
18319 wine_cv_have_if_nameindex=yes
18320 else
18321 wine_cv_have_if_nameindex=no
18323 rm -f core conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18327 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18328 if test "$wine_cv_have_if_nameindex" = "yes"
18329 then
18331 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18336 $as_echo_n "checking for sigaddset... " >&6; }
18337 if ${wine_cv_have_sigaddset+:} false; then :
18338 $as_echo_n "(cached) " >&6
18339 else
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18342 #include <signal.h>
18344 main ()
18346 sigset_t set; sigaddset(&set,SIGTERM);
18348 return 0;
18350 _ACEOF
18351 if ac_fn_c_try_link "$LINENO"; then :
18352 wine_cv_have_sigaddset=yes
18353 else
18354 wine_cv_have_sigaddset=no
18356 rm -f core conftest.err conftest.$ac_objext \
18357 conftest$ac_exeext conftest.$ac_ext
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18360 $as_echo "$wine_cv_have_sigaddset" >&6; }
18361 if test "$wine_cv_have_sigaddset" = "yes"
18362 then
18364 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18370 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18371 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18372 $as_echo_n "(cached) " >&6
18373 else
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 #include <netdb.h>
18378 main ()
18381 char *name=0;
18382 struct hostent he;
18383 struct hostent *result;
18384 char *buf=0;
18385 int bufsize=0;
18386 int errnr;
18387 char *addr=0;
18388 int addrlen=0;
18389 int addrtype=0;
18390 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18391 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18394 return 0;
18396 _ACEOF
18397 if ac_fn_c_try_link "$LINENO"; then :
18398 wine_cv_linux_gethostbyname_r_6=yes
18399 else
18400 wine_cv_linux_gethostbyname_r_6=no
18403 rm -f core conftest.err conftest.$ac_objext \
18404 conftest$ac_exeext conftest.$ac_ext
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18408 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18409 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18410 then
18412 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18416 if test "$ac_cv_header_linux_joystick_h" = "yes"
18417 then
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18419 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18420 if ${wine_cv_linux_joystick_22_api+:} false; then :
18421 $as_echo_n "(cached) " >&6
18422 else
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18426 #include <sys/ioctl.h>
18427 #include <sys/types.h>
18428 #include <linux/joystick.h>
18430 struct js_event blub;
18431 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18432 #error "no 2.2 header"
18433 #endif
18436 main ()
18438 /*empty*/
18440 return 0;
18442 _ACEOF
18443 if ac_fn_c_try_compile "$LINENO"; then :
18444 wine_cv_linux_joystick_22_api=yes
18445 else
18446 wine_cv_linux_joystick_22_api=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18452 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18453 if test "$wine_cv_linux_joystick_22_api" = "yes"
18454 then
18456 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18462 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18463 #ifdef HAVE_SYS_PARAM_H
18464 # include <sys/param.h>
18465 #endif
18466 #ifdef HAVE_SYS_MOUNT_H
18467 # include <sys/mount.h>
18468 #endif
18469 #ifdef HAVE_SYS_VFS_H
18470 # include <sys/vfs.h>
18471 #endif
18472 #ifdef HAVE_SYS_STATFS_H
18473 # include <sys/statfs.h>
18474 #endif
18476 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18478 cat >>confdefs.h <<_ACEOF
18479 #define HAVE_STRUCT_STATFS_F_BFREE 1
18480 _ACEOF
18484 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18485 #ifdef HAVE_SYS_PARAM_H
18486 # include <sys/param.h>
18487 #endif
18488 #ifdef HAVE_SYS_MOUNT_H
18489 # include <sys/mount.h>
18490 #endif
18491 #ifdef HAVE_SYS_VFS_H
18492 # include <sys/vfs.h>
18493 #endif
18494 #ifdef HAVE_SYS_STATFS_H
18495 # include <sys/statfs.h>
18496 #endif
18498 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18502 _ACEOF
18506 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18507 #ifdef HAVE_SYS_PARAM_H
18508 # include <sys/param.h>
18509 #endif
18510 #ifdef HAVE_SYS_MOUNT_H
18511 # include <sys/mount.h>
18512 #endif
18513 #ifdef HAVE_SYS_VFS_H
18514 # include <sys/vfs.h>
18515 #endif
18516 #ifdef HAVE_SYS_STATFS_H
18517 # include <sys/statfs.h>
18518 #endif
18520 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18524 _ACEOF
18528 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18529 #ifdef HAVE_SYS_PARAM_H
18530 # include <sys/param.h>
18531 #endif
18532 #ifdef HAVE_SYS_MOUNT_H
18533 # include <sys/mount.h>
18534 #endif
18535 #ifdef HAVE_SYS_VFS_H
18536 # include <sys/vfs.h>
18537 #endif
18538 #ifdef HAVE_SYS_STATFS_H
18539 # include <sys/statfs.h>
18540 #endif
18542 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_STRUCT_STATFS_F_FFREE 1
18546 _ACEOF
18550 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18551 #ifdef HAVE_SYS_PARAM_H
18552 # include <sys/param.h>
18553 #endif
18554 #ifdef HAVE_SYS_MOUNT_H
18555 # include <sys/mount.h>
18556 #endif
18557 #ifdef HAVE_SYS_VFS_H
18558 # include <sys/vfs.h>
18559 #endif
18560 #ifdef HAVE_SYS_STATFS_H
18561 # include <sys/statfs.h>
18562 #endif
18564 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18568 _ACEOF
18572 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18573 #ifdef HAVE_SYS_PARAM_H
18574 # include <sys/param.h>
18575 #endif
18576 #ifdef HAVE_SYS_MOUNT_H
18577 # include <sys/mount.h>
18578 #endif
18579 #ifdef HAVE_SYS_VFS_H
18580 # include <sys/vfs.h>
18581 #endif
18582 #ifdef HAVE_SYS_STATFS_H
18583 # include <sys/statfs.h>
18584 #endif
18586 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18588 cat >>confdefs.h <<_ACEOF
18589 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18590 _ACEOF
18596 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18597 #include <sys/statvfs.h>
18598 #endif
18600 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18602 cat >>confdefs.h <<_ACEOF
18603 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18604 _ACEOF
18610 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18611 #include <dirent.h>
18612 #endif
18614 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18616 cat >>confdefs.h <<_ACEOF
18617 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18618 _ACEOF
18624 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18625 #ifdef HAVE_SYS_SOCKET_H
18626 # include <sys/socket.h>
18627 #endif
18628 #ifdef HAVE_SYS_UN_H
18629 # include <sys/un.h>
18630 #endif
18632 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18634 cat >>confdefs.h <<_ACEOF
18635 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18636 _ACEOF
18640 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18641 #ifdef HAVE_SYS_SOCKET_H
18642 # include <sys/socket.h>
18643 #endif
18644 #ifdef HAVE_SYS_UN_H
18645 # include <sys/un.h>
18646 #endif
18648 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18650 cat >>confdefs.h <<_ACEOF
18651 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18652 _ACEOF
18656 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18657 #ifdef HAVE_SYS_SOCKET_H
18658 # include <sys/socket.h>
18659 #endif
18660 #ifdef HAVE_SYS_UN_H
18661 # include <sys/un.h>
18662 #endif
18664 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18666 cat >>confdefs.h <<_ACEOF
18667 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18668 _ACEOF
18674 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18675 #ifdef HAVE_SCSI_SG_H
18676 #include <scsi/sg.h>
18677 #endif
18679 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_SCSIREQ_T_CMD 1
18683 _ACEOF
18687 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>
18688 #ifdef HAVE_SCSI_SG_H
18689 #include <scsi/sg.h>
18690 #endif
18692 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18696 _ACEOF
18702 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18704 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_SIGINFO_T_SI_FD 1
18708 _ACEOF
18714 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18715 #ifdef HAVE_SYS_MTIO_H
18716 #include <sys/mtio.h>
18717 #endif
18719 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18723 _ACEOF
18727 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18728 #ifdef HAVE_SYS_MTIO_H
18729 #include <sys/mtio.h>
18730 #endif
18732 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18736 _ACEOF
18740 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18741 #ifdef HAVE_SYS_MTIO_H
18742 #include <sys/mtio.h>
18743 #endif
18745 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18747 cat >>confdefs.h <<_ACEOF
18748 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18749 _ACEOF
18755 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18756 #include <getopt.h>
18757 #endif
18759 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18761 cat >>confdefs.h <<_ACEOF
18762 #define HAVE_STRUCT_OPTION_NAME 1
18763 _ACEOF
18769 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18770 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18774 _ACEOF
18778 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18779 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STAT_ST_MTIM 1
18783 _ACEOF
18787 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18788 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18792 _ACEOF
18796 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18797 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_STAT_ST_CTIM 1
18801 _ACEOF
18805 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18806 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18810 _ACEOF
18814 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18815 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18817 cat >>confdefs.h <<_ACEOF
18818 #define HAVE_STRUCT_STAT_ST_ATIM 1
18819 _ACEOF
18823 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18824 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18833 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18835 cat >>confdefs.h <<_ACEOF
18836 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18837 _ACEOF
18841 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18842 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18844 cat >>confdefs.h <<_ACEOF
18845 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18846 _ACEOF
18850 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18851 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18855 _ACEOF
18859 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18860 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18864 _ACEOF
18868 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18869 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18873 _ACEOF
18879 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
18880 #include <sys/types.h>
18881 #endif
18882 #ifdef HAVE_NETINET_IN_H
18883 #include <netinet/in.h>
18884 #endif
18886 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18888 cat >>confdefs.h <<_ACEOF
18889 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18890 _ACEOF
18896 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18897 #include <sys/types.h>
18898 #endif
18899 #ifdef HAVE_NETINET_IN_H
18900 #include <netinet/in.h>
18901 #endif
18902 #ifdef HAVE_RESOLV_H
18903 #include <resolv.h>
18904 #endif
18906 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_STRUCT___RES_STATE 1
18910 _ACEOF
18916 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
18917 #include <resolv.h>
18918 #endif
18920 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18924 _ACEOF
18930 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18931 #include <sys/types.h>
18932 #endif
18933 #ifdef HAVE_NETINET_IN_H
18934 # include <netinet/in.h>
18935 #endif
18936 #ifdef HAVE_ARPA_NAMESER_H
18937 # include <arpa/nameser.h>
18938 #endif
18940 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_NS_MSG__MSG_PTR 1
18944 _ACEOF
18950 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18951 #include <sys/types.h>
18952 #endif
18953 #ifdef HAVE_NETINET_IN_H
18954 #include <netinet/in.h>
18955 #endif
18956 #ifdef HAVE_NETINET_IP_H
18957 #include <netinet/ip.h>
18958 #endif
18959 #ifdef HAVE_NETINET_IP_ICMP_H
18960 #include <netinet/ip_icmp.h>
18961 #endif
18962 #ifdef HAVE_NETINET_ICMP_VAR_H
18963 #include <netinet/icmp_var.h>
18964 #endif
18966 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18970 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18977 #include <sys/types.h>
18978 #endif
18979 #ifdef HAVE_ALIAS_H
18980 #include <alias.h>
18981 #endif
18982 #ifdef HAVE_SYS_SOCKET_H
18983 #include <sys/socket.h>
18984 #endif
18985 #ifdef HAVE_SYS_SOCKETVAR_H
18986 #include <sys/socketvar.h>
18987 #endif
18988 #ifdef HAVE_SYS_TIMEOUT_H
18989 #include <sys/timeout.h>
18990 #endif
18991 #ifdef HAVE_NETINET_IN_H
18992 #include <netinet/in.h>
18993 #endif
18994 #ifdef HAVE_NETINET_IN_SYSTM_H
18995 #include <netinet/in_systm.h>
18996 #endif
18997 #ifdef HAVE_NETINET_IP_H
18998 #include <netinet/ip.h>
18999 #endif
19000 #ifdef HAVE_NETINET_IP_VAR_H
19001 #include <netinet/ip_var.h>
19002 #endif
19003 #ifdef HAVE_NETINET_IP_ICMP_H
19004 #include <netinet/ip_icmp.h>
19005 #endif
19006 #ifdef HAVE_NETINET_ICMP_VAR_H
19007 #include <netinet/icmp_var.h>
19008 #endif
19010 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19012 cat >>confdefs.h <<_ACEOF
19013 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19014 _ACEOF
19020 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19021 #include <sys/types.h>
19022 #endif
19023 #ifdef HAVE_SYS_SOCKETVAR_H
19024 #include <sys/socketvar.h>
19025 #endif
19026 #ifdef HAVE_NETINET_IN_H
19027 #include <netinet/in.h>
19028 #endif
19029 #ifdef HAVE_NETINET_IP_VAR_H
19030 #include <netinet/ip_var.h>
19031 #endif
19033 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19037 _ACEOF
19043 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
19044 #include <netinet/ip_var.h>
19045 #endif
19047 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19051 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19058 #include <sys/types.h>
19059 #endif
19060 #ifdef HAVE_SYS_SOCKETVAR_H
19061 #include <sys/socketvar.h>
19062 #endif
19063 #ifdef HAVE_NETINET_IN_H
19064 #include <netinet/in.h>
19065 #endif
19066 #ifdef HAVE_NETINET_TCP_H
19067 #include <netinet/tcp.h>
19068 #endif
19069 #ifdef HAVE_NETINET_TCP_VAR_H
19070 #include <netinet/tcp_var.h>
19071 #endif
19073 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19077 _ACEOF
19083 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
19084 #include <netinet/tcp_var.h>
19085 #endif
19087 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19091 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19098 #include <sys/types.h>
19099 #endif
19100 #ifdef HAVE_NETINET_IN_H
19101 #include <netinet/in.h>
19102 #endif
19103 #ifdef HAVE_NETINET_IP_VAR_H
19104 #include <netinet/ip_var.h>
19105 #endif
19106 #ifdef HAVE_NETINET_UDP_H
19107 #include <netinet/udp.h>
19108 #endif
19109 #ifdef HAVE_NETINET_UDP_VAR_H
19110 #include <netinet/udp_var.h>
19111 #endif
19113 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19117 _ACEOF
19123 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19124 #include <sys/types.h>
19125 #endif
19126 #ifdef HAVE_NET_IF_H
19127 # include <net/if.h>
19128 #endif
19130 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19134 _ACEOF
19140 ac_save_LIBS="$LIBS"
19141 LIBS="$LIBS -lm"
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19143 $as_echo_n "checking for isfinite... " >&6; }
19144 if ${ac_cv_have_isfinite+:} false; then :
19145 $as_echo_n "(cached) " >&6
19146 else
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19149 #define _GNU_SOURCE
19150 #include <math.h>
19152 main ()
19154 float f = 0.0; return isfinite(f)
19156 return 0;
19158 _ACEOF
19159 if ac_fn_c_try_link "$LINENO"; then :
19160 ac_cv_have_isfinite="yes"
19161 else
19162 ac_cv_have_isfinite="no"
19164 rm -f core conftest.err conftest.$ac_objext \
19165 conftest$ac_exeext conftest.$ac_ext
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19168 $as_echo "$ac_cv_have_isfinite" >&6; }
19169 if test "$ac_cv_have_isfinite" = "yes"
19170 then
19172 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19177 $as_echo_n "checking for isinf... " >&6; }
19178 if ${ac_cv_have_isinf+:} false; then :
19179 $as_echo_n "(cached) " >&6
19180 else
19181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19183 #include <math.h>
19185 main ()
19187 float f = 0.0; return isinf(f)
19189 return 0;
19191 _ACEOF
19192 if ac_fn_c_try_link "$LINENO"; then :
19193 ac_cv_have_isinf="yes"
19194 else
19195 ac_cv_have_isinf="no"
19197 rm -f core conftest.err conftest.$ac_objext \
19198 conftest$ac_exeext conftest.$ac_ext
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19201 $as_echo "$ac_cv_have_isinf" >&6; }
19202 if test "$ac_cv_have_isinf" = "yes"
19203 then
19205 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19210 $as_echo_n "checking for isnan... " >&6; }
19211 if ${ac_cv_have_isnan+:} false; then :
19212 $as_echo_n "(cached) " >&6
19213 else
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19216 #include <math.h>
19218 main ()
19220 float f = 0.0; return isnan(f)
19222 return 0;
19224 _ACEOF
19225 if ac_fn_c_try_link "$LINENO"; then :
19226 ac_cv_have_isnan="yes"
19227 else
19228 ac_cv_have_isnan="no"
19230 rm -f core conftest.err conftest.$ac_objext \
19231 conftest$ac_exeext conftest.$ac_ext
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19234 $as_echo "$ac_cv_have_isnan" >&6; }
19235 if test "$ac_cv_have_isnan" = "yes"
19236 then
19238 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19242 for ac_func in \
19243 acosh \
19244 acoshf \
19245 asinh \
19246 asinhf \
19247 atanh \
19248 atanhf \
19249 cbrt \
19250 cbrtf \
19251 erf \
19252 erfc \
19253 erfcf \
19254 erff \
19255 exp2 \
19256 exp2f \
19257 expm1 \
19258 expm1f \
19259 fma \
19260 fmaf \
19261 ilogb \
19262 ilogbf \
19263 j0 \
19264 j1 \
19265 jn \
19266 lgamma \
19267 lgammaf \
19268 llrint \
19269 llrintf \
19270 llround \
19271 llroundf \
19272 log1p \
19273 log1pf \
19274 log2 \
19275 log2f \
19276 lrint \
19277 lrintf \
19278 lround \
19279 lroundf \
19280 nearbyint \
19281 nearbyintf \
19282 nexttoward \
19283 nexttowardf \
19284 powl \
19285 remainder \
19286 remainderf \
19287 remquo \
19288 remquof \
19289 rint \
19290 rintf \
19291 round \
19292 roundf \
19293 tgamma \
19294 tgammaf \
19295 trunc \
19296 truncf \
19297 y0 \
19298 y1 \
19301 do :
19302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19307 _ACEOF
19310 done
19312 LIBS="$ac_save_LIBS"
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19315 $as_echo_n "checking for __builtin_clz... " >&6; }
19316 if ${ac_cv_have___builtin_clz+:} false; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19323 main ()
19325 return __builtin_clz(1)
19327 return 0;
19329 _ACEOF
19330 if ac_fn_c_try_link "$LINENO"; then :
19331 ac_cv_have___builtin_clz="yes"
19332 else
19333 ac_cv_have___builtin_clz="no"
19335 rm -f core conftest.err conftest.$ac_objext \
19336 conftest$ac_exeext conftest.$ac_ext
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19339 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19340 if test "$ac_cv_have___builtin_clz" = "yes"
19341 then
19343 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19348 $as_echo_n "checking for __builtin_popcount... " >&6; }
19349 if ${ac_cv_have___builtin_popcount+:} false; then :
19350 $as_echo_n "(cached) " >&6
19351 else
19352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19356 main ()
19358 return __builtin_popcount(1)
19360 return 0;
19362 _ACEOF
19363 if ac_fn_c_try_link "$LINENO"; then :
19364 ac_cv_have___builtin_popcount="yes"
19365 else
19366 ac_cv_have___builtin_popcount="no"
19368 rm -f core conftest.err conftest.$ac_objext \
19369 conftest$ac_exeext conftest.$ac_ext
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19372 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19373 if test "$ac_cv_have___builtin_popcount" = "yes"
19374 then
19376 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19381 $as_echo_n "checking for __clear_cache... " >&6; }
19382 if ${ac_cv_have___clear_cache+:} false; then :
19383 $as_echo_n "(cached) " >&6
19384 else
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19389 main ()
19391 __clear_cache((void*)0, (void*)0); return 0;
19393 return 0;
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"; then :
19397 ac_cv_have___clear_cache="yes"
19398 else
19399 ac_cv_have___clear_cache="no"
19401 rm -f core conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19405 $as_echo "$ac_cv_have___clear_cache" >&6; }
19406 if test "$ac_cv_have___clear_cache" = "yes"
19407 then
19409 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19414 case $host_cpu in
19415 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19416 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19417 if ${ac_cv_cpp_def___i386__+:} false; then :
19418 $as_echo_n "(cached) " >&6
19419 else
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19422 #ifndef __i386__
19424 #endif
19425 _ACEOF
19426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19427 $EGREP "yes" >/dev/null 2>&1; then :
19428 ac_cv_cpp_def___i386__=yes
19429 else
19430 ac_cv_cpp_def___i386__=no
19432 rm -f conftest*
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19436 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19437 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19438 CFLAGS="$CFLAGS -D__i386__"
19439 LINTFLAGS="$LINTFLAGS -D__i386__"
19440 fi ;;
19441 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19442 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19443 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19444 $as_echo_n "(cached) " >&6
19445 else
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #ifndef __x86_64__
19450 #endif
19451 _ACEOF
19452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19453 $EGREP "yes" >/dev/null 2>&1; then :
19454 ac_cv_cpp_def___x86_64__=yes
19455 else
19456 ac_cv_cpp_def___x86_64__=no
19458 rm -f conftest*
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19462 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19463 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19464 CFLAGS="$CFLAGS -D__x86_64__"
19465 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19466 fi ;;
19467 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19468 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19469 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19470 $as_echo_n "(cached) " >&6
19471 else
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #ifndef __sparc64__
19476 #endif
19477 _ACEOF
19478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19479 $EGREP "yes" >/dev/null 2>&1; then :
19480 ac_cv_cpp_def___sparc64__=yes
19481 else
19482 ac_cv_cpp_def___sparc64__=no
19484 rm -f conftest*
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19488 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19489 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19490 CFLAGS="$CFLAGS -D__sparc64__"
19491 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19492 fi ;;
19493 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19494 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19495 if ${ac_cv_cpp_def___sparc__+:} false; then :
19496 $as_echo_n "(cached) " >&6
19497 else
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500 #ifndef __sparc__
19502 #endif
19503 _ACEOF
19504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19505 $EGREP "yes" >/dev/null 2>&1; then :
19506 ac_cv_cpp_def___sparc__=yes
19507 else
19508 ac_cv_cpp_def___sparc__=no
19510 rm -f conftest*
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19514 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19515 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19516 CFLAGS="$CFLAGS -D__sparc__"
19517 LINTFLAGS="$LINTFLAGS -D__sparc__"
19518 fi ;;
19519 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19520 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19521 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19522 $as_echo_n "(cached) " >&6
19523 else
19524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526 #ifndef __powerpc64__
19528 #endif
19529 _ACEOF
19530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19531 $EGREP "yes" >/dev/null 2>&1; then :
19532 ac_cv_cpp_def___powerpc64__=yes
19533 else
19534 ac_cv_cpp_def___powerpc64__=no
19536 rm -f conftest*
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19540 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19541 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19542 CFLAGS="$CFLAGS -D__powerpc64__"
19543 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19544 fi ;;
19545 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19546 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19547 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19548 $as_echo_n "(cached) " >&6
19549 else
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19552 #ifndef __powerpc__
19554 #endif
19555 _ACEOF
19556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19557 $EGREP "yes" >/dev/null 2>&1; then :
19558 ac_cv_cpp_def___powerpc__=yes
19559 else
19560 ac_cv_cpp_def___powerpc__=no
19562 rm -f conftest*
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19566 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19567 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19568 CFLAGS="$CFLAGS -D__powerpc__"
19569 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19570 fi ;;
19571 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19572 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19573 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19574 $as_echo_n "(cached) " >&6
19575 else
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19578 #ifndef __aarch64__
19580 #endif
19581 _ACEOF
19582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19583 $EGREP "yes" >/dev/null 2>&1; then :
19584 ac_cv_cpp_def___aarch64__=yes
19585 else
19586 ac_cv_cpp_def___aarch64__=no
19588 rm -f conftest*
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19592 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19593 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19594 CFLAGS="$CFLAGS -D__aarch64__"
19595 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19596 fi ;;
19597 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19598 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19599 if ${ac_cv_cpp_def___arm__+:} false; then :
19600 $as_echo_n "(cached) " >&6
19601 else
19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19604 #ifndef __arm__
19606 #endif
19607 _ACEOF
19608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19609 $EGREP "yes" >/dev/null 2>&1; then :
19610 ac_cv_cpp_def___arm__=yes
19611 else
19612 ac_cv_cpp_def___arm__=no
19614 rm -f conftest*
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19618 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19619 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19620 CFLAGS="$CFLAGS -D__arm__"
19621 LINTFLAGS="$LINTFLAGS -D__arm__"
19622 fi ;;
19623 esac
19625 case $host_vendor in
19626 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19627 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19628 if ${ac_cv_cpp_def___sun__+:} false; then :
19629 $as_echo_n "(cached) " >&6
19630 else
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19633 #ifndef __sun__
19635 #endif
19636 _ACEOF
19637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19638 $EGREP "yes" >/dev/null 2>&1; then :
19639 ac_cv_cpp_def___sun__=yes
19640 else
19641 ac_cv_cpp_def___sun__=no
19643 rm -f conftest*
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19647 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19648 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19649 CFLAGS="$CFLAGS -D__sun__"
19650 LINTFLAGS="$LINTFLAGS -D__sun__"
19651 fi ;;
19652 esac
19658 ac_config_commands="$ac_config_commands include/stamp-h"
19660 $as_echo_n "creating Makefile rules..." >&6
19662 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19663 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19664 IOKIT_LIBS = $IOKIT_LIBS
19665 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19666 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19667 CORESERVICES_LIBS = $CORESERVICES_LIBS
19668 APPKIT_LIBS = $APPKIT_LIBS
19669 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19670 SECURITY_LIBS = $SECURITY_LIBS
19671 COREAUDIO_LIBS = $COREAUDIO_LIBS
19672 OPENAL_LIBS = $OPENAL_LIBS
19673 OPENCL_LIBS = $OPENCL_LIBS
19674 QUICKTIME_LIBS = $QUICKTIME_LIBS
19675 CARBON_LIBS = $CARBON_LIBS
19676 METAL_LIBS = $METAL_LIBS
19677 PTHREAD_LIBS = $PTHREAD_LIBS
19678 X_CFLAGS = $X_CFLAGS
19679 X_PRE_LIBS = $X_PRE_LIBS
19680 X_LIBS = $X_LIBS
19681 X_EXTRA_LIBS = $X_EXTRA_LIBS
19682 PCAP_LIBS = $PCAP_LIBS
19683 XML2_CFLAGS = $XML2_CFLAGS
19684 XML2_LIBS = $XML2_LIBS
19685 XSLT_CFLAGS = $XSLT_CFLAGS
19686 XSLT_LIBS = $XSLT_LIBS
19687 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19688 INOTIFY_LIBS = $INOTIFY_LIBS
19689 DBUS_CFLAGS = $DBUS_CFLAGS
19690 DBUS_LIBS = $DBUS_LIBS
19691 HAL_CFLAGS = $HAL_CFLAGS
19692 HAL_LIBS = $HAL_LIBS
19693 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19694 GNUTLS_LIBS = $GNUTLS_LIBS
19695 SANE_CFLAGS = $SANE_CFLAGS
19696 SANE_LIBS = $SANE_LIBS
19697 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19698 GPHOTO2_LIBS = $GPHOTO2_LIBS
19699 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19700 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19701 RESOLV_LIBS = $RESOLV_LIBS
19702 LCMS2_CFLAGS = $LCMS2_CFLAGS
19703 LCMS2_LIBS = $LCMS2_LIBS
19704 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19705 FREETYPE_LIBS = $FREETYPE_LIBS
19706 Z_CFLAGS = $Z_CFLAGS
19707 Z_LIBS = $Z_LIBS
19708 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19709 PULSE_CFLAGS = $PULSE_CFLAGS
19710 PULSE_LIBS = $PULSE_LIBS
19711 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19712 GSTREAMER_LIBS = $GSTREAMER_LIBS
19713 ALSA_LIBS = $ALSA_LIBS
19714 OSS4_CFLAGS = $OSS4_CFLAGS
19715 UDEV_CFLAGS = $UDEV_CFLAGS
19716 UDEV_LIBS = $UDEV_LIBS
19717 SDL2_CFLAGS = $SDL2_CFLAGS
19718 SDL2_LIBS = $SDL2_LIBS
19719 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19720 FAUDIO_LIBS = $FAUDIO_LIBS
19721 CAPI20_CFLAGS = $CAPI20_CFLAGS
19722 CAPI20_LIBS = $CAPI20_LIBS
19723 CUPS_CFLAGS = $CUPS_CFLAGS
19724 CUPS_LIBS = $CUPS_LIBS
19725 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19726 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19727 KRB5_CFLAGS = $KRB5_CFLAGS
19728 KRB5_LIBS = $KRB5_LIBS
19729 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19730 GSSAPI_LIBS = $GSSAPI_LIBS
19731 JPEG_CFLAGS = $JPEG_CFLAGS
19732 JPEG_LIBS = $JPEG_LIBS
19733 PNG_CFLAGS = $PNG_CFLAGS
19734 PNG_LIBS = $PNG_LIBS
19735 TIFF_CFLAGS = $TIFF_CFLAGS
19736 TIFF_LIBS = $TIFF_LIBS
19737 MPG123_CFLAGS = $MPG123_CFLAGS
19738 MPG123_LIBS = $MPG123_LIBS
19739 KSTAT_LIBS = $KSTAT_LIBS
19740 PROCSTAT_LIBS = $PROCSTAT_LIBS
19741 NETAPI_CFLAGS = $NETAPI_CFLAGS
19742 NETAPI_LIBS = $NETAPI_LIBS
19743 VKD3D_CFLAGS = $VKD3D_CFLAGS
19744 VKD3D_LIBS = $VKD3D_LIBS
19745 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19746 DL_LIBS = $DL_LIBS
19747 POLL_LIBS = $POLL_LIBS
19748 RT_LIBS = $RT_LIBS
19749 LDAP_CFLAGS = $LDAP_CFLAGS
19750 LDAP_LIBS = $LDAP_LIBS
19755 wine_fn_append_rule "
19756 # Rules automatically generated by configure
19758 .INIT: Makefile
19759 .MAKEFILEDEPS:
19760 all: Makefile
19761 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19762 @./config.status Make.tmp Makefile
19763 depend: \$(MAKEDEP) dummy
19764 \$(MAKEDEP)"
19766 if test "x$enable_fonts" != xno; then
19767 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19768 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19769 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19770 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19771 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19772 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19774 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19775 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19776 ac_config_links="$ac_config_links wine:tools/winewrapper"
19777 wine_fn_config_symlink wine
19778 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19779 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19780 wine_fn_config_symlink wine64
19783 wine_fn_config_makefile dlls/acledit enable_acledit
19784 wine_fn_config_makefile dlls/aclui enable_aclui
19785 wine_fn_config_makefile dlls/activeds enable_activeds
19786 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19787 wine_fn_config_makefile dlls/adsiid enable_adsiid
19788 wine_fn_config_makefile dlls/adsldp enable_adsldp
19789 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19790 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19791 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19792 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19793 wine_fn_config_makefile dlls/advpack enable_advpack
19794 wine_fn_config_makefile dlls/advpack/tests enable_tests
19795 wine_fn_config_makefile dlls/amsi enable_amsi
19796 wine_fn_config_makefile dlls/amstream enable_amstream
19797 wine_fn_config_makefile dlls/amstream/tests enable_tests
19798 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19800 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19801 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19803 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19808 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19816 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19818 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19820 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19822 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19823 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19824 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19826 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19828 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19829 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19830 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19832 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19833 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19836 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19840 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19842 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19846 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19847 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19850 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19852 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19853 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19856 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19864 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19865 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19872 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19874 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19876 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19877 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19878 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19893 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19900 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19903 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19904 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19907 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19917 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19922 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19923 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19928 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19930 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19949 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19950 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19969 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19980 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19984 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19986 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19988 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19989 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19996 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20005 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20007 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20009 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20013 wine_fn_config_makefile dlls/apphelp enable_apphelp
20014 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20015 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20016 wine_fn_config_makefile dlls/atl enable_atl
20017 wine_fn_config_makefile dlls/atl/tests enable_tests
20018 wine_fn_config_makefile dlls/atl100 enable_atl100
20019 wine_fn_config_makefile dlls/atl100/tests enable_tests
20020 wine_fn_config_makefile dlls/atl110 enable_atl110
20021 wine_fn_config_makefile dlls/atl80 enable_atl80
20022 wine_fn_config_makefile dlls/atl80/tests enable_tests
20023 wine_fn_config_makefile dlls/atl90 enable_atl90
20024 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20025 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20026 wine_fn_config_makefile dlls/atmlib enable_atmlib
20027 wine_fn_config_makefile dlls/authz enable_authz
20028 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20029 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20030 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20031 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20032 wine_fn_config_makefile dlls/avrt enable_avrt
20033 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20034 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20035 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20036 wine_fn_config_makefile dlls/browseui enable_browseui
20037 wine_fn_config_makefile dlls/browseui/tests enable_tests
20038 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20039 wine_fn_config_makefile dlls/cabinet enable_cabinet
20040 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20041 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20042 wine_fn_config_makefile dlls/cards enable_cards
20043 wine_fn_config_makefile dlls/cdosys enable_cdosys
20044 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20045 wine_fn_config_makefile dlls/clusapi enable_clusapi
20046 wine_fn_config_makefile dlls/combase enable_combase
20047 wine_fn_config_makefile dlls/combase/tests enable_tests
20048 wine_fn_config_makefile dlls/comcat enable_comcat
20049 wine_fn_config_makefile dlls/comcat/tests enable_tests
20050 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20051 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20052 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20053 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20054 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20055 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20056 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20057 wine_fn_config_makefile dlls/compstui enable_compstui
20058 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20059 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20060 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20061 wine_fn_config_makefile dlls/connect enable_connect
20062 wine_fn_config_makefile dlls/credui enable_credui
20063 wine_fn_config_makefile dlls/credui/tests enable_tests
20064 wine_fn_config_makefile dlls/crtdll enable_crtdll
20065 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20066 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20067 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20068 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20069 wine_fn_config_makefile dlls/cryptext enable_cryptext
20070 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20071 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20072 wine_fn_config_makefile dlls/cryptui enable_cryptui
20073 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20074 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20075 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20076 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20077 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20078 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20079 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20080 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20081 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20082 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20083 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20084 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20085 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20086 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20087 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20088 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20089 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20090 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20091 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20092 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20093 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20094 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20095 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20096 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20097 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20098 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20099 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20100 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20101 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20102 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20103 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20104 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20105 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20106 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20107 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20108 wine_fn_config_makefile dlls/d3dim enable_d3dim
20109 wine_fn_config_makefile dlls/d3drm enable_d3drm
20110 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20111 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20112 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20113 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20114 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20115 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20116 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20117 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20118 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20119 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20120 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20121 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20122 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20123 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20124 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20125 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20126 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20127 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20128 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20129 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20130 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20131 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20132 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20133 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20134 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20135 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20136 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20137 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20138 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20139 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20140 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20141 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20142 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20143 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20144 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20145 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20146 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20147 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20148 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20149 wine_fn_config_makefile dlls/davclnt enable_davclnt
20150 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20151 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20152 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20153 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20154 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20155 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20156 wine_fn_config_makefile dlls/ddraw enable_ddraw
20157 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20158 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20159 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20160 wine_fn_config_makefile dlls/devenum enable_devenum
20161 wine_fn_config_makefile dlls/devenum/tests enable_tests
20162 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20163 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20164 wine_fn_config_makefile dlls/difxapi enable_difxapi
20165 wine_fn_config_makefile dlls/dinput enable_dinput
20166 wine_fn_config_makefile dlls/dinput/tests enable_tests
20167 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20168 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20169 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20170 wine_fn_config_makefile dlls/dispex enable_dispex
20171 wine_fn_config_makefile dlls/dispex/tests enable_tests
20172 wine_fn_config_makefile dlls/display.drv16 enable_win16
20173 wine_fn_config_makefile dlls/dmband enable_dmband
20174 wine_fn_config_makefile dlls/dmband/tests enable_tests
20175 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20176 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20177 wine_fn_config_makefile dlls/dmime enable_dmime
20178 wine_fn_config_makefile dlls/dmime/tests enable_tests
20179 wine_fn_config_makefile dlls/dmloader enable_dmloader
20180 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20181 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20182 wine_fn_config_makefile dlls/dmscript enable_dmscript
20183 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20184 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20185 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20186 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20187 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20188 wine_fn_config_makefile dlls/dmusic enable_dmusic
20189 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20190 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20191 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20192 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20193 wine_fn_config_makefile dlls/dplay enable_dplay
20194 wine_fn_config_makefile dlls/dplayx enable_dplayx
20195 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20196 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20197 wine_fn_config_makefile dlls/dpnet enable_dpnet
20198 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20199 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20200 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20201 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20202 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20203 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20204 wine_fn_config_makefile dlls/drmclien enable_drmclien
20205 wine_fn_config_makefile dlls/dsound enable_dsound
20206 wine_fn_config_makefile dlls/dsound/tests enable_tests
20207 wine_fn_config_makefile dlls/dsquery enable_dsquery
20208 wine_fn_config_makefile dlls/dssenh enable_dssenh
20209 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20210 wine_fn_config_makefile dlls/dswave enable_dswave
20211 wine_fn_config_makefile dlls/dswave/tests enable_tests
20212 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20213 wine_fn_config_makefile dlls/dwrite enable_dwrite
20214 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20215 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20216 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20217 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20218 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20219 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20220 wine_fn_config_makefile dlls/dxgi enable_dxgi
20221 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20222 wine_fn_config_makefile dlls/dxguid enable_dxguid
20223 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20224 wine_fn_config_makefile dlls/esent enable_esent
20225 wine_fn_config_makefile dlls/evr enable_evr
20226 wine_fn_config_makefile dlls/evr/tests enable_tests
20227 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20228 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20229 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20230 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20231 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20232 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20233 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20234 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20235 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20236 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20237 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20238 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20239 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20240 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20241 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20242 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20243 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20244 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20245 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20246 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20247 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20248 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20249 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20250 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20251 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20252 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20253 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20254 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20255 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20256 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20257 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20258 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20259 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20260 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20261 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20262 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20263 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20264 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20265 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20266 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20267 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20268 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20269 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
20270 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20271 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20272 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20273 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20274 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20275 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20276 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20277 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20278 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20279 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20280 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20281 wine_fn_config_makefile dlls/faultrep enable_faultrep
20282 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20283 wine_fn_config_makefile dlls/feclient enable_feclient
20284 wine_fn_config_makefile dlls/fltlib enable_fltlib
20285 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20286 wine_fn_config_makefile dlls/fntcache enable_fntcache
20287 wine_fn_config_makefile dlls/fontsub enable_fontsub
20288 wine_fn_config_makefile dlls/fusion enable_fusion
20289 wine_fn_config_makefile dlls/fusion/tests enable_tests
20290 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20291 wine_fn_config_makefile dlls/gameux enable_gameux
20292 wine_fn_config_makefile dlls/gameux/tests enable_tests
20293 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20294 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20295 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20296 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20297 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20298 wine_fn_config_makefile dlls/glu32 enable_glu32
20299 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20300 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20301 wine_fn_config_makefile dlls/hal enable_hal
20302 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20303 wine_fn_config_makefile dlls/hid enable_hid
20304 wine_fn_config_makefile dlls/hid/tests enable_tests
20305 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20306 wine_fn_config_makefile dlls/hlink enable_hlink
20307 wine_fn_config_makefile dlls/hlink/tests enable_tests
20308 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20309 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20310 wine_fn_config_makefile dlls/httpapi enable_httpapi
20311 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20312 wine_fn_config_makefile dlls/iccvid enable_iccvid
20313 wine_fn_config_makefile dlls/icmp enable_icmp
20314 wine_fn_config_makefile dlls/ieframe enable_ieframe
20315 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20316 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20317 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20318 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20319 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20320 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20321 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20322 wine_fn_config_makefile dlls/imm32 enable_imm32
20323 wine_fn_config_makefile dlls/imm32/tests enable_tests
20324 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20325 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20326 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20327 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20328 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20329 wine_fn_config_makefile dlls/infosoft enable_infosoft
20330 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20331 wine_fn_config_makefile dlls/initpki enable_initpki
20332 wine_fn_config_makefile dlls/inkobj enable_inkobj
20333 wine_fn_config_makefile dlls/inseng enable_inseng
20334 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20335 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20336 wine_fn_config_makefile dlls/iprop enable_iprop
20337 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20338 wine_fn_config_makefile dlls/itircl enable_itircl
20339 wine_fn_config_makefile dlls/itss enable_itss
20340 wine_fn_config_makefile dlls/itss/tests enable_tests
20341 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20342 wine_fn_config_makefile dlls/jscript enable_jscript
20343 wine_fn_config_makefile dlls/jscript/tests enable_tests
20344 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20345 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20346 wine_fn_config_makefile dlls/kerberos enable_kerberos
20347 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20348 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20349 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20350 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20351 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20352 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20353 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20354 wine_fn_config_makefile dlls/ksuser enable_ksuser
20355 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20356 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20357 wine_fn_config_makefile dlls/loadperf enable_loadperf
20358 wine_fn_config_makefile dlls/localspl enable_localspl
20359 wine_fn_config_makefile dlls/localspl/tests enable_tests
20360 wine_fn_config_makefile dlls/localui enable_localui
20361 wine_fn_config_makefile dlls/localui/tests enable_tests
20362 wine_fn_config_makefile dlls/lz32 enable_lz32
20363 wine_fn_config_makefile dlls/lz32/tests enable_tests
20364 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20365 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20366 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20367 wine_fn_config_makefile dlls/mapistub enable_mapistub
20368 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20369 wine_fn_config_makefile dlls/mcicda enable_mcicda
20370 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20371 wine_fn_config_makefile dlls/mciseq enable_mciseq
20372 wine_fn_config_makefile dlls/mciwave enable_mciwave
20373 wine_fn_config_makefile dlls/mf enable_mf
20374 wine_fn_config_makefile dlls/mf/tests enable_tests
20375 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20376 wine_fn_config_makefile dlls/mferror enable_mferror
20377 wine_fn_config_makefile dlls/mfplat enable_mfplat
20378 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20379 wine_fn_config_makefile dlls/mfplay enable_mfplay
20380 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20381 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20382 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20383 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20384 wine_fn_config_makefile dlls/midimap enable_midimap
20385 wine_fn_config_makefile dlls/mlang enable_mlang
20386 wine_fn_config_makefile dlls/mlang/tests enable_tests
20387 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20388 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20389 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20390 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20391 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20392 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20393 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20394 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20395 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20396 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20397 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20398 wine_fn_config_makefile dlls/mpr enable_mpr
20399 wine_fn_config_makefile dlls/mpr/tests enable_tests
20400 wine_fn_config_makefile dlls/mprapi enable_mprapi
20401 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20402 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20403 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20404 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20405 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20406 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20407 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20408 wine_fn_config_makefile dlls/mscms enable_mscms
20409 wine_fn_config_makefile dlls/mscms/tests enable_tests
20410 wine_fn_config_makefile dlls/mscoree enable_mscoree
20411 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20412 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20413 wine_fn_config_makefile dlls/msctf enable_msctf
20414 wine_fn_config_makefile dlls/msctf/tests enable_tests
20415 wine_fn_config_makefile dlls/msctfp enable_msctfp
20416 wine_fn_config_makefile dlls/msdaps enable_msdaps
20417 wine_fn_config_makefile dlls/msdelta enable_msdelta
20418 wine_fn_config_makefile dlls/msdmo enable_msdmo
20419 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20420 wine_fn_config_makefile dlls/msdrm enable_msdrm
20421 wine_fn_config_makefile dlls/msftedit enable_msftedit
20422 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20423 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20424 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20425 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20426 wine_fn_config_makefile dlls/mshtml enable_mshtml
20427 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20428 wine_fn_config_makefile dlls/msi enable_msi
20429 wine_fn_config_makefile dlls/msi/tests enable_tests
20430 wine_fn_config_makefile dlls/msident enable_msident
20431 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20432 wine_fn_config_makefile dlls/msimsg enable_msimsg
20433 wine_fn_config_makefile dlls/msimtf enable_msimtf
20434 wine_fn_config_makefile dlls/msisip enable_msisip
20435 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20436 wine_fn_config_makefile dlls/msls31 enable_msls31
20437 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20438 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20439 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20440 wine_fn_config_makefile dlls/msports enable_msports
20441 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20442 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20443 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20444 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20445 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20446 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20447 wine_fn_config_makefile dlls/mstask enable_mstask
20448 wine_fn_config_makefile dlls/mstask/tests enable_tests
20449 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20450 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20451 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20452 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20453 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20454 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20455 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20456 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20457 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20458 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20459 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20460 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20461 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20462 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20463 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20464 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20465 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20466 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20467 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20468 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20469 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20470 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20471 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20472 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20473 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20474 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20475 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20476 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20477 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20478 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20479 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20480 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20481 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20482 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20483 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20484 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20485 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20486 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20487 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20488 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20489 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20490 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20491 wine_fn_config_makefile dlls/mswsock enable_mswsock
20492 wine_fn_config_makefile dlls/msxml enable_msxml
20493 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20494 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20495 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20496 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20497 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20498 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20499 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20500 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20501 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20502 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20503 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20504 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20505 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20506 wine_fn_config_makefile dlls/netprofm enable_netprofm
20507 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20508 wine_fn_config_makefile dlls/newdev enable_newdev
20509 wine_fn_config_makefile dlls/ninput enable_ninput
20510 wine_fn_config_makefile dlls/ninput/tests enable_tests
20511 wine_fn_config_makefile dlls/normaliz enable_normaliz
20512 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20513 wine_fn_config_makefile dlls/npptools enable_npptools
20514 wine_fn_config_makefile dlls/ntdll enable_ntdll
20515 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20516 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20517 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20518 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20519 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20520 wine_fn_config_makefile dlls/ntprint enable_ntprint
20521 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20522 wine_fn_config_makefile dlls/objsel enable_objsel
20523 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20524 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20525 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20526 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20527 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20528 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20529 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20530 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20531 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20532 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20533 wine_fn_config_makefile dlls/ole32 enable_ole32
20534 wine_fn_config_makefile dlls/ole32/tests enable_tests
20535 wine_fn_config_makefile dlls/oleacc enable_oleacc
20536 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20537 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20538 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20539 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20540 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20541 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20542 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20543 wine_fn_config_makefile dlls/oledlg enable_oledlg
20544 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20545 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20546 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20547 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20548 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20549 wine_fn_config_makefile dlls/opcservices enable_opcservices
20550 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20551 wine_fn_config_makefile dlls/openal32 enable_openal32
20552 wine_fn_config_makefile dlls/opencl enable_opencl
20553 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20554 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20555 wine_fn_config_makefile dlls/packager enable_packager
20556 wine_fn_config_makefile dlls/packager/tests enable_tests
20557 wine_fn_config_makefile dlls/pdh enable_pdh
20558 wine_fn_config_makefile dlls/pdh/tests enable_tests
20559 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20560 wine_fn_config_makefile dlls/pidgen enable_pidgen
20561 wine_fn_config_makefile dlls/powrprof enable_powrprof
20562 wine_fn_config_makefile dlls/printui enable_printui
20563 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20564 wine_fn_config_makefile dlls/propsys enable_propsys
20565 wine_fn_config_makefile dlls/propsys/tests enable_tests
20566 wine_fn_config_makefile dlls/psapi enable_psapi
20567 wine_fn_config_makefile dlls/psapi/tests enable_tests
20568 wine_fn_config_makefile dlls/pstorec enable_pstorec
20569 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20570 wine_fn_config_makefile dlls/qcap enable_qcap
20571 wine_fn_config_makefile dlls/qcap/tests enable_tests
20572 wine_fn_config_makefile dlls/qedit enable_qedit
20573 wine_fn_config_makefile dlls/qedit/tests enable_tests
20574 wine_fn_config_makefile dlls/qmgr enable_qmgr
20575 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20576 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20577 wine_fn_config_makefile dlls/quartz enable_quartz
20578 wine_fn_config_makefile dlls/quartz/tests enable_tests
20579 wine_fn_config_makefile dlls/query enable_query
20580 wine_fn_config_makefile dlls/qwave enable_qwave
20581 wine_fn_config_makefile dlls/qwave/tests enable_tests
20582 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20583 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20584 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20585 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20586 wine_fn_config_makefile dlls/regapi enable_regapi
20587 wine_fn_config_makefile dlls/resutils enable_resutils
20588 wine_fn_config_makefile dlls/riched20 enable_riched20
20589 wine_fn_config_makefile dlls/riched20/tests enable_tests
20590 wine_fn_config_makefile dlls/riched32 enable_riched32
20591 wine_fn_config_makefile dlls/riched32/tests enable_tests
20592 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20593 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20594 wine_fn_config_makefile dlls/rsabase enable_rsabase
20595 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20596 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20597 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20598 wine_fn_config_makefile dlls/rtutils enable_rtutils
20599 wine_fn_config_makefile dlls/samlib enable_samlib
20600 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20601 wine_fn_config_makefile dlls/sapi enable_sapi
20602 wine_fn_config_makefile dlls/sapi/tests enable_tests
20603 wine_fn_config_makefile dlls/sas enable_sas
20604 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20605 wine_fn_config_makefile dlls/sccbase enable_sccbase
20606 wine_fn_config_makefile dlls/schannel enable_schannel
20607 wine_fn_config_makefile dlls/schannel/tests enable_tests
20608 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20609 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20610 wine_fn_config_makefile dlls/scrobj enable_scrobj
20611 wine_fn_config_makefile dlls/scrrun enable_scrrun
20612 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20613 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20614 wine_fn_config_makefile dlls/secur32 enable_secur32
20615 wine_fn_config_makefile dlls/secur32/tests enable_tests
20616 wine_fn_config_makefile dlls/security enable_security
20617 wine_fn_config_makefile dlls/sensapi enable_sensapi
20618 wine_fn_config_makefile dlls/serialui enable_serialui
20619 wine_fn_config_makefile dlls/serialui/tests enable_tests
20620 wine_fn_config_makefile dlls/setupapi enable_setupapi
20621 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20622 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20623 wine_fn_config_makefile dlls/sfc enable_sfc
20624 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20625 wine_fn_config_makefile dlls/shcore enable_shcore
20626 wine_fn_config_makefile dlls/shcore/tests enable_tests
20627 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20628 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20629 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20630 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20631 wine_fn_config_makefile dlls/shell32 enable_shell32
20632 wine_fn_config_makefile dlls/shell32/tests enable_tests
20633 wine_fn_config_makefile dlls/shfolder enable_shfolder
20634 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20635 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20636 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20637 wine_fn_config_makefile dlls/slc enable_slc
20638 wine_fn_config_makefile dlls/slc/tests enable_tests
20639 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20640 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20641 wine_fn_config_makefile dlls/softpub enable_softpub
20642 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20643 wine_fn_config_makefile dlls/spoolss enable_spoolss
20644 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20645 wine_fn_config_makefile dlls/srclient enable_srclient
20646 wine_fn_config_makefile dlls/sspicli enable_sspicli
20647 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20648 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20649 wine_fn_config_makefile dlls/sti enable_sti
20650 wine_fn_config_makefile dlls/sti/tests enable_tests
20651 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20652 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20653 wine_fn_config_makefile dlls/strmbase enable_strmbase
20654 wine_fn_config_makefile dlls/strmdll enable_strmdll
20655 wine_fn_config_makefile dlls/strmiids enable_strmiids
20656 wine_fn_config_makefile dlls/svrapi enable_svrapi
20657 wine_fn_config_makefile dlls/sxs enable_sxs
20658 wine_fn_config_makefile dlls/sxs/tests enable_tests
20659 wine_fn_config_makefile dlls/system.drv16 enable_win16
20660 wine_fn_config_makefile dlls/t2embed enable_t2embed
20661 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20662 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20663 wine_fn_config_makefile dlls/taskschd enable_taskschd
20664 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20665 wine_fn_config_makefile dlls/tdh enable_tdh
20666 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20667 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20668 wine_fn_config_makefile dlls/traffic enable_traffic
20669 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20670 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20671 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20672 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20673 wine_fn_config_makefile dlls/tzres enable_tzres
20674 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20675 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20676 wine_fn_config_makefile dlls/uianimation enable_uianimation
20677 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20678 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20679 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20680 wine_fn_config_makefile dlls/unicows enable_unicows
20681 wine_fn_config_makefile dlls/updspapi enable_updspapi
20682 wine_fn_config_makefile dlls/url enable_url
20683 wine_fn_config_makefile dlls/urlmon enable_urlmon
20684 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20685 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20686 wine_fn_config_makefile dlls/user.exe16 enable_win16
20687 wine_fn_config_makefile dlls/user32 enable_user32
20688 wine_fn_config_makefile dlls/user32/tests enable_tests
20689 wine_fn_config_makefile dlls/userenv enable_userenv
20690 wine_fn_config_makefile dlls/userenv/tests enable_tests
20691 wine_fn_config_makefile dlls/usp10 enable_usp10
20692 wine_fn_config_makefile dlls/usp10/tests enable_tests
20693 wine_fn_config_makefile dlls/utildll enable_utildll
20694 wine_fn_config_makefile dlls/uuid enable_uuid
20695 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20696 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20697 wine_fn_config_makefile dlls/vbscript enable_vbscript
20698 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20699 wine_fn_config_makefile dlls/vcomp enable_vcomp
20700 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20701 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20702 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20703 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20704 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20705 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20706 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20707 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20708 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20709 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20710 wine_fn_config_makefile dlls/version enable_version
20711 wine_fn_config_makefile dlls/version/tests enable_tests
20712 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20713 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20714 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20715 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20716 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20717 wine_fn_config_makefile dlls/vssapi enable_vssapi
20718 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20719 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20720 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20721 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20722 wine_fn_config_makefile dlls/w32skrnl enable_win16
20723 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20724 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20725 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20726 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20727 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20728 wine_fn_config_makefile dlls/wdscore enable_wdscore
20729 wine_fn_config_makefile dlls/webservices enable_webservices
20730 wine_fn_config_makefile dlls/webservices/tests enable_tests
20731 wine_fn_config_makefile dlls/wer enable_wer
20732 wine_fn_config_makefile dlls/wer/tests enable_tests
20733 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20734 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20735 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20736 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20737 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20738 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20739 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20740 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20741 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20742 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20743 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20744 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20745 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20746 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20747 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20748 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20749 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20750 wine_fn_config_makefile dlls/wined3d enable_wined3d
20751 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20752 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20753 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20754 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20755 wine_fn_config_makefile dlls/winemapi enable_winemapi
20756 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20757 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20758 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20759 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20760 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20761 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20762 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20763 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20764 wine_fn_config_makefile dlls/wing32 enable_wing32
20765 wine_fn_config_makefile dlls/winhttp enable_winhttp
20766 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20767 wine_fn_config_makefile dlls/wininet enable_wininet
20768 wine_fn_config_makefile dlls/wininet/tests enable_tests
20769 wine_fn_config_makefile dlls/winmm enable_winmm
20770 wine_fn_config_makefile dlls/winmm/tests enable_tests
20771 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20772 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20773 wine_fn_config_makefile dlls/winscard enable_winscard
20774 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20775 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20776 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20777 wine_fn_config_makefile dlls/winsta enable_winsta
20778 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20779 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20780 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20781 wine_fn_config_makefile dlls/wintrust enable_wintrust
20782 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20783 wine_fn_config_makefile dlls/winusb enable_winusb
20784 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20785 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20786 wine_fn_config_makefile dlls/wlanui enable_wlanui
20787 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20788 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20789 wine_fn_config_makefile dlls/wmasf enable_wmasf
20790 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20791 wine_fn_config_makefile dlls/wmi enable_wmi
20792 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20793 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20794 wine_fn_config_makefile dlls/wmp enable_wmp
20795 wine_fn_config_makefile dlls/wmp/tests enable_tests
20796 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20797 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20798 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20799 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20800 wine_fn_config_makefile dlls/wow32 enable_win16
20801 wine_fn_config_makefile dlls/wpc enable_wpc
20802 wine_fn_config_makefile dlls/wpc/tests enable_tests
20803 wine_fn_config_makefile dlls/wpcap enable_wpcap
20804 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20805 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20806 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20807 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20808 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20809 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20810 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20811 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20812 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20813 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20814 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20815 wine_fn_config_makefile dlls/wuapi enable_wuapi
20816 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20817 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20818 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20819 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20820 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20821 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20822 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20823 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20824 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20825 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20826 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20827 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20828 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20829 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20830 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20831 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20832 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20833 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20834 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20835 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20836 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20837 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20838 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20839 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20840 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20841 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20842 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20843 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20844 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20845 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20846 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20847 wine_fn_config_makefile dlls/xmllite enable_xmllite
20848 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20849 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20850 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20851 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20852 wine_fn_config_makefile fonts enable_fonts
20853 wine_fn_config_makefile include enable_include
20854 wine_fn_config_makefile libs/port enable_port
20855 wine_fn_config_makefile libs/wine enable_wine
20856 wine_fn_config_makefile libs/wpp enable_wpp
20857 wine_fn_config_makefile loader enable_loader
20858 wine_fn_config_makefile po enable_po
20859 wine_fn_config_makefile programs/arp enable_arp
20860 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20861 wine_fn_config_makefile programs/attrib enable_attrib
20862 wine_fn_config_makefile programs/cabarc enable_cabarc
20863 wine_fn_config_makefile programs/cacls enable_cacls
20864 wine_fn_config_makefile programs/clock enable_clock
20865 wine_fn_config_makefile programs/cmd enable_cmd
20866 wine_fn_config_makefile programs/cmd/tests enable_tests
20867 wine_fn_config_makefile programs/conhost enable_conhost
20868 wine_fn_config_makefile programs/control enable_control
20869 wine_fn_config_makefile programs/cscript enable_cscript
20870 wine_fn_config_makefile programs/dism enable_dism
20871 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20872 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20873 wine_fn_config_makefile programs/eject enable_eject
20874 wine_fn_config_makefile programs/expand enable_expand
20875 wine_fn_config_makefile programs/explorer enable_explorer
20876 wine_fn_config_makefile programs/extrac32 enable_extrac32
20877 wine_fn_config_makefile programs/fc enable_fc
20878 wine_fn_config_makefile programs/find enable_find
20879 wine_fn_config_makefile programs/findstr enable_findstr
20880 wine_fn_config_makefile programs/fsutil enable_fsutil
20881 wine_fn_config_makefile programs/hh enable_hh
20882 wine_fn_config_makefile programs/hostname enable_hostname
20883 wine_fn_config_makefile programs/icacls enable_icacls
20884 wine_fn_config_makefile programs/icinfo enable_icinfo
20885 wine_fn_config_makefile programs/iexplore enable_iexplore
20886 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20887 wine_fn_config_makefile programs/lodctr enable_lodctr
20888 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20889 wine_fn_config_makefile programs/mshta enable_mshta
20890 wine_fn_config_makefile programs/msidb enable_msidb
20891 wine_fn_config_makefile programs/msiexec enable_msiexec
20892 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20893 wine_fn_config_makefile programs/net enable_net
20894 wine_fn_config_makefile programs/netsh enable_netsh
20895 wine_fn_config_makefile programs/netstat enable_netstat
20896 wine_fn_config_makefile programs/ngen enable_ngen
20897 wine_fn_config_makefile programs/notepad enable_notepad
20898 wine_fn_config_makefile programs/oleview enable_oleview
20899 wine_fn_config_makefile programs/ping enable_ping
20900 wine_fn_config_makefile programs/plugplay enable_plugplay
20901 wine_fn_config_makefile programs/powershell enable_powershell
20902 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20903 wine_fn_config_makefile programs/progman enable_progman
20904 wine_fn_config_makefile programs/reg enable_reg
20905 wine_fn_config_makefile programs/reg/tests enable_tests
20906 wine_fn_config_makefile programs/regasm enable_regasm
20907 wine_fn_config_makefile programs/regedit enable_regedit
20908 wine_fn_config_makefile programs/regedit/tests enable_tests
20909 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20910 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20911 wine_fn_config_makefile programs/rpcss enable_rpcss
20912 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20913 wine_fn_config_makefile programs/rundll32 enable_rundll32
20914 wine_fn_config_makefile programs/sc enable_sc
20915 wine_fn_config_makefile programs/schtasks enable_schtasks
20916 wine_fn_config_makefile programs/schtasks/tests enable_tests
20917 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20918 wine_fn_config_makefile programs/secedit enable_secedit
20919 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20920 wine_fn_config_makefile programs/services enable_services
20921 wine_fn_config_makefile programs/services/tests enable_tests
20922 wine_fn_config_makefile programs/shutdown enable_shutdown
20923 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20924 wine_fn_config_makefile programs/start enable_start
20925 wine_fn_config_makefile programs/subst enable_subst
20926 wine_fn_config_makefile programs/svchost enable_svchost
20927 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20928 wine_fn_config_makefile programs/taskkill enable_taskkill
20929 wine_fn_config_makefile programs/tasklist enable_tasklist
20930 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20931 wine_fn_config_makefile programs/termsv enable_termsv
20932 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20933 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20934 wine_fn_config_makefile programs/view enable_view
20935 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20936 wine_fn_config_makefile programs/wineboot enable_wineboot
20937 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20938 wine_fn_config_makefile programs/winecfg enable_winecfg
20939 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20940 wine_fn_config_makefile programs/winedbg enable_winedbg
20941 wine_fn_config_makefile programs/winedevice enable_winedevice
20942 wine_fn_config_makefile programs/winefile enable_winefile
20943 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20944 wine_fn_config_makefile programs/winemine enable_winemine
20945 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20946 wine_fn_config_makefile programs/winepath enable_winepath
20947 wine_fn_config_makefile programs/winetest enable_winetest
20948 wine_fn_config_makefile programs/winevdm enable_win16
20949 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20950 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20951 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20952 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20953 wine_fn_config_makefile programs/winver enable_winver
20954 wine_fn_config_makefile programs/wmic enable_wmic
20955 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20956 wine_fn_config_makefile programs/wordpad enable_wordpad
20957 wine_fn_config_makefile programs/write enable_write
20958 wine_fn_config_makefile programs/wscript enable_wscript
20959 wine_fn_config_makefile programs/wscript/tests enable_tests
20960 wine_fn_config_makefile programs/wusa enable_wusa
20961 wine_fn_config_makefile programs/xcopy enable_xcopy
20962 wine_fn_config_makefile programs/xcopy/tests enable_tests
20963 wine_fn_config_makefile server enable_server
20964 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20965 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20966 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20967 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20968 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20969 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20970 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20971 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20972 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20975 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20976 wine_fn_append_file CONFIGURE_TARGETS "tags"
20977 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20978 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20979 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20980 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20981 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20982 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20984 if test "x$enable_tools" != xno
20985 then
20986 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20987 ac_config_commands="$ac_config_commands tools/makedep"
20991 ac_config_commands="$ac_config_commands Makefile"
20994 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20998 if test "x$enable_maintainer_mode" = xyes
20999 then
21000 wine_fn_append_rule "configure: configure.ac aclocal.m4
21001 autoconf --warnings=all
21002 include/config.h.in: include/stamp-h.in
21003 include/stamp-h.in: configure.ac aclocal.m4
21004 autoheader --warnings=all
21005 @echo timestamp > \$@"
21008 if test "x$enable_tools" != xno
21009 then
21010 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21011 @./config.status tools/makedep
21012 Makefile: tools/makedep$ac_exeext
21013 fonts: tools/sfnt2fon
21014 include: tools tools/widl"
21015 else
21016 wine_fn_append_rule "\$(MAKEDEP):
21017 @echo \"You need to run make in $TOOLSDIR first\" && false"
21020 if test -n "$with_wine64"
21021 then
21022 case "$with_wine64" in
21023 /*) reldir="" ;;
21024 *) reldir="../" ;;
21025 esac
21026 rm -f fonts server 2>/dev/null
21027 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21028 loader/wine64 loader/wine64-preloader:
21029 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21030 $with_wine64/loader/wine:
21031 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21032 $with_wine64/loader/wine-preloader:
21033 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21034 clean::
21035 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21036 else
21037 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21038 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21039 fonts \
21040 loader/l_intl.nls \
21041 loader/wine.inf \
21042 loader/winehid.inf \
21043 programs/msidb/msidb \
21044 programs/msiexec/msiexec \
21045 programs/notepad/notepad \
21046 programs/regedit/regedit \
21047 programs/regsvr32/regsvr32 \
21048 programs/wineboot/wineboot \
21049 programs/winecfg/winecfg \
21050 programs/wineconsole/wineconsole \
21051 programs/winedbg/winedbg \
21052 programs/winefile/winefile \
21053 programs/winemine/winemine \
21054 programs/winepath/winepath \
21055 server/wineserver"
21057 case $host_os in
21058 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21059 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21060 esac
21063 $as_echo " done" >&6
21064 cat >confcache <<\_ACEOF
21065 # This file is a shell script that caches the results of configure
21066 # tests run on this system so they can be shared between configure
21067 # scripts and configure runs, see configure's option --config-cache.
21068 # It is not useful on other systems. If it contains results you don't
21069 # want to keep, you may remove or edit it.
21071 # config.status only pays attention to the cache file if you give it
21072 # the --recheck option to rerun configure.
21074 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21075 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21076 # following values.
21078 _ACEOF
21080 # The following way of writing the cache mishandles newlines in values,
21081 # but we know of no workaround that is simple, portable, and efficient.
21082 # So, we kill variables containing newlines.
21083 # Ultrix sh set writes to stderr and can't be redirected directly,
21084 # and sets the high bit in the cache file unless we assign to the vars.
21086 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21087 eval ac_val=\$$ac_var
21088 case $ac_val in #(
21089 *${as_nl}*)
21090 case $ac_var in #(
21091 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21093 esac
21094 case $ac_var in #(
21095 _ | IFS | as_nl) ;; #(
21096 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21097 *) { eval $ac_var=; unset $ac_var;} ;;
21098 esac ;;
21099 esac
21100 done
21102 (set) 2>&1 |
21103 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21104 *${as_nl}ac_space=\ *)
21105 # `set' does not quote correctly, so add quotes: double-quote
21106 # substitution turns \\\\ into \\, and sed turns \\ into \.
21107 sed -n \
21108 "s/'/'\\\\''/g;
21109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21110 ;; #(
21112 # `set' quotes correctly as required by POSIX, so do not add quotes.
21113 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21115 esac |
21116 sort
21118 sed '
21119 /^ac_cv_env_/b end
21120 t clear
21121 :clear
21122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21123 t end
21124 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21125 :end' >>confcache
21126 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21127 if test -w "$cache_file"; then
21128 if test "x$cache_file" != "x/dev/null"; then
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21130 $as_echo "$as_me: updating cache $cache_file" >&6;}
21131 if test ! -f "$cache_file" || test -h "$cache_file"; then
21132 cat confcache >"$cache_file"
21133 else
21134 case $cache_file in #(
21135 */* | ?:*)
21136 mv -f confcache "$cache_file"$$ &&
21137 mv -f "$cache_file"$$ "$cache_file" ;; #(
21139 mv -f confcache "$cache_file" ;;
21140 esac
21143 else
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21145 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21148 rm -f confcache
21150 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21151 # Let make expand exec_prefix.
21152 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21154 DEFS=-DHAVE_CONFIG_H
21156 ac_libobjs=
21157 ac_ltlibobjs=
21159 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21160 # 1. Remove the extension, and $U if already installed.
21161 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21162 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21163 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21164 # will be set to the directory where LIBOBJS objects are built.
21165 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21166 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21167 done
21168 LIBOBJS=$ac_libobjs
21170 LTLIBOBJS=$ac_ltlibobjs
21174 : "${CONFIG_STATUS=./config.status}"
21175 ac_write_fail=0
21176 ac_clean_files_save=$ac_clean_files
21177 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21179 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21180 as_write_fail=0
21181 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21182 #! $SHELL
21183 # Generated by $as_me.
21184 # Run this file to recreate the current configuration.
21185 # Compiler output produced by configure, useful for debugging
21186 # configure, is in config.log if it exists.
21188 debug=false
21189 ac_cs_recheck=false
21190 ac_cs_silent=false
21192 SHELL=\${CONFIG_SHELL-$SHELL}
21193 export SHELL
21194 _ASEOF
21195 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21196 ## -------------------- ##
21197 ## M4sh Initialization. ##
21198 ## -------------------- ##
21200 # Be more Bourne compatible
21201 DUALCASE=1; export DUALCASE # for MKS sh
21202 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21203 emulate sh
21204 NULLCMD=:
21205 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21206 # is contrary to our usage. Disable this feature.
21207 alias -g '${1+"$@"}'='"$@"'
21208 setopt NO_GLOB_SUBST
21209 else
21210 case `(set -o) 2>/dev/null` in #(
21211 *posix*) :
21212 set -o posix ;; #(
21213 *) :
21215 esac
21219 as_nl='
21221 export as_nl
21222 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21223 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21224 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21225 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21226 # Prefer a ksh shell builtin over an external printf program on Solaris,
21227 # but without wasting forks for bash or zsh.
21228 if test -z "$BASH_VERSION$ZSH_VERSION" \
21229 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21230 as_echo='print -r --'
21231 as_echo_n='print -rn --'
21232 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21233 as_echo='printf %s\n'
21234 as_echo_n='printf %s'
21235 else
21236 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21237 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21238 as_echo_n='/usr/ucb/echo -n'
21239 else
21240 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21241 as_echo_n_body='eval
21242 arg=$1;
21243 case $arg in #(
21244 *"$as_nl"*)
21245 expr "X$arg" : "X\\(.*\\)$as_nl";
21246 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21247 esac;
21248 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21250 export as_echo_n_body
21251 as_echo_n='sh -c $as_echo_n_body as_echo'
21253 export as_echo_body
21254 as_echo='sh -c $as_echo_body as_echo'
21257 # The user is always right.
21258 if test "${PATH_SEPARATOR+set}" != set; then
21259 PATH_SEPARATOR=:
21260 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21261 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21262 PATH_SEPARATOR=';'
21267 # IFS
21268 # We need space, tab and new line, in precisely that order. Quoting is
21269 # there to prevent editors from complaining about space-tab.
21270 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21271 # splitting by setting IFS to empty value.)
21272 IFS=" "" $as_nl"
21274 # Find who we are. Look in the path if we contain no directory separator.
21275 as_myself=
21276 case $0 in #((
21277 *[\\/]* ) as_myself=$0 ;;
21278 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21279 for as_dir in $PATH
21281 IFS=$as_save_IFS
21282 test -z "$as_dir" && as_dir=.
21283 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21284 done
21285 IFS=$as_save_IFS
21288 esac
21289 # We did not find ourselves, most probably we were run as `sh COMMAND'
21290 # in which case we are not to be found in the path.
21291 if test "x$as_myself" = x; then
21292 as_myself=$0
21294 if test ! -f "$as_myself"; then
21295 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21296 exit 1
21299 # Unset variables that we do not need and which cause bugs (e.g. in
21300 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21301 # suppresses any "Segmentation fault" message there. '((' could
21302 # trigger a bug in pdksh 5.2.14.
21303 for as_var in BASH_ENV ENV MAIL MAILPATH
21304 do eval test x\${$as_var+set} = xset \
21305 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21306 done
21307 PS1='$ '
21308 PS2='> '
21309 PS4='+ '
21311 # NLS nuisances.
21312 LC_ALL=C
21313 export LC_ALL
21314 LANGUAGE=C
21315 export LANGUAGE
21317 # CDPATH.
21318 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21321 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21322 # ----------------------------------------
21323 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21324 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21325 # script with STATUS, using 1 if that was 0.
21326 as_fn_error ()
21328 as_status=$1; test $as_status -eq 0 && as_status=1
21329 if test "$4"; then
21330 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21331 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21333 $as_echo "$as_me: error: $2" >&2
21334 as_fn_exit $as_status
21335 } # as_fn_error
21338 # as_fn_set_status STATUS
21339 # -----------------------
21340 # Set $? to STATUS, without forking.
21341 as_fn_set_status ()
21343 return $1
21344 } # as_fn_set_status
21346 # as_fn_exit STATUS
21347 # -----------------
21348 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21349 as_fn_exit ()
21351 set +e
21352 as_fn_set_status $1
21353 exit $1
21354 } # as_fn_exit
21356 # as_fn_unset VAR
21357 # ---------------
21358 # Portably unset VAR.
21359 as_fn_unset ()
21361 { eval $1=; unset $1;}
21363 as_unset=as_fn_unset
21364 # as_fn_append VAR VALUE
21365 # ----------------------
21366 # Append the text in VALUE to the end of the definition contained in VAR. Take
21367 # advantage of any shell optimizations that allow amortized linear growth over
21368 # repeated appends, instead of the typical quadratic growth present in naive
21369 # implementations.
21370 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21371 eval 'as_fn_append ()
21373 eval $1+=\$2
21375 else
21376 as_fn_append ()
21378 eval $1=\$$1\$2
21380 fi # as_fn_append
21382 # as_fn_arith ARG...
21383 # ------------------
21384 # Perform arithmetic evaluation on the ARGs, and store the result in the
21385 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21386 # must be portable across $(()) and expr.
21387 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21388 eval 'as_fn_arith ()
21390 as_val=$(( $* ))
21392 else
21393 as_fn_arith ()
21395 as_val=`expr "$@" || test $? -eq 1`
21397 fi # as_fn_arith
21400 if expr a : '\(a\)' >/dev/null 2>&1 &&
21401 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21402 as_expr=expr
21403 else
21404 as_expr=false
21407 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21408 as_basename=basename
21409 else
21410 as_basename=false
21413 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21414 as_dirname=dirname
21415 else
21416 as_dirname=false
21419 as_me=`$as_basename -- "$0" ||
21420 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21421 X"$0" : 'X\(//\)$' \| \
21422 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21423 $as_echo X/"$0" |
21424 sed '/^.*\/\([^/][^/]*\)\/*$/{
21425 s//\1/
21428 /^X\/\(\/\/\)$/{
21429 s//\1/
21432 /^X\/\(\/\).*/{
21433 s//\1/
21436 s/.*/./; q'`
21438 # Avoid depending upon Character Ranges.
21439 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21440 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21441 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21442 as_cr_digits='0123456789'
21443 as_cr_alnum=$as_cr_Letters$as_cr_digits
21445 ECHO_C= ECHO_N= ECHO_T=
21446 case `echo -n x` in #(((((
21447 -n*)
21448 case `echo 'xy\c'` in
21449 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21450 xy) ECHO_C='\c';;
21451 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21452 ECHO_T=' ';;
21453 esac;;
21455 ECHO_N='-n';;
21456 esac
21458 rm -f conf$$ conf$$.exe conf$$.file
21459 if test -d conf$$.dir; then
21460 rm -f conf$$.dir/conf$$.file
21461 else
21462 rm -f conf$$.dir
21463 mkdir conf$$.dir 2>/dev/null
21465 if (echo >conf$$.file) 2>/dev/null; then
21466 if ln -s conf$$.file conf$$ 2>/dev/null; then
21467 as_ln_s='ln -s'
21468 # ... but there are two gotchas:
21469 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21470 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21471 # In both cases, we have to default to `cp -pR'.
21472 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21473 as_ln_s='cp -pR'
21474 elif ln conf$$.file conf$$ 2>/dev/null; then
21475 as_ln_s=ln
21476 else
21477 as_ln_s='cp -pR'
21479 else
21480 as_ln_s='cp -pR'
21482 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21483 rmdir conf$$.dir 2>/dev/null
21486 # as_fn_mkdir_p
21487 # -------------
21488 # Create "$as_dir" as a directory, including parents if necessary.
21489 as_fn_mkdir_p ()
21492 case $as_dir in #(
21493 -*) as_dir=./$as_dir;;
21494 esac
21495 test -d "$as_dir" || eval $as_mkdir_p || {
21496 as_dirs=
21497 while :; do
21498 case $as_dir in #(
21499 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21500 *) as_qdir=$as_dir;;
21501 esac
21502 as_dirs="'$as_qdir' $as_dirs"
21503 as_dir=`$as_dirname -- "$as_dir" ||
21504 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21505 X"$as_dir" : 'X\(//\)[^/]' \| \
21506 X"$as_dir" : 'X\(//\)$' \| \
21507 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21508 $as_echo X"$as_dir" |
21509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21510 s//\1/
21513 /^X\(\/\/\)[^/].*/{
21514 s//\1/
21517 /^X\(\/\/\)$/{
21518 s//\1/
21521 /^X\(\/\).*/{
21522 s//\1/
21525 s/.*/./; q'`
21526 test -d "$as_dir" && break
21527 done
21528 test -z "$as_dirs" || eval "mkdir $as_dirs"
21529 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21532 } # as_fn_mkdir_p
21533 if mkdir -p . 2>/dev/null; then
21534 as_mkdir_p='mkdir -p "$as_dir"'
21535 else
21536 test -d ./-p && rmdir ./-p
21537 as_mkdir_p=false
21541 # as_fn_executable_p FILE
21542 # -----------------------
21543 # Test if FILE is an executable regular file.
21544 as_fn_executable_p ()
21546 test -f "$1" && test -x "$1"
21547 } # as_fn_executable_p
21548 as_test_x='test -x'
21549 as_executable_p=as_fn_executable_p
21551 # Sed expression to map a string onto a valid CPP name.
21552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21554 # Sed expression to map a string onto a valid variable name.
21555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21558 exec 6>&1
21559 ## ----------------------------------- ##
21560 ## Main body of $CONFIG_STATUS script. ##
21561 ## ----------------------------------- ##
21562 _ASEOF
21563 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21566 # Save the log message, to keep $0 and so on meaningful, and to
21567 # report actual input values of CONFIG_FILES etc. instead of their
21568 # values after options handling.
21569 ac_log="
21570 This file was extended by Wine $as_me 4.13, which was
21571 generated by GNU Autoconf 2.69. Invocation command line was
21573 CONFIG_FILES = $CONFIG_FILES
21574 CONFIG_HEADERS = $CONFIG_HEADERS
21575 CONFIG_LINKS = $CONFIG_LINKS
21576 CONFIG_COMMANDS = $CONFIG_COMMANDS
21577 $ $0 $@
21579 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21582 _ACEOF
21584 case $ac_config_files in *"
21585 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21586 esac
21588 case $ac_config_headers in *"
21589 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21590 esac
21593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21594 # Files that config.status was made for.
21595 config_files="$ac_config_files"
21596 config_headers="$ac_config_headers"
21597 config_links="$ac_config_links"
21598 config_commands="$ac_config_commands"
21600 _ACEOF
21602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21603 ac_cs_usage="\
21604 \`$as_me' instantiates files and other configuration actions
21605 from templates according to the current configuration. Unless the files
21606 and actions are specified as TAGs, all are instantiated by default.
21608 Usage: $0 [OPTION]... [TAG]...
21610 -h, --help print this help, then exit
21611 -V, --version print version number and configuration settings, then exit
21612 --config print configuration, then exit
21613 -q, --quiet, --silent
21614 do not print progress messages
21615 -d, --debug don't remove temporary files
21616 --recheck update $as_me by reconfiguring in the same conditions
21617 --file=FILE[:TEMPLATE]
21618 instantiate the configuration file FILE
21619 --header=FILE[:TEMPLATE]
21620 instantiate the configuration header FILE
21622 Configuration files:
21623 $config_files
21625 Configuration headers:
21626 $config_headers
21628 Configuration links:
21629 $config_links
21631 Configuration commands:
21632 $config_commands
21634 Report bugs to <wine-devel@winehq.org>.
21635 Wine home page: <https://www.winehq.org>."
21637 _ACEOF
21638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21639 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21640 ac_cs_version="\\
21641 Wine config.status 4.13
21642 configured by $0, generated by GNU Autoconf 2.69,
21643 with options \\"\$ac_cs_config\\"
21645 Copyright (C) 2012 Free Software Foundation, Inc.
21646 This config.status script is free software; the Free Software Foundation
21647 gives unlimited permission to copy, distribute and modify it."
21649 ac_pwd='$ac_pwd'
21650 srcdir='$srcdir'
21651 test -n "\$AWK" || AWK=awk
21652 _ACEOF
21654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21655 # The default lists apply if the user does not specify any file.
21656 ac_need_defaults=:
21657 while test $# != 0
21659 case $1 in
21660 --*=?*)
21661 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21662 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21663 ac_shift=:
21665 --*=)
21666 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21667 ac_optarg=
21668 ac_shift=:
21671 ac_option=$1
21672 ac_optarg=$2
21673 ac_shift=shift
21675 esac
21677 case $ac_option in
21678 # Handling of the options.
21679 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21680 ac_cs_recheck=: ;;
21681 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21682 $as_echo "$ac_cs_version"; exit ;;
21683 --config | --confi | --conf | --con | --co | --c )
21684 $as_echo "$ac_cs_config"; exit ;;
21685 --debug | --debu | --deb | --de | --d | -d )
21686 debug=: ;;
21687 --file | --fil | --fi | --f )
21688 $ac_shift
21689 case $ac_optarg in
21690 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21691 '') as_fn_error $? "missing file argument" ;;
21692 esac
21693 as_fn_append CONFIG_FILES " '$ac_optarg'"
21694 ac_need_defaults=false;;
21695 --header | --heade | --head | --hea )
21696 $ac_shift
21697 case $ac_optarg in
21698 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21699 esac
21700 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21701 ac_need_defaults=false;;
21702 --he | --h)
21703 # Conflict between --help and --header
21704 as_fn_error $? "ambiguous option: \`$1'
21705 Try \`$0 --help' for more information.";;
21706 --help | --hel | -h )
21707 $as_echo "$ac_cs_usage"; exit ;;
21708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21709 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21710 ac_cs_silent=: ;;
21712 # This is an error.
21713 -*) as_fn_error $? "unrecognized option: \`$1'
21714 Try \`$0 --help' for more information." ;;
21716 *) as_fn_append ac_config_targets " $1"
21717 ac_need_defaults=false ;;
21719 esac
21720 shift
21721 done
21723 ac_configure_extra_args=
21725 if $ac_cs_silent; then
21726 exec 6>/dev/null
21727 ac_configure_extra_args="$ac_configure_extra_args --silent"
21730 _ACEOF
21731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21732 if \$ac_cs_recheck; then
21733 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21734 shift
21735 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21736 CONFIG_SHELL='$SHELL'
21737 export CONFIG_SHELL
21738 exec "\$@"
21741 _ACEOF
21742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21743 exec 5>>config.log
21745 echo
21746 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21747 ## Running $as_me. ##
21748 _ASBOX
21749 $as_echo "$ac_log"
21750 } >&5
21752 _ACEOF
21753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21755 # INIT-COMMANDS
21757 wine_fn_output_makedep ()
21759 as_dir=tools; as_fn_mkdir_p
21760 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21762 wine_fn_output_makefile ()
21764 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21765 `cat $wine_rules_file`
21766 _WINE_EOF
21767 as_fn_error $? "could not create Makefile" "$LINENO" 5
21770 _ACEOF
21772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21774 # Handling of arguments.
21775 for ac_config_target in $ac_config_targets
21777 case $ac_config_target in
21778 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21779 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21780 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21781 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21782 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21783 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21784 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21785 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21786 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21787 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21788 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21789 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21790 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21792 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21793 esac
21794 done
21797 # If the user did not use the arguments to specify the items to instantiate,
21798 # then the envvar interface is used. Set only those that are not.
21799 # We use the long form for the default assignment because of an extremely
21800 # bizarre bug on SunOS 4.1.3.
21801 if $ac_need_defaults; then
21802 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21803 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21804 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21805 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21808 # Have a temporary directory for convenience. Make it in the build tree
21809 # simply because there is no reason against having it here, and in addition,
21810 # creating and moving files from /tmp can sometimes cause problems.
21811 # Hook for its removal unless debugging.
21812 # Note that there is a small window in which the directory will not be cleaned:
21813 # after its creation but before its name has been assigned to `$tmp'.
21814 $debug ||
21816 tmp= ac_tmp=
21817 trap 'exit_status=$?
21818 : "${ac_tmp:=$tmp}"
21819 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21821 trap 'as_fn_exit 1' 1 2 13 15
21823 # Create a (secure) tmp directory for tmp files.
21826 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21827 test -d "$tmp"
21828 } ||
21830 tmp=./conf$$-$RANDOM
21831 (umask 077 && mkdir "$tmp")
21832 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21833 ac_tmp=$tmp
21835 # Set up the scripts for CONFIG_FILES section.
21836 # No need to generate them if there are no CONFIG_FILES.
21837 # This happens for instance with `./config.status config.h'.
21838 if test -n "$CONFIG_FILES"; then
21841 ac_cr=`echo X | tr X '\015'`
21842 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21843 # But we know of no other shell where ac_cr would be empty at this
21844 # point, so we can use a bashism as a fallback.
21845 if test "x$ac_cr" = x; then
21846 eval ac_cr=\$\'\\r\'
21848 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21849 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21850 ac_cs_awk_cr='\\r'
21851 else
21852 ac_cs_awk_cr=$ac_cr
21855 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21856 _ACEOF
21860 echo "cat >conf$$subs.awk <<_ACEOF" &&
21861 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21862 echo "_ACEOF"
21863 } >conf$$subs.sh ||
21864 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21865 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21866 ac_delim='%!_!# '
21867 for ac_last_try in false false false false false :; do
21868 . ./conf$$subs.sh ||
21869 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21871 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21872 if test $ac_delim_n = $ac_delim_num; then
21873 break
21874 elif $ac_last_try; then
21875 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21876 else
21877 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21879 done
21880 rm -f conf$$subs.sh
21882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21883 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21884 _ACEOF
21885 sed -n '
21887 s/^/S["/; s/!.*/"]=/
21890 s/^[^!]*!//
21891 :repl
21892 t repl
21893 s/'"$ac_delim"'$//
21894 t delim
21897 s/\(.\{148\}\)..*/\1/
21898 t more1
21899 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21902 b repl
21903 :more1
21904 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21907 s/.\{148\}//
21908 t nl
21909 :delim
21911 s/\(.\{148\}\)..*/\1/
21912 t more2
21913 s/["\\]/\\&/g; s/^/"/; s/$/"/
21916 :more2
21917 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21920 s/.\{148\}//
21921 t delim
21922 ' <conf$$subs.awk | sed '
21923 /^[^""]/{
21925 s/\n//
21927 ' >>$CONFIG_STATUS || ac_write_fail=1
21928 rm -f conf$$subs.awk
21929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21930 _ACAWK
21931 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21932 for (key in S) S_is_set[key] = 1
21933 FS = "\a"
21937 line = $ 0
21938 nfields = split(line, field, "@")
21939 substed = 0
21940 len = length(field[1])
21941 for (i = 2; i < nfields; i++) {
21942 key = field[i]
21943 keylen = length(key)
21944 if (S_is_set[key]) {
21945 value = S[key]
21946 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21947 len += length(value) + length(field[++i])
21948 substed = 1
21949 } else
21950 len += 1 + keylen
21953 print line
21956 _ACAWK
21957 _ACEOF
21958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21959 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21960 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21961 else
21963 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21964 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21965 _ACEOF
21967 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21968 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21969 # trailing colons and then remove the whole line if VPATH becomes empty
21970 # (actually we leave an empty line to preserve line numbers).
21971 if test "x$srcdir" = x.; then
21972 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21974 s///
21975 s/^/:/
21976 s/[ ]*$/:/
21977 s/:\$(srcdir):/:/g
21978 s/:\${srcdir}:/:/g
21979 s/:@srcdir@:/:/g
21980 s/^:*//
21981 s/:*$//
21983 s/\(=[ ]*\).*/\1/
21985 s/\n//
21986 s/^[^=]*=[ ]*$//
21990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21991 fi # test -n "$CONFIG_FILES"
21993 # Set up the scripts for CONFIG_HEADERS section.
21994 # No need to generate them if there are no CONFIG_HEADERS.
21995 # This happens for instance with `./config.status Makefile'.
21996 if test -n "$CONFIG_HEADERS"; then
21997 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21998 BEGIN {
21999 _ACEOF
22001 # Transform confdefs.h into an awk script `defines.awk', embedded as
22002 # here-document in config.status, that substitutes the proper values into
22003 # config.h.in to produce config.h.
22005 # Create a delimiter string that does not exist in confdefs.h, to ease
22006 # handling of long lines.
22007 ac_delim='%!_!# '
22008 for ac_last_try in false false :; do
22009 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22010 if test -z "$ac_tt"; then
22011 break
22012 elif $ac_last_try; then
22013 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22014 else
22015 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22017 done
22019 # For the awk script, D is an array of macro values keyed by name,
22020 # likewise P contains macro parameters if any. Preserve backslash
22021 # newline sequences.
22023 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22024 sed -n '
22025 s/.\{148\}/&'"$ac_delim"'/g
22026 t rset
22027 :rset
22028 s/^[ ]*#[ ]*define[ ][ ]*/ /
22029 t def
22031 :def
22032 s/\\$//
22033 t bsnl
22034 s/["\\]/\\&/g
22035 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22036 D["\1"]=" \3"/p
22037 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22039 :bsnl
22040 s/["\\]/\\&/g
22041 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22042 D["\1"]=" \3\\\\\\n"\\/p
22043 t cont
22044 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22045 t cont
22047 :cont
22049 s/.\{148\}/&'"$ac_delim"'/g
22050 t clear
22051 :clear
22052 s/\\$//
22053 t bsnlc
22054 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22056 :bsnlc
22057 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22058 b cont
22059 ' <confdefs.h | sed '
22060 s/'"$ac_delim"'/"\\\
22061 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22064 for (key in D) D_is_set[key] = 1
22065 FS = "\a"
22067 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22068 line = \$ 0
22069 split(line, arg, " ")
22070 if (arg[1] == "#") {
22071 defundef = arg[2]
22072 mac1 = arg[3]
22073 } else {
22074 defundef = substr(arg[1], 2)
22075 mac1 = arg[2]
22077 split(mac1, mac2, "(") #)
22078 macro = mac2[1]
22079 prefix = substr(line, 1, index(line, defundef) - 1)
22080 if (D_is_set[macro]) {
22081 # Preserve the white space surrounding the "#".
22082 print prefix "define", macro P[macro] D[macro]
22083 next
22084 } else {
22085 # Replace #undef with comments. This is necessary, for example,
22086 # in the case of _POSIX_SOURCE, which is predefined and required
22087 # on some systems where configure will not decide to define it.
22088 if (defundef == "undef") {
22089 print "/*", prefix defundef, macro, "*/"
22090 next
22094 { print }
22095 _ACAWK
22096 _ACEOF
22097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22098 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22099 fi # test -n "$CONFIG_HEADERS"
22102 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22103 shift
22104 for ac_tag
22106 case $ac_tag in
22107 :[FHLC]) ac_mode=$ac_tag; continue;;
22108 esac
22109 case $ac_mode$ac_tag in
22110 :[FHL]*:*);;
22111 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22112 :[FH]-) ac_tag=-:-;;
22113 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22114 esac
22115 ac_save_IFS=$IFS
22116 IFS=:
22117 set x $ac_tag
22118 IFS=$ac_save_IFS
22119 shift
22120 ac_file=$1
22121 shift
22123 case $ac_mode in
22124 :L) ac_source=$1;;
22125 :[FH])
22126 ac_file_inputs=
22127 for ac_f
22129 case $ac_f in
22130 -) ac_f="$ac_tmp/stdin";;
22131 *) # Look for the file first in the build tree, then in the source tree
22132 # (if the path is not absolute). The absolute path cannot be DOS-style,
22133 # because $ac_f cannot contain `:'.
22134 test -f "$ac_f" ||
22135 case $ac_f in
22136 [\\/$]*) false;;
22137 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22138 esac ||
22139 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22140 esac
22141 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22142 as_fn_append ac_file_inputs " '$ac_f'"
22143 done
22145 # Let's still pretend it is `configure' which instantiates (i.e., don't
22146 # use $as_me), people would be surprised to read:
22147 # /* config.h. Generated by config.status. */
22148 configure_input='Generated from '`
22149 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22150 `' by configure.'
22151 if test x"$ac_file" != x-; then
22152 configure_input="$ac_file. $configure_input"
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22154 $as_echo "$as_me: creating $ac_file" >&6;}
22156 # Neutralize special characters interpreted by sed in replacement strings.
22157 case $configure_input in #(
22158 *\&* | *\|* | *\\* )
22159 ac_sed_conf_input=`$as_echo "$configure_input" |
22160 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22161 *) ac_sed_conf_input=$configure_input;;
22162 esac
22164 case $ac_tag in
22165 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22166 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22167 esac
22169 esac
22171 ac_dir=`$as_dirname -- "$ac_file" ||
22172 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22173 X"$ac_file" : 'X\(//\)[^/]' \| \
22174 X"$ac_file" : 'X\(//\)$' \| \
22175 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22176 $as_echo X"$ac_file" |
22177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22178 s//\1/
22181 /^X\(\/\/\)[^/].*/{
22182 s//\1/
22185 /^X\(\/\/\)$/{
22186 s//\1/
22189 /^X\(\/\).*/{
22190 s//\1/
22193 s/.*/./; q'`
22194 as_dir="$ac_dir"; as_fn_mkdir_p
22195 ac_builddir=.
22197 case "$ac_dir" in
22198 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22200 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22201 # A ".." for each directory in $ac_dir_suffix.
22202 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22203 case $ac_top_builddir_sub in
22204 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22205 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22206 esac ;;
22207 esac
22208 ac_abs_top_builddir=$ac_pwd
22209 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22210 # for backward compatibility:
22211 ac_top_builddir=$ac_top_build_prefix
22213 case $srcdir in
22214 .) # We are building in place.
22215 ac_srcdir=.
22216 ac_top_srcdir=$ac_top_builddir_sub
22217 ac_abs_top_srcdir=$ac_pwd ;;
22218 [\\/]* | ?:[\\/]* ) # Absolute name.
22219 ac_srcdir=$srcdir$ac_dir_suffix;
22220 ac_top_srcdir=$srcdir
22221 ac_abs_top_srcdir=$srcdir ;;
22222 *) # Relative name.
22223 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22224 ac_top_srcdir=$ac_top_build_prefix$srcdir
22225 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22226 esac
22227 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22230 case $ac_mode in
22233 # CONFIG_FILE
22236 _ACEOF
22238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22239 # If the template does not know about datarootdir, expand it.
22240 # FIXME: This hack should be removed a few years after 2.60.
22241 ac_datarootdir_hack=; ac_datarootdir_seen=
22242 ac_sed_dataroot='
22243 /datarootdir/ {
22247 /@datadir@/p
22248 /@docdir@/p
22249 /@infodir@/p
22250 /@localedir@/p
22251 /@mandir@/p'
22252 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22253 *datarootdir*) ac_datarootdir_seen=yes;;
22254 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22256 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22257 _ACEOF
22258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22259 ac_datarootdir_hack='
22260 s&@datadir@&$datadir&g
22261 s&@docdir@&$docdir&g
22262 s&@infodir@&$infodir&g
22263 s&@localedir@&$localedir&g
22264 s&@mandir@&$mandir&g
22265 s&\\\${datarootdir}&$datarootdir&g' ;;
22266 esac
22267 _ACEOF
22269 # Neutralize VPATH when `$srcdir' = `.'.
22270 # Shell code in configure.ac might set extrasub.
22271 # FIXME: do we really want to maintain this feature?
22272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22273 ac_sed_extra="$ac_vpsub
22274 $extrasub
22275 _ACEOF
22276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22278 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22279 s|@configure_input@|$ac_sed_conf_input|;t t
22280 s&@top_builddir@&$ac_top_builddir_sub&;t t
22281 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22282 s&@srcdir@&$ac_srcdir&;t t
22283 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22284 s&@top_srcdir@&$ac_top_srcdir&;t t
22285 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22286 s&@builddir@&$ac_builddir&;t t
22287 s&@abs_builddir@&$ac_abs_builddir&;t t
22288 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22289 $ac_datarootdir_hack
22291 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22292 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22294 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22295 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22296 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22297 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22299 which seems to be undefined. Please make sure it is defined" >&5
22300 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22301 which seems to be undefined. Please make sure it is defined" >&2;}
22303 rm -f "$ac_tmp/stdin"
22304 case $ac_file in
22305 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22306 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22307 esac \
22308 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22312 # CONFIG_HEADER
22314 if test x"$ac_file" != x-; then
22316 $as_echo "/* $configure_input */" \
22317 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22318 } >"$ac_tmp/config.h" \
22319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22320 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22322 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22323 else
22324 rm -f "$ac_file"
22325 mv "$ac_tmp/config.h" "$ac_file" \
22326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22328 else
22329 $as_echo "/* $configure_input */" \
22330 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22331 || as_fn_error $? "could not create -" "$LINENO" 5
22336 # CONFIG_LINK
22339 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22341 else
22342 # Prefer the file from the source tree if names are identical.
22343 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22344 ac_source=$srcdir/$ac_source
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22348 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22350 if test ! -r "$ac_source"; then
22351 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22353 rm -f "$ac_file"
22355 # Try a relative symlink, then a hard link, then a copy.
22356 case $ac_source in
22357 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22358 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22359 esac
22360 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22361 ln "$ac_source" "$ac_file" 2>/dev/null ||
22362 cp -p "$ac_source" "$ac_file" ||
22363 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22366 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22367 $as_echo "$as_me: executing $ac_file commands" >&6;}
22369 esac
22372 case $ac_file$ac_mode in
22373 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22374 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22375 "Makefile":C) wine_fn_output_makefile Makefile ;;
22377 esac
22378 done # for ac_tag
22381 as_fn_exit 0
22382 _ACEOF
22383 ac_clean_files=$ac_clean_files_save
22385 test $ac_write_fail = 0 ||
22386 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22389 # configure is writing to config.log, and then calls config.status.
22390 # config.status does its own redirection, appending to config.log.
22391 # Unfortunately, on DOS this fails, as config.log is still kept open
22392 # by configure, so config.status won't be able to write to it; its
22393 # output is simply discarded. So we exec the FD to /dev/null,
22394 # effectively closing config.log, so it can be properly (re)opened and
22395 # appended to by config.status. When coming back to configure, we
22396 # need to make the FD available again.
22397 if test "$no_create" != yes; then
22398 ac_cs_success=:
22399 ac_config_status_args=
22400 test "$silent" = yes &&
22401 ac_config_status_args="$ac_config_status_args --quiet"
22402 exec 5>/dev/null
22403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22404 exec 5>>config.log
22405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22406 # would make configure fail if this is the last instruction.
22407 $ac_cs_success || as_fn_exit 1
22409 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22411 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22415 if test "$no_create" = "yes"
22416 then
22417 exit 0
22420 ac_save_IFS="$IFS"
22421 if test "x$wine_notices" != x; then
22422 echo >&6
22423 IFS="|"
22424 for msg in $wine_notices; do
22425 IFS="$ac_save_IFS"
22426 if ${msg:+false} :; then :
22428 else
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22430 $as_echo "$as_me: $msg" >&6;}
22432 done
22434 IFS="|"
22435 for msg in $wine_warnings; do
22436 IFS="$ac_save_IFS"
22437 if ${msg:+false} :; then :
22439 else
22440 echo >&2
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22442 $as_echo "$as_me: WARNING: $msg" >&2;}
22444 done
22445 IFS="$ac_save_IFS"
22447 $as_echo "
22448 $as_me: Finished. Do '${ac_make}' to compile Wine.
22449 " >&6