ddraw/tests: Backport test_specular_lighting() for ddraw1.
[wine.git] / configure
blob69d085cda7b5f546029305efb13a2875a1f8e072
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.8.
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.8'
584 PACKAGE_STRING='Wine 4.8'
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 UNWINDFLAGS
635 MSVCRTFLAGS
636 EXCESS_PRECISION_CFLAGS
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
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_uxtheme_themes_l1_1_0
1320 enable_faultrep
1321 enable_feclient
1322 enable_fltlib
1323 enable_fltmgr_sys
1324 enable_fntcache
1325 enable_fontsub
1326 enable_fusion
1327 enable_fwpuclnt
1328 enable_gameux
1329 enable_gdi32
1330 enable_gdiplus
1331 enable_glu32
1332 enable_gphoto2_ds
1333 enable_gpkcsp
1334 enable_hal
1335 enable_hhctrl_ocx
1336 enable_hid
1337 enable_hidclass_sys
1338 enable_hlink
1339 enable_hnetcfg
1340 enable_httpapi
1341 enable_iccvid
1342 enable_icmp
1343 enable_ieframe
1344 enable_ieproxy
1345 enable_imaadp32_acm
1346 enable_imagehlp
1347 enable_imm32
1348 enable_inetcomm
1349 enable_inetcpl_cpl
1350 enable_inetmib1
1351 enable_infosoft
1352 enable_initpki
1353 enable_inkobj
1354 enable_inseng
1355 enable_iphlpapi
1356 enable_iprop
1357 enable_irprops_cpl
1358 enable_itircl
1359 enable_itss
1360 enable_joy_cpl
1361 enable_jscript
1362 enable_jsproxy
1363 enable_kerberos
1364 enable_kernel32
1365 enable_kernelbase
1366 enable_ksecdd_sys
1367 enable_ksuser
1368 enable_ktmw32
1369 enable_l3codeca_acm
1370 enable_loadperf
1371 enable_localspl
1372 enable_localui
1373 enable_lz32
1374 enable_mapi32
1375 enable_mapistub
1376 enable_mciavi32
1377 enable_mcicda
1378 enable_mciqtz32
1379 enable_mciseq
1380 enable_mciwave
1381 enable_mf
1382 enable_mf3216
1383 enable_mferror
1384 enable_mfplat
1385 enable_mfplay
1386 enable_mfreadwrite
1387 enable_mfuuid
1388 enable_mgmtapi
1389 enable_midimap
1390 enable_mlang
1391 enable_mmcndmgr
1392 enable_mmdevapi
1393 enable_mountmgr_sys
1394 enable_mp3dmod
1395 enable_mpr
1396 enable_mprapi
1397 enable_msacm32_drv
1398 enable_msacm32
1399 enable_msadp32_acm
1400 enable_msasn1
1401 enable_mscat32
1402 enable_mscms
1403 enable_mscoree
1404 enable_msctf
1405 enable_msctfp
1406 enable_msdaps
1407 enable_msdelta
1408 enable_msdmo
1409 enable_msdrm
1410 enable_msftedit
1411 enable_msg711_acm
1412 enable_msgsm32_acm
1413 enable_mshtml_tlb
1414 enable_mshtml
1415 enable_msi
1416 enable_msident
1417 enable_msimg32
1418 enable_msimsg
1419 enable_msimtf
1420 enable_msisip
1421 enable_msisys_ocx
1422 enable_msls31
1423 enable_msnet32
1424 enable_mspatcha
1425 enable_msports
1426 enable_msrle32
1427 enable_msscript_ocx
1428 enable_mssign32
1429 enable_mssip32
1430 enable_mstask
1431 enable_msvcirt
1432 enable_msvcm80
1433 enable_msvcm90
1434 enable_msvcp100
1435 enable_msvcp110
1436 enable_msvcp120
1437 enable_msvcp120_app
1438 enable_msvcp140
1439 enable_msvcp60
1440 enable_msvcp70
1441 enable_msvcp71
1442 enable_msvcp80
1443 enable_msvcp90
1444 enable_msvcr100
1445 enable_msvcr110
1446 enable_msvcr120
1447 enable_msvcr120_app
1448 enable_msvcr70
1449 enable_msvcr71
1450 enable_msvcr80
1451 enable_msvcr90
1452 enable_msvcrt
1453 enable_msvcrt20
1454 enable_msvcrt40
1455 enable_msvcrtd
1456 enable_msvfw32
1457 enable_msvidc32
1458 enable_mswsock
1459 enable_msxml
1460 enable_msxml2
1461 enable_msxml3
1462 enable_msxml4
1463 enable_msxml6
1464 enable_mtxdm
1465 enable_ncrypt
1466 enable_nddeapi
1467 enable_ndis_sys
1468 enable_netapi32
1469 enable_netcfgx
1470 enable_netprofm
1471 enable_newdev
1472 enable_ninput
1473 enable_normaliz
1474 enable_npmshtml
1475 enable_npptools
1476 enable_ntdll
1477 enable_ntdsapi
1478 enable_ntoskrnl_exe
1479 enable_ntprint
1480 enable_objsel
1481 enable_odbc32
1482 enable_odbccp32
1483 enable_odbccu32
1484 enable_ole32
1485 enable_oleacc
1486 enable_oleaut32
1487 enable_olecli32
1488 enable_oledb32
1489 enable_oledlg
1490 enable_olepro32
1491 enable_olesvr32
1492 enable_olethk32
1493 enable_opcservices
1494 enable_openal32
1495 enable_opencl
1496 enable_opengl32
1497 enable_packager
1498 enable_pdh
1499 enable_photometadatahandler
1500 enable_pidgen
1501 enable_powrprof
1502 enable_printui
1503 enable_prntvpt
1504 enable_propsys
1505 enable_psapi
1506 enable_pstorec
1507 enable_qcap
1508 enable_qedit
1509 enable_qmgr
1510 enable_qmgrprxy
1511 enable_quartz
1512 enable_query
1513 enable_qwave
1514 enable_rasapi32
1515 enable_rasdlg
1516 enable_regapi
1517 enable_resutils
1518 enable_riched20
1519 enable_riched32
1520 enable_rpcrt4
1521 enable_rsabase
1522 enable_rsaenh
1523 enable_rstrtmgr
1524 enable_rtutils
1525 enable_samlib
1526 enable_sane_ds
1527 enable_sapi
1528 enable_sas
1529 enable_scarddlg
1530 enable_sccbase
1531 enable_schannel
1532 enable_schedsvc
1533 enable_scrobj
1534 enable_scrrun
1535 enable_scsiport_sys
1536 enable_secur32
1537 enable_security
1538 enable_sensapi
1539 enable_serialui
1540 enable_setupapi
1541 enable_sfc
1542 enable_sfc_os
1543 enable_shcore
1544 enable_shdoclc
1545 enable_shdocvw
1546 enable_shell32
1547 enable_shfolder
1548 enable_shlwapi
1549 enable_slbcsp
1550 enable_slc
1551 enable_snmpapi
1552 enable_softpub
1553 enable_spoolss
1554 enable_srclient
1555 enable_sspicli
1556 enable_stdole2_tlb
1557 enable_stdole32_tlb
1558 enable_sti
1559 enable_strmbase
1560 enable_strmdll
1561 enable_strmiids
1562 enable_svrapi
1563 enable_sxs
1564 enable_t2embed
1565 enable_tapi32
1566 enable_taskschd
1567 enable_tdh
1568 enable_tdi_sys
1569 enable_traffic
1570 enable_twain_32
1571 enable_tzres
1572 enable_ucrtbase
1573 enable_uianimation
1574 enable_uiautomationcore
1575 enable_uiribbon
1576 enable_unicows
1577 enable_updspapi
1578 enable_url
1579 enable_urlmon
1580 enable_usbd_sys
1581 enable_user32
1582 enable_userenv
1583 enable_usp10
1584 enable_uuid
1585 enable_uxtheme
1586 enable_vbscript
1587 enable_vcomp
1588 enable_vcomp100
1589 enable_vcomp110
1590 enable_vcomp120
1591 enable_vcomp140
1592 enable_vcomp90
1593 enable_vcruntime140
1594 enable_vdmdbg
1595 enable_version
1596 enable_virtdisk
1597 enable_vssapi
1598 enable_vulkan_1
1599 enable_wbemdisp
1600 enable_wbemprox
1601 enable_wdscore
1602 enable_webservices
1603 enable_wer
1604 enable_wevtapi
1605 enable_wiaservc
1606 enable_wimgapi
1607 enable_windowscodecs
1608 enable_windowscodecsext
1609 enable_winealsa_drv
1610 enable_wineandroid_drv
1611 enable_winebus_sys
1612 enable_winecoreaudio_drv
1613 enable_winecrt0
1614 enable_wined3d
1615 enable_winegstreamer
1616 enable_winehid_sys
1617 enable_winejoystick_drv
1618 enable_winemac_drv
1619 enable_winemapi
1620 enable_wineoss_drv
1621 enable_wineps_drv
1622 enable_winepulse_drv
1623 enable_wineqtdecoder
1624 enable_winevulkan
1625 enable_winex11_drv
1626 enable_wing32
1627 enable_winhttp
1628 enable_wininet
1629 enable_winmm
1630 enable_winnls32
1631 enable_winscard
1632 enable_winspool_drv
1633 enable_winsta
1634 enable_wintab32
1635 enable_wintrust
1636 enable_winusb
1637 enable_wlanapi
1638 enable_wldap32
1639 enable_wmasf
1640 enable_wmcodecdspuuid
1641 enable_wmi
1642 enable_wmiutils
1643 enable_wmp
1644 enable_wmphoto
1645 enable_wmvcore
1646 enable_wnaspi32
1647 enable_wpc
1648 enable_wpcap
1649 enable_ws2_32
1650 enable_wsdapi
1651 enable_wshom_ocx
1652 enable_wsnmp32
1653 enable_wsock32
1654 enable_wtsapi32
1655 enable_wuapi
1656 enable_wuaueng
1657 enable_x3daudio1_0
1658 enable_x3daudio1_1
1659 enable_x3daudio1_2
1660 enable_x3daudio1_3
1661 enable_x3daudio1_4
1662 enable_x3daudio1_5
1663 enable_x3daudio1_6
1664 enable_x3daudio1_7
1665 enable_xapofx1_1
1666 enable_xapofx1_2
1667 enable_xapofx1_3
1668 enable_xapofx1_4
1669 enable_xapofx1_5
1670 enable_xaudio2_0
1671 enable_xaudio2_1
1672 enable_xaudio2_2
1673 enable_xaudio2_3
1674 enable_xaudio2_4
1675 enable_xaudio2_5
1676 enable_xaudio2_6
1677 enable_xaudio2_7
1678 enable_xaudio2_8
1679 enable_xaudio2_9
1680 enable_xinput1_1
1681 enable_xinput1_2
1682 enable_xinput1_3
1683 enable_xinput1_4
1684 enable_xinput9_1_0
1685 enable_xmllite
1686 enable_xolehlp
1687 enable_xpsprint
1688 enable_xpssvcs
1689 enable_fonts
1690 enable_include
1691 enable_port
1692 enable_wine
1693 enable_wpp
1694 enable_loader
1695 enable_po
1696 enable_arp
1697 enable_aspnet_regiis
1698 enable_attrib
1699 enable_cabarc
1700 enable_cacls
1701 enable_clock
1702 enable_cmd
1703 enable_conhost
1704 enable_control
1705 enable_cscript
1706 enable_dism
1707 enable_dpnsvr
1708 enable_dxdiag
1709 enable_eject
1710 enable_expand
1711 enable_explorer
1712 enable_extrac32
1713 enable_fc
1714 enable_find
1715 enable_findstr
1716 enable_fsutil
1717 enable_hh
1718 enable_hostname
1719 enable_icacls
1720 enable_icinfo
1721 enable_iexplore
1722 enable_ipconfig
1723 enable_lodctr
1724 enable_mofcomp
1725 enable_mshta
1726 enable_msidb
1727 enable_msiexec
1728 enable_msinfo32
1729 enable_net
1730 enable_netsh
1731 enable_netstat
1732 enable_ngen
1733 enable_notepad
1734 enable_oleview
1735 enable_ping
1736 enable_plugplay
1737 enable_powershell
1738 enable_presentationfontcache
1739 enable_progman
1740 enable_reg
1741 enable_regasm
1742 enable_regedit
1743 enable_regsvcs
1744 enable_regsvr32
1745 enable_rpcss
1746 enable_rundll32
1747 enable_sc
1748 enable_schtasks
1749 enable_sdbinst
1750 enable_secedit
1751 enable_servicemodelreg
1752 enable_services
1753 enable_shutdown
1754 enable_spoolsv
1755 enable_start
1756 enable_subst
1757 enable_svchost
1758 enable_systeminfo
1759 enable_taskkill
1760 enable_tasklist
1761 enable_taskmgr
1762 enable_termsv
1763 enable_uninstaller
1764 enable_unlodctr
1765 enable_view
1766 enable_wevtutil
1767 enable_wineboot
1768 enable_winebrowser
1769 enable_winecfg
1770 enable_wineconsole
1771 enable_winedbg
1772 enable_winedevice
1773 enable_winefile
1774 enable_winemenubuilder
1775 enable_winemine
1776 enable_winemsibuilder
1777 enable_winepath
1778 enable_winetest
1779 enable_winhlp32
1780 enable_winmgmt
1781 enable_winver
1782 enable_wmic
1783 enable_wmplayer
1784 enable_wordpad
1785 enable_write
1786 enable_wscript
1787 enable_wusa
1788 enable_xcopy
1789 enable_server
1790 enable_tools
1791 enable_sfnt2fon
1792 enable_widl
1793 enable_winebuild
1794 enable_winedump
1795 enable_winegcc
1796 enable_winemaker
1797 enable_wmc
1798 enable_wrc
1800 ac_precious_vars='build_alias
1801 host_alias
1802 target_alias
1804 CFLAGS
1805 LDFLAGS
1806 LIBS
1807 CPPFLAGS
1809 CXXFLAGS
1812 OBJC
1813 OBJCFLAGS
1814 OBJCPP
1815 XMKMF
1816 XML2_CFLAGS
1817 XML2_LIBS
1818 XSLT_CFLAGS
1819 XSLT_LIBS
1820 INOTIFY_CFLAGS
1821 INOTIFY_LIBS
1822 DBUS_CFLAGS
1823 DBUS_LIBS
1824 HAL_CFLAGS
1825 HAL_LIBS
1826 GNUTLS_CFLAGS
1827 GNUTLS_LIBS
1828 SANE_CFLAGS
1829 SANE_LIBS
1830 GPHOTO2_CFLAGS
1831 GPHOTO2_LIBS
1832 GPHOTO2_PORT_CFLAGS
1833 GPHOTO2_PORT_LIBS
1834 LCMS2_CFLAGS
1835 LCMS2_LIBS
1836 FREETYPE_CFLAGS
1837 FREETYPE_LIBS
1838 PULSE_CFLAGS
1839 PULSE_LIBS
1840 GSTREAMER_CFLAGS
1841 GSTREAMER_LIBS
1842 UDEV_CFLAGS
1843 UDEV_LIBS
1844 SDL2_CFLAGS
1845 SDL2_LIBS
1846 FAUDIO_CFLAGS
1847 FAUDIO_LIBS
1848 CAPI20_CFLAGS
1849 CAPI20_LIBS
1850 CUPS_CFLAGS
1851 CUPS_LIBS
1852 FONTCONFIG_CFLAGS
1853 FONTCONFIG_LIBS
1854 KRB5_CFLAGS
1855 KRB5_LIBS
1856 GSSAPI_CFLAGS
1857 GSSAPI_LIBS
1858 JPEG_CFLAGS
1859 JPEG_LIBS
1860 PNG_CFLAGS
1861 PNG_LIBS
1862 TIFF_CFLAGS
1863 TIFF_LIBS
1864 MPG123_CFLAGS
1865 MPG123_LIBS
1866 NETAPI_CFLAGS
1867 NETAPI_LIBS
1868 VKD3D_CFLAGS
1869 VKD3D_LIBS
1870 LDAP_CFLAGS
1871 LDAP_LIBS'
1874 # Initialize some variables set by options.
1875 ac_init_help=
1876 ac_init_version=false
1877 ac_unrecognized_opts=
1878 ac_unrecognized_sep=
1879 # The variables have the same names as the options, with
1880 # dashes changed to underlines.
1881 cache_file=/dev/null
1882 exec_prefix=NONE
1883 no_create=
1884 no_recursion=
1885 prefix=NONE
1886 program_prefix=NONE
1887 program_suffix=NONE
1888 program_transform_name=s,x,x,
1889 silent=
1890 site=
1891 srcdir=
1892 verbose=
1893 x_includes=NONE
1894 x_libraries=NONE
1896 # Installation directory options.
1897 # These are left unexpanded so users can "make install exec_prefix=/foo"
1898 # and all the variables that are supposed to be based on exec_prefix
1899 # by default will actually change.
1900 # Use braces instead of parens because sh, perl, etc. also accept them.
1901 # (The list follows the same order as the GNU Coding Standards.)
1902 bindir='${exec_prefix}/bin'
1903 sbindir='${exec_prefix}/sbin'
1904 libexecdir='${exec_prefix}/libexec'
1905 datarootdir='${prefix}/share'
1906 datadir='${datarootdir}'
1907 sysconfdir='${prefix}/etc'
1908 sharedstatedir='${prefix}/com'
1909 localstatedir='${prefix}/var'
1910 runstatedir='${localstatedir}/run'
1911 includedir='${prefix}/include'
1912 oldincludedir='/usr/include'
1913 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1914 infodir='${datarootdir}/info'
1915 htmldir='${docdir}'
1916 dvidir='${docdir}'
1917 pdfdir='${docdir}'
1918 psdir='${docdir}'
1919 libdir='${exec_prefix}/lib'
1920 localedir='${datarootdir}/locale'
1921 mandir='${datarootdir}/man'
1923 ac_prev=
1924 ac_dashdash=
1925 for ac_option
1927 # If the previous option needs an argument, assign it.
1928 if test -n "$ac_prev"; then
1929 eval $ac_prev=\$ac_option
1930 ac_prev=
1931 continue
1934 case $ac_option in
1935 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1936 *=) ac_optarg= ;;
1937 *) ac_optarg=yes ;;
1938 esac
1940 # Accept the important Cygnus configure options, so we can diagnose typos.
1942 case $ac_dashdash$ac_option in
1944 ac_dashdash=yes ;;
1946 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1947 ac_prev=bindir ;;
1948 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1949 bindir=$ac_optarg ;;
1951 -build | --build | --buil | --bui | --bu)
1952 ac_prev=build_alias ;;
1953 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1954 build_alias=$ac_optarg ;;
1956 -cache-file | --cache-file | --cache-fil | --cache-fi \
1957 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1958 ac_prev=cache_file ;;
1959 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1960 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1961 cache_file=$ac_optarg ;;
1963 --config-cache | -C)
1964 cache_file=config.cache ;;
1966 -datadir | --datadir | --datadi | --datad)
1967 ac_prev=datadir ;;
1968 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1969 datadir=$ac_optarg ;;
1971 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1972 | --dataroo | --dataro | --datar)
1973 ac_prev=datarootdir ;;
1974 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1975 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1976 datarootdir=$ac_optarg ;;
1978 -disable-* | --disable-*)
1979 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1980 # Reject names that are not valid shell variable names.
1981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1982 as_fn_error $? "invalid feature name: $ac_useropt"
1983 ac_useropt_orig=$ac_useropt
1984 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1985 case $ac_user_opts in
1987 "enable_$ac_useropt"
1988 "*) ;;
1989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1990 ac_unrecognized_sep=', ';;
1991 esac
1992 eval enable_$ac_useropt=no ;;
1994 -docdir | --docdir | --docdi | --doc | --do)
1995 ac_prev=docdir ;;
1996 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1997 docdir=$ac_optarg ;;
1999 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2000 ac_prev=dvidir ;;
2001 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2002 dvidir=$ac_optarg ;;
2004 -enable-* | --enable-*)
2005 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2006 # Reject names that are not valid shell variable names.
2007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2008 as_fn_error $? "invalid feature name: $ac_useropt"
2009 ac_useropt_orig=$ac_useropt
2010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2011 case $ac_user_opts in
2013 "enable_$ac_useropt"
2014 "*) ;;
2015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2016 ac_unrecognized_sep=', ';;
2017 esac
2018 eval enable_$ac_useropt=\$ac_optarg ;;
2020 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2021 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2022 | --exec | --exe | --ex)
2023 ac_prev=exec_prefix ;;
2024 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2025 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2026 | --exec=* | --exe=* | --ex=*)
2027 exec_prefix=$ac_optarg ;;
2029 -gas | --gas | --ga | --g)
2030 # Obsolete; use --with-gas.
2031 with_gas=yes ;;
2033 -help | --help | --hel | --he | -h)
2034 ac_init_help=long ;;
2035 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2036 ac_init_help=recursive ;;
2037 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2038 ac_init_help=short ;;
2040 -host | --host | --hos | --ho)
2041 ac_prev=host_alias ;;
2042 -host=* | --host=* | --hos=* | --ho=*)
2043 host_alias=$ac_optarg ;;
2045 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2046 ac_prev=htmldir ;;
2047 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2048 | --ht=*)
2049 htmldir=$ac_optarg ;;
2051 -includedir | --includedir | --includedi | --included | --include \
2052 | --includ | --inclu | --incl | --inc)
2053 ac_prev=includedir ;;
2054 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2055 | --includ=* | --inclu=* | --incl=* | --inc=*)
2056 includedir=$ac_optarg ;;
2058 -infodir | --infodir | --infodi | --infod | --info | --inf)
2059 ac_prev=infodir ;;
2060 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2061 infodir=$ac_optarg ;;
2063 -libdir | --libdir | --libdi | --libd)
2064 ac_prev=libdir ;;
2065 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2066 libdir=$ac_optarg ;;
2068 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2069 | --libexe | --libex | --libe)
2070 ac_prev=libexecdir ;;
2071 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2072 | --libexe=* | --libex=* | --libe=*)
2073 libexecdir=$ac_optarg ;;
2075 -localedir | --localedir | --localedi | --localed | --locale)
2076 ac_prev=localedir ;;
2077 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2078 localedir=$ac_optarg ;;
2080 -localstatedir | --localstatedir | --localstatedi | --localstated \
2081 | --localstate | --localstat | --localsta | --localst | --locals)
2082 ac_prev=localstatedir ;;
2083 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2084 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2085 localstatedir=$ac_optarg ;;
2087 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2088 ac_prev=mandir ;;
2089 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2090 mandir=$ac_optarg ;;
2092 -nfp | --nfp | --nf)
2093 # Obsolete; use --without-fp.
2094 with_fp=no ;;
2096 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2097 | --no-cr | --no-c | -n)
2098 no_create=yes ;;
2100 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2101 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2102 no_recursion=yes ;;
2104 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2105 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2106 | --oldin | --oldi | --old | --ol | --o)
2107 ac_prev=oldincludedir ;;
2108 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2109 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2110 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2111 oldincludedir=$ac_optarg ;;
2113 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2114 ac_prev=prefix ;;
2115 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2116 prefix=$ac_optarg ;;
2118 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2119 | --program-pre | --program-pr | --program-p)
2120 ac_prev=program_prefix ;;
2121 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2122 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2123 program_prefix=$ac_optarg ;;
2125 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2126 | --program-suf | --program-su | --program-s)
2127 ac_prev=program_suffix ;;
2128 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2129 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2130 program_suffix=$ac_optarg ;;
2132 -program-transform-name | --program-transform-name \
2133 | --program-transform-nam | --program-transform-na \
2134 | --program-transform-n | --program-transform- \
2135 | --program-transform | --program-transfor \
2136 | --program-transfo | --program-transf \
2137 | --program-trans | --program-tran \
2138 | --progr-tra | --program-tr | --program-t)
2139 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
2149 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2150 ac_prev=pdfdir ;;
2151 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2152 pdfdir=$ac_optarg ;;
2154 -psdir | --psdir | --psdi | --psd | --ps)
2155 ac_prev=psdir ;;
2156 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2157 psdir=$ac_optarg ;;
2159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2160 | -silent | --silent | --silen | --sile | --sil)
2161 silent=yes ;;
2163 -runstatedir | --runstatedir | --runstatedi | --runstated \
2164 | --runstate | --runstat | --runsta | --runst | --runs \
2165 | --run | --ru | --r)
2166 ac_prev=runstatedir ;;
2167 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2168 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2169 | --run=* | --ru=* | --r=*)
2170 runstatedir=$ac_optarg ;;
2172 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2173 ac_prev=sbindir ;;
2174 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2175 | --sbi=* | --sb=*)
2176 sbindir=$ac_optarg ;;
2178 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2179 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2180 | --sharedst | --shareds | --shared | --share | --shar \
2181 | --sha | --sh)
2182 ac_prev=sharedstatedir ;;
2183 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2184 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2185 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2186 | --sha=* | --sh=*)
2187 sharedstatedir=$ac_optarg ;;
2189 -site | --site | --sit)
2190 ac_prev=site ;;
2191 -site=* | --site=* | --sit=*)
2192 site=$ac_optarg ;;
2194 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2195 ac_prev=srcdir ;;
2196 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2197 srcdir=$ac_optarg ;;
2199 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2200 | --syscon | --sysco | --sysc | --sys | --sy)
2201 ac_prev=sysconfdir ;;
2202 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2203 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2204 sysconfdir=$ac_optarg ;;
2206 -target | --target | --targe | --targ | --tar | --ta | --t)
2207 ac_prev=target_alias ;;
2208 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2209 target_alias=$ac_optarg ;;
2211 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2212 verbose=yes ;;
2214 -version | --version | --versio | --versi | --vers | -V)
2215 ac_init_version=: ;;
2217 -with-* | --with-*)
2218 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2219 # Reject names that are not valid shell variable names.
2220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2221 as_fn_error $? "invalid package name: $ac_useropt"
2222 ac_useropt_orig=$ac_useropt
2223 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2224 case $ac_user_opts in
2226 "with_$ac_useropt"
2227 "*) ;;
2228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2229 ac_unrecognized_sep=', ';;
2230 esac
2231 eval with_$ac_useropt=\$ac_optarg ;;
2233 -without-* | --without-*)
2234 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2235 # Reject names that are not valid shell variable names.
2236 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2237 as_fn_error $? "invalid package name: $ac_useropt"
2238 ac_useropt_orig=$ac_useropt
2239 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2240 case $ac_user_opts in
2242 "with_$ac_useropt"
2243 "*) ;;
2244 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2245 ac_unrecognized_sep=', ';;
2246 esac
2247 eval with_$ac_useropt=no ;;
2249 --x)
2250 # Obsolete; use --with-x.
2251 with_x=yes ;;
2253 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2254 | --x-incl | --x-inc | --x-in | --x-i)
2255 ac_prev=x_includes ;;
2256 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2257 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2258 x_includes=$ac_optarg ;;
2260 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2261 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2262 ac_prev=x_libraries ;;
2263 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2264 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2265 x_libraries=$ac_optarg ;;
2267 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2268 Try \`$0 --help' for more information"
2271 *=*)
2272 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2273 # Reject names that are not valid shell variable names.
2274 case $ac_envvar in #(
2275 '' | [0-9]* | *[!_$as_cr_alnum]* )
2276 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2277 esac
2278 eval $ac_envvar=\$ac_optarg
2279 export $ac_envvar ;;
2282 # FIXME: should be removed in autoconf 3.0.
2283 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2284 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2285 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2286 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2289 esac
2290 done
2292 if test -n "$ac_prev"; then
2293 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2294 as_fn_error $? "missing argument to $ac_option"
2297 if test -n "$ac_unrecognized_opts"; then
2298 case $enable_option_checking in
2299 no) ;;
2300 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2301 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2302 esac
2305 # Check all directory arguments for consistency.
2306 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2307 datadir sysconfdir sharedstatedir localstatedir includedir \
2308 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2309 libdir localedir mandir runstatedir
2311 eval ac_val=\$$ac_var
2312 # Remove trailing slashes.
2313 case $ac_val in
2314 */ )
2315 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2316 eval $ac_var=\$ac_val;;
2317 esac
2318 # Be sure to have absolute directory names.
2319 case $ac_val in
2320 [\\/$]* | ?:[\\/]* ) continue;;
2321 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2322 esac
2323 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2324 done
2326 # There might be people who depend on the old broken behavior: `$host'
2327 # used to hold the argument of --host etc.
2328 # FIXME: To remove some day.
2329 build=$build_alias
2330 host=$host_alias
2331 target=$target_alias
2333 # FIXME: To remove some day.
2334 if test "x$host_alias" != x; then
2335 if test "x$build_alias" = x; then
2336 cross_compiling=maybe
2337 elif test "x$build_alias" != "x$host_alias"; then
2338 cross_compiling=yes
2342 ac_tool_prefix=
2343 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2345 test "$silent" = yes && exec 6>/dev/null
2348 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2349 ac_ls_di=`ls -di .` &&
2350 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2351 as_fn_error $? "working directory cannot be determined"
2352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2353 as_fn_error $? "pwd does not report name of working directory"
2356 # Find the source files, if location was not specified.
2357 if test -z "$srcdir"; then
2358 ac_srcdir_defaulted=yes
2359 # Try the directory containing this script, then the parent directory.
2360 ac_confdir=`$as_dirname -- "$as_myself" ||
2361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2362 X"$as_myself" : 'X\(//\)[^/]' \| \
2363 X"$as_myself" : 'X\(//\)$' \| \
2364 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2365 $as_echo X"$as_myself" |
2366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2367 s//\1/
2370 /^X\(\/\/\)[^/].*/{
2371 s//\1/
2374 /^X\(\/\/\)$/{
2375 s//\1/
2378 /^X\(\/\).*/{
2379 s//\1/
2382 s/.*/./; q'`
2383 srcdir=$ac_confdir
2384 if test ! -r "$srcdir/$ac_unique_file"; then
2385 srcdir=..
2387 else
2388 ac_srcdir_defaulted=no
2390 if test ! -r "$srcdir/$ac_unique_file"; then
2391 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2392 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2394 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2395 ac_abs_confdir=`(
2396 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2397 pwd)`
2398 # When building in place, set srcdir=.
2399 if test "$ac_abs_confdir" = "$ac_pwd"; then
2400 srcdir=.
2402 # Remove unnecessary trailing slashes from srcdir.
2403 # Double slashes in file names in object file debugging info
2404 # mess up M-x gdb in Emacs.
2405 case $srcdir in
2406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2407 esac
2408 for ac_var in $ac_precious_vars; do
2409 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2410 eval ac_env_${ac_var}_value=\$${ac_var}
2411 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2412 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2413 done
2416 # Report the --help message.
2418 if test "$ac_init_help" = "long"; then
2419 # Omit some internal or obsolete options to make the list less imposing.
2420 # This message is too long to be a string in the A/UX 3.1 sh.
2421 cat <<_ACEOF
2422 \`configure' configures Wine 4.8 to adapt to many kinds of systems.
2424 Usage: $0 [OPTION]... [VAR=VALUE]...
2426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2427 VAR=VALUE. See below for descriptions of some of the useful variables.
2429 Defaults for the options are specified in brackets.
2431 Configuration:
2432 -h, --help display this help and exit
2433 --help=short display options specific to this package
2434 --help=recursive display the short help of all the included packages
2435 -V, --version display version information and exit
2436 -q, --quiet, --silent do not print \`checking ...' messages
2437 --cache-file=FILE cache test results in FILE [disabled]
2438 -C, --config-cache alias for \`--cache-file=config.cache'
2439 -n, --no-create do not create output files
2440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2442 Installation directories:
2443 --prefix=PREFIX install architecture-independent files in PREFIX
2444 [$ac_default_prefix]
2445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2446 [PREFIX]
2448 By default, \`make install' will install all the files in
2449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2451 for instance \`--prefix=\$HOME'.
2453 For better control, use the options below.
2455 Fine tuning of the installation directories:
2456 --bindir=DIR user executables [EPREFIX/bin]
2457 --sbindir=DIR system admin executables [EPREFIX/sbin]
2458 --libexecdir=DIR program executables [EPREFIX/libexec]
2459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2462 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2463 --libdir=DIR object code libraries [EPREFIX/lib]
2464 --includedir=DIR C header files [PREFIX/include]
2465 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2466 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2467 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2468 --infodir=DIR info documentation [DATAROOTDIR/info]
2469 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2470 --mandir=DIR man documentation [DATAROOTDIR/man]
2471 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2472 --htmldir=DIR html documentation [DOCDIR]
2473 --dvidir=DIR dvi documentation [DOCDIR]
2474 --pdfdir=DIR pdf documentation [DOCDIR]
2475 --psdir=DIR ps documentation [DOCDIR]
2476 _ACEOF
2478 cat <<\_ACEOF
2480 X features:
2481 --x-includes=DIR X include files are in DIR
2482 --x-libraries=DIR X library files are in DIR
2484 System types:
2485 --build=BUILD configure for building on BUILD [guessed]
2486 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2487 _ACEOF
2490 if test -n "$ac_init_help"; then
2491 case $ac_init_help in
2492 short | recursive ) echo "Configuration of Wine 4.8:";;
2493 esac
2494 cat <<\_ACEOF
2496 Optional Features:
2497 --disable-option-checking ignore unrecognized --enable/--with options
2498 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2499 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2500 --disable-win16 do not include Win16 support
2501 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2502 binaries)
2503 --disable-tests do not build the regression tests
2504 --enable-maintainer-mode
2505 enable maintainer-specific build rules
2506 --disable-largefile omit support for large files
2508 Optional Packages:
2509 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2510 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2511 --without-alsa do not use the Alsa sound support
2512 --without-capi do not use CAPI (ISDN support)
2513 --without-cms do not use CMS (color management support)
2514 --without-coreaudio do not use the CoreAudio sound support
2515 --without-cups do not use CUPS
2516 --without-curses do not use (n)curses
2517 --without-dbus do not use DBus (dynamic device support)
2518 --without-faudio do not use FAudio (XAudio2 support)
2519 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2520 --without-fontconfig do not use fontconfig
2521 --without-freetype do not use the FreeType library
2522 --without-gettext do not use gettext
2523 --with-gettextpo use the GetTextPO library to rebuild po files
2524 --without-gphoto do not use gphoto (Digital Camera support)
2525 --without-glu do not use the GLU library
2526 --without-gnutls do not use GnuTLS (schannel support)
2527 --without-gsm do not use libgsm (GSM 06.10 codec support)
2528 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2529 --without-gstreamer do not use GStreamer (codecs support)
2530 --without-hal do not use HAL (dynamic device support)
2531 --without-inotify do not use inotify (filesystem change notifications)
2532 --without-jpeg do not use JPEG
2533 --without-krb5 do not use krb5 (Kerberos)
2534 --without-ldap do not use LDAP
2535 --without-mingw do not use the MinGW cross-compiler
2536 --without-mpg123 do not use the mpg123 library
2537 --without-netapi do not use the Samba NetAPI library
2538 --without-openal do not use OpenAL
2539 --without-opencl do not use OpenCL
2540 --without-opengl do not use OpenGL
2541 --without-osmesa do not use the OSMesa library
2542 --without-oss do not use the OSS sound support
2543 --without-pcap do not use the Packet Capture library
2544 --without-png do not use PNG
2545 --without-pthread do not use the pthread library
2546 --without-pulse do not use PulseAudio sound support
2547 --without-sane do not use SANE (scanner support)
2548 --without-sdl do not use SDL
2549 --without-tiff do not use TIFF
2550 --without-udev do not use udev (plug and play support)
2551 --without-v4l2 do not use v4l2 (video capture)
2552 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2553 --without-vulkan do not use Vulkan
2554 --without-xcomposite do not use the Xcomposite extension
2555 --without-xcursor do not use the Xcursor extension
2556 --without-xfixes do not use Xfixes for clipboard change notifications
2557 --without-xinerama do not use Xinerama (multi-monitor support)
2558 --without-xinput do not use the Xinput extension
2559 --without-xinput2 do not use the Xinput 2 extension
2560 --without-xml do not use XML
2561 --without-xrandr do not use Xrandr (resolution changes)
2562 --without-xrender do not use the Xrender extension
2563 --without-xshape do not use the Xshape extension
2564 --without-xshm do not use XShm (shared memory extension)
2565 --without-xslt do not use XSLT
2566 --without-xxf86vm do not use XFree video mode extension
2567 --without-zlib do not use Zlib (data compression)
2568 --with-wine-tools=DIR use Wine tools from directory DIR
2569 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2570 --with-x use the X Window System
2572 Some influential environment variables:
2573 CC C compiler command
2574 CFLAGS C compiler flags
2575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2576 nonstandard directory <lib dir>
2577 LIBS libraries to pass to the linker, e.g. -l<library>
2578 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2579 you have headers in a nonstandard directory <include dir>
2580 CXX C++ compiler command
2581 CXXFLAGS C++ compiler flags
2582 CPP C preprocessor
2583 OBJC Objective C compiler command
2584 OBJCFLAGS Objective C compiler flags
2585 OBJCPP Objective C preprocessor
2586 XMKMF Path to xmkmf, Makefile generator for X Window System
2587 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2588 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2589 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2590 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2591 INOTIFY_CFLAGS
2592 C compiler flags for libinotify, overriding pkg-config
2593 INOTIFY_LIBS
2594 Linker flags for libinotify, overriding pkg-config
2595 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2596 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2597 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2598 HAL_LIBS Linker flags for hal, overriding pkg-config
2599 GNUTLS_CFLAGS
2600 C compiler flags for gnutls, overriding pkg-config
2601 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2602 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2603 SANE_LIBS Linker flags for libsane, overriding pkg-config
2604 GPHOTO2_CFLAGS
2605 C compiler flags for libgphoto2, overriding pkg-config
2606 GPHOTO2_LIBS
2607 Linker flags for libgphoto2, overriding pkg-config
2608 GPHOTO2_PORT_CFLAGS
2609 C compiler flags for libgphoto2_port, overriding pkg-config
2610 GPHOTO2_PORT_LIBS
2611 Linker flags for libgphoto2_port, overriding pkg-config
2612 LCMS2_CFLAGS
2613 C compiler flags for lcms2, overriding pkg-config
2614 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2615 FREETYPE_CFLAGS
2616 C compiler flags for freetype2, overriding pkg-config
2617 FREETYPE_LIBS
2618 Linker flags for freetype2, overriding pkg-config
2619 PULSE_CFLAGS
2620 C compiler flags for libpulse, overriding pkg-config
2621 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2622 GSTREAMER_CFLAGS
2623 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2624 gstreamer-audio-1.0, overriding pkg-config
2625 GSTREAMER_LIBS
2626 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2627 gstreamer-audio-1.0, overriding pkg-config
2628 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2629 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2630 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2631 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2632 FAUDIO_CFLAGS
2633 C compiler flags for faudio, overriding pkg-config
2634 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2635 CAPI20_CFLAGS
2636 C compiler flags for capi20, overriding pkg-config
2637 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2638 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2639 CUPS_LIBS Linker flags for cups, overriding pkg-config
2640 FONTCONFIG_CFLAGS
2641 C compiler flags for fontconfig, overriding pkg-config
2642 FONTCONFIG_LIBS
2643 Linker flags for fontconfig, overriding pkg-config
2644 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2645 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2646 GSSAPI_CFLAGS
2647 C compiler flags for krb5-gssapi, overriding pkg-config
2648 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2649 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2650 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2651 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2652 PNG_LIBS Linker flags for libpng, overriding pkg-config
2653 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2654 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2655 MPG123_CFLAGS
2656 C compiler flags for libmpg123, overriding pkg-config
2657 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2658 NETAPI_CFLAGS
2659 C compiler flags for netapi, overriding pkg-config
2660 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2661 VKD3D_CFLAGS
2662 C compiler flags for libvkd3d, overriding pkg-config
2663 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2664 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2665 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2667 Use these variables to override the choices made by `configure' or to help
2668 it to find libraries and programs with nonstandard names/locations.
2670 Report bugs to <wine-devel@winehq.org>.
2671 Wine home page: <https://www.winehq.org>.
2672 _ACEOF
2673 ac_status=$?
2676 if test "$ac_init_help" = "recursive"; then
2677 # If there are subdirs, report their specific --help.
2678 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2679 test -d "$ac_dir" ||
2680 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2681 continue
2682 ac_builddir=.
2684 case "$ac_dir" in
2685 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2687 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2688 # A ".." for each directory in $ac_dir_suffix.
2689 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2690 case $ac_top_builddir_sub in
2691 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2692 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2693 esac ;;
2694 esac
2695 ac_abs_top_builddir=$ac_pwd
2696 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2697 # for backward compatibility:
2698 ac_top_builddir=$ac_top_build_prefix
2700 case $srcdir in
2701 .) # We are building in place.
2702 ac_srcdir=.
2703 ac_top_srcdir=$ac_top_builddir_sub
2704 ac_abs_top_srcdir=$ac_pwd ;;
2705 [\\/]* | ?:[\\/]* ) # Absolute name.
2706 ac_srcdir=$srcdir$ac_dir_suffix;
2707 ac_top_srcdir=$srcdir
2708 ac_abs_top_srcdir=$srcdir ;;
2709 *) # Relative name.
2710 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2711 ac_top_srcdir=$ac_top_build_prefix$srcdir
2712 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2713 esac
2714 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2716 cd "$ac_dir" || { ac_status=$?; continue; }
2717 # Check for guested configure.
2718 if test -f "$ac_srcdir/configure.gnu"; then
2719 echo &&
2720 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2721 elif test -f "$ac_srcdir/configure"; then
2722 echo &&
2723 $SHELL "$ac_srcdir/configure" --help=recursive
2724 else
2725 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2726 fi || ac_status=$?
2727 cd "$ac_pwd" || { ac_status=$?; break; }
2728 done
2731 test -n "$ac_init_help" && exit $ac_status
2732 if $ac_init_version; then
2733 cat <<\_ACEOF
2734 Wine configure 4.8
2735 generated by GNU Autoconf 2.69
2737 Copyright (C) 2012 Free Software Foundation, Inc.
2738 This configure script is free software; the Free Software Foundation
2739 gives unlimited permission to copy, distribute and modify it.
2740 _ACEOF
2741 exit
2744 ## ------------------------ ##
2745 ## Autoconf initialization. ##
2746 ## ------------------------ ##
2748 # ac_fn_c_try_compile LINENO
2749 # --------------------------
2750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2751 ac_fn_c_try_compile ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 rm -f conftest.$ac_objext
2755 if { { ac_try="$ac_compile"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_compile") 2>conftest.err
2763 ac_status=$?
2764 if test -s conftest.err; then
2765 grep -v '^ *+' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2767 mv -f conftest.er1 conftest.err
2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; } && {
2771 test -z "$ac_c_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest.$ac_objext; then :
2774 ac_retval=0
2775 else
2776 $as_echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2779 ac_retval=1
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782 as_fn_set_status $ac_retval
2784 } # ac_fn_c_try_compile
2786 # ac_fn_cxx_try_compile LINENO
2787 # ----------------------------
2788 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2789 ac_fn_cxx_try_compile ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 rm -f conftest.$ac_objext
2793 if { { ac_try="$ac_compile"
2794 case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797 esac
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_compile") 2>conftest.err
2801 ac_status=$?
2802 if test -s conftest.err; then
2803 grep -v '^ *+' conftest.err >conftest.er1
2804 cat conftest.er1 >&5
2805 mv -f conftest.er1 conftest.err
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && {
2809 test -z "$ac_cxx_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest.$ac_objext; then :
2812 ac_retval=0
2813 else
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 as_fn_set_status $ac_retval
2822 } # ac_fn_cxx_try_compile
2824 # ac_fn_c_try_link LINENO
2825 # -----------------------
2826 # Try to link conftest.$ac_ext, and return whether this succeeded.
2827 ac_fn_c_try_link ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 rm -f conftest.$ac_objext conftest$ac_exeext
2831 if { { ac_try="$ac_link"
2832 case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2835 esac
2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837 $as_echo "$ac_try_echo"; } >&5
2838 (eval "$ac_link") 2>conftest.err
2839 ac_status=$?
2840 if test -s conftest.err; then
2841 grep -v '^ *+' conftest.err >conftest.er1
2842 cat conftest.er1 >&5
2843 mv -f conftest.er1 conftest.err
2845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; } && {
2847 test -z "$ac_c_werror_flag" ||
2848 test ! -s conftest.err
2849 } && test -s conftest$ac_exeext && {
2850 test "$cross_compiling" = yes ||
2851 test -x conftest$ac_exeext
2852 }; then :
2853 ac_retval=0
2854 else
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=1
2860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2862 # interfere with the next link command; also delete a directory that is
2863 # left behind by Apple's compiler. We do this before executing the actions.
2864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status $ac_retval
2868 } # ac_fn_c_try_link
2870 # ac_fn_c_try_cpp LINENO
2871 # ----------------------
2872 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2873 ac_fn_c_try_cpp ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 if { { ac_try="$ac_cpp conftest.$ac_ext"
2877 case "(($ac_try" in
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2880 esac
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2884 ac_status=$?
2885 if test -s conftest.err; then
2886 grep -v '^ *+' conftest.err >conftest.er1
2887 cat conftest.er1 >&5
2888 mv -f conftest.er1 conftest.err
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; } > conftest.i && {
2892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2893 test ! -s conftest.err
2894 }; then :
2895 ac_retval=0
2896 else
2897 $as_echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2900 ac_retval=1
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 as_fn_set_status $ac_retval
2905 } # ac_fn_c_try_cpp
2907 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2908 # -------------------------------------------------------
2909 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2910 # the include files in INCLUDES and setting the cache variable VAR
2911 # accordingly.
2912 ac_fn_c_check_header_mongrel ()
2914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2915 if eval \${$3+:} false; then :
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2917 $as_echo_n "checking for $2... " >&6; }
2918 if eval \${$3+:} false; then :
2919 $as_echo_n "(cached) " >&6
2921 eval ac_res=\$$3
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2923 $as_echo "$ac_res" >&6; }
2924 else
2925 # Is the header compilable?
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2927 $as_echo_n "checking $2 usability... " >&6; }
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2931 #include <$2>
2932 _ACEOF
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 ac_header_compiler=yes
2935 else
2936 ac_header_compiler=no
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2940 $as_echo "$ac_header_compiler" >&6; }
2942 # Is the header present?
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2944 $as_echo_n "checking $2 presence... " >&6; }
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2947 #include <$2>
2948 _ACEOF
2949 if ac_fn_c_try_cpp "$LINENO"; then :
2950 ac_header_preproc=yes
2951 else
2952 ac_header_preproc=no
2954 rm -f conftest.err conftest.i conftest.$ac_ext
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2956 $as_echo "$ac_header_preproc" >&6; }
2958 # So? What about this header?
2959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2960 yes:no: )
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2962 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2964 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2966 no:yes:* )
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2968 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2970 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2972 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2974 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2976 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2977 ( $as_echo "## ------------------------------------ ##
2978 ## Report this to wine-devel@winehq.org ##
2979 ## ------------------------------------ ##"
2980 ) | sed "s/^/$as_me: WARNING: /" >&2
2982 esac
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2984 $as_echo_n "checking for $2... " >&6; }
2985 if eval \${$3+:} false; then :
2986 $as_echo_n "(cached) " >&6
2987 else
2988 eval "$3=\$ac_header_compiler"
2990 eval ac_res=\$$3
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2992 $as_echo "$ac_res" >&6; }
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2996 } # ac_fn_c_check_header_mongrel
2998 # ac_fn_c_try_run LINENO
2999 # ----------------------
3000 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3001 # that executables *can* be run.
3002 ac_fn_c_try_run ()
3004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3005 if { { ac_try="$ac_link"
3006 case "(($ac_try" in
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3009 esac
3010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3011 $as_echo "$ac_try_echo"; } >&5
3012 (eval "$ac_link") 2>&5
3013 ac_status=$?
3014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
3023 ac_status=$?
3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025 test $ac_status = 0; }; }; then :
3026 ac_retval=0
3027 else
3028 $as_echo "$as_me: program exited with status $ac_status" >&5
3029 $as_echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 ac_retval=$ac_status
3034 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 as_fn_set_status $ac_retval
3038 } # ac_fn_c_try_run
3040 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3041 # -------------------------------------------------------
3042 # Tests whether HEADER exists and can be compiled using the include files in
3043 # INCLUDES, setting the cache variable VAR accordingly.
3044 ac_fn_c_check_header_compile ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 $as_echo_n "checking for $2... " >&6; }
3049 if eval \${$3+:} false; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3055 #include <$2>
3056 _ACEOF
3057 if ac_fn_c_try_compile "$LINENO"; then :
3058 eval "$3=yes"
3059 else
3060 eval "$3=no"
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 eval ac_res=\$$3
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3066 $as_echo "$ac_res" >&6; }
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 } # ac_fn_c_check_header_compile
3071 # ac_fn_objc_try_compile LINENO
3072 # -----------------------------
3073 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3074 ac_fn_objc_try_compile ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 rm -f conftest.$ac_objext
3078 if { { ac_try="$ac_compile"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_compile") 2>conftest.err
3086 ac_status=$?
3087 if test -s conftest.err; then
3088 grep -v '^ *+' conftest.err >conftest.er1
3089 cat conftest.er1 >&5
3090 mv -f conftest.er1 conftest.err
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; } && {
3094 test -z "$ac_objc_werror_flag" ||
3095 test ! -s conftest.err
3096 } && test -s conftest.$ac_objext; then :
3097 ac_retval=0
3098 else
3099 $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 ac_retval=1
3104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3105 as_fn_set_status $ac_retval
3107 } # ac_fn_objc_try_compile
3109 # ac_fn_objc_try_cpp LINENO
3110 # -------------------------
3111 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3112 ac_fn_objc_try_cpp ()
3114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115 if { { ac_try="$ac_cpp conftest.$ac_ext"
3116 case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3123 ac_status=$?
3124 if test -s conftest.err; then
3125 grep -v '^ *+' conftest.err >conftest.er1
3126 cat conftest.er1 >&5
3127 mv -f conftest.er1 conftest.err
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; } > conftest.i && {
3131 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3132 test ! -s conftest.err
3133 }; then :
3134 ac_retval=0
3135 else
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 ac_retval=1
3141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 as_fn_set_status $ac_retval
3144 } # ac_fn_objc_try_cpp
3146 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3147 # ----------------------------------------------------------
3148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3149 # the include files in INCLUDES and setting the cache variable VAR
3150 # accordingly.
3151 ac_fn_objc_check_header_mongrel ()
3153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3154 if eval \${$3+:} false; then :
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3156 $as_echo_n "checking for $2... " >&6; }
3157 if eval \${$3+:} false; then :
3158 $as_echo_n "(cached) " >&6
3160 eval ac_res=\$$3
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3162 $as_echo "$ac_res" >&6; }
3163 else
3164 # Is the header compilable?
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3166 $as_echo_n "checking $2 usability... " >&6; }
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3170 #include <$2>
3171 _ACEOF
3172 if ac_fn_objc_try_compile "$LINENO"; then :
3173 ac_header_compiler=yes
3174 else
3175 ac_header_compiler=no
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3179 $as_echo "$ac_header_compiler" >&6; }
3181 # Is the header present?
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3183 $as_echo_n "checking $2 presence... " >&6; }
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3186 #include <$2>
3187 _ACEOF
3188 if ac_fn_objc_try_cpp "$LINENO"; then :
3189 ac_header_preproc=yes
3190 else
3191 ac_header_preproc=no
3193 rm -f conftest.err conftest.i conftest.$ac_ext
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3195 $as_echo "$ac_header_preproc" >&6; }
3197 # So? What about this header?
3198 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3199 yes:no: )
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3205 no:yes:* )
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3209 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3213 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3216 ( $as_echo "## ------------------------------------ ##
3217 ## Report this to wine-devel@winehq.org ##
3218 ## ------------------------------------ ##"
3219 ) | sed "s/^/$as_me: WARNING: /" >&2
3221 esac
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3223 $as_echo_n "checking for $2... " >&6; }
3224 if eval \${$3+:} false; then :
3225 $as_echo_n "(cached) " >&6
3226 else
3227 eval "$3=\$ac_header_compiler"
3229 eval ac_res=\$$3
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3231 $as_echo "$ac_res" >&6; }
3233 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3235 } # ac_fn_objc_check_header_mongrel
3237 # ac_fn_c_check_func LINENO FUNC VAR
3238 # ----------------------------------
3239 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3240 ac_fn_c_check_func ()
3242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3244 $as_echo_n "checking for $2... " >&6; }
3245 if eval \${$3+:} false; then :
3246 $as_echo_n "(cached) " >&6
3247 else
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3250 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3252 #define $2 innocuous_$2
3254 /* System header to define __stub macros and hopefully few prototypes,
3255 which can conflict with char $2 (); below.
3256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3257 <limits.h> exists even on freestanding compilers. */
3259 #ifdef __STDC__
3260 # include <limits.h>
3261 #else
3262 # include <assert.h>
3263 #endif
3265 #undef $2
3267 /* Override any GCC internal prototype to avoid an error.
3268 Use char because int might match the return type of a GCC
3269 builtin and then its argument prototype would still apply. */
3270 #ifdef __cplusplus
3271 extern "C"
3272 #endif
3273 char $2 ();
3274 /* The GNU C library defines this for functions which it implements
3275 to always fail with ENOSYS. Some functions are actually named
3276 something starting with __ and the normal name is an alias. */
3277 #if defined __stub_$2 || defined __stub___$2
3278 choke me
3279 #endif
3282 main ()
3284 return $2 ();
3286 return 0;
3288 _ACEOF
3289 if ac_fn_c_try_link "$LINENO"; then :
3290 eval "$3=yes"
3291 else
3292 eval "$3=no"
3294 rm -f core conftest.err conftest.$ac_objext \
3295 conftest$ac_exeext conftest.$ac_ext
3297 eval ac_res=\$$3
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3299 $as_echo "$ac_res" >&6; }
3300 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3302 } # ac_fn_c_check_func
3304 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3305 # ----------------------------------------------------
3306 # Tries to find if the field MEMBER exists in type AGGR, after including
3307 # INCLUDES, setting cache variable VAR accordingly.
3308 ac_fn_c_check_member ()
3310 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3312 $as_echo_n "checking for $2.$3... " >&6; }
3313 if eval \${$4+:} false; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3320 main ()
3322 static $2 ac_aggr;
3323 if (ac_aggr.$3)
3324 return 0;
3326 return 0;
3328 _ACEOF
3329 if ac_fn_c_try_compile "$LINENO"; then :
3330 eval "$4=yes"
3331 else
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3336 main ()
3338 static $2 ac_aggr;
3339 if (sizeof ac_aggr.$3)
3340 return 0;
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 eval "$4=yes"
3347 else
3348 eval "$4=no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 eval ac_res=\$$4
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3356 $as_echo "$ac_res" >&6; }
3357 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3359 } # ac_fn_c_check_member
3361 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3362 # -------------------------------------------
3363 # Tests whether TYPE exists after having included INCLUDES, setting cache
3364 # variable VAR accordingly.
3365 ac_fn_c_check_type ()
3367 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3369 $as_echo_n "checking for $2... " >&6; }
3370 if eval \${$3+:} false; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 eval "$3=no"
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 main ()
3380 if (sizeof ($2))
3381 return 0;
3383 return 0;
3385 _ACEOF
3386 if ac_fn_c_try_compile "$LINENO"; then :
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3391 main ()
3393 if (sizeof (($2)))
3394 return 0;
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3401 else
3402 eval "$3=yes"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 eval ac_res=\$$3
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3410 $as_echo "$ac_res" >&6; }
3411 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3413 } # ac_fn_c_check_type
3414 cat >config.log <<_ACEOF
3415 This file contains any messages produced by compilers while
3416 running configure, to aid debugging if configure makes a mistake.
3418 It was created by Wine $as_me 4.8, which was
3419 generated by GNU Autoconf 2.69. Invocation command line was
3421 $ $0 $@
3423 _ACEOF
3424 exec 5>>config.log
3426 cat <<_ASUNAME
3427 ## --------- ##
3428 ## Platform. ##
3429 ## --------- ##
3431 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3432 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3433 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3434 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3435 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3437 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3438 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3440 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3441 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3442 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3443 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3444 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3445 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3446 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3448 _ASUNAME
3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 for as_dir in $PATH
3453 IFS=$as_save_IFS
3454 test -z "$as_dir" && as_dir=.
3455 $as_echo "PATH: $as_dir"
3456 done
3457 IFS=$as_save_IFS
3459 } >&5
3461 cat >&5 <<_ACEOF
3464 ## ----------- ##
3465 ## Core tests. ##
3466 ## ----------- ##
3468 _ACEOF
3471 # Keep a trace of the command line.
3472 # Strip out --no-create and --no-recursion so they do not pile up.
3473 # Strip out --silent because we don't want to record it for future runs.
3474 # Also quote any args containing shell meta-characters.
3475 # Make two passes to allow for proper duplicate-argument suppression.
3476 ac_configure_args=
3477 ac_configure_args0=
3478 ac_configure_args1=
3479 ac_must_keep_next=false
3480 for ac_pass in 1 2
3482 for ac_arg
3484 case $ac_arg in
3485 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3487 | -silent | --silent | --silen | --sile | --sil)
3488 continue ;;
3489 *\'*)
3490 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3491 esac
3492 case $ac_pass in
3493 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3495 as_fn_append ac_configure_args1 " '$ac_arg'"
3496 if test $ac_must_keep_next = true; then
3497 ac_must_keep_next=false # Got value, back to normal.
3498 else
3499 case $ac_arg in
3500 *=* | --config-cache | -C | -disable-* | --disable-* \
3501 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3502 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3503 | -with-* | --with-* | -without-* | --without-* | --x)
3504 case "$ac_configure_args0 " in
3505 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3506 esac
3508 -* ) ac_must_keep_next=true ;;
3509 esac
3511 as_fn_append ac_configure_args " '$ac_arg'"
3513 esac
3514 done
3515 done
3516 { ac_configure_args0=; unset ac_configure_args0;}
3517 { ac_configure_args1=; unset ac_configure_args1;}
3519 # When interrupted or exit'd, cleanup temporary files, and complete
3520 # config.log. We remove comments because anyway the quotes in there
3521 # would cause problems or look ugly.
3522 # WARNING: Use '\'' to represent an apostrophe within the trap.
3523 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3524 trap 'exit_status=$?
3525 # Save into config.log some information that might help in debugging.
3527 echo
3529 $as_echo "## ---------------- ##
3530 ## Cache variables. ##
3531 ## ---------------- ##"
3532 echo
3533 # The following way of writing the cache mishandles newlines in values,
3535 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3536 eval ac_val=\$$ac_var
3537 case $ac_val in #(
3538 *${as_nl}*)
3539 case $ac_var in #(
3540 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3541 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3542 esac
3543 case $ac_var in #(
3544 _ | IFS | as_nl) ;; #(
3545 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3546 *) { eval $ac_var=; unset $ac_var;} ;;
3547 esac ;;
3548 esac
3549 done
3550 (set) 2>&1 |
3551 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3552 *${as_nl}ac_space=\ *)
3553 sed -n \
3554 "s/'\''/'\''\\\\'\'''\''/g;
3555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3556 ;; #(
3558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3560 esac |
3561 sort
3563 echo
3565 $as_echo "## ----------------- ##
3566 ## Output variables. ##
3567 ## ----------------- ##"
3568 echo
3569 for ac_var in $ac_subst_vars
3571 eval ac_val=\$$ac_var
3572 case $ac_val in
3573 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3574 esac
3575 $as_echo "$ac_var='\''$ac_val'\''"
3576 done | sort
3577 echo
3579 if test -n "$ac_subst_files"; then
3580 $as_echo "## ------------------- ##
3581 ## File substitutions. ##
3582 ## ------------------- ##"
3583 echo
3584 for ac_var in $ac_subst_files
3586 eval ac_val=\$$ac_var
3587 case $ac_val in
3588 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3589 esac
3590 $as_echo "$ac_var='\''$ac_val'\''"
3591 done | sort
3592 echo
3595 if test -s confdefs.h; then
3596 $as_echo "## ----------- ##
3597 ## confdefs.h. ##
3598 ## ----------- ##"
3599 echo
3600 cat confdefs.h
3601 echo
3603 test "$ac_signal" != 0 &&
3604 $as_echo "$as_me: caught signal $ac_signal"
3605 $as_echo "$as_me: exit $exit_status"
3606 } >&5
3607 rm -f core *.core core.conftest.* &&
3608 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3609 exit $exit_status
3611 for ac_signal in 1 2 13 15; do
3612 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3613 done
3614 ac_signal=0
3616 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3617 rm -f -r conftest* confdefs.h
3619 $as_echo "/* confdefs.h */" > confdefs.h
3621 # Predefined preprocessor variables.
3623 cat >>confdefs.h <<_ACEOF
3624 #define PACKAGE_NAME "$PACKAGE_NAME"
3625 _ACEOF
3627 cat >>confdefs.h <<_ACEOF
3628 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3629 _ACEOF
3631 cat >>confdefs.h <<_ACEOF
3632 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3633 _ACEOF
3635 cat >>confdefs.h <<_ACEOF
3636 #define PACKAGE_STRING "$PACKAGE_STRING"
3637 _ACEOF
3639 cat >>confdefs.h <<_ACEOF
3640 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3641 _ACEOF
3643 cat >>confdefs.h <<_ACEOF
3644 #define PACKAGE_URL "$PACKAGE_URL"
3645 _ACEOF
3648 # Let the site file select an alternate cache file if it wants to.
3649 # Prefer an explicitly selected file to automatically selected ones.
3650 ac_site_file1=NONE
3651 ac_site_file2=NONE
3652 if test -n "$CONFIG_SITE"; then
3653 # We do not want a PATH search for config.site.
3654 case $CONFIG_SITE in #((
3655 -*) ac_site_file1=./$CONFIG_SITE;;
3656 */*) ac_site_file1=$CONFIG_SITE;;
3657 *) ac_site_file1=./$CONFIG_SITE;;
3658 esac
3659 elif test "x$prefix" != xNONE; then
3660 ac_site_file1=$prefix/share/config.site
3661 ac_site_file2=$prefix/etc/config.site
3662 else
3663 ac_site_file1=$ac_default_prefix/share/config.site
3664 ac_site_file2=$ac_default_prefix/etc/config.site
3666 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3668 test "x$ac_site_file" = xNONE && continue
3669 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3671 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3672 sed 's/^/| /' "$ac_site_file" >&5
3673 . "$ac_site_file" \
3674 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3676 as_fn_error $? "failed to load site script $ac_site_file
3677 See \`config.log' for more details" "$LINENO" 5; }
3679 done
3681 if test -r "$cache_file"; then
3682 # Some versions of bash will fail to source /dev/null (special files
3683 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3684 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3686 $as_echo "$as_me: loading cache $cache_file" >&6;}
3687 case $cache_file in
3688 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3689 *) . "./$cache_file";;
3690 esac
3692 else
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3694 $as_echo "$as_me: creating cache $cache_file" >&6;}
3695 >$cache_file
3698 # Check that the precious variables saved in the cache have kept the same
3699 # value.
3700 ac_cache_corrupted=false
3701 for ac_var in $ac_precious_vars; do
3702 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3703 eval ac_new_set=\$ac_env_${ac_var}_set
3704 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3705 eval ac_new_val=\$ac_env_${ac_var}_value
3706 case $ac_old_set,$ac_new_set in
3707 set,)
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3709 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3710 ac_cache_corrupted=: ;;
3711 ,set)
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3713 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3714 ac_cache_corrupted=: ;;
3715 ,);;
3717 if test "x$ac_old_val" != "x$ac_new_val"; then
3718 # differences in whitespace do not lead to failure.
3719 ac_old_val_w=`echo x $ac_old_val`
3720 ac_new_val_w=`echo x $ac_new_val`
3721 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3723 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3724 ac_cache_corrupted=:
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3727 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3728 eval $ac_var=\$ac_old_val
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3731 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3733 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3734 fi;;
3735 esac
3736 # Pass precious variables to config.status.
3737 if test "$ac_new_set" = set; then
3738 case $ac_new_val in
3739 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3740 *) ac_arg=$ac_var=$ac_new_val ;;
3741 esac
3742 case " $ac_configure_args " in
3743 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3744 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3745 esac
3747 done
3748 if $ac_cache_corrupted; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3752 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3753 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3755 ## -------------------- ##
3756 ## Main body of script. ##
3757 ## -------------------- ##
3759 ac_ext=c
3760 ac_cpp='$CPP $CPPFLAGS'
3761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3767 ac_config_headers="$ac_config_headers include/config.h"
3769 ac_aux_dir=
3770 for ac_dir in tools "$srcdir"/tools; do
3771 if test -f "$ac_dir/install-sh"; then
3772 ac_aux_dir=$ac_dir
3773 ac_install_sh="$ac_aux_dir/install-sh -c"
3774 break
3775 elif test -f "$ac_dir/install.sh"; then
3776 ac_aux_dir=$ac_dir
3777 ac_install_sh="$ac_aux_dir/install.sh -c"
3778 break
3779 elif test -f "$ac_dir/shtool"; then
3780 ac_aux_dir=$ac_dir
3781 ac_install_sh="$ac_aux_dir/shtool install -c"
3782 break
3784 done
3785 if test -z "$ac_aux_dir"; then
3786 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3789 # These three variables are undocumented and unsupported,
3790 # and are intended to be withdrawn in a future Autoconf release.
3791 # They can cause serious problems if a builder's source tree is in a directory
3792 # whose full name contains unusual characters.
3793 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3794 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3795 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3799 libwine_version="1.0"
3803 # Check whether --enable-win16 was given.
3804 if test "${enable_win16+set}" = set; then :
3805 enableval=$enable_win16;
3808 # Check whether --enable-win64 was given.
3809 if test "${enable_win64+set}" = set; then :
3810 enableval=$enable_win64;
3813 # Check whether --enable-tests was given.
3814 if test "${enable_tests+set}" = set; then :
3815 enableval=$enable_tests;
3818 # Check whether --enable-maintainer-mode was given.
3819 if test "${enable_maintainer_mode+set}" = set; then :
3820 enableval=$enable_maintainer_mode;
3825 # Check whether --with-alsa was given.
3826 if test "${with_alsa+set}" = set; then :
3827 withval=$with_alsa;
3831 # Check whether --with-capi was given.
3832 if test "${with_capi+set}" = set; then :
3833 withval=$with_capi;
3837 # Check whether --with-cms was given.
3838 if test "${with_cms+set}" = set; then :
3839 withval=$with_cms;
3843 # Check whether --with-coreaudio was given.
3844 if test "${with_coreaudio+set}" = set; then :
3845 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3849 # Check whether --with-cups was given.
3850 if test "${with_cups+set}" = set; then :
3851 withval=$with_cups;
3855 # Check whether --with-curses was given.
3856 if test "${with_curses+set}" = set; then :
3857 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3861 # Check whether --with-dbus was given.
3862 if test "${with_dbus+set}" = set; then :
3863 withval=$with_dbus;
3867 # Check whether --with-faudio was given.
3868 if test "${with_faudio+set}" = set; then :
3869 withval=$with_faudio;
3873 # Check whether --with-float-abi was given.
3874 if test "${with_float_abi+set}" = set; then :
3875 withval=$with_float_abi;
3879 # Check whether --with-fontconfig was given.
3880 if test "${with_fontconfig+set}" = set; then :
3881 withval=$with_fontconfig;
3885 # Check whether --with-freetype was given.
3886 if test "${with_freetype+set}" = set; then :
3887 withval=$with_freetype;
3891 # Check whether --with-gettext was given.
3892 if test "${with_gettext+set}" = set; then :
3893 withval=$with_gettext;
3897 # Check whether --with-gettextpo was given.
3898 if test "${with_gettextpo+set}" = set; then :
3899 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3903 # Check whether --with-gphoto was given.
3904 if test "${with_gphoto+set}" = set; then :
3905 withval=$with_gphoto;
3909 # Check whether --with-glu was given.
3910 if test "${with_glu+set}" = set; then :
3911 withval=$with_glu;
3915 # Check whether --with-gnutls was given.
3916 if test "${with_gnutls+set}" = set; then :
3917 withval=$with_gnutls;
3921 # Check whether --with-gsm was given.
3922 if test "${with_gsm+set}" = set; then :
3923 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3927 # Check whether --with-gssapi was given.
3928 if test "${with_gssapi+set}" = set; then :
3929 withval=$with_gssapi;
3933 # Check whether --with-gstreamer was given.
3934 if test "${with_gstreamer+set}" = set; then :
3935 withval=$with_gstreamer;
3939 # Check whether --with-hal was given.
3940 if test "${with_hal+set}" = set; then :
3941 withval=$with_hal;
3945 # Check whether --with-inotify was given.
3946 if test "${with_inotify+set}" = set; then :
3947 withval=$with_inotify;
3951 # Check whether --with-jpeg was given.
3952 if test "${with_jpeg+set}" = set; then :
3953 withval=$with_jpeg;
3957 # Check whether --with-krb5 was given.
3958 if test "${with_krb5+set}" = set; then :
3959 withval=$with_krb5;
3963 # Check whether --with-ldap was given.
3964 if test "${with_ldap+set}" = set; then :
3965 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3969 # Check whether --with-mingw was given.
3970 if test "${with_mingw+set}" = set; then :
3971 withval=$with_mingw;
3975 # Check whether --with-mpg123 was given.
3976 if test "${with_mpg123+set}" = set; then :
3977 withval=$with_mpg123;
3981 # Check whether --with-netapi was given.
3982 if test "${with_netapi+set}" = set; then :
3983 withval=$with_netapi;
3987 # Check whether --with-openal was given.
3988 if test "${with_openal+set}" = set; then :
3989 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3993 # Check whether --with-opencl was given.
3994 if test "${with_opencl+set}" = set; then :
3995 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3999 # Check whether --with-opengl was given.
4000 if test "${with_opengl+set}" = set; then :
4001 withval=$with_opengl;
4005 # Check whether --with-osmesa was given.
4006 if test "${with_osmesa+set}" = set; then :
4007 withval=$with_osmesa;
4011 # Check whether --with-oss was given.
4012 if test "${with_oss+set}" = set; then :
4013 withval=$with_oss;
4017 # Check whether --with-pcap was given.
4018 if test "${with_pcap+set}" = set; then :
4019 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4023 # Check whether --with-png was given.
4024 if test "${with_png+set}" = set; then :
4025 withval=$with_png;
4029 # Check whether --with-pthread was given.
4030 if test "${with_pthread+set}" = set; then :
4031 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4035 # Check whether --with-pulse was given.
4036 if test "${with_pulse+set}" = set; then :
4037 withval=$with_pulse;
4041 # Check whether --with-sane was given.
4042 if test "${with_sane+set}" = set; then :
4043 withval=$with_sane;
4047 # Check whether --with-sdl was given.
4048 if test "${with_sdl+set}" = set; then :
4049 withval=$with_sdl;
4053 # Check whether --with-tiff was given.
4054 if test "${with_tiff+set}" = set; then :
4055 withval=$with_tiff;
4059 # Check whether --with-udev was given.
4060 if test "${with_udev+set}" = set; then :
4061 withval=$with_udev;
4065 # Check whether --with-v4l2 was given.
4066 if test "${with_v4l2+set}" = set; then :
4067 withval=$with_v4l2;
4071 # Check whether --with-vkd3d was given.
4072 if test "${with_vkd3d+set}" = set; then :
4073 withval=$with_vkd3d;
4077 # Check whether --with-vulkan was given.
4078 if test "${with_vulkan+set}" = set; then :
4079 withval=$with_vulkan;
4083 # Check whether --with-xcomposite was given.
4084 if test "${with_xcomposite+set}" = set; then :
4085 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4089 # Check whether --with-xcursor was given.
4090 if test "${with_xcursor+set}" = set; then :
4091 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4095 # Check whether --with-xfixes was given.
4096 if test "${with_xfixes+set}" = set; then :
4097 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4101 # Check whether --with-xinerama was given.
4102 if test "${with_xinerama+set}" = set; then :
4103 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4107 # Check whether --with-xinput was given.
4108 if test "${with_xinput+set}" = set; then :
4109 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4113 # Check whether --with-xinput2 was given.
4114 if test "${with_xinput2+set}" = set; then :
4115 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4119 # Check whether --with-xml was given.
4120 if test "${with_xml+set}" = set; then :
4121 withval=$with_xml;
4125 # Check whether --with-xrandr was given.
4126 if test "${with_xrandr+set}" = set; then :
4127 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4131 # Check whether --with-xrender was given.
4132 if test "${with_xrender+set}" = set; then :
4133 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4137 # Check whether --with-xshape was given.
4138 if test "${with_xshape+set}" = set; then :
4139 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4143 # Check whether --with-xshm was given.
4144 if test "${with_xshm+set}" = set; then :
4145 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4149 # Check whether --with-xslt was given.
4150 if test "${with_xslt+set}" = set; then :
4151 withval=$with_xslt;
4155 # Check whether --with-xxf86vm was given.
4156 if test "${with_xxf86vm+set}" = set; then :
4157 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
4161 # Check whether --with-zlib was given.
4162 if test "${with_zlib+set}" = set; then :
4163 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4168 # Check whether --with-wine-tools was given.
4169 if test "${with_wine_tools+set}" = set; then :
4170 withval=$with_wine_tools;
4174 # Check whether --with-wine64 was given.
4175 if test "${with_wine64+set}" = set; then :
4176 withval=$with_wine64;
4180 # Make sure we can run config.sub.
4181 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4182 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4185 $as_echo_n "checking build system type... " >&6; }
4186 if ${ac_cv_build+:} false; then :
4187 $as_echo_n "(cached) " >&6
4188 else
4189 ac_build_alias=$build_alias
4190 test "x$ac_build_alias" = x &&
4191 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4192 test "x$ac_build_alias" = x &&
4193 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4194 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4195 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4199 $as_echo "$ac_cv_build" >&6; }
4200 case $ac_cv_build in
4201 *-*-*) ;;
4202 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4203 esac
4204 build=$ac_cv_build
4205 ac_save_IFS=$IFS; IFS='-'
4206 set x $ac_cv_build
4207 shift
4208 build_cpu=$1
4209 build_vendor=$2
4210 shift; shift
4211 # Remember, the first character of IFS is used to create $*,
4212 # except with old shells:
4213 build_os=$*
4214 IFS=$ac_save_IFS
4215 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4219 $as_echo_n "checking host system type... " >&6; }
4220 if ${ac_cv_host+:} false; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 if test "x$host_alias" = x; then
4224 ac_cv_host=$ac_cv_build
4225 else
4226 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4232 $as_echo "$ac_cv_host" >&6; }
4233 case $ac_cv_host in
4234 *-*-*) ;;
4235 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4236 esac
4237 host=$ac_cv_host
4238 ac_save_IFS=$IFS; IFS='-'
4239 set x $ac_cv_host
4240 shift
4241 host_cpu=$1
4242 host_vendor=$2
4243 shift; shift
4244 # Remember, the first character of IFS is used to create $*,
4245 # except with old shells:
4246 host_os=$*
4247 IFS=$ac_save_IFS
4248 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4252 case "$srcdir" in
4253 .) ;;
4254 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4255 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4256 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4257 fi ;;
4258 esac
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4262 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4263 set x ${MAKE-make}
4264 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4265 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4266 $as_echo_n "(cached) " >&6
4267 else
4268 cat >conftest.make <<\_ACEOF
4269 SHELL = /bin/sh
4270 all:
4271 @echo '@@@%%%=$(MAKE)=@@@%%%'
4272 _ACEOF
4273 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4275 *@@@%%%=?*=@@@%%%*)
4276 eval ac_cv_prog_make_${ac_make}_set=yes;;
4278 eval ac_cv_prog_make_${ac_make}_set=no;;
4279 esac
4280 rm -f conftest.make
4282 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4284 $as_echo "yes" >&6; }
4285 SET_MAKE=
4286 else
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4289 SET_MAKE="MAKE=${MAKE-make}"
4292 ac_ext=c
4293 ac_cpp='$CPP $CPPFLAGS'
4294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4297 if test -n "$ac_tool_prefix"; then
4298 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4299 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_CC+:} false; then :
4303 $as_echo_n "(cached) " >&6
4304 else
4305 if test -n "$CC"; then
4306 ac_cv_prog_CC="$CC" # Let the user override the test.
4307 else
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH
4311 IFS=$as_save_IFS
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4315 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 break 2
4319 done
4320 done
4321 IFS=$as_save_IFS
4325 CC=$ac_cv_prog_CC
4326 if test -n "$CC"; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4328 $as_echo "$CC" >&6; }
4329 else
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331 $as_echo "no" >&6; }
4336 if test -z "$ac_cv_prog_CC"; then
4337 ac_ct_CC=$CC
4338 # Extract the first word of "gcc", so it can be a program name with args.
4339 set dummy gcc; ac_word=$2
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4343 $as_echo_n "(cached) " >&6
4344 else
4345 if test -n "$ac_ct_CC"; then
4346 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4347 else
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH
4351 IFS=$as_save_IFS
4352 test -z "$as_dir" && as_dir=.
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4355 ac_cv_prog_ac_ct_CC="gcc"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 break 2
4359 done
4360 done
4361 IFS=$as_save_IFS
4365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4366 if test -n "$ac_ct_CC"; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4368 $as_echo "$ac_ct_CC" >&6; }
4369 else
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4374 if test "x$ac_ct_CC" = x; then
4375 CC=""
4376 else
4377 case $cross_compiling:$ac_tool_warned in
4378 yes:)
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4381 ac_tool_warned=yes ;;
4382 esac
4383 CC=$ac_ct_CC
4385 else
4386 CC="$ac_cv_prog_CC"
4389 if test -z "$CC"; then
4390 if test -n "$ac_tool_prefix"; then
4391 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4392 set dummy ${ac_tool_prefix}cc; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if ${ac_cv_prog_CC+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 if test -n "$CC"; then
4399 ac_cv_prog_CC="$CC" # Let the user override the test.
4400 else
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 for as_dir in $PATH
4404 IFS=$as_save_IFS
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4408 ac_cv_prog_CC="${ac_tool_prefix}cc"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 break 2
4412 done
4413 done
4414 IFS=$as_save_IFS
4418 CC=$ac_cv_prog_CC
4419 if test -n "$CC"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4421 $as_echo "$CC" >&6; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4430 if test -z "$CC"; then
4431 # Extract the first word of "cc", so it can be a program name with args.
4432 set dummy cc; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CC+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 else
4441 ac_prog_rejected=no
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4450 ac_prog_rejected=yes
4451 continue
4453 ac_cv_prog_CC="cc"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 break 2
4457 done
4458 done
4459 IFS=$as_save_IFS
4461 if test $ac_prog_rejected = yes; then
4462 # We found a bogon in the path, so make sure we never use it.
4463 set dummy $ac_cv_prog_CC
4464 shift
4465 if test $# != 0; then
4466 # We chose a different compiler from the bogus one.
4467 # However, it has the same basename, so the bogon will be chosen
4468 # first if we set CC to just the basename; use the full file name.
4469 shift
4470 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4475 CC=$ac_cv_prog_CC
4476 if test -n "$CC"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4478 $as_echo "$CC" >&6; }
4479 else
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4486 if test -z "$CC"; then
4487 if test -n "$ac_tool_prefix"; then
4488 for ac_prog in cl.exe
4490 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if ${ac_cv_prog_CC+:} false; then :
4495 $as_echo_n "(cached) " >&6
4496 else
4497 if test -n "$CC"; then
4498 ac_cv_prog_CC="$CC" # Let the user override the test.
4499 else
4500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 for as_dir in $PATH
4503 IFS=$as_save_IFS
4504 test -z "$as_dir" && as_dir=.
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4507 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 break 2
4511 done
4512 done
4513 IFS=$as_save_IFS
4517 CC=$ac_cv_prog_CC
4518 if test -n "$CC"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4520 $as_echo "$CC" >&6; }
4521 else
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4527 test -n "$CC" && break
4528 done
4530 if test -z "$CC"; then
4531 ac_ct_CC=$CC
4532 for ac_prog in cl.exe
4534 # Extract the first word of "$ac_prog", so it can be a program name with args.
4535 set dummy $ac_prog; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 if test -n "$ac_ct_CC"; then
4542 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4543 else
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4547 IFS=$as_save_IFS
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_ac_ct_CC="$ac_prog"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 break 2
4555 done
4556 done
4557 IFS=$as_save_IFS
4561 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4562 if test -n "$ac_ct_CC"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4564 $as_echo "$ac_ct_CC" >&6; }
4565 else
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4571 test -n "$ac_ct_CC" && break
4572 done
4574 if test "x$ac_ct_CC" = x; then
4575 CC=""
4576 else
4577 case $cross_compiling:$ac_tool_warned in
4578 yes:)
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581 ac_tool_warned=yes ;;
4582 esac
4583 CC=$ac_ct_CC
4590 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4592 as_fn_error $? "no acceptable C compiler found in \$PATH
4593 See \`config.log' for more details" "$LINENO" 5; }
4595 # Provide some information about the compiler.
4596 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4597 set X $ac_compile
4598 ac_compiler=$2
4599 for ac_option in --version -v -V -qversion; do
4600 { { ac_try="$ac_compiler $ac_option >&5"
4601 case "(($ac_try" in
4602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4603 *) ac_try_echo=$ac_try;;
4604 esac
4605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4606 $as_echo "$ac_try_echo"; } >&5
4607 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4608 ac_status=$?
4609 if test -s conftest.err; then
4610 sed '10a\
4611 ... rest of stderr output deleted ...
4612 10q' conftest.err >conftest.er1
4613 cat conftest.er1 >&5
4615 rm -f conftest.er1 conftest.err
4616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4617 test $ac_status = 0; }
4618 done
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4624 main ()
4628 return 0;
4630 _ACEOF
4631 ac_clean_files_save=$ac_clean_files
4632 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4633 # Try to create an executable without -o first, disregard a.out.
4634 # It will help us diagnose broken compilers, and finding out an intuition
4635 # of exeext.
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4637 $as_echo_n "checking whether the C compiler works... " >&6; }
4638 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4640 # The possible output files:
4641 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4643 ac_rmfiles=
4644 for ac_file in $ac_files
4646 case $ac_file in
4647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4648 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4649 esac
4650 done
4651 rm -f $ac_rmfiles
4653 if { { ac_try="$ac_link_default"
4654 case "(($ac_try" in
4655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4656 *) ac_try_echo=$ac_try;;
4657 esac
4658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4659 $as_echo "$ac_try_echo"; } >&5
4660 (eval "$ac_link_default") 2>&5
4661 ac_status=$?
4662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4663 test $ac_status = 0; }; then :
4664 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4665 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4666 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4667 # so that the user can short-circuit this test for compilers unknown to
4668 # Autoconf.
4669 for ac_file in $ac_files ''
4671 test -f "$ac_file" || continue
4672 case $ac_file in
4673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4675 [ab].out )
4676 # We found the default executable, but exeext='' is most
4677 # certainly right.
4678 break;;
4679 *.* )
4680 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4681 then :; else
4682 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4684 # We set ac_cv_exeext here because the later test for it is not
4685 # safe: cross compilers may not add the suffix if given an `-o'
4686 # argument, so we may need to know it at that point already.
4687 # Even if this section looks crufty: it has the advantage of
4688 # actually working.
4689 break;;
4691 break;;
4692 esac
4693 done
4694 test "$ac_cv_exeext" = no && ac_cv_exeext=
4696 else
4697 ac_file=''
4699 if test -z "$ac_file"; then :
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4702 $as_echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4707 as_fn_error 77 "C compiler cannot create executables
4708 See \`config.log' for more details" "$LINENO" 5; }
4709 else
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4711 $as_echo "yes" >&6; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4714 $as_echo_n "checking for C compiler default output file name... " >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4716 $as_echo "$ac_file" >&6; }
4717 ac_exeext=$ac_cv_exeext
4719 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4720 ac_clean_files=$ac_clean_files_save
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4722 $as_echo_n "checking for suffix of executables... " >&6; }
4723 if { { ac_try="$ac_link"
4724 case "(($ac_try" in
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4727 esac
4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4729 $as_echo "$ac_try_echo"; } >&5
4730 (eval "$ac_link") 2>&5
4731 ac_status=$?
4732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4733 test $ac_status = 0; }; then :
4734 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4735 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4736 # work properly (i.e., refer to `conftest.exe'), while it won't with
4737 # `rm'.
4738 for ac_file in conftest.exe conftest conftest.*; do
4739 test -f "$ac_file" || continue
4740 case $ac_file in
4741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4742 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4743 break;;
4744 * ) break;;
4745 esac
4746 done
4747 else
4748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4750 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4751 See \`config.log' for more details" "$LINENO" 5; }
4753 rm -f conftest conftest$ac_cv_exeext
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4755 $as_echo "$ac_cv_exeext" >&6; }
4757 rm -f conftest.$ac_ext
4758 EXEEXT=$ac_cv_exeext
4759 ac_exeext=$EXEEXT
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <stdio.h>
4764 main ()
4766 FILE *f = fopen ("conftest.out", "w");
4767 return ferror (f) || fclose (f) != 0;
4770 return 0;
4772 _ACEOF
4773 ac_clean_files="$ac_clean_files conftest.out"
4774 # Check that the compiler produces executables we can run. If not, either
4775 # the compiler is broken, or we cross compile.
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4777 $as_echo_n "checking whether we are cross compiling... " >&6; }
4778 if test "$cross_compiling" != yes; then
4779 { { ac_try="$ac_link"
4780 case "(($ac_try" in
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4783 esac
4784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4785 $as_echo "$ac_try_echo"; } >&5
4786 (eval "$ac_link") 2>&5
4787 ac_status=$?
4788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789 test $ac_status = 0; }
4790 if { ac_try='./conftest$ac_cv_exeext'
4791 { { case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_try") 2>&5
4798 ac_status=$?
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }; }; then
4801 cross_compiling=no
4802 else
4803 if test "$cross_compiling" = maybe; then
4804 cross_compiling=yes
4805 else
4806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4808 as_fn_error $? "cannot run C compiled programs.
4809 If you meant to cross compile, use \`--host'.
4810 See \`config.log' for more details" "$LINENO" 5; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4815 $as_echo "$cross_compiling" >&6; }
4817 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4818 ac_clean_files=$ac_clean_files_save
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4820 $as_echo_n "checking for suffix of object files... " >&6; }
4821 if ${ac_cv_objext+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4828 main ()
4832 return 0;
4834 _ACEOF
4835 rm -f conftest.o conftest.obj
4836 if { { ac_try="$ac_compile"
4837 case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4842 $as_echo "$ac_try_echo"; } >&5
4843 (eval "$ac_compile") 2>&5
4844 ac_status=$?
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }; then :
4847 for ac_file in conftest.o conftest.obj conftest.*; do
4848 test -f "$ac_file" || continue;
4849 case $ac_file in
4850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4851 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4852 break;;
4853 esac
4854 done
4855 else
4856 $as_echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4861 as_fn_error $? "cannot compute suffix of object files: cannot compile
4862 See \`config.log' for more details" "$LINENO" 5; }
4864 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4867 $as_echo "$ac_cv_objext" >&6; }
4868 OBJEXT=$ac_cv_objext
4869 ac_objext=$OBJEXT
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4871 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4872 if ${ac_cv_c_compiler_gnu+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4881 #ifndef __GNUC__
4882 choke me
4883 #endif
4886 return 0;
4888 _ACEOF
4889 if ac_fn_c_try_compile "$LINENO"; then :
4890 ac_compiler_gnu=yes
4891 else
4892 ac_compiler_gnu=no
4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4899 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4900 if test $ac_compiler_gnu = yes; then
4901 GCC=yes
4902 else
4903 GCC=
4905 ac_test_CFLAGS=${CFLAGS+set}
4906 ac_save_CFLAGS=$CFLAGS
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4908 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4909 if ${ac_cv_prog_cc_g+:} false; then :
4910 $as_echo_n "(cached) " >&6
4911 else
4912 ac_save_c_werror_flag=$ac_c_werror_flag
4913 ac_c_werror_flag=yes
4914 ac_cv_prog_cc_g=no
4915 CFLAGS="-g"
4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917 /* end confdefs.h. */
4920 main ()
4924 return 0;
4926 _ACEOF
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_cv_prog_cc_g=yes
4929 else
4930 CFLAGS=""
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4939 return 0;
4941 _ACEOF
4942 if ac_fn_c_try_compile "$LINENO"; then :
4944 else
4945 ac_c_werror_flag=$ac_save_c_werror_flag
4946 CFLAGS="-g"
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4951 main ()
4955 return 0;
4957 _ACEOF
4958 if ac_fn_c_try_compile "$LINENO"; then :
4959 ac_cv_prog_cc_g=yes
4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966 ac_c_werror_flag=$ac_save_c_werror_flag
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4969 $as_echo "$ac_cv_prog_cc_g" >&6; }
4970 if test "$ac_test_CFLAGS" = set; then
4971 CFLAGS=$ac_save_CFLAGS
4972 elif test $ac_cv_prog_cc_g = yes; then
4973 if test "$GCC" = yes; then
4974 CFLAGS="-g -O2"
4975 else
4976 CFLAGS="-g"
4978 else
4979 if test "$GCC" = yes; then
4980 CFLAGS="-O2"
4981 else
4982 CFLAGS=
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4987 if ${ac_cv_prog_cc_c89+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 ac_cv_prog_cc_c89=no
4991 ac_save_CC=$CC
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4994 #include <stdarg.h>
4995 #include <stdio.h>
4996 struct stat;
4997 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4998 struct buf { int x; };
4999 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5000 static char *e (p, i)
5001 char **p;
5002 int i;
5004 return p[i];
5006 static char *f (char * (*g) (char **, int), char **p, ...)
5008 char *s;
5009 va_list v;
5010 va_start (v,p);
5011 s = g (p, va_arg (v,int));
5012 va_end (v);
5013 return s;
5016 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5017 function prototypes and stuff, but not '\xHH' hex character constants.
5018 These don't provoke an error unfortunately, instead are silently treated
5019 as 'x'. The following induces an error, until -std is added to get
5020 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5021 array size at least. It's necessary to write '\x00'==0 to get something
5022 that's true only with -std. */
5023 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5025 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5026 inside strings and character constants. */
5027 #define FOO(x) 'x'
5028 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5030 int test (int i, double x);
5031 struct s1 {int (*f) (int a);};
5032 struct s2 {int (*f) (double a);};
5033 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5034 int argc;
5035 char **argv;
5037 main ()
5039 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5041 return 0;
5043 _ACEOF
5044 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5045 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5047 CC="$ac_save_CC $ac_arg"
5048 if ac_fn_c_try_compile "$LINENO"; then :
5049 ac_cv_prog_cc_c89=$ac_arg
5051 rm -f core conftest.err conftest.$ac_objext
5052 test "x$ac_cv_prog_cc_c89" != "xno" && break
5053 done
5054 rm -f conftest.$ac_ext
5055 CC=$ac_save_CC
5058 # AC_CACHE_VAL
5059 case "x$ac_cv_prog_cc_c89" in
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5062 $as_echo "none needed" >&6; } ;;
5063 xno)
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5065 $as_echo "unsupported" >&6; } ;;
5067 CC="$CC $ac_cv_prog_cc_c89"
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5069 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5070 esac
5071 if test "x$ac_cv_prog_cc_c89" != xno; then :
5075 ac_ext=c
5076 ac_cpp='$CPP $CPPFLAGS'
5077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5081 ac_ext=cpp
5082 ac_cpp='$CXXCPP $CPPFLAGS'
5083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5086 if test -z "$CXX"; then
5087 if test -n "$CCC"; then
5088 CXX=$CCC
5089 else
5090 if test -n "$ac_tool_prefix"; then
5091 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_CXX+:} false; then :
5098 $as_echo_n "(cached) " >&6
5099 else
5100 if test -n "$CXX"; then
5101 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5102 else
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 for as_dir in $PATH
5106 IFS=$as_save_IFS
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 break 2
5114 done
5115 done
5116 IFS=$as_save_IFS
5120 CXX=$ac_cv_prog_CXX
5121 if test -n "$CXX"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5123 $as_echo "$CXX" >&6; }
5124 else
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5130 test -n "$CXX" && break
5131 done
5133 if test -z "$CXX"; then
5134 ac_ct_CXX=$CXX
5135 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5137 # Extract the first word of "$ac_prog", so it can be a program name with args.
5138 set dummy $ac_prog; ac_word=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5142 $as_echo_n "(cached) " >&6
5143 else
5144 if test -n "$ac_ct_CXX"; then
5145 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5146 else
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148 for as_dir in $PATH
5150 IFS=$as_save_IFS
5151 test -z "$as_dir" && as_dir=.
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5154 ac_cv_prog_ac_ct_CXX="$ac_prog"
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 break 2
5158 done
5159 done
5160 IFS=$as_save_IFS
5164 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5165 if test -n "$ac_ct_CXX"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5167 $as_echo "$ac_ct_CXX" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5174 test -n "$ac_ct_CXX" && break
5175 done
5177 if test "x$ac_ct_CXX" = x; then
5178 CXX="g++"
5179 else
5180 case $cross_compiling:$ac_tool_warned in
5181 yes:)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5184 ac_tool_warned=yes ;;
5185 esac
5186 CXX=$ac_ct_CXX
5192 # Provide some information about the compiler.
5193 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5194 set X $ac_compile
5195 ac_compiler=$2
5196 for ac_option in --version -v -V -qversion; do
5197 { { ac_try="$ac_compiler $ac_option >&5"
5198 case "(($ac_try" in
5199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5200 *) ac_try_echo=$ac_try;;
5201 esac
5202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5203 $as_echo "$ac_try_echo"; } >&5
5204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5205 ac_status=$?
5206 if test -s conftest.err; then
5207 sed '10a\
5208 ... rest of stderr output deleted ...
5209 10q' conftest.err >conftest.er1
5210 cat conftest.er1 >&5
5212 rm -f conftest.er1 conftest.err
5213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5214 test $ac_status = 0; }
5215 done
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5218 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5219 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5226 main ()
5228 #ifndef __GNUC__
5229 choke me
5230 #endif
5233 return 0;
5235 _ACEOF
5236 if ac_fn_cxx_try_compile "$LINENO"; then :
5237 ac_compiler_gnu=yes
5238 else
5239 ac_compiler_gnu=no
5241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5242 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5246 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5247 if test $ac_compiler_gnu = yes; then
5248 GXX=yes
5249 else
5250 GXX=
5252 ac_test_CXXFLAGS=${CXXFLAGS+set}
5253 ac_save_CXXFLAGS=$CXXFLAGS
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5255 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5256 if ${ac_cv_prog_cxx_g+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5260 ac_cxx_werror_flag=yes
5261 ac_cv_prog_cxx_g=no
5262 CXXFLAGS="-g"
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5267 main ()
5271 return 0;
5273 _ACEOF
5274 if ac_fn_cxx_try_compile "$LINENO"; then :
5275 ac_cv_prog_cxx_g=yes
5276 else
5277 CXXFLAGS=""
5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5282 main ()
5286 return 0;
5288 _ACEOF
5289 if ac_fn_cxx_try_compile "$LINENO"; then :
5291 else
5292 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5293 CXXFLAGS="-g"
5294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h. */
5298 main ()
5302 return 0;
5304 _ACEOF
5305 if ac_fn_cxx_try_compile "$LINENO"; then :
5306 ac_cv_prog_cxx_g=yes
5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5313 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5316 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5317 if test "$ac_test_CXXFLAGS" = set; then
5318 CXXFLAGS=$ac_save_CXXFLAGS
5319 elif test $ac_cv_prog_cxx_g = yes; then
5320 if test "$GXX" = yes; then
5321 CXXFLAGS="-g -O2"
5322 else
5323 CXXFLAGS="-g"
5325 else
5326 if test "$GXX" = yes; then
5327 CXXFLAGS="-O2"
5328 else
5329 CXXFLAGS=
5332 ac_ext=c
5333 ac_cpp='$CPP $CPPFLAGS'
5334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5338 if test -n "$ac_tool_prefix"; then
5339 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5340 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_CPPBIN+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 if test -n "$CPPBIN"; then
5347 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5362 IFS=$as_save_IFS
5366 CPPBIN=$ac_cv_prog_CPPBIN
5367 if test -n "$CPPBIN"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5369 $as_echo "$CPPBIN" >&6; }
5370 else
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 if test -z "$ac_cv_prog_CPPBIN"; then
5378 ac_ct_CPPBIN=$CPPBIN
5379 # Extract the first word of "cpp", so it can be a program name with args.
5380 set dummy cpp; ac_word=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5384 $as_echo_n "(cached) " >&6
5385 else
5386 if test -n "$ac_ct_CPPBIN"; then
5387 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5388 else
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_ac_ct_CPPBIN="cpp"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 break 2
5400 done
5401 done
5402 IFS=$as_save_IFS
5406 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5407 if test -n "$ac_ct_CPPBIN"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5409 $as_echo "$ac_ct_CPPBIN" >&6; }
5410 else
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5415 if test "x$ac_ct_CPPBIN" = x; then
5416 CPPBIN="cpp"
5417 else
5418 case $cross_compiling:$ac_tool_warned in
5419 yes:)
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5422 ac_tool_warned=yes ;;
5423 esac
5424 CPPBIN=$ac_ct_CPPBIN
5426 else
5427 CPPBIN="$ac_cv_prog_CPPBIN"
5431 cat >>confdefs.h <<_ACEOF
5432 #define EXEEXT "$ac_exeext"
5433 _ACEOF
5435 if test -n "$ac_tool_prefix"; then
5436 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5437 set dummy ${ac_tool_prefix}ld; ac_word=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_LD+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 if test -n "$LD"; then
5444 ac_cv_prog_LD="$LD" # Let the user override the test.
5445 else
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in $PATH
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_LD="${ac_tool_prefix}ld"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 break 2
5457 done
5458 done
5459 IFS=$as_save_IFS
5463 LD=$ac_cv_prog_LD
5464 if test -n "$LD"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5466 $as_echo "$LD" >&6; }
5467 else
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5474 if test -z "$ac_cv_prog_LD"; then
5475 ac_ct_LD=$LD
5476 # Extract the first word of "ld", so it can be a program name with args.
5477 set dummy ld; ac_word=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5481 $as_echo_n "(cached) " >&6
5482 else
5483 if test -n "$ac_ct_LD"; then
5484 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5485 else
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 for as_dir in $PATH
5489 IFS=$as_save_IFS
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_ac_ct_LD="ld"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 break 2
5497 done
5498 done
5499 IFS=$as_save_IFS
5503 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5504 if test -n "$ac_ct_LD"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5506 $as_echo "$ac_ct_LD" >&6; }
5507 else
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5512 if test "x$ac_ct_LD" = x; then
5513 LD=""
5514 else
5515 case $cross_compiling:$ac_tool_warned in
5516 yes:)
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5519 ac_tool_warned=yes ;;
5520 esac
5521 LD=$ac_ct_LD
5523 else
5524 LD="$ac_cv_prog_LD"
5528 case $host in
5529 *-darwin*)
5530 with_fontconfig=${with_fontconfig:-no}
5532 *-mingw32*|*-cygwin*)
5533 enable_win16=${enable_win16:-no}
5534 with_mingw=${with_mingw:-no}
5535 CFLAGS="$CFLAGS -D_WIN32"
5537 esac
5539 case $host in
5540 x86_64*|amd64*)
5541 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5542 then
5543 CC="$CC -m32"
5544 CXX="$CXX -m32"
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5547 $as_echo_n "checking whether $CC works... " >&6; }
5548 if ${wine_cv_cc_m32+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5555 main ()
5559 return 0;
5561 _ACEOF
5562 if ac_fn_c_try_link "$LINENO"; then :
5563 wine_cv_cc_m32=yes
5564 else
5565 wine_cv_cc_m32=no
5567 rm -f core conftest.err conftest.$ac_objext \
5568 conftest$ac_exeext conftest.$ac_ext
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5571 $as_echo "$wine_cv_cc_m32" >&6; }
5572 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
5573 host_cpu="i386"
5574 notice_platform="32-bit "
5575 TARGETFLAGS="-m32"
5577 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5578 export PKG_CONFIG_PATH
5579 enable_win16=${enable_win16:-yes}
5580 else
5581 if test "x${GCC}" = "xyes"
5582 then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5584 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5585 if ${wine_cv_builtin_ms_va_list+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590 #include <stdarg.h>
5592 main ()
5594 void func(__builtin_ms_va_list *args);
5596 return 0;
5598 _ACEOF
5599 if ac_fn_c_try_compile "$LINENO"; then :
5600 wine_cv_builtin_ms_va_list=yes
5601 else
5602 wine_cv_builtin_ms_va_list=no
5604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5607 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5608 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
5610 CC="$CC -m64"
5611 CXX="$CXX -m64"
5612 host_cpu="x86_64"
5613 notice_platform="64-bit "
5614 TARGETFLAGS="-m64"
5618 arm*)
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5620 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5621 if ${wine_cv_thumb+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626 int ac_test(int i) { return i; }
5628 main ()
5630 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5632 return 0;
5634 _ACEOF
5635 if ac_fn_c_try_link "$LINENO"; then :
5636 wine_cv_thumb=yes
5637 else
5638 wine_cv_thumb=no
5640 rm -f core conftest.err conftest.$ac_objext \
5641 conftest$ac_exeext conftest.$ac_ext
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5644 $as_echo "$wine_cv_thumb" >&6; }
5645 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5646 case $with_float_abi in
5647 soft|softfp|hard)
5648 float_abi=$with_float_abi ;;
5650 case $host_os in
5651 *eabihf)
5652 float_abi=hard ;;
5654 float_abi=softfp
5655 saved_CFLAGS=$CFLAGS
5656 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5658 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5659 if ${wine_cv_float_abi+:} false; then :
5660 $as_echo_n "(cached) " >&6
5661 else
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5666 main ()
5668 asm("vmrs r2,fpscr");
5670 return 0;
5672 _ACEOF
5673 if ac_fn_c_try_link "$LINENO"; then :
5674 wine_cv_float_abi=yes
5675 else
5676 wine_cv_float_abi=no
5678 rm -f core conftest.err conftest.$ac_objext \
5679 conftest$ac_exeext conftest.$ac_ext
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5682 $as_echo "$wine_cv_float_abi" >&6; }
5683 if test $wine_cv_float_abi = no
5684 then
5685 float_abi=soft
5686 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5688 CFLAGS=$saved_CFLAGS
5689 esac
5691 esac
5692 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5693 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5696 aarch64*)
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5698 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5699 if ${wine_cv_builtin_ms_va_list+:} false; then :
5700 $as_echo_n "(cached) " >&6
5701 else
5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5704 #include <stdarg.h>
5706 main ()
5708 void func(__builtin_ms_va_list *args);
5710 return 0;
5712 _ACEOF
5713 if ac_fn_c_try_compile "$LINENO"; then :
5714 wine_cv_builtin_ms_va_list=yes
5715 else
5716 wine_cv_builtin_ms_va_list=no
5718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5721 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5722 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5724 i[3456789]86*)
5725 enable_win16=${enable_win16:-yes}
5727 esac
5729 enable_win16=${enable_win16:-no}
5730 enable_win64=${enable_win64:-no}
5732 enable_winetest=${enable_winetest:-$enable_tests}
5734 if test "x$enable_win64" = "xyes"
5735 then
5736 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5737 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5738 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5742 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5743 if ${wine_cv_toolsdir+:} false; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 wine_cv_toolsdir="$with_wine_tools"
5747 if test -z "$with_wine_tools"; then
5748 if test "$cross_compiling" = "yes"; then
5749 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5750 elif test -n "$with_wine64"; then
5751 wine_cv_toolsdir="$with_wine64"
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5756 $as_echo "$wine_cv_toolsdir" >&6; }
5757 if test -z "$wine_cv_toolsdir"; then
5758 wine_makedep=tools/makedep
5759 TOOLSDIR="\$(top_builddir)"
5761 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5762 wine_makedep=$wine_cv_toolsdir/tools/makedep
5763 case "$wine_cv_toolsdir" in
5764 /*) TOOLSDIR=$wine_cv_toolsdir
5766 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5768 esac
5769 enable_tools=${enable_tools:-no}
5770 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5771 else
5772 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5774 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5775 then
5776 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5780 for ac_prog in flex
5782 # Extract the first word of "$ac_prog", so it can be a program name with args.
5783 set dummy $ac_prog; ac_word=$2
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 $as_echo_n "checking for $ac_word... " >&6; }
5786 if ${ac_cv_prog_FLEX+:} false; then :
5787 $as_echo_n "(cached) " >&6
5788 else
5789 if test -n "$FLEX"; then
5790 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5791 else
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793 for as_dir in $PATH
5795 IFS=$as_save_IFS
5796 test -z "$as_dir" && as_dir=.
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5799 ac_cv_prog_FLEX="$ac_prog"
5800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 break 2
5803 done
5804 done
5805 IFS=$as_save_IFS
5809 FLEX=$ac_cv_prog_FLEX
5810 if test -n "$FLEX"; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5812 $as_echo "$FLEX" >&6; }
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5815 $as_echo "no" >&6; }
5819 test -n "$FLEX" && break
5820 done
5821 test -n "$FLEX" || FLEX="none"
5823 if test "$FLEX" = "none"
5824 then
5825 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5828 $as_echo_n "checking whether flex is recent enough... " >&6; }
5829 if ${wine_cv_recent_flex+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 cat >conftest.l <<EOF
5833 %top{
5834 #include "prediluvian.h"
5838 if $FLEX -t conftest.l >/dev/null 2>&5
5839 then
5840 wine_cv_recent_flex=yes
5841 else
5842 wine_cv_recent_flex=no
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5846 $as_echo "$wine_cv_recent_flex" >&6; }
5847 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
5849 for ac_prog in bison
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_BISON+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$BISON"; then
5859 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_BISON="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 BISON=$ac_cv_prog_BISON
5879 if test -n "$BISON"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5881 $as_echo "$BISON" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$BISON" && break
5889 done
5890 test -n "$BISON" || BISON="none"
5892 if test "$BISON" = "none"
5893 then
5894 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5897 $as_echo_n "checking whether bison is recent enough... " >&6; }
5898 if ${wine_cv_recent_bison+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 cat >conftest.y <<EOF
5902 %define parse.error verbose
5904 empty: ;
5906 if $BISON conftest.y >/dev/null 2>&5
5907 then
5908 wine_cv_recent_bison=yes
5909 else
5910 wine_cv_recent_bison=no
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5914 $as_echo "$wine_cv_recent_bison" >&6; }
5915 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
5917 if test -n "$ac_tool_prefix"; then
5918 for ac_prog in ar gar
5920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_AR+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 if test -n "$AR"; then
5928 ac_cv_prog_AR="$AR" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 break 2
5941 done
5942 done
5943 IFS=$as_save_IFS
5947 AR=$ac_cv_prog_AR
5948 if test -n "$AR"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5950 $as_echo "$AR" >&6; }
5951 else
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5957 test -n "$AR" && break
5958 done
5960 if test -z "$AR"; then
5961 ac_ct_AR=$AR
5962 for ac_prog in ar gar
5964 # Extract the first word of "$ac_prog", so it can be a program name with args.
5965 set dummy $ac_prog; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 if test -n "$ac_ct_AR"; then
5972 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_ac_ct_AR="$ac_prog"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5992 if test -n "$ac_ct_AR"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5994 $as_echo "$ac_ct_AR" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6001 test -n "$ac_ct_AR" && break
6002 done
6004 if test "x$ac_ct_AR" = x; then
6005 AR="ar"
6006 else
6007 case $cross_compiling:$ac_tool_warned in
6008 yes:)
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6011 ac_tool_warned=yes ;;
6012 esac
6013 AR=$ac_ct_AR
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}strip; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_STRIP+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$STRIP"; then
6026 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 STRIP=$ac_cv_prog_STRIP
6046 if test -n "$STRIP"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6048 $as_echo "$STRIP" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6056 if test -z "$ac_cv_prog_STRIP"; then
6057 ac_ct_STRIP=$STRIP
6058 # Extract the first word of "strip", so it can be a program name with args.
6059 set dummy strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$ac_ct_STRIP"; then
6066 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_ac_ct_STRIP="strip"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6086 if test -n "$ac_ct_STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6088 $as_echo "$ac_ct_STRIP" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6094 if test "x$ac_ct_STRIP" = x; then
6095 STRIP="strip"
6096 else
6097 case $cross_compiling:$ac_tool_warned in
6098 yes:)
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101 ac_tool_warned=yes ;;
6102 esac
6103 STRIP=$ac_ct_STRIP
6105 else
6106 STRIP="$ac_cv_prog_STRIP"
6109 if test -n "$ac_tool_prefix"; then
6110 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6111 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 $as_echo_n "checking for $ac_word... " >&6; }
6114 if ${ac_cv_prog_RANLIB+:} false; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 if test -n "$RANLIB"; then
6118 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 RANLIB=$ac_cv_prog_RANLIB
6138 if test -n "$RANLIB"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6140 $as_echo "$RANLIB" >&6; }
6141 else
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6148 if test -z "$ac_cv_prog_RANLIB"; then
6149 ac_ct_RANLIB=$RANLIB
6150 # Extract the first word of "ranlib", so it can be a program name with args.
6151 set dummy ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$ac_ct_RANLIB"; then
6158 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_ac_ct_RANLIB="ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6178 if test -n "$ac_ct_RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6180 $as_echo "$ac_ct_RANLIB" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6186 if test "x$ac_ct_RANLIB" = x; then
6187 RANLIB=":"
6188 else
6189 case $cross_compiling:$ac_tool_warned in
6190 yes:)
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6193 ac_tool_warned=yes ;;
6194 esac
6195 RANLIB=$ac_ct_RANLIB
6197 else
6198 RANLIB="$ac_cv_prog_RANLIB"
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6202 $as_echo_n "checking whether ln -s works... " >&6; }
6203 LN_S=$as_ln_s
6204 if test "$LN_S" = "ln -s"; then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6206 $as_echo "yes" >&6; }
6207 else
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6209 $as_echo "no, using $LN_S" >&6; }
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6213 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6214 if ${ac_cv_path_GREP+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -z "$GREP"; then
6218 ac_path_GREP_found=false
6219 # Loop through the user's path and test for each of PROGNAME-LIST
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_prog in grep ggrep; do
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6228 as_fn_executable_p "$ac_path_GREP" || continue
6229 # Check for GNU ac_path_GREP and select it if it is found.
6230 # Check for GNU $ac_path_GREP
6231 case `"$ac_path_GREP" --version 2>&1` in
6232 *GNU*)
6233 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6235 ac_count=0
6236 $as_echo_n 0123456789 >"conftest.in"
6237 while :
6239 cat "conftest.in" "conftest.in" >"conftest.tmp"
6240 mv "conftest.tmp" "conftest.in"
6241 cp "conftest.in" "conftest.nl"
6242 $as_echo 'GREP' >> "conftest.nl"
6243 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6245 as_fn_arith $ac_count + 1 && ac_count=$as_val
6246 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6247 # Best one so far, save it but keep looking for a better one
6248 ac_cv_path_GREP="$ac_path_GREP"
6249 ac_path_GREP_max=$ac_count
6251 # 10*(2^10) chars as input seems more than enough
6252 test $ac_count -gt 10 && break
6253 done
6254 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6255 esac
6257 $ac_path_GREP_found && break 3
6258 done
6259 done
6260 done
6261 IFS=$as_save_IFS
6262 if test -z "$ac_cv_path_GREP"; then
6263 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6265 else
6266 ac_cv_path_GREP=$GREP
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6271 $as_echo "$ac_cv_path_GREP" >&6; }
6272 GREP="$ac_cv_path_GREP"
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6276 $as_echo_n "checking for egrep... " >&6; }
6277 if ${ac_cv_path_EGREP+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6281 then ac_cv_path_EGREP="$GREP -E"
6282 else
6283 if test -z "$EGREP"; then
6284 ac_path_EGREP_found=false
6285 # Loop through the user's path and test for each of PROGNAME-LIST
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6289 IFS=$as_save_IFS
6290 test -z "$as_dir" && as_dir=.
6291 for ac_prog in egrep; do
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6294 as_fn_executable_p "$ac_path_EGREP" || continue
6295 # Check for GNU ac_path_EGREP and select it if it is found.
6296 # Check for GNU $ac_path_EGREP
6297 case `"$ac_path_EGREP" --version 2>&1` in
6298 *GNU*)
6299 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6301 ac_count=0
6302 $as_echo_n 0123456789 >"conftest.in"
6303 while :
6305 cat "conftest.in" "conftest.in" >"conftest.tmp"
6306 mv "conftest.tmp" "conftest.in"
6307 cp "conftest.in" "conftest.nl"
6308 $as_echo 'EGREP' >> "conftest.nl"
6309 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6311 as_fn_arith $ac_count + 1 && ac_count=$as_val
6312 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6313 # Best one so far, save it but keep looking for a better one
6314 ac_cv_path_EGREP="$ac_path_EGREP"
6315 ac_path_EGREP_max=$ac_count
6317 # 10*(2^10) chars as input seems more than enough
6318 test $ac_count -gt 10 && break
6319 done
6320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6321 esac
6323 $ac_path_EGREP_found && break 3
6324 done
6325 done
6326 done
6327 IFS=$as_save_IFS
6328 if test -z "$ac_cv_path_EGREP"; then
6329 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6331 else
6332 ac_cv_path_EGREP=$EGREP
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6338 $as_echo "$ac_cv_path_EGREP" >&6; }
6339 EGREP="$ac_cv_path_EGREP"
6342 # Extract the first word of "ldconfig", so it can be a program name with args.
6343 set dummy ldconfig; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if ${ac_cv_path_LDCONFIG+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 case $LDCONFIG in
6350 [\\/]* | ?:[\\/]*)
6351 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 for as_dir in /sbin /usr/sbin $PATH
6357 IFS=$as_save_IFS
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6361 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 break 2
6365 done
6366 done
6367 IFS=$as_save_IFS
6369 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6371 esac
6373 LDCONFIG=$ac_cv_path_LDCONFIG
6374 if test -n "$LDCONFIG"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6376 $as_echo "$LDCONFIG" >&6; }
6377 else
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6383 for ac_prog in msgfmt
6385 # Extract the first word of "$ac_prog", so it can be a program name with args.
6386 set dummy $ac_prog; ac_word=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6388 $as_echo_n "checking for $ac_word... " >&6; }
6389 if ${ac_cv_prog_MSGFMT+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 if test -n "$MSGFMT"; then
6393 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6394 else
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_prog_MSGFMT="$ac_prog"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 break 2
6406 done
6407 done
6408 IFS=$as_save_IFS
6412 MSGFMT=$ac_cv_prog_MSGFMT
6413 if test -n "$MSGFMT"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6415 $as_echo "$MSGFMT" >&6; }
6416 else
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6422 test -n "$MSGFMT" && break
6423 done
6424 test -n "$MSGFMT" || MSGFMT="false"
6426 if ${ac_tool_prefix+:} false; then :
6427 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 if test -n "$PKG_CONFIG"; then
6435 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 break 2
6448 done
6449 done
6450 IFS=$as_save_IFS
6454 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6455 if test -n "$PKG_CONFIG"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6457 $as_echo "$PKG_CONFIG" >&6; }
6458 else
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6465 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6466 if test "x$cross_compiling" = xyes; then :
6468 else
6469 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6470 # Extract the first word of "pkg-config", so it can be a program name with args.
6471 set dummy pkg-config; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6475 $as_echo_n "(cached) " >&6
6476 else
6477 if test -n "$PKG_CONFIG"; then
6478 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_PKG_CONFIG="pkg-config"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6491 done
6492 done
6493 IFS=$as_save_IFS
6497 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6498 if test -n "$PKG_CONFIG"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6500 $as_echo "$PKG_CONFIG" >&6; }
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6508 else
6509 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6512 if test "x$enable_maintainer_mode" != "xyes"
6513 then
6514 FONTFORGE=""
6515 RSVG=""
6516 CONVERT=""
6517 ICOTOOL=""
6518 else
6519 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6520 for ac_prog in fontforge
6522 # Extract the first word of "$ac_prog", so it can be a program name with args.
6523 set dummy $ac_prog; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_prog_FONTFORGE+:} false; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$FONTFORGE"; then
6530 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_FONTFORGE="$ac_prog"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 FONTFORGE=$ac_cv_prog_FONTFORGE
6550 if test -n "$FONTFORGE"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6552 $as_echo "$FONTFORGE" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6559 test -n "$FONTFORGE" && break
6560 done
6561 test -n "$FONTFORGE" || FONTFORGE="false"
6563 for ac_prog in rsvg-convert rsvg
6565 # Extract the first word of "$ac_prog", so it can be a program name with args.
6566 set dummy $ac_prog; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if ${ac_cv_prog_RSVG+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 if test -n "$RSVG"; then
6573 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6578 IFS=$as_save_IFS
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6582 ac_cv_prog_RSVG="$ac_prog"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 break 2
6586 done
6587 done
6588 IFS=$as_save_IFS
6592 RSVG=$ac_cv_prog_RSVG
6593 if test -n "$RSVG"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6595 $as_echo "$RSVG" >&6; }
6596 else
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6602 test -n "$RSVG" && break
6603 done
6604 test -n "$RSVG" || RSVG="false"
6606 for ac_prog in convert
6608 # Extract the first word of "$ac_prog", so it can be a program name with args.
6609 set dummy $ac_prog; ac_word=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 $as_echo_n "checking for $ac_word... " >&6; }
6612 if ${ac_cv_prog_CONVERT+:} false; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 if test -n "$CONVERT"; then
6616 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6617 else
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6625 ac_cv_prog_CONVERT="$ac_prog"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 break 2
6629 done
6630 done
6631 IFS=$as_save_IFS
6635 CONVERT=$ac_cv_prog_CONVERT
6636 if test -n "$CONVERT"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6638 $as_echo "$CONVERT" >&6; }
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6645 test -n "$CONVERT" && break
6646 done
6647 test -n "$CONVERT" || CONVERT="false"
6649 for ac_prog in icotool
6651 # Extract the first word of "$ac_prog", so it can be a program name with args.
6652 set dummy $ac_prog; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_ICOTOOL+:} false; then :
6656 $as_echo_n "(cached) " >&6
6657 else
6658 if test -n "$ICOTOOL"; then
6659 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6664 IFS=$as_save_IFS
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668 ac_cv_prog_ICOTOOL="$ac_prog"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 break 2
6672 done
6673 done
6674 IFS=$as_save_IFS
6678 ICOTOOL=$ac_cv_prog_ICOTOOL
6679 if test -n "$ICOTOOL"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6681 $as_echo "$ICOTOOL" >&6; }
6682 else
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6688 test -n "$ICOTOOL" && break
6689 done
6690 test -n "$ICOTOOL" || ICOTOOL="false"
6692 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6693 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6695 if test "$CONVERT" = false
6696 then
6697 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6700 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6701 convert_version=`convert --version | head -n1`
6702 if test "x$convert_version" != "x"
6703 then
6704 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6705 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6706 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6707 then
6708 CONVERT=false
6711 if test "$CONVERT" = false
6712 then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6714 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6715 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6718 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6722 if test "$ICOTOOL" = false
6723 then
6724 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6725 else
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6727 $as_echo_n "checking for recent enough icotool... " >&6; }
6728 icotool_version=`icotool --version | head -n1`
6729 if test "x$icotool_version" != "x"
6730 then
6731 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6732 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6733 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6734 then
6735 ICOTOOL=false
6736 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6739 if test "$ICOTOOL" = false
6740 then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6742 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6743 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6746 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6750 with_gettext=yes
6751 with_gettextpo=yes
6754 test "x$with_gettext" != xno || MSGFMT=false
6755 if test "$MSGFMT" != "false"
6756 then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6758 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6759 if ${wine_cv_msgfmt_contexts+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 cat >conftest.po <<EOF
6763 # comment
6764 msgctxt "ctxt"
6765 msgid "id"
6766 msgstr "str"
6768 if $MSGFMT -o /dev/null conftest.po 2>&5
6769 then
6770 wine_cv_msgfmt_contexts=yes
6771 else
6772 wine_cv_msgfmt_contexts=no
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6776 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6777 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6779 if test "$MSGFMT" = false; then :
6780 case "x$with_gettext" in
6781 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6782 xno) ;;
6783 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6784 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6785 esac
6786 enable_po=${enable_po:-no}
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6791 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6792 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 ac_check_lib_save_LIBS=$LIBS
6796 LIBS="-li386 $LIBS"
6797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6800 /* Override any GCC internal prototype to avoid an error.
6801 Use char because int might match the return type of a GCC
6802 builtin and then its argument prototype would still apply. */
6803 #ifdef __cplusplus
6804 extern "C"
6805 #endif
6806 char i386_set_ldt ();
6808 main ()
6810 return i386_set_ldt ();
6812 return 0;
6814 _ACEOF
6815 if ac_fn_c_try_link "$LINENO"; then :
6816 ac_cv_lib_i386_i386_set_ldt=yes
6817 else
6818 ac_cv_lib_i386_i386_set_ldt=no
6820 rm -f core conftest.err conftest.$ac_objext \
6821 conftest$ac_exeext conftest.$ac_ext
6822 LIBS=$ac_check_lib_save_LIBS
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6825 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6826 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_LIBI386 1
6829 _ACEOF
6831 LIBS="-li386 $LIBS"
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6836 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6837 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6838 $as_echo_n "(cached) " >&6
6839 else
6840 ac_check_lib_save_LIBS=$LIBS
6841 LIBS="-lossaudio $LIBS"
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6845 /* Override any GCC internal prototype to avoid an error.
6846 Use char because int might match the return type of a GCC
6847 builtin and then its argument prototype would still apply. */
6848 #ifdef __cplusplus
6849 extern "C"
6850 #endif
6851 char _oss_ioctl ();
6853 main ()
6855 return _oss_ioctl ();
6857 return 0;
6859 _ACEOF
6860 if ac_fn_c_try_link "$LINENO"; then :
6861 ac_cv_lib_ossaudio__oss_ioctl=yes
6862 else
6863 ac_cv_lib_ossaudio__oss_ioctl=no
6865 rm -f core conftest.err conftest.$ac_objext \
6866 conftest$ac_exeext conftest.$ac_ext
6867 LIBS=$ac_check_lib_save_LIBS
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6870 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6871 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6872 cat >>confdefs.h <<_ACEOF
6873 #define HAVE_LIBOSSAUDIO 1
6874 _ACEOF
6876 LIBS="-lossaudio $LIBS"
6881 OPENGL_LIBS=""
6885 # Check whether --enable-largefile was given.
6886 if test "${enable_largefile+set}" = set; then :
6887 enableval=$enable_largefile;
6890 if test "$enable_largefile" != no; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6893 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6894 if ${ac_cv_sys_largefile_CC+:} false; then :
6895 $as_echo_n "(cached) " >&6
6896 else
6897 ac_cv_sys_largefile_CC=no
6898 if test "$GCC" != yes; then
6899 ac_save_CC=$CC
6900 while :; do
6901 # IRIX 6.2 and later do not support large files by default,
6902 # so use the C compiler's -n32 option if that helps.
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6905 #include <sys/types.h>
6906 /* Check that off_t can represent 2**63 - 1 correctly.
6907 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6908 since some C++ compilers masquerading as C compilers
6909 incorrectly reject 9223372036854775807. */
6910 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6912 && LARGE_OFF_T % 2147483647 == 1)
6913 ? 1 : -1];
6915 main ()
6919 return 0;
6921 _ACEOF
6922 if ac_fn_c_try_compile "$LINENO"; then :
6923 break
6925 rm -f core conftest.err conftest.$ac_objext
6926 CC="$CC -n32"
6927 if ac_fn_c_try_compile "$LINENO"; then :
6928 ac_cv_sys_largefile_CC=' -n32'; break
6930 rm -f core conftest.err conftest.$ac_objext
6931 break
6932 done
6933 CC=$ac_save_CC
6934 rm -f conftest.$ac_ext
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6938 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6939 if test "$ac_cv_sys_largefile_CC" != no; then
6940 CC=$CC$ac_cv_sys_largefile_CC
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6944 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6945 if ${ac_cv_sys_file_offset_bits+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 while :; do
6949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h. */
6951 #include <sys/types.h>
6952 /* Check that off_t can represent 2**63 - 1 correctly.
6953 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6954 since some C++ compilers masquerading as C compilers
6955 incorrectly reject 9223372036854775807. */
6956 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6957 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6958 && LARGE_OFF_T % 2147483647 == 1)
6959 ? 1 : -1];
6961 main ()
6965 return 0;
6967 _ACEOF
6968 if ac_fn_c_try_compile "$LINENO"; then :
6969 ac_cv_sys_file_offset_bits=no; break
6971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 #define _FILE_OFFSET_BITS 64
6975 #include <sys/types.h>
6976 /* Check that off_t can represent 2**63 - 1 correctly.
6977 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6978 since some C++ compilers masquerading as C compilers
6979 incorrectly reject 9223372036854775807. */
6980 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6982 && LARGE_OFF_T % 2147483647 == 1)
6983 ? 1 : -1];
6985 main ()
6989 return 0;
6991 _ACEOF
6992 if ac_fn_c_try_compile "$LINENO"; then :
6993 ac_cv_sys_file_offset_bits=64; break
6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6996 ac_cv_sys_file_offset_bits=unknown
6997 break
6998 done
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7001 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7002 case $ac_cv_sys_file_offset_bits in #(
7003 no | unknown) ;;
7005 cat >>confdefs.h <<_ACEOF
7006 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7007 _ACEOF
7009 esac
7010 rm -rf conftest*
7011 if test $ac_cv_sys_file_offset_bits = unknown; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7013 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7014 if ${ac_cv_sys_large_files+:} false; then :
7015 $as_echo_n "(cached) " >&6
7016 else
7017 while :; do
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 /* Check that off_t can represent 2**63 - 1 correctly.
7022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7023 since some C++ compilers masquerading as C compilers
7024 incorrectly reject 9223372036854775807. */
7025 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7027 && LARGE_OFF_T % 2147483647 == 1)
7028 ? 1 : -1];
7030 main ()
7034 return 0;
7036 _ACEOF
7037 if ac_fn_c_try_compile "$LINENO"; then :
7038 ac_cv_sys_large_files=no; break
7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7042 /* end confdefs.h. */
7043 #define _LARGE_FILES 1
7044 #include <sys/types.h>
7045 /* Check that off_t can represent 2**63 - 1 correctly.
7046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7047 since some C++ compilers masquerading as C compilers
7048 incorrectly reject 9223372036854775807. */
7049 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7051 && LARGE_OFF_T % 2147483647 == 1)
7052 ? 1 : -1];
7054 main ()
7058 return 0;
7060 _ACEOF
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062 ac_cv_sys_large_files=1; break
7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7065 ac_cv_sys_large_files=unknown
7066 break
7067 done
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7070 $as_echo "$ac_cv_sys_large_files" >&6; }
7071 case $ac_cv_sys_large_files in #(
7072 no | unknown) ;;
7074 cat >>confdefs.h <<_ACEOF
7075 #define _LARGE_FILES $ac_cv_sys_large_files
7076 _ACEOF
7078 esac
7079 rm -rf conftest*
7086 ac_ext=c
7087 ac_cpp='$CPP $CPPFLAGS'
7088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7092 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7093 # On Suns, sometimes $CPP names a directory.
7094 if test -n "$CPP" && test -d "$CPP"; then
7095 CPP=
7097 if test -z "$CPP"; then
7098 if ${ac_cv_prog_CPP+:} false; then :
7099 $as_echo_n "(cached) " >&6
7100 else
7101 # Double quotes because CPP needs to be expanded
7102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7104 ac_preproc_ok=false
7105 for ac_c_preproc_warn_flag in '' yes
7107 # Use a header file that comes with gcc, so configuring glibc
7108 # with a fresh cross-compiler works.
7109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7110 # <limits.h> exists even on freestanding compilers.
7111 # On the NeXT, cc -E runs the code through the compiler's parser,
7112 # not just through cpp. "Syntax error" is here to catch this case.
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 #ifdef __STDC__
7116 # include <limits.h>
7117 #else
7118 # include <assert.h>
7119 #endif
7120 Syntax error
7121 _ACEOF
7122 if ac_fn_c_try_cpp "$LINENO"; then :
7124 else
7125 # Broken: fails on valid input.
7126 continue
7128 rm -f conftest.err conftest.i conftest.$ac_ext
7130 # OK, works on sane cases. Now check whether nonexistent headers
7131 # can be detected and how.
7132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h. */
7134 #include <ac_nonexistent.h>
7135 _ACEOF
7136 if ac_fn_c_try_cpp "$LINENO"; then :
7137 # Broken: success on invalid input.
7138 continue
7139 else
7140 # Passes both tests.
7141 ac_preproc_ok=:
7142 break
7144 rm -f conftest.err conftest.i conftest.$ac_ext
7146 done
7147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7148 rm -f conftest.i conftest.err conftest.$ac_ext
7149 if $ac_preproc_ok; then :
7150 break
7153 done
7154 ac_cv_prog_CPP=$CPP
7157 CPP=$ac_cv_prog_CPP
7158 else
7159 ac_cv_prog_CPP=$CPP
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7162 $as_echo "$CPP" >&6; }
7163 ac_preproc_ok=false
7164 for ac_c_preproc_warn_flag in '' yes
7166 # Use a header file that comes with gcc, so configuring glibc
7167 # with a fresh cross-compiler works.
7168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7169 # <limits.h> exists even on freestanding compilers.
7170 # On the NeXT, cc -E runs the code through the compiler's parser,
7171 # not just through cpp. "Syntax error" is here to catch this case.
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179 Syntax error
7180 _ACEOF
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7183 else
7184 # Broken: fails on valid input.
7185 continue
7187 rm -f conftest.err conftest.i conftest.$ac_ext
7189 # OK, works on sane cases. Now check whether nonexistent headers
7190 # can be detected and how.
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 #include <ac_nonexistent.h>
7194 _ACEOF
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7196 # Broken: success on invalid input.
7197 continue
7198 else
7199 # Passes both tests.
7200 ac_preproc_ok=:
7201 break
7203 rm -f conftest.err conftest.i conftest.$ac_ext
7205 done
7206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7207 rm -f conftest.i conftest.err conftest.$ac_ext
7208 if $ac_preproc_ok; then :
7210 else
7211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7213 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7214 See \`config.log' for more details" "$LINENO" 5; }
7217 ac_ext=c
7218 ac_cpp='$CPP $CPPFLAGS'
7219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7225 $as_echo_n "checking for ANSI C header files... " >&6; }
7226 if ${ac_cv_header_stdc+:} false; then :
7227 $as_echo_n "(cached) " >&6
7228 else
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7231 #include <stdlib.h>
7232 #include <stdarg.h>
7233 #include <string.h>
7234 #include <float.h>
7237 main ()
7241 return 0;
7243 _ACEOF
7244 if ac_fn_c_try_compile "$LINENO"; then :
7245 ac_cv_header_stdc=yes
7246 else
7247 ac_cv_header_stdc=no
7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7251 if test $ac_cv_header_stdc = yes; then
7252 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7254 /* end confdefs.h. */
7255 #include <string.h>
7257 _ACEOF
7258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7259 $EGREP "memchr" >/dev/null 2>&1; then :
7261 else
7262 ac_cv_header_stdc=no
7264 rm -f conftest*
7268 if test $ac_cv_header_stdc = yes; then
7269 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7271 /* end confdefs.h. */
7272 #include <stdlib.h>
7274 _ACEOF
7275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7276 $EGREP "free" >/dev/null 2>&1; then :
7278 else
7279 ac_cv_header_stdc=no
7281 rm -f conftest*
7285 if test $ac_cv_header_stdc = yes; then
7286 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7287 if test "$cross_compiling" = yes; then :
7289 else
7290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7292 #include <ctype.h>
7293 #include <stdlib.h>
7294 #if ((' ' & 0x0FF) == 0x020)
7295 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7296 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7297 #else
7298 # define ISLOWER(c) \
7299 (('a' <= (c) && (c) <= 'i') \
7300 || ('j' <= (c) && (c) <= 'r') \
7301 || ('s' <= (c) && (c) <= 'z'))
7302 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7303 #endif
7305 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7307 main ()
7309 int i;
7310 for (i = 0; i < 256; i++)
7311 if (XOR (islower (i), ISLOWER (i))
7312 || toupper (i) != TOUPPER (i))
7313 return 2;
7314 return 0;
7316 _ACEOF
7317 if ac_fn_c_try_run "$LINENO"; then :
7319 else
7320 ac_cv_header_stdc=no
7322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7323 conftest.$ac_objext conftest.beam conftest.$ac_ext
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7329 $as_echo "$ac_cv_header_stdc" >&6; }
7330 if test $ac_cv_header_stdc = yes; then
7332 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7336 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7337 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7338 inttypes.h stdint.h unistd.h
7339 do :
7340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7341 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7344 cat >>confdefs.h <<_ACEOF
7345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7346 _ACEOF
7350 done
7353 for ac_header in \
7354 AL/al.h \
7355 ApplicationServices/ApplicationServices.h \
7356 AudioToolbox/AudioConverter.h \
7357 AudioUnit/AudioUnit.h \
7358 AudioUnit/AudioComponent.h \
7359 CL/cl.h \
7360 Carbon/Carbon.h \
7361 CommonCrypto/CommonCryptor.h \
7362 CoreAudio/CoreAudio.h \
7363 CoreServices/CoreServices.h \
7364 DiskArbitration/DiskArbitration.h \
7365 EGL/egl.h \
7366 IOKit/IOKitLib.h \
7367 IOKit/hid/IOHIDLib.h \
7368 OpenAL/al.h \
7369 OpenCL/opencl.h \
7370 QuickTime/ImageCompression.h \
7371 Security/Security.h \
7372 alias.h \
7373 arpa/inet.h \
7374 arpa/nameser.h \
7375 asm/types.h \
7376 asm/user.h \
7377 curses.h \
7378 dirent.h \
7379 dlfcn.h \
7380 elf.h \
7381 float.h \
7382 fnmatch.h \
7383 getopt.h \
7384 gettext-po.h \
7385 grp.h \
7386 gsm.h \
7387 gsm/gsm.h \
7388 ieeefp.h \
7389 inet/mib2.h \
7390 kstat.h \
7391 libproc.h \
7392 link.h \
7393 linux/cdrom.h \
7394 linux/compiler.h \
7395 linux/filter.h \
7396 linux/hdreg.h \
7397 linux/hidraw.h \
7398 linux/input.h \
7399 linux/ioctl.h \
7400 linux/joystick.h \
7401 linux/major.h \
7402 linux/param.h \
7403 linux/serial.h \
7404 linux/types.h \
7405 linux/ucdrom.h \
7406 lwp.h \
7407 mach-o/nlist.h \
7408 mach-o/loader.h \
7409 mach/mach.h \
7410 mach/machine.h \
7411 machine/cpu.h \
7412 machine/limits.h \
7413 machine/sysarch.h \
7414 mntent.h \
7415 ncurses.h \
7416 netdb.h \
7417 netinet/in.h \
7418 netinet/in_systm.h \
7419 netinet/tcp.h \
7420 netinet/tcp_fsm.h \
7421 pcap/pcap.h \
7422 poll.h \
7423 port.h \
7424 pthread.h \
7425 pwd.h \
7426 sched.h \
7427 scsi/scsi.h \
7428 scsi/scsi_ioctl.h \
7429 scsi/sg.h \
7430 stdbool.h \
7431 stdint.h \
7432 stropts.h \
7433 sys/attr.h \
7434 sys/auxv.h \
7435 sys/cdio.h \
7436 sys/elf32.h \
7437 sys/epoll.h \
7438 sys/event.h \
7439 sys/exec_elf.h \
7440 sys/filio.h \
7441 sys/ioctl.h \
7442 sys/ipc.h \
7443 sys/limits.h \
7444 sys/link.h \
7445 sys/mman.h \
7446 sys/modem.h \
7447 sys/msg.h \
7448 sys/mtio.h \
7449 sys/param.h \
7450 sys/poll.h \
7451 sys/prctl.h \
7452 sys/protosw.h \
7453 sys/ptrace.h \
7454 sys/queue.h \
7455 sys/resource.h \
7456 sys/scsiio.h \
7457 sys/shm.h \
7458 sys/signal.h \
7459 sys/socket.h \
7460 sys/socketvar.h \
7461 sys/sockio.h \
7462 sys/statvfs.h \
7463 sys/strtio.h \
7464 sys/syscall.h \
7465 sys/sysinfo.h \
7466 sys/tihdr.h \
7467 sys/time.h \
7468 sys/timeout.h \
7469 sys/times.h \
7470 sys/uio.h \
7471 sys/user.h \
7472 sys/utsname.h \
7473 sys/vnode.h \
7474 sys/wait.h \
7475 syscall.h \
7476 termios.h \
7477 unistd.h \
7478 utime.h \
7479 valgrind/memcheck.h \
7480 valgrind/valgrind.h \
7481 zlib.h
7483 do :
7484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7485 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7486 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7487 cat >>confdefs.h <<_ACEOF
7488 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7489 _ACEOF
7493 done
7495 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7496 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7498 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7503 if test $ac_cv_header_sys_mkdev_h = no; then
7504 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7505 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7507 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7514 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7515 if ${ac_cv_header_stat_broken+:} false; then :
7516 $as_echo_n "(cached) " >&6
7517 else
7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h. */
7520 #include <sys/types.h>
7521 #include <sys/stat.h>
7523 #if defined S_ISBLK && defined S_IFDIR
7524 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7525 #endif
7527 #if defined S_ISBLK && defined S_IFCHR
7528 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7529 #endif
7531 #if defined S_ISLNK && defined S_IFREG
7532 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7533 #endif
7535 #if defined S_ISSOCK && defined S_IFREG
7536 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7537 #endif
7539 _ACEOF
7540 if ac_fn_c_try_compile "$LINENO"; then :
7541 ac_cv_header_stat_broken=no
7542 else
7543 ac_cv_header_stat_broken=yes
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7548 $as_echo "$ac_cv_header_stat_broken" >&6; }
7549 if test $ac_cv_header_stat_broken = yes; then
7551 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7557 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7558 do :
7559 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7560 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7561 #ifdef HAVE_SYS_PARAM_H
7562 # include <sys/param.h>
7563 #endif
7565 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7566 cat >>confdefs.h <<_ACEOF
7567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7568 _ACEOF
7572 done
7575 for ac_header in \
7576 netinet/ip.h \
7577 net/if.h \
7578 net/if_arp.h \
7579 net/if_dl.h \
7580 net/if_types.h \
7581 net/route.h \
7582 netinet/if_ether.h \
7583 netinet/if_inarp.h \
7584 netinet/in_pcb.h \
7585 netinet/ip_icmp.h \
7586 netinet/ip_var.h \
7587 netinet/udp.h \
7588 netipx/ipx.h \
7589 sys/un.h \
7591 do :
7592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7594 #ifdef HAVE_SYS_SOCKET_H
7595 # include <sys/socket.h>
7596 #endif
7597 #ifdef HAVE_SYS_SOCKETVAR_H
7598 # include <sys/socketvar.h>
7599 #endif
7600 #ifdef HAVE_NET_ROUTE_H
7601 # include <net/route.h>
7602 #endif
7603 #ifdef HAVE_NETINET_IN_H
7604 # include <netinet/in.h>
7605 #endif
7606 #ifdef HAVE_NETINET_IN_SYSTM_H
7607 # include <netinet/in_systm.h>
7608 #endif
7609 #ifdef HAVE_NET_IF_H
7610 # include <net/if.h>
7611 #endif
7612 #ifdef HAVE_NETINET_IP_H
7613 # include <netinet/ip.h>
7614 #endif
7616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7617 cat >>confdefs.h <<_ACEOF
7618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 _ACEOF
7623 done
7626 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7627 do :
7628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7630 #ifdef HAVE_ALIAS_H
7631 # include <alias.h>
7632 #endif
7633 #ifdef HAVE_SYS_SOCKET_H
7634 # include <sys/socket.h>
7635 #endif
7636 #ifdef HAVE_SYS_SOCKETVAR_H
7637 # include <sys/socketvar.h>
7638 #endif
7639 #ifdef HAVE_SYS_TIMEOUT_H
7640 # include <sys/timeout.h>
7641 #endif
7642 #ifdef HAVE_NETINET_IN_H
7643 # include <netinet/in.h>
7644 #endif
7645 #ifdef HAVE_NETINET_IN_SYSTM_H
7646 # include <netinet/in_systm.h>
7647 #endif
7648 #ifdef HAVE_NETINET_IP_H
7649 # include <netinet/ip.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IP_VAR_H
7652 # include <netinet/ip_var.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IP_ICMP_H
7655 # include <netinet/ip_icmp.h>
7656 #endif
7657 #ifdef HAVE_NETINET_UDP_H
7658 # include <netinet/udp.h>
7659 #endif
7660 #ifdef HAVE_NETINET_TCP_H
7661 # include <netinet/tcp.h>
7662 #endif
7663 #ifdef HAVE_NETINET_TCP_TIMER_H
7664 #include <netinet/tcp_timer.h>
7665 #endif
7667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7668 cat >>confdefs.h <<_ACEOF
7669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 _ACEOF
7674 done
7677 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7678 do :
7679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7681 #ifdef HAVE_ASM_TYPES_H
7682 # include <asm/types.h>
7683 #endif
7684 #ifdef HAVE_SYS_SOCKET_H
7685 # include <sys/socket.h>
7686 #endif
7687 #ifdef HAVE_LINUX_TYPES_H
7688 # include <linux/types.h>
7689 #endif
7691 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7692 cat >>confdefs.h <<_ACEOF
7693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7694 _ACEOF
7698 done
7701 for ac_header in mach-o/dyld_images.h
7702 do :
7703 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7704 # include <stdbool.h>
7705 #endif
7706 #ifdef HAVE_STDINT_H
7707 # include <stdint.h>
7708 #endif
7710 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7711 cat >>confdefs.h <<_ACEOF
7712 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7713 _ACEOF
7717 done
7720 for ac_header in resolv.h
7721 do :
7722 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7723 #ifdef HAVE_SYS_SOCKET_H
7724 # include <sys/socket.h>
7725 #endif
7726 #ifdef HAVE_NETINET_IN_H
7727 # include <netinet/in.h>
7728 #endif
7729 #ifdef HAVE_ARPA_NAMESER_H
7730 # include <arpa/nameser.h>
7731 #endif
7733 if test "x$ac_cv_header_resolv_h" = xyes; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_RESOLV_H 1
7736 _ACEOF
7740 done
7743 for ac_header in ifaddrs.h
7744 do :
7745 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7747 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_IFADDRS_H 1
7750 _ACEOF
7754 done
7757 for ac_header in sys/ucontext.h
7758 do :
7759 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7761 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_SYS_UCONTEXT_H 1
7764 _ACEOF
7768 done
7771 for ac_header in sys/thr.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7774 #ifdef HAVE_SYS_UCONTEXT_H
7775 #include <sys/ucontext.h>
7776 #endif
7778 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_SYS_THR_H 1
7781 _ACEOF
7785 done
7788 for ac_header in pthread_np.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7791 #include <pthread.h>
7792 #endif
7794 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_PTHREAD_NP_H 1
7797 _ACEOF
7801 done
7804 for ac_header in linux/videodev2.h
7805 do :
7806 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7807 #include <sys/time.h>
7808 #endif
7809 #include <sys/types.h>
7810 #ifdef HAVE_ASM_TYPES_H
7811 #include <asm/types.h>
7812 #endif
7814 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_LINUX_VIDEODEV2_H 1
7817 _ACEOF
7821 done
7824 for ac_header in libprocstat.h
7825 do :
7826 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7827 #include <sys/param.h>
7828 #endif
7829 #ifdef HAVE_SYS_QUEUE_H
7830 #include <sys/queue.h>
7831 #endif
7832 #ifdef HAVE_SYS_SOCKET_H
7833 #include <sys/socket.h>
7834 #endif
7836 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7837 cat >>confdefs.h <<_ACEOF
7838 #define HAVE_LIBPROCSTAT_H 1
7839 _ACEOF
7843 done
7847 DLLFLAGS="-D_REENTRANT"
7849 LDRPATH_INSTALL=""
7851 LDRPATH_LOCAL=""
7853 LDDLLFLAGS=""
7855 LDEXECFLAGS=""
7857 TOP_INSTALL_LIB=""
7859 TOP_INSTALL_DEV=""
7861 WINELOADER_LDFLAGS=""
7863 WINEPRELOADER_LDFLAGS=""
7865 LIBEXT="so"
7866 DLLEXT=".so"
7867 # Extract the first word of "ldd", so it can be a program name with args.
7868 set dummy ldd; ac_word=$2
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7870 $as_echo_n "checking for $ac_word... " >&6; }
7871 if ${ac_cv_path_LDD+:} false; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 case $LDD in
7875 [\\/]* | ?:[\\/]*)
7876 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 as_dummy="/sbin:/usr/sbin:$PATH"
7881 for as_dir in $as_dummy
7883 IFS=$as_save_IFS
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889 break 2
7891 done
7892 done
7893 IFS=$as_save_IFS
7895 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7897 esac
7899 LDD=$ac_cv_path_LDD
7900 if test -n "$LDD"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7902 $as_echo "$LDD" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7909 if test -n "$ac_tool_prefix"; then
7910 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7911 set dummy ${ac_tool_prefix}otool; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_OTOOL+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 if test -n "$OTOOL"; then
7918 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7919 else
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 for as_dir in $PATH
7923 IFS=$as_save_IFS
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 break 2
7931 done
7932 done
7933 IFS=$as_save_IFS
7937 OTOOL=$ac_cv_prog_OTOOL
7938 if test -n "$OTOOL"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7940 $as_echo "$OTOOL" >&6; }
7941 else
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7948 if test -z "$ac_cv_prog_OTOOL"; then
7949 ac_ct_OTOOL=$OTOOL
7950 # Extract the first word of "otool", so it can be a program name with args.
7951 set dummy otool; ac_word=$2
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7953 $as_echo_n "checking for $ac_word... " >&6; }
7954 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 if test -n "$ac_ct_OTOOL"; then
7958 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7959 else
7960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 for as_dir in $PATH
7963 IFS=$as_save_IFS
7964 test -z "$as_dir" && as_dir=.
7965 for ac_exec_ext in '' $ac_executable_extensions; do
7966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7967 ac_cv_prog_ac_ct_OTOOL="otool"
7968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7969 break 2
7971 done
7972 done
7973 IFS=$as_save_IFS
7977 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7978 if test -n "$ac_ct_OTOOL"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7980 $as_echo "$ac_ct_OTOOL" >&6; }
7981 else
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7986 if test "x$ac_ct_OTOOL" = x; then
7987 OTOOL="otool"
7988 else
7989 case $cross_compiling:$ac_tool_warned in
7990 yes:)
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7993 ac_tool_warned=yes ;;
7994 esac
7995 OTOOL=$ac_ct_OTOOL
7997 else
7998 OTOOL="$ac_cv_prog_OTOOL"
8001 if test -n "$ac_tool_prefix"; then
8002 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8003 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8005 $as_echo_n "checking for $ac_word... " >&6; }
8006 if ${ac_cv_prog_READELF+:} false; then :
8007 $as_echo_n "(cached) " >&6
8008 else
8009 if test -n "$READELF"; then
8010 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8011 else
8012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8013 for as_dir in $PATH
8015 IFS=$as_save_IFS
8016 test -z "$as_dir" && as_dir=.
8017 for ac_exec_ext in '' $ac_executable_extensions; do
8018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8019 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8021 break 2
8023 done
8024 done
8025 IFS=$as_save_IFS
8029 READELF=$ac_cv_prog_READELF
8030 if test -n "$READELF"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8032 $as_echo "$READELF" >&6; }
8033 else
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8040 if test -z "$ac_cv_prog_READELF"; then
8041 ac_ct_READELF=$READELF
8042 # Extract the first word of "readelf", so it can be a program name with args.
8043 set dummy readelf; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 if test -n "$ac_ct_READELF"; then
8050 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8051 else
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 for as_dir in $PATH
8055 IFS=$as_save_IFS
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_ac_ct_READELF="readelf"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 break 2
8063 done
8064 done
8065 IFS=$as_save_IFS
8069 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8070 if test -n "$ac_ct_READELF"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8072 $as_echo "$ac_ct_READELF" >&6; }
8073 else
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8078 if test "x$ac_ct_READELF" = x; then
8079 READELF="true"
8080 else
8081 case $cross_compiling:$ac_tool_warned in
8082 yes:)
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8085 ac_tool_warned=yes ;;
8086 esac
8087 READELF=$ac_ct_READELF
8089 else
8090 READELF="$ac_cv_prog_READELF"
8093 wine_rules_file=conf$$rules.make
8094 rm -f $wine_rules_file
8095 SUBDIRS=""
8097 DISABLED_SUBDIRS=""
8099 CONFIGURE_TARGETS=""
8102 wine_fn_append_file ()
8104 as_fn_append $1 " \\$as_nl $2"
8107 wine_fn_append_rule ()
8109 $as_echo "$1" >>$wine_rules_file
8112 wine_fn_config_makefile ()
8114 wine_fn_append_file SUBDIRS $1
8115 if eval test \"x\$"$2"\" = x"no"; then :
8116 wine_fn_append_file DISABLED_SUBDIRS $1
8120 wine_fn_config_symlink ()
8122 ac_links=$@
8123 wine_fn_append_rule \
8124 "$ac_links:
8125 @./config.status \$@"
8126 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8129 wine_binary="wine"
8130 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8131 WINELOADER_PROGRAMS="$wine_binary"
8133 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8135 case $host_os in
8136 cygwin*|mingw32*)
8137 if test -n "$ac_tool_prefix"; then
8138 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8139 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141 $as_echo_n "checking for $ac_word... " >&6; }
8142 if ${ac_cv_prog_DLLTOOL+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 if test -n "$DLLTOOL"; then
8146 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8147 else
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 for as_dir in $PATH
8151 IFS=$as_save_IFS
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 break 2
8159 done
8160 done
8161 IFS=$as_save_IFS
8165 DLLTOOL=$ac_cv_prog_DLLTOOL
8166 if test -n "$DLLTOOL"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8168 $as_echo "$DLLTOOL" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8176 if test -z "$ac_cv_prog_DLLTOOL"; then
8177 ac_ct_DLLTOOL=$DLLTOOL
8178 # Extract the first word of "dlltool", so it can be a program name with args.
8179 set dummy dlltool; ac_word=$2
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8181 $as_echo_n "checking for $ac_word... " >&6; }
8182 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 if test -n "$ac_ct_DLLTOOL"; then
8186 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8187 else
8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8189 for as_dir in $PATH
8191 IFS=$as_save_IFS
8192 test -z "$as_dir" && as_dir=.
8193 for ac_exec_ext in '' $ac_executable_extensions; do
8194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8195 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8197 break 2
8199 done
8200 done
8201 IFS=$as_save_IFS
8205 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8206 if test -n "$ac_ct_DLLTOOL"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8208 $as_echo "$ac_ct_DLLTOOL" >&6; }
8209 else
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8214 if test "x$ac_ct_DLLTOOL" = x; then
8215 DLLTOOL="false"
8216 else
8217 case $cross_compiling:$ac_tool_warned in
8218 yes:)
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8221 ac_tool_warned=yes ;;
8222 esac
8223 DLLTOOL=$ac_ct_DLLTOOL
8225 else
8226 DLLTOOL="$ac_cv_prog_DLLTOOL"
8229 LIBEXT="dll"
8230 DLLEXT=""
8231 case $host_cpu in
8232 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8233 esac
8234 enable_iphlpapi=${enable_iphlpapi:-no}
8235 enable_kernel32=${enable_kernel32:-no}
8236 enable_ntdll=${enable_ntdll:-no}
8237 enable_ws2_32=${enable_ws2_32:-no}
8238 enable_loader=${enable_loader:-no}
8239 enable_server=${enable_server:-no}
8240 with_x=${with_x:-no}
8241 with_pthread=${with_pthread:-no}
8244 darwin*|macosx*)
8245 for ac_header in libunwind.h
8246 do :
8247 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8249 cat >>confdefs.h <<_ACEOF
8250 #define HAVE_LIBUNWIND_H 1
8251 _ACEOF
8255 done
8257 ac_ext=m
8258 ac_cpp='$OBJCPP $CPPFLAGS'
8259 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8260 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8261 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8263 ac_ext=m
8264 ac_cpp='$OBJCPP $CPPFLAGS'
8265 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8266 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8267 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8268 if test -n "$ac_tool_prefix"; then
8269 for ac_prog in gcc objcc objc cc CC
8271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8274 $as_echo_n "checking for $ac_word... " >&6; }
8275 if ${ac_cv_prog_OBJC+:} false; then :
8276 $as_echo_n "(cached) " >&6
8277 else
8278 if test -n "$OBJC"; then
8279 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8280 else
8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8282 for as_dir in $PATH
8284 IFS=$as_save_IFS
8285 test -z "$as_dir" && as_dir=.
8286 for ac_exec_ext in '' $ac_executable_extensions; do
8287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8288 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 break 2
8292 done
8293 done
8294 IFS=$as_save_IFS
8298 OBJC=$ac_cv_prog_OBJC
8299 if test -n "$OBJC"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8301 $as_echo "$OBJC" >&6; }
8302 else
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8304 $as_echo "no" >&6; }
8308 test -n "$OBJC" && break
8309 done
8311 if test -z "$OBJC"; then
8312 ac_ct_OBJC=$OBJC
8313 for ac_prog in gcc objcc objc cc CC
8315 # Extract the first word of "$ac_prog", so it can be a program name with args.
8316 set dummy $ac_prog; ac_word=$2
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318 $as_echo_n "checking for $ac_word... " >&6; }
8319 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 if test -n "$ac_ct_OBJC"; then
8323 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8324 else
8325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8326 for as_dir in $PATH
8328 IFS=$as_save_IFS
8329 test -z "$as_dir" && as_dir=.
8330 for ac_exec_ext in '' $ac_executable_extensions; do
8331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8332 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8334 break 2
8336 done
8337 done
8338 IFS=$as_save_IFS
8342 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8343 if test -n "$ac_ct_OBJC"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8345 $as_echo "$ac_ct_OBJC" >&6; }
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8352 test -n "$ac_ct_OBJC" && break
8353 done
8355 if test "x$ac_ct_OBJC" = x; then
8356 OBJC="gcc"
8357 else
8358 case $cross_compiling:$ac_tool_warned in
8359 yes:)
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8362 ac_tool_warned=yes ;;
8363 esac
8364 OBJC=$ac_ct_OBJC
8368 # Provide some information about the compiler.
8369 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8370 set X $ac_compile
8371 ac_compiler=$2
8372 for ac_option in --version -v -V -qversion; do
8373 { { ac_try="$ac_compiler $ac_option >&5"
8374 case "(($ac_try" in
8375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8376 *) ac_try_echo=$ac_try;;
8377 esac
8378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8379 $as_echo "$ac_try_echo"; } >&5
8380 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8381 ac_status=$?
8382 if test -s conftest.err; then
8383 sed '10a\
8384 ... rest of stderr output deleted ...
8385 10q' conftest.err >conftest.er1
8386 cat conftest.er1 >&5
8388 rm -f conftest.er1 conftest.err
8389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8390 test $ac_status = 0; }
8391 done
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8394 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8395 if ${ac_cv_objc_compiler_gnu+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8402 main ()
8404 #ifndef __GNUC__
8405 choke me
8406 #endif
8409 return 0;
8411 _ACEOF
8412 if ac_fn_objc_try_compile "$LINENO"; then :
8413 ac_compiler_gnu=yes
8414 else
8415 ac_compiler_gnu=no
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8422 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8423 if test $ac_compiler_gnu = yes; then
8424 GOBJC=yes
8425 else
8426 GOBJC=
8428 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8429 ac_save_OBJCFLAGS=$OBJCFLAGS
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8431 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8432 if ${ac_cv_prog_objc_g+:} false; then :
8433 $as_echo_n "(cached) " >&6
8434 else
8435 ac_save_objc_werror_flag=$ac_objc_werror_flag
8436 ac_objc_werror_flag=yes
8437 ac_cv_prog_objc_g=no
8438 OBJCFLAGS="-g"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8443 main ()
8447 return 0;
8449 _ACEOF
8450 if ac_fn_objc_try_compile "$LINENO"; then :
8451 ac_cv_prog_objc_g=yes
8452 else
8453 OBJCFLAGS=""
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8458 main ()
8462 return 0;
8464 _ACEOF
8465 if ac_fn_objc_try_compile "$LINENO"; then :
8467 else
8468 ac_objc_werror_flag=$ac_save_objc_werror_flag
8469 OBJCFLAGS="-g"
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8474 main ()
8478 return 0;
8480 _ACEOF
8481 if ac_fn_objc_try_compile "$LINENO"; then :
8482 ac_cv_prog_objc_g=yes
8484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8489 ac_objc_werror_flag=$ac_save_objc_werror_flag
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8492 $as_echo "$ac_cv_prog_objc_g" >&6; }
8493 if test "$ac_test_OBJCFLAGS" = set; then
8494 OBJCFLAGS=$ac_save_OBJCFLAGS
8495 elif test $ac_cv_prog_objc_g = yes; then
8496 if test "$GOBJC" = yes; then
8497 OBJCFLAGS="-g -O2"
8498 else
8499 OBJCFLAGS="-g"
8501 else
8502 if test "$GOBJC" = yes; then
8503 OBJCFLAGS="-O2"
8504 else
8505 OBJCFLAGS=
8508 ac_ext=m
8509 ac_cpp='$OBJCPP $CPPFLAGS'
8510 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8511 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8512 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8515 ac_ext=m
8516 ac_cpp='$OBJCPP $CPPFLAGS'
8517 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8521 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8522 if test -z "$OBJCPP"; then
8523 if ${ac_cv_prog_OBJCPP+:} false; then :
8524 $as_echo_n "(cached) " >&6
8525 else
8526 # Double quotes because OBJCPP needs to be expanded
8527 for OBJCPP in "$OBJC -E" "/lib/cpp"
8529 ac_preproc_ok=false
8530 for ac_objc_preproc_warn_flag in '' yes
8532 # Use a header file that comes with gcc, so configuring glibc
8533 # with a fresh cross-compiler works.
8534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8535 # <limits.h> exists even on freestanding compilers.
8536 # On the NeXT, cc -E runs the code through the compiler's parser,
8537 # not just through cpp. "Syntax error" is here to catch this case.
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 #ifdef __STDC__
8541 # include <limits.h>
8542 #else
8543 # include <assert.h>
8544 #endif
8545 Syntax error
8546 _ACEOF
8547 if ac_fn_objc_try_cpp "$LINENO"; then :
8549 else
8550 # Broken: fails on valid input.
8551 continue
8553 rm -f conftest.err conftest.i conftest.$ac_ext
8555 # OK, works on sane cases. Now check whether nonexistent headers
8556 # can be detected and how.
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 #include <ac_nonexistent.h>
8560 _ACEOF
8561 if ac_fn_objc_try_cpp "$LINENO"; then :
8562 # Broken: success on invalid input.
8563 continue
8564 else
8565 # Passes both tests.
8566 ac_preproc_ok=:
8567 break
8569 rm -f conftest.err conftest.i conftest.$ac_ext
8571 done
8572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8573 rm -f conftest.i conftest.err conftest.$ac_ext
8574 if $ac_preproc_ok; then :
8575 break
8578 done
8579 ac_cv_prog_OBJCPP=$OBJCPP
8582 OBJCPP=$ac_cv_prog_OBJCPP
8583 else
8584 ac_cv_prog_OBJCPP=$OBJCPP
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8587 $as_echo "$OBJCPP" >&6; }
8588 ac_preproc_ok=false
8589 for ac_objc_preproc_warn_flag in '' yes
8591 # Use a header file that comes with gcc, so configuring glibc
8592 # with a fresh cross-compiler works.
8593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8594 # <limits.h> exists even on freestanding compilers.
8595 # On the NeXT, cc -E runs the code through the compiler's parser,
8596 # not just through cpp. "Syntax error" is here to catch this case.
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8599 #ifdef __STDC__
8600 # include <limits.h>
8601 #else
8602 # include <assert.h>
8603 #endif
8604 Syntax error
8605 _ACEOF
8606 if ac_fn_objc_try_cpp "$LINENO"; then :
8608 else
8609 # Broken: fails on valid input.
8610 continue
8612 rm -f conftest.err conftest.i conftest.$ac_ext
8614 # OK, works on sane cases. Now check whether nonexistent headers
8615 # can be detected and how.
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 #include <ac_nonexistent.h>
8619 _ACEOF
8620 if ac_fn_objc_try_cpp "$LINENO"; then :
8621 # Broken: success on invalid input.
8622 continue
8623 else
8624 # Passes both tests.
8625 ac_preproc_ok=:
8626 break
8628 rm -f conftest.err conftest.i conftest.$ac_ext
8630 done
8631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8632 rm -f conftest.i conftest.err conftest.$ac_ext
8633 if $ac_preproc_ok; then :
8635 else
8636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8638 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8639 See \`config.log' for more details" "$LINENO" 5; }
8642 ac_ext=m
8643 ac_cpp='$OBJCPP $CPPFLAGS'
8644 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8645 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8646 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8649 for ac_header in Metal/Metal.h
8650 do :
8651 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8652 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8653 cat >>confdefs.h <<_ACEOF
8654 #define HAVE_METAL_METAL_H 1
8655 _ACEOF
8659 done
8661 ac_ext=c
8662 ac_cpp='$CPP $CPPFLAGS'
8663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8667 LIBEXT="dylib"
8668 DLLFLAGS="$DLLFLAGS -fPIC"
8669 LDDLLFLAGS="-fPIC"
8670 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8671 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8672 COREFOUNDATION_LIBS="-framework CoreFoundation"
8674 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8676 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8678 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8680 CORESERVICES_LIBS="-framework CoreServices"
8682 APPKIT_LIBS="-framework AppKit"
8685 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8687 wine_can_build_preloader=yes
8688 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8690 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8691 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 ac_wine_try_cflags_saved=$CFLAGS
8695 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8698 int main(int argc, char **argv) { return 0; }
8699 _ACEOF
8700 if ac_fn_c_try_link "$LINENO"; then :
8701 ac_cv_cflags__Wl__no_new_main__e__main=yes
8702 else
8703 ac_cv_cflags__Wl__no_new_main__e__main=no
8705 rm -f core conftest.err conftest.$ac_objext \
8706 conftest$ac_exeext conftest.$ac_ext
8707 CFLAGS=$ac_wine_try_cflags_saved
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8710 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8711 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8712 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8714 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8715 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8726 else
8727 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8734 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8735 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8736 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8737 else
8738 { $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
8739 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8740 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8751 else
8752 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8759 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8760 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8761 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8762 else
8763 wine_can_build_preloader=no
8766 else
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8768 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8769 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8780 else
8781 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8788 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8789 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8790 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8791 else
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8793 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8794 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8805 else
8806 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8813 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8814 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8815 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8816 else
8817 wine_can_build_preloader=no
8821 if test "$wine_can_build_preloader" = "yes"
8822 then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8824 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8825 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8826 $as_echo_n "(cached) " >&6
8827 else
8828 ac_wine_try_cflags_saved=$CFLAGS
8829 CFLAGS="$CFLAGS -Wl,-no_pie"
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8832 int main(int argc, char **argv) { return 0; }
8833 _ACEOF
8834 if ac_fn_c_try_link "$LINENO"; then :
8835 ac_cv_cflags__Wl__no_pie=yes
8836 else
8837 ac_cv_cflags__Wl__no_pie=no
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 CFLAGS=$ac_wine_try_cflags_saved
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8844 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8845 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8846 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8848 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8849 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8850 else
8851 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8854 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8855 then
8856 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8859 if test "$ac_cv_header_Security_Security_h" = "yes"
8860 then
8861 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8863 ac_save_LIBS="$LIBS"
8864 LIBS="$LIBS $SECURITY_LIBS"
8865 for ac_func in SSLCopyPeerCertificates
8866 do :
8867 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8868 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8869 cat >>confdefs.h <<_ACEOF
8870 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8871 _ACEOF
8874 done
8876 LIBS="$ac_save_LIBS"
8878 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8879 then
8880 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8881 then
8882 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8884 else
8885 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8888 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8889 ac_save_LIBS="$LIBS"
8890 LIBS="$LIBS $COREAUDIO_LIBS"
8891 for ac_func in AUGraphAddNode
8892 do :
8893 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8894 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8895 cat >>confdefs.h <<_ACEOF
8896 #define HAVE_AUGRAPHADDNODE 1
8897 _ACEOF
8900 done
8902 LIBS="$ac_save_LIBS"
8904 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8905 then
8906 OPENAL_LIBS="-framework OpenAL"
8909 cat >>confdefs.h <<_ACEOF
8910 #define HAVE_OPENAL 1
8911 _ACEOF
8913 ac_cv_lib_openal=yes
8915 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8916 then
8917 OPENCL_LIBS="-framework OpenCL"
8919 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8921 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8922 then
8923 ac_save_LIBS="$LIBS"
8924 LIBS="$LIBS $IOKIT_LIBS"
8925 for ac_func in IOHIDManagerCreate
8926 do :
8927 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8928 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8929 cat >>confdefs.h <<_ACEOF
8930 #define HAVE_IOHIDMANAGERCREATE 1
8931 _ACEOF
8934 done
8936 LIBS="$ac_save_LIBS"
8938 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8939 then
8940 ac_save_LIBS="$LIBS"
8941 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8943 $as_echo_n "checking for the QuickTime framework... " >&6; }
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8946 #include <QuickTime/ImageCompression.h>
8948 main ()
8950 CodecManagerVersion(NULL);
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8957 $as_echo "yes" >&6; }
8958 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8960 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8961 else
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8963 $as_echo "no" >&6; }
8964 ac_cv_header_QuickTime_ImageCompression_h=no
8966 rm -f core conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 LIBS="$ac_save_LIBS"
8970 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8971 then
8972 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8974 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8975 then
8976 CARBON_LIBS="-framework Carbon"
8979 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8980 then
8981 METAL_LIBS="-framework Metal -framework QuartzCore"
8985 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8986 then
8987 ac_save_LIBS="$LIBS"
8988 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8989 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8990 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8991 enable_winemac_drv=${enable_winemac_drv:-yes}
8994 LIBS="$ac_save_LIBS"
8997 if test "x$enable_win16" = "xyes"
8998 then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9000 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9001 if test "$cross_compiling" = yes; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9003 $as_echo "cross-compiling, assuming yes" >&6; }
9004 else
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9007 asm(".text\n"
9008 "bad:\tnop;nop\n"
9009 "good:\tnop;nop\n\t"
9010 ".globl _testfunc\n"
9011 "_testfunc:\tcallw good");
9012 extern void testfunc();
9014 main ()
9016 unsigned short *p = (unsigned short *)testfunc;
9017 return p[0] != 0xe866 || p[1] != 0xfffa
9019 return 0;
9021 _ACEOF
9022 if ac_fn_c_try_run "$LINENO"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9024 $as_echo "yes" >&6; }
9025 else
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9028 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
9030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9031 conftest.$ac_objext conftest.beam conftest.$ac_ext
9036 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9038 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9040 WINELOADER_DEPENDS="wine_info.plist"
9042 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9043 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9046 linux-android*)
9047 DLLFLAGS="$DLLFLAGS -fPIC"
9048 LDDLLFLAGS="-fPIC"
9049 LDEXECFLAGS="-Wl,-pie"
9050 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9052 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9053 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 int main(int argc, char **argv) { return 0; }
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9063 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9064 else
9065 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 CFLAGS=$ac_wine_try_cflags_saved
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9072 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9073 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9074 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9076 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9077 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9079 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9080 if eval \${$as_ac_var+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_wine_try_cflags_saved=$CFLAGS
9084 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 int main(int argc, char **argv) { return 0; }
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 eval "$as_ac_var=yes"
9091 else
9092 eval "$as_ac_var=no"
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 CFLAGS=$ac_wine_try_cflags_saved
9098 eval ac_res=\$$as_ac_var
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9100 $as_echo "$ac_res" >&6; }
9101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9102 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9103 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9104 else
9105 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9107 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9108 if eval \${$as_ac_var+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9115 int main(int argc, char **argv) { return 0; }
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 eval "$as_ac_var=yes"
9119 else
9120 eval "$as_ac_var=no"
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 eval ac_res=\$$as_ac_var
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9128 $as_echo "$ac_res" >&6; }
9129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9130 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9131 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9135 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9136 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_wine_try_cflags_saved=$CFLAGS
9140 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9143 int main(int argc, char **argv) { return 0; }
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 ac_cv_cflags__Wl___enable_new_dtags=yes
9147 else
9148 ac_cv_cflags__Wl___enable_new_dtags=no
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 CFLAGS=$ac_wine_try_cflags_saved
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9155 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9156 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9157 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9160 LIBWINE_SHAREDLIB="libwine.so"
9162 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9164 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9167 $as_echo_n "checking for -lEGL... " >&6; }
9168 if ${ac_cv_lib_soname_EGL+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_soname_save_LIBS=$LIBS
9172 LIBS="-lEGL $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char eglGetProcAddress ();
9184 main ()
9186 return eglGetProcAddress ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 case "$LIBEXT" in
9193 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9194 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'` ;;
9195 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9196 if ${ac_cv_lib_soname_EGL:+false} :; then :
9197 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9198 fi ;;
9199 esac
9200 else
9201 ac_cv_lib_soname_EGL=
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_soname_save_LIBS
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9209 $as_echo "not found" >&6; }
9211 else
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9213 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9215 cat >>confdefs.h <<_ACEOF
9216 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9217 _ACEOF
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9222 $as_echo_n "checking for -lGLESv2... " >&6; }
9223 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_check_soname_save_LIBS=$LIBS
9227 LIBS="-lGLESv2 $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char glFlush ();
9239 main ()
9241 return glFlush ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 case "$LIBEXT" in
9248 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9249 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'` ;;
9250 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9251 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9252 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9253 fi ;;
9254 esac
9255 else
9256 ac_cv_lib_soname_GLESv2=
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 LIBS=$ac_check_soname_save_LIBS
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9264 $as_echo "not found" >&6; }
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9268 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9270 cat >>confdefs.h <<_ACEOF
9271 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9272 _ACEOF
9277 if test "x$exec_prefix" = xNONE
9278 then
9279 case $host_cpu in
9280 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9281 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9282 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9283 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9284 esac
9289 case $host_cpu in
9290 *i[3456789]86*)
9291 DLLFLAGS="$DLLFLAGS -fno-PIC"
9292 LDDLLFLAGS="-fno-PIC" ;;
9294 DLLFLAGS="$DLLFLAGS -fPIC"
9295 LDDLLFLAGS="-fPIC" ;;
9296 esac
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9298 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9299 if ${ac_cv_c_dll_gnuelf+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_wine_try_cflags_saved=$CFLAGS
9303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 void myfunc() {}
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_c_dll_gnuelf="yes"
9310 else
9311 ac_cv_c_dll_gnuelf="no"
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 CFLAGS=$ac_wine_try_cflags_saved
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9318 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9319 if test "$ac_cv_c_dll_gnuelf" = "yes"
9320 then
9321 LIBWINE_LDFLAGS="-shared"
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9323 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9324 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_wine_try_cflags_saved=$CFLAGS
9328 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 int main(int argc, char **argv) { return 0; }
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9335 else
9336 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 CFLAGS=$ac_wine_try_cflags_saved
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9343 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9344 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9345 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9346 else
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9348 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9349 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 ac_wine_try_cflags_saved=$CFLAGS
9353 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9356 int main(int argc, char **argv) { return 0; }
9357 _ACEOF
9358 if ac_fn_c_try_link "$LINENO"; then :
9359 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9360 else
9361 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 CFLAGS=$ac_wine_try_cflags_saved
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9368 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9369 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9370 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9374 echo '{ global: *; };' >conftest.map
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9376 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9377 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9378 $as_echo_n "(cached) " >&6
9379 else
9380 ac_wine_try_cflags_saved=$CFLAGS
9381 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9384 int main(int argc, char **argv) { return 0; }
9385 _ACEOF
9386 if ac_fn_c_try_link "$LINENO"; then :
9387 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9388 else
9389 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9391 rm -f core conftest.err conftest.$ac_objext \
9392 conftest$ac_exeext conftest.$ac_ext
9393 CFLAGS=$ac_wine_try_cflags_saved
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9396 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9397 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9398 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9400 rm -f conftest.map
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9403 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9404 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_cflags__Wl___export_dynamic=yes
9415 else
9416 ac_cv_cflags__Wl___export_dynamic=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 CFLAGS=$ac_wine_try_cflags_saved
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9423 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9424 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9425 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9427 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9429 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9431 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9432 if eval \${$as_ac_var+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_wine_try_cflags_saved=$CFLAGS
9436 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9439 int main(int argc, char **argv) { return 0; }
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 eval "$as_ac_var=yes"
9443 else
9444 eval "$as_ac_var=no"
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 CFLAGS=$ac_wine_try_cflags_saved
9450 eval ac_res=\$$as_ac_var
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9452 $as_echo "$ac_res" >&6; }
9453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9454 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9455 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9456 else
9457 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9459 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9460 if eval \${$as_ac_var+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_wine_try_cflags_saved=$CFLAGS
9464 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9467 int main(int argc, char **argv) { return 0; }
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 eval "$as_ac_var=yes"
9471 else
9472 eval "$as_ac_var=no"
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 CFLAGS=$ac_wine_try_cflags_saved
9478 eval ac_res=\$$as_ac_var
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9480 $as_echo "$ac_res" >&6; }
9481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9482 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9483 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9488 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9489 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 ac_wine_try_cflags_saved=$CFLAGS
9493 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9496 int main(int argc, char **argv) { return 0; }
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9499 ac_cv_cflags__Wl___enable_new_dtags=yes
9500 else
9501 ac_cv_cflags__Wl___enable_new_dtags=no
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 CFLAGS=$ac_wine_try_cflags_saved
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9508 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9509 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9510 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9513 case $host_cpu in
9514 *i[3456789]86* | x86_64 | *aarch64*)
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9516 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9517 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9518 $as_echo_n "(cached) " >&6
9519 else
9520 ac_wine_try_cflags_saved=$CFLAGS
9521 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9524 int main(int argc, char **argv) { return 0; }
9525 _ACEOF
9526 if ac_fn_c_try_link "$LINENO"; then :
9527 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9528 else
9529 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 CFLAGS=$ac_wine_try_cflags_saved
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9536 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9537 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9538 case $host_os in
9539 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9540 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9541 esac
9542 else
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9544 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9545 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 ac_wine_try_cflags_saved=$CFLAGS
9549 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 int main(int argc, char **argv) { return 0; }
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9556 else
9557 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 CFLAGS=$ac_wine_try_cflags_saved
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9564 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9565 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9566 case $host_os in
9567 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9568 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9569 esac
9571 # Extract the first word of "prelink", so it can be a program name with args.
9572 set dummy prelink; ac_word=$2
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9574 $as_echo_n "checking for $ac_word... " >&6; }
9575 if ${ac_cv_path_PRELINK+:} false; then :
9576 $as_echo_n "(cached) " >&6
9577 else
9578 case $PRELINK in
9579 [\\/]* | ?:[\\/]*)
9580 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 for as_dir in /sbin /usr/sbin $PATH
9586 IFS=$as_save_IFS
9587 test -z "$as_dir" && as_dir=.
9588 for ac_exec_ext in '' $ac_executable_extensions; do
9589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9590 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9592 break 2
9594 done
9595 done
9596 IFS=$as_save_IFS
9598 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9600 esac
9602 PRELINK=$ac_cv_path_PRELINK
9603 if test -n "$PRELINK"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9605 $as_echo "$PRELINK" >&6; }
9606 else
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9608 $as_echo "no" >&6; }
9612 if test "x$PRELINK" = xfalse
9613 then
9614 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9618 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9619 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9620 $as_echo_n "(cached) " >&6
9621 else
9622 ac_wine_try_cflags_saved=$CFLAGS
9623 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9626 int main(int argc, char **argv) { return 0; }
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9630 else
9631 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9633 rm -f core conftest.err conftest.$ac_objext \
9634 conftest$ac_exeext conftest.$ac_ext
9635 CFLAGS=$ac_wine_try_cflags_saved
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9638 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9639 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9640 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9643 esac
9645 else
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9647 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9648 if ${ac_cv_c_dll_unixware+:} false; then :
9649 $as_echo_n "(cached) " >&6
9650 else
9651 ac_wine_try_cflags_saved=$CFLAGS
9652 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9655 void myfunc() {}
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 ac_cv_c_dll_unixware="yes"
9659 else
9660 ac_cv_c_dll_unixware="no"
9662 rm -f core conftest.err conftest.$ac_objext \
9663 conftest$ac_exeext conftest.$ac_ext
9664 CFLAGS=$ac_wine_try_cflags_saved
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9667 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9668 if test "$ac_cv_c_dll_unixware" = "yes"
9669 then
9670 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9673 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9675 LIBWINE_DEPENDS="wine.map"
9677 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9678 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9680 esac
9682 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9683 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9684 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9685 enable_winemac_drv=${enable_winemac_drv:-no}
9686 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9688 CROSSTARGET=""
9690 if test "x$with_mingw" != xno
9691 then
9692 case "x$with_mingw" in
9693 x|xyes) case "$host_cpu" in
9694 aarch64*)
9695 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9696 arm*)
9697 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9698 i[3456789]86*)
9699 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
9700 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9701 mingw32-gcc" ;;
9702 x86_64)
9703 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
9704 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9706 ac_prefix_list="" ;;
9707 esac
9708 for ac_prog in $ac_prefix_list
9710 # Extract the first word of "$ac_prog", so it can be a program name with args.
9711 set dummy $ac_prog; ac_word=$2
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9713 $as_echo_n "checking for $ac_word... " >&6; }
9714 if ${ac_cv_prog_CROSSCC+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 if test -n "$CROSSCC"; then
9718 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9719 else
9720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9721 for as_dir in $PATH
9723 IFS=$as_save_IFS
9724 test -z "$as_dir" && as_dir=.
9725 for ac_exec_ext in '' $ac_executable_extensions; do
9726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9727 ac_cv_prog_CROSSCC="$ac_prog"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9729 break 2
9731 done
9732 done
9733 IFS=$as_save_IFS
9737 CROSSCC=$ac_cv_prog_CROSSCC
9738 if test -n "$CROSSCC"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9740 $as_echo "$CROSSCC" >&6; }
9741 else
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9743 $as_echo "no" >&6; }
9747 test -n "$CROSSCC" && break
9748 done
9749 test -n "$CROSSCC" || CROSSCC="false"
9751 *) CROSSCC=$with_mingw ;;
9752 esac
9753 if test "$CROSSCC" != "false"
9754 then
9755 ac_save_CC="$CC"
9756 saved_CFLAGS=$CFLAGS
9757 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9759 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9762 CC="$CROSSCC"
9763 CFLAGS=$CROSSCFLAGS
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9765 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9766 if ${wine_cv_crosscc+:} false; then :
9767 $as_echo_n "(cached) " >&6
9768 else
9769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9773 main ()
9777 return 0;
9779 _ACEOF
9780 if ac_fn_c_try_compile "$LINENO"; then :
9781 wine_cv_crosscc=yes
9782 else
9783 wine_cv_crosscc=no
9785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9788 $as_echo "$wine_cv_crosscc" >&6; }
9789 if test $wine_cv_crosscc = yes
9790 then
9791 set x $CROSSCC
9792 shift
9793 while test $# -ge 1
9795 case "$1" in
9796 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9797 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9798 esac
9799 shift
9800 done
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9803 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9804 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806 else
9807 ac_wine_try_cflags_saved=$CFLAGS
9808 ac_wine_try_cflags_saved_cc=$CC
9809 ac_wine_try_cflags_saved_exeext=$ac_exeext
9810 CFLAGS="$CFLAGS -fno-strict-aliasing"
9811 CC="$CROSSCC"
9812 ac_exeext=".exe"
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9815 int main(int argc, char **argv) { return 0; }
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 ac_cv_crosscflags__fno_strict_aliasing=yes
9819 else
9820 ac_cv_crosscflags__fno_strict_aliasing=no
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 CFLAGS=$ac_wine_try_cflags_saved
9825 CC=$ac_wine_try_cflags_saved_cc
9826 ac_exeext=$ac_wine_try_cflags_saved_exeext
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9829 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9830 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9831 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9834 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9835 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_wine_try_cflags_saved=$CFLAGS
9839 ac_wine_try_cflags_saved_cc=$CC
9840 ac_wine_try_cflags_saved_exeext=$ac_exeext
9841 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9842 CC="$CROSSCC"
9843 ac_exeext=".exe"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9846 int main(int argc, char **argv) { return 0; }
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9850 else
9851 ac_cv_crosscflags__Werror_unknown_warning_option=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 CFLAGS=$ac_wine_try_cflags_saved
9856 CC=$ac_wine_try_cflags_saved_cc
9857 ac_exeext=$ac_wine_try_cflags_saved_exeext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9860 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9861 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9862 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9865 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9866 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9867 $as_echo_n "(cached) " >&6
9868 else
9869 ac_wine_try_cflags_saved=$CFLAGS
9870 ac_wine_try_cflags_saved_cc=$CC
9871 ac_wine_try_cflags_saved_exeext=$ac_exeext
9872 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9873 CC="$CROSSCC"
9874 ac_exeext=".exe"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 int main(int argc, char **argv) { return 0; }
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9881 else
9882 ac_cv_crosscflags__Wdeclaration_after_statement=no
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 CFLAGS=$ac_wine_try_cflags_saved
9887 CC=$ac_wine_try_cflags_saved_cc
9888 ac_exeext=$ac_wine_try_cflags_saved_exeext
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9891 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9892 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9893 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9896 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9897 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_wine_try_cflags_saved=$CFLAGS
9901 ac_wine_try_cflags_saved_cc=$CC
9902 ac_wine_try_cflags_saved_exeext=$ac_exeext
9903 CFLAGS="$CFLAGS -Wempty-body"
9904 CC="$CROSSCC"
9905 ac_exeext=".exe"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int main(int argc, char **argv) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 ac_cv_crosscflags__Wempty_body=yes
9912 else
9913 ac_cv_crosscflags__Wempty_body=no
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9918 CC=$ac_wine_try_cflags_saved_cc
9919 ac_exeext=$ac_wine_try_cflags_saved_exeext
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9922 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9923 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9924 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9927 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9928 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 ac_wine_try_cflags_saved_cc=$CC
9933 ac_wine_try_cflags_saved_exeext=$ac_exeext
9934 CFLAGS="$CFLAGS -Wignored-qualifiers"
9935 CC="$CROSSCC"
9936 ac_exeext=".exe"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int main(int argc, char **argv) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 ac_cv_crosscflags__Wignored_qualifiers=yes
9943 else
9944 ac_cv_crosscflags__Wignored_qualifiers=no
9946 rm -f core conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9948 CFLAGS=$ac_wine_try_cflags_saved
9949 CC=$ac_wine_try_cflags_saved_cc
9950 ac_exeext=$ac_wine_try_cflags_saved_exeext
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9953 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9954 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9955 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9958 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9959 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9960 $as_echo_n "(cached) " >&6
9961 else
9962 ac_wine_try_cflags_saved=$CFLAGS
9963 ac_wine_try_cflags_saved_cc=$CC
9964 ac_wine_try_cflags_saved_exeext=$ac_exeext
9965 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9966 CC="$CROSSCC"
9967 ac_exeext=".exe"
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9970 int main(int argc, char **argv) { return 0; }
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 ac_cv_crosscflags__Wpacked_not_aligned=yes
9974 else
9975 ac_cv_crosscflags__Wpacked_not_aligned=no
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 CFLAGS=$ac_wine_try_cflags_saved
9980 CC=$ac_wine_try_cflags_saved_cc
9981 ac_exeext=$ac_wine_try_cflags_saved_exeext
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9984 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9985 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9986 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9989 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9990 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_wine_try_cflags_saved=$CFLAGS
9994 ac_wine_try_cflags_saved_cc=$CC
9995 ac_wine_try_cflags_saved_exeext=$ac_exeext
9996 CFLAGS="$CFLAGS -Wpragma-pack"
9997 CC="$CROSSCC"
9998 ac_exeext=".exe"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10001 int main(int argc, char **argv) { return 0; }
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"; then :
10004 ac_cv_crosscflags__Wpragma_pack=yes
10005 else
10006 ac_cv_crosscflags__Wpragma_pack=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 CFLAGS=$ac_wine_try_cflags_saved
10011 CC=$ac_wine_try_cflags_saved_cc
10012 ac_exeext=$ac_wine_try_cflags_saved_exeext
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10015 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10016 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10017 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10020 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10021 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_wine_try_cflags_saved=$CFLAGS
10025 ac_wine_try_cflags_saved_cc=$CC
10026 ac_wine_try_cflags_saved_exeext=$ac_exeext
10027 CFLAGS="$CFLAGS -Wshift-overflow=2"
10028 CC="$CROSSCC"
10029 ac_exeext=".exe"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10032 int main(int argc, char **argv) { return 0; }
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_crosscflags__Wshift_overflow_2=yes
10036 else
10037 ac_cv_crosscflags__Wshift_overflow_2=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 CFLAGS=$ac_wine_try_cflags_saved
10042 CC=$ac_wine_try_cflags_saved_cc
10043 ac_exeext=$ac_wine_try_cflags_saved_exeext
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10046 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10047 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10048 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10051 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10052 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_wine_try_cflags_saved=$CFLAGS
10056 ac_wine_try_cflags_saved_cc=$CC
10057 ac_wine_try_cflags_saved_exeext=$ac_exeext
10058 CFLAGS="$CFLAGS -Wstrict-prototypes"
10059 CC="$CROSSCC"
10060 ac_exeext=".exe"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10063 int main(int argc, char **argv) { return 0; }
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"; then :
10066 ac_cv_crosscflags__Wstrict_prototypes=yes
10067 else
10068 ac_cv_crosscflags__Wstrict_prototypes=no
10070 rm -f core conftest.err conftest.$ac_objext \
10071 conftest$ac_exeext conftest.$ac_ext
10072 CFLAGS=$ac_wine_try_cflags_saved
10073 CC=$ac_wine_try_cflags_saved_cc
10074 ac_exeext=$ac_wine_try_cflags_saved_exeext
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10077 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10078 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10079 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10082 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10083 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_wine_try_cflags_saved=$CFLAGS
10087 ac_wine_try_cflags_saved_cc=$CC
10088 ac_wine_try_cflags_saved_exeext=$ac_exeext
10089 CFLAGS="$CFLAGS -Wtype-limits"
10090 CC="$CROSSCC"
10091 ac_exeext=".exe"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10094 int main(int argc, char **argv) { return 0; }
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 ac_cv_crosscflags__Wtype_limits=yes
10098 else
10099 ac_cv_crosscflags__Wtype_limits=no
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 CFLAGS=$ac_wine_try_cflags_saved
10104 CC=$ac_wine_try_cflags_saved_cc
10105 ac_exeext=$ac_wine_try_cflags_saved_exeext
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10108 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10109 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10110 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10113 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10114 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10115 $as_echo_n "(cached) " >&6
10116 else
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 ac_wine_try_cflags_saved_cc=$CC
10119 ac_wine_try_cflags_saved_exeext=$ac_exeext
10120 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10121 CC="$CROSSCC"
10122 ac_exeext=".exe"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 int main(int argc, char **argv) { return 0; }
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10129 else
10130 ac_cv_crosscflags__Wunused_but_set_parameter=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 CFLAGS=$ac_wine_try_cflags_saved
10135 CC=$ac_wine_try_cflags_saved_cc
10136 ac_exeext=$ac_wine_try_cflags_saved_exeext
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10139 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10140 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10141 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10144 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10145 if ${ac_cv_crosscflags__Wvla+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 ac_wine_try_cflags_saved_cc=$CC
10150 ac_wine_try_cflags_saved_exeext=$ac_exeext
10151 CFLAGS="$CFLAGS -Wvla"
10152 CC="$CROSSCC"
10153 ac_exeext=".exe"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 ac_cv_crosscflags__Wvla=yes
10160 else
10161 ac_cv_crosscflags__Wvla=no
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 CFLAGS=$ac_wine_try_cflags_saved
10166 CC=$ac_wine_try_cflags_saved_cc
10167 ac_exeext=$ac_wine_try_cflags_saved_exeext
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10170 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10171 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10172 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10175 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10176 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_wine_try_cflags_saved=$CFLAGS
10180 ac_wine_try_cflags_saved_cc=$CC
10181 ac_wine_try_cflags_saved_exeext=$ac_exeext
10182 CFLAGS="$CFLAGS -Wwrite-strings"
10183 CC="$CROSSCC"
10184 ac_exeext=".exe"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int main(int argc, char **argv) { return 0; }
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 ac_cv_crosscflags__Wwrite_strings=yes
10191 else
10192 ac_cv_crosscflags__Wwrite_strings=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10197 CC=$ac_wine_try_cflags_saved_cc
10198 ac_exeext=$ac_wine_try_cflags_saved_exeext
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10201 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10202 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10203 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10206 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10207 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 ac_wine_try_cflags_saved_cc=$CC
10212 ac_wine_try_cflags_saved_exeext=$ac_exeext
10213 CFLAGS="$CFLAGS -Wpointer-arith"
10214 CC="$CROSSCC"
10215 ac_exeext=".exe"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 int main(int argc, char **argv) { return 0; }
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 ac_cv_crosscflags__Wpointer_arith=yes
10222 else
10223 ac_cv_crosscflags__Wpointer_arith=no
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10228 CC=$ac_wine_try_cflags_saved_cc
10229 ac_exeext=$ac_wine_try_cflags_saved_exeext
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10232 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10233 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10234 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10237 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10238 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 ac_wine_try_cflags_saved_cc=$CC
10243 ac_wine_try_cflags_saved_exeext=$ac_exeext
10244 CFLAGS="$CFLAGS -Wlogical-op"
10245 CC="$CROSSCC"
10246 ac_exeext=".exe"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249 int main(int argc, char **argv) { return 0; }
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_crosscflags__Wlogical_op=yes
10253 else
10254 ac_cv_crosscflags__Wlogical_op=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10259 CC=$ac_wine_try_cflags_saved_cc
10260 ac_exeext=$ac_wine_try_cflags_saved_exeext
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10263 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10264 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10265 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10268 case $host_cpu in
10269 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10270 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10271 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 ac_wine_try_cflags_saved_cc=$CC
10276 ac_wine_try_cflags_saved_exeext=$ac_exeext
10277 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10278 CC="$CROSSCC"
10279 ac_exeext=".exe"
10280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10282 int main(int argc, char **argv) { return 0; }
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10286 else
10287 ac_cv_crosscflags__fno_omit_frame_pointer=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 CFLAGS=$ac_wine_try_cflags_saved
10292 CC=$ac_wine_try_cflags_saved_cc
10293 ac_exeext=$ac_wine_try_cflags_saved_exeext
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10296 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10297 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10298 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10299 fi ;;
10300 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10301 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10302 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_wine_try_cflags_saved=$CFLAGS
10306 ac_wine_try_cflags_saved_cc=$CC
10307 ac_wine_try_cflags_saved_exeext=$ac_exeext
10308 CFLAGS="$CFLAGS -Wno-format"
10309 CC="$CROSSCC"
10310 ac_exeext=".exe"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int main(int argc, char **argv) { return 0; }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_crosscflags__Wno_format=yes
10317 else
10318 ac_cv_crosscflags__Wno_format=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 CFLAGS=$ac_wine_try_cflags_saved
10323 CC=$ac_wine_try_cflags_saved_cc
10324 ac_exeext=$ac_wine_try_cflags_saved_exeext
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10327 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10328 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10329 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10330 fi ;;
10331 esac
10333 for ac_flag in $CROSSCFLAGS; do
10334 case $ac_flag in
10335 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10336 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10337 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_wine_try_cflags_saved=$CFLAGS
10341 ac_wine_try_cflags_saved_cc=$CC
10342 ac_wine_try_cflags_saved_exeext=$ac_exeext
10343 CFLAGS="$CFLAGS -gdwarf-2"
10344 CC="$CROSSCC"
10345 ac_exeext=".exe"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 int main(int argc, char **argv) { return 0; }
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 ac_cv_crosscflags__gdwarf_2=yes
10352 else
10353 ac_cv_crosscflags__gdwarf_2=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 CFLAGS=$ac_wine_try_cflags_saved
10358 CC=$ac_wine_try_cflags_saved_cc
10359 ac_exeext=$ac_wine_try_cflags_saved_exeext
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10362 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10363 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10364 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10367 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10368 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_wine_try_cflags_saved=$CFLAGS
10372 ac_wine_try_cflags_saved_cc=$CC
10373 ac_wine_try_cflags_saved_exeext=$ac_exeext
10374 CFLAGS="$CFLAGS -gstrict-dwarf"
10375 CC="$CROSSCC"
10376 ac_exeext=".exe"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 int main(int argc, char **argv) { return 0; }
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_crosscflags__gstrict_dwarf=yes
10383 else
10384 ac_cv_crosscflags__gstrict_dwarf=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 CFLAGS=$ac_wine_try_cflags_saved
10389 CC=$ac_wine_try_cflags_saved_cc
10390 ac_exeext=$ac_wine_try_cflags_saved_exeext
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10393 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10394 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10395 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10396 fi ;;
10397 esac
10398 done
10400 if test "x$enable_maintainer_mode" = xyes
10401 then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10403 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10404 if ${ac_cv_crosscflags__Werror+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_wine_try_cflags_saved=$CFLAGS
10408 ac_wine_try_cflags_saved_cc=$CC
10409 ac_wine_try_cflags_saved_exeext=$ac_exeext
10410 CFLAGS="$CFLAGS -Werror"
10411 CC="$CROSSCC"
10412 ac_exeext=".exe"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 int main(int argc, char **argv) { return 0; }
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 ac_cv_crosscflags__Werror=yes
10419 else
10420 ac_cv_crosscflags__Werror=no
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 CFLAGS=$ac_wine_try_cflags_saved
10425 CC=$ac_wine_try_cflags_saved_cc
10426 ac_exeext=$ac_wine_try_cflags_saved_exeext
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10429 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10430 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10431 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10435 CFLAGS=$saved_CFLAGS
10436 CC="$ac_save_CC"
10439 if test "x$CROSSTARGET" = "x"; then :
10440 case "x$with_mingw" in
10441 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10442 xno) ;;
10443 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10444 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10445 esac
10450 if test "$ac_cv_header_pthread_h" = "yes"
10451 then
10452 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10453 if test "x$ac_cv_func_pthread_create" = xyes; then :
10455 else
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10457 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10458 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_check_lib_save_LIBS=$LIBS
10462 LIBS="-lpthread $LIBS"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10469 #ifdef __cplusplus
10470 extern "C"
10471 #endif
10472 char pthread_create ();
10474 main ()
10476 return pthread_create ();
10478 return 0;
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 ac_cv_lib_pthread_pthread_create=yes
10483 else
10484 ac_cv_lib_pthread_pthread_create=no
10486 rm -f core conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 LIBS=$ac_check_lib_save_LIBS
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10491 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10492 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10493 PTHREAD_LIBS="-lpthread"
10500 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10501 case "x$with_pthread" in
10502 xno) ;;
10503 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10504 Wine cannot support threads without libpthread.
10505 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10506 esac
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10512 $as_echo_n "checking for X... " >&6; }
10515 # Check whether --with-x was given.
10516 if test "${with_x+set}" = set; then :
10517 withval=$with_x;
10520 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10521 if test "x$with_x" = xno; then
10522 # The user explicitly disabled X.
10523 have_x=disabled
10524 else
10525 case $x_includes,$x_libraries in #(
10526 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10527 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 # One or both of the vars are not set, and there is no cached value.
10531 ac_x_includes=no ac_x_libraries=no
10532 rm -f -r conftest.dir
10533 if mkdir conftest.dir; then
10534 cd conftest.dir
10535 cat >Imakefile <<'_ACEOF'
10536 incroot:
10537 @echo incroot='${INCROOT}'
10538 usrlibdir:
10539 @echo usrlibdir='${USRLIBDIR}'
10540 libdir:
10541 @echo libdir='${LIBDIR}'
10542 _ACEOF
10543 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10544 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10545 for ac_var in incroot usrlibdir libdir; do
10546 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10547 done
10548 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10549 for ac_extension in a so sl dylib la dll; do
10550 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10551 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10552 ac_im_usrlibdir=$ac_im_libdir; break
10554 done
10555 # Screen out bogus values from the imake configuration. They are
10556 # bogus both because they are the default anyway, and because
10557 # using them would break gcc on systems where it needs fixed includes.
10558 case $ac_im_incroot in
10559 /usr/include) ac_x_includes= ;;
10560 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10561 esac
10562 case $ac_im_usrlibdir in
10563 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10564 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10565 esac
10567 cd ..
10568 rm -f -r conftest.dir
10571 # Standard set of common directories for X headers.
10572 # Check X11 before X11Rn because it is often a symlink to the current release.
10573 ac_x_header_dirs='
10574 /usr/X11/include
10575 /usr/X11R7/include
10576 /usr/X11R6/include
10577 /usr/X11R5/include
10578 /usr/X11R4/include
10580 /usr/include/X11
10581 /usr/include/X11R7
10582 /usr/include/X11R6
10583 /usr/include/X11R5
10584 /usr/include/X11R4
10586 /usr/local/X11/include
10587 /usr/local/X11R7/include
10588 /usr/local/X11R6/include
10589 /usr/local/X11R5/include
10590 /usr/local/X11R4/include
10592 /usr/local/include/X11
10593 /usr/local/include/X11R7
10594 /usr/local/include/X11R6
10595 /usr/local/include/X11R5
10596 /usr/local/include/X11R4
10598 /usr/X386/include
10599 /usr/x386/include
10600 /usr/XFree86/include/X11
10602 /usr/include
10603 /usr/local/include
10604 /usr/unsupported/include
10605 /usr/athena/include
10606 /usr/local/x11r5/include
10607 /usr/lpp/Xamples/include
10609 /usr/openwin/include
10610 /usr/openwin/share/include'
10612 if test "$ac_x_includes" = no; then
10613 # Guess where to find include files, by looking for Xlib.h.
10614 # First, try using that file with no special directory specified.
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10617 #include <X11/Xlib.h>
10618 _ACEOF
10619 if ac_fn_c_try_cpp "$LINENO"; then :
10620 # We can compile using X headers with no special include directory.
10621 ac_x_includes=
10622 else
10623 for ac_dir in $ac_x_header_dirs; do
10624 if test -r "$ac_dir/X11/Xlib.h"; then
10625 ac_x_includes=$ac_dir
10626 break
10628 done
10630 rm -f conftest.err conftest.i conftest.$ac_ext
10631 fi # $ac_x_includes = no
10633 if test "$ac_x_libraries" = no; then
10634 # Check for the libraries.
10635 # See if we find them without any special options.
10636 # Don't add to $LIBS permanently.
10637 ac_save_LIBS=$LIBS
10638 LIBS="-lX11 $LIBS"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10641 #include <X11/Xlib.h>
10643 main ()
10645 XrmInitialize ()
10647 return 0;
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 LIBS=$ac_save_LIBS
10652 # We can link X programs with no special library path.
10653 ac_x_libraries=
10654 else
10655 LIBS=$ac_save_LIBS
10656 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10658 # Don't even attempt the hair of trying to link an X program!
10659 for ac_extension in a so sl dylib la dll; do
10660 if test -r "$ac_dir/libX11.$ac_extension"; then
10661 ac_x_libraries=$ac_dir
10662 break 2
10664 done
10665 done
10667 rm -f core conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 fi # $ac_x_libraries = no
10671 case $ac_x_includes,$ac_x_libraries in #(
10672 no,* | *,no | *\'*)
10673 # Didn't find X, or a directory has "'" in its name.
10674 ac_cv_have_x="have_x=no";; #(
10676 # Record where we found X for the cache.
10677 ac_cv_have_x="have_x=yes\
10678 ac_x_includes='$ac_x_includes'\
10679 ac_x_libraries='$ac_x_libraries'"
10680 esac
10682 ;; #(
10683 *) have_x=yes;;
10684 esac
10685 eval "$ac_cv_have_x"
10686 fi # $with_x != no
10688 if test "$have_x" != yes; then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10690 $as_echo "$have_x" >&6; }
10691 no_x=yes
10692 else
10693 # If each of the values was on the command line, it overrides each guess.
10694 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10695 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10696 # Update the cache value to reflect the command line values.
10697 ac_cv_have_x="have_x=yes\
10698 ac_x_includes='$x_includes'\
10699 ac_x_libraries='$x_libraries'"
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10701 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10704 if test "$no_x" = yes; then
10705 # Not all programs may use this symbol, but it does not hurt to define it.
10707 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10709 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10710 else
10711 if test -n "$x_includes"; then
10712 X_CFLAGS="$X_CFLAGS -I$x_includes"
10715 # It would also be nice to do this for all -L options, not just this one.
10716 if test -n "$x_libraries"; then
10717 X_LIBS="$X_LIBS -L$x_libraries"
10718 # For Solaris; some versions of Sun CC require a space after -R and
10719 # others require no space. Words are not sufficient . . . .
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10721 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10722 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10723 ac_xsave_c_werror_flag=$ac_c_werror_flag
10724 ac_c_werror_flag=yes
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10729 main ()
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10738 $as_echo "no" >&6; }
10739 X_LIBS="$X_LIBS -R$x_libraries"
10740 else
10741 LIBS="$ac_xsave_LIBS -R $x_libraries"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10746 main ()
10750 return 0;
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10755 $as_echo "yes" >&6; }
10756 X_LIBS="$X_LIBS -R $x_libraries"
10757 else
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10759 $as_echo "neither works" >&6; }
10761 rm -f core conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 ac_c_werror_flag=$ac_xsave_c_werror_flag
10767 LIBS=$ac_xsave_LIBS
10770 # Check for system-dependent libraries X programs must link with.
10771 # Do this before checking for the system-independent R6 libraries
10772 # (-lICE), since we may need -lsocket or whatever for X linking.
10774 if test "$ISC" = yes; then
10775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10776 else
10777 # Martyn Johnson says this is needed for Ultrix, if the X
10778 # libraries were built with DECnet support. And Karl Berry says
10779 # the Alpha needs dnet_stub (dnet does not exist).
10780 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10787 #ifdef __cplusplus
10788 extern "C"
10789 #endif
10790 char XOpenDisplay ();
10792 main ()
10794 return XOpenDisplay ();
10796 return 0;
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"; then :
10801 else
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10803 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10804 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-ldnet $LIBS"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815 #ifdef __cplusplus
10816 extern "C"
10817 #endif
10818 char dnet_ntoa ();
10820 main ()
10822 return dnet_ntoa ();
10824 return 0;
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 ac_cv_lib_dnet_dnet_ntoa=yes
10829 else
10830 ac_cv_lib_dnet_dnet_ntoa=no
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10837 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10838 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10839 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10842 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10844 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10845 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10846 $as_echo_n "(cached) " >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-ldnet_stub $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char dnet_ntoa ();
10861 main ()
10863 return dnet_ntoa ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10870 else
10871 ac_cv_lib_dnet_stub_dnet_ntoa=no
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10878 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10879 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10880 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 LIBS="$ac_xsave_LIBS"
10889 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10890 # to get the SysV transport functions.
10891 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10892 # needs -lnsl.
10893 # The nsl library prevents programs from opening the X display
10894 # on Irix 5.2, according to T.E. Dickey.
10895 # The functions gethostbyname, getservbyname, and inet_addr are
10896 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10897 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10898 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10902 if test $ac_cv_func_gethostbyname = no; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10904 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10905 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10906 $as_echo_n "(cached) " >&6
10907 else
10908 ac_check_lib_save_LIBS=$LIBS
10909 LIBS="-lnsl $LIBS"
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10916 #ifdef __cplusplus
10917 extern "C"
10918 #endif
10919 char gethostbyname ();
10921 main ()
10923 return gethostbyname ();
10925 return 0;
10927 _ACEOF
10928 if ac_fn_c_try_link "$LINENO"; then :
10929 ac_cv_lib_nsl_gethostbyname=yes
10930 else
10931 ac_cv_lib_nsl_gethostbyname=no
10933 rm -f core conftest.err conftest.$ac_objext \
10934 conftest$ac_exeext conftest.$ac_ext
10935 LIBS=$ac_check_lib_save_LIBS
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10938 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10939 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10940 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10943 if test $ac_cv_lib_nsl_gethostbyname = no; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10945 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10946 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10947 $as_echo_n "(cached) " >&6
10948 else
10949 ac_check_lib_save_LIBS=$LIBS
10950 LIBS="-lbsd $LIBS"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10957 #ifdef __cplusplus
10958 extern "C"
10959 #endif
10960 char gethostbyname ();
10962 main ()
10964 return gethostbyname ();
10966 return 0;
10968 _ACEOF
10969 if ac_fn_c_try_link "$LINENO"; then :
10970 ac_cv_lib_bsd_gethostbyname=yes
10971 else
10972 ac_cv_lib_bsd_gethostbyname=no
10974 rm -f core conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10976 LIBS=$ac_check_lib_save_LIBS
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10979 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10980 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10981 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10987 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10988 # socket/setsockopt and other routines are undefined under SCO ODT
10989 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10990 # on later versions), says Simon Leinen: it contains gethostby*
10991 # variants that don't use the name server (or something). -lsocket
10992 # must be given before -lnsl if both are needed. We assume that
10993 # if connect needs -lnsl, so does gethostbyname.
10994 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10995 if test "x$ac_cv_func_connect" = xyes; then :
10999 if test $ac_cv_func_connect = no; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11001 $as_echo_n "checking for connect in -lsocket... " >&6; }
11002 if ${ac_cv_lib_socket_connect+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char connect ();
11018 main ()
11020 return connect ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_socket_connect=yes
11027 else
11028 ac_cv_lib_socket_connect=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11035 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11036 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11037 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11042 # Guillermo Gomez says -lposix is necessary on A/UX.
11043 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11044 if test "x$ac_cv_func_remove" = xyes; then :
11048 if test $ac_cv_func_remove = no; then
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11050 $as_echo_n "checking for remove in -lposix... " >&6; }
11051 if ${ac_cv_lib_posix_remove+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-lposix $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char remove ();
11067 main ()
11069 return remove ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_posix_remove=yes
11076 else
11077 ac_cv_lib_posix_remove=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11084 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11085 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11086 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11091 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11092 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11093 if test "x$ac_cv_func_shmat" = xyes; then :
11097 if test $ac_cv_func_shmat = no; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11099 $as_echo_n "checking for shmat in -lipc... " >&6; }
11100 if ${ac_cv_lib_ipc_shmat+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lipc $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char shmat ();
11116 main ()
11118 return shmat ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_ipc_shmat=yes
11125 else
11126 ac_cv_lib_ipc_shmat=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11133 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11134 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11135 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11141 # Check for libraries that X11R6 Xt/Xaw programs need.
11142 ac_save_LDFLAGS=$LDFLAGS
11143 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11144 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11145 # check for ICE first), but we must link in the order -lSM -lICE or
11146 # we get undefined symbols. So assume we have SM if we have ICE.
11147 # These have to be linked with before -lX11, unlike the other
11148 # libraries we check for below, so use a different variable.
11149 # John Interrante, Karl Berry
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11151 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11152 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_lib_save_LIBS=$LIBS
11156 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char IceConnectionNumber ();
11168 main ()
11170 return IceConnectionNumber ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 ac_cv_lib_ICE_IceConnectionNumber=yes
11177 else
11178 ac_cv_lib_ICE_IceConnectionNumber=no
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_lib_save_LIBS
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11185 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11186 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11187 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11190 LDFLAGS=$ac_save_LDFLAGS
11195 if test "$have_x" = "yes"
11196 then
11197 ac_save_CPPFLAGS="$CPPFLAGS"
11198 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11201 $as_echo_n "checking for -lX11... " >&6; }
11202 if ${ac_cv_lib_soname_X11+:} false; then :
11203 $as_echo_n "(cached) " >&6
11204 else
11205 ac_check_soname_save_LIBS=$LIBS
11206 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 char XCreateWindow ();
11218 main ()
11220 return XCreateWindow ();
11222 return 0;
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"; then :
11226 case "$LIBEXT" in
11227 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11228 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'` ;;
11229 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11230 if ${ac_cv_lib_soname_X11:+false} :; then :
11231 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11232 fi ;;
11233 esac
11234 else
11235 ac_cv_lib_soname_X11=
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_soname_save_LIBS
11241 if ${ac_cv_lib_soname_X11:+false} :; then :
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11243 $as_echo "not found" >&6; }
11245 else
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11247 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11249 cat >>confdefs.h <<_ACEOF
11250 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11251 _ACEOF
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11256 $as_echo_n "checking for -lXext... " >&6; }
11257 if ${ac_cv_lib_soname_Xext+:} false; then :
11258 $as_echo_n "(cached) " >&6
11259 else
11260 ac_check_soname_save_LIBS=$LIBS
11261 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char XextCreateExtension ();
11273 main ()
11275 return XextCreateExtension ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 case "$LIBEXT" in
11282 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11283 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'` ;;
11284 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11285 if ${ac_cv_lib_soname_Xext:+false} :; then :
11286 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11287 fi ;;
11288 esac
11289 else
11290 ac_cv_lib_soname_Xext=
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_soname_save_LIBS
11296 if ${ac_cv_lib_soname_Xext:+false} :; then :
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11298 $as_echo "not found" >&6; }
11300 else
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11302 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11304 cat >>confdefs.h <<_ACEOF
11305 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11306 _ACEOF
11308 X_LIBS="$X_LIBS -lXext"
11310 X_LIBS="$X_LIBS -lX11"
11312 for ac_header in X11/Xlib.h \
11313 X11/XKBlib.h \
11314 X11/Xutil.h \
11315 X11/Xcursor/Xcursor.h \
11316 X11/extensions/shape.h \
11317 X11/extensions/XInput.h \
11318 X11/extensions/XInput2.h \
11319 X11/extensions/XShm.h \
11320 X11/extensions/Xcomposite.h \
11321 X11/extensions/Xfixes.h \
11322 X11/extensions/Xinerama.h \
11323 X11/extensions/Xrandr.h \
11324 X11/extensions/Xrender.h \
11325 X11/extensions/xf86vmode.h \
11326 X11/extensions/xf86vmproto.h
11327 do :
11328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11330 # include <X11/Xlib.h>
11331 #endif
11332 #ifdef HAVE_X11_XUTIL_H
11333 # include <X11/Xutil.h>
11334 #endif
11336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11337 cat >>confdefs.h <<_ACEOF
11338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11339 _ACEOF
11343 done
11346 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11347 then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11349 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11350 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11351 $as_echo_n "(cached) " >&6
11352 else
11353 ac_check_lib_save_LIBS=$LIBS
11354 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11361 #ifdef __cplusplus
11362 extern "C"
11363 #endif
11364 char XkbQueryExtension ();
11366 main ()
11368 return XkbQueryExtension ();
11370 return 0;
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"; then :
11374 ac_cv_lib_X11_XkbQueryExtension=yes
11375 else
11376 ac_cv_lib_X11_XkbQueryExtension=no
11378 rm -f core conftest.err conftest.$ac_objext \
11379 conftest$ac_exeext conftest.$ac_ext
11380 LIBS=$ac_check_lib_save_LIBS
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11383 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11384 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11386 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11392 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11393 then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11395 $as_echo_n "checking for -lXcursor... " >&6; }
11396 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char XcursorImageLoadCursor ();
11412 main ()
11414 return XcursorImageLoadCursor ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11424 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11425 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11426 fi ;;
11427 esac
11428 else
11429 ac_cv_lib_soname_Xcursor=
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_soname_save_LIBS
11435 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11437 $as_echo "not found" >&6; }
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11441 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11443 cat >>confdefs.h <<_ACEOF
11444 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11445 _ACEOF
11450 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11451 case "x$with_xcursor" in
11452 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11453 xno) ;;
11454 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11455 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11456 esac
11460 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11461 then
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11463 $as_echo_n "checking for -lXi... " >&6; }
11464 if ${ac_cv_lib_soname_Xi+:} false; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 ac_check_soname_save_LIBS=$LIBS
11468 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11475 #ifdef __cplusplus
11476 extern "C"
11477 #endif
11478 char XOpenDevice ();
11480 main ()
11482 return XOpenDevice ();
11484 return 0;
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"; then :
11488 case "$LIBEXT" in
11489 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11490 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'` ;;
11491 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11492 if ${ac_cv_lib_soname_Xi:+false} :; then :
11493 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11494 fi ;;
11495 esac
11496 else
11497 ac_cv_lib_soname_Xi=
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_soname_save_LIBS
11503 if ${ac_cv_lib_soname_Xi:+false} :; then :
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11505 $as_echo "not found" >&6; }
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11509 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11511 cat >>confdefs.h <<_ACEOF
11512 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11513 _ACEOF
11518 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11519 case "x$with_xinput" in
11520 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11521 xno) ;;
11522 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11523 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11524 esac
11528 if test "x$ac_cv_lib_soname_Xi" != x
11529 then
11530 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11531 case "x$with_xinput2" in
11532 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11533 xno) ;;
11534 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11535 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11536 esac
11541 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11542 then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11544 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11545 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11546 $as_echo_n "(cached) " >&6
11547 else
11548 ac_check_lib_save_LIBS=$LIBS
11549 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 /* Override any GCC internal prototype to avoid an error.
11554 Use char because int might match the return type of a GCC
11555 builtin and then its argument prototype would still apply. */
11556 #ifdef __cplusplus
11557 extern "C"
11558 #endif
11559 char XShmQueryExtension ();
11561 main ()
11563 return XShmQueryExtension ();
11565 return 0;
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"; then :
11569 ac_cv_lib_Xext_XShmQueryExtension=yes
11570 else
11571 ac_cv_lib_Xext_XShmQueryExtension=no
11573 rm -f core conftest.err conftest.$ac_objext \
11574 conftest$ac_exeext conftest.$ac_ext
11575 LIBS=$ac_check_lib_save_LIBS
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11578 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11579 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11581 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11586 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11587 case "x$with_xshm" in
11588 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11589 xno) ;;
11590 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11591 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11592 esac
11596 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11597 then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11599 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11600 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11601 $as_echo_n "(cached) " >&6
11602 else
11603 ac_check_lib_save_LIBS=$LIBS
11604 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11611 #ifdef __cplusplus
11612 extern "C"
11613 #endif
11614 char XShapeQueryExtension ();
11616 main ()
11618 return XShapeQueryExtension ();
11620 return 0;
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"; then :
11624 ac_cv_lib_Xext_XShapeQueryExtension=yes
11625 else
11626 ac_cv_lib_Xext_XShapeQueryExtension=no
11628 rm -f core conftest.err conftest.$ac_objext \
11629 conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_lib_save_LIBS
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11633 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11634 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11636 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11641 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11642 case "x$with_xshape" in
11643 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11644 xno) ;;
11645 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11646 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11647 esac
11651 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11652 then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11654 $as_echo_n "checking for -lXxf86vm... " >&6; }
11655 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11656 $as_echo_n "(cached) " >&6
11657 else
11658 ac_check_soname_save_LIBS=$LIBS
11659 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11663 /* Override any GCC internal prototype to avoid an error.
11664 Use char because int might match the return type of a GCC
11665 builtin and then its argument prototype would still apply. */
11666 #ifdef __cplusplus
11667 extern "C"
11668 #endif
11669 char XF86VidModeQueryExtension ();
11671 main ()
11673 return XF86VidModeQueryExtension ();
11675 return 0;
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"; then :
11679 case "$LIBEXT" in
11680 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11681 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'` ;;
11682 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11683 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11684 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11685 fi ;;
11686 esac
11687 else
11688 ac_cv_lib_soname_Xxf86vm=
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_soname_save_LIBS
11694 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11696 $as_echo "not found" >&6; }
11698 else
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11700 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11702 cat >>confdefs.h <<_ACEOF
11703 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11704 _ACEOF
11709 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11710 case "x$with_xxf86vm" in
11711 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11712 xno) ;;
11713 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11714 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11715 esac
11719 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11720 then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11722 $as_echo_n "checking for -lXrender... " >&6; }
11723 if ${ac_cv_lib_soname_Xrender+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char XRenderQueryExtension ();
11739 main ()
11741 return XRenderQueryExtension ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11751 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11752 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11755 else
11756 ac_cv_lib_soname_Xrender=
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11768 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11772 _ACEOF
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11775 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11776 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 ac_check_lib_save_LIBS=$LIBS
11780 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char XRenderSetPictureTransform ();
11792 main ()
11794 return XRenderSetPictureTransform ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"; then :
11800 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11801 else
11802 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11809 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11810 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11812 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11817 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11818 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11819 $as_echo_n "(cached) " >&6
11820 else
11821 ac_check_lib_save_LIBS=$LIBS
11822 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11829 #ifdef __cplusplus
11830 extern "C"
11831 #endif
11832 char XRenderCreateLinearGradient ();
11834 main ()
11836 return XRenderCreateLinearGradient ();
11838 return 0;
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"; then :
11842 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11843 else
11844 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_lib_save_LIBS
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11851 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11852 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11854 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11861 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11862 case "x$with_xrender" in
11863 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11864 xno) ;;
11865 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11866 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11867 esac
11871 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11872 then
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11875 #include <X11/Xlib.h>
11876 #include <X11/extensions/Xrandr.h>
11878 main ()
11880 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_compile "$LINENO"; then :
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11887 $as_echo_n "checking for -lXrandr... " >&6; }
11888 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_soname_save_LIBS=$LIBS
11892 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char XRRQueryExtension ();
11904 main ()
11906 return XRRQueryExtension ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 case "$LIBEXT" in
11913 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11914 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'` ;;
11915 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11916 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11917 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11918 fi ;;
11919 esac
11920 else
11921 ac_cv_lib_soname_Xrandr=
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_soname_save_LIBS
11927 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11929 $as_echo "not found" >&6; }
11931 else
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11933 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11935 cat >>confdefs.h <<_ACEOF
11936 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11937 _ACEOF
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 #include <X11/Xlib.h>
11942 #include <X11/extensions/Xrandr.h>
11944 main ()
11946 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_compile "$LINENO"; then :
11953 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11961 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11962 case "x$with_xrandr" in
11963 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11964 xno) ;;
11965 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11966 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11967 esac
11971 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11972 then
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11975 #include <X11/Xlib.h>
11976 #include <X11/extensions/Xfixes.h>
11978 main ()
11980 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11982 return 0;
11984 _ACEOF
11985 if ac_fn_c_try_compile "$LINENO"; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11987 $as_echo_n "checking for -lXfixes... " >&6; }
11988 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_soname_save_LIBS=$LIBS
11992 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char XFixesQueryVersion ();
12004 main ()
12006 return XFixesQueryVersion ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 case "$LIBEXT" in
12013 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12014 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'` ;;
12015 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12016 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12017 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12018 fi ;;
12019 esac
12020 else
12021 ac_cv_lib_soname_Xfixes=
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_soname_save_LIBS
12027 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12029 $as_echo "not found" >&6; }
12031 else
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12033 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12035 cat >>confdefs.h <<_ACEOF
12036 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12037 _ACEOF
12042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12045 case "x$with_xfixes" in
12046 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12047 xno) ;;
12048 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12049 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12050 esac
12054 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12055 then
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12058 #include <X11/Xlib.h>
12059 #include <X11/extensions/Xinerama.h>
12061 main ()
12063 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12065 return 0;
12067 _ACEOF
12068 if ac_fn_c_try_compile "$LINENO"; then :
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12070 $as_echo_n "checking for -lXinerama... " >&6; }
12071 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12072 $as_echo_n "(cached) " >&6
12073 else
12074 ac_check_soname_save_LIBS=$LIBS
12075 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 /* Override any GCC internal prototype to avoid an error.
12080 Use char because int might match the return type of a GCC
12081 builtin and then its argument prototype would still apply. */
12082 #ifdef __cplusplus
12083 extern "C"
12084 #endif
12085 char XineramaQueryScreens ();
12087 main ()
12089 return XineramaQueryScreens ();
12091 return 0;
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"; then :
12095 case "$LIBEXT" in
12096 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12097 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'` ;;
12098 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12099 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12100 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12101 fi ;;
12102 esac
12103 else
12104 ac_cv_lib_soname_Xinerama=
12106 rm -f core conftest.err conftest.$ac_objext \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_soname_save_LIBS
12110 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12112 $as_echo "not found" >&6; }
12114 else
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12116 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12118 cat >>confdefs.h <<_ACEOF
12119 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12120 _ACEOF
12125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12127 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12128 case "x$with_xinerama" in
12129 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12130 xno) ;;
12131 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12132 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12133 esac
12137 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12138 then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12140 $as_echo_n "checking for -lXcomposite... " >&6; }
12141 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_soname_save_LIBS=$LIBS
12145 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 #ifdef __cplusplus
12153 extern "C"
12154 #endif
12155 char XCompositeRedirectWindow ();
12157 main ()
12159 return XCompositeRedirectWindow ();
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 case "$LIBEXT" in
12166 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12167 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'` ;;
12168 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12169 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12170 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12171 fi ;;
12172 esac
12173 else
12174 ac_cv_lib_soname_Xcomposite=
12176 rm -f core conftest.err conftest.$ac_objext \
12177 conftest$ac_exeext conftest.$ac_ext
12178 LIBS=$ac_check_soname_save_LIBS
12180 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12182 $as_echo "not found" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12186 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12188 cat >>confdefs.h <<_ACEOF
12189 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12190 _ACEOF
12195 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12196 case "x$with_xcomposite" in
12197 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12198 xno) ;;
12199 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12200 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12201 esac
12205 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12206 #include <X11/Xlib.h>
12207 #endif
12209 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define HAVE_XICCALLBACK_CALLBACK 1
12213 _ACEOF
12217 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12218 #include <X11/Xlib.h>
12219 #endif
12221 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12223 cat >>confdefs.h <<_ACEOF
12224 #define HAVE_XEVENT_XCOOKIE 1
12225 _ACEOF
12232 opengl_msg=""
12233 if test "x$with_opengl" != "xno"
12234 then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12236 $as_echo_n "checking for -lGL... " >&6; }
12237 if ${ac_cv_lib_soname_GL+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_check_soname_save_LIBS=$LIBS
12241 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12248 #ifdef __cplusplus
12249 extern "C"
12250 #endif
12251 char glXCreateContext ();
12253 main ()
12255 return glXCreateContext ();
12257 return 0;
12259 _ACEOF
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 case "$LIBEXT" in
12262 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12263 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'` ;;
12264 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12265 if ${ac_cv_lib_soname_GL:+false} :; then :
12266 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12267 fi ;;
12268 esac
12269 else
12270 ac_cv_lib_soname_GL=
12272 rm -f core conftest.err conftest.$ac_objext \
12273 conftest$ac_exeext conftest.$ac_ext
12274 LIBS=$ac_check_soname_save_LIBS
12276 if ${ac_cv_lib_soname_GL:+false} :; then :
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12278 $as_echo "not found" >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12280 $as_echo_n "checking for -lGL... " >&6; }
12281 if ${ac_cv_lib_soname_GL+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_check_soname_save_LIBS=$LIBS
12285 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"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12292 #ifdef __cplusplus
12293 extern "C"
12294 #endif
12295 char glXCreateContext ();
12297 main ()
12299 return glXCreateContext ();
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_link "$LINENO"; then :
12305 case "$LIBEXT" in
12306 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12307 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'` ;;
12308 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12309 if ${ac_cv_lib_soname_GL:+false} :; then :
12310 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12311 fi ;;
12312 esac
12313 else
12314 ac_cv_lib_soname_GL=
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_soname_save_LIBS
12320 if ${ac_cv_lib_soname_GL:+false} :; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12322 $as_echo "not found" >&6; }
12323 if test -f /usr/X11R6/lib/libGL.a
12324 then
12325 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12326 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12327 else
12328 opengl_msg="No OpenGL library found on this system."
12330 else
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12332 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12334 cat >>confdefs.h <<_ACEOF
12335 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12336 _ACEOF
12338 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"
12340 else
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12342 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12344 cat >>confdefs.h <<_ACEOF
12345 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12346 _ACEOF
12348 OPENGL_LIBS="-lGL"
12350 if test "x$with_glu" != "xno"
12351 then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12353 $as_echo_n "checking for -lGLU... " >&6; }
12354 if ${ac_cv_lib_soname_GLU+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_soname_save_LIBS=$LIBS
12358 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char gluLookAt ();
12370 main ()
12372 return gluLookAt ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 case "$LIBEXT" in
12379 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12380 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'` ;;
12381 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12382 if ${ac_cv_lib_soname_GLU:+false} :; then :
12383 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12384 fi ;;
12385 esac
12386 else
12387 ac_cv_lib_soname_GLU=
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_soname_save_LIBS
12393 if ${ac_cv_lib_soname_GLU:+false} :; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12395 $as_echo "not found" >&6; }
12397 else
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12399 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12401 cat >>confdefs.h <<_ACEOF
12402 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12403 _ACEOF
12407 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12408 case "x$with_glu" in
12409 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12410 xno) ;;
12411 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12412 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12413 esac
12418 if test "x$with_osmesa" != "xno"
12419 then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12421 $as_echo_n "checking for -lOSMesa... " >&6; }
12422 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12423 $as_echo_n "(cached) " >&6
12424 else
12425 ac_check_soname_save_LIBS=$LIBS
12426 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12433 #ifdef __cplusplus
12434 extern "C"
12435 #endif
12436 char OSMesaGetProcAddress ();
12438 main ()
12440 return OSMesaGetProcAddress ();
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_link "$LINENO"; then :
12446 case "$LIBEXT" in
12447 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12448 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'` ;;
12449 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12450 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12451 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12452 fi ;;
12453 esac
12454 else
12455 ac_cv_lib_soname_OSMesa=
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 LIBS=$ac_check_soname_save_LIBS
12461 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12463 $as_echo "not found" >&6; }
12465 else
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12467 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12469 cat >>confdefs.h <<_ACEOF
12470 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12471 _ACEOF
12475 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12476 case "x$with_osmesa" in
12477 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12478 xno) ;;
12479 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12480 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12481 esac
12486 if test -n "$opengl_msg"; then :
12487 case "x$with_opengl" in
12488 x) as_fn_append wine_warnings "|$opengl_msg
12489 OpenGL and Direct3D won't be supported." ;;
12490 xno) ;;
12491 *) as_fn_error $? "$opengl_msg
12492 OpenGL and Direct3D won't be supported.
12493 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12494 esac
12498 CPPFLAGS="$ac_save_CPPFLAGS"
12499 else
12500 X_CFLAGS=""
12501 X_LIBS=""
12504 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12505 then
12506 if test "x$X_LIBS" = "x"; then :
12507 case "x$with_x" in
12508 xno) ;;
12509 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12510 without X support, which probably isn't what you want. You will need
12511 to install ${notice_platform}development packages of Xlib at the very least.
12512 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12513 esac
12514 enable_winex11_drv=${enable_winex11_drv:-no}
12516 else
12517 if test "x$X_LIBS" = "x"; then :
12518 case "x$with_x" in
12519 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12520 xno) ;;
12521 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12522 This is an error since --with-x was requested." "$LINENO" 5 ;;
12523 esac
12524 enable_winex11_drv=${enable_winex11_drv:-no}
12528 if test "$ac_cv_header_CL_cl_h" = "yes"
12529 then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12531 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12532 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12533 $as_echo_n "(cached) " >&6
12534 else
12535 ac_check_lib_save_LIBS=$LIBS
12536 LIBS="-lOpenCL $LIBS"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char clGetPlatformInfo ();
12548 main ()
12550 return clGetPlatformInfo ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12557 else
12558 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12565 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12566 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12567 OPENCL_LIBS="-lOpenCL"
12572 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12573 case "x$with_opencl" in
12574 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12575 xno) ;;
12576 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12577 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12578 esac
12579 enable_opencl=${enable_opencl:-no}
12582 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12583 then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12585 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12586 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_check_lib_save_LIBS=$LIBS
12590 LIBS="-lpcap $LIBS"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12597 #ifdef __cplusplus
12598 extern "C"
12599 #endif
12600 char pcap_create ();
12602 main ()
12604 return pcap_create ();
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_link "$LINENO"; then :
12610 ac_cv_lib_pcap_pcap_create=yes
12611 else
12612 ac_cv_lib_pcap_pcap_create=no
12614 rm -f core conftest.err conftest.$ac_objext \
12615 conftest$ac_exeext conftest.$ac_ext
12616 LIBS=$ac_check_lib_save_LIBS
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12619 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12620 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12621 PCAP_LIBS="-lpcap"
12626 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12627 case "x$with_pcap" in
12628 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12629 xno) ;;
12630 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12631 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12632 esac
12633 enable_wpcap=${enable_wpcap:-no}
12637 if test "x$with_xml" != "xno"
12638 then
12639 if ${XML2_CFLAGS:+false} :; then :
12640 if ${PKG_CONFIG+:} false; then :
12641 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12644 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12645 if ${XML2_LIBS:+false} :; then :
12646 if ${PKG_CONFIG+:} false; then :
12647 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12650 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12651 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12652 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12653 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12654 ac_save_CPPFLAGS=$CPPFLAGS
12655 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12656 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12657 do :
12658 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12659 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12661 cat >>confdefs.h <<_ACEOF
12662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12663 _ACEOF
12667 done
12669 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"
12670 then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12672 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12673 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12674 $as_echo_n "(cached) " >&6
12675 else
12676 ac_check_lib_save_LIBS=$LIBS
12677 LIBS="-lxml2 $XML2_LIBS $LIBS"
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12684 #ifdef __cplusplus
12685 extern "C"
12686 #endif
12687 char xmlParseMemory ();
12689 main ()
12691 return xmlParseMemory ();
12693 return 0;
12695 _ACEOF
12696 if ac_fn_c_try_link "$LINENO"; then :
12697 ac_cv_lib_xml2_xmlParseMemory=yes
12698 else
12699 ac_cv_lib_xml2_xmlParseMemory=no
12701 rm -f core conftest.err conftest.$ac_objext \
12702 conftest$ac_exeext conftest.$ac_ext
12703 LIBS=$ac_check_lib_save_LIBS
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12706 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12707 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12709 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12711 else
12712 XML2_LIBS=""
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12716 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12717 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12718 $as_echo_n "(cached) " >&6
12719 else
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lxml2 $XML2_LIBS $LIBS"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 /* Override any GCC internal prototype to avoid an error.
12726 Use char because int might match the return type of a GCC
12727 builtin and then its argument prototype would still apply. */
12728 #ifdef __cplusplus
12729 extern "C"
12730 #endif
12731 char xmlReadMemory ();
12733 main ()
12735 return xmlReadMemory ();
12737 return 0;
12739 _ACEOF
12740 if ac_fn_c_try_link "$LINENO"; then :
12741 ac_cv_lib_xml2_xmlReadMemory=yes
12742 else
12743 ac_cv_lib_xml2_xmlReadMemory=no
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_lib_save_LIBS
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12750 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12751 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12753 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12758 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12759 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12760 $as_echo_n "(cached) " >&6
12761 else
12762 ac_check_lib_save_LIBS=$LIBS
12763 LIBS="-lxml2 $XML2_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 #ifdef __cplusplus
12771 extern "C"
12772 #endif
12773 char xmlNewDocPI ();
12775 main ()
12777 return xmlNewDocPI ();
12779 return 0;
12781 _ACEOF
12782 if ac_fn_c_try_link "$LINENO"; then :
12783 ac_cv_lib_xml2_xmlNewDocPI=yes
12784 else
12785 ac_cv_lib_xml2_xmlNewDocPI=no
12787 rm -f core conftest.err conftest.$ac_objext \
12788 conftest$ac_exeext conftest.$ac_ext
12789 LIBS=$ac_check_lib_save_LIBS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12792 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12793 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12795 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12800 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12801 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12802 $as_echo_n "(cached) " >&6
12803 else
12804 ac_check_lib_save_LIBS=$LIBS
12805 LIBS="-lxml2 $XML2_LIBS $LIBS"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12812 #ifdef __cplusplus
12813 extern "C"
12814 #endif
12815 char xmlSchemaSetParserStructuredErrors ();
12817 main ()
12819 return xmlSchemaSetParserStructuredErrors ();
12821 return 0;
12823 _ACEOF
12824 if ac_fn_c_try_link "$LINENO"; then :
12825 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12826 else
12827 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12829 rm -f core conftest.err conftest.$ac_objext \
12830 conftest$ac_exeext conftest.$ac_ext
12831 LIBS=$ac_check_lib_save_LIBS
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12834 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12835 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12837 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12842 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12843 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_lib_save_LIBS=$LIBS
12847 LIBS="-lxml2 $XML2_LIBS $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char xmlSchemaSetValidStructuredErrors ();
12859 main ()
12861 return xmlSchemaSetValidStructuredErrors ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12868 else
12869 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12871 rm -f core conftest.err conftest.$ac_objext \
12872 conftest$ac_exeext conftest.$ac_ext
12873 LIBS=$ac_check_lib_save_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12876 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12877 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12879 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12884 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12885 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lxml2 $XML2_LIBS $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char xmlFirstElementChild ();
12901 main ()
12903 return xmlFirstElementChild ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_xml2_xmlFirstElementChild=yes
12910 else
12911 ac_cv_lib_xml2_xmlFirstElementChild=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12918 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12919 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12921 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12925 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12927 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12929 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12933 else
12934 XML2_CFLAGS=""
12935 XML2_LIBS=""
12937 CPPFLAGS=$ac_save_CPPFLAGS
12938 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12939 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12942 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12943 case "x$with_xml" in
12944 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12945 xno) ;;
12946 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12947 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12948 esac
12952 if test "x$with_xslt" != "xno"
12953 then
12954 if ${XSLT_CFLAGS:+false} :; then :
12955 if ${PKG_CONFIG+:} false; then :
12956 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12959 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12960 if ${XSLT_LIBS:+false} :; then :
12961 if ${PKG_CONFIG+:} false; then :
12962 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12965 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12966 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12968 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12969 ac_save_CPPFLAGS=$CPPFLAGS
12970 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12971 for ac_header in libxslt/pattern.h libxslt/transform.h
12972 do :
12973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12975 # include <libxslt/pattern.h>
12976 #endif
12978 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12979 cat >>confdefs.h <<_ACEOF
12980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12981 _ACEOF
12985 done
12987 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12988 then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12990 $as_echo_n "checking for -lxslt... " >&6; }
12991 if ${ac_cv_lib_soname_xslt+:} false; then :
12992 $as_echo_n "(cached) " >&6
12993 else
12994 ac_check_soname_save_LIBS=$LIBS
12995 LIBS="-lxslt $XSLT_LIBS $LIBS"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13002 #ifdef __cplusplus
13003 extern "C"
13004 #endif
13005 char xsltCompilePattern ();
13007 main ()
13009 return xsltCompilePattern ();
13011 return 0;
13013 _ACEOF
13014 if ac_fn_c_try_link "$LINENO"; then :
13015 case "$LIBEXT" in
13016 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13017 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'` ;;
13018 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13019 if ${ac_cv_lib_soname_xslt:+false} :; then :
13020 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13021 fi ;;
13022 esac
13023 else
13024 ac_cv_lib_soname_xslt=
13026 rm -f core conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13028 LIBS=$ac_check_soname_save_LIBS
13030 if ${ac_cv_lib_soname_xslt:+false} :; then :
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13032 $as_echo "not found" >&6; }
13034 else
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13036 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13038 cat >>confdefs.h <<_ACEOF
13039 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13040 _ACEOF
13044 else
13045 XSLT_CFLAGS=""
13047 CPPFLAGS=$ac_save_CPPFLAGS
13048 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13053 case "x$with_xslt" in
13054 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13055 xno) ;;
13056 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13057 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13058 esac
13062 if test "x$with_inotify" != "xno"
13063 then
13064 if ${INOTIFY_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false; then :
13066 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13070 if ${INOTIFY_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13077 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13079 ac_save_CPPFLAGS=$CPPFLAGS
13080 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13081 for ac_header in sys/inotify.h
13082 do :
13083 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13084 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13085 cat >>confdefs.h <<_ACEOF
13086 #define HAVE_SYS_INOTIFY_H 1
13087 _ACEOF
13091 done
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13094 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13095 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13096 $as_echo_n "(cached) " >&6
13097 else
13098 ac_check_lib_save_LIBS=$LIBS
13099 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char inotify_add_watch ();
13111 main ()
13113 return inotify_add_watch ();
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_link "$LINENO"; then :
13119 ac_cv_lib_inotify_inotify_add_watch=yes
13120 else
13121 ac_cv_lib_inotify_inotify_add_watch=no
13123 rm -f core conftest.err conftest.$ac_objext \
13124 conftest$ac_exeext conftest.$ac_ext
13125 LIBS=$ac_check_lib_save_LIBS
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13128 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13129 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13131 else
13132 INOTIFY_LIBS=""
13135 CPPFLAGS=$ac_save_CPPFLAGS
13136 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13137 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13140 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13141 case "x$with_inotify" in
13142 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13143 xno) ;;
13144 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13145 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13146 esac
13150 if test "x$with_dbus" != "xno"
13151 then
13152 if ${DBUS_CFLAGS:+false} :; then :
13153 if ${PKG_CONFIG+:} false; then :
13154 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13158 if ${DBUS_LIBS:+false} :; then :
13159 if ${PKG_CONFIG+:} false; then :
13160 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13165 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13166 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13169 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13170 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13172 $as_echo_n "checking for -ldbus-1... " >&6; }
13173 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13174 $as_echo_n "(cached) " >&6
13175 else
13176 ac_check_soname_save_LIBS=$LIBS
13177 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13184 #ifdef __cplusplus
13185 extern "C"
13186 #endif
13187 char dbus_connection_close ();
13189 main ()
13191 return dbus_connection_close ();
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_link "$LINENO"; then :
13197 case "$LIBEXT" in
13198 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13199 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'` ;;
13200 *) 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'`
13201 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13202 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13203 fi ;;
13204 esac
13205 else
13206 ac_cv_lib_soname_dbus_1=
13208 rm -f core conftest.err conftest.$ac_objext \
13209 conftest$ac_exeext conftest.$ac_ext
13210 LIBS=$ac_check_soname_save_LIBS
13212 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13214 $as_echo "not found" >&6; }
13215 DBUS_CFLAGS=""
13216 else
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13218 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13220 cat >>confdefs.h <<_ACEOF
13221 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13222 _ACEOF
13226 else
13227 DBUS_CFLAGS=""
13231 CPPFLAGS=$ac_save_CPPFLAGS
13232 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13233 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13236 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13237 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13238 case "x$with_dbus" in
13239 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13240 xno) ;;
13241 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13242 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13243 esac
13247 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13248 then
13249 if ${HAL_CFLAGS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13255 if ${HAL_LIBS:+false} :; then :
13256 if ${PKG_CONFIG+:} false; then :
13257 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13261 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13262 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13263 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13264 ac_save_CPPFLAGS=$CPPFLAGS
13265 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13266 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13269 $as_echo_n "checking for -lhal... " >&6; }
13270 if ${ac_cv_lib_soname_hal+:} false; then :
13271 $as_echo_n "(cached) " >&6
13272 else
13273 ac_check_soname_save_LIBS=$LIBS
13274 LIBS="-lhal $HAL_LIBS $LIBS"
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13281 #ifdef __cplusplus
13282 extern "C"
13283 #endif
13284 char libhal_ctx_new ();
13286 main ()
13288 return libhal_ctx_new ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 case "$LIBEXT" in
13295 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13296 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'` ;;
13297 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13298 if ${ac_cv_lib_soname_hal:+false} :; then :
13299 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13300 fi ;;
13301 esac
13302 else
13303 ac_cv_lib_soname_hal=
13305 rm -f core conftest.err conftest.$ac_objext \
13306 conftest$ac_exeext conftest.$ac_ext
13307 LIBS=$ac_check_soname_save_LIBS
13309 if ${ac_cv_lib_soname_hal:+false} :; then :
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13311 $as_echo "not found" >&6; }
13312 HAL_CFLAGS=""
13313 else
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13315 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13317 cat >>confdefs.h <<_ACEOF
13318 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13319 _ACEOF
13323 else
13324 HAL_CFLAGS=""
13328 CPPFLAGS=$ac_save_CPPFLAGS
13329 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13330 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13332 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13333 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13334 case "x$with_hal" in
13335 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13336 xno) ;;
13337 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13338 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13339 esac
13344 if test "x$with_gnutls" != "xno"
13345 then
13346 if ${GNUTLS_CFLAGS:+false} :; then :
13347 if ${PKG_CONFIG+:} false; then :
13348 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13352 if ${GNUTLS_LIBS:+false} :; then :
13353 if ${PKG_CONFIG+:} false; then :
13354 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13359 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13360 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13361 ac_save_CPPFLAGS=$CPPFLAGS
13362 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13363 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13364 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13367 #include <gnutls/gnutls.h>
13368 #include <gnutls/crypto.h>
13370 main ()
13372 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13374 return 0;
13376 _ACEOF
13377 if ac_fn_c_try_compile "$LINENO"; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13379 $as_echo_n "checking for -lgnutls... " >&6; }
13380 if ${ac_cv_lib_soname_gnutls+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_soname_save_LIBS=$LIBS
13384 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char gnutls_global_init ();
13396 main ()
13398 return gnutls_global_init ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 case "$LIBEXT" in
13405 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13406 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'` ;;
13407 *) 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'`
13408 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13409 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'`
13410 fi ;;
13411 esac
13412 else
13413 ac_cv_lib_soname_gnutls=
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13422 GNUTLS_CFLAGS=""
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13425 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13429 _ACEOF
13433 ac_wine_check_funcs_save_LIBS="$LIBS"
13434 LIBS="$LIBS $GNUTLS_LIBS"
13435 for ac_func in gnutls_cipher_init
13436 do :
13437 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13438 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13439 cat >>confdefs.h <<_ACEOF
13440 #define HAVE_GNUTLS_CIPHER_INIT 1
13441 _ACEOF
13443 else
13444 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13446 done
13448 LIBS="$ac_wine_check_funcs_save_LIBS"
13450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13451 else
13452 GNUTLS_CFLAGS=""
13456 CPPFLAGS=$ac_save_CPPFLAGS
13457 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13458 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13461 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13462 case "x$with_gnutls" in
13463 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13464 xno) ;;
13465 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13466 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13467 esac
13471 CURSES_LIBS=""
13472 if test "$ac_cv_header_ncurses_h" = "yes"
13473 then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13475 $as_echo_n "checking for -lncurses... " >&6; }
13476 if ${ac_cv_lib_soname_ncurses+:} false; then :
13477 $as_echo_n "(cached) " >&6
13478 else
13479 ac_check_soname_save_LIBS=$LIBS
13480 LIBS="-lncurses $LIBS"
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13487 #ifdef __cplusplus
13488 extern "C"
13489 #endif
13490 char waddch ();
13492 main ()
13494 return waddch ();
13496 return 0;
13498 _ACEOF
13499 if ac_fn_c_try_link "$LINENO"; then :
13500 case "$LIBEXT" in
13501 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13502 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'` ;;
13503 *) 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'`
13504 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13505 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13506 fi ;;
13507 esac
13508 else
13509 ac_cv_lib_soname_ncurses=
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_soname_save_LIBS
13515 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13517 $as_echo "not found" >&6; }
13519 else
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13521 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13523 cat >>confdefs.h <<_ACEOF
13524 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13525 _ACEOF
13527 CURSES_LIBS="-lncurses"
13529 elif test "$ac_cv_header_curses_h" = "yes"
13530 then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13532 $as_echo_n "checking for -lcurses... " >&6; }
13533 if ${ac_cv_lib_soname_curses+:} false; then :
13534 $as_echo_n "(cached) " >&6
13535 else
13536 ac_check_soname_save_LIBS=$LIBS
13537 LIBS="-lcurses $LIBS"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13541 /* Override any GCC internal prototype to avoid an error.
13542 Use char because int might match the return type of a GCC
13543 builtin and then its argument prototype would still apply. */
13544 #ifdef __cplusplus
13545 extern "C"
13546 #endif
13547 char waddch ();
13549 main ()
13551 return waddch ();
13553 return 0;
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 case "$LIBEXT" in
13558 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13559 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'` ;;
13560 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13561 if ${ac_cv_lib_soname_curses:+false} :; then :
13562 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13563 fi ;;
13564 esac
13565 else
13566 ac_cv_lib_soname_curses=
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_soname_save_LIBS
13572 if ${ac_cv_lib_soname_curses:+false} :; then :
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13574 $as_echo "not found" >&6; }
13576 else
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13578 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13580 cat >>confdefs.h <<_ACEOF
13581 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13582 _ACEOF
13584 CURSES_LIBS="-lcurses"
13587 ac_save_LIBS="$LIBS"
13588 LIBS="$LIBS $CURSES_LIBS"
13589 for ac_func in mousemask
13590 do :
13591 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13592 if test "x$ac_cv_func_mousemask" = xyes; then :
13593 cat >>confdefs.h <<_ACEOF
13594 #define HAVE_MOUSEMASK 1
13595 _ACEOF
13598 done
13600 LIBS="$ac_save_LIBS"
13601 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13602 case "x$with_curses" in
13603 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13604 xno) ;;
13605 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13606 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13607 esac
13611 if test "x$with_sane" != "xno"
13612 then
13613 if ${SANE_CFLAGS:+false} :; then :
13614 if ${PKG_CONFIG+:} false; then :
13615 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13618 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13619 if ${SANE_LIBS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13624 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13627 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13628 ac_save_CPPFLAGS=$CPPFLAGS
13629 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13630 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13631 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13633 $as_echo_n "checking for -lsane... " >&6; }
13634 if ${ac_cv_lib_soname_sane+:} false; then :
13635 $as_echo_n "(cached) " >&6
13636 else
13637 ac_check_soname_save_LIBS=$LIBS
13638 LIBS="-lsane $SANE_LIBS $LIBS"
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 /* Override any GCC internal prototype to avoid an error.
13643 Use char because int might match the return type of a GCC
13644 builtin and then its argument prototype would still apply. */
13645 #ifdef __cplusplus
13646 extern "C"
13647 #endif
13648 char sane_init ();
13650 main ()
13652 return sane_init ();
13654 return 0;
13656 _ACEOF
13657 if ac_fn_c_try_link "$LINENO"; then :
13658 case "$LIBEXT" in
13659 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13660 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'` ;;
13661 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13662 if ${ac_cv_lib_soname_sane:+false} :; then :
13663 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13664 fi ;;
13665 esac
13666 else
13667 ac_cv_lib_soname_sane=
13669 rm -f core conftest.err conftest.$ac_objext \
13670 conftest$ac_exeext conftest.$ac_ext
13671 LIBS=$ac_check_soname_save_LIBS
13673 if ${ac_cv_lib_soname_sane:+false} :; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13675 $as_echo "not found" >&6; }
13676 SANE_CFLAGS=""
13677 else
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13679 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13681 cat >>confdefs.h <<_ACEOF
13682 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13683 _ACEOF
13687 else
13688 SANE_CFLAGS=""
13692 CPPFLAGS=$ac_save_CPPFLAGS
13693 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13694 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13697 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13698 case "x$with_sane" in
13699 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13700 xno) ;;
13701 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13702 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13703 esac
13707 if test "x$with_v4l2" != "xno"
13708 then
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13710 $as_echo_n "checking for -lv4l2... " >&6; }
13711 if ${ac_cv_lib_soname_v4l2+:} false; then :
13712 $as_echo_n "(cached) " >&6
13713 else
13714 ac_check_soname_save_LIBS=$LIBS
13715 LIBS="-lv4l2 $LIBS"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13719 /* Override any GCC internal prototype to avoid an error.
13720 Use char because int might match the return type of a GCC
13721 builtin and then its argument prototype would still apply. */
13722 #ifdef __cplusplus
13723 extern "C"
13724 #endif
13725 char v4l2_open ();
13727 main ()
13729 return v4l2_open ();
13731 return 0;
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 case "$LIBEXT" in
13736 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13737 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'` ;;
13738 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13739 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13740 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13741 fi ;;
13742 esac
13743 else
13744 ac_cv_lib_soname_v4l2=
13746 rm -f core conftest.err conftest.$ac_objext \
13747 conftest$ac_exeext conftest.$ac_ext
13748 LIBS=$ac_check_soname_save_LIBS
13750 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13752 $as_echo "not found" >&6; }
13754 else
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13756 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13758 cat >>confdefs.h <<_ACEOF
13759 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13760 _ACEOF
13765 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13766 case "x$with_v4l2" in
13767 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13768 xno) ;;
13769 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13770 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13771 esac
13775 if test "x$with_gphoto" != "xno"
13776 then
13777 if ${GPHOTO2_CFLAGS:+false} :; then :
13778 if ${PKG_CONFIG+:} false; then :
13779 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13782 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13783 if ${GPHOTO2_LIBS:+false} :; then :
13784 if ${PKG_CONFIG+:} false; then :
13785 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13788 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13789 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13791 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13792 ac_save_CPPFLAGS=$CPPFLAGS
13793 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13794 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13797 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13798 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13799 $as_echo_n "(cached) " >&6
13800 else
13801 ac_check_lib_save_LIBS=$LIBS
13802 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13806 /* Override any GCC internal prototype to avoid an error.
13807 Use char because int might match the return type of a GCC
13808 builtin and then its argument prototype would still apply. */
13809 #ifdef __cplusplus
13810 extern "C"
13811 #endif
13812 char gp_camera_new ();
13814 main ()
13816 return gp_camera_new ();
13818 return 0;
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_lib_gphoto2_gp_camera_new=yes
13823 else
13824 ac_cv_lib_gphoto2_gp_camera_new=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13831 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13832 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13834 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13836 else
13837 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13840 else
13841 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13845 CPPFLAGS=$ac_save_CPPFLAGS
13846 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13847 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13849 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13850 if ${PKG_CONFIG+:} false; then :
13851 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13854 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13855 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13856 if ${PKG_CONFIG+:} false; then :
13857 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13860 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13861 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13863 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13864 ac_save_CPPFLAGS=$CPPFLAGS
13865 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13866 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13867 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13869 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13870 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13871 $as_echo_n "(cached) " >&6
13872 else
13873 ac_check_lib_save_LIBS=$LIBS
13874 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13878 /* Override any GCC internal prototype to avoid an error.
13879 Use char because int might match the return type of a GCC
13880 builtin and then its argument prototype would still apply. */
13881 #ifdef __cplusplus
13882 extern "C"
13883 #endif
13884 char gp_port_info_list_new ();
13886 main ()
13888 return gp_port_info_list_new ();
13890 return 0;
13892 _ACEOF
13893 if ac_fn_c_try_link "$LINENO"; then :
13894 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13895 else
13896 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_lib_save_LIBS
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13903 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13904 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13906 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13908 else
13909 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13912 else
13913 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13917 CPPFLAGS=$ac_save_CPPFLAGS
13918 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13919 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13922 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13923 case "x$with_gphoto" in
13924 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13925 xno) ;;
13926 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13927 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13928 esac
13931 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13932 case "x$with_gphoto" in
13933 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13934 xno) ;;
13935 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13936 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13937 esac
13942 if test "$ac_cv_header_resolv_h" = "yes"
13943 then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13945 $as_echo_n "checking for resolver library... " >&6; }
13946 if ${ac_cv_have_resolv+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_save_LIBS="$LIBS"
13950 for lib in '' -lresolv
13952 LIBS="$lib $ac_save_LIBS"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 #ifdef HAVE_NETINET_IN_H
13956 #include <netinet/in.h>
13957 #endif
13958 #include <resolv.h>
13960 main ()
13962 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13964 return 0;
13966 _ACEOF
13967 if ac_fn_c_try_link "$LINENO"; then :
13968 ac_cv_have_resolv=${lib:-"none required"}
13969 else
13970 ac_cv_have_resolv="not found"
13972 rm -f core conftest.err conftest.$ac_objext \
13973 conftest$ac_exeext conftest.$ac_ext
13974 test "x$ac_cv_have_resolv" = "xnot found" || break
13975 done
13976 LIBS="$ac_save_LIBS"
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13979 $as_echo "$ac_cv_have_resolv" >&6; }
13981 case "$ac_cv_have_resolv" in
13982 "not found") ;;
13983 "none required")
13985 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13988 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13990 RESOLV_LIBS=$ac_cv_have_resolv
13992 esac
13995 if test "x$with_cms" != "xno"
13996 then
13997 if ${LCMS2_CFLAGS:+false} :; then :
13998 if ${PKG_CONFIG+:} false; then :
13999 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14003 if ${LCMS2_LIBS:+false} :; then :
14004 if ${PKG_CONFIG+:} false; then :
14005 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14009 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14010 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14011 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14012 ac_save_CPPFLAGS=$CPPFLAGS
14013 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14014 for ac_header in lcms2.h
14015 do :
14016 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14017 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14018 cat >>confdefs.h <<_ACEOF
14019 #define HAVE_LCMS2_H 1
14020 _ACEOF
14024 done
14026 if test "$ac_cv_header_lcms2_h" = "yes"
14027 then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14029 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14030 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_check_lib_save_LIBS=$LIBS
14034 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14038 /* Override any GCC internal prototype to avoid an error.
14039 Use char because int might match the return type of a GCC
14040 builtin and then its argument prototype would still apply. */
14041 #ifdef __cplusplus
14042 extern "C"
14043 #endif
14044 char cmsOpenProfileFromFile ();
14046 main ()
14048 return cmsOpenProfileFromFile ();
14050 return 0;
14052 _ACEOF
14053 if ac_fn_c_try_link "$LINENO"; then :
14054 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14055 else
14056 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14058 rm -f core conftest.err conftest.$ac_objext \
14059 conftest$ac_exeext conftest.$ac_ext
14060 LIBS=$ac_check_lib_save_LIBS
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14063 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14064 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14066 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14068 else
14069 LCMS2_LIBS=""
14072 else
14073 LCMS2_CFLAGS=""
14074 LCMS2_LIBS=""
14076 CPPFLAGS=$ac_save_CPPFLAGS
14077 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14078 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14081 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14082 case "x$with_cms" in
14083 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14084 xno) ;;
14085 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14086 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14087 esac
14091 if test "x$with_freetype" != "xno"
14092 then
14093 if ${FREETYPE_CFLAGS:+false} :; then :
14094 if ${PKG_CONFIG+:} false; then :
14095 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14098 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14099 if ${FREETYPE_LIBS:+false} :; then :
14100 if ${PKG_CONFIG+:} false; then :
14101 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14104 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14105 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14106 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14107 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14108 ac_save_CPPFLAGS=$CPPFLAGS
14109 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14110 for ac_header in ft2build.h
14111 do :
14112 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14113 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14114 cat >>confdefs.h <<_ACEOF
14115 #define HAVE_FT2BUILD_H 1
14116 _ACEOF
14120 done
14122 if test "$ac_cv_header_ft2build_h" = "yes"
14123 then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14125 $as_echo_n "checking for -lfreetype... " >&6; }
14126 if ${ac_cv_lib_soname_freetype+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_check_soname_save_LIBS=$LIBS
14130 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14137 #ifdef __cplusplus
14138 extern "C"
14139 #endif
14140 char FT_Init_FreeType ();
14142 main ()
14144 return FT_Init_FreeType ();
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 case "$LIBEXT" in
14151 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14152 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'` ;;
14153 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14154 if ${ac_cv_lib_soname_freetype:+false} :; then :
14155 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14156 fi ;;
14157 esac
14158 else
14159 ac_cv_lib_soname_freetype=
14161 rm -f core conftest.err conftest.$ac_objext \
14162 conftest$ac_exeext conftest.$ac_ext
14163 LIBS=$ac_check_soname_save_LIBS
14165 if ${ac_cv_lib_soname_freetype:+false} :; then :
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14167 $as_echo "not found" >&6; }
14168 FREETYPE_LIBS=""
14169 else
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14171 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14173 cat >>confdefs.h <<_ACEOF
14174 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14175 _ACEOF
14178 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14180 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14181 #include FT_MODULE_H
14183 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14185 cat >>confdefs.h <<_ACEOF
14186 #define HAVE_FT_TRUETYPEENGINETYPE 1
14187 _ACEOF
14193 else
14194 FREETYPE_CFLAGS=""
14195 FREETYPE_LIBS=""
14197 CPPFLAGS=$ac_save_CPPFLAGS
14198 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14199 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14202 if test "x$ac_cv_lib_soname_freetype" = x; then :
14203 case "x$with_freetype" in
14204 xno) ;;
14205 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14206 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14207 esac
14208 enable_fonts=${enable_fonts:-no}
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14212 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14213 if ${ac_cv_c_ppdev+:} false; then :
14214 $as_echo_n "(cached) " >&6
14215 else
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14218 #ifdef HAVE_SYS_IOCTL_H
14219 # include <sys/ioctl.h>
14220 #endif
14221 #include <linux/ppdev.h>
14223 main ()
14225 ioctl (1,PPCLAIM,0)
14227 return 0;
14229 _ACEOF
14230 if ac_fn_c_try_compile "$LINENO"; then :
14231 ac_cv_c_ppdev="yes"
14232 else
14233 ac_cv_c_ppdev="no"
14235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14238 $as_echo "$ac_cv_c_ppdev" >&6; }
14239 if test "$ac_cv_c_ppdev" = "yes"
14240 then
14242 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14246 ac_wine_check_funcs_save_LIBS="$LIBS"
14247 LIBS="$LIBS "
14248 for ac_func in \
14249 pthread_getthreadid_np \
14250 $PTHREAD_LIBS
14251 do :
14252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14254 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14255 cat >>confdefs.h <<_ACEOF
14256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14257 _ACEOF
14260 done
14262 LIBS="$ac_wine_check_funcs_save_LIBS"
14264 if test "$ac_cv_header_zlib_h" = "yes"
14265 then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14267 $as_echo_n "checking for inflate in -lz... " >&6; }
14268 if ${ac_cv_lib_z_inflate+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 ac_check_lib_save_LIBS=$LIBS
14272 LIBS="-lz $LIBS"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14276 /* Override any GCC internal prototype to avoid an error.
14277 Use char because int might match the return type of a GCC
14278 builtin and then its argument prototype would still apply. */
14279 #ifdef __cplusplus
14280 extern "C"
14281 #endif
14282 char inflate ();
14284 main ()
14286 return inflate ();
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_lib_z_inflate=yes
14293 else
14294 ac_cv_lib_z_inflate=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 LIBS=$ac_check_lib_save_LIBS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14301 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14302 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14304 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14306 Z_LIBS="-lz"
14311 if test "x$Z_LIBS" = "x"; then :
14312 case "x$with_zlib" in
14313 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14314 xno) ;;
14315 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14316 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14317 esac
14321 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14322 then
14323 if test "$ac_cv_header_gettext_po_h" = "yes"
14324 then
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14326 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14327 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14328 $as_echo_n "(cached) " >&6
14329 else
14330 ac_check_lib_save_LIBS=$LIBS
14331 LIBS="-lgettextpo $LIBS"
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14335 /* Override any GCC internal prototype to avoid an error.
14336 Use char because int might match the return type of a GCC
14337 builtin and then its argument prototype would still apply. */
14338 #ifdef __cplusplus
14339 extern "C"
14340 #endif
14341 char po_message_msgctxt ();
14343 main ()
14345 return po_message_msgctxt ();
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14352 else
14353 ac_cv_lib_gettextpo_po_message_msgctxt=no
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14357 LIBS=$ac_check_lib_save_LIBS
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14360 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14361 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14363 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14365 GETTEXTPO_LIBS="-lgettextpo"
14370 if test "x$GETTEXTPO_LIBS" = "x"; then :
14371 case "x$with_gettextpo" in
14372 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14373 xno) ;;
14374 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14375 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14376 esac
14379 if test "$srcdir" != .; then :
14380 case "x$with_gettextpo" in
14381 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14382 xno) ;;
14383 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14384 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14385 esac
14390 if test "x$with_pulse" != "xno";
14391 then
14392 if ${PULSE_CFLAGS:+false} :; then :
14393 if ${PKG_CONFIG+:} false; then :
14394 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14398 if ${PULSE_LIBS:+false} :; then :
14399 if ${PKG_CONFIG+:} false; then :
14400 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14405 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14406 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14407 ac_save_CPPFLAGS=$CPPFLAGS
14408 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14409 for ac_header in pulse/pulseaudio.h
14410 do :
14411 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14412 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14413 cat >>confdefs.h <<_ACEOF
14414 #define HAVE_PULSE_PULSEAUDIO_H 1
14415 _ACEOF
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14417 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14418 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 ac_check_lib_save_LIBS=$LIBS
14422 LIBS="-lpulse $PULSE_LIBS $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14429 #ifdef __cplusplus
14430 extern "C"
14431 #endif
14432 char pa_stream_is_corked ();
14434 main ()
14436 return pa_stream_is_corked ();
14438 return 0;
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_lib_pulse_pa_stream_is_corked=yes
14443 else
14444 ac_cv_lib_pulse_pa_stream_is_corked=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 LIBS=$ac_check_lib_save_LIBS
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14451 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14452 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14454 else
14455 PULSE_LIBS=""
14458 else
14459 PULSE_LIBS=""
14462 done
14464 CPPFLAGS=$ac_save_CPPFLAGS
14465 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14466 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14469 if test -z "$PULSE_LIBS"; then :
14470 case "x$with_pulse" in
14471 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14472 xno) ;;
14473 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14474 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14475 esac
14476 enable_winepulse_drv=${enable_winepulse_drv:-no}
14479 if test "x$with_gstreamer" != "xno"
14480 then
14481 if ${GSTREAMER_CFLAGS:+false} :; then :
14482 if ${PKG_CONFIG+:} false; then :
14483 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14487 if ${GSTREAMER_LIBS:+false} :; then :
14488 if ${PKG_CONFIG+:} false; then :
14489 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14494 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14495 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14496 ac_save_CPPFLAGS=$CPPFLAGS
14497 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14498 ac_gst_incl=""
14499 for i in $GSTREAMER_CFLAGS
14501 case "$i" in
14502 -I*) ac_gst_incl="$ac_gst_incl $i";;
14503 esac
14504 done
14505 GSTREAMER_CFLAGS=$ac_gst_incl
14506 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14507 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14508 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14510 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 #include <gst/gst.h>
14515 main ()
14517 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_compile "$LINENO"; then :
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14524 $as_echo "yes" >&6; }
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14526 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14527 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_check_lib_save_LIBS=$LIBS
14531 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 #ifdef __cplusplus
14539 extern "C"
14540 #endif
14541 char gst_pad_new ();
14543 main ()
14545 return gst_pad_new ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14552 else
14553 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LIBS=$ac_check_lib_save_LIBS
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14560 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14561 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14565 else
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14567 $as_echo "no" >&6; }
14568 ac_glib2_broken=yes
14569 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14575 CPPFLAGS=$ac_save_CPPFLAGS
14576 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14577 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14580 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 :
14581 case "x$with_gstreamer" in
14582 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14583 xno) ;;
14584 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14585 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14586 esac
14589 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14591 ALSA_LIBS=""
14593 if test "x$with_alsa" != "xno"
14594 then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14596 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14597 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 ac_check_lib_save_LIBS=$LIBS
14601 LIBS="-lasound $LIBS"
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14605 /* Override any GCC internal prototype to avoid an error.
14606 Use char because int might match the return type of a GCC
14607 builtin and then its argument prototype would still apply. */
14608 #ifdef __cplusplus
14609 extern "C"
14610 #endif
14611 char snd_pcm_hw_params_get_access_mask ();
14613 main ()
14615 return snd_pcm_hw_params_get_access_mask ();
14617 return 0;
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14622 else
14623 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LIBS=$ac_check_lib_save_LIBS
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14630 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14631 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 #include <alsa/asoundlib.h>
14636 main ()
14638 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_compile "$LINENO"; then :
14644 ALSA_LIBS="-lasound"
14646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14652 if test "x$with_oss" != xno
14653 then
14654 ac_save_CPPFLAGS="$CPPFLAGS"
14655 if test -f /etc/oss.conf
14656 then
14657 . /etc/oss.conf
14659 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14660 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14661 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14662 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14663 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14665 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14667 cat >>confdefs.h <<_ACEOF
14668 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14669 _ACEOF
14671 OSS4_CFLAGS="$ac_oss_incl"
14678 CPPFLAGS="$ac_save_CPPFLAGS"
14680 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14681 case "x$with_oss" in
14682 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14683 xno) ;;
14684 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14685 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14686 esac
14687 enable_wineoss_drv=${enable_wineoss_drv:-no}
14690 if test "x$with_udev" != "xno"
14691 then
14692 if ${UDEV_CFLAGS:+false} :; then :
14693 if ${PKG_CONFIG+:} false; then :
14694 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14698 if ${UDEV_LIBS:+false} :; then :
14699 if ${PKG_CONFIG+:} false; then :
14700 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14704 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14705 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14706 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14707 ac_save_CPPFLAGS=$CPPFLAGS
14708 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14709 for ac_header in libudev.h
14710 do :
14711 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14712 if test "x$ac_cv_header_libudev_h" = xyes; then :
14713 cat >>confdefs.h <<_ACEOF
14714 #define HAVE_LIBUDEV_H 1
14715 _ACEOF
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14717 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14718 if ${ac_cv_lib_udev_udev_new+:} false; then :
14719 $as_echo_n "(cached) " >&6
14720 else
14721 ac_check_lib_save_LIBS=$LIBS
14722 LIBS="-ludev $UDEV_LIBS $LIBS"
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14726 /* Override any GCC internal prototype to avoid an error.
14727 Use char because int might match the return type of a GCC
14728 builtin and then its argument prototype would still apply. */
14729 #ifdef __cplusplus
14730 extern "C"
14731 #endif
14732 char udev_new ();
14734 main ()
14736 return udev_new ();
14738 return 0;
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_lib_udev_udev_new=yes
14743 else
14744 ac_cv_lib_udev_udev_new=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 LIBS=$ac_check_lib_save_LIBS
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14751 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14752 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14754 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14756 else
14757 UDEV_LIBS=""
14760 else
14761 UDEV_LIBS=""
14764 done
14766 CPPFLAGS=$ac_save_CPPFLAGS
14767 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14768 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14771 if test "x$UDEV_LIBS" = "x"; then :
14772 case "x$with_udev" in
14773 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14774 xno) ;;
14775 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14776 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14777 esac
14781 if test "x$with_sdl" != "xno"
14782 then
14783 if ${SDL2_CFLAGS:+false} :; then :
14784 if ${PKG_CONFIG+:} false; then :
14785 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14789 if ${SDL2_LIBS:+false} :; then :
14790 if ${PKG_CONFIG+:} false; then :
14791 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14795 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14796 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14797 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14798 ac_save_CPPFLAGS=$CPPFLAGS
14799 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14800 for ac_header in SDL2/SDL.h
14801 do :
14802 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14803 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14804 cat >>confdefs.h <<_ACEOF
14805 #define HAVE_SDL2_SDL_H 1
14806 _ACEOF
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14808 $as_echo_n "checking for -lSDL2... " >&6; }
14809 if ${ac_cv_lib_soname_SDL2+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_check_soname_save_LIBS=$LIBS
14813 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char SDL_Init ();
14825 main ()
14827 return SDL_Init ();
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 case "$LIBEXT" in
14834 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14835 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'` ;;
14836 *) 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'`
14837 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14838 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14839 fi ;;
14840 esac
14841 else
14842 ac_cv_lib_soname_SDL2=
14844 rm -f core conftest.err conftest.$ac_objext \
14845 conftest$ac_exeext conftest.$ac_ext
14846 LIBS=$ac_check_soname_save_LIBS
14848 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14850 $as_echo "not found" >&6; }
14852 else
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14854 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14856 cat >>confdefs.h <<_ACEOF
14857 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14858 _ACEOF
14864 done
14866 CPPFLAGS=$ac_save_CPPFLAGS
14867 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14868 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14871 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14872 case "x$with_sdl" in
14873 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14874 xno) ;;
14875 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14876 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14877 esac
14881 if test "x$with_faudio" != "xno"
14882 then
14883 if ${FAUDIO_CFLAGS:+false} :; then :
14884 if ${PKG_CONFIG+:} false; then :
14885 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14889 if ${FAUDIO_LIBS:+false} :; then :
14890 if ${PKG_CONFIG+:} false; then :
14891 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14895 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14896 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14897 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14898 ac_save_CPPFLAGS=$CPPFLAGS
14899 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14900 for ac_header in FAudio.h
14901 do :
14902 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14903 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14904 cat >>confdefs.h <<_ACEOF
14905 #define HAVE_FAUDIO_H 1
14906 _ACEOF
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14908 $as_echo_n "checking for -lFAudio... " >&6; }
14909 if ${ac_cv_lib_soname_FAudio+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 ac_check_soname_save_LIBS=$LIBS
14913 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14917 /* Override any GCC internal prototype to avoid an error.
14918 Use char because int might match the return type of a GCC
14919 builtin and then its argument prototype would still apply. */
14920 #ifdef __cplusplus
14921 extern "C"
14922 #endif
14923 char FAudioCreate ();
14925 main ()
14927 return FAudioCreate ();
14929 return 0;
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"; then :
14933 case "$LIBEXT" in
14934 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14935 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'` ;;
14936 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14937 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14938 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14939 fi ;;
14940 esac
14941 else
14942 ac_cv_lib_soname_FAudio=
14944 rm -f core conftest.err conftest.$ac_objext \
14945 conftest$ac_exeext conftest.$ac_ext
14946 LIBS=$ac_check_soname_save_LIBS
14948 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14950 $as_echo "not found" >&6; }
14952 else
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14954 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14956 cat >>confdefs.h <<_ACEOF
14957 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14958 _ACEOF
14964 done
14966 CPPFLAGS=$ac_save_CPPFLAGS
14967 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14968 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14971 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14972 case "x$with_faudio" in
14973 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14974 xno) ;;
14975 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14976 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14977 esac
14981 if test "x$with_capi" != "xno"
14982 then
14983 if ${CAPI20_CFLAGS:+false} :; then :
14984 if ${PKG_CONFIG+:} false; then :
14985 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14989 if ${CAPI20_LIBS:+false} :; then :
14990 if ${PKG_CONFIG+:} false; then :
14991 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14996 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14997 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14998 ac_save_CPPFLAGS=$CPPFLAGS
14999 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15000 for ac_header in capi20.h linux/capi.h
15001 do :
15002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15003 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15006 cat >>confdefs.h <<_ACEOF
15007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15008 _ACEOF
15012 done
15014 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15015 then
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15017 $as_echo_n "checking for -lcapi20... " >&6; }
15018 if ${ac_cv_lib_soname_capi20+:} false; then :
15019 $as_echo_n "(cached) " >&6
15020 else
15021 ac_check_soname_save_LIBS=$LIBS
15022 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 #ifdef __cplusplus
15030 extern "C"
15031 #endif
15032 char capi20_register ();
15034 main ()
15036 return capi20_register ();
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 case "$LIBEXT" in
15043 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15044 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'` ;;
15045 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15046 if ${ac_cv_lib_soname_capi20:+false} :; then :
15047 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15048 fi ;;
15049 esac
15050 else
15051 ac_cv_lib_soname_capi20=
15053 rm -f core conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15055 LIBS=$ac_check_soname_save_LIBS
15057 if ${ac_cv_lib_soname_capi20:+false} :; then :
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15059 $as_echo "not found" >&6; }
15061 else
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15063 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15065 cat >>confdefs.h <<_ACEOF
15066 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15067 _ACEOF
15072 CPPFLAGS=$ac_save_CPPFLAGS
15073 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15074 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15077 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15078 case "x$with_capi" in
15079 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15080 xno) ;;
15081 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15082 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15083 esac
15087 if test "x$with_cups" != "xno"
15088 then
15089 if ${CUPS_CFLAGS:+false} :; then :
15090 if ${PKG_CONFIG+:} false; then :
15091 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15094 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15095 if ${CUPS_LIBS:+false} :; then :
15096 if ${PKG_CONFIG+:} false; then :
15097 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15100 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15101 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15102 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15103 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15104 ac_save_CPPFLAGS=$CPPFLAGS
15105 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15106 for ac_header in cups/cups.h cups/ppd.h
15107 do :
15108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15109 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15113 _ACEOF
15117 done
15119 if test "$ac_cv_header_cups_cups_h" = "yes"
15120 then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15122 $as_echo_n "checking for -lcups... " >&6; }
15123 if ${ac_cv_lib_soname_cups+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_check_soname_save_LIBS=$LIBS
15127 LIBS="-lcups $CUPS_LIBS $LIBS"
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15131 /* Override any GCC internal prototype to avoid an error.
15132 Use char because int might match the return type of a GCC
15133 builtin and then its argument prototype would still apply. */
15134 #ifdef __cplusplus
15135 extern "C"
15136 #endif
15137 char cupsGetDefault ();
15139 main ()
15141 return cupsGetDefault ();
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 case "$LIBEXT" in
15148 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15149 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'` ;;
15150 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15151 if ${ac_cv_lib_soname_cups:+false} :; then :
15152 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15153 fi ;;
15154 esac
15155 else
15156 ac_cv_lib_soname_cups=
15158 rm -f core conftest.err conftest.$ac_objext \
15159 conftest$ac_exeext conftest.$ac_ext
15160 LIBS=$ac_check_soname_save_LIBS
15162 if ${ac_cv_lib_soname_cups:+false} :; then :
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15164 $as_echo "not found" >&6; }
15165 CUPS_LIBS=""
15166 else
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15168 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15170 cat >>confdefs.h <<_ACEOF
15171 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15172 _ACEOF
15176 else
15177 CUPS_CFLAGS=""
15178 CUPS_LIBS=""
15180 CPPFLAGS=$ac_save_CPPFLAGS
15181 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15182 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15185 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15186 case "x$with_cups" in
15187 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15188 xno) ;;
15189 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15190 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15191 esac
15195 if test "x$with_fontconfig" != "xno"
15196 then
15197 if ${FONTCONFIG_CFLAGS:+false} :; then :
15198 if ${PKG_CONFIG+:} false; then :
15199 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15202 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15203 if ${FONTCONFIG_LIBS:+false} :; then :
15204 if ${PKG_CONFIG+:} false; then :
15205 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15208 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15210 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15211 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15212 ac_save_CPPFLAGS=$CPPFLAGS
15213 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15214 for ac_header in fontconfig/fontconfig.h
15215 do :
15216 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15217 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15218 cat >>confdefs.h <<_ACEOF
15219 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15220 _ACEOF
15224 done
15226 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15227 then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15229 $as_echo_n "checking for -lfontconfig... " >&6; }
15230 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_check_soname_save_LIBS=$LIBS
15234 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 #ifdef __cplusplus
15242 extern "C"
15243 #endif
15244 char FcInit ();
15246 main ()
15248 return FcInit ();
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 case "$LIBEXT" in
15255 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15256 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'` ;;
15257 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15258 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15259 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15260 fi ;;
15261 esac
15262 else
15263 ac_cv_lib_soname_fontconfig=
15265 rm -f core conftest.err conftest.$ac_objext \
15266 conftest$ac_exeext conftest.$ac_ext
15267 LIBS=$ac_check_soname_save_LIBS
15269 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15271 $as_echo "not found" >&6; }
15272 FONTCONFIG_CFLAGS=""
15273 else
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15275 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15277 cat >>confdefs.h <<_ACEOF
15278 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15279 _ACEOF
15283 else
15284 FONTCONFIG_CFLAGS=""
15286 CPPFLAGS=$ac_save_CPPFLAGS
15287 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15288 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15291 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15292 case "x$with_fontconfig" in
15293 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15294 xno) ;;
15295 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15296 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15297 esac
15301 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15302 then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15304 $as_echo_n "checking for -lgsm... " >&6; }
15305 if ${ac_cv_lib_soname_gsm+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lgsm $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char gsm_create ();
15321 main ()
15323 return gsm_create ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_gsm:+false} :; then :
15334 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15337 else
15338 ac_cv_lib_soname_gsm=
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_gsm:+false} :; then :
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 $as_echo "not found" >&6; }
15348 else
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15350 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15352 cat >>confdefs.h <<_ACEOF
15353 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15354 _ACEOF
15359 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15360 case "x$with_gsm" in
15361 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15362 xno) ;;
15363 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15364 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15365 esac
15369 if test "x$with_krb5" != "xno"
15370 then
15371 if ${KRB5_CFLAGS:+false} :; then :
15372 if ${PKG_CONFIG+:} false; then :
15373 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15376 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15377 if ${KRB5_LIBS:+false} :; then :
15378 if ${PKG_CONFIG+:} false; then :
15379 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15382 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15384 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15385 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15386 ac_save_CPPFLAGS=$CPPFLAGS
15387 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15388 for ac_header in krb5/krb5.h
15389 do :
15390 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15391 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define HAVE_KRB5_KRB5_H 1
15394 _ACEOF
15398 done
15400 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15401 then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15403 $as_echo_n "checking for -lkrb5... " >&6; }
15404 if ${ac_cv_lib_soname_krb5+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 ac_check_soname_save_LIBS=$LIBS
15408 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 #ifdef __cplusplus
15416 extern "C"
15417 #endif
15418 char krb5_is_config_principal ();
15420 main ()
15422 return krb5_is_config_principal ();
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 case "$LIBEXT" in
15429 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15430 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'` ;;
15431 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15432 if ${ac_cv_lib_soname_krb5:+false} :; then :
15433 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15434 fi ;;
15435 esac
15436 else
15437 ac_cv_lib_soname_krb5=
15439 rm -f core conftest.err conftest.$ac_objext \
15440 conftest$ac_exeext conftest.$ac_ext
15441 LIBS=$ac_check_soname_save_LIBS
15443 if ${ac_cv_lib_soname_krb5:+false} :; then :
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15445 $as_echo "not found" >&6; }
15446 KRB5_CFLAGS=""
15447 else
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15449 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15451 cat >>confdefs.h <<_ACEOF
15452 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15453 _ACEOF
15457 else
15458 KRB5_CFLAGS=""
15460 CPPFLAGS=$ac_save_CPPFLAGS
15461 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15462 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15464 else
15465 with_gssapi=${with_gssapi:-no}
15467 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15468 case "x$with_krb5" in
15469 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15470 xno) ;;
15471 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15472 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15473 esac
15477 if test "x$with_gssapi" != "xno"
15478 then
15479 if ${GSSAPI_CFLAGS:+false} :; then :
15480 if ${PKG_CONFIG+:} false; then :
15481 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15484 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15485 if ${GSSAPI_LIBS:+false} :; then :
15486 if ${PKG_CONFIG+:} false; then :
15487 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15490 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15492 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15493 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15494 ac_save_CPPFLAGS=$CPPFLAGS
15495 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15496 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15497 do :
15498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15499 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15500 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15503 _ACEOF
15507 done
15509 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15510 then
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15512 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15513 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_soname_save_LIBS=$LIBS
15517 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char gss_init_sec_context ();
15529 main ()
15531 return gss_init_sec_context ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 case "$LIBEXT" in
15538 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 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'` ;;
15540 *) 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'`
15541 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15542 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 fi ;;
15544 esac
15545 else
15546 ac_cv_lib_soname_gssapi_krb5=
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15554 $as_echo "not found" >&6; }
15555 GSSAPI_CFLAGS=""
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15558 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15560 cat >>confdefs.h <<_ACEOF
15561 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15562 _ACEOF
15566 else
15567 GSSAPI_CFLAGS=""
15569 CPPFLAGS=$ac_save_CPPFLAGS
15570 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15571 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15574 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15575 case "x$with_gssapi" in
15576 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15577 xno) ;;
15578 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15579 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15580 esac
15584 if test "x$with_jpeg" != "xno"
15585 then
15586 if ${JPEG_CFLAGS:+false} :; then :
15587 if ${PKG_CONFIG+:} false; then :
15588 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15592 if ${JPEG_LIBS:+false} :; then :
15593 if ${PKG_CONFIG+:} false; then :
15594 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15599 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15600 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15601 ac_save_CPPFLAGS=$CPPFLAGS
15602 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15603 for ac_header in jpeglib.h
15604 do :
15605 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15606 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15607 cat >>confdefs.h <<_ACEOF
15608 #define HAVE_JPEGLIB_H 1
15609 _ACEOF
15613 done
15615 if test "$ac_cv_header_jpeglib_h" = "yes"
15616 then
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15618 $as_echo_n "checking for -ljpeg... " >&6; }
15619 if ${ac_cv_lib_soname_jpeg+:} false; then :
15620 $as_echo_n "(cached) " >&6
15621 else
15622 ac_check_soname_save_LIBS=$LIBS
15623 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15627 /* Override any GCC internal prototype to avoid an error.
15628 Use char because int might match the return type of a GCC
15629 builtin and then its argument prototype would still apply. */
15630 #ifdef __cplusplus
15631 extern "C"
15632 #endif
15633 char jpeg_start_decompress ();
15635 main ()
15637 return jpeg_start_decompress ();
15639 return 0;
15641 _ACEOF
15642 if ac_fn_c_try_link "$LINENO"; then :
15643 case "$LIBEXT" in
15644 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15645 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'` ;;
15646 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15647 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15648 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15649 fi ;;
15650 esac
15651 else
15652 ac_cv_lib_soname_jpeg=
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15656 LIBS=$ac_check_soname_save_LIBS
15658 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15660 $as_echo "not found" >&6; }
15661 JPEG_CFLAGS=""
15662 else
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15664 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15666 cat >>confdefs.h <<_ACEOF
15667 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15668 _ACEOF
15672 else
15673 JPEG_CFLAGS=""
15675 CPPFLAGS=$ac_save_CPPFLAGS
15676 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15677 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15680 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15681 case "x$with_jpeg" in
15682 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15683 xno) ;;
15684 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15685 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15686 esac
15690 if test "x$with_png" != "xno"
15691 then
15692 if ${PNG_CFLAGS:+false} :; then :
15693 if ${PKG_CONFIG+:} false; then :
15694 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15697 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15698 if ${PNG_LIBS:+false} :; then :
15699 if ${PKG_CONFIG+:} false; then :
15700 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15703 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15705 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15706 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15707 ac_save_CPPFLAGS=$CPPFLAGS
15708 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15709 for ac_header in png.h
15710 do :
15711 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15712 if test "x$ac_cv_header_png_h" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_PNG_H 1
15715 _ACEOF
15719 done
15721 if test "$ac_cv_header_png_h" = "yes"
15722 then
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15724 $as_echo_n "checking for -lpng... " >&6; }
15725 if ${ac_cv_lib_soname_png+:} false; then :
15726 $as_echo_n "(cached) " >&6
15727 else
15728 ac_check_soname_save_LIBS=$LIBS
15729 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15733 /* Override any GCC internal prototype to avoid an error.
15734 Use char because int might match the return type of a GCC
15735 builtin and then its argument prototype would still apply. */
15736 #ifdef __cplusplus
15737 extern "C"
15738 #endif
15739 char png_create_read_struct ();
15741 main ()
15743 return png_create_read_struct ();
15745 return 0;
15747 _ACEOF
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 case "$LIBEXT" in
15750 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15751 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'` ;;
15752 *) 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'`
15753 if ${ac_cv_lib_soname_png:+false} :; then :
15754 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15755 fi ;;
15756 esac
15757 else
15758 ac_cv_lib_soname_png=
15760 rm -f core conftest.err conftest.$ac_objext \
15761 conftest$ac_exeext conftest.$ac_ext
15762 LIBS=$ac_check_soname_save_LIBS
15764 if ${ac_cv_lib_soname_png:+false} :; then :
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15766 $as_echo "not found" >&6; }
15767 PNG_CFLAGS=""
15768 else
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15770 $as_echo "$ac_cv_lib_soname_png" >&6; }
15772 cat >>confdefs.h <<_ACEOF
15773 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15774 _ACEOF
15778 else
15779 PNG_CFLAGS=""
15781 CPPFLAGS=$ac_save_CPPFLAGS
15782 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15783 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15786 if test "x$ac_cv_lib_soname_png" = "x"; then :
15787 case "x$with_png" in
15788 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15789 xno) ;;
15790 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15791 This is an error since --with-png was requested." "$LINENO" 5 ;;
15792 esac
15796 if test "x$with_tiff" != "xno"
15797 then
15798 if ${TIFF_CFLAGS:+false} :; then :
15799 if ${PKG_CONFIG+:} false; then :
15800 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15804 if ${TIFF_LIBS:+false} :; then :
15805 if ${PKG_CONFIG+:} false; then :
15806 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15811 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15812 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15813 ac_save_CPPFLAGS=$CPPFLAGS
15814 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15815 for ac_header in tiffio.h
15816 do :
15817 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15818 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_TIFFIO_H 1
15821 _ACEOF
15825 done
15827 if test "$ac_cv_header_tiffio_h" = "yes"
15828 then
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15830 $as_echo_n "checking for -ltiff... " >&6; }
15831 if ${ac_cv_lib_soname_tiff+:} false; then :
15832 $as_echo_n "(cached) " >&6
15833 else
15834 ac_check_soname_save_LIBS=$LIBS
15835 LIBS="-ltiff $TIFF_LIBS $LIBS"
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15842 #ifdef __cplusplus
15843 extern "C"
15844 #endif
15845 char TIFFClientOpen ();
15847 main ()
15849 return TIFFClientOpen ();
15851 return 0;
15853 _ACEOF
15854 if ac_fn_c_try_link "$LINENO"; then :
15855 case "$LIBEXT" in
15856 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15857 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'` ;;
15858 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15859 if ${ac_cv_lib_soname_tiff:+false} :; then :
15860 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15861 fi ;;
15862 esac
15863 else
15864 ac_cv_lib_soname_tiff=
15866 rm -f core conftest.err conftest.$ac_objext \
15867 conftest$ac_exeext conftest.$ac_ext
15868 LIBS=$ac_check_soname_save_LIBS
15870 if ${ac_cv_lib_soname_tiff:+false} :; then :
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15872 $as_echo "not found" >&6; }
15874 else
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15876 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15878 cat >>confdefs.h <<_ACEOF
15879 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15880 _ACEOF
15885 CPPFLAGS=$ac_save_CPPFLAGS
15886 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15887 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15890 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15891 case "x$with_tiff" in
15892 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15893 xno) ;;
15894 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15895 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15896 esac
15900 if test "x$with_mpg123" != "xno"
15901 then
15902 if ${MPG123_CFLAGS:+false} :; then :
15903 if ${PKG_CONFIG+:} false; then :
15904 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15908 if ${MPG123_LIBS:+false} :; then :
15909 if ${PKG_CONFIG+:} false; then :
15910 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15914 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15915 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15916 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15917 ac_save_CPPFLAGS=$CPPFLAGS
15918 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15919 for ac_header in mpg123.h
15920 do :
15921 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15922 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_MPG123_H 1
15925 _ACEOF
15929 done
15931 if test "$ac_cv_header_mpg123_h" = "yes"
15932 then
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15934 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15935 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_check_lib_save_LIBS=$LIBS
15939 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15943 /* Override any GCC internal prototype to avoid an error.
15944 Use char because int might match the return type of a GCC
15945 builtin and then its argument prototype would still apply. */
15946 #ifdef __cplusplus
15947 extern "C"
15948 #endif
15949 char mpg123_feed ();
15951 main ()
15953 return mpg123_feed ();
15955 return 0;
15957 _ACEOF
15958 if ac_fn_c_try_link "$LINENO"; then :
15959 ac_cv_lib_mpg123_mpg123_feed=yes
15960 else
15961 ac_cv_lib_mpg123_mpg123_feed=no
15963 rm -f core conftest.err conftest.$ac_objext \
15964 conftest$ac_exeext conftest.$ac_ext
15965 LIBS=$ac_check_lib_save_LIBS
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15968 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15969 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15971 else
15972 MPG123_LIBS=""
15975 else
15976 MPG123_CFLAGS=""
15977 MPG123_LIBS=""
15979 CPPFLAGS=$ac_save_CPPFLAGS
15980 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15981 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15984 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15985 case "x$with_mpg123" in
15986 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15987 xno) ;;
15988 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15989 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15990 esac
15991 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15993 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15995 if test "$ac_cv_header_AL_al_h" = "yes"
15996 then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15998 $as_echo_n "checking for -lopenal... " >&6; }
15999 if ${ac_cv_lib_soname_openal+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_check_soname_save_LIBS=$LIBS
16003 LIBS="-lopenal $LIBS"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char alGetSource3i ();
16015 main ()
16017 return alGetSource3i ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 case "$LIBEXT" in
16024 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16025 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'` ;;
16026 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16027 if ${ac_cv_lib_soname_openal:+false} :; then :
16028 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16029 fi ;;
16030 esac
16031 else
16032 ac_cv_lib_soname_openal=
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_openal:+false} :; then :
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16040 $as_echo "not found" >&6; }
16042 else
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16044 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16046 cat >>confdefs.h <<_ACEOF
16047 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16048 _ACEOF
16050 OPENAL_LIBS="-lopenal"
16052 ac_cv_lib_openal=yes
16054 cat >>confdefs.h <<_ACEOF
16055 #define HAVE_OPENAL 1
16056 _ACEOF
16060 if test "x$ac_cv_lib_openal" != xyes; then :
16061 case "x$with_openal" in
16062 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16063 xno) ;;
16064 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16065 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16066 esac
16067 enable_openal32=${enable_openal32:-no}
16070 if test "x$ac_cv_lib_soname_FAudio" = "x"
16071 then
16072 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16073 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16074 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16075 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16076 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16077 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16078 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16079 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16080 enable_xapofx1_1=${enable_xapofx1_1:-no}
16081 enable_xapofx1_2=${enable_xapofx1_2:-no}
16082 enable_xapofx1_3=${enable_xapofx1_3:-no}
16083 enable_xapofx1_4=${enable_xapofx1_4:-no}
16084 enable_xapofx1_5=${enable_xapofx1_5:-no}
16085 enable_xaudio2_0=${enable_xaudio2_0:-no}
16086 enable_xaudio2_1=${enable_xaudio2_1:-no}
16087 enable_xaudio2_2=${enable_xaudio2_2:-no}
16088 enable_xaudio2_3=${enable_xaudio2_3:-no}
16089 enable_xaudio2_4=${enable_xaudio2_4:-no}
16090 enable_xaudio2_5=${enable_xaudio2_5:-no}
16091 enable_xaudio2_6=${enable_xaudio2_6:-no}
16092 enable_xaudio2_7=${enable_xaudio2_7:-no}
16093 enable_xaudio2_8=${enable_xaudio2_8:-no}
16094 enable_xaudio2_9=${enable_xaudio2_9:-no}
16097 if test "$ac_cv_header_kstat_h" = "yes"
16098 then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16100 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16101 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 ac_check_lib_save_LIBS=$LIBS
16105 LIBS="-lkstat $LIBS"
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16109 /* Override any GCC internal prototype to avoid an error.
16110 Use char because int might match the return type of a GCC
16111 builtin and then its argument prototype would still apply. */
16112 #ifdef __cplusplus
16113 extern "C"
16114 #endif
16115 char kstat_open ();
16117 main ()
16119 return kstat_open ();
16121 return 0;
16123 _ACEOF
16124 if ac_fn_c_try_link "$LINENO"; then :
16125 ac_cv_lib_kstat_kstat_open=yes
16126 else
16127 ac_cv_lib_kstat_kstat_open=no
16129 rm -f core conftest.err conftest.$ac_objext \
16130 conftest$ac_exeext conftest.$ac_ext
16131 LIBS=$ac_check_lib_save_LIBS
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16134 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16135 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16137 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16139 KSTAT_LIBS="-lkstat"
16145 if test "$ac_cv_header_libprocstat_h" = "yes"
16146 then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16148 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16149 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_check_lib_save_LIBS=$LIBS
16153 LIBS="-lprocstat $LIBS"
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16160 #ifdef __cplusplus
16161 extern "C"
16162 #endif
16163 char procstat_open_sysctl ();
16165 main ()
16167 return procstat_open_sysctl ();
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 ac_cv_lib_procstat_procstat_open_sysctl=yes
16174 else
16175 ac_cv_lib_procstat_procstat_open_sysctl=no
16177 rm -f core conftest.err conftest.$ac_objext \
16178 conftest$ac_exeext conftest.$ac_ext
16179 LIBS=$ac_check_lib_save_LIBS
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16182 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16183 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16185 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16187 PROCSTAT_LIBS="-lprocstat"
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16194 $as_echo_n "checking for -lodbc... " >&6; }
16195 if ${ac_cv_lib_soname_odbc+:} false; then :
16196 $as_echo_n "(cached) " >&6
16197 else
16198 ac_check_soname_save_LIBS=$LIBS
16199 LIBS="-lodbc $LIBS"
16200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16203 /* Override any GCC internal prototype to avoid an error.
16204 Use char because int might match the return type of a GCC
16205 builtin and then its argument prototype would still apply. */
16206 #ifdef __cplusplus
16207 extern "C"
16208 #endif
16209 char SQLConnect ();
16211 main ()
16213 return SQLConnect ();
16215 return 0;
16217 _ACEOF
16218 if ac_fn_c_try_link "$LINENO"; then :
16219 case "$LIBEXT" in
16220 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16221 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'` ;;
16222 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16223 if ${ac_cv_lib_soname_odbc:+false} :; then :
16224 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16225 fi ;;
16226 esac
16227 else
16228 ac_cv_lib_soname_odbc=
16230 rm -f core conftest.err conftest.$ac_objext \
16231 conftest$ac_exeext conftest.$ac_ext
16232 LIBS=$ac_check_soname_save_LIBS
16234 if ${ac_cv_lib_soname_odbc:+false} :; then :
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16236 $as_echo "not found" >&6; }
16237 cat >>confdefs.h <<_ACEOF
16238 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16239 _ACEOF
16241 else
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16243 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16245 cat >>confdefs.h <<_ACEOF
16246 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16247 _ACEOF
16252 if test "x$with_netapi" != "xno"
16253 then
16254 if ${NETAPI_CFLAGS:+false} :; then :
16255 if ${PKG_CONFIG+:} false; then :
16256 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16260 if ${NETAPI_LIBS:+false} :; then :
16261 if ${PKG_CONFIG+:} false; then :
16262 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16267 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16268 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16269 ac_save_CPPFLAGS=$CPPFLAGS
16270 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16272 $as_echo_n "checking for -lnetapi... " >&6; }
16273 if ${ac_cv_lib_soname_netapi+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 ac_check_soname_save_LIBS=$LIBS
16277 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16281 /* Override any GCC internal prototype to avoid an error.
16282 Use char because int might match the return type of a GCC
16283 builtin and then its argument prototype would still apply. */
16284 #ifdef __cplusplus
16285 extern "C"
16286 #endif
16287 char libnetapi_init ();
16289 main ()
16291 return libnetapi_init ();
16293 return 0;
16295 _ACEOF
16296 if ac_fn_c_try_link "$LINENO"; then :
16297 case "$LIBEXT" in
16298 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16299 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'` ;;
16300 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16301 if ${ac_cv_lib_soname_netapi:+false} :; then :
16302 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16303 fi ;;
16304 esac
16305 else
16306 ac_cv_lib_soname_netapi=
16308 rm -f core conftest.err conftest.$ac_objext \
16309 conftest$ac_exeext conftest.$ac_ext
16310 LIBS=$ac_check_soname_save_LIBS
16312 if ${ac_cv_lib_soname_netapi:+false} :; then :
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16314 $as_echo "not found" >&6; }
16315 cat >>confdefs.h <<_ACEOF
16316 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16317 _ACEOF
16319 else
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16321 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16323 cat >>confdefs.h <<_ACEOF
16324 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16325 _ACEOF
16329 CPPFLAGS=$ac_save_CPPFLAGS
16330 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16331 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16335 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16336 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16337 then
16338 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16341 if test "x$with_vulkan" != "xno"
16342 then
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16344 $as_echo_n "checking for -lvulkan... " >&6; }
16345 if ${ac_cv_lib_soname_vulkan+:} false; then :
16346 $as_echo_n "(cached) " >&6
16347 else
16348 ac_check_soname_save_LIBS=$LIBS
16349 LIBS="-lvulkan $LIBS"
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16353 /* Override any GCC internal prototype to avoid an error.
16354 Use char because int might match the return type of a GCC
16355 builtin and then its argument prototype would still apply. */
16356 #ifdef __cplusplus
16357 extern "C"
16358 #endif
16359 char vkGetInstanceProcAddr ();
16361 main ()
16363 return vkGetInstanceProcAddr ();
16365 return 0;
16367 _ACEOF
16368 if ac_fn_c_try_link "$LINENO"; then :
16369 case "$LIBEXT" in
16370 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16371 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'` ;;
16372 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16373 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16374 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16375 fi ;;
16376 esac
16377 else
16378 ac_cv_lib_soname_vulkan=
16380 rm -f core conftest.err conftest.$ac_objext \
16381 conftest$ac_exeext conftest.$ac_ext
16382 LIBS=$ac_check_soname_save_LIBS
16384 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16386 $as_echo "not found" >&6; }
16388 else
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16390 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16392 cat >>confdefs.h <<_ACEOF
16393 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16394 _ACEOF
16398 if test "x$ac_cv_lib_soname_vulkan" = "x"
16399 then
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16401 $as_echo_n "checking for -lMoltenVK... " >&6; }
16402 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 ac_check_soname_save_LIBS=$LIBS
16406 LIBS="-lMoltenVK $LIBS"
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16410 /* Override any GCC internal prototype to avoid an error.
16411 Use char because int might match the return type of a GCC
16412 builtin and then its argument prototype would still apply. */
16413 #ifdef __cplusplus
16414 extern "C"
16415 #endif
16416 char vkGetInstanceProcAddr ();
16418 main ()
16420 return vkGetInstanceProcAddr ();
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_link "$LINENO"; then :
16426 case "$LIBEXT" in
16427 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16428 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'` ;;
16429 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16430 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16431 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16432 fi ;;
16433 esac
16434 else
16435 ac_cv_lib_soname_MoltenVK=
16437 rm -f core conftest.err conftest.$ac_objext \
16438 conftest$ac_exeext conftest.$ac_ext
16439 LIBS=$ac_check_soname_save_LIBS
16441 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16443 $as_echo "not found" >&6; }
16445 else
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16447 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16449 cat >>confdefs.h <<_ACEOF
16450 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16451 _ACEOF
16457 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16458 case "x$with_vulkan" in
16459 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16460 xno) ;;
16461 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16462 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16463 esac
16467 if test "x$with_vkd3d" != "xno"
16468 then
16469 if ${VKD3D_CFLAGS:+false} :; then :
16470 if ${PKG_CONFIG+:} false; then :
16471 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16475 if ${VKD3D_LIBS:+false} :; then :
16476 if ${PKG_CONFIG+:} false; then :
16477 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16482 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16483 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16484 ac_save_CPPFLAGS=$CPPFLAGS
16485 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16487 $as_echo_n "checking for -lvkd3d... " >&6; }
16488 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16489 $as_echo_n "(cached) " >&6
16490 else
16491 ac_check_soname_save_LIBS=$LIBS
16492 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16496 /* Override any GCC internal prototype to avoid an error.
16497 Use char because int might match the return type of a GCC
16498 builtin and then its argument prototype would still apply. */
16499 #ifdef __cplusplus
16500 extern "C"
16501 #endif
16502 char vkd3d_get_dxgi_format ();
16504 main ()
16506 return vkd3d_get_dxgi_format ();
16508 return 0;
16510 _ACEOF
16511 if ac_fn_c_try_link "$LINENO"; then :
16512 case "$LIBEXT" in
16513 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16514 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'` ;;
16515 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16516 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16517 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16518 fi ;;
16519 esac
16520 else
16521 ac_cv_lib_soname_vkd3d=
16523 rm -f core conftest.err conftest.$ac_objext \
16524 conftest$ac_exeext conftest.$ac_ext
16525 LIBS=$ac_check_soname_save_LIBS
16527 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16529 $as_echo "not found" >&6; }
16531 else
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16533 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16535 cat >>confdefs.h <<_ACEOF
16536 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16537 _ACEOF
16541 CPPFLAGS=$ac_save_CPPFLAGS
16542 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16543 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16546 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16547 case "x$with_vkd3d" in
16548 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16549 xno) ;;
16550 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16551 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16552 esac
16555 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16558 EXTRACFLAGS=""
16560 if test "x${GCC}" = "xyes"
16561 then
16562 EXTRACFLAGS="-Wall -pipe"
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16565 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16566 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 if test "$cross_compiling" = yes; then :
16570 ac_cv_c_gcc_strength_bug="no"
16571 else
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16574 int L[4] = {0,1,2,3};
16576 main ()
16578 static int Array[3];
16579 unsigned int B = 3;
16580 int i;
16581 for(i=0; i<B; i++) Array[i] = i - 3;
16582 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16583 L[i] = 4;
16584 return (Array[1] != -2 || L[2] != 3)
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_run "$LINENO"; then :
16590 ac_cv_c_gcc_strength_bug="no"
16591 else
16592 ac_cv_c_gcc_strength_bug="yes"
16594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16595 conftest.$ac_objext conftest.beam conftest.$ac_ext
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16600 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16601 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16602 then
16603 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16607 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16608 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16609 $as_echo_n "(cached) " >&6
16610 else
16611 ac_wine_try_cflags_saved=$CFLAGS
16612 CFLAGS="$CFLAGS -fno-strict-aliasing"
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615 int main(int argc, char **argv) { return 0; }
16616 _ACEOF
16617 if ac_fn_c_try_link "$LINENO"; then :
16618 ac_cv_cflags__fno_strict_aliasing=yes
16619 else
16620 ac_cv_cflags__fno_strict_aliasing=no
16622 rm -f core conftest.err conftest.$ac_objext \
16623 conftest$ac_exeext conftest.$ac_ext
16624 CFLAGS=$ac_wine_try_cflags_saved
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16627 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16628 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16629 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16632 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16633 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16634 $as_echo_n "(cached) " >&6
16635 else
16636 ac_wine_try_cflags_saved=$CFLAGS
16637 CFLAGS="$CFLAGS -fexcess-precision=standard"
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 int main(int argc, char **argv) { return 0; }
16641 _ACEOF
16642 if ac_fn_c_try_link "$LINENO"; then :
16643 ac_cv_cflags__fexcess_precision_standard=yes
16644 else
16645 ac_cv_cflags__fexcess_precision_standard=no
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16649 CFLAGS=$ac_wine_try_cflags_saved
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16652 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16653 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16654 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16657 saved_CFLAGS=$CFLAGS
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16659 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16660 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16661 $as_echo_n "(cached) " >&6
16662 else
16663 ac_wine_try_cflags_saved=$CFLAGS
16664 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 int main(int argc, char **argv) { return 0; }
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 ac_cv_cflags__Werror_unknown_warning_option=yes
16671 else
16672 ac_cv_cflags__Werror_unknown_warning_option=no
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16676 CFLAGS=$ac_wine_try_cflags_saved
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16679 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16680 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16681 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16684 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16685 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16686 $as_echo_n "(cached) " >&6
16687 else
16688 ac_wine_try_cflags_saved=$CFLAGS
16689 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16692 int main(int argc, char **argv) { return 0; }
16693 _ACEOF
16694 if ac_fn_c_try_link "$LINENO"; then :
16695 ac_cv_cflags__Wdeclaration_after_statement=yes
16696 else
16697 ac_cv_cflags__Wdeclaration_after_statement=no
16699 rm -f core conftest.err conftest.$ac_objext \
16700 conftest$ac_exeext conftest.$ac_ext
16701 CFLAGS=$ac_wine_try_cflags_saved
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16704 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16705 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16706 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16709 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16710 if ${ac_cv_cflags__Wempty_body+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 ac_wine_try_cflags_saved=$CFLAGS
16714 CFLAGS="$CFLAGS -Wempty-body"
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 int main(int argc, char **argv) { return 0; }
16718 _ACEOF
16719 if ac_fn_c_try_link "$LINENO"; then :
16720 ac_cv_cflags__Wempty_body=yes
16721 else
16722 ac_cv_cflags__Wempty_body=no
16724 rm -f core conftest.err conftest.$ac_objext \
16725 conftest$ac_exeext conftest.$ac_ext
16726 CFLAGS=$ac_wine_try_cflags_saved
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16729 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16730 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16731 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16734 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16735 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16736 $as_echo_n "(cached) " >&6
16737 else
16738 ac_wine_try_cflags_saved=$CFLAGS
16739 CFLAGS="$CFLAGS -Wignored-qualifiers"
16740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16741 /* end confdefs.h. */
16742 int main(int argc, char **argv) { return 0; }
16743 _ACEOF
16744 if ac_fn_c_try_link "$LINENO"; then :
16745 ac_cv_cflags__Wignored_qualifiers=yes
16746 else
16747 ac_cv_cflags__Wignored_qualifiers=no
16749 rm -f core conftest.err conftest.$ac_objext \
16750 conftest$ac_exeext conftest.$ac_ext
16751 CFLAGS=$ac_wine_try_cflags_saved
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16754 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16755 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16756 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16759 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16760 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 ac_wine_try_cflags_saved=$CFLAGS
16764 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 int main(int argc, char **argv) { return 0; }
16768 _ACEOF
16769 if ac_fn_c_try_link "$LINENO"; then :
16770 ac_cv_cflags__Wpacked_not_aligned=yes
16771 else
16772 ac_cv_cflags__Wpacked_not_aligned=no
16774 rm -f core conftest.err conftest.$ac_objext \
16775 conftest$ac_exeext conftest.$ac_ext
16776 CFLAGS=$ac_wine_try_cflags_saved
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16779 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16780 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16781 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16784 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16785 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 ac_wine_try_cflags_saved=$CFLAGS
16789 CFLAGS="$CFLAGS -Wpragma-pack"
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16792 int main(int argc, char **argv) { return 0; }
16793 _ACEOF
16794 if ac_fn_c_try_link "$LINENO"; then :
16795 ac_cv_cflags__Wpragma_pack=yes
16796 else
16797 ac_cv_cflags__Wpragma_pack=no
16799 rm -f core conftest.err conftest.$ac_objext \
16800 conftest$ac_exeext conftest.$ac_ext
16801 CFLAGS=$ac_wine_try_cflags_saved
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16804 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16805 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16806 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16809 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16810 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16811 $as_echo_n "(cached) " >&6
16812 else
16813 ac_wine_try_cflags_saved=$CFLAGS
16814 CFLAGS="$CFLAGS -Wshift-overflow=2"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 int main(int argc, char **argv) { return 0; }
16818 _ACEOF
16819 if ac_fn_c_try_link "$LINENO"; then :
16820 ac_cv_cflags__Wshift_overflow_2=yes
16821 else
16822 ac_cv_cflags__Wshift_overflow_2=no
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16826 CFLAGS=$ac_wine_try_cflags_saved
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16829 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16830 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16831 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16834 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16835 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16836 $as_echo_n "(cached) " >&6
16837 else
16838 ac_wine_try_cflags_saved=$CFLAGS
16839 CFLAGS="$CFLAGS -Wstrict-prototypes"
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16842 int main(int argc, char **argv) { return 0; }
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"; then :
16845 ac_cv_cflags__Wstrict_prototypes=yes
16846 else
16847 ac_cv_cflags__Wstrict_prototypes=no
16849 rm -f core conftest.err conftest.$ac_objext \
16850 conftest$ac_exeext conftest.$ac_ext
16851 CFLAGS=$ac_wine_try_cflags_saved
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16854 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16855 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16856 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16859 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16860 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 ac_wine_try_cflags_saved=$CFLAGS
16864 CFLAGS="$CFLAGS -Wtype-limits"
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16867 int main(int argc, char **argv) { return 0; }
16868 _ACEOF
16869 if ac_fn_c_try_link "$LINENO"; then :
16870 ac_cv_cflags__Wtype_limits=yes
16871 else
16872 ac_cv_cflags__Wtype_limits=no
16874 rm -f core conftest.err conftest.$ac_objext \
16875 conftest$ac_exeext conftest.$ac_ext
16876 CFLAGS=$ac_wine_try_cflags_saved
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16879 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16880 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16881 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16884 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16885 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16888 ac_wine_try_cflags_saved=$CFLAGS
16889 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16892 int main(int argc, char **argv) { return 0; }
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 ac_cv_cflags__Wunused_but_set_parameter=yes
16896 else
16897 ac_cv_cflags__Wunused_but_set_parameter=no
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16901 CFLAGS=$ac_wine_try_cflags_saved
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16904 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16905 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16906 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16909 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16910 if ${ac_cv_cflags__Wvla+:} false; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16913 ac_wine_try_cflags_saved=$CFLAGS
16914 CFLAGS="$CFLAGS -Wvla"
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 int main(int argc, char **argv) { return 0; }
16918 _ACEOF
16919 if ac_fn_c_try_link "$LINENO"; then :
16920 ac_cv_cflags__Wvla=yes
16921 else
16922 ac_cv_cflags__Wvla=no
16924 rm -f core conftest.err conftest.$ac_objext \
16925 conftest$ac_exeext conftest.$ac_ext
16926 CFLAGS=$ac_wine_try_cflags_saved
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16929 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16930 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16931 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16934 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16935 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16936 $as_echo_n "(cached) " >&6
16937 else
16938 ac_wine_try_cflags_saved=$CFLAGS
16939 CFLAGS="$CFLAGS -Wwrite-strings"
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 int main(int argc, char **argv) { return 0; }
16943 _ACEOF
16944 if ac_fn_c_try_link "$LINENO"; then :
16945 ac_cv_cflags__Wwrite_strings=yes
16946 else
16947 ac_cv_cflags__Wwrite_strings=no
16949 rm -f core conftest.err conftest.$ac_objext \
16950 conftest$ac_exeext conftest.$ac_ext
16951 CFLAGS=$ac_wine_try_cflags_saved
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16954 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16955 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16956 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16960 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16961 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 ac_wine_try_cflags_saved=$CFLAGS
16965 CFLAGS="$CFLAGS -Wpointer-arith"
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 int main(int argc, char **argv) { return 0; }
16969 _ACEOF
16970 if ac_fn_c_try_link "$LINENO"; then :
16971 ac_cv_cflags__Wpointer_arith=yes
16972 else
16973 ac_cv_cflags__Wpointer_arith=no
16975 rm -f core conftest.err conftest.$ac_objext \
16976 conftest$ac_exeext conftest.$ac_ext
16977 CFLAGS=$ac_wine_try_cflags_saved
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16980 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16981 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16982 saved_string_h_CFLAGS=$CFLAGS
16983 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16985 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16986 if ${ac_cv_c_string_h_warnings+:} false; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 #include <string.h>
16993 main ()
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_compile "$LINENO"; then :
17001 ac_cv_c_string_h_warnings=no
17002 else
17003 ac_cv_c_string_h_warnings=yes
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17008 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17009 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17010 CFLAGS=$saved_string_h_CFLAGS
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17014 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17015 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 ac_wine_try_cflags_saved=$CFLAGS
17019 CFLAGS="$CFLAGS -Wlogical-op"
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 int main(int argc, char **argv) { return 0; }
17023 _ACEOF
17024 if ac_fn_c_try_link "$LINENO"; then :
17025 ac_cv_cflags__Wlogical_op=yes
17026 else
17027 ac_cv_cflags__Wlogical_op=no
17029 rm -f core conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17031 CFLAGS=$ac_wine_try_cflags_saved
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17034 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17035 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17036 saved_string_h_CFLAGS=$CFLAGS
17037 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17039 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17040 if ${ac_cv_c_logicalop_noisy+:} false; then :
17041 $as_echo_n "(cached) " >&6
17042 else
17043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h. */
17045 #include <string.h>
17046 char*f(const char *h,char n) {return strchr(h,n);}
17048 main ()
17052 return 0;
17054 _ACEOF
17055 if ac_fn_c_try_compile "$LINENO"; then :
17056 ac_cv_c_logicalop_noisy=no
17057 else
17058 ac_cv_c_logicalop_noisy=yes
17060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17063 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17064 CFLAGS=$saved_string_h_CFLAGS
17065 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17068 CFLAGS=$saved_CFLAGS
17070 for ac_flag in $CFLAGS; do
17071 case $ac_flag in
17072 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17073 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17074 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 ac_wine_try_cflags_saved=$CFLAGS
17078 CFLAGS="$CFLAGS -gdwarf-2"
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17081 int main(int argc, char **argv) { return 0; }
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 ac_cv_cflags__gdwarf_2=yes
17085 else
17086 ac_cv_cflags__gdwarf_2=no
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17090 CFLAGS=$ac_wine_try_cflags_saved
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17093 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17094 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17095 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17098 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17099 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 ac_wine_try_cflags_saved=$CFLAGS
17103 CFLAGS="$CFLAGS -gstrict-dwarf"
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__gstrict_dwarf=yes
17110 else
17111 ac_cv_cflags__gstrict_dwarf=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__gstrict_dwarf" >&5
17118 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17119 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17120 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17121 fi ;;
17122 esac
17123 done
17125 MSVCRTFLAGS=""
17127 case $host_os in
17128 cygwin*|mingw32*) ;;
17129 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17130 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17131 if ${ac_cv_cflags__fno_builtin+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 ac_wine_try_cflags_saved=$CFLAGS
17135 CFLAGS="$CFLAGS -fno-builtin"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 int main(int argc, char **argv) { return 0; }
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 ac_cv_cflags__fno_builtin=yes
17142 else
17143 ac_cv_cflags__fno_builtin=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17147 CFLAGS=$ac_wine_try_cflags_saved
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17150 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17151 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17152 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17155 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17156 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 ac_wine_try_cflags_saved=$CFLAGS
17160 CFLAGS="$CFLAGS -fshort-wchar"
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__fshort_wchar=yes
17167 else
17168 ac_cv_cflags__fshort_wchar=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__fshort_wchar" >&5
17175 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17176 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17177 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17178 fi ;;
17179 esac
17181 case $host_cpu in
17182 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17183 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17184 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 ac_wine_try_cflags_saved=$CFLAGS
17188 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17191 int main(int argc, char **argv) { return 0; }
17192 _ACEOF
17193 if ac_fn_c_try_link "$LINENO"; then :
17194 ac_cv_cflags__fno_omit_frame_pointer=yes
17195 else
17196 ac_cv_cflags__fno_omit_frame_pointer=no
17198 rm -f core conftest.err conftest.$ac_objext \
17199 conftest$ac_exeext conftest.$ac_ext
17200 CFLAGS=$ac_wine_try_cflags_saved
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17203 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17204 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17205 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17206 fi ;;
17207 esac
17209 case $host in
17210 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17211 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17212 if ${ac_cv_cflags__Wno_format+:} false; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17215 ac_wine_try_cflags_saved=$CFLAGS
17216 CFLAGS="$CFLAGS -Wno-format"
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 int main(int argc, char **argv) { return 0; }
17220 _ACEOF
17221 if ac_fn_c_try_link "$LINENO"; then :
17222 ac_cv_cflags__Wno_format=yes
17223 else
17224 ac_cv_cflags__Wno_format=no
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17228 CFLAGS=$ac_wine_try_cflags_saved
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17231 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17232 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17233 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17234 fi ;;
17235 esac
17237 if test "x$enable_maintainer_mode" = "xyes"
17238 then
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17240 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17241 if ${ac_cv_cflags__Werror+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_wine_try_cflags_saved=$CFLAGS
17245 CFLAGS="$CFLAGS -Werror"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 int main(int argc, char **argv) { return 0; }
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_cflags__Werror=yes
17252 else
17253 ac_cv_cflags__Werror=no
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17257 CFLAGS=$ac_wine_try_cflags_saved
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17260 $as_echo "$ac_cv_cflags__Werror" >&6; }
17261 if test "x$ac_cv_cflags__Werror" = xyes; then :
17262 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17269 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17270 if ${ac_cv_c_fortify_enabled+:} false; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17275 #include <string.h>
17277 main ()
17279 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17280 #error Fortify enabled
17281 #endif
17283 return 0;
17285 _ACEOF
17286 if ac_fn_c_try_compile "$LINENO"; then :
17287 ac_cv_c_fortify_enabled=no
17288 else
17289 ac_cv_c_fortify_enabled=yes
17291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17294 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17295 if test "$ac_cv_c_fortify_enabled" = yes
17296 then
17297 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17302 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17303 if ${ac_cv_c_cfi_support+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17310 main ()
17314 return 0;
17316 _ACEOF
17317 if ac_fn_c_try_compile "$LINENO"; then :
17318 ac_cv_c_cfi_support="yes"
17319 else
17320 ac_cv_c_cfi_support="no"
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17325 $as_echo "$ac_cv_c_cfi_support" >&6; }
17326 if test "$ac_cv_c_cfi_support" = "yes"
17327 then
17328 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17329 else
17330 if test "x$enable_win64" = "xyes"
17331 then
17332 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17337 case $build_os in
17338 cygwin*|mingw32*) TOOLSEXT=".exe"
17340 esac
17342 case $host_os in
17343 linux*)
17344 case $host_cpu in
17345 *i[3456789]86*|x86_64*|*aarch64*)
17346 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17347 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17349 esac
17351 esac
17354 ac_save_CFLAGS="$CFLAGS"
17355 CFLAGS="$CFLAGS $BUILTINFLAG"
17356 for ac_func in \
17357 __res_get_state \
17358 __res_getservers \
17359 _spawnvp \
17360 dlopen \
17361 epoll_create \
17362 ffs \
17363 finitef \
17364 fnmatch \
17365 fork \
17366 fpclass \
17367 fstatfs \
17368 fstatvfs \
17369 futimens \
17370 futimes \
17371 futimesat \
17372 getattrlist \
17373 getauxval \
17374 getifaddrs \
17375 getopt_long_only \
17376 kqueue \
17377 lstat \
17378 pipe2 \
17379 poll \
17380 port_create \
17381 prctl \
17382 pread \
17383 proc_pidinfo \
17384 pwrite \
17385 readdir \
17386 readlink \
17387 sched_yield \
17388 select \
17389 setproctitle \
17390 setprogname \
17391 settimeofday \
17392 sigprocmask \
17393 statfs \
17394 statvfs \
17395 strnlen \
17396 strtold \
17397 symlink \
17398 sysinfo \
17399 tcdrain \
17400 thr_kill2 \
17401 timegm \
17402 usleep
17404 do :
17405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17410 _ACEOF
17413 done
17415 CFLAGS="$ac_save_CFLAGS"
17417 if test "$ac_cv_func_dlopen" = no
17418 then
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17420 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17421 if ${ac_cv_lib_dl_dlopen+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 ac_check_lib_save_LIBS=$LIBS
17425 LIBS="-ldl $LIBS"
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17429 /* Override any GCC internal prototype to avoid an error.
17430 Use char because int might match the return type of a GCC
17431 builtin and then its argument prototype would still apply. */
17432 #ifdef __cplusplus
17433 extern "C"
17434 #endif
17435 char dlopen ();
17437 main ()
17439 return dlopen ();
17441 return 0;
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_lib_dl_dlopen=yes
17446 else
17447 ac_cv_lib_dl_dlopen=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 LIBS=$ac_check_lib_save_LIBS
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17454 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17455 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17456 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17457 DL_LIBS="-ldl"
17462 ac_wine_check_funcs_save_LIBS="$LIBS"
17463 LIBS="$LIBS $DL_LIBS"
17464 for ac_func in dladdr
17465 do :
17466 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17467 if test "x$ac_cv_func_dladdr" = xyes; then :
17468 cat >>confdefs.h <<_ACEOF
17469 #define HAVE_DLADDR 1
17470 _ACEOF
17473 done
17475 LIBS="$ac_wine_check_funcs_save_LIBS"
17477 if test "$ac_cv_func_poll" = no
17478 then
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17480 $as_echo_n "checking for poll in -lpoll... " >&6; }
17481 if ${ac_cv_lib_poll_poll+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 ac_check_lib_save_LIBS=$LIBS
17485 LIBS="-lpoll $LIBS"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17489 /* Override any GCC internal prototype to avoid an error.
17490 Use char because int might match the return type of a GCC
17491 builtin and then its argument prototype would still apply. */
17492 #ifdef __cplusplus
17493 extern "C"
17494 #endif
17495 char poll ();
17497 main ()
17499 return poll ();
17501 return 0;
17503 _ACEOF
17504 if ac_fn_c_try_link "$LINENO"; then :
17505 ac_cv_lib_poll_poll=yes
17506 else
17507 ac_cv_lib_poll_poll=no
17509 rm -f core conftest.err conftest.$ac_objext \
17510 conftest$ac_exeext conftest.$ac_ext
17511 LIBS=$ac_check_lib_save_LIBS
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17514 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17515 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17516 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17517 POLL_LIBS="-lpoll"
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17524 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17525 if ${ac_cv_search_gethostbyname+:} false; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528 ac_func_search_save_LIBS=$LIBS
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17532 /* Override any GCC internal prototype to avoid an error.
17533 Use char because int might match the return type of a GCC
17534 builtin and then its argument prototype would still apply. */
17535 #ifdef __cplusplus
17536 extern "C"
17537 #endif
17538 char gethostbyname ();
17540 main ()
17542 return gethostbyname ();
17544 return 0;
17546 _ACEOF
17547 for ac_lib in '' nsl; do
17548 if test -z "$ac_lib"; then
17549 ac_res="none required"
17550 else
17551 ac_res=-l$ac_lib
17552 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 ac_cv_search_gethostbyname=$ac_res
17557 rm -f core conftest.err conftest.$ac_objext \
17558 conftest$ac_exeext
17559 if ${ac_cv_search_gethostbyname+:} false; then :
17560 break
17562 done
17563 if ${ac_cv_search_gethostbyname+:} false; then :
17565 else
17566 ac_cv_search_gethostbyname=no
17568 rm conftest.$ac_ext
17569 LIBS=$ac_func_search_save_LIBS
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17572 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17573 ac_res=$ac_cv_search_gethostbyname
17574 if test "$ac_res" != no; then :
17575 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17581 $as_echo_n "checking for library containing connect... " >&6; }
17582 if ${ac_cv_search_connect+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 ac_func_search_save_LIBS=$LIBS
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17589 /* Override any GCC internal prototype to avoid an error.
17590 Use char because int might match the return type of a GCC
17591 builtin and then its argument prototype would still apply. */
17592 #ifdef __cplusplus
17593 extern "C"
17594 #endif
17595 char connect ();
17597 main ()
17599 return connect ();
17601 return 0;
17603 _ACEOF
17604 for ac_lib in '' socket; do
17605 if test -z "$ac_lib"; then
17606 ac_res="none required"
17607 else
17608 ac_res=-l$ac_lib
17609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17611 if ac_fn_c_try_link "$LINENO"; then :
17612 ac_cv_search_connect=$ac_res
17614 rm -f core conftest.err conftest.$ac_objext \
17615 conftest$ac_exeext
17616 if ${ac_cv_search_connect+:} false; then :
17617 break
17619 done
17620 if ${ac_cv_search_connect+:} false; then :
17622 else
17623 ac_cv_search_connect=no
17625 rm conftest.$ac_ext
17626 LIBS=$ac_func_search_save_LIBS
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17629 $as_echo "$ac_cv_search_connect" >&6; }
17630 ac_res=$ac_cv_search_connect
17631 if test "$ac_res" != no; then :
17632 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17638 $as_echo_n "checking for library containing inet_aton... " >&6; }
17639 if ${ac_cv_search_inet_aton+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 ac_func_search_save_LIBS=$LIBS
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17646 /* Override any GCC internal prototype to avoid an error.
17647 Use char because int might match the return type of a GCC
17648 builtin and then its argument prototype would still apply. */
17649 #ifdef __cplusplus
17650 extern "C"
17651 #endif
17652 char inet_aton ();
17654 main ()
17656 return inet_aton ();
17658 return 0;
17660 _ACEOF
17661 for ac_lib in '' resolv; do
17662 if test -z "$ac_lib"; then
17663 ac_res="none required"
17664 else
17665 ac_res=-l$ac_lib
17666 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17668 if ac_fn_c_try_link "$LINENO"; then :
17669 ac_cv_search_inet_aton=$ac_res
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext
17673 if ${ac_cv_search_inet_aton+:} false; then :
17674 break
17676 done
17677 if ${ac_cv_search_inet_aton+:} false; then :
17679 else
17680 ac_cv_search_inet_aton=no
17682 rm conftest.$ac_ext
17683 LIBS=$ac_func_search_save_LIBS
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17686 $as_echo "$ac_cv_search_inet_aton" >&6; }
17687 ac_res=$ac_cv_search_inet_aton
17688 if test "$ac_res" != no; then :
17689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17694 for ac_func in \
17695 getaddrinfo \
17696 getnameinfo \
17697 getnetbyname \
17698 getprotobyname \
17699 getprotobynumber \
17700 getservbyport \
17701 inet_addr \
17702 inet_network \
17703 inet_ntop \
17704 inet_pton \
17706 do :
17707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17710 cat >>confdefs.h <<_ACEOF
17711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17712 _ACEOF
17715 done
17718 case $host_os in
17719 darwin*|macosx*) ;;
17720 *) ac_save_LIBS=$LIBS
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17722 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17723 if ${ac_cv_search_clock_gettime+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 ac_func_search_save_LIBS=$LIBS
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17730 /* Override any GCC internal prototype to avoid an error.
17731 Use char because int might match the return type of a GCC
17732 builtin and then its argument prototype would still apply. */
17733 #ifdef __cplusplus
17734 extern "C"
17735 #endif
17736 char clock_gettime ();
17738 main ()
17740 return clock_gettime ();
17742 return 0;
17744 _ACEOF
17745 for ac_lib in '' rt; do
17746 if test -z "$ac_lib"; then
17747 ac_res="none required"
17748 else
17749 ac_res=-l$ac_lib
17750 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17752 if ac_fn_c_try_link "$LINENO"; then :
17753 ac_cv_search_clock_gettime=$ac_res
17755 rm -f core conftest.err conftest.$ac_objext \
17756 conftest$ac_exeext
17757 if ${ac_cv_search_clock_gettime+:} false; then :
17758 break
17760 done
17761 if ${ac_cv_search_clock_gettime+:} false; then :
17763 else
17764 ac_cv_search_clock_gettime=no
17766 rm conftest.$ac_ext
17767 LIBS=$ac_func_search_save_LIBS
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17770 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17771 ac_res=$ac_cv_search_clock_gettime
17772 if test "$ac_res" != no; then :
17773 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17775 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17777 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17781 LIBS=$ac_save_LIBS
17783 esac
17785 if test "x$with_ldap" != "xno"
17786 then
17787 if ${LDAP_CFLAGS:+false} :; then :
17788 if ${PKG_CONFIG+:} false; then :
17789 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17793 if ${LDAP_LIBS:+false} :; then :
17794 if ${PKG_CONFIG+:} false; then :
17795 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17799 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17800 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17801 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17802 ac_save_CPPFLAGS=$CPPFLAGS
17803 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17804 for ac_header in ldap.h lber.h
17805 do :
17806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17809 cat >>confdefs.h <<_ACEOF
17810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17811 _ACEOF
17815 done
17817 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17818 then
17819 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17821 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17823 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17824 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827 ac_check_lib_save_LIBS=$LIBS
17828 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 /* Override any GCC internal prototype to avoid an error.
17833 Use char because int might match the return type of a GCC
17834 builtin and then its argument prototype would still apply. */
17835 #ifdef __cplusplus
17836 extern "C"
17837 #endif
17838 char ldap_initialize ();
17840 main ()
17842 return ldap_initialize ();
17844 return 0;
17846 _ACEOF
17847 if ac_fn_c_try_link "$LINENO"; then :
17848 ac_cv_lib_ldap_r_ldap_initialize=yes
17849 else
17850 ac_cv_lib_ldap_r_ldap_initialize=no
17852 rm -f core conftest.err conftest.$ac_objext \
17853 conftest$ac_exeext conftest.$ac_ext
17854 LIBS=$ac_check_lib_save_LIBS
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17857 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17858 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17860 $as_echo_n "checking for ber_init in -llber... " >&6; }
17861 if ${ac_cv_lib_lber_ber_init+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 ac_check_lib_save_LIBS=$LIBS
17865 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17869 /* Override any GCC internal prototype to avoid an error.
17870 Use char because int might match the return type of a GCC
17871 builtin and then its argument prototype would still apply. */
17872 #ifdef __cplusplus
17873 extern "C"
17874 #endif
17875 char ber_init ();
17877 main ()
17879 return ber_init ();
17881 return 0;
17883 _ACEOF
17884 if ac_fn_c_try_link "$LINENO"; then :
17885 ac_cv_lib_lber_ber_init=yes
17886 else
17887 ac_cv_lib_lber_ber_init=no
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext conftest.$ac_ext
17891 LIBS=$ac_check_lib_save_LIBS
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17894 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17895 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17897 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17899 else
17900 LDAP_LIBS=""
17903 else
17904 LDAP_LIBS=""
17907 else
17908 LDAP_LIBS=""
17911 ac_wine_check_funcs_save_LIBS="$LIBS"
17912 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17913 for ac_func in \
17914 ldap_count_references \
17915 ldap_first_reference \
17916 ldap_next_reference \
17917 ldap_parse_reference \
17918 ldap_parse_sort_control \
17919 ldap_parse_sortresponse_control \
17920 ldap_parse_vlv_control \
17921 ldap_parse_vlvresponse_control
17922 do :
17923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17925 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17926 cat >>confdefs.h <<_ACEOF
17927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17928 _ACEOF
17931 done
17933 LIBS="$ac_wine_check_funcs_save_LIBS"
17934 else
17935 LDAP_LIBS=""
17937 CPPFLAGS=$ac_save_CPPFLAGS
17938 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17939 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17942 if test "x$LDAP_LIBS" = "x"; then :
17943 case "x$with_ldap" in
17944 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17945 xno) ;;
17946 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17947 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17948 esac
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17953 $as_echo_n "checking for sched_setaffinity... " >&6; }
17954 if ${wine_cv_have_sched_setaffinity+:} false; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #define _GNU_SOURCE
17960 #include <sched.h>
17962 main ()
17964 sched_setaffinity(0, 0, 0);
17966 return 0;
17968 _ACEOF
17969 if ac_fn_c_try_link "$LINENO"; then :
17970 wine_cv_have_sched_setaffinity=yes
17971 else
17972 wine_cv_have_sched_setaffinity=no
17974 rm -f core conftest.err conftest.$ac_objext \
17975 conftest$ac_exeext conftest.$ac_ext
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17978 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17979 if test "$wine_cv_have_sched_setaffinity" = "yes"
17980 then
17982 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17987 $as_echo_n "checking for fallocate... " >&6; }
17988 if ${wine_cv_have_fallocate+:} false; then :
17989 $as_echo_n "(cached) " >&6
17990 else
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #define _GNU_SOURCE
17994 #include <fcntl.h>
17996 main ()
17998 fallocate(-1, 0, 0, 0);
18000 return 0;
18002 _ACEOF
18003 if ac_fn_c_try_link "$LINENO"; then :
18004 wine_cv_have_fallocate=yes
18005 else
18006 wine_cv_have_fallocate=no
18008 rm -f core conftest.err conftest.$ac_objext \
18009 conftest$ac_exeext conftest.$ac_ext
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18012 $as_echo "$wine_cv_have_fallocate" >&6; }
18013 if test "$wine_cv_have_fallocate" = "yes"
18014 then
18016 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18022 $as_echo_n "checking for inline... " >&6; }
18023 if ${ac_cv_c_inline+:} false; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18026 ac_cv_c_inline=no
18027 for ac_kw in inline __inline__ __inline; do
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18030 #ifndef __cplusplus
18031 typedef int foo_t;
18032 static $ac_kw foo_t static_foo () {return 0; }
18033 $ac_kw foo_t foo () {return 0; }
18034 #endif
18036 _ACEOF
18037 if ac_fn_c_try_compile "$LINENO"; then :
18038 ac_cv_c_inline=$ac_kw
18040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18041 test "$ac_cv_c_inline" != no && break
18042 done
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18046 $as_echo "$ac_cv_c_inline" >&6; }
18048 case $ac_cv_c_inline in
18049 inline | yes) ;;
18051 case $ac_cv_c_inline in
18052 no) ac_val=;;
18053 *) ac_val=$ac_cv_c_inline;;
18054 esac
18055 cat >>confdefs.h <<_ACEOF
18056 #ifndef __cplusplus
18057 #define inline $ac_val
18058 #endif
18059 _ACEOF
18061 esac
18063 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18064 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_FSBLKCNT_T 1
18068 _ACEOF
18072 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18073 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18075 cat >>confdefs.h <<_ACEOF
18076 #define HAVE_FSFILCNT_T 1
18077 _ACEOF
18082 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18083 #include <signal.h>
18085 if test "x$ac_cv_type_sigset_t" = xyes; then :
18087 cat >>confdefs.h <<_ACEOF
18088 #define HAVE_SIGSET_T 1
18089 _ACEOF
18094 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18096 if test "x$ac_cv_type_request_sense" = xyes; then :
18098 cat >>confdefs.h <<_ACEOF
18099 #define HAVE_REQUEST_SENSE 1
18100 _ACEOF
18106 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18107 #ifdef HAVE_SYS_SOCKET_H
18108 #include <sys/socket.h>
18109 #endif
18110 #ifdef HAVE_SYS_SOCKETVAR_H
18111 #include <sys/socketvar.h>
18112 #endif
18113 #ifdef HAVE_NET_ROUTE_H
18114 #include <net/route.h>
18115 #endif
18116 #ifdef HAVE_NETINET_IN_H
18117 #include <netinet/in.h>
18118 #endif
18119 #ifdef HAVE_NETINET_IN_SYSTM_H
18120 #include <netinet/in_systm.h>
18121 #endif
18122 #ifdef HAVE_NETINET_IP_H
18123 #include <netinet/ip.h>
18124 #endif
18125 #ifdef HAVE_NETINET_IN_PCB_H
18126 #include <netinet/in_pcb.h>
18127 #endif
18129 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18131 cat >>confdefs.h <<_ACEOF
18132 #define HAVE_STRUCT_XINPGEN 1
18133 _ACEOF
18139 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18140 #include <link.h>
18141 #endif
18142 #ifdef HAVE_SYS_LINK_H
18143 #include <sys/link.h>
18144 #endif
18146 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18148 cat >>confdefs.h <<_ACEOF
18149 #define HAVE_STRUCT_R_DEBUG 1
18150 _ACEOF
18154 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18155 #include <link.h>
18156 #endif
18157 #ifdef HAVE_SYS_LINK_H
18158 #include <sys/link.h>
18159 #endif
18161 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18163 cat >>confdefs.h <<_ACEOF
18164 #define HAVE_STRUCT_LINK_MAP 1
18165 _ACEOF
18171 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18172 #include <linux/input.h>
18173 #endif
18175 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18177 cat >>confdefs.h <<_ACEOF
18178 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18179 _ACEOF
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18186 $as_echo_n "checking for if_nameindex... " >&6; }
18187 if ${wine_cv_have_if_nameindex+:} false; then :
18188 $as_echo_n "(cached) " >&6
18189 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #ifdef HAVE_SYS_TYPES_H
18193 #include <sys/types.h>
18194 #endif
18195 #ifdef HAVE_SYS_SOCKET_H
18196 #include <sys/socket.h>
18197 #endif
18198 #ifdef HAVE_NET_IF_H
18199 # include <net/if.h>
18200 #endif
18202 main ()
18204 struct if_nameindex *p = if_nameindex(); return p->if_index;
18206 return 0;
18208 _ACEOF
18209 if ac_fn_c_try_link "$LINENO"; then :
18210 wine_cv_have_if_nameindex=yes
18211 else
18212 wine_cv_have_if_nameindex=no
18214 rm -f core conftest.err conftest.$ac_objext \
18215 conftest$ac_exeext conftest.$ac_ext
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18218 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18219 if test "$wine_cv_have_if_nameindex" = "yes"
18220 then
18222 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18227 $as_echo_n "checking for sigaddset... " >&6; }
18228 if ${wine_cv_have_sigaddset+:} false; then :
18229 $as_echo_n "(cached) " >&6
18230 else
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18233 #include <signal.h>
18235 main ()
18237 sigset_t set; sigaddset(&set,SIGTERM);
18239 return 0;
18241 _ACEOF
18242 if ac_fn_c_try_link "$LINENO"; then :
18243 wine_cv_have_sigaddset=yes
18244 else
18245 wine_cv_have_sigaddset=no
18247 rm -f core conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext conftest.$ac_ext
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18251 $as_echo "$wine_cv_have_sigaddset" >&6; }
18252 if test "$wine_cv_have_sigaddset" = "yes"
18253 then
18255 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18261 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18262 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18263 $as_echo_n "(cached) " >&6
18264 else
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18267 #include <netdb.h>
18269 main ()
18272 char *name=0;
18273 struct hostent he;
18274 struct hostent *result;
18275 char *buf=0;
18276 int bufsize=0;
18277 int errnr;
18278 char *addr=0;
18279 int addrlen=0;
18280 int addrtype=0;
18281 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18282 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18285 return 0;
18287 _ACEOF
18288 if ac_fn_c_try_link "$LINENO"; then :
18289 wine_cv_linux_gethostbyname_r_6=yes
18290 else
18291 wine_cv_linux_gethostbyname_r_6=no
18294 rm -f core conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18299 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18300 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18301 then
18303 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18307 if test "$ac_cv_header_linux_joystick_h" = "yes"
18308 then
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18310 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18311 if ${wine_cv_linux_joystick_22_api+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 #include <sys/ioctl.h>
18318 #include <sys/types.h>
18319 #include <linux/joystick.h>
18321 struct js_event blub;
18322 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18323 #error "no 2.2 header"
18324 #endif
18327 main ()
18329 /*empty*/
18331 return 0;
18333 _ACEOF
18334 if ac_fn_c_try_compile "$LINENO"; then :
18335 wine_cv_linux_joystick_22_api=yes
18336 else
18337 wine_cv_linux_joystick_22_api=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18343 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18344 if test "$wine_cv_linux_joystick_22_api" = "yes"
18345 then
18347 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18353 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18354 #ifdef HAVE_SYS_PARAM_H
18355 # include <sys/param.h>
18356 #endif
18357 #ifdef HAVE_SYS_MOUNT_H
18358 # include <sys/mount.h>
18359 #endif
18360 #ifdef HAVE_SYS_VFS_H
18361 # include <sys/vfs.h>
18362 #endif
18363 #ifdef HAVE_SYS_STATFS_H
18364 # include <sys/statfs.h>
18365 #endif
18367 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18369 cat >>confdefs.h <<_ACEOF
18370 #define HAVE_STRUCT_STATFS_F_BFREE 1
18371 _ACEOF
18375 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18376 #ifdef HAVE_SYS_PARAM_H
18377 # include <sys/param.h>
18378 #endif
18379 #ifdef HAVE_SYS_MOUNT_H
18380 # include <sys/mount.h>
18381 #endif
18382 #ifdef HAVE_SYS_VFS_H
18383 # include <sys/vfs.h>
18384 #endif
18385 #ifdef HAVE_SYS_STATFS_H
18386 # include <sys/statfs.h>
18387 #endif
18389 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18393 _ACEOF
18397 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18398 #ifdef HAVE_SYS_PARAM_H
18399 # include <sys/param.h>
18400 #endif
18401 #ifdef HAVE_SYS_MOUNT_H
18402 # include <sys/mount.h>
18403 #endif
18404 #ifdef HAVE_SYS_VFS_H
18405 # include <sys/vfs.h>
18406 #endif
18407 #ifdef HAVE_SYS_STATFS_H
18408 # include <sys/statfs.h>
18409 #endif
18411 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18413 cat >>confdefs.h <<_ACEOF
18414 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18415 _ACEOF
18419 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18420 #ifdef HAVE_SYS_PARAM_H
18421 # include <sys/param.h>
18422 #endif
18423 #ifdef HAVE_SYS_MOUNT_H
18424 # include <sys/mount.h>
18425 #endif
18426 #ifdef HAVE_SYS_VFS_H
18427 # include <sys/vfs.h>
18428 #endif
18429 #ifdef HAVE_SYS_STATFS_H
18430 # include <sys/statfs.h>
18431 #endif
18433 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18435 cat >>confdefs.h <<_ACEOF
18436 #define HAVE_STRUCT_STATFS_F_FFREE 1
18437 _ACEOF
18441 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18442 #ifdef HAVE_SYS_PARAM_H
18443 # include <sys/param.h>
18444 #endif
18445 #ifdef HAVE_SYS_MOUNT_H
18446 # include <sys/mount.h>
18447 #endif
18448 #ifdef HAVE_SYS_VFS_H
18449 # include <sys/vfs.h>
18450 #endif
18451 #ifdef HAVE_SYS_STATFS_H
18452 # include <sys/statfs.h>
18453 #endif
18455 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18459 _ACEOF
18463 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18464 #ifdef HAVE_SYS_PARAM_H
18465 # include <sys/param.h>
18466 #endif
18467 #ifdef HAVE_SYS_MOUNT_H
18468 # include <sys/mount.h>
18469 #endif
18470 #ifdef HAVE_SYS_VFS_H
18471 # include <sys/vfs.h>
18472 #endif
18473 #ifdef HAVE_SYS_STATFS_H
18474 # include <sys/statfs.h>
18475 #endif
18477 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18479 cat >>confdefs.h <<_ACEOF
18480 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18481 _ACEOF
18487 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18488 #include <sys/statvfs.h>
18489 #endif
18491 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18493 cat >>confdefs.h <<_ACEOF
18494 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18495 _ACEOF
18501 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18502 #include <dirent.h>
18503 #endif
18505 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18507 cat >>confdefs.h <<_ACEOF
18508 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18509 _ACEOF
18515 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18516 #ifdef HAVE_SYS_SOCKET_H
18517 # include <sys/socket.h>
18518 #endif
18519 #ifdef HAVE_SYS_UN_H
18520 # include <sys/un.h>
18521 #endif
18523 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18525 cat >>confdefs.h <<_ACEOF
18526 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18527 _ACEOF
18531 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18532 #ifdef HAVE_SYS_SOCKET_H
18533 # include <sys/socket.h>
18534 #endif
18535 #ifdef HAVE_SYS_UN_H
18536 # include <sys/un.h>
18537 #endif
18539 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18541 cat >>confdefs.h <<_ACEOF
18542 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18543 _ACEOF
18547 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18548 #ifdef HAVE_SYS_SOCKET_H
18549 # include <sys/socket.h>
18550 #endif
18551 #ifdef HAVE_SYS_UN_H
18552 # include <sys/un.h>
18553 #endif
18555 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18557 cat >>confdefs.h <<_ACEOF
18558 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18559 _ACEOF
18565 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18566 #ifdef HAVE_SCSI_SG_H
18567 #include <scsi/sg.h>
18568 #endif
18570 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18572 cat >>confdefs.h <<_ACEOF
18573 #define HAVE_SCSIREQ_T_CMD 1
18574 _ACEOF
18578 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>
18579 #ifdef HAVE_SCSI_SG_H
18580 #include <scsi/sg.h>
18581 #endif
18583 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18585 cat >>confdefs.h <<_ACEOF
18586 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18587 _ACEOF
18593 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18595 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18597 cat >>confdefs.h <<_ACEOF
18598 #define HAVE_SIGINFO_T_SI_FD 1
18599 _ACEOF
18605 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18606 #ifdef HAVE_SYS_MTIO_H
18607 #include <sys/mtio.h>
18608 #endif
18610 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18614 _ACEOF
18618 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18619 #ifdef HAVE_SYS_MTIO_H
18620 #include <sys/mtio.h>
18621 #endif
18623 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18625 cat >>confdefs.h <<_ACEOF
18626 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18627 _ACEOF
18631 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18632 #ifdef HAVE_SYS_MTIO_H
18633 #include <sys/mtio.h>
18634 #endif
18636 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18638 cat >>confdefs.h <<_ACEOF
18639 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18640 _ACEOF
18646 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18647 #include <getopt.h>
18648 #endif
18650 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18652 cat >>confdefs.h <<_ACEOF
18653 #define HAVE_STRUCT_OPTION_NAME 1
18654 _ACEOF
18660 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18661 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18663 cat >>confdefs.h <<_ACEOF
18664 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18665 _ACEOF
18669 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18670 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_STRUCT_STAT_ST_MTIM 1
18674 _ACEOF
18678 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18679 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18683 _ACEOF
18687 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18688 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define HAVE_STRUCT_STAT_ST_CTIM 1
18692 _ACEOF
18696 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18697 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18699 cat >>confdefs.h <<_ACEOF
18700 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18701 _ACEOF
18705 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18706 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18708 cat >>confdefs.h <<_ACEOF
18709 #define HAVE_STRUCT_STAT_ST_ATIM 1
18710 _ACEOF
18714 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18715 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18719 _ACEOF
18723 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18724 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18728 _ACEOF
18732 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18733 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18735 cat >>confdefs.h <<_ACEOF
18736 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18737 _ACEOF
18741 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18742 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18746 _ACEOF
18750 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18751 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18753 cat >>confdefs.h <<_ACEOF
18754 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18755 _ACEOF
18759 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18760 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18762 cat >>confdefs.h <<_ACEOF
18763 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18764 _ACEOF
18770 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
18771 #include <sys/types.h>
18772 #endif
18773 #ifdef HAVE_NETINET_IN_H
18774 #include <netinet/in.h>
18775 #endif
18777 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18781 _ACEOF
18787 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18788 #include <sys/types.h>
18789 #endif
18790 #ifdef HAVE_NETINET_IN_H
18791 #include <netinet/in.h>
18792 #endif
18793 #ifdef HAVE_RESOLV_H
18794 #include <resolv.h>
18795 #endif
18797 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT___RES_STATE 1
18801 _ACEOF
18807 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
18808 #include <resolv.h>
18809 #endif
18811 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18815 _ACEOF
18821 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18822 #include <sys/types.h>
18823 #endif
18824 #ifdef HAVE_NETINET_IN_H
18825 # include <netinet/in.h>
18826 #endif
18827 #ifdef HAVE_ARPA_NAMESER_H
18828 # include <arpa/nameser.h>
18829 #endif
18831 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18833 cat >>confdefs.h <<_ACEOF
18834 #define HAVE_NS_MSG__MSG_PTR 1
18835 _ACEOF
18841 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18842 #include <sys/types.h>
18843 #endif
18844 #ifdef HAVE_NETINET_IN_H
18845 #include <netinet/in.h>
18846 #endif
18847 #ifdef HAVE_NETINET_IP_H
18848 #include <netinet/ip.h>
18849 #endif
18850 #ifdef HAVE_NETINET_IP_ICMP_H
18851 #include <netinet/ip_icmp.h>
18852 #endif
18853 #ifdef HAVE_NETINET_ICMP_VAR_H
18854 #include <netinet/icmp_var.h>
18855 #endif
18857 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18859 cat >>confdefs.h <<_ACEOF
18860 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18861 _ACEOF
18867 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18868 #include <sys/types.h>
18869 #endif
18870 #ifdef HAVE_ALIAS_H
18871 #include <alias.h>
18872 #endif
18873 #ifdef HAVE_SYS_SOCKET_H
18874 #include <sys/socket.h>
18875 #endif
18876 #ifdef HAVE_SYS_SOCKETVAR_H
18877 #include <sys/socketvar.h>
18878 #endif
18879 #ifdef HAVE_SYS_TIMEOUT_H
18880 #include <sys/timeout.h>
18881 #endif
18882 #ifdef HAVE_NETINET_IN_H
18883 #include <netinet/in.h>
18884 #endif
18885 #ifdef HAVE_NETINET_IN_SYSTM_H
18886 #include <netinet/in_systm.h>
18887 #endif
18888 #ifdef HAVE_NETINET_IP_H
18889 #include <netinet/ip.h>
18890 #endif
18891 #ifdef HAVE_NETINET_IP_VAR_H
18892 #include <netinet/ip_var.h>
18893 #endif
18894 #ifdef HAVE_NETINET_IP_ICMP_H
18895 #include <netinet/ip_icmp.h>
18896 #endif
18897 #ifdef HAVE_NETINET_ICMP_VAR_H
18898 #include <netinet/icmp_var.h>
18899 #endif
18901 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18905 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18912 #include <sys/types.h>
18913 #endif
18914 #ifdef HAVE_SYS_SOCKETVAR_H
18915 #include <sys/socketvar.h>
18916 #endif
18917 #ifdef HAVE_NETINET_IN_H
18918 #include <netinet/in.h>
18919 #endif
18920 #ifdef HAVE_NETINET_IP_VAR_H
18921 #include <netinet/ip_var.h>
18922 #endif
18924 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18928 _ACEOF
18934 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
18935 #include <netinet/ip_var.h>
18936 #endif
18938 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18942 _ACEOF
18948 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18949 #include <sys/types.h>
18950 #endif
18951 #ifdef HAVE_SYS_SOCKETVAR_H
18952 #include <sys/socketvar.h>
18953 #endif
18954 #ifdef HAVE_NETINET_IN_H
18955 #include <netinet/in.h>
18956 #endif
18957 #ifdef HAVE_NETINET_TCP_H
18958 #include <netinet/tcp.h>
18959 #endif
18960 #ifdef HAVE_NETINET_TCP_VAR_H
18961 #include <netinet/tcp_var.h>
18962 #endif
18964 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18966 cat >>confdefs.h <<_ACEOF
18967 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18968 _ACEOF
18974 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
18975 #include <netinet/tcp_var.h>
18976 #endif
18978 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18982 _ACEOF
18988 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18989 #include <sys/types.h>
18990 #endif
18991 #ifdef HAVE_NETINET_IN_H
18992 #include <netinet/in.h>
18993 #endif
18994 #ifdef HAVE_NETINET_IP_VAR_H
18995 #include <netinet/ip_var.h>
18996 #endif
18997 #ifdef HAVE_NETINET_UDP_H
18998 #include <netinet/udp.h>
18999 #endif
19000 #ifdef HAVE_NETINET_UDP_VAR_H
19001 #include <netinet/udp_var.h>
19002 #endif
19004 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19008 _ACEOF
19014 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19015 #include <sys/types.h>
19016 #endif
19017 #ifdef HAVE_NET_IF_H
19018 # include <net/if.h>
19019 #endif
19021 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19023 cat >>confdefs.h <<_ACEOF
19024 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19025 _ACEOF
19031 ac_save_LIBS="$LIBS"
19032 LIBS="$LIBS -lm"
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19034 $as_echo_n "checking for isfinite... " >&6; }
19035 if ${ac_cv_have_isfinite+:} false; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #define _GNU_SOURCE
19041 #include <math.h>
19043 main ()
19045 float f = 0.0; return isfinite(f)
19047 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_link "$LINENO"; then :
19051 ac_cv_have_isfinite="yes"
19052 else
19053 ac_cv_have_isfinite="no"
19055 rm -f core conftest.err conftest.$ac_objext \
19056 conftest$ac_exeext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19059 $as_echo "$ac_cv_have_isfinite" >&6; }
19060 if test "$ac_cv_have_isfinite" = "yes"
19061 then
19063 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19068 $as_echo_n "checking for isinf... " >&6; }
19069 if ${ac_cv_have_isinf+:} false; then :
19070 $as_echo_n "(cached) " >&6
19071 else
19072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19073 /* end confdefs.h. */
19074 #include <math.h>
19076 main ()
19078 float f = 0.0; return isinf(f)
19080 return 0;
19082 _ACEOF
19083 if ac_fn_c_try_link "$LINENO"; then :
19084 ac_cv_have_isinf="yes"
19085 else
19086 ac_cv_have_isinf="no"
19088 rm -f core conftest.err conftest.$ac_objext \
19089 conftest$ac_exeext conftest.$ac_ext
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19092 $as_echo "$ac_cv_have_isinf" >&6; }
19093 if test "$ac_cv_have_isinf" = "yes"
19094 then
19096 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19101 $as_echo_n "checking for isnan... " >&6; }
19102 if ${ac_cv_have_isnan+:} false; then :
19103 $as_echo_n "(cached) " >&6
19104 else
19105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19106 /* end confdefs.h. */
19107 #include <math.h>
19109 main ()
19111 float f = 0.0; return isnan(f)
19113 return 0;
19115 _ACEOF
19116 if ac_fn_c_try_link "$LINENO"; then :
19117 ac_cv_have_isnan="yes"
19118 else
19119 ac_cv_have_isnan="no"
19121 rm -f core conftest.err conftest.$ac_objext \
19122 conftest$ac_exeext conftest.$ac_ext
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19125 $as_echo "$ac_cv_have_isnan" >&6; }
19126 if test "$ac_cv_have_isnan" = "yes"
19127 then
19129 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19133 for ac_func in \
19134 acosh \
19135 acoshf \
19136 asinh \
19137 asinhf \
19138 atanh \
19139 atanhf \
19140 cbrt \
19141 cbrtf \
19142 erf \
19143 erfc \
19144 erfcf \
19145 erff \
19146 exp2 \
19147 exp2f \
19148 expm1 \
19149 expm1f \
19150 ilogb \
19151 ilogbf \
19152 j0 \
19153 j1 \
19154 jn \
19155 lgamma \
19156 lgammaf \
19157 llrint \
19158 llrintf \
19159 llround \
19160 llroundf \
19161 log1p \
19162 log1pf \
19163 log2 \
19164 log2f \
19165 lrint \
19166 lrintf \
19167 lround \
19168 lroundf \
19169 nearbyint \
19170 nearbyintf \
19171 nexttoward \
19172 nexttowardf \
19173 powl \
19174 remainder \
19175 remainderf \
19176 remquo \
19177 remquof \
19178 rint \
19179 rintf \
19180 round \
19181 roundf \
19182 trunc \
19183 truncf \
19184 y0 \
19185 y1 \
19188 do :
19189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19191 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19194 _ACEOF
19197 done
19199 LIBS="$ac_save_LIBS"
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19202 $as_echo_n "checking for __builtin_clz... " >&6; }
19203 if ${ac_cv_have___builtin_clz+:} false; then :
19204 $as_echo_n "(cached) " >&6
19205 else
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19210 main ()
19212 return __builtin_clz(1)
19214 return 0;
19216 _ACEOF
19217 if ac_fn_c_try_link "$LINENO"; then :
19218 ac_cv_have___builtin_clz="yes"
19219 else
19220 ac_cv_have___builtin_clz="no"
19222 rm -f core conftest.err conftest.$ac_objext \
19223 conftest$ac_exeext conftest.$ac_ext
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19226 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19227 if test "$ac_cv_have___builtin_clz" = "yes"
19228 then
19230 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19235 $as_echo_n "checking for __builtin_popcount... " >&6; }
19236 if ${ac_cv_have___builtin_popcount+:} false; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19243 main ()
19245 return __builtin_popcount(1)
19247 return 0;
19249 _ACEOF
19250 if ac_fn_c_try_link "$LINENO"; then :
19251 ac_cv_have___builtin_popcount="yes"
19252 else
19253 ac_cv_have___builtin_popcount="no"
19255 rm -f core conftest.err conftest.$ac_objext \
19256 conftest$ac_exeext conftest.$ac_ext
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19259 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19260 if test "$ac_cv_have___builtin_popcount" = "yes"
19261 then
19263 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19268 $as_echo_n "checking for __clear_cache... " >&6; }
19269 if ${ac_cv_have___clear_cache+:} false; then :
19270 $as_echo_n "(cached) " >&6
19271 else
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19276 main ()
19278 __clear_cache((void*)0, (void*)0); return 0;
19280 return 0;
19282 _ACEOF
19283 if ac_fn_c_try_link "$LINENO"; then :
19284 ac_cv_have___clear_cache="yes"
19285 else
19286 ac_cv_have___clear_cache="no"
19288 rm -f core conftest.err conftest.$ac_objext \
19289 conftest$ac_exeext conftest.$ac_ext
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19292 $as_echo "$ac_cv_have___clear_cache" >&6; }
19293 if test "$ac_cv_have___clear_cache" = "yes"
19294 then
19296 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19301 case $host_cpu in
19302 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19303 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19304 if ${ac_cv_cpp_def___i386__+:} false; then :
19305 $as_echo_n "(cached) " >&6
19306 else
19307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19309 #ifndef __i386__
19311 #endif
19312 _ACEOF
19313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19314 $EGREP "yes" >/dev/null 2>&1; then :
19315 ac_cv_cpp_def___i386__=yes
19316 else
19317 ac_cv_cpp_def___i386__=no
19319 rm -f conftest*
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19323 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19324 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19325 CFLAGS="$CFLAGS -D__i386__"
19326 LINTFLAGS="$LINTFLAGS -D__i386__"
19327 fi ;;
19328 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19329 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19330 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19331 $as_echo_n "(cached) " >&6
19332 else
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 #ifndef __x86_64__
19337 #endif
19338 _ACEOF
19339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19340 $EGREP "yes" >/dev/null 2>&1; then :
19341 ac_cv_cpp_def___x86_64__=yes
19342 else
19343 ac_cv_cpp_def___x86_64__=no
19345 rm -f conftest*
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19349 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19350 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19351 CFLAGS="$CFLAGS -D__x86_64__"
19352 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19353 fi ;;
19354 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19355 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19356 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19357 $as_echo_n "(cached) " >&6
19358 else
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 #ifndef __sparc64__
19363 #endif
19364 _ACEOF
19365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19366 $EGREP "yes" >/dev/null 2>&1; then :
19367 ac_cv_cpp_def___sparc64__=yes
19368 else
19369 ac_cv_cpp_def___sparc64__=no
19371 rm -f conftest*
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19375 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19376 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19377 CFLAGS="$CFLAGS -D__sparc64__"
19378 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19379 fi ;;
19380 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19381 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19382 if ${ac_cv_cpp_def___sparc__+:} false; then :
19383 $as_echo_n "(cached) " >&6
19384 else
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 #ifndef __sparc__
19389 #endif
19390 _ACEOF
19391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19392 $EGREP "yes" >/dev/null 2>&1; then :
19393 ac_cv_cpp_def___sparc__=yes
19394 else
19395 ac_cv_cpp_def___sparc__=no
19397 rm -f conftest*
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19401 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19402 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19403 CFLAGS="$CFLAGS -D__sparc__"
19404 LINTFLAGS="$LINTFLAGS -D__sparc__"
19405 fi ;;
19406 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19407 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19408 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19409 $as_echo_n "(cached) " >&6
19410 else
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 #ifndef __powerpc64__
19415 #endif
19416 _ACEOF
19417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19418 $EGREP "yes" >/dev/null 2>&1; then :
19419 ac_cv_cpp_def___powerpc64__=yes
19420 else
19421 ac_cv_cpp_def___powerpc64__=no
19423 rm -f conftest*
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19427 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19428 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19429 CFLAGS="$CFLAGS -D__powerpc64__"
19430 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19431 fi ;;
19432 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19433 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19434 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19435 $as_echo_n "(cached) " >&6
19436 else
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 #ifndef __powerpc__
19441 #endif
19442 _ACEOF
19443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19444 $EGREP "yes" >/dev/null 2>&1; then :
19445 ac_cv_cpp_def___powerpc__=yes
19446 else
19447 ac_cv_cpp_def___powerpc__=no
19449 rm -f conftest*
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19453 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19454 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19455 CFLAGS="$CFLAGS -D__powerpc__"
19456 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19457 fi ;;
19458 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19459 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19460 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19461 $as_echo_n "(cached) " >&6
19462 else
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 #ifndef __aarch64__
19467 #endif
19468 _ACEOF
19469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19470 $EGREP "yes" >/dev/null 2>&1; then :
19471 ac_cv_cpp_def___aarch64__=yes
19472 else
19473 ac_cv_cpp_def___aarch64__=no
19475 rm -f conftest*
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19479 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19480 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19481 CFLAGS="$CFLAGS -D__aarch64__"
19482 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19483 fi ;;
19484 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19485 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19486 if ${ac_cv_cpp_def___arm__+:} false; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 #ifndef __arm__
19493 #endif
19494 _ACEOF
19495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19496 $EGREP "yes" >/dev/null 2>&1; then :
19497 ac_cv_cpp_def___arm__=yes
19498 else
19499 ac_cv_cpp_def___arm__=no
19501 rm -f conftest*
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19505 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19506 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19507 CFLAGS="$CFLAGS -D__arm__"
19508 LINTFLAGS="$LINTFLAGS -D__arm__"
19509 fi ;;
19510 esac
19512 case $host_vendor in
19513 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19514 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19515 if ${ac_cv_cpp_def___sun__+:} false; then :
19516 $as_echo_n "(cached) " >&6
19517 else
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 #ifndef __sun__
19522 #endif
19523 _ACEOF
19524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19525 $EGREP "yes" >/dev/null 2>&1; then :
19526 ac_cv_cpp_def___sun__=yes
19527 else
19528 ac_cv_cpp_def___sun__=no
19530 rm -f conftest*
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19534 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19535 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19536 CFLAGS="$CFLAGS -D__sun__"
19537 LINTFLAGS="$LINTFLAGS -D__sun__"
19538 fi ;;
19539 esac
19545 ac_config_commands="$ac_config_commands include/stamp-h"
19547 $as_echo_n "creating Makefile rules..." >&6
19549 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19550 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19551 IOKIT_LIBS = $IOKIT_LIBS
19552 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19553 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19554 CORESERVICES_LIBS = $CORESERVICES_LIBS
19555 APPKIT_LIBS = $APPKIT_LIBS
19556 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19557 SECURITY_LIBS = $SECURITY_LIBS
19558 COREAUDIO_LIBS = $COREAUDIO_LIBS
19559 OPENAL_LIBS = $OPENAL_LIBS
19560 OPENCL_LIBS = $OPENCL_LIBS
19561 QUICKTIME_LIBS = $QUICKTIME_LIBS
19562 CARBON_LIBS = $CARBON_LIBS
19563 METAL_LIBS = $METAL_LIBS
19564 PTHREAD_LIBS = $PTHREAD_LIBS
19565 X_CFLAGS = $X_CFLAGS
19566 X_PRE_LIBS = $X_PRE_LIBS
19567 X_LIBS = $X_LIBS
19568 X_EXTRA_LIBS = $X_EXTRA_LIBS
19569 PCAP_LIBS = $PCAP_LIBS
19570 XML2_CFLAGS = $XML2_CFLAGS
19571 XML2_LIBS = $XML2_LIBS
19572 XSLT_CFLAGS = $XSLT_CFLAGS
19573 XSLT_LIBS = $XSLT_LIBS
19574 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19575 INOTIFY_LIBS = $INOTIFY_LIBS
19576 DBUS_CFLAGS = $DBUS_CFLAGS
19577 DBUS_LIBS = $DBUS_LIBS
19578 HAL_CFLAGS = $HAL_CFLAGS
19579 HAL_LIBS = $HAL_LIBS
19580 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19581 GNUTLS_LIBS = $GNUTLS_LIBS
19582 SANE_CFLAGS = $SANE_CFLAGS
19583 SANE_LIBS = $SANE_LIBS
19584 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19585 GPHOTO2_LIBS = $GPHOTO2_LIBS
19586 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19587 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19588 RESOLV_LIBS = $RESOLV_LIBS
19589 LCMS2_CFLAGS = $LCMS2_CFLAGS
19590 LCMS2_LIBS = $LCMS2_LIBS
19591 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19592 FREETYPE_LIBS = $FREETYPE_LIBS
19593 Z_LIBS = $Z_LIBS
19594 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19595 PULSE_CFLAGS = $PULSE_CFLAGS
19596 PULSE_LIBS = $PULSE_LIBS
19597 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19598 GSTREAMER_LIBS = $GSTREAMER_LIBS
19599 ALSA_LIBS = $ALSA_LIBS
19600 OSS4_CFLAGS = $OSS4_CFLAGS
19601 UDEV_CFLAGS = $UDEV_CFLAGS
19602 UDEV_LIBS = $UDEV_LIBS
19603 SDL2_CFLAGS = $SDL2_CFLAGS
19604 SDL2_LIBS = $SDL2_LIBS
19605 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19606 FAUDIO_LIBS = $FAUDIO_LIBS
19607 CAPI20_CFLAGS = $CAPI20_CFLAGS
19608 CAPI20_LIBS = $CAPI20_LIBS
19609 CUPS_CFLAGS = $CUPS_CFLAGS
19610 CUPS_LIBS = $CUPS_LIBS
19611 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19612 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19613 KRB5_CFLAGS = $KRB5_CFLAGS
19614 KRB5_LIBS = $KRB5_LIBS
19615 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19616 GSSAPI_LIBS = $GSSAPI_LIBS
19617 JPEG_CFLAGS = $JPEG_CFLAGS
19618 JPEG_LIBS = $JPEG_LIBS
19619 PNG_CFLAGS = $PNG_CFLAGS
19620 PNG_LIBS = $PNG_LIBS
19621 TIFF_CFLAGS = $TIFF_CFLAGS
19622 TIFF_LIBS = $TIFF_LIBS
19623 MPG123_CFLAGS = $MPG123_CFLAGS
19624 MPG123_LIBS = $MPG123_LIBS
19625 KSTAT_LIBS = $KSTAT_LIBS
19626 PROCSTAT_LIBS = $PROCSTAT_LIBS
19627 NETAPI_CFLAGS = $NETAPI_CFLAGS
19628 NETAPI_LIBS = $NETAPI_LIBS
19629 VKD3D_CFLAGS = $VKD3D_CFLAGS
19630 VKD3D_LIBS = $VKD3D_LIBS
19631 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19632 DL_LIBS = $DL_LIBS
19633 POLL_LIBS = $POLL_LIBS
19634 RT_LIBS = $RT_LIBS
19635 LDAP_CFLAGS = $LDAP_CFLAGS
19636 LDAP_LIBS = $LDAP_LIBS
19641 wine_fn_append_rule "
19642 # Rules automatically generated by configure
19644 .INIT: Makefile
19645 .MAKEFILEDEPS:
19646 all: Makefile
19647 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19648 @./config.status Make.tmp Makefile
19649 depend: \$(MAKEDEP) dummy
19650 \$(MAKEDEP)"
19652 if test "x$enable_fonts" != xno; then
19653 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19654 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19655 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19656 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19657 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19658 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19660 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19661 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19662 ac_config_links="$ac_config_links wine:tools/winewrapper"
19663 wine_fn_config_symlink wine
19664 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19665 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19666 wine_fn_config_symlink wine64
19669 wine_fn_config_makefile dlls/acledit enable_acledit
19670 wine_fn_config_makefile dlls/aclui enable_aclui
19671 wine_fn_config_makefile dlls/activeds enable_activeds
19672 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19673 wine_fn_config_makefile dlls/adsiid enable_adsiid
19674 wine_fn_config_makefile dlls/adsldp enable_adsldp
19675 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19676 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19677 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19678 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19679 wine_fn_config_makefile dlls/advpack enable_advpack
19680 wine_fn_config_makefile dlls/advpack/tests enable_tests
19681 wine_fn_config_makefile dlls/amsi enable_amsi
19682 wine_fn_config_makefile dlls/amstream enable_amstream
19683 wine_fn_config_makefile dlls/amstream/tests enable_tests
19684 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19685 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19686 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19687 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19688 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19689 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19690 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19691 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19692 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19693 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19694 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19695 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19696 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19697 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19698 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19699 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19700 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19701 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19702 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19703 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19704 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19705 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19706 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19707 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19708 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19709 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19710 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19711 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19712 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19714 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19715 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19716 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19718 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19719 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19720 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19721 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19722 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19723 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19724 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19725 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19726 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19727 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19728 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19729 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19730 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19731 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19732 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19733 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19734 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19736 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19737 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19738 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19739 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19740 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19741 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19742 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19743 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19744 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19745 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19746 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19747 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19748 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19749 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19750 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19751 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19753 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19754 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19755 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19757 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19758 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19759 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19760 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19762 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19763 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19764 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19768 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19769 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19772 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19773 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19776 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19779 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19780 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19783 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19786 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19789 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19790 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19791 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19792 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19793 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19795 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19797 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19803 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19808 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19809 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19814 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19816 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19822 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19830 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19835 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19836 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19855 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19866 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19870 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19872 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19874 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19875 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19880 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19882 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19888 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19891 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19893 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19895 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19899 wine_fn_config_makefile dlls/apphelp enable_apphelp
19900 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19901 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19902 wine_fn_config_makefile dlls/atl enable_atl
19903 wine_fn_config_makefile dlls/atl/tests enable_tests
19904 wine_fn_config_makefile dlls/atl100 enable_atl100
19905 wine_fn_config_makefile dlls/atl100/tests enable_tests
19906 wine_fn_config_makefile dlls/atl110 enable_atl110
19907 wine_fn_config_makefile dlls/atl80 enable_atl80
19908 wine_fn_config_makefile dlls/atl80/tests enable_tests
19909 wine_fn_config_makefile dlls/atl90 enable_atl90
19910 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19911 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19912 wine_fn_config_makefile dlls/atmlib enable_atmlib
19913 wine_fn_config_makefile dlls/authz enable_authz
19914 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19915 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19916 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19917 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19918 wine_fn_config_makefile dlls/avrt enable_avrt
19919 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19920 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19921 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19922 wine_fn_config_makefile dlls/browseui enable_browseui
19923 wine_fn_config_makefile dlls/browseui/tests enable_tests
19924 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19925 wine_fn_config_makefile dlls/cabinet enable_cabinet
19926 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19927 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19928 wine_fn_config_makefile dlls/cards enable_cards
19929 wine_fn_config_makefile dlls/cdosys enable_cdosys
19930 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19931 wine_fn_config_makefile dlls/clusapi enable_clusapi
19932 wine_fn_config_makefile dlls/combase enable_combase
19933 wine_fn_config_makefile dlls/combase/tests enable_tests
19934 wine_fn_config_makefile dlls/comcat enable_comcat
19935 wine_fn_config_makefile dlls/comcat/tests enable_tests
19936 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19937 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19938 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19939 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19940 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19941 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19942 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19943 wine_fn_config_makefile dlls/compstui enable_compstui
19944 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19945 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19946 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19947 wine_fn_config_makefile dlls/connect enable_connect
19948 wine_fn_config_makefile dlls/credui enable_credui
19949 wine_fn_config_makefile dlls/credui/tests enable_tests
19950 wine_fn_config_makefile dlls/crtdll enable_crtdll
19951 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19952 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19953 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19954 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19955 wine_fn_config_makefile dlls/cryptext enable_cryptext
19956 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19957 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19958 wine_fn_config_makefile dlls/cryptui enable_cryptui
19959 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19960 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19961 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19962 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19963 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19964 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19965 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19966 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19967 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19968 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19969 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19970 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19971 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19972 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19973 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19974 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19975 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19976 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19977 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19978 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19979 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19980 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19981 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19982 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19983 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19984 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19985 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19986 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19987 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19988 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19989 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19990 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19991 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19992 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19993 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19994 wine_fn_config_makefile dlls/d3dim enable_d3dim
19995 wine_fn_config_makefile dlls/d3drm enable_d3drm
19996 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19997 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19998 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19999 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20000 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20001 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20002 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20003 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20004 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20005 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20006 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20007 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20008 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20009 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20010 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20011 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20012 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20013 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20014 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20015 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20016 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20017 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20018 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20019 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20020 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20021 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20022 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20023 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20024 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20025 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20026 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20027 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20028 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20029 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20030 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20031 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20032 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20033 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20034 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20035 wine_fn_config_makefile dlls/davclnt enable_davclnt
20036 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20037 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20038 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20039 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20040 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20041 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20042 wine_fn_config_makefile dlls/ddraw enable_ddraw
20043 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20044 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20045 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20046 wine_fn_config_makefile dlls/devenum enable_devenum
20047 wine_fn_config_makefile dlls/devenum/tests enable_tests
20048 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20049 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20050 wine_fn_config_makefile dlls/difxapi enable_difxapi
20051 wine_fn_config_makefile dlls/dinput enable_dinput
20052 wine_fn_config_makefile dlls/dinput/tests enable_tests
20053 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20054 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20055 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20056 wine_fn_config_makefile dlls/dispex enable_dispex
20057 wine_fn_config_makefile dlls/dispex/tests enable_tests
20058 wine_fn_config_makefile dlls/display.drv16 enable_win16
20059 wine_fn_config_makefile dlls/dmband enable_dmband
20060 wine_fn_config_makefile dlls/dmband/tests enable_tests
20061 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20062 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20063 wine_fn_config_makefile dlls/dmime enable_dmime
20064 wine_fn_config_makefile dlls/dmime/tests enable_tests
20065 wine_fn_config_makefile dlls/dmloader enable_dmloader
20066 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20067 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20068 wine_fn_config_makefile dlls/dmscript enable_dmscript
20069 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20070 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20071 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20072 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20073 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20074 wine_fn_config_makefile dlls/dmusic enable_dmusic
20075 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20076 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20077 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20078 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20079 wine_fn_config_makefile dlls/dplay enable_dplay
20080 wine_fn_config_makefile dlls/dplayx enable_dplayx
20081 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20082 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20083 wine_fn_config_makefile dlls/dpnet enable_dpnet
20084 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20085 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20086 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20087 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20088 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20089 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20090 wine_fn_config_makefile dlls/drmclien enable_drmclien
20091 wine_fn_config_makefile dlls/dsound enable_dsound
20092 wine_fn_config_makefile dlls/dsound/tests enable_tests
20093 wine_fn_config_makefile dlls/dsquery enable_dsquery
20094 wine_fn_config_makefile dlls/dssenh enable_dssenh
20095 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20096 wine_fn_config_makefile dlls/dswave enable_dswave
20097 wine_fn_config_makefile dlls/dswave/tests enable_tests
20098 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20099 wine_fn_config_makefile dlls/dwrite enable_dwrite
20100 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20101 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20102 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20103 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20104 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20105 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20106 wine_fn_config_makefile dlls/dxgi enable_dxgi
20107 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20108 wine_fn_config_makefile dlls/dxguid enable_dxguid
20109 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20110 wine_fn_config_makefile dlls/esent enable_esent
20111 wine_fn_config_makefile dlls/evr enable_evr
20112 wine_fn_config_makefile dlls/evr/tests enable_tests
20113 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20114 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20115 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20116 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20117 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20118 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20119 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20120 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20121 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20122 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20123 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20124 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20125 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20126 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20127 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20128 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20129 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20130 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20131 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20132 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20133 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20134 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20135 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20136 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20137 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20138 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20139 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20140 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20141 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20142 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20143 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20144 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20145 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20146 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20147 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20148 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20149 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20150 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20151 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20152 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20153 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20154 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20155 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
20156 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20157 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20158 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20159 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20160 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20161 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20162 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20163 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20164 wine_fn_config_makefile dlls/faultrep enable_faultrep
20165 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20166 wine_fn_config_makefile dlls/feclient enable_feclient
20167 wine_fn_config_makefile dlls/fltlib enable_fltlib
20168 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20169 wine_fn_config_makefile dlls/fntcache enable_fntcache
20170 wine_fn_config_makefile dlls/fontsub enable_fontsub
20171 wine_fn_config_makefile dlls/fusion enable_fusion
20172 wine_fn_config_makefile dlls/fusion/tests enable_tests
20173 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20174 wine_fn_config_makefile dlls/gameux enable_gameux
20175 wine_fn_config_makefile dlls/gameux/tests enable_tests
20176 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20177 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20178 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20179 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20180 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20181 wine_fn_config_makefile dlls/glu32 enable_glu32
20182 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20183 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20184 wine_fn_config_makefile dlls/hal enable_hal
20185 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20186 wine_fn_config_makefile dlls/hid enable_hid
20187 wine_fn_config_makefile dlls/hid/tests enable_tests
20188 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20189 wine_fn_config_makefile dlls/hlink enable_hlink
20190 wine_fn_config_makefile dlls/hlink/tests enable_tests
20191 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20192 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20193 wine_fn_config_makefile dlls/httpapi enable_httpapi
20194 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20195 wine_fn_config_makefile dlls/iccvid enable_iccvid
20196 wine_fn_config_makefile dlls/icmp enable_icmp
20197 wine_fn_config_makefile dlls/ieframe enable_ieframe
20198 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20199 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20200 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20201 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20202 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20203 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20204 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20205 wine_fn_config_makefile dlls/imm32 enable_imm32
20206 wine_fn_config_makefile dlls/imm32/tests enable_tests
20207 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20208 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20209 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20210 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20211 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20212 wine_fn_config_makefile dlls/infosoft enable_infosoft
20213 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20214 wine_fn_config_makefile dlls/initpki enable_initpki
20215 wine_fn_config_makefile dlls/inkobj enable_inkobj
20216 wine_fn_config_makefile dlls/inseng enable_inseng
20217 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20218 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20219 wine_fn_config_makefile dlls/iprop enable_iprop
20220 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20221 wine_fn_config_makefile dlls/itircl enable_itircl
20222 wine_fn_config_makefile dlls/itss enable_itss
20223 wine_fn_config_makefile dlls/itss/tests enable_tests
20224 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20225 wine_fn_config_makefile dlls/jscript enable_jscript
20226 wine_fn_config_makefile dlls/jscript/tests enable_tests
20227 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20228 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20229 wine_fn_config_makefile dlls/kerberos enable_kerberos
20230 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20231 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20232 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20233 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20234 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20235 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20236 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20237 wine_fn_config_makefile dlls/ksuser enable_ksuser
20238 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20239 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20240 wine_fn_config_makefile dlls/loadperf enable_loadperf
20241 wine_fn_config_makefile dlls/localspl enable_localspl
20242 wine_fn_config_makefile dlls/localspl/tests enable_tests
20243 wine_fn_config_makefile dlls/localui enable_localui
20244 wine_fn_config_makefile dlls/localui/tests enable_tests
20245 wine_fn_config_makefile dlls/lz32 enable_lz32
20246 wine_fn_config_makefile dlls/lz32/tests enable_tests
20247 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20248 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20249 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20250 wine_fn_config_makefile dlls/mapistub enable_mapistub
20251 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20252 wine_fn_config_makefile dlls/mcicda enable_mcicda
20253 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20254 wine_fn_config_makefile dlls/mciseq enable_mciseq
20255 wine_fn_config_makefile dlls/mciwave enable_mciwave
20256 wine_fn_config_makefile dlls/mf enable_mf
20257 wine_fn_config_makefile dlls/mf/tests enable_tests
20258 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20259 wine_fn_config_makefile dlls/mferror enable_mferror
20260 wine_fn_config_makefile dlls/mfplat enable_mfplat
20261 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20262 wine_fn_config_makefile dlls/mfplay enable_mfplay
20263 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20264 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20265 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20266 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20267 wine_fn_config_makefile dlls/midimap enable_midimap
20268 wine_fn_config_makefile dlls/mlang enable_mlang
20269 wine_fn_config_makefile dlls/mlang/tests enable_tests
20270 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20271 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20272 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20273 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20274 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20275 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20276 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20277 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20278 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20279 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20280 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20281 wine_fn_config_makefile dlls/mpr enable_mpr
20282 wine_fn_config_makefile dlls/mpr/tests enable_tests
20283 wine_fn_config_makefile dlls/mprapi enable_mprapi
20284 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20285 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20286 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20287 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20288 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20289 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20290 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20291 wine_fn_config_makefile dlls/mscms enable_mscms
20292 wine_fn_config_makefile dlls/mscms/tests enable_tests
20293 wine_fn_config_makefile dlls/mscoree enable_mscoree
20294 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20295 wine_fn_config_makefile dlls/msctf enable_msctf
20296 wine_fn_config_makefile dlls/msctf/tests enable_tests
20297 wine_fn_config_makefile dlls/msctfp enable_msctfp
20298 wine_fn_config_makefile dlls/msdaps enable_msdaps
20299 wine_fn_config_makefile dlls/msdelta enable_msdelta
20300 wine_fn_config_makefile dlls/msdmo enable_msdmo
20301 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20302 wine_fn_config_makefile dlls/msdrm enable_msdrm
20303 wine_fn_config_makefile dlls/msftedit enable_msftedit
20304 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20305 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20306 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20307 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20308 wine_fn_config_makefile dlls/mshtml enable_mshtml
20309 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20310 wine_fn_config_makefile dlls/msi enable_msi
20311 wine_fn_config_makefile dlls/msi/tests enable_tests
20312 wine_fn_config_makefile dlls/msident enable_msident
20313 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20314 wine_fn_config_makefile dlls/msimsg enable_msimsg
20315 wine_fn_config_makefile dlls/msimtf enable_msimtf
20316 wine_fn_config_makefile dlls/msisip enable_msisip
20317 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20318 wine_fn_config_makefile dlls/msls31 enable_msls31
20319 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20320 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20321 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20322 wine_fn_config_makefile dlls/msports enable_msports
20323 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20324 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20325 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20326 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20327 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20328 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20329 wine_fn_config_makefile dlls/mstask enable_mstask
20330 wine_fn_config_makefile dlls/mstask/tests enable_tests
20331 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20332 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20333 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20334 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20335 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20336 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20337 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20338 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20339 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20340 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20341 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20342 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20343 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20344 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20345 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20346 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20347 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20348 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20349 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20350 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20351 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20352 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20353 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20354 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20355 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20356 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20357 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20358 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20359 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20360 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20361 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20362 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20363 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20364 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20365 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20366 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20367 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20368 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20369 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20370 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20371 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20372 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20373 wine_fn_config_makefile dlls/mswsock enable_mswsock
20374 wine_fn_config_makefile dlls/msxml enable_msxml
20375 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20376 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20377 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20378 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20379 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20380 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20381 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20382 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20383 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20384 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20385 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20386 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20387 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20388 wine_fn_config_makefile dlls/netprofm enable_netprofm
20389 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20390 wine_fn_config_makefile dlls/newdev enable_newdev
20391 wine_fn_config_makefile dlls/ninput enable_ninput
20392 wine_fn_config_makefile dlls/ninput/tests enable_tests
20393 wine_fn_config_makefile dlls/normaliz enable_normaliz
20394 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20395 wine_fn_config_makefile dlls/npptools enable_npptools
20396 wine_fn_config_makefile dlls/ntdll enable_ntdll
20397 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20398 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20399 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20400 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20401 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20402 wine_fn_config_makefile dlls/ntprint enable_ntprint
20403 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20404 wine_fn_config_makefile dlls/objsel enable_objsel
20405 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20406 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20407 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20408 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20409 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20410 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20411 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20412 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20413 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20414 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20415 wine_fn_config_makefile dlls/ole32 enable_ole32
20416 wine_fn_config_makefile dlls/ole32/tests enable_tests
20417 wine_fn_config_makefile dlls/oleacc enable_oleacc
20418 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20419 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20420 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20421 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20422 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20423 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20424 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20425 wine_fn_config_makefile dlls/oledlg enable_oledlg
20426 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20427 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20428 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20429 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20430 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20431 wine_fn_config_makefile dlls/opcservices enable_opcservices
20432 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20433 wine_fn_config_makefile dlls/openal32 enable_openal32
20434 wine_fn_config_makefile dlls/opencl enable_opencl
20435 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20436 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20437 wine_fn_config_makefile dlls/packager enable_packager
20438 wine_fn_config_makefile dlls/packager/tests enable_tests
20439 wine_fn_config_makefile dlls/pdh enable_pdh
20440 wine_fn_config_makefile dlls/pdh/tests enable_tests
20441 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20442 wine_fn_config_makefile dlls/pidgen enable_pidgen
20443 wine_fn_config_makefile dlls/powrprof enable_powrprof
20444 wine_fn_config_makefile dlls/printui enable_printui
20445 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20446 wine_fn_config_makefile dlls/propsys enable_propsys
20447 wine_fn_config_makefile dlls/propsys/tests enable_tests
20448 wine_fn_config_makefile dlls/psapi enable_psapi
20449 wine_fn_config_makefile dlls/psapi/tests enable_tests
20450 wine_fn_config_makefile dlls/pstorec enable_pstorec
20451 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20452 wine_fn_config_makefile dlls/qcap enable_qcap
20453 wine_fn_config_makefile dlls/qcap/tests enable_tests
20454 wine_fn_config_makefile dlls/qedit enable_qedit
20455 wine_fn_config_makefile dlls/qedit/tests enable_tests
20456 wine_fn_config_makefile dlls/qmgr enable_qmgr
20457 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20458 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20459 wine_fn_config_makefile dlls/quartz enable_quartz
20460 wine_fn_config_makefile dlls/quartz/tests enable_tests
20461 wine_fn_config_makefile dlls/query enable_query
20462 wine_fn_config_makefile dlls/qwave enable_qwave
20463 wine_fn_config_makefile dlls/qwave/tests enable_tests
20464 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20465 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20466 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20467 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20468 wine_fn_config_makefile dlls/regapi enable_regapi
20469 wine_fn_config_makefile dlls/resutils enable_resutils
20470 wine_fn_config_makefile dlls/riched20 enable_riched20
20471 wine_fn_config_makefile dlls/riched20/tests enable_tests
20472 wine_fn_config_makefile dlls/riched32 enable_riched32
20473 wine_fn_config_makefile dlls/riched32/tests enable_tests
20474 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20475 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20476 wine_fn_config_makefile dlls/rsabase enable_rsabase
20477 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20478 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20479 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20480 wine_fn_config_makefile dlls/rtutils enable_rtutils
20481 wine_fn_config_makefile dlls/samlib enable_samlib
20482 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20483 wine_fn_config_makefile dlls/sapi enable_sapi
20484 wine_fn_config_makefile dlls/sapi/tests enable_tests
20485 wine_fn_config_makefile dlls/sas enable_sas
20486 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20487 wine_fn_config_makefile dlls/sccbase enable_sccbase
20488 wine_fn_config_makefile dlls/schannel enable_schannel
20489 wine_fn_config_makefile dlls/schannel/tests enable_tests
20490 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20491 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20492 wine_fn_config_makefile dlls/scrobj enable_scrobj
20493 wine_fn_config_makefile dlls/scrrun enable_scrrun
20494 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20495 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20496 wine_fn_config_makefile dlls/secur32 enable_secur32
20497 wine_fn_config_makefile dlls/secur32/tests enable_tests
20498 wine_fn_config_makefile dlls/security enable_security
20499 wine_fn_config_makefile dlls/sensapi enable_sensapi
20500 wine_fn_config_makefile dlls/serialui enable_serialui
20501 wine_fn_config_makefile dlls/serialui/tests enable_tests
20502 wine_fn_config_makefile dlls/setupapi enable_setupapi
20503 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20504 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20505 wine_fn_config_makefile dlls/sfc enable_sfc
20506 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20507 wine_fn_config_makefile dlls/shcore enable_shcore
20508 wine_fn_config_makefile dlls/shcore/tests enable_tests
20509 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20510 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20511 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20512 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20513 wine_fn_config_makefile dlls/shell32 enable_shell32
20514 wine_fn_config_makefile dlls/shell32/tests enable_tests
20515 wine_fn_config_makefile dlls/shfolder enable_shfolder
20516 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20517 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20518 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20519 wine_fn_config_makefile dlls/slc enable_slc
20520 wine_fn_config_makefile dlls/slc/tests enable_tests
20521 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20522 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20523 wine_fn_config_makefile dlls/softpub enable_softpub
20524 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20525 wine_fn_config_makefile dlls/spoolss enable_spoolss
20526 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20527 wine_fn_config_makefile dlls/srclient enable_srclient
20528 wine_fn_config_makefile dlls/sspicli enable_sspicli
20529 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20530 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20531 wine_fn_config_makefile dlls/sti enable_sti
20532 wine_fn_config_makefile dlls/sti/tests enable_tests
20533 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20534 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20535 wine_fn_config_makefile dlls/strmbase enable_strmbase
20536 wine_fn_config_makefile dlls/strmdll enable_strmdll
20537 wine_fn_config_makefile dlls/strmiids enable_strmiids
20538 wine_fn_config_makefile dlls/svrapi enable_svrapi
20539 wine_fn_config_makefile dlls/sxs enable_sxs
20540 wine_fn_config_makefile dlls/sxs/tests enable_tests
20541 wine_fn_config_makefile dlls/system.drv16 enable_win16
20542 wine_fn_config_makefile dlls/t2embed enable_t2embed
20543 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20544 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20545 wine_fn_config_makefile dlls/taskschd enable_taskschd
20546 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20547 wine_fn_config_makefile dlls/tdh enable_tdh
20548 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20549 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20550 wine_fn_config_makefile dlls/traffic enable_traffic
20551 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20552 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20553 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20554 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20555 wine_fn_config_makefile dlls/tzres enable_tzres
20556 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20557 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20558 wine_fn_config_makefile dlls/uianimation enable_uianimation
20559 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20560 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20561 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20562 wine_fn_config_makefile dlls/unicows enable_unicows
20563 wine_fn_config_makefile dlls/updspapi enable_updspapi
20564 wine_fn_config_makefile dlls/url enable_url
20565 wine_fn_config_makefile dlls/urlmon enable_urlmon
20566 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20567 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20568 wine_fn_config_makefile dlls/user.exe16 enable_win16
20569 wine_fn_config_makefile dlls/user32 enable_user32
20570 wine_fn_config_makefile dlls/user32/tests enable_tests
20571 wine_fn_config_makefile dlls/userenv enable_userenv
20572 wine_fn_config_makefile dlls/userenv/tests enable_tests
20573 wine_fn_config_makefile dlls/usp10 enable_usp10
20574 wine_fn_config_makefile dlls/usp10/tests enable_tests
20575 wine_fn_config_makefile dlls/uuid enable_uuid
20576 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20577 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20578 wine_fn_config_makefile dlls/vbscript enable_vbscript
20579 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20580 wine_fn_config_makefile dlls/vcomp enable_vcomp
20581 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20582 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20583 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20584 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20585 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20586 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20587 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20588 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20589 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20590 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20591 wine_fn_config_makefile dlls/version enable_version
20592 wine_fn_config_makefile dlls/version/tests enable_tests
20593 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20594 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20595 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20596 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20597 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20598 wine_fn_config_makefile dlls/vssapi enable_vssapi
20599 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20600 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20601 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20602 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20603 wine_fn_config_makefile dlls/w32skrnl enable_win16
20604 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20605 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20606 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20607 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20608 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20609 wine_fn_config_makefile dlls/wdscore enable_wdscore
20610 wine_fn_config_makefile dlls/webservices enable_webservices
20611 wine_fn_config_makefile dlls/webservices/tests enable_tests
20612 wine_fn_config_makefile dlls/wer enable_wer
20613 wine_fn_config_makefile dlls/wer/tests enable_tests
20614 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20615 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20616 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20617 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20618 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20619 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20620 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20621 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20622 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20623 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20624 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20625 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20626 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20627 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20628 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20629 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20630 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20631 wine_fn_config_makefile dlls/wined3d enable_wined3d
20632 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20633 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20634 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20635 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20636 wine_fn_config_makefile dlls/winemapi enable_winemapi
20637 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20638 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20639 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20640 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20641 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20642 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20643 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20644 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20645 wine_fn_config_makefile dlls/wing32 enable_wing32
20646 wine_fn_config_makefile dlls/winhttp enable_winhttp
20647 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20648 wine_fn_config_makefile dlls/wininet enable_wininet
20649 wine_fn_config_makefile dlls/wininet/tests enable_tests
20650 wine_fn_config_makefile dlls/winmm enable_winmm
20651 wine_fn_config_makefile dlls/winmm/tests enable_tests
20652 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20653 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20654 wine_fn_config_makefile dlls/winscard enable_winscard
20655 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20656 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20657 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20658 wine_fn_config_makefile dlls/winsta enable_winsta
20659 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20660 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20661 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20662 wine_fn_config_makefile dlls/wintrust enable_wintrust
20663 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20664 wine_fn_config_makefile dlls/winusb enable_winusb
20665 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20666 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20667 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20668 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20669 wine_fn_config_makefile dlls/wmasf enable_wmasf
20670 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20671 wine_fn_config_makefile dlls/wmi enable_wmi
20672 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20673 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20674 wine_fn_config_makefile dlls/wmp enable_wmp
20675 wine_fn_config_makefile dlls/wmp/tests enable_tests
20676 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20677 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20678 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20679 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20680 wine_fn_config_makefile dlls/wow32 enable_win16
20681 wine_fn_config_makefile dlls/wpc enable_wpc
20682 wine_fn_config_makefile dlls/wpc/tests enable_tests
20683 wine_fn_config_makefile dlls/wpcap enable_wpcap
20684 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20685 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20686 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20687 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20688 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20689 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20690 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20691 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20692 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20693 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20694 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20695 wine_fn_config_makefile dlls/wuapi enable_wuapi
20696 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20697 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20698 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20699 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20700 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20701 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20702 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20703 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20704 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20705 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20706 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20707 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20708 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20709 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20710 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20711 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20712 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20713 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20714 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20715 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20716 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20717 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20718 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20719 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20720 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20721 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20722 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20723 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20724 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20725 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20726 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20727 wine_fn_config_makefile dlls/xmllite enable_xmllite
20728 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20729 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20730 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20731 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20732 wine_fn_config_makefile fonts enable_fonts
20733 wine_fn_config_makefile include enable_include
20734 wine_fn_config_makefile libs/port enable_port
20735 wine_fn_config_makefile libs/wine enable_wine
20736 wine_fn_config_makefile libs/wpp enable_wpp
20737 wine_fn_config_makefile loader enable_loader
20738 wine_fn_config_makefile po enable_po
20739 wine_fn_config_makefile programs/arp enable_arp
20740 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20741 wine_fn_config_makefile programs/attrib enable_attrib
20742 wine_fn_config_makefile programs/cabarc enable_cabarc
20743 wine_fn_config_makefile programs/cacls enable_cacls
20744 wine_fn_config_makefile programs/clock enable_clock
20745 wine_fn_config_makefile programs/cmd enable_cmd
20746 wine_fn_config_makefile programs/cmd/tests enable_tests
20747 wine_fn_config_makefile programs/conhost enable_conhost
20748 wine_fn_config_makefile programs/control enable_control
20749 wine_fn_config_makefile programs/cscript enable_cscript
20750 wine_fn_config_makefile programs/dism enable_dism
20751 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20752 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20753 wine_fn_config_makefile programs/eject enable_eject
20754 wine_fn_config_makefile programs/expand enable_expand
20755 wine_fn_config_makefile programs/explorer enable_explorer
20756 wine_fn_config_makefile programs/extrac32 enable_extrac32
20757 wine_fn_config_makefile programs/fc enable_fc
20758 wine_fn_config_makefile programs/find enable_find
20759 wine_fn_config_makefile programs/findstr enable_findstr
20760 wine_fn_config_makefile programs/fsutil enable_fsutil
20761 wine_fn_config_makefile programs/hh enable_hh
20762 wine_fn_config_makefile programs/hostname enable_hostname
20763 wine_fn_config_makefile programs/icacls enable_icacls
20764 wine_fn_config_makefile programs/icinfo enable_icinfo
20765 wine_fn_config_makefile programs/iexplore enable_iexplore
20766 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20767 wine_fn_config_makefile programs/lodctr enable_lodctr
20768 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20769 wine_fn_config_makefile programs/mshta enable_mshta
20770 wine_fn_config_makefile programs/msidb enable_msidb
20771 wine_fn_config_makefile programs/msiexec enable_msiexec
20772 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20773 wine_fn_config_makefile programs/net enable_net
20774 wine_fn_config_makefile programs/netsh enable_netsh
20775 wine_fn_config_makefile programs/netstat enable_netstat
20776 wine_fn_config_makefile programs/ngen enable_ngen
20777 wine_fn_config_makefile programs/notepad enable_notepad
20778 wine_fn_config_makefile programs/oleview enable_oleview
20779 wine_fn_config_makefile programs/ping enable_ping
20780 wine_fn_config_makefile programs/plugplay enable_plugplay
20781 wine_fn_config_makefile programs/powershell enable_powershell
20782 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20783 wine_fn_config_makefile programs/progman enable_progman
20784 wine_fn_config_makefile programs/reg enable_reg
20785 wine_fn_config_makefile programs/reg/tests enable_tests
20786 wine_fn_config_makefile programs/regasm enable_regasm
20787 wine_fn_config_makefile programs/regedit enable_regedit
20788 wine_fn_config_makefile programs/regedit/tests enable_tests
20789 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20790 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20791 wine_fn_config_makefile programs/rpcss enable_rpcss
20792 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20793 wine_fn_config_makefile programs/rundll32 enable_rundll32
20794 wine_fn_config_makefile programs/sc enable_sc
20795 wine_fn_config_makefile programs/schtasks enable_schtasks
20796 wine_fn_config_makefile programs/schtasks/tests enable_tests
20797 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20798 wine_fn_config_makefile programs/secedit enable_secedit
20799 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20800 wine_fn_config_makefile programs/services enable_services
20801 wine_fn_config_makefile programs/services/tests enable_tests
20802 wine_fn_config_makefile programs/shutdown enable_shutdown
20803 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20804 wine_fn_config_makefile programs/start enable_start
20805 wine_fn_config_makefile programs/subst enable_subst
20806 wine_fn_config_makefile programs/svchost enable_svchost
20807 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20808 wine_fn_config_makefile programs/taskkill enable_taskkill
20809 wine_fn_config_makefile programs/tasklist enable_tasklist
20810 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20811 wine_fn_config_makefile programs/termsv enable_termsv
20812 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20813 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20814 wine_fn_config_makefile programs/view enable_view
20815 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20816 wine_fn_config_makefile programs/wineboot enable_wineboot
20817 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20818 wine_fn_config_makefile programs/winecfg enable_winecfg
20819 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20820 wine_fn_config_makefile programs/winedbg enable_winedbg
20821 wine_fn_config_makefile programs/winedevice enable_winedevice
20822 wine_fn_config_makefile programs/winefile enable_winefile
20823 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20824 wine_fn_config_makefile programs/winemine enable_winemine
20825 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20826 wine_fn_config_makefile programs/winepath enable_winepath
20827 wine_fn_config_makefile programs/winetest enable_winetest
20828 wine_fn_config_makefile programs/winevdm enable_win16
20829 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20830 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20831 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20832 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20833 wine_fn_config_makefile programs/winver enable_winver
20834 wine_fn_config_makefile programs/wmic enable_wmic
20835 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20836 wine_fn_config_makefile programs/wordpad enable_wordpad
20837 wine_fn_config_makefile programs/write enable_write
20838 wine_fn_config_makefile programs/wscript enable_wscript
20839 wine_fn_config_makefile programs/wscript/tests enable_tests
20840 wine_fn_config_makefile programs/wusa enable_wusa
20841 wine_fn_config_makefile programs/xcopy enable_xcopy
20842 wine_fn_config_makefile programs/xcopy/tests enable_tests
20843 wine_fn_config_makefile server enable_server
20844 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20845 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20846 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20847 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20848 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20849 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20850 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20851 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20852 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20855 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20856 wine_fn_append_file CONFIGURE_TARGETS "tags"
20857 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20858 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20859 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20860 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20861 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20862 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20864 if test "x$enable_tools" != xno
20865 then
20866 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20867 ac_config_commands="$ac_config_commands tools/makedep"
20871 ac_config_commands="$ac_config_commands Makefile"
20874 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20878 if test "x$enable_maintainer_mode" = xyes
20879 then
20880 wine_fn_append_rule "configure: configure.ac aclocal.m4
20881 autoconf --warnings=all
20882 include/config.h.in: include/stamp-h.in
20883 include/stamp-h.in: configure.ac aclocal.m4
20884 autoheader --warnings=all
20885 @echo timestamp > \$@"
20888 if test "x$enable_tools" != xno
20889 then
20890 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20891 @./config.status tools/makedep
20892 Makefile: tools/makedep$ac_exeext
20893 fonts: tools/sfnt2fon
20894 include: tools tools/widl"
20895 else
20896 wine_fn_append_rule "\$(MAKEDEP):
20897 @echo \"You need to run make in $TOOLSDIR first\" && false"
20900 if test -n "$with_wine64"
20901 then
20902 case "$with_wine64" in
20903 /*) reldir="" ;;
20904 *) reldir="../" ;;
20905 esac
20906 rm -f fonts server 2>/dev/null
20907 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20908 loader/wine64 loader/wine64-preloader:
20909 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20910 $with_wine64/loader/wine:
20911 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20912 $with_wine64/loader/wine-preloader:
20913 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20914 clean::
20915 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20916 else
20917 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20918 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20919 fonts \
20920 loader/l_intl.nls \
20921 loader/wine.inf \
20922 programs/msidb/msidb \
20923 programs/msiexec/msiexec \
20924 programs/notepad/notepad \
20925 programs/regedit/regedit \
20926 programs/regsvr32/regsvr32 \
20927 programs/wineboot/wineboot \
20928 programs/winecfg/winecfg \
20929 programs/wineconsole/wineconsole \
20930 programs/winedbg/winedbg \
20931 programs/winefile/winefile \
20932 programs/winemine/winemine \
20933 programs/winepath/winepath \
20934 server/wineserver"
20936 case $host_os in
20937 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20938 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20939 esac
20942 $as_echo " done" >&6
20943 cat >confcache <<\_ACEOF
20944 # This file is a shell script that caches the results of configure
20945 # tests run on this system so they can be shared between configure
20946 # scripts and configure runs, see configure's option --config-cache.
20947 # It is not useful on other systems. If it contains results you don't
20948 # want to keep, you may remove or edit it.
20950 # config.status only pays attention to the cache file if you give it
20951 # the --recheck option to rerun configure.
20953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20955 # following values.
20957 _ACEOF
20959 # The following way of writing the cache mishandles newlines in values,
20960 # but we know of no workaround that is simple, portable, and efficient.
20961 # So, we kill variables containing newlines.
20962 # Ultrix sh set writes to stderr and can't be redirected directly,
20963 # and sets the high bit in the cache file unless we assign to the vars.
20965 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20966 eval ac_val=\$$ac_var
20967 case $ac_val in #(
20968 *${as_nl}*)
20969 case $ac_var in #(
20970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20972 esac
20973 case $ac_var in #(
20974 _ | IFS | as_nl) ;; #(
20975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20976 *) { eval $ac_var=; unset $ac_var;} ;;
20977 esac ;;
20978 esac
20979 done
20981 (set) 2>&1 |
20982 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20983 *${as_nl}ac_space=\ *)
20984 # `set' does not quote correctly, so add quotes: double-quote
20985 # substitution turns \\\\ into \\, and sed turns \\ into \.
20986 sed -n \
20987 "s/'/'\\\\''/g;
20988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20989 ;; #(
20991 # `set' quotes correctly as required by POSIX, so do not add quotes.
20992 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20994 esac |
20995 sort
20997 sed '
20998 /^ac_cv_env_/b end
20999 t clear
21000 :clear
21001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21002 t end
21003 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21004 :end' >>confcache
21005 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21006 if test -w "$cache_file"; then
21007 if test "x$cache_file" != "x/dev/null"; then
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21009 $as_echo "$as_me: updating cache $cache_file" >&6;}
21010 if test ! -f "$cache_file" || test -h "$cache_file"; then
21011 cat confcache >"$cache_file"
21012 else
21013 case $cache_file in #(
21014 */* | ?:*)
21015 mv -f confcache "$cache_file"$$ &&
21016 mv -f "$cache_file"$$ "$cache_file" ;; #(
21018 mv -f confcache "$cache_file" ;;
21019 esac
21022 else
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21024 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21027 rm -f confcache
21029 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21030 # Let make expand exec_prefix.
21031 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21033 DEFS=-DHAVE_CONFIG_H
21035 ac_libobjs=
21036 ac_ltlibobjs=
21038 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21039 # 1. Remove the extension, and $U if already installed.
21040 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21041 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21042 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21043 # will be set to the directory where LIBOBJS objects are built.
21044 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21045 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21046 done
21047 LIBOBJS=$ac_libobjs
21049 LTLIBOBJS=$ac_ltlibobjs
21053 : "${CONFIG_STATUS=./config.status}"
21054 ac_write_fail=0
21055 ac_clean_files_save=$ac_clean_files
21056 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21058 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21059 as_write_fail=0
21060 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21061 #! $SHELL
21062 # Generated by $as_me.
21063 # Run this file to recreate the current configuration.
21064 # Compiler output produced by configure, useful for debugging
21065 # configure, is in config.log if it exists.
21067 debug=false
21068 ac_cs_recheck=false
21069 ac_cs_silent=false
21071 SHELL=\${CONFIG_SHELL-$SHELL}
21072 export SHELL
21073 _ASEOF
21074 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21075 ## -------------------- ##
21076 ## M4sh Initialization. ##
21077 ## -------------------- ##
21079 # Be more Bourne compatible
21080 DUALCASE=1; export DUALCASE # for MKS sh
21081 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21082 emulate sh
21083 NULLCMD=:
21084 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21085 # is contrary to our usage. Disable this feature.
21086 alias -g '${1+"$@"}'='"$@"'
21087 setopt NO_GLOB_SUBST
21088 else
21089 case `(set -o) 2>/dev/null` in #(
21090 *posix*) :
21091 set -o posix ;; #(
21092 *) :
21094 esac
21098 as_nl='
21100 export as_nl
21101 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21102 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21103 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21104 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21105 # Prefer a ksh shell builtin over an external printf program on Solaris,
21106 # but without wasting forks for bash or zsh.
21107 if test -z "$BASH_VERSION$ZSH_VERSION" \
21108 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21109 as_echo='print -r --'
21110 as_echo_n='print -rn --'
21111 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21112 as_echo='printf %s\n'
21113 as_echo_n='printf %s'
21114 else
21115 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21116 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21117 as_echo_n='/usr/ucb/echo -n'
21118 else
21119 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21120 as_echo_n_body='eval
21121 arg=$1;
21122 case $arg in #(
21123 *"$as_nl"*)
21124 expr "X$arg" : "X\\(.*\\)$as_nl";
21125 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21126 esac;
21127 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21129 export as_echo_n_body
21130 as_echo_n='sh -c $as_echo_n_body as_echo'
21132 export as_echo_body
21133 as_echo='sh -c $as_echo_body as_echo'
21136 # The user is always right.
21137 if test "${PATH_SEPARATOR+set}" != set; then
21138 PATH_SEPARATOR=:
21139 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21140 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21141 PATH_SEPARATOR=';'
21146 # IFS
21147 # We need space, tab and new line, in precisely that order. Quoting is
21148 # there to prevent editors from complaining about space-tab.
21149 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21150 # splitting by setting IFS to empty value.)
21151 IFS=" "" $as_nl"
21153 # Find who we are. Look in the path if we contain no directory separator.
21154 as_myself=
21155 case $0 in #((
21156 *[\\/]* ) as_myself=$0 ;;
21157 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21158 for as_dir in $PATH
21160 IFS=$as_save_IFS
21161 test -z "$as_dir" && as_dir=.
21162 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21163 done
21164 IFS=$as_save_IFS
21167 esac
21168 # We did not find ourselves, most probably we were run as `sh COMMAND'
21169 # in which case we are not to be found in the path.
21170 if test "x$as_myself" = x; then
21171 as_myself=$0
21173 if test ! -f "$as_myself"; then
21174 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21175 exit 1
21178 # Unset variables that we do not need and which cause bugs (e.g. in
21179 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21180 # suppresses any "Segmentation fault" message there. '((' could
21181 # trigger a bug in pdksh 5.2.14.
21182 for as_var in BASH_ENV ENV MAIL MAILPATH
21183 do eval test x\${$as_var+set} = xset \
21184 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21185 done
21186 PS1='$ '
21187 PS2='> '
21188 PS4='+ '
21190 # NLS nuisances.
21191 LC_ALL=C
21192 export LC_ALL
21193 LANGUAGE=C
21194 export LANGUAGE
21196 # CDPATH.
21197 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21200 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21201 # ----------------------------------------
21202 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21203 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21204 # script with STATUS, using 1 if that was 0.
21205 as_fn_error ()
21207 as_status=$1; test $as_status -eq 0 && as_status=1
21208 if test "$4"; then
21209 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21210 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21212 $as_echo "$as_me: error: $2" >&2
21213 as_fn_exit $as_status
21214 } # as_fn_error
21217 # as_fn_set_status STATUS
21218 # -----------------------
21219 # Set $? to STATUS, without forking.
21220 as_fn_set_status ()
21222 return $1
21223 } # as_fn_set_status
21225 # as_fn_exit STATUS
21226 # -----------------
21227 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21228 as_fn_exit ()
21230 set +e
21231 as_fn_set_status $1
21232 exit $1
21233 } # as_fn_exit
21235 # as_fn_unset VAR
21236 # ---------------
21237 # Portably unset VAR.
21238 as_fn_unset ()
21240 { eval $1=; unset $1;}
21242 as_unset=as_fn_unset
21243 # as_fn_append VAR VALUE
21244 # ----------------------
21245 # Append the text in VALUE to the end of the definition contained in VAR. Take
21246 # advantage of any shell optimizations that allow amortized linear growth over
21247 # repeated appends, instead of the typical quadratic growth present in naive
21248 # implementations.
21249 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21250 eval 'as_fn_append ()
21252 eval $1+=\$2
21254 else
21255 as_fn_append ()
21257 eval $1=\$$1\$2
21259 fi # as_fn_append
21261 # as_fn_arith ARG...
21262 # ------------------
21263 # Perform arithmetic evaluation on the ARGs, and store the result in the
21264 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21265 # must be portable across $(()) and expr.
21266 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21267 eval 'as_fn_arith ()
21269 as_val=$(( $* ))
21271 else
21272 as_fn_arith ()
21274 as_val=`expr "$@" || test $? -eq 1`
21276 fi # as_fn_arith
21279 if expr a : '\(a\)' >/dev/null 2>&1 &&
21280 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21281 as_expr=expr
21282 else
21283 as_expr=false
21286 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21287 as_basename=basename
21288 else
21289 as_basename=false
21292 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21293 as_dirname=dirname
21294 else
21295 as_dirname=false
21298 as_me=`$as_basename -- "$0" ||
21299 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21300 X"$0" : 'X\(//\)$' \| \
21301 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21302 $as_echo X/"$0" |
21303 sed '/^.*\/\([^/][^/]*\)\/*$/{
21304 s//\1/
21307 /^X\/\(\/\/\)$/{
21308 s//\1/
21311 /^X\/\(\/\).*/{
21312 s//\1/
21315 s/.*/./; q'`
21317 # Avoid depending upon Character Ranges.
21318 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21319 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21320 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21321 as_cr_digits='0123456789'
21322 as_cr_alnum=$as_cr_Letters$as_cr_digits
21324 ECHO_C= ECHO_N= ECHO_T=
21325 case `echo -n x` in #(((((
21326 -n*)
21327 case `echo 'xy\c'` in
21328 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21329 xy) ECHO_C='\c';;
21330 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21331 ECHO_T=' ';;
21332 esac;;
21334 ECHO_N='-n';;
21335 esac
21337 rm -f conf$$ conf$$.exe conf$$.file
21338 if test -d conf$$.dir; then
21339 rm -f conf$$.dir/conf$$.file
21340 else
21341 rm -f conf$$.dir
21342 mkdir conf$$.dir 2>/dev/null
21344 if (echo >conf$$.file) 2>/dev/null; then
21345 if ln -s conf$$.file conf$$ 2>/dev/null; then
21346 as_ln_s='ln -s'
21347 # ... but there are two gotchas:
21348 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21349 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21350 # In both cases, we have to default to `cp -pR'.
21351 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21352 as_ln_s='cp -pR'
21353 elif ln conf$$.file conf$$ 2>/dev/null; then
21354 as_ln_s=ln
21355 else
21356 as_ln_s='cp -pR'
21358 else
21359 as_ln_s='cp -pR'
21361 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21362 rmdir conf$$.dir 2>/dev/null
21365 # as_fn_mkdir_p
21366 # -------------
21367 # Create "$as_dir" as a directory, including parents if necessary.
21368 as_fn_mkdir_p ()
21371 case $as_dir in #(
21372 -*) as_dir=./$as_dir;;
21373 esac
21374 test -d "$as_dir" || eval $as_mkdir_p || {
21375 as_dirs=
21376 while :; do
21377 case $as_dir in #(
21378 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21379 *) as_qdir=$as_dir;;
21380 esac
21381 as_dirs="'$as_qdir' $as_dirs"
21382 as_dir=`$as_dirname -- "$as_dir" ||
21383 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21384 X"$as_dir" : 'X\(//\)[^/]' \| \
21385 X"$as_dir" : 'X\(//\)$' \| \
21386 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21387 $as_echo X"$as_dir" |
21388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21389 s//\1/
21392 /^X\(\/\/\)[^/].*/{
21393 s//\1/
21396 /^X\(\/\/\)$/{
21397 s//\1/
21400 /^X\(\/\).*/{
21401 s//\1/
21404 s/.*/./; q'`
21405 test -d "$as_dir" && break
21406 done
21407 test -z "$as_dirs" || eval "mkdir $as_dirs"
21408 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21411 } # as_fn_mkdir_p
21412 if mkdir -p . 2>/dev/null; then
21413 as_mkdir_p='mkdir -p "$as_dir"'
21414 else
21415 test -d ./-p && rmdir ./-p
21416 as_mkdir_p=false
21420 # as_fn_executable_p FILE
21421 # -----------------------
21422 # Test if FILE is an executable regular file.
21423 as_fn_executable_p ()
21425 test -f "$1" && test -x "$1"
21426 } # as_fn_executable_p
21427 as_test_x='test -x'
21428 as_executable_p=as_fn_executable_p
21430 # Sed expression to map a string onto a valid CPP name.
21431 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21433 # Sed expression to map a string onto a valid variable name.
21434 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21437 exec 6>&1
21438 ## ----------------------------------- ##
21439 ## Main body of $CONFIG_STATUS script. ##
21440 ## ----------------------------------- ##
21441 _ASEOF
21442 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21445 # Save the log message, to keep $0 and so on meaningful, and to
21446 # report actual input values of CONFIG_FILES etc. instead of their
21447 # values after options handling.
21448 ac_log="
21449 This file was extended by Wine $as_me 4.8, which was
21450 generated by GNU Autoconf 2.69. Invocation command line was
21452 CONFIG_FILES = $CONFIG_FILES
21453 CONFIG_HEADERS = $CONFIG_HEADERS
21454 CONFIG_LINKS = $CONFIG_LINKS
21455 CONFIG_COMMANDS = $CONFIG_COMMANDS
21456 $ $0 $@
21458 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21461 _ACEOF
21463 case $ac_config_files in *"
21464 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21465 esac
21467 case $ac_config_headers in *"
21468 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21469 esac
21472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21473 # Files that config.status was made for.
21474 config_files="$ac_config_files"
21475 config_headers="$ac_config_headers"
21476 config_links="$ac_config_links"
21477 config_commands="$ac_config_commands"
21479 _ACEOF
21481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21482 ac_cs_usage="\
21483 \`$as_me' instantiates files and other configuration actions
21484 from templates according to the current configuration. Unless the files
21485 and actions are specified as TAGs, all are instantiated by default.
21487 Usage: $0 [OPTION]... [TAG]...
21489 -h, --help print this help, then exit
21490 -V, --version print version number and configuration settings, then exit
21491 --config print configuration, then exit
21492 -q, --quiet, --silent
21493 do not print progress messages
21494 -d, --debug don't remove temporary files
21495 --recheck update $as_me by reconfiguring in the same conditions
21496 --file=FILE[:TEMPLATE]
21497 instantiate the configuration file FILE
21498 --header=FILE[:TEMPLATE]
21499 instantiate the configuration header FILE
21501 Configuration files:
21502 $config_files
21504 Configuration headers:
21505 $config_headers
21507 Configuration links:
21508 $config_links
21510 Configuration commands:
21511 $config_commands
21513 Report bugs to <wine-devel@winehq.org>.
21514 Wine home page: <https://www.winehq.org>."
21516 _ACEOF
21517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21518 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21519 ac_cs_version="\\
21520 Wine config.status 4.8
21521 configured by $0, generated by GNU Autoconf 2.69,
21522 with options \\"\$ac_cs_config\\"
21524 Copyright (C) 2012 Free Software Foundation, Inc.
21525 This config.status script is free software; the Free Software Foundation
21526 gives unlimited permission to copy, distribute and modify it."
21528 ac_pwd='$ac_pwd'
21529 srcdir='$srcdir'
21530 test -n "\$AWK" || AWK=awk
21531 _ACEOF
21533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21534 # The default lists apply if the user does not specify any file.
21535 ac_need_defaults=:
21536 while test $# != 0
21538 case $1 in
21539 --*=?*)
21540 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21542 ac_shift=:
21544 --*=)
21545 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21546 ac_optarg=
21547 ac_shift=:
21550 ac_option=$1
21551 ac_optarg=$2
21552 ac_shift=shift
21554 esac
21556 case $ac_option in
21557 # Handling of the options.
21558 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21559 ac_cs_recheck=: ;;
21560 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21561 $as_echo "$ac_cs_version"; exit ;;
21562 --config | --confi | --conf | --con | --co | --c )
21563 $as_echo "$ac_cs_config"; exit ;;
21564 --debug | --debu | --deb | --de | --d | -d )
21565 debug=: ;;
21566 --file | --fil | --fi | --f )
21567 $ac_shift
21568 case $ac_optarg in
21569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21570 '') as_fn_error $? "missing file argument" ;;
21571 esac
21572 as_fn_append CONFIG_FILES " '$ac_optarg'"
21573 ac_need_defaults=false;;
21574 --header | --heade | --head | --hea )
21575 $ac_shift
21576 case $ac_optarg in
21577 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21578 esac
21579 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21580 ac_need_defaults=false;;
21581 --he | --h)
21582 # Conflict between --help and --header
21583 as_fn_error $? "ambiguous option: \`$1'
21584 Try \`$0 --help' for more information.";;
21585 --help | --hel | -h )
21586 $as_echo "$ac_cs_usage"; exit ;;
21587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21589 ac_cs_silent=: ;;
21591 # This is an error.
21592 -*) as_fn_error $? "unrecognized option: \`$1'
21593 Try \`$0 --help' for more information." ;;
21595 *) as_fn_append ac_config_targets " $1"
21596 ac_need_defaults=false ;;
21598 esac
21599 shift
21600 done
21602 ac_configure_extra_args=
21604 if $ac_cs_silent; then
21605 exec 6>/dev/null
21606 ac_configure_extra_args="$ac_configure_extra_args --silent"
21609 _ACEOF
21610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21611 if \$ac_cs_recheck; then
21612 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21613 shift
21614 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21615 CONFIG_SHELL='$SHELL'
21616 export CONFIG_SHELL
21617 exec "\$@"
21620 _ACEOF
21621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21622 exec 5>>config.log
21624 echo
21625 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21626 ## Running $as_me. ##
21627 _ASBOX
21628 $as_echo "$ac_log"
21629 } >&5
21631 _ACEOF
21632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21634 # INIT-COMMANDS
21636 wine_fn_output_makedep ()
21638 as_dir=tools; as_fn_mkdir_p
21639 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21641 wine_fn_output_makefile ()
21643 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21644 `cat $wine_rules_file`
21645 _WINE_EOF
21646 as_fn_error $? "could not create Makefile" "$LINENO" 5
21649 _ACEOF
21651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21653 # Handling of arguments.
21654 for ac_config_target in $ac_config_targets
21656 case $ac_config_target in
21657 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21658 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21659 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21660 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21661 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21662 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21663 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21664 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21665 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21666 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21667 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21668 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21669 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21671 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21672 esac
21673 done
21676 # If the user did not use the arguments to specify the items to instantiate,
21677 # then the envvar interface is used. Set only those that are not.
21678 # We use the long form for the default assignment because of an extremely
21679 # bizarre bug on SunOS 4.1.3.
21680 if $ac_need_defaults; then
21681 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21682 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21683 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21684 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21687 # Have a temporary directory for convenience. Make it in the build tree
21688 # simply because there is no reason against having it here, and in addition,
21689 # creating and moving files from /tmp can sometimes cause problems.
21690 # Hook for its removal unless debugging.
21691 # Note that there is a small window in which the directory will not be cleaned:
21692 # after its creation but before its name has been assigned to `$tmp'.
21693 $debug ||
21695 tmp= ac_tmp=
21696 trap 'exit_status=$?
21697 : "${ac_tmp:=$tmp}"
21698 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21700 trap 'as_fn_exit 1' 1 2 13 15
21702 # Create a (secure) tmp directory for tmp files.
21705 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21706 test -d "$tmp"
21707 } ||
21709 tmp=./conf$$-$RANDOM
21710 (umask 077 && mkdir "$tmp")
21711 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21712 ac_tmp=$tmp
21714 # Set up the scripts for CONFIG_FILES section.
21715 # No need to generate them if there are no CONFIG_FILES.
21716 # This happens for instance with `./config.status config.h'.
21717 if test -n "$CONFIG_FILES"; then
21720 ac_cr=`echo X | tr X '\015'`
21721 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21722 # But we know of no other shell where ac_cr would be empty at this
21723 # point, so we can use a bashism as a fallback.
21724 if test "x$ac_cr" = x; then
21725 eval ac_cr=\$\'\\r\'
21727 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21728 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21729 ac_cs_awk_cr='\\r'
21730 else
21731 ac_cs_awk_cr=$ac_cr
21734 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21735 _ACEOF
21739 echo "cat >conf$$subs.awk <<_ACEOF" &&
21740 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21741 echo "_ACEOF"
21742 } >conf$$subs.sh ||
21743 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21744 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21745 ac_delim='%!_!# '
21746 for ac_last_try in false false false false false :; do
21747 . ./conf$$subs.sh ||
21748 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21750 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21751 if test $ac_delim_n = $ac_delim_num; then
21752 break
21753 elif $ac_last_try; then
21754 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21755 else
21756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21758 done
21759 rm -f conf$$subs.sh
21761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21762 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21763 _ACEOF
21764 sed -n '
21766 s/^/S["/; s/!.*/"]=/
21769 s/^[^!]*!//
21770 :repl
21771 t repl
21772 s/'"$ac_delim"'$//
21773 t delim
21776 s/\(.\{148\}\)..*/\1/
21777 t more1
21778 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21781 b repl
21782 :more1
21783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21786 s/.\{148\}//
21787 t nl
21788 :delim
21790 s/\(.\{148\}\)..*/\1/
21791 t more2
21792 s/["\\]/\\&/g; s/^/"/; s/$/"/
21795 :more2
21796 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21799 s/.\{148\}//
21800 t delim
21801 ' <conf$$subs.awk | sed '
21802 /^[^""]/{
21804 s/\n//
21806 ' >>$CONFIG_STATUS || ac_write_fail=1
21807 rm -f conf$$subs.awk
21808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21809 _ACAWK
21810 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21811 for (key in S) S_is_set[key] = 1
21812 FS = "\a"
21816 line = $ 0
21817 nfields = split(line, field, "@")
21818 substed = 0
21819 len = length(field[1])
21820 for (i = 2; i < nfields; i++) {
21821 key = field[i]
21822 keylen = length(key)
21823 if (S_is_set[key]) {
21824 value = S[key]
21825 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21826 len += length(value) + length(field[++i])
21827 substed = 1
21828 } else
21829 len += 1 + keylen
21832 print line
21835 _ACAWK
21836 _ACEOF
21837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21838 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21839 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21840 else
21842 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21843 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21844 _ACEOF
21846 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21847 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21848 # trailing colons and then remove the whole line if VPATH becomes empty
21849 # (actually we leave an empty line to preserve line numbers).
21850 if test "x$srcdir" = x.; then
21851 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21853 s///
21854 s/^/:/
21855 s/[ ]*$/:/
21856 s/:\$(srcdir):/:/g
21857 s/:\${srcdir}:/:/g
21858 s/:@srcdir@:/:/g
21859 s/^:*//
21860 s/:*$//
21862 s/\(=[ ]*\).*/\1/
21864 s/\n//
21865 s/^[^=]*=[ ]*$//
21869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21870 fi # test -n "$CONFIG_FILES"
21872 # Set up the scripts for CONFIG_HEADERS section.
21873 # No need to generate them if there are no CONFIG_HEADERS.
21874 # This happens for instance with `./config.status Makefile'.
21875 if test -n "$CONFIG_HEADERS"; then
21876 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21877 BEGIN {
21878 _ACEOF
21880 # Transform confdefs.h into an awk script `defines.awk', embedded as
21881 # here-document in config.status, that substitutes the proper values into
21882 # config.h.in to produce config.h.
21884 # Create a delimiter string that does not exist in confdefs.h, to ease
21885 # handling of long lines.
21886 ac_delim='%!_!# '
21887 for ac_last_try in false false :; do
21888 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21889 if test -z "$ac_tt"; then
21890 break
21891 elif $ac_last_try; then
21892 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21893 else
21894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21896 done
21898 # For the awk script, D is an array of macro values keyed by name,
21899 # likewise P contains macro parameters if any. Preserve backslash
21900 # newline sequences.
21902 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21903 sed -n '
21904 s/.\{148\}/&'"$ac_delim"'/g
21905 t rset
21906 :rset
21907 s/^[ ]*#[ ]*define[ ][ ]*/ /
21908 t def
21910 :def
21911 s/\\$//
21912 t bsnl
21913 s/["\\]/\\&/g
21914 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21915 D["\1"]=" \3"/p
21916 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21918 :bsnl
21919 s/["\\]/\\&/g
21920 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21921 D["\1"]=" \3\\\\\\n"\\/p
21922 t cont
21923 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21924 t cont
21926 :cont
21928 s/.\{148\}/&'"$ac_delim"'/g
21929 t clear
21930 :clear
21931 s/\\$//
21932 t bsnlc
21933 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21935 :bsnlc
21936 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21937 b cont
21938 ' <confdefs.h | sed '
21939 s/'"$ac_delim"'/"\\\
21940 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21943 for (key in D) D_is_set[key] = 1
21944 FS = "\a"
21946 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21947 line = \$ 0
21948 split(line, arg, " ")
21949 if (arg[1] == "#") {
21950 defundef = arg[2]
21951 mac1 = arg[3]
21952 } else {
21953 defundef = substr(arg[1], 2)
21954 mac1 = arg[2]
21956 split(mac1, mac2, "(") #)
21957 macro = mac2[1]
21958 prefix = substr(line, 1, index(line, defundef) - 1)
21959 if (D_is_set[macro]) {
21960 # Preserve the white space surrounding the "#".
21961 print prefix "define", macro P[macro] D[macro]
21962 next
21963 } else {
21964 # Replace #undef with comments. This is necessary, for example,
21965 # in the case of _POSIX_SOURCE, which is predefined and required
21966 # on some systems where configure will not decide to define it.
21967 if (defundef == "undef") {
21968 print "/*", prefix defundef, macro, "*/"
21969 next
21973 { print }
21974 _ACAWK
21975 _ACEOF
21976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21977 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21978 fi # test -n "$CONFIG_HEADERS"
21981 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21982 shift
21983 for ac_tag
21985 case $ac_tag in
21986 :[FHLC]) ac_mode=$ac_tag; continue;;
21987 esac
21988 case $ac_mode$ac_tag in
21989 :[FHL]*:*);;
21990 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21991 :[FH]-) ac_tag=-:-;;
21992 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21993 esac
21994 ac_save_IFS=$IFS
21995 IFS=:
21996 set x $ac_tag
21997 IFS=$ac_save_IFS
21998 shift
21999 ac_file=$1
22000 shift
22002 case $ac_mode in
22003 :L) ac_source=$1;;
22004 :[FH])
22005 ac_file_inputs=
22006 for ac_f
22008 case $ac_f in
22009 -) ac_f="$ac_tmp/stdin";;
22010 *) # Look for the file first in the build tree, then in the source tree
22011 # (if the path is not absolute). The absolute path cannot be DOS-style,
22012 # because $ac_f cannot contain `:'.
22013 test -f "$ac_f" ||
22014 case $ac_f in
22015 [\\/$]*) false;;
22016 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22017 esac ||
22018 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22019 esac
22020 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22021 as_fn_append ac_file_inputs " '$ac_f'"
22022 done
22024 # Let's still pretend it is `configure' which instantiates (i.e., don't
22025 # use $as_me), people would be surprised to read:
22026 # /* config.h. Generated by config.status. */
22027 configure_input='Generated from '`
22028 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22029 `' by configure.'
22030 if test x"$ac_file" != x-; then
22031 configure_input="$ac_file. $configure_input"
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22033 $as_echo "$as_me: creating $ac_file" >&6;}
22035 # Neutralize special characters interpreted by sed in replacement strings.
22036 case $configure_input in #(
22037 *\&* | *\|* | *\\* )
22038 ac_sed_conf_input=`$as_echo "$configure_input" |
22039 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22040 *) ac_sed_conf_input=$configure_input;;
22041 esac
22043 case $ac_tag in
22044 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22046 esac
22048 esac
22050 ac_dir=`$as_dirname -- "$ac_file" ||
22051 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22052 X"$ac_file" : 'X\(//\)[^/]' \| \
22053 X"$ac_file" : 'X\(//\)$' \| \
22054 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22055 $as_echo X"$ac_file" |
22056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22057 s//\1/
22060 /^X\(\/\/\)[^/].*/{
22061 s//\1/
22064 /^X\(\/\/\)$/{
22065 s//\1/
22068 /^X\(\/\).*/{
22069 s//\1/
22072 s/.*/./; q'`
22073 as_dir="$ac_dir"; as_fn_mkdir_p
22074 ac_builddir=.
22076 case "$ac_dir" in
22077 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22079 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22080 # A ".." for each directory in $ac_dir_suffix.
22081 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22082 case $ac_top_builddir_sub in
22083 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22084 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22085 esac ;;
22086 esac
22087 ac_abs_top_builddir=$ac_pwd
22088 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22089 # for backward compatibility:
22090 ac_top_builddir=$ac_top_build_prefix
22092 case $srcdir in
22093 .) # We are building in place.
22094 ac_srcdir=.
22095 ac_top_srcdir=$ac_top_builddir_sub
22096 ac_abs_top_srcdir=$ac_pwd ;;
22097 [\\/]* | ?:[\\/]* ) # Absolute name.
22098 ac_srcdir=$srcdir$ac_dir_suffix;
22099 ac_top_srcdir=$srcdir
22100 ac_abs_top_srcdir=$srcdir ;;
22101 *) # Relative name.
22102 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22103 ac_top_srcdir=$ac_top_build_prefix$srcdir
22104 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22105 esac
22106 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22109 case $ac_mode in
22112 # CONFIG_FILE
22115 _ACEOF
22117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22118 # If the template does not know about datarootdir, expand it.
22119 # FIXME: This hack should be removed a few years after 2.60.
22120 ac_datarootdir_hack=; ac_datarootdir_seen=
22121 ac_sed_dataroot='
22122 /datarootdir/ {
22126 /@datadir@/p
22127 /@docdir@/p
22128 /@infodir@/p
22129 /@localedir@/p
22130 /@mandir@/p'
22131 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22132 *datarootdir*) ac_datarootdir_seen=yes;;
22133 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22135 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22136 _ACEOF
22137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22138 ac_datarootdir_hack='
22139 s&@datadir@&$datadir&g
22140 s&@docdir@&$docdir&g
22141 s&@infodir@&$infodir&g
22142 s&@localedir@&$localedir&g
22143 s&@mandir@&$mandir&g
22144 s&\\\${datarootdir}&$datarootdir&g' ;;
22145 esac
22146 _ACEOF
22148 # Neutralize VPATH when `$srcdir' = `.'.
22149 # Shell code in configure.ac might set extrasub.
22150 # FIXME: do we really want to maintain this feature?
22151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22152 ac_sed_extra="$ac_vpsub
22153 $extrasub
22154 _ACEOF
22155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22157 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22158 s|@configure_input@|$ac_sed_conf_input|;t t
22159 s&@top_builddir@&$ac_top_builddir_sub&;t t
22160 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22161 s&@srcdir@&$ac_srcdir&;t t
22162 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22163 s&@top_srcdir@&$ac_top_srcdir&;t t
22164 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22165 s&@builddir@&$ac_builddir&;t t
22166 s&@abs_builddir@&$ac_abs_builddir&;t t
22167 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22168 $ac_datarootdir_hack
22170 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22171 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22173 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22174 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22175 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22176 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22178 which seems to be undefined. Please make sure it is defined" >&5
22179 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22180 which seems to be undefined. Please make sure it is defined" >&2;}
22182 rm -f "$ac_tmp/stdin"
22183 case $ac_file in
22184 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22185 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22186 esac \
22187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22191 # CONFIG_HEADER
22193 if test x"$ac_file" != x-; then
22195 $as_echo "/* $configure_input */" \
22196 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22197 } >"$ac_tmp/config.h" \
22198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22199 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22201 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22202 else
22203 rm -f "$ac_file"
22204 mv "$ac_tmp/config.h" "$ac_file" \
22205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22207 else
22208 $as_echo "/* $configure_input */" \
22209 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22210 || as_fn_error $? "could not create -" "$LINENO" 5
22215 # CONFIG_LINK
22218 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22220 else
22221 # Prefer the file from the source tree if names are identical.
22222 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22223 ac_source=$srcdir/$ac_source
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22227 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22229 if test ! -r "$ac_source"; then
22230 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22232 rm -f "$ac_file"
22234 # Try a relative symlink, then a hard link, then a copy.
22235 case $ac_source in
22236 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22237 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22238 esac
22239 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22240 ln "$ac_source" "$ac_file" 2>/dev/null ||
22241 cp -p "$ac_source" "$ac_file" ||
22242 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22245 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22246 $as_echo "$as_me: executing $ac_file commands" >&6;}
22248 esac
22251 case $ac_file$ac_mode in
22252 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22253 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22254 "Makefile":C) wine_fn_output_makefile Makefile ;;
22256 esac
22257 done # for ac_tag
22260 as_fn_exit 0
22261 _ACEOF
22262 ac_clean_files=$ac_clean_files_save
22264 test $ac_write_fail = 0 ||
22265 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22268 # configure is writing to config.log, and then calls config.status.
22269 # config.status does its own redirection, appending to config.log.
22270 # Unfortunately, on DOS this fails, as config.log is still kept open
22271 # by configure, so config.status won't be able to write to it; its
22272 # output is simply discarded. So we exec the FD to /dev/null,
22273 # effectively closing config.log, so it can be properly (re)opened and
22274 # appended to by config.status. When coming back to configure, we
22275 # need to make the FD available again.
22276 if test "$no_create" != yes; then
22277 ac_cs_success=:
22278 ac_config_status_args=
22279 test "$silent" = yes &&
22280 ac_config_status_args="$ac_config_status_args --quiet"
22281 exec 5>/dev/null
22282 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22283 exec 5>>config.log
22284 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22285 # would make configure fail if this is the last instruction.
22286 $ac_cs_success || as_fn_exit 1
22288 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22290 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22294 if test "$no_create" = "yes"
22295 then
22296 exit 0
22299 ac_save_IFS="$IFS"
22300 if test "x$wine_notices" != x; then
22301 echo >&6
22302 IFS="|"
22303 for msg in $wine_notices; do
22304 IFS="$ac_save_IFS"
22305 if ${msg:+false} :; then :
22307 else
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22309 $as_echo "$as_me: $msg" >&6;}
22311 done
22313 IFS="|"
22314 for msg in $wine_warnings; do
22315 IFS="$ac_save_IFS"
22316 if ${msg:+false} :; then :
22318 else
22319 echo >&2
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22321 $as_echo "$as_me: WARNING: $msg" >&2;}
22323 done
22324 IFS="$ac_save_IFS"
22326 $as_echo "
22327 $as_me: Finished. Do '${ac_make}' to compile Wine.
22328 " >&6