ksecdd.sys: Add stub driver.
[wine.git] / configure
blobee80a75657480967d98a1f2eda0671f890ec7ee3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.5.
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.5'
584 PACKAGE_STRING='Wine 4.5'
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 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
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 XSLT_LIBS
694 XSLT_CFLAGS
695 XML2_LIBS
696 XML2_CFLAGS
697 PCAP_LIBS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 PTHREAD_LIBS
704 EXTRACROSSCFLAGS
705 CROSSCFLAGS
706 CROSSCC
707 CROSSTARGET
708 LIBWINE_DEPENDS
709 PRELINK
710 WINELOADER_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_SHAREDLIB
713 METAL_LIBS
714 CARBON_LIBS
715 QUICKTIME_LIBS
716 OPENCL_LIBS
717 OPENAL_LIBS
718 COREAUDIO_LIBS
719 SECURITY_LIBS
720 DISKARBITRATION_LIBS
721 APPKIT_LIBS
722 CORESERVICES_LIBS
723 APPLICATIONSERVICES_LIBS
724 FORCEFEEDBACK_LIBS
725 IOKIT_LIBS
726 COREFOUNDATION_LIBS
727 OBJCPP
728 ac_ct_OBJC
729 OBJCFLAGS
730 OBJC
731 DLLTOOL
732 WINELOADER_PROGRAMS
733 CONFIGURE_TARGETS
734 DISABLED_SUBDIRS
735 SUBDIRS
736 READELF
737 OTOOL
739 WINEPRELOADER_LDFLAGS
740 WINELOADER_LDFLAGS
741 TOP_INSTALL_DEV
742 TOP_INSTALL_LIB
743 LDEXECFLAGS
744 LDRPATH_LOCAL
745 LDRPATH_INSTALL
746 DLLFLAGS
748 OPENGL_LIBS
749 ICOTOOL
750 CONVERT
751 RSVG
752 FONTFORGE
753 PKG_CONFIG
754 MSGFMT
755 LDCONFIG
756 EGREP
757 GREP
758 LN_S
759 RANLIB
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 TARGETFLAGS
768 CPPBIN
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 SET_MAKE
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 runstatedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_win16
831 enable_win64
832 enable_tests
833 enable_maintainer_mode
834 with_alsa
835 with_capi
836 with_cms
837 with_coreaudio
838 with_cups
839 with_curses
840 with_dbus
841 with_faudio
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mingw
858 with_mpg123
859 with_netapi
860 with_openal
861 with_opencl
862 with_opengl
863 with_osmesa
864 with_oss
865 with_pcap
866 with_png
867 with_pthread
868 with_pulse
869 with_sane
870 with_sdl
871 with_tiff
872 with_udev
873 with_v4l
874 with_vkd3d
875 with_vulkan
876 with_xcomposite
877 with_xcursor
878 with_xfixes
879 with_xinerama
880 with_xinput
881 with_xinput2
882 with_xml
883 with_xrandr
884 with_xrender
885 with_xshape
886 with_xshm
887 with_xslt
888 with_xxf86vm
889 with_zlib
890 with_wine_tools
891 with_wine64
892 enable_largefile
893 with_x
894 enable_acledit
895 enable_aclui
896 enable_activeds
897 enable_actxprxy
898 enable_adsiid
899 enable_adsldp
900 enable_adsldpc
901 enable_advapi32
902 enable_advpack
903 enable_amsi
904 enable_amstream
905 enable_api_ms_win_appmodel_identity_l1_1_0
906 enable_api_ms_win_appmodel_runtime_l1_1_1
907 enable_api_ms_win_appmodel_runtime_l1_1_2
908 enable_api_ms_win_core_apiquery_l1_1_0
909 enable_api_ms_win_core_appcompat_l1_1_1
910 enable_api_ms_win_core_appinit_l1_1_0
911 enable_api_ms_win_core_atoms_l1_1_0
912 enable_api_ms_win_core_bem_l1_1_0
913 enable_api_ms_win_core_com_l1_1_0
914 enable_api_ms_win_core_com_l1_1_1
915 enable_api_ms_win_core_com_private_l1_1_0
916 enable_api_ms_win_core_comm_l1_1_0
917 enable_api_ms_win_core_console_l1_1_0
918 enable_api_ms_win_core_console_l2_1_0
919 enable_api_ms_win_core_crt_l1_1_0
920 enable_api_ms_win_core_crt_l2_1_0
921 enable_api_ms_win_core_datetime_l1_1_0
922 enable_api_ms_win_core_datetime_l1_1_1
923 enable_api_ms_win_core_debug_l1_1_0
924 enable_api_ms_win_core_debug_l1_1_1
925 enable_api_ms_win_core_delayload_l1_1_0
926 enable_api_ms_win_core_delayload_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_0
928 enable_api_ms_win_core_errorhandling_l1_1_1
929 enable_api_ms_win_core_errorhandling_l1_1_2
930 enable_api_ms_win_core_errorhandling_l1_1_3
931 enable_api_ms_win_core_fibers_l1_1_0
932 enable_api_ms_win_core_fibers_l1_1_1
933 enable_api_ms_win_core_file_l1_1_0
934 enable_api_ms_win_core_file_l1_2_0
935 enable_api_ms_win_core_file_l1_2_1
936 enable_api_ms_win_core_file_l1_2_2
937 enable_api_ms_win_core_file_l2_1_0
938 enable_api_ms_win_core_file_l2_1_1
939 enable_api_ms_win_core_file_l2_1_2
940 enable_api_ms_win_core_handle_l1_1_0
941 enable_api_ms_win_core_heap_l1_1_0
942 enable_api_ms_win_core_heap_l1_2_0
943 enable_api_ms_win_core_heap_l2_1_0
944 enable_api_ms_win_core_heap_obsolete_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_1_0
946 enable_api_ms_win_core_interlocked_l1_2_0
947 enable_api_ms_win_core_io_l1_1_0
948 enable_api_ms_win_core_io_l1_1_1
949 enable_api_ms_win_core_job_l1_1_0
950 enable_api_ms_win_core_job_l2_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_0
952 enable_api_ms_win_core_kernel32_legacy_l1_1_1
953 enable_api_ms_win_core_kernel32_private_l1_1_1
954 enable_api_ms_win_core_largeinteger_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_0
956 enable_api_ms_win_core_libraryloader_l1_1_1
957 enable_api_ms_win_core_libraryloader_l1_2_0
958 enable_api_ms_win_core_libraryloader_l1_2_1
959 enable_api_ms_win_core_libraryloader_l1_2_2
960 enable_api_ms_win_core_localization_l1_1_0
961 enable_api_ms_win_core_localization_l1_2_0
962 enable_api_ms_win_core_localization_l1_2_1
963 enable_api_ms_win_core_localization_l2_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_1_0
965 enable_api_ms_win_core_localization_obsolete_l1_2_0
966 enable_api_ms_win_core_localization_obsolete_l1_3_0
967 enable_api_ms_win_core_localization_private_l1_1_0
968 enable_api_ms_win_core_localregistry_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_0
970 enable_api_ms_win_core_memory_l1_1_1
971 enable_api_ms_win_core_memory_l1_1_2
972 enable_api_ms_win_core_misc_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_1_0
974 enable_api_ms_win_core_namedpipe_l1_2_0
975 enable_api_ms_win_core_namespace_l1_1_0
976 enable_api_ms_win_core_normalization_l1_1_0
977 enable_api_ms_win_core_path_l1_1_0
978 enable_api_ms_win_core_privateprofile_l1_1_1
979 enable_api_ms_win_core_processenvironment_l1_1_0
980 enable_api_ms_win_core_processenvironment_l1_2_0
981 enable_api_ms_win_core_processthreads_l1_1_0
982 enable_api_ms_win_core_processthreads_l1_1_1
983 enable_api_ms_win_core_processthreads_l1_1_2
984 enable_api_ms_win_core_processthreads_l1_1_3
985 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
986 enable_api_ms_win_core_profile_l1_1_0
987 enable_api_ms_win_core_psapi_ansi_l1_1_0
988 enable_api_ms_win_core_psapi_l1_1_0
989 enable_api_ms_win_core_psapi_obsolete_l1_1_0
990 enable_api_ms_win_core_quirks_l1_1_0
991 enable_api_ms_win_core_realtime_l1_1_0
992 enable_api_ms_win_core_registry_l1_1_0
993 enable_api_ms_win_core_registry_l2_1_0
994 enable_api_ms_win_core_registryuserspecific_l1_1_0
995 enable_api_ms_win_core_rtlsupport_l1_1_0
996 enable_api_ms_win_core_rtlsupport_l1_2_0
997 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
998 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
999 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1000 enable_api_ms_win_core_shutdown_l1_1_0
1001 enable_api_ms_win_core_sidebyside_l1_1_0
1002 enable_api_ms_win_core_string_l1_1_0
1003 enable_api_ms_win_core_string_l2_1_0
1004 enable_api_ms_win_core_string_obsolete_l1_1_0
1005 enable_api_ms_win_core_stringansi_l1_1_0
1006 enable_api_ms_win_core_stringloader_l1_1_1
1007 enable_api_ms_win_core_synch_ansi_l1_1_0
1008 enable_api_ms_win_core_synch_l1_1_0
1009 enable_api_ms_win_core_synch_l1_2_0
1010 enable_api_ms_win_core_synch_l1_2_1
1011 enable_api_ms_win_core_sysinfo_l1_1_0
1012 enable_api_ms_win_core_sysinfo_l1_2_0
1013 enable_api_ms_win_core_sysinfo_l1_2_1
1014 enable_api_ms_win_core_threadpool_l1_1_0
1015 enable_api_ms_win_core_threadpool_l1_2_0
1016 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1017 enable_api_ms_win_core_threadpool_private_l1_1_0
1018 enable_api_ms_win_core_timezone_l1_1_0
1019 enable_api_ms_win_core_toolhelp_l1_1_0
1020 enable_api_ms_win_core_url_l1_1_0
1021 enable_api_ms_win_core_util_l1_1_0
1022 enable_api_ms_win_core_version_l1_1_0
1023 enable_api_ms_win_core_version_l1_1_1
1024 enable_api_ms_win_core_version_private_l1_1_0
1025 enable_api_ms_win_core_versionansi_l1_1_0
1026 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1027 enable_api_ms_win_core_winrt_error_l1_1_0
1028 enable_api_ms_win_core_winrt_error_l1_1_1
1029 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1030 enable_api_ms_win_core_winrt_l1_1_0
1031 enable_api_ms_win_core_winrt_registration_l1_1_0
1032 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1033 enable_api_ms_win_core_winrt_string_l1_1_0
1034 enable_api_ms_win_core_winrt_string_l1_1_1
1035 enable_api_ms_win_core_wow64_l1_1_0
1036 enable_api_ms_win_core_wow64_l1_1_1
1037 enable_api_ms_win_core_xstate_l1_1_0
1038 enable_api_ms_win_core_xstate_l2_1_0
1039 enable_api_ms_win_crt_conio_l1_1_0
1040 enable_api_ms_win_crt_convert_l1_1_0
1041 enable_api_ms_win_crt_environment_l1_1_0
1042 enable_api_ms_win_crt_filesystem_l1_1_0
1043 enable_api_ms_win_crt_heap_l1_1_0
1044 enable_api_ms_win_crt_locale_l1_1_0
1045 enable_api_ms_win_crt_math_l1_1_0
1046 enable_api_ms_win_crt_multibyte_l1_1_0
1047 enable_api_ms_win_crt_private_l1_1_0
1048 enable_api_ms_win_crt_process_l1_1_0
1049 enable_api_ms_win_crt_runtime_l1_1_0
1050 enable_api_ms_win_crt_stdio_l1_1_0
1051 enable_api_ms_win_crt_string_l1_1_0
1052 enable_api_ms_win_crt_time_l1_1_0
1053 enable_api_ms_win_crt_utility_l1_1_0
1054 enable_api_ms_win_devices_config_l1_1_0
1055 enable_api_ms_win_devices_config_l1_1_1
1056 enable_api_ms_win_devices_query_l1_1_1
1057 enable_api_ms_win_downlevel_advapi32_l1_1_0
1058 enable_api_ms_win_downlevel_advapi32_l2_1_0
1059 enable_api_ms_win_downlevel_normaliz_l1_1_0
1060 enable_api_ms_win_downlevel_ole32_l1_1_0
1061 enable_api_ms_win_downlevel_shell32_l1_1_0
1062 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1063 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1064 enable_api_ms_win_downlevel_user32_l1_1_0
1065 enable_api_ms_win_downlevel_version_l1_1_0
1066 enable_api_ms_win_dx_d3dkmt_l1_1_0
1067 enable_api_ms_win_eventing_classicprovider_l1_1_0
1068 enable_api_ms_win_eventing_consumer_l1_1_0
1069 enable_api_ms_win_eventing_controller_l1_1_0
1070 enable_api_ms_win_eventing_legacy_l1_1_0
1071 enable_api_ms_win_eventing_provider_l1_1_0
1072 enable_api_ms_win_eventlog_legacy_l1_1_0
1073 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1074 enable_api_ms_win_mm_joystick_l1_1_0
1075 enable_api_ms_win_mm_misc_l1_1_1
1076 enable_api_ms_win_mm_mme_l1_1_0
1077 enable_api_ms_win_mm_time_l1_1_0
1078 enable_api_ms_win_ntuser_dc_access_l1_1_0
1079 enable_api_ms_win_ntuser_rectangle_l1_1_0
1080 enable_api_ms_win_ntuser_sysparams_l1_1_0
1081 enable_api_ms_win_perf_legacy_l1_1_0
1082 enable_api_ms_win_power_base_l1_1_0
1083 enable_api_ms_win_power_setting_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1087 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1091 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1092 enable_api_ms_win_security_audit_l1_1_1
1093 enable_api_ms_win_security_base_l1_1_0
1094 enable_api_ms_win_security_base_l1_2_0
1095 enable_api_ms_win_security_base_private_l1_1_1
1096 enable_api_ms_win_security_credentials_l1_1_0
1097 enable_api_ms_win_security_cryptoapi_l1_1_0
1098 enable_api_ms_win_security_grouppolicy_l1_1_0
1099 enable_api_ms_win_security_lsalookup_l1_1_0
1100 enable_api_ms_win_security_lsalookup_l1_1_1
1101 enable_api_ms_win_security_lsalookup_l2_1_0
1102 enable_api_ms_win_security_lsalookup_l2_1_1
1103 enable_api_ms_win_security_lsapolicy_l1_1_0
1104 enable_api_ms_win_security_provider_l1_1_0
1105 enable_api_ms_win_security_sddl_l1_1_0
1106 enable_api_ms_win_security_systemfunctions_l1_1_0
1107 enable_api_ms_win_service_core_l1_1_0
1108 enable_api_ms_win_service_core_l1_1_1
1109 enable_api_ms_win_service_management_l1_1_0
1110 enable_api_ms_win_service_management_l2_1_0
1111 enable_api_ms_win_service_private_l1_1_1
1112 enable_api_ms_win_service_winsvc_l1_1_0
1113 enable_api_ms_win_service_winsvc_l1_2_0
1114 enable_api_ms_win_shcore_obsolete_l1_1_0
1115 enable_api_ms_win_shcore_scaling_l1_1_1
1116 enable_api_ms_win_shcore_stream_l1_1_0
1117 enable_api_ms_win_shcore_thread_l1_1_0
1118 enable_api_ms_win_shell_shellcom_l1_1_0
1119 enable_api_ms_win_shell_shellfolders_l1_1_0
1120 enable_apphelp
1121 enable_appwiz_cpl
1122 enable_atl
1123 enable_atl100
1124 enable_atl110
1125 enable_atl80
1126 enable_atl90
1127 enable_atlthunk
1128 enable_atmlib
1129 enable_authz
1130 enable_avicap32
1131 enable_avifil32
1132 enable_avrt
1133 enable_bcrypt
1134 enable_bluetoothapis
1135 enable_browseui
1136 enable_bthprops_cpl
1137 enable_cabinet
1138 enable_capi2032
1139 enable_cards
1140 enable_cdosys
1141 enable_cfgmgr32
1142 enable_clusapi
1143 enable_combase
1144 enable_comcat
1145 enable_comctl32
1146 enable_comdlg32
1147 enable_compstui
1148 enable_comsvcs
1149 enable_concrt140
1150 enable_connect
1151 enable_credui
1152 enable_crtdll
1153 enable_crypt32
1154 enable_cryptdlg
1155 enable_cryptdll
1156 enable_cryptext
1157 enable_cryptnet
1158 enable_cryptui
1159 enable_ctapi32
1160 enable_ctl3d32
1161 enable_d2d1
1162 enable_d3d10
1163 enable_d3d10_1
1164 enable_d3d10core
1165 enable_d3d11
1166 enable_d3d12
1167 enable_d3d8
1168 enable_d3d9
1169 enable_d3dcompiler_33
1170 enable_d3dcompiler_34
1171 enable_d3dcompiler_35
1172 enable_d3dcompiler_36
1173 enable_d3dcompiler_37
1174 enable_d3dcompiler_38
1175 enable_d3dcompiler_39
1176 enable_d3dcompiler_40
1177 enable_d3dcompiler_41
1178 enable_d3dcompiler_42
1179 enable_d3dcompiler_43
1180 enable_d3dcompiler_46
1181 enable_d3dcompiler_47
1182 enable_d3dim
1183 enable_d3drm
1184 enable_d3dx10_33
1185 enable_d3dx10_34
1186 enable_d3dx10_35
1187 enable_d3dx10_36
1188 enable_d3dx10_37
1189 enable_d3dx10_38
1190 enable_d3dx10_39
1191 enable_d3dx10_40
1192 enable_d3dx10_41
1193 enable_d3dx10_42
1194 enable_d3dx10_43
1195 enable_d3dx11_42
1196 enable_d3dx11_43
1197 enable_d3dx9_24
1198 enable_d3dx9_25
1199 enable_d3dx9_26
1200 enable_d3dx9_27
1201 enable_d3dx9_28
1202 enable_d3dx9_29
1203 enable_d3dx9_30
1204 enable_d3dx9_31
1205 enable_d3dx9_32
1206 enable_d3dx9_33
1207 enable_d3dx9_34
1208 enable_d3dx9_35
1209 enable_d3dx9_36
1210 enable_d3dx9_37
1211 enable_d3dx9_38
1212 enable_d3dx9_39
1213 enable_d3dx9_40
1214 enable_d3dx9_41
1215 enable_d3dx9_42
1216 enable_d3dx9_43
1217 enable_d3dxof
1218 enable_davclnt
1219 enable_dbgeng
1220 enable_dbghelp
1221 enable_dciman32
1222 enable_ddraw
1223 enable_ddrawex
1224 enable_devenum
1225 enable_dhcpcsvc
1226 enable_dhtmled_ocx
1227 enable_difxapi
1228 enable_dinput
1229 enable_dinput8
1230 enable_dispex
1231 enable_dmband
1232 enable_dmcompos
1233 enable_dmime
1234 enable_dmloader
1235 enable_dmoguids
1236 enable_dmscript
1237 enable_dmstyle
1238 enable_dmsynth
1239 enable_dmusic
1240 enable_dmusic32
1241 enable_dnsapi
1242 enable_dplay
1243 enable_dplayx
1244 enable_dpnaddr
1245 enable_dpnet
1246 enable_dpnhpast
1247 enable_dpnlobby
1248 enable_dpvoice
1249 enable_dpwsockx
1250 enable_drmclien
1251 enable_dsound
1252 enable_dsquery
1253 enable_dssenh
1254 enable_dswave
1255 enable_dwmapi
1256 enable_dwrite
1257 enable_dx8vb
1258 enable_dxdiagn
1259 enable_dxerr8
1260 enable_dxerr9
1261 enable_dxgi
1262 enable_dxguid
1263 enable_dxva2
1264 enable_esent
1265 enable_evr
1266 enable_explorerframe
1267 enable_ext_ms_win_authz_context_l1_1_0
1268 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1269 enable_ext_ms_win_dwmapi_ext_l1_1_0
1270 enable_ext_ms_win_gdi_dc_create_l1_1_0
1271 enable_ext_ms_win_gdi_dc_create_l1_1_1
1272 enable_ext_ms_win_gdi_dc_l1_2_0
1273 enable_ext_ms_win_gdi_devcaps_l1_1_0
1274 enable_ext_ms_win_gdi_draw_l1_1_0
1275 enable_ext_ms_win_gdi_draw_l1_1_1
1276 enable_ext_ms_win_gdi_font_l1_1_0
1277 enable_ext_ms_win_gdi_font_l1_1_1
1278 enable_ext_ms_win_gdi_render_l1_1_0
1279 enable_ext_ms_win_kernel32_package_current_l1_1_0
1280 enable_ext_ms_win_kernel32_package_l1_1_1
1281 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1282 enable_ext_ms_win_ntuser_draw_l1_1_0
1283 enable_ext_ms_win_ntuser_gui_l1_1_0
1284 enable_ext_ms_win_ntuser_gui_l1_3_0
1285 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1286 enable_ext_ms_win_ntuser_message_l1_1_0
1287 enable_ext_ms_win_ntuser_message_l1_1_1
1288 enable_ext_ms_win_ntuser_misc_l1_1_0
1289 enable_ext_ms_win_ntuser_misc_l1_2_0
1290 enable_ext_ms_win_ntuser_misc_l1_5_1
1291 enable_ext_ms_win_ntuser_mouse_l1_1_0
1292 enable_ext_ms_win_ntuser_private_l1_1_1
1293 enable_ext_ms_win_ntuser_private_l1_3_1
1294 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1295 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1296 enable_ext_ms_win_ntuser_window_l1_1_0
1297 enable_ext_ms_win_ntuser_window_l1_1_1
1298 enable_ext_ms_win_ntuser_window_l1_1_4
1299 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1300 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1301 enable_ext_ms_win_oleacc_l1_1_0
1302 enable_ext_ms_win_ras_rasapi32_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1304 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1305 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1308 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1310 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1313 enable_ext_ms_win_security_credui_l1_1_0
1314 enable_ext_ms_win_security_cryptui_l1_1_0
1315 enable_ext_ms_win_uxtheme_themes_l1_1_0
1316 enable_faultrep
1317 enable_feclient
1318 enable_fltlib
1319 enable_fltmgr_sys
1320 enable_fntcache
1321 enable_fontsub
1322 enable_fusion
1323 enable_fwpuclnt
1324 enable_gameux
1325 enable_gdi32
1326 enable_gdiplus
1327 enable_glu32
1328 enable_gphoto2_ds
1329 enable_gpkcsp
1330 enable_hal
1331 enable_hhctrl_ocx
1332 enable_hid
1333 enable_hidclass_sys
1334 enable_hlink
1335 enable_hnetcfg
1336 enable_httpapi
1337 enable_iccvid
1338 enable_icmp
1339 enable_ieframe
1340 enable_ieproxy
1341 enable_imaadp32_acm
1342 enable_imagehlp
1343 enable_imm32
1344 enable_inetcomm
1345 enable_inetcpl_cpl
1346 enable_inetmib1
1347 enable_infosoft
1348 enable_initpki
1349 enable_inkobj
1350 enable_inseng
1351 enable_iphlpapi
1352 enable_iprop
1353 enable_irprops_cpl
1354 enable_itircl
1355 enable_itss
1356 enable_joy_cpl
1357 enable_jscript
1358 enable_jsproxy
1359 enable_kerberos
1360 enable_kernel32
1361 enable_kernelbase
1362 enable_ksecdd_sys
1363 enable_ksuser
1364 enable_ktmw32
1365 enable_l3codeca_acm
1366 enable_loadperf
1367 enable_localspl
1368 enable_localui
1369 enable_lz32
1370 enable_mapi32
1371 enable_mapistub
1372 enable_mciavi32
1373 enable_mcicda
1374 enable_mciqtz32
1375 enable_mciseq
1376 enable_mciwave
1377 enable_mf
1378 enable_mf3216
1379 enable_mferror
1380 enable_mfplat
1381 enable_mfplay
1382 enable_mfreadwrite
1383 enable_mfuuid
1384 enable_mgmtapi
1385 enable_midimap
1386 enable_mlang
1387 enable_mmcndmgr
1388 enable_mmdevapi
1389 enable_mountmgr_sys
1390 enable_mp3dmod
1391 enable_mpr
1392 enable_mprapi
1393 enable_msacm32_drv
1394 enable_msacm32
1395 enable_msadp32_acm
1396 enable_msasn1
1397 enable_mscat32
1398 enable_mscms
1399 enable_mscoree
1400 enable_msctf
1401 enable_msctfp
1402 enable_msdaps
1403 enable_msdelta
1404 enable_msdmo
1405 enable_msdrm
1406 enable_msftedit
1407 enable_msg711_acm
1408 enable_msgsm32_acm
1409 enable_mshtml_tlb
1410 enable_mshtml
1411 enable_msi
1412 enable_msident
1413 enable_msimg32
1414 enable_msimsg
1415 enable_msimtf
1416 enable_msisip
1417 enable_msisys_ocx
1418 enable_msls31
1419 enable_msnet32
1420 enable_mspatcha
1421 enable_msports
1422 enable_msrle32
1423 enable_msscript_ocx
1424 enable_mssign32
1425 enable_mssip32
1426 enable_mstask
1427 enable_msvcirt
1428 enable_msvcm80
1429 enable_msvcm90
1430 enable_msvcp100
1431 enable_msvcp110
1432 enable_msvcp120
1433 enable_msvcp120_app
1434 enable_msvcp140
1435 enable_msvcp60
1436 enable_msvcp70
1437 enable_msvcp71
1438 enable_msvcp80
1439 enable_msvcp90
1440 enable_msvcr100
1441 enable_msvcr110
1442 enable_msvcr120
1443 enable_msvcr120_app
1444 enable_msvcr70
1445 enable_msvcr71
1446 enable_msvcr80
1447 enable_msvcr90
1448 enable_msvcrt
1449 enable_msvcrt20
1450 enable_msvcrt40
1451 enable_msvcrtd
1452 enable_msvfw32
1453 enable_msvidc32
1454 enable_mswsock
1455 enable_msxml
1456 enable_msxml2
1457 enable_msxml3
1458 enable_msxml4
1459 enable_msxml6
1460 enable_mtxdm
1461 enable_ncrypt
1462 enable_nddeapi
1463 enable_ndis_sys
1464 enable_netapi32
1465 enable_netcfgx
1466 enable_netprofm
1467 enable_newdev
1468 enable_ninput
1469 enable_normaliz
1470 enable_npmshtml
1471 enable_npptools
1472 enable_ntdll
1473 enable_ntdsapi
1474 enable_ntoskrnl_exe
1475 enable_ntprint
1476 enable_objsel
1477 enable_odbc32
1478 enable_odbccp32
1479 enable_odbccu32
1480 enable_ole32
1481 enable_oleacc
1482 enable_oleaut32
1483 enable_olecli32
1484 enable_oledb32
1485 enable_oledlg
1486 enable_olepro32
1487 enable_olesvr32
1488 enable_olethk32
1489 enable_opcservices
1490 enable_openal32
1491 enable_opencl
1492 enable_opengl32
1493 enable_packager
1494 enable_pdh
1495 enable_photometadatahandler
1496 enable_pidgen
1497 enable_powrprof
1498 enable_printui
1499 enable_prntvpt
1500 enable_propsys
1501 enable_psapi
1502 enable_pstorec
1503 enable_qcap
1504 enable_qedit
1505 enable_qmgr
1506 enable_qmgrprxy
1507 enable_quartz
1508 enable_query
1509 enable_qwave
1510 enable_rasapi32
1511 enable_rasdlg
1512 enable_regapi
1513 enable_resutils
1514 enable_riched20
1515 enable_riched32
1516 enable_rpcrt4
1517 enable_rsabase
1518 enable_rsaenh
1519 enable_rstrtmgr
1520 enable_rtutils
1521 enable_samlib
1522 enable_sane_ds
1523 enable_sapi
1524 enable_sas
1525 enable_scarddlg
1526 enable_sccbase
1527 enable_schannel
1528 enable_schedsvc
1529 enable_scrobj
1530 enable_scrrun
1531 enable_scsiport_sys
1532 enable_secur32
1533 enable_security
1534 enable_sensapi
1535 enable_serialui
1536 enable_setupapi
1537 enable_sfc
1538 enable_sfc_os
1539 enable_shcore
1540 enable_shdoclc
1541 enable_shdocvw
1542 enable_shell32
1543 enable_shfolder
1544 enable_shlwapi
1545 enable_slbcsp
1546 enable_slc
1547 enable_snmpapi
1548 enable_softpub
1549 enable_spoolss
1550 enable_srclient
1551 enable_sspicli
1552 enable_stdole2_tlb
1553 enable_stdole32_tlb
1554 enable_sti
1555 enable_strmbase
1556 enable_strmdll
1557 enable_strmiids
1558 enable_svrapi
1559 enable_sxs
1560 enable_t2embed
1561 enable_tapi32
1562 enable_taskschd
1563 enable_tdh
1564 enable_tdi_sys
1565 enable_traffic
1566 enable_twain_32
1567 enable_tzres
1568 enable_ucrtbase
1569 enable_uianimation
1570 enable_uiautomationcore
1571 enable_uiribbon
1572 enable_unicows
1573 enable_updspapi
1574 enable_url
1575 enable_urlmon
1576 enable_usbd_sys
1577 enable_user32
1578 enable_userenv
1579 enable_usp10
1580 enable_uuid
1581 enable_uxtheme
1582 enable_vbscript
1583 enable_vcomp
1584 enable_vcomp100
1585 enable_vcomp110
1586 enable_vcomp120
1587 enable_vcomp140
1588 enable_vcomp90
1589 enable_vcruntime140
1590 enable_vdmdbg
1591 enable_version
1592 enable_virtdisk
1593 enable_vssapi
1594 enable_vulkan_1
1595 enable_wbemdisp
1596 enable_wbemprox
1597 enable_wdscore
1598 enable_webservices
1599 enable_wer
1600 enable_wevtapi
1601 enable_wiaservc
1602 enable_wimgapi
1603 enable_windowscodecs
1604 enable_windowscodecsext
1605 enable_winealsa_drv
1606 enable_wineandroid_drv
1607 enable_winebus_sys
1608 enable_winecoreaudio_drv
1609 enable_winecrt0
1610 enable_wined3d
1611 enable_winegstreamer
1612 enable_winehid_sys
1613 enable_winejoystick_drv
1614 enable_winemac_drv
1615 enable_winemapi
1616 enable_wineoss_drv
1617 enable_wineps_drv
1618 enable_winepulse_drv
1619 enable_wineqtdecoder
1620 enable_winevulkan
1621 enable_winex11_drv
1622 enable_wing32
1623 enable_winhttp
1624 enable_wininet
1625 enable_winmm
1626 enable_winnls32
1627 enable_winscard
1628 enable_winspool_drv
1629 enable_winsta
1630 enable_wintab32
1631 enable_wintrust
1632 enable_winusb
1633 enable_wlanapi
1634 enable_wldap32
1635 enable_wmasf
1636 enable_wmcodecdspuuid
1637 enable_wmi
1638 enable_wmiutils
1639 enable_wmp
1640 enable_wmphoto
1641 enable_wmvcore
1642 enable_wnaspi32
1643 enable_wpc
1644 enable_wpcap
1645 enable_ws2_32
1646 enable_wsdapi
1647 enable_wshom_ocx
1648 enable_wsnmp32
1649 enable_wsock32
1650 enable_wtsapi32
1651 enable_wuapi
1652 enable_wuaueng
1653 enable_x3daudio1_0
1654 enable_x3daudio1_1
1655 enable_x3daudio1_2
1656 enable_x3daudio1_3
1657 enable_x3daudio1_4
1658 enable_x3daudio1_5
1659 enable_x3daudio1_6
1660 enable_x3daudio1_7
1661 enable_xapofx1_1
1662 enable_xapofx1_2
1663 enable_xapofx1_3
1664 enable_xapofx1_4
1665 enable_xapofx1_5
1666 enable_xaudio2_0
1667 enable_xaudio2_1
1668 enable_xaudio2_2
1669 enable_xaudio2_3
1670 enable_xaudio2_4
1671 enable_xaudio2_5
1672 enable_xaudio2_6
1673 enable_xaudio2_7
1674 enable_xaudio2_8
1675 enable_xaudio2_9
1676 enable_xinput1_1
1677 enable_xinput1_2
1678 enable_xinput1_3
1679 enable_xinput1_4
1680 enable_xinput9_1_0
1681 enable_xmllite
1682 enable_xolehlp
1683 enable_xpsprint
1684 enable_xpssvcs
1685 enable_fonts
1686 enable_include
1687 enable_port
1688 enable_wine
1689 enable_wpp
1690 enable_loader
1691 enable_po
1692 enable_arp
1693 enable_aspnet_regiis
1694 enable_attrib
1695 enable_cabarc
1696 enable_cacls
1697 enable_clock
1698 enable_cmd
1699 enable_conhost
1700 enable_control
1701 enable_cscript
1702 enable_dism
1703 enable_dpnsvr
1704 enable_dxdiag
1705 enable_eject
1706 enable_expand
1707 enable_explorer
1708 enable_extrac32
1709 enable_fc
1710 enable_find
1711 enable_findstr
1712 enable_fsutil
1713 enable_hh
1714 enable_hostname
1715 enable_icacls
1716 enable_icinfo
1717 enable_iexplore
1718 enable_ipconfig
1719 enable_lodctr
1720 enable_mofcomp
1721 enable_mshta
1722 enable_msidb
1723 enable_msiexec
1724 enable_msinfo32
1725 enable_net
1726 enable_netsh
1727 enable_netstat
1728 enable_ngen
1729 enable_notepad
1730 enable_oleview
1731 enable_ping
1732 enable_plugplay
1733 enable_powershell
1734 enable_presentationfontcache
1735 enable_progman
1736 enable_reg
1737 enable_regasm
1738 enable_regedit
1739 enable_regsvcs
1740 enable_regsvr32
1741 enable_rpcss
1742 enable_rundll32
1743 enable_sc
1744 enable_schtasks
1745 enable_sdbinst
1746 enable_secedit
1747 enable_servicemodelreg
1748 enable_services
1749 enable_shutdown
1750 enable_spoolsv
1751 enable_start
1752 enable_subst
1753 enable_svchost
1754 enable_systeminfo
1755 enable_taskkill
1756 enable_tasklist
1757 enable_taskmgr
1758 enable_termsv
1759 enable_uninstaller
1760 enable_unlodctr
1761 enable_view
1762 enable_wevtutil
1763 enable_wineboot
1764 enable_winebrowser
1765 enable_winecfg
1766 enable_wineconsole
1767 enable_winedbg
1768 enable_winedevice
1769 enable_winefile
1770 enable_winemenubuilder
1771 enable_winemine
1772 enable_winemsibuilder
1773 enable_winepath
1774 enable_winetest
1775 enable_winhlp32
1776 enable_winmgmt
1777 enable_winver
1778 enable_wmic
1779 enable_wmplayer
1780 enable_wordpad
1781 enable_write
1782 enable_wscript
1783 enable_wusa
1784 enable_xcopy
1785 enable_server
1786 enable_tools
1787 enable_sfnt2fon
1788 enable_widl
1789 enable_winebuild
1790 enable_winedump
1791 enable_winegcc
1792 enable_winemaker
1793 enable_wmc
1794 enable_wrc
1796 ac_precious_vars='build_alias
1797 host_alias
1798 target_alias
1800 CFLAGS
1801 LDFLAGS
1802 LIBS
1803 CPPFLAGS
1805 CXXFLAGS
1808 OBJC
1809 OBJCFLAGS
1810 OBJCPP
1811 XMKMF
1812 XML2_CFLAGS
1813 XML2_LIBS
1814 XSLT_CFLAGS
1815 XSLT_LIBS
1816 DBUS_CFLAGS
1817 DBUS_LIBS
1818 HAL_CFLAGS
1819 HAL_LIBS
1820 GNUTLS_CFLAGS
1821 GNUTLS_LIBS
1822 SANE_CFLAGS
1823 SANE_LIBS
1824 GPHOTO2_CFLAGS
1825 GPHOTO2_LIBS
1826 GPHOTO2_PORT_CFLAGS
1827 GPHOTO2_PORT_LIBS
1828 LCMS2_CFLAGS
1829 LCMS2_LIBS
1830 FREETYPE_CFLAGS
1831 FREETYPE_LIBS
1832 PULSE_CFLAGS
1833 PULSE_LIBS
1834 GSTREAMER_CFLAGS
1835 GSTREAMER_LIBS
1836 UDEV_CFLAGS
1837 UDEV_LIBS
1838 SDL2_CFLAGS
1839 SDL2_LIBS
1840 FAUDIO_CFLAGS
1841 FAUDIO_LIBS
1842 CAPI20_CFLAGS
1843 CAPI20_LIBS
1844 CUPS_CFLAGS
1845 CUPS_LIBS
1846 FONTCONFIG_CFLAGS
1847 FONTCONFIG_LIBS
1848 KRB5_CFLAGS
1849 KRB5_LIBS
1850 GSSAPI_CFLAGS
1851 GSSAPI_LIBS
1852 JPEG_CFLAGS
1853 JPEG_LIBS
1854 PNG_CFLAGS
1855 PNG_LIBS
1856 TIFF_CFLAGS
1857 TIFF_LIBS
1858 MPG123_CFLAGS
1859 MPG123_LIBS
1860 NETAPI_CFLAGS
1861 NETAPI_LIBS
1862 VKD3D_CFLAGS
1863 VKD3D_LIBS
1864 LDAP_CFLAGS
1865 LDAP_LIBS'
1868 # Initialize some variables set by options.
1869 ac_init_help=
1870 ac_init_version=false
1871 ac_unrecognized_opts=
1872 ac_unrecognized_sep=
1873 # The variables have the same names as the options, with
1874 # dashes changed to underlines.
1875 cache_file=/dev/null
1876 exec_prefix=NONE
1877 no_create=
1878 no_recursion=
1879 prefix=NONE
1880 program_prefix=NONE
1881 program_suffix=NONE
1882 program_transform_name=s,x,x,
1883 silent=
1884 site=
1885 srcdir=
1886 verbose=
1887 x_includes=NONE
1888 x_libraries=NONE
1890 # Installation directory options.
1891 # These are left unexpanded so users can "make install exec_prefix=/foo"
1892 # and all the variables that are supposed to be based on exec_prefix
1893 # by default will actually change.
1894 # Use braces instead of parens because sh, perl, etc. also accept them.
1895 # (The list follows the same order as the GNU Coding Standards.)
1896 bindir='${exec_prefix}/bin'
1897 sbindir='${exec_prefix}/sbin'
1898 libexecdir='${exec_prefix}/libexec'
1899 datarootdir='${prefix}/share'
1900 datadir='${datarootdir}'
1901 sysconfdir='${prefix}/etc'
1902 sharedstatedir='${prefix}/com'
1903 localstatedir='${prefix}/var'
1904 runstatedir='${localstatedir}/run'
1905 includedir='${prefix}/include'
1906 oldincludedir='/usr/include'
1907 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1908 infodir='${datarootdir}/info'
1909 htmldir='${docdir}'
1910 dvidir='${docdir}'
1911 pdfdir='${docdir}'
1912 psdir='${docdir}'
1913 libdir='${exec_prefix}/lib'
1914 localedir='${datarootdir}/locale'
1915 mandir='${datarootdir}/man'
1917 ac_prev=
1918 ac_dashdash=
1919 for ac_option
1921 # If the previous option needs an argument, assign it.
1922 if test -n "$ac_prev"; then
1923 eval $ac_prev=\$ac_option
1924 ac_prev=
1925 continue
1928 case $ac_option in
1929 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1930 *=) ac_optarg= ;;
1931 *) ac_optarg=yes ;;
1932 esac
1934 # Accept the important Cygnus configure options, so we can diagnose typos.
1936 case $ac_dashdash$ac_option in
1938 ac_dashdash=yes ;;
1940 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1941 ac_prev=bindir ;;
1942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1943 bindir=$ac_optarg ;;
1945 -build | --build | --buil | --bui | --bu)
1946 ac_prev=build_alias ;;
1947 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1948 build_alias=$ac_optarg ;;
1950 -cache-file | --cache-file | --cache-fil | --cache-fi \
1951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1952 ac_prev=cache_file ;;
1953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1955 cache_file=$ac_optarg ;;
1957 --config-cache | -C)
1958 cache_file=config.cache ;;
1960 -datadir | --datadir | --datadi | --datad)
1961 ac_prev=datadir ;;
1962 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1963 datadir=$ac_optarg ;;
1965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1966 | --dataroo | --dataro | --datar)
1967 ac_prev=datarootdir ;;
1968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1970 datarootdir=$ac_optarg ;;
1972 -disable-* | --disable-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid feature name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "enable_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval enable_$ac_useropt=no ;;
1988 -docdir | --docdir | --docdi | --doc | --do)
1989 ac_prev=docdir ;;
1990 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1991 docdir=$ac_optarg ;;
1993 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1994 ac_prev=dvidir ;;
1995 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1996 dvidir=$ac_optarg ;;
1998 -enable-* | --enable-*)
1999 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2000 # Reject names that are not valid shell variable names.
2001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2002 as_fn_error $? "invalid feature name: $ac_useropt"
2003 ac_useropt_orig=$ac_useropt
2004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2005 case $ac_user_opts in
2007 "enable_$ac_useropt"
2008 "*) ;;
2009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2010 ac_unrecognized_sep=', ';;
2011 esac
2012 eval enable_$ac_useropt=\$ac_optarg ;;
2014 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2015 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2016 | --exec | --exe | --ex)
2017 ac_prev=exec_prefix ;;
2018 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2019 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2020 | --exec=* | --exe=* | --ex=*)
2021 exec_prefix=$ac_optarg ;;
2023 -gas | --gas | --ga | --g)
2024 # Obsolete; use --with-gas.
2025 with_gas=yes ;;
2027 -help | --help | --hel | --he | -h)
2028 ac_init_help=long ;;
2029 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2030 ac_init_help=recursive ;;
2031 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2032 ac_init_help=short ;;
2034 -host | --host | --hos | --ho)
2035 ac_prev=host_alias ;;
2036 -host=* | --host=* | --hos=* | --ho=*)
2037 host_alias=$ac_optarg ;;
2039 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2040 ac_prev=htmldir ;;
2041 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2042 | --ht=*)
2043 htmldir=$ac_optarg ;;
2045 -includedir | --includedir | --includedi | --included | --include \
2046 | --includ | --inclu | --incl | --inc)
2047 ac_prev=includedir ;;
2048 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2049 | --includ=* | --inclu=* | --incl=* | --inc=*)
2050 includedir=$ac_optarg ;;
2052 -infodir | --infodir | --infodi | --infod | --info | --inf)
2053 ac_prev=infodir ;;
2054 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2055 infodir=$ac_optarg ;;
2057 -libdir | --libdir | --libdi | --libd)
2058 ac_prev=libdir ;;
2059 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2060 libdir=$ac_optarg ;;
2062 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2063 | --libexe | --libex | --libe)
2064 ac_prev=libexecdir ;;
2065 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2066 | --libexe=* | --libex=* | --libe=*)
2067 libexecdir=$ac_optarg ;;
2069 -localedir | --localedir | --localedi | --localed | --locale)
2070 ac_prev=localedir ;;
2071 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2072 localedir=$ac_optarg ;;
2074 -localstatedir | --localstatedir | --localstatedi | --localstated \
2075 | --localstate | --localstat | --localsta | --localst | --locals)
2076 ac_prev=localstatedir ;;
2077 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2078 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2079 localstatedir=$ac_optarg ;;
2081 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2082 ac_prev=mandir ;;
2083 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2084 mandir=$ac_optarg ;;
2086 -nfp | --nfp | --nf)
2087 # Obsolete; use --without-fp.
2088 with_fp=no ;;
2090 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2091 | --no-cr | --no-c | -n)
2092 no_create=yes ;;
2094 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2095 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2096 no_recursion=yes ;;
2098 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2099 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2100 | --oldin | --oldi | --old | --ol | --o)
2101 ac_prev=oldincludedir ;;
2102 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2103 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2104 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2105 oldincludedir=$ac_optarg ;;
2107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2108 ac_prev=prefix ;;
2109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2110 prefix=$ac_optarg ;;
2112 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2113 | --program-pre | --program-pr | --program-p)
2114 ac_prev=program_prefix ;;
2115 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2116 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2117 program_prefix=$ac_optarg ;;
2119 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2120 | --program-suf | --program-su | --program-s)
2121 ac_prev=program_suffix ;;
2122 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2123 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2124 program_suffix=$ac_optarg ;;
2126 -program-transform-name | --program-transform-name \
2127 | --program-transform-nam | --program-transform-na \
2128 | --program-transform-n | --program-transform- \
2129 | --program-transform | --program-transfor \
2130 | --program-transfo | --program-transf \
2131 | --program-trans | --program-tran \
2132 | --progr-tra | --program-tr | --program-t)
2133 ac_prev=program_transform_name ;;
2134 -program-transform-name=* | --program-transform-name=* \
2135 | --program-transform-nam=* | --program-transform-na=* \
2136 | --program-transform-n=* | --program-transform-=* \
2137 | --program-transform=* | --program-transfor=* \
2138 | --program-transfo=* | --program-transf=* \
2139 | --program-trans=* | --program-tran=* \
2140 | --progr-tra=* | --program-tr=* | --program-t=*)
2141 program_transform_name=$ac_optarg ;;
2143 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2144 ac_prev=pdfdir ;;
2145 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2146 pdfdir=$ac_optarg ;;
2148 -psdir | --psdir | --psdi | --psd | --ps)
2149 ac_prev=psdir ;;
2150 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2151 psdir=$ac_optarg ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 silent=yes ;;
2157 -runstatedir | --runstatedir | --runstatedi | --runstated \
2158 | --runstate | --runstat | --runsta | --runst | --runs \
2159 | --run | --ru | --r)
2160 ac_prev=runstatedir ;;
2161 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2162 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2163 | --run=* | --ru=* | --r=*)
2164 runstatedir=$ac_optarg ;;
2166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2167 ac_prev=sbindir ;;
2168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2169 | --sbi=* | --sb=*)
2170 sbindir=$ac_optarg ;;
2172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2174 | --sharedst | --shareds | --shared | --share | --shar \
2175 | --sha | --sh)
2176 ac_prev=sharedstatedir ;;
2177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2180 | --sha=* | --sh=*)
2181 sharedstatedir=$ac_optarg ;;
2183 -site | --site | --sit)
2184 ac_prev=site ;;
2185 -site=* | --site=* | --sit=*)
2186 site=$ac_optarg ;;
2188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2189 ac_prev=srcdir ;;
2190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2191 srcdir=$ac_optarg ;;
2193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2194 | --syscon | --sysco | --sysc | --sys | --sy)
2195 ac_prev=sysconfdir ;;
2196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2198 sysconfdir=$ac_optarg ;;
2200 -target | --target | --targe | --targ | --tar | --ta | --t)
2201 ac_prev=target_alias ;;
2202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2203 target_alias=$ac_optarg ;;
2205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2206 verbose=yes ;;
2208 -version | --version | --versio | --versi | --vers | -V)
2209 ac_init_version=: ;;
2211 -with-* | --with-*)
2212 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2215 as_fn_error $? "invalid package name: $ac_useropt"
2216 ac_useropt_orig=$ac_useropt
2217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2220 "with_$ac_useropt"
2221 "*) ;;
2222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2223 ac_unrecognized_sep=', ';;
2224 esac
2225 eval with_$ac_useropt=\$ac_optarg ;;
2227 -without-* | --without-*)
2228 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2229 # Reject names that are not valid shell variable names.
2230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2231 as_fn_error $? "invalid package name: $ac_useropt"
2232 ac_useropt_orig=$ac_useropt
2233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2234 case $ac_user_opts in
2236 "with_$ac_useropt"
2237 "*) ;;
2238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2239 ac_unrecognized_sep=', ';;
2240 esac
2241 eval with_$ac_useropt=no ;;
2243 --x)
2244 # Obsolete; use --with-x.
2245 with_x=yes ;;
2247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2248 | --x-incl | --x-inc | --x-in | --x-i)
2249 ac_prev=x_includes ;;
2250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2252 x_includes=$ac_optarg ;;
2254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2256 ac_prev=x_libraries ;;
2257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2259 x_libraries=$ac_optarg ;;
2261 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2262 Try \`$0 --help' for more information"
2265 *=*)
2266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2267 # Reject names that are not valid shell variable names.
2268 case $ac_envvar in #(
2269 '' | [0-9]* | *[!_$as_cr_alnum]* )
2270 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2271 esac
2272 eval $ac_envvar=\$ac_optarg
2273 export $ac_envvar ;;
2276 # FIXME: should be removed in autoconf 3.0.
2277 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2279 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2280 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2283 esac
2284 done
2286 if test -n "$ac_prev"; then
2287 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2288 as_fn_error $? "missing argument to $ac_option"
2291 if test -n "$ac_unrecognized_opts"; then
2292 case $enable_option_checking in
2293 no) ;;
2294 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2295 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2296 esac
2299 # Check all directory arguments for consistency.
2300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2301 datadir sysconfdir sharedstatedir localstatedir includedir \
2302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2303 libdir localedir mandir runstatedir
2305 eval ac_val=\$$ac_var
2306 # Remove trailing slashes.
2307 case $ac_val in
2308 */ )
2309 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2310 eval $ac_var=\$ac_val;;
2311 esac
2312 # Be sure to have absolute directory names.
2313 case $ac_val in
2314 [\\/$]* | ?:[\\/]* ) continue;;
2315 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2316 esac
2317 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2318 done
2320 # There might be people who depend on the old broken behavior: `$host'
2321 # used to hold the argument of --host etc.
2322 # FIXME: To remove some day.
2323 build=$build_alias
2324 host=$host_alias
2325 target=$target_alias
2327 # FIXME: To remove some day.
2328 if test "x$host_alias" != x; then
2329 if test "x$build_alias" = x; then
2330 cross_compiling=maybe
2331 elif test "x$build_alias" != "x$host_alias"; then
2332 cross_compiling=yes
2336 ac_tool_prefix=
2337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2339 test "$silent" = yes && exec 6>/dev/null
2342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2343 ac_ls_di=`ls -di .` &&
2344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2345 as_fn_error $? "working directory cannot be determined"
2346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2347 as_fn_error $? "pwd does not report name of working directory"
2350 # Find the source files, if location was not specified.
2351 if test -z "$srcdir"; then
2352 ac_srcdir_defaulted=yes
2353 # Try the directory containing this script, then the parent directory.
2354 ac_confdir=`$as_dirname -- "$as_myself" ||
2355 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2356 X"$as_myself" : 'X\(//\)[^/]' \| \
2357 X"$as_myself" : 'X\(//\)$' \| \
2358 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2359 $as_echo X"$as_myself" |
2360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2361 s//\1/
2364 /^X\(\/\/\)[^/].*/{
2365 s//\1/
2368 /^X\(\/\/\)$/{
2369 s//\1/
2372 /^X\(\/\).*/{
2373 s//\1/
2376 s/.*/./; q'`
2377 srcdir=$ac_confdir
2378 if test ! -r "$srcdir/$ac_unique_file"; then
2379 srcdir=..
2381 else
2382 ac_srcdir_defaulted=no
2384 if test ! -r "$srcdir/$ac_unique_file"; then
2385 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2386 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2388 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2389 ac_abs_confdir=`(
2390 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2391 pwd)`
2392 # When building in place, set srcdir=.
2393 if test "$ac_abs_confdir" = "$ac_pwd"; then
2394 srcdir=.
2396 # Remove unnecessary trailing slashes from srcdir.
2397 # Double slashes in file names in object file debugging info
2398 # mess up M-x gdb in Emacs.
2399 case $srcdir in
2400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2401 esac
2402 for ac_var in $ac_precious_vars; do
2403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2404 eval ac_env_${ac_var}_value=\$${ac_var}
2405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2407 done
2410 # Report the --help message.
2412 if test "$ac_init_help" = "long"; then
2413 # Omit some internal or obsolete options to make the list less imposing.
2414 # This message is too long to be a string in the A/UX 3.1 sh.
2415 cat <<_ACEOF
2416 \`configure' configures Wine 4.5 to adapt to many kinds of systems.
2418 Usage: $0 [OPTION]... [VAR=VALUE]...
2420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2421 VAR=VALUE. See below for descriptions of some of the useful variables.
2423 Defaults for the options are specified in brackets.
2425 Configuration:
2426 -h, --help display this help and exit
2427 --help=short display options specific to this package
2428 --help=recursive display the short help of all the included packages
2429 -V, --version display version information and exit
2430 -q, --quiet, --silent do not print \`checking ...' messages
2431 --cache-file=FILE cache test results in FILE [disabled]
2432 -C, --config-cache alias for \`--cache-file=config.cache'
2433 -n, --no-create do not create output files
2434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2436 Installation directories:
2437 --prefix=PREFIX install architecture-independent files in PREFIX
2438 [$ac_default_prefix]
2439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2440 [PREFIX]
2442 By default, \`make install' will install all the files in
2443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2445 for instance \`--prefix=\$HOME'.
2447 For better control, use the options below.
2449 Fine tuning of the installation directories:
2450 --bindir=DIR user executables [EPREFIX/bin]
2451 --sbindir=DIR system admin executables [EPREFIX/sbin]
2452 --libexecdir=DIR program executables [EPREFIX/libexec]
2453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2456 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2457 --libdir=DIR object code libraries [EPREFIX/lib]
2458 --includedir=DIR C header files [PREFIX/include]
2459 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2460 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2461 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2462 --infodir=DIR info documentation [DATAROOTDIR/info]
2463 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2464 --mandir=DIR man documentation [DATAROOTDIR/man]
2465 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2466 --htmldir=DIR html documentation [DOCDIR]
2467 --dvidir=DIR dvi documentation [DOCDIR]
2468 --pdfdir=DIR pdf documentation [DOCDIR]
2469 --psdir=DIR ps documentation [DOCDIR]
2470 _ACEOF
2472 cat <<\_ACEOF
2474 X features:
2475 --x-includes=DIR X include files are in DIR
2476 --x-libraries=DIR X library files are in DIR
2478 System types:
2479 --build=BUILD configure for building on BUILD [guessed]
2480 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2481 _ACEOF
2484 if test -n "$ac_init_help"; then
2485 case $ac_init_help in
2486 short | recursive ) echo "Configuration of Wine 4.5:";;
2487 esac
2488 cat <<\_ACEOF
2490 Optional Features:
2491 --disable-option-checking ignore unrecognized --enable/--with options
2492 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2493 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2494 --disable-win16 do not include Win16 support
2495 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2496 binaries)
2497 --disable-tests do not build the regression tests
2498 --enable-maintainer-mode
2499 enable maintainer-specific build rules
2500 --disable-largefile omit support for large files
2502 Optional Packages:
2503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2505 --without-alsa do not use the Alsa sound support
2506 --without-capi do not use CAPI (ISDN support)
2507 --without-cms do not use CMS (color management support)
2508 --without-coreaudio do not use the CoreAudio sound support
2509 --without-cups do not use CUPS
2510 --without-curses do not use (n)curses
2511 --without-dbus do not use DBus (dynamic device support)
2512 --without-faudio do not use FAudio (XAudio2 support)
2513 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2514 --without-fontconfig do not use fontconfig
2515 --without-freetype do not use the FreeType library
2516 --without-gettext do not use gettext
2517 --with-gettextpo use the GetTextPO library to rebuild po files
2518 --without-gphoto do not use gphoto (Digital Camera support)
2519 --without-glu do not use the GLU library
2520 --without-gnutls do not use GnuTLS (schannel support)
2521 --without-gsm do not use libgsm (GSM 06.10 codec support)
2522 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2523 --without-gstreamer do not use GStreamer (codecs support)
2524 --without-hal do not use HAL (dynamic device support)
2525 --without-jpeg do not use JPEG
2526 --without-krb5 do not use krb5 (Kerberos)
2527 --without-ldap do not use LDAP
2528 --without-mingw do not use the MinGW cross-compiler
2529 --without-mpg123 do not use the mpg123 library
2530 --without-netapi do not use the Samba NetAPI library
2531 --without-openal do not use OpenAL
2532 --without-opencl do not use OpenCL
2533 --without-opengl do not use OpenGL
2534 --without-osmesa do not use the OSMesa library
2535 --without-oss do not use the OSS sound support
2536 --without-pcap do not use the Packet Capture library
2537 --without-png do not use PNG
2538 --without-pthread do not use the pthread library
2539 --without-pulse do not use PulseAudio sound support
2540 --without-sane do not use SANE (scanner support)
2541 --without-sdl do not use SDL
2542 --without-tiff do not use TIFF
2543 --without-udev do not use udev (plug and play support)
2544 --without-v4l do not use v4l1 (v4l support)
2545 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2546 --without-vulkan do not use Vulkan
2547 --without-xcomposite do not use the Xcomposite extension
2548 --without-xcursor do not use the Xcursor extension
2549 --without-xfixes do not use Xfixes for clipboard change notifications
2550 --without-xinerama do not use Xinerama (multi-monitor support)
2551 --without-xinput do not use the Xinput extension
2552 --without-xinput2 do not use the Xinput 2 extension
2553 --without-xml do not use XML
2554 --without-xrandr do not use Xrandr (resolution changes)
2555 --without-xrender do not use the Xrender extension
2556 --without-xshape do not use the Xshape extension
2557 --without-xshm do not use XShm (shared memory extension)
2558 --without-xslt do not use XSLT
2559 --without-xxf86vm do not use XFree video mode extension
2560 --without-zlib do not use Zlib (data compression)
2561 --with-wine-tools=DIR use Wine tools from directory DIR
2562 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2563 --with-x use the X Window System
2565 Some influential environment variables:
2566 CC C compiler command
2567 CFLAGS C compiler flags
2568 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2569 nonstandard directory <lib dir>
2570 LIBS libraries to pass to the linker, e.g. -l<library>
2571 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2572 you have headers in a nonstandard directory <include dir>
2573 CXX C++ compiler command
2574 CXXFLAGS C++ compiler flags
2575 CPP C preprocessor
2576 OBJC Objective C compiler command
2577 OBJCFLAGS Objective C compiler flags
2578 OBJCPP Objective C preprocessor
2579 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2581 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2582 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2583 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2584 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2585 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2586 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2587 HAL_LIBS Linker flags for hal, overriding pkg-config
2588 GNUTLS_CFLAGS
2589 C compiler flags for gnutls, overriding pkg-config
2590 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2591 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2592 SANE_LIBS Linker flags for libsane, overriding pkg-config
2593 GPHOTO2_CFLAGS
2594 C compiler flags for libgphoto2, overriding pkg-config
2595 GPHOTO2_LIBS
2596 Linker flags for libgphoto2, overriding pkg-config
2597 GPHOTO2_PORT_CFLAGS
2598 C compiler flags for libgphoto2_port, overriding pkg-config
2599 GPHOTO2_PORT_LIBS
2600 Linker flags for libgphoto2_port, overriding pkg-config
2601 LCMS2_CFLAGS
2602 C compiler flags for lcms2, overriding pkg-config
2603 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2604 FREETYPE_CFLAGS
2605 C compiler flags for freetype2, overriding pkg-config
2606 FREETYPE_LIBS
2607 Linker flags for freetype2, overriding pkg-config
2608 PULSE_CFLAGS
2609 C compiler flags for libpulse, overriding pkg-config
2610 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2611 GSTREAMER_CFLAGS
2612 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2613 gstreamer-audio-1.0, overriding pkg-config
2614 GSTREAMER_LIBS
2615 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2616 gstreamer-audio-1.0, overriding pkg-config
2617 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2618 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2619 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2620 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2621 FAUDIO_CFLAGS
2622 C compiler flags for faudio, overriding pkg-config
2623 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2624 CAPI20_CFLAGS
2625 C compiler flags for capi20, overriding pkg-config
2626 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2627 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2628 CUPS_LIBS Linker flags for cups, overriding pkg-config
2629 FONTCONFIG_CFLAGS
2630 C compiler flags for fontconfig, overriding pkg-config
2631 FONTCONFIG_LIBS
2632 Linker flags for fontconfig, overriding pkg-config
2633 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2634 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2635 GSSAPI_CFLAGS
2636 C compiler flags for krb5-gssapi, overriding pkg-config
2637 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2638 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2639 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2640 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2641 PNG_LIBS Linker flags for libpng, overriding pkg-config
2642 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2643 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2644 MPG123_CFLAGS
2645 C compiler flags for libmpg123, overriding pkg-config
2646 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2647 NETAPI_CFLAGS
2648 C compiler flags for netapi, overriding pkg-config
2649 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2650 VKD3D_CFLAGS
2651 C compiler flags for libvkd3d, overriding pkg-config
2652 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2653 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2654 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2656 Use these variables to override the choices made by `configure' or to help
2657 it to find libraries and programs with nonstandard names/locations.
2659 Report bugs to <wine-devel@winehq.org>.
2660 Wine home page: <https://www.winehq.org>.
2661 _ACEOF
2662 ac_status=$?
2665 if test "$ac_init_help" = "recursive"; then
2666 # If there are subdirs, report their specific --help.
2667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2668 test -d "$ac_dir" ||
2669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2670 continue
2671 ac_builddir=.
2673 case "$ac_dir" in
2674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2677 # A ".." for each directory in $ac_dir_suffix.
2678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2679 case $ac_top_builddir_sub in
2680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2682 esac ;;
2683 esac
2684 ac_abs_top_builddir=$ac_pwd
2685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2686 # for backward compatibility:
2687 ac_top_builddir=$ac_top_build_prefix
2689 case $srcdir in
2690 .) # We are building in place.
2691 ac_srcdir=.
2692 ac_top_srcdir=$ac_top_builddir_sub
2693 ac_abs_top_srcdir=$ac_pwd ;;
2694 [\\/]* | ?:[\\/]* ) # Absolute name.
2695 ac_srcdir=$srcdir$ac_dir_suffix;
2696 ac_top_srcdir=$srcdir
2697 ac_abs_top_srcdir=$srcdir ;;
2698 *) # Relative name.
2699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2700 ac_top_srcdir=$ac_top_build_prefix$srcdir
2701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2702 esac
2703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2705 cd "$ac_dir" || { ac_status=$?; continue; }
2706 # Check for guested configure.
2707 if test -f "$ac_srcdir/configure.gnu"; then
2708 echo &&
2709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2710 elif test -f "$ac_srcdir/configure"; then
2711 echo &&
2712 $SHELL "$ac_srcdir/configure" --help=recursive
2713 else
2714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2715 fi || ac_status=$?
2716 cd "$ac_pwd" || { ac_status=$?; break; }
2717 done
2720 test -n "$ac_init_help" && exit $ac_status
2721 if $ac_init_version; then
2722 cat <<\_ACEOF
2723 Wine configure 4.5
2724 generated by GNU Autoconf 2.69
2726 Copyright (C) 2012 Free Software Foundation, Inc.
2727 This configure script is free software; the Free Software Foundation
2728 gives unlimited permission to copy, distribute and modify it.
2729 _ACEOF
2730 exit
2733 ## ------------------------ ##
2734 ## Autoconf initialization. ##
2735 ## ------------------------ ##
2737 # ac_fn_c_try_compile LINENO
2738 # --------------------------
2739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2740 ac_fn_c_try_compile ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 rm -f conftest.$ac_objext
2744 if { { ac_try="$ac_compile"
2745 case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_compile") 2>conftest.err
2752 ac_status=$?
2753 if test -s conftest.err; then
2754 grep -v '^ *+' conftest.err >conftest.er1
2755 cat conftest.er1 >&5
2756 mv -f conftest.er1 conftest.err
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then :
2763 ac_retval=0
2764 else
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_retval=1
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2773 } # ac_fn_c_try_compile
2775 # ac_fn_cxx_try_compile LINENO
2776 # ----------------------------
2777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2778 ac_fn_cxx_try_compile ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 rm -f conftest.$ac_objext
2782 if { { ac_try="$ac_compile"
2783 case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786 esac
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>conftest.err
2790 ac_status=$?
2791 if test -s conftest.err; then
2792 grep -v '^ *+' conftest.err >conftest.er1
2793 cat conftest.er1 >&5
2794 mv -f conftest.er1 conftest.err
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && {
2798 test -z "$ac_cxx_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then :
2801 ac_retval=0
2802 else
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_retval=1
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_cxx_try_compile
2813 # ac_fn_c_try_link LINENO
2814 # -----------------------
2815 # Try to link conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_c_try_link ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext conftest$ac_exeext
2820 if { { ac_try="$ac_link"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_link") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest$ac_exeext && {
2839 test "$cross_compiling" = yes ||
2840 test -x conftest$ac_exeext
2841 }; then :
2842 ac_retval=0
2843 else
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 ac_retval=1
2849 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2850 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2851 # interfere with the next link command; also delete a directory that is
2852 # left behind by Apple's compiler. We do this before executing the actions.
2853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_link
2859 # ac_fn_c_try_cpp LINENO
2860 # ----------------------
2861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2862 ac_fn_c_try_cpp ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 if { { ac_try="$ac_cpp conftest.$ac_ext"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } > conftest.i && {
2881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 }; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_cpp
2896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2897 # -------------------------------------------------------
2898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2899 # the include files in INCLUDES and setting the cache variable VAR
2900 # accordingly.
2901 ac_fn_c_check_header_mongrel ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 if eval \${$3+:} false; then :
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 $as_echo_n "checking for $2... " >&6; }
2907 if eval \${$3+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 else
2914 # Is the header compilable?
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2916 $as_echo_n "checking $2 usability... " >&6; }
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 #include <$2>
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 ac_header_compiler=yes
2924 else
2925 ac_header_compiler=no
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2929 $as_echo "$ac_header_compiler" >&6; }
2931 # Is the header present?
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2933 $as_echo_n "checking $2 presence... " >&6; }
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 #include <$2>
2937 _ACEOF
2938 if ac_fn_c_try_cpp "$LINENO"; then :
2939 ac_header_preproc=yes
2940 else
2941 ac_header_preproc=no
2943 rm -f conftest.err conftest.i conftest.$ac_ext
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2945 $as_echo "$ac_header_preproc" >&6; }
2947 # So? What about this header?
2948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2949 yes:no: )
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2955 no:yes:* )
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2959 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2963 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2966 ( $as_echo "## ------------------------------------ ##
2967 ## Report this to wine-devel@winehq.org ##
2968 ## ------------------------------------ ##"
2969 ) | sed "s/^/$as_me: WARNING: /" >&2
2971 esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 eval "$3=\$ac_header_compiler"
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_header_mongrel
2987 # ac_fn_c_try_run LINENO
2988 # ----------------------
2989 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2990 # that executables *can* be run.
2991 ac_fn_c_try_run ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 if { { ac_try="$ac_link"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>&5
3002 ac_status=$?
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3005 { { case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_try") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }; }; then :
3015 ac_retval=0
3016 else
3017 $as_echo "$as_me: program exited with status $ac_status" >&5
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=$ac_status
3023 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 as_fn_set_status $ac_retval
3027 } # ac_fn_c_try_run
3029 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3030 # -------------------------------------------------------
3031 # Tests whether HEADER exists and can be compiled using the include files in
3032 # INCLUDES, setting the cache variable VAR accordingly.
3033 ac_fn_c_check_header_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 $as_echo_n "checking for $2... " >&6; }
3038 if eval \${$3+:} false; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3044 #include <$2>
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"; then :
3047 eval "$3=yes"
3048 else
3049 eval "$3=no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_header_compile
3060 # ac_fn_objc_try_compile LINENO
3061 # -----------------------------
3062 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3063 ac_fn_objc_try_compile ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 rm -f conftest.$ac_objext
3067 if { { ac_try="$ac_compile"
3068 case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3071 esac
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_compile") 2>conftest.err
3075 ac_status=$?
3076 if test -s conftest.err; then
3077 grep -v '^ *+' conftest.err >conftest.er1
3078 cat conftest.er1 >&5
3079 mv -f conftest.er1 conftest.err
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; } && {
3083 test -z "$ac_objc_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then :
3086 ac_retval=0
3087 else
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3091 ac_retval=1
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_objc_try_compile
3098 # ac_fn_objc_try_cpp LINENO
3099 # -------------------------
3100 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3101 ac_fn_objc_try_cpp ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 if { { ac_try="$ac_cpp conftest.$ac_ext"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3112 ac_status=$?
3113 if test -s conftest.err; then
3114 grep -v '^ *+' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 mv -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } > conftest.i && {
3120 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3121 test ! -s conftest.err
3122 }; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_cpp
3135 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3136 # ----------------------------------------------------------
3137 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3138 # the include files in INCLUDES and setting the cache variable VAR
3139 # accordingly.
3140 ac_fn_objc_check_header_mongrel ()
3142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3143 if eval \${$3+:} false; then :
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 eval ac_res=\$$3
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3151 $as_echo "$ac_res" >&6; }
3152 else
3153 # Is the header compilable?
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3155 $as_echo_n "checking $2 usability... " >&6; }
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3159 #include <$2>
3160 _ACEOF
3161 if ac_fn_objc_try_compile "$LINENO"; then :
3162 ac_header_compiler=yes
3163 else
3164 ac_header_compiler=no
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3168 $as_echo "$ac_header_compiler" >&6; }
3170 # Is the header present?
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3172 $as_echo_n "checking $2 presence... " >&6; }
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175 #include <$2>
3176 _ACEOF
3177 if ac_fn_objc_try_cpp "$LINENO"; then :
3178 ac_header_preproc=yes
3179 else
3180 ac_header_preproc=no
3182 rm -f conftest.err conftest.i conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3184 $as_echo "$ac_header_preproc" >&6; }
3186 # So? What about this header?
3187 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3188 yes:no: )
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3190 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3194 no:yes:* )
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3196 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3198 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3200 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3202 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3205 ( $as_echo "## ------------------------------------ ##
3206 ## Report this to wine-devel@winehq.org ##
3207 ## ------------------------------------ ##"
3208 ) | sed "s/^/$as_me: WARNING: /" >&2
3210 esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3212 $as_echo_n "checking for $2... " >&6; }
3213 if eval \${$3+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 eval "$3=\$ac_header_compiler"
3218 eval ac_res=\$$3
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3220 $as_echo "$ac_res" >&6; }
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 } # ac_fn_objc_check_header_mongrel
3226 # ac_fn_c_check_func LINENO FUNC VAR
3227 # ----------------------------------
3228 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3229 ac_fn_c_check_func ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3233 $as_echo_n "checking for $2... " >&6; }
3234 if eval \${$3+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3239 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3241 #define $2 innocuous_$2
3243 /* System header to define __stub macros and hopefully few prototypes,
3244 which can conflict with char $2 (); below.
3245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 <limits.h> exists even on freestanding compilers. */
3248 #ifdef __STDC__
3249 # include <limits.h>
3250 #else
3251 # include <assert.h>
3252 #endif
3254 #undef $2
3256 /* Override any GCC internal prototype to avoid an error.
3257 Use char because int might match the return type of a GCC
3258 builtin and then its argument prototype would still apply. */
3259 #ifdef __cplusplus
3260 extern "C"
3261 #endif
3262 char $2 ();
3263 /* The GNU C library defines this for functions which it implements
3264 to always fail with ENOSYS. Some functions are actually named
3265 something starting with __ and the normal name is an alias. */
3266 #if defined __stub_$2 || defined __stub___$2
3267 choke me
3268 #endif
3271 main ()
3273 return $2 ();
3275 return 0;
3277 _ACEOF
3278 if ac_fn_c_try_link "$LINENO"; then :
3279 eval "$3=yes"
3280 else
3281 eval "$3=no"
3283 rm -f core conftest.err conftest.$ac_objext \
3284 conftest$ac_exeext conftest.$ac_ext
3286 eval ac_res=\$$3
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3288 $as_echo "$ac_res" >&6; }
3289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3291 } # ac_fn_c_check_func
3293 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3294 # ----------------------------------------------------
3295 # Tries to find if the field MEMBER exists in type AGGR, after including
3296 # INCLUDES, setting cache variable VAR accordingly.
3297 ac_fn_c_check_member ()
3299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3301 $as_echo_n "checking for $2.$3... " >&6; }
3302 if eval \${$4+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3309 main ()
3311 static $2 ac_aggr;
3312 if (ac_aggr.$3)
3313 return 0;
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 eval "$4=yes"
3320 else
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3325 main ()
3327 static $2 ac_aggr;
3328 if (sizeof ac_aggr.$3)
3329 return 0;
3331 return 0;
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 eval "$4=yes"
3336 else
3337 eval "$4=no"
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 eval ac_res=\$$4
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3345 $as_echo "$ac_res" >&6; }
3346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3348 } # ac_fn_c_check_member
3350 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3351 # -------------------------------------------
3352 # Tests whether TYPE exists after having included INCLUDES, setting cache
3353 # variable VAR accordingly.
3354 ac_fn_c_check_type ()
3356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3358 $as_echo_n "checking for $2... " >&6; }
3359 if eval \${$3+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 eval "$3=no"
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3369 if (sizeof ($2))
3370 return 0;
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 if (sizeof (($2)))
3383 return 0;
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3390 else
3391 eval "$3=yes"
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 eval ac_res=\$$3
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3399 $as_echo "$ac_res" >&6; }
3400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3402 } # ac_fn_c_check_type
3403 cat >config.log <<_ACEOF
3404 This file contains any messages produced by compilers while
3405 running configure, to aid debugging if configure makes a mistake.
3407 It was created by Wine $as_me 4.5, which was
3408 generated by GNU Autoconf 2.69. Invocation command line was
3410 $ $0 $@
3412 _ACEOF
3413 exec 5>>config.log
3415 cat <<_ASUNAME
3416 ## --------- ##
3417 ## Platform. ##
3418 ## --------- ##
3420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3437 _ASUNAME
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH
3442 IFS=$as_save_IFS
3443 test -z "$as_dir" && as_dir=.
3444 $as_echo "PATH: $as_dir"
3445 done
3446 IFS=$as_save_IFS
3448 } >&5
3450 cat >&5 <<_ACEOF
3453 ## ----------- ##
3454 ## Core tests. ##
3455 ## ----------- ##
3457 _ACEOF
3460 # Keep a trace of the command line.
3461 # Strip out --no-create and --no-recursion so they do not pile up.
3462 # Strip out --silent because we don't want to record it for future runs.
3463 # Also quote any args containing shell meta-characters.
3464 # Make two passes to allow for proper duplicate-argument suppression.
3465 ac_configure_args=
3466 ac_configure_args0=
3467 ac_configure_args1=
3468 ac_must_keep_next=false
3469 for ac_pass in 1 2
3471 for ac_arg
3473 case $ac_arg in
3474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3476 | -silent | --silent | --silen | --sile | --sil)
3477 continue ;;
3478 *\'*)
3479 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3480 esac
3481 case $ac_pass in
3482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3484 as_fn_append ac_configure_args1 " '$ac_arg'"
3485 if test $ac_must_keep_next = true; then
3486 ac_must_keep_next=false # Got value, back to normal.
3487 else
3488 case $ac_arg in
3489 *=* | --config-cache | -C | -disable-* | --disable-* \
3490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3492 | -with-* | --with-* | -without-* | --without-* | --x)
3493 case "$ac_configure_args0 " in
3494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3495 esac
3497 -* ) ac_must_keep_next=true ;;
3498 esac
3500 as_fn_append ac_configure_args " '$ac_arg'"
3502 esac
3503 done
3504 done
3505 { ac_configure_args0=; unset ac_configure_args0;}
3506 { ac_configure_args1=; unset ac_configure_args1;}
3508 # When interrupted or exit'd, cleanup temporary files, and complete
3509 # config.log. We remove comments because anyway the quotes in there
3510 # would cause problems or look ugly.
3511 # WARNING: Use '\'' to represent an apostrophe within the trap.
3512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3513 trap 'exit_status=$?
3514 # Save into config.log some information that might help in debugging.
3516 echo
3518 $as_echo "## ---------------- ##
3519 ## Cache variables. ##
3520 ## ---------------- ##"
3521 echo
3522 # The following way of writing the cache mishandles newlines in values,
3524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in #(
3527 *${as_nl}*)
3528 case $ac_var in #(
3529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3531 esac
3532 case $ac_var in #(
3533 _ | IFS | as_nl) ;; #(
3534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3535 *) { eval $ac_var=; unset $ac_var;} ;;
3536 esac ;;
3537 esac
3538 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 sed -n \
3543 "s/'\''/'\''\\\\'\'''\''/g;
3544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3545 ;; #(
3547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3549 esac |
3550 sort
3552 echo
3554 $as_echo "## ----------------- ##
3555 ## Output variables. ##
3556 ## ----------------- ##"
3557 echo
3558 for ac_var in $ac_subst_vars
3560 eval ac_val=\$$ac_var
3561 case $ac_val in
3562 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3563 esac
3564 $as_echo "$ac_var='\''$ac_val'\''"
3565 done | sort
3566 echo
3568 if test -n "$ac_subst_files"; then
3569 $as_echo "## ------------------- ##
3570 ## File substitutions. ##
3571 ## ------------------- ##"
3572 echo
3573 for ac_var in $ac_subst_files
3575 eval ac_val=\$$ac_var
3576 case $ac_val in
3577 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3578 esac
3579 $as_echo "$ac_var='\''$ac_val'\''"
3580 done | sort
3581 echo
3584 if test -s confdefs.h; then
3585 $as_echo "## ----------- ##
3586 ## confdefs.h. ##
3587 ## ----------- ##"
3588 echo
3589 cat confdefs.h
3590 echo
3592 test "$ac_signal" != 0 &&
3593 $as_echo "$as_me: caught signal $ac_signal"
3594 $as_echo "$as_me: exit $exit_status"
3595 } >&5
3596 rm -f core *.core core.conftest.* &&
3597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3598 exit $exit_status
3600 for ac_signal in 1 2 13 15; do
3601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3602 done
3603 ac_signal=0
3605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3606 rm -f -r conftest* confdefs.h
3608 $as_echo "/* confdefs.h */" > confdefs.h
3610 # Predefined preprocessor variables.
3612 cat >>confdefs.h <<_ACEOF
3613 #define PACKAGE_NAME "$PACKAGE_NAME"
3614 _ACEOF
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3618 _ACEOF
3620 cat >>confdefs.h <<_ACEOF
3621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3622 _ACEOF
3624 cat >>confdefs.h <<_ACEOF
3625 #define PACKAGE_STRING "$PACKAGE_STRING"
3626 _ACEOF
3628 cat >>confdefs.h <<_ACEOF
3629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3630 _ACEOF
3632 cat >>confdefs.h <<_ACEOF
3633 #define PACKAGE_URL "$PACKAGE_URL"
3634 _ACEOF
3637 # Let the site file select an alternate cache file if it wants to.
3638 # Prefer an explicitly selected file to automatically selected ones.
3639 ac_site_file1=NONE
3640 ac_site_file2=NONE
3641 if test -n "$CONFIG_SITE"; then
3642 # We do not want a PATH search for config.site.
3643 case $CONFIG_SITE in #((
3644 -*) ac_site_file1=./$CONFIG_SITE;;
3645 */*) ac_site_file1=$CONFIG_SITE;;
3646 *) ac_site_file1=./$CONFIG_SITE;;
3647 esac
3648 elif test "x$prefix" != xNONE; then
3649 ac_site_file1=$prefix/share/config.site
3650 ac_site_file2=$prefix/etc/config.site
3651 else
3652 ac_site_file1=$ac_default_prefix/share/config.site
3653 ac_site_file2=$ac_default_prefix/etc/config.site
3655 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3657 test "x$ac_site_file" = xNONE && continue
3658 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3660 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3661 sed 's/^/| /' "$ac_site_file" >&5
3662 . "$ac_site_file" \
3663 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "failed to load site script $ac_site_file
3666 See \`config.log' for more details" "$LINENO" 5; }
3668 done
3670 if test -r "$cache_file"; then
3671 # Some versions of bash will fail to source /dev/null (special files
3672 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3673 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3675 $as_echo "$as_me: loading cache $cache_file" >&6;}
3676 case $cache_file in
3677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3678 *) . "./$cache_file";;
3679 esac
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3683 $as_echo "$as_me: creating cache $cache_file" >&6;}
3684 >$cache_file
3687 # Check that the precious variables saved in the cache have kept the same
3688 # value.
3689 ac_cache_corrupted=false
3690 for ac_var in $ac_precious_vars; do
3691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3692 eval ac_new_set=\$ac_env_${ac_var}_set
3693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3694 eval ac_new_val=\$ac_env_${ac_var}_value
3695 case $ac_old_set,$ac_new_set in
3696 set,)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3698 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3699 ac_cache_corrupted=: ;;
3700 ,set)
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3702 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3703 ac_cache_corrupted=: ;;
3704 ,);;
3706 if test "x$ac_old_val" != "x$ac_new_val"; then
3707 # differences in whitespace do not lead to failure.
3708 ac_old_val_w=`echo x $ac_old_val`
3709 ac_new_val_w=`echo x $ac_new_val`
3710 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3712 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3713 ac_cache_corrupted=:
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3716 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3717 eval $ac_var=\$ac_old_val
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3720 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3722 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3723 fi;;
3724 esac
3725 # Pass precious variables to config.status.
3726 if test "$ac_new_set" = set; then
3727 case $ac_new_val in
3728 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3729 *) ac_arg=$ac_var=$ac_new_val ;;
3730 esac
3731 case " $ac_configure_args " in
3732 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3733 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3734 esac
3736 done
3737 if $ac_cache_corrupted; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3741 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3742 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3744 ## -------------------- ##
3745 ## Main body of script. ##
3746 ## -------------------- ##
3748 ac_ext=c
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 ac_config_headers="$ac_config_headers include/config.h"
3758 ac_aux_dir=
3759 for ac_dir in tools "$srcdir"/tools; do
3760 if test -f "$ac_dir/install-sh"; then
3761 ac_aux_dir=$ac_dir
3762 ac_install_sh="$ac_aux_dir/install-sh -c"
3763 break
3764 elif test -f "$ac_dir/install.sh"; then
3765 ac_aux_dir=$ac_dir
3766 ac_install_sh="$ac_aux_dir/install.sh -c"
3767 break
3768 elif test -f "$ac_dir/shtool"; then
3769 ac_aux_dir=$ac_dir
3770 ac_install_sh="$ac_aux_dir/shtool install -c"
3771 break
3773 done
3774 if test -z "$ac_aux_dir"; then
3775 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3778 # These three variables are undocumented and unsupported,
3779 # and are intended to be withdrawn in a future Autoconf release.
3780 # They can cause serious problems if a builder's source tree is in a directory
3781 # whose full name contains unusual characters.
3782 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3783 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3784 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3788 libwine_version="1.0"
3792 # Check whether --enable-win16 was given.
3793 if test "${enable_win16+set}" = set; then :
3794 enableval=$enable_win16;
3797 # Check whether --enable-win64 was given.
3798 if test "${enable_win64+set}" = set; then :
3799 enableval=$enable_win64;
3802 # Check whether --enable-tests was given.
3803 if test "${enable_tests+set}" = set; then :
3804 enableval=$enable_tests;
3807 # Check whether --enable-maintainer-mode was given.
3808 if test "${enable_maintainer_mode+set}" = set; then :
3809 enableval=$enable_maintainer_mode;
3814 # Check whether --with-alsa was given.
3815 if test "${with_alsa+set}" = set; then :
3816 withval=$with_alsa;
3820 # Check whether --with-capi was given.
3821 if test "${with_capi+set}" = set; then :
3822 withval=$with_capi;
3826 # Check whether --with-cms was given.
3827 if test "${with_cms+set}" = set; then :
3828 withval=$with_cms;
3832 # Check whether --with-coreaudio was given.
3833 if test "${with_coreaudio+set}" = set; then :
3834 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3838 # Check whether --with-cups was given.
3839 if test "${with_cups+set}" = set; then :
3840 withval=$with_cups;
3844 # Check whether --with-curses was given.
3845 if test "${with_curses+set}" = set; then :
3846 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3850 # Check whether --with-dbus was given.
3851 if test "${with_dbus+set}" = set; then :
3852 withval=$with_dbus;
3856 # Check whether --with-faudio was given.
3857 if test "${with_faudio+set}" = set; then :
3858 withval=$with_faudio;
3862 # Check whether --with-float-abi was given.
3863 if test "${with_float_abi+set}" = set; then :
3864 withval=$with_float_abi;
3868 # Check whether --with-fontconfig was given.
3869 if test "${with_fontconfig+set}" = set; then :
3870 withval=$with_fontconfig;
3874 # Check whether --with-freetype was given.
3875 if test "${with_freetype+set}" = set; then :
3876 withval=$with_freetype;
3880 # Check whether --with-gettext was given.
3881 if test "${with_gettext+set}" = set; then :
3882 withval=$with_gettext;
3886 # Check whether --with-gettextpo was given.
3887 if test "${with_gettextpo+set}" = set; then :
3888 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3892 # Check whether --with-gphoto was given.
3893 if test "${with_gphoto+set}" = set; then :
3894 withval=$with_gphoto;
3898 # Check whether --with-glu was given.
3899 if test "${with_glu+set}" = set; then :
3900 withval=$with_glu;
3904 # Check whether --with-gnutls was given.
3905 if test "${with_gnutls+set}" = set; then :
3906 withval=$with_gnutls;
3910 # Check whether --with-gsm was given.
3911 if test "${with_gsm+set}" = set; then :
3912 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3916 # Check whether --with-gssapi was given.
3917 if test "${with_gssapi+set}" = set; then :
3918 withval=$with_gssapi;
3922 # Check whether --with-gstreamer was given.
3923 if test "${with_gstreamer+set}" = set; then :
3924 withval=$with_gstreamer;
3928 # Check whether --with-hal was given.
3929 if test "${with_hal+set}" = set; then :
3930 withval=$with_hal;
3934 # Check whether --with-jpeg was given.
3935 if test "${with_jpeg+set}" = set; then :
3936 withval=$with_jpeg;
3940 # Check whether --with-krb5 was given.
3941 if test "${with_krb5+set}" = set; then :
3942 withval=$with_krb5;
3946 # Check whether --with-ldap was given.
3947 if test "${with_ldap+set}" = set; then :
3948 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3952 # Check whether --with-mingw was given.
3953 if test "${with_mingw+set}" = set; then :
3954 withval=$with_mingw;
3958 # Check whether --with-mpg123 was given.
3959 if test "${with_mpg123+set}" = set; then :
3960 withval=$with_mpg123;
3964 # Check whether --with-netapi was given.
3965 if test "${with_netapi+set}" = set; then :
3966 withval=$with_netapi;
3970 # Check whether --with-openal was given.
3971 if test "${with_openal+set}" = set; then :
3972 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3976 # Check whether --with-opencl was given.
3977 if test "${with_opencl+set}" = set; then :
3978 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3982 # Check whether --with-opengl was given.
3983 if test "${with_opengl+set}" = set; then :
3984 withval=$with_opengl;
3988 # Check whether --with-osmesa was given.
3989 if test "${with_osmesa+set}" = set; then :
3990 withval=$with_osmesa;
3994 # Check whether --with-oss was given.
3995 if test "${with_oss+set}" = set; then :
3996 withval=$with_oss;
4000 # Check whether --with-pcap was given.
4001 if test "${with_pcap+set}" = set; then :
4002 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4006 # Check whether --with-png was given.
4007 if test "${with_png+set}" = set; then :
4008 withval=$with_png;
4012 # Check whether --with-pthread was given.
4013 if test "${with_pthread+set}" = set; then :
4014 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4018 # Check whether --with-pulse was given.
4019 if test "${with_pulse+set}" = set; then :
4020 withval=$with_pulse;
4024 # Check whether --with-sane was given.
4025 if test "${with_sane+set}" = set; then :
4026 withval=$with_sane;
4030 # Check whether --with-sdl was given.
4031 if test "${with_sdl+set}" = set; then :
4032 withval=$with_sdl;
4036 # Check whether --with-tiff was given.
4037 if test "${with_tiff+set}" = set; then :
4038 withval=$with_tiff;
4042 # Check whether --with-udev was given.
4043 if test "${with_udev+set}" = set; then :
4044 withval=$with_udev;
4048 # Check whether --with-v4l was given.
4049 if test "${with_v4l+set}" = set; then :
4050 withval=$with_v4l;
4054 # Check whether --with-vkd3d was given.
4055 if test "${with_vkd3d+set}" = set; then :
4056 withval=$with_vkd3d;
4060 # Check whether --with-vulkan was given.
4061 if test "${with_vulkan+set}" = set; then :
4062 withval=$with_vulkan;
4066 # Check whether --with-xcomposite was given.
4067 if test "${with_xcomposite+set}" = set; then :
4068 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4072 # Check whether --with-xcursor was given.
4073 if test "${with_xcursor+set}" = set; then :
4074 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4078 # Check whether --with-xfixes was given.
4079 if test "${with_xfixes+set}" = set; then :
4080 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4084 # Check whether --with-xinerama was given.
4085 if test "${with_xinerama+set}" = set; then :
4086 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4090 # Check whether --with-xinput was given.
4091 if test "${with_xinput+set}" = set; then :
4092 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4096 # Check whether --with-xinput2 was given.
4097 if test "${with_xinput2+set}" = set; then :
4098 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4102 # Check whether --with-xml was given.
4103 if test "${with_xml+set}" = set; then :
4104 withval=$with_xml;
4108 # Check whether --with-xrandr was given.
4109 if test "${with_xrandr+set}" = set; then :
4110 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4114 # Check whether --with-xrender was given.
4115 if test "${with_xrender+set}" = set; then :
4116 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4120 # Check whether --with-xshape was given.
4121 if test "${with_xshape+set}" = set; then :
4122 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4126 # Check whether --with-xshm was given.
4127 if test "${with_xshm+set}" = set; then :
4128 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4132 # Check whether --with-xslt was given.
4133 if test "${with_xslt+set}" = set; then :
4134 withval=$with_xslt;
4138 # Check whether --with-xxf86vm was given.
4139 if test "${with_xxf86vm+set}" = set; then :
4140 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
4144 # Check whether --with-zlib was given.
4145 if test "${with_zlib+set}" = set; then :
4146 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4151 # Check whether --with-wine-tools was given.
4152 if test "${with_wine_tools+set}" = set; then :
4153 withval=$with_wine_tools;
4157 # Check whether --with-wine64 was given.
4158 if test "${with_wine64+set}" = set; then :
4159 withval=$with_wine64;
4163 # Make sure we can run config.sub.
4164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4165 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4168 $as_echo_n "checking build system type... " >&6; }
4169 if ${ac_cv_build+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 ac_build_alias=$build_alias
4173 test "x$ac_build_alias" = x &&
4174 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4175 test "x$ac_build_alias" = x &&
4176 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4177 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4178 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4182 $as_echo "$ac_cv_build" >&6; }
4183 case $ac_cv_build in
4184 *-*-*) ;;
4185 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4186 esac
4187 build=$ac_cv_build
4188 ac_save_IFS=$IFS; IFS='-'
4189 set x $ac_cv_build
4190 shift
4191 build_cpu=$1
4192 build_vendor=$2
4193 shift; shift
4194 # Remember, the first character of IFS is used to create $*,
4195 # except with old shells:
4196 build_os=$*
4197 IFS=$ac_save_IFS
4198 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4202 $as_echo_n "checking host system type... " >&6; }
4203 if ${ac_cv_host+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 if test "x$host_alias" = x; then
4207 ac_cv_host=$ac_cv_build
4208 else
4209 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4210 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4215 $as_echo "$ac_cv_host" >&6; }
4216 case $ac_cv_host in
4217 *-*-*) ;;
4218 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4219 esac
4220 host=$ac_cv_host
4221 ac_save_IFS=$IFS; IFS='-'
4222 set x $ac_cv_host
4223 shift
4224 host_cpu=$1
4225 host_vendor=$2
4226 shift; shift
4227 # Remember, the first character of IFS is used to create $*,
4228 # except with old shells:
4229 host_os=$*
4230 IFS=$ac_save_IFS
4231 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4235 case "$srcdir" in
4236 .) ;;
4237 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4238 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4239 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4240 fi ;;
4241 esac
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4245 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4246 set x ${MAKE-make}
4247 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4248 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 cat >conftest.make <<\_ACEOF
4252 SHELL = /bin/sh
4253 all:
4254 @echo '@@@%%%=$(MAKE)=@@@%%%'
4255 _ACEOF
4256 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4257 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4258 *@@@%%%=?*=@@@%%%*)
4259 eval ac_cv_prog_make_${ac_make}_set=yes;;
4261 eval ac_cv_prog_make_${ac_make}_set=no;;
4262 esac
4263 rm -f conftest.make
4265 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4268 SET_MAKE=
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4272 SET_MAKE="MAKE=${MAKE-make}"
4275 ac_ext=c
4276 ac_cpp='$CPP $CPPFLAGS'
4277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$CC"; then
4289 ac_cv_prog_CC="$CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 CC=$ac_cv_prog_CC
4309 if test -n "$CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4319 if test -z "$ac_cv_prog_CC"; then
4320 ac_ct_CC=$CC
4321 # Extract the first word of "gcc", so it can be a program name with args.
4322 set dummy gcc; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 if test -n "$ac_ct_CC"; then
4329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4330 else
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 for as_dir in $PATH
4334 IFS=$as_save_IFS
4335 test -z "$as_dir" && as_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_ac_ct_CC="gcc"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 break 2
4342 done
4343 done
4344 IFS=$as_save_IFS
4348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4349 if test -n "$ac_ct_CC"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4351 $as_echo "$ac_ct_CC" >&6; }
4352 else
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4357 if test "x$ac_ct_CC" = x; then
4358 CC=""
4359 else
4360 case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4365 esac
4366 CC=$ac_ct_CC
4368 else
4369 CC="$ac_cv_prog_CC"
4372 if test -z "$CC"; then
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}cc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_CC="${ac_tool_prefix}cc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 CC=$ac_cv_prog_CC
4402 if test -n "$CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4404 $as_echo "$CC" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4413 if test -z "$CC"; then
4414 # Extract the first word of "cc", so it can be a program name with args.
4415 set dummy cc; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_CC+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$CC"; then
4422 ac_cv_prog_CC="$CC" # Let the user override the test.
4423 else
4424 ac_prog_rejected=no
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4433 ac_prog_rejected=yes
4434 continue
4436 ac_cv_prog_CC="cc"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4444 if test $ac_prog_rejected = yes; then
4445 # We found a bogon in the path, so make sure we never use it.
4446 set dummy $ac_cv_prog_CC
4447 shift
4448 if test $# != 0; then
4449 # We chose a different compiler from the bogus one.
4450 # However, it has the same basename, so the bogon will be chosen
4451 # first if we set CC to just the basename; use the full file name.
4452 shift
4453 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in cl.exe
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CC+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$CC"; then
4481 ac_cv_prog_CC="$CC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 CC=$ac_cv_prog_CC
4501 if test -n "$CC"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4503 $as_echo "$CC" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$CC" && break
4511 done
4513 if test -z "$CC"; then
4514 ac_ct_CC=$CC
4515 for ac_prog in cl.exe
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 if test -n "$ac_ct_CC"; then
4525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CC="$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4545 if test -n "$ac_ct_CC"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4547 $as_echo "$ac_ct_CC" >&6; }
4548 else
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$ac_ct_CC" && break
4555 done
4557 if test "x$ac_ct_CC" = x; then
4558 CC=""
4559 else
4560 case $cross_compiling:$ac_tool_warned in
4561 yes:)
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4565 esac
4566 CC=$ac_ct_CC
4573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4575 as_fn_error $? "no acceptable C compiler found in \$PATH
4576 See \`config.log' for more details" "$LINENO" 5; }
4578 # Provide some information about the compiler.
4579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4580 set X $ac_compile
4581 ac_compiler=$2
4582 for ac_option in --version -v -V -qversion; do
4583 { { ac_try="$ac_compiler $ac_option >&5"
4584 case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4591 ac_status=$?
4592 if test -s conftest.err; then
4593 sed '10a\
4594 ... rest of stderr output deleted ...
4595 10q' conftest.err >conftest.er1
4596 cat conftest.er1 >&5
4598 rm -f conftest.er1 conftest.err
4599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600 test $ac_status = 0; }
4601 done
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 ac_clean_files_save=$ac_clean_files
4615 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4616 # Try to create an executable without -o first, disregard a.out.
4617 # It will help us diagnose broken compilers, and finding out an intuition
4618 # of exeext.
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4620 $as_echo_n "checking whether the C compiler works... " >&6; }
4621 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4623 # The possible output files:
4624 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4626 ac_rmfiles=
4627 for ac_file in $ac_files
4629 case $ac_file in
4630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4632 esac
4633 done
4634 rm -f $ac_rmfiles
4636 if { { ac_try="$ac_link_default"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_link_default") 2>&5
4644 ac_status=$?
4645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4646 test $ac_status = 0; }; then :
4647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4648 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4650 # so that the user can short-circuit this test for compilers unknown to
4651 # Autoconf.
4652 for ac_file in $ac_files ''
4654 test -f "$ac_file" || continue
4655 case $ac_file in
4656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4658 [ab].out )
4659 # We found the default executable, but exeext='' is most
4660 # certainly right.
4661 break;;
4662 *.* )
4663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4664 then :; else
4665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4667 # We set ac_cv_exeext here because the later test for it is not
4668 # safe: cross compilers may not add the suffix if given an `-o'
4669 # argument, so we may need to know it at that point already.
4670 # Even if this section looks crufty: it has the advantage of
4671 # actually working.
4672 break;;
4674 break;;
4675 esac
4676 done
4677 test "$ac_cv_exeext" = no && ac_cv_exeext=
4679 else
4680 ac_file=''
4682 if test -z "$ac_file"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error 77 "C compiler cannot create executables
4691 See \`config.log' for more details" "$LINENO" 5; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4697 $as_echo_n "checking for C compiler default output file name... " >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4699 $as_echo "$ac_file" >&6; }
4700 ac_exeext=$ac_cv_exeext
4702 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4703 ac_clean_files=$ac_clean_files_save
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4705 $as_echo_n "checking for suffix of executables... " >&6; }
4706 if { { ac_try="$ac_link"
4707 case "(($ac_try" in
4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4710 esac
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_link") 2>&5
4714 ac_status=$?
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }; then :
4717 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4718 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4719 # work properly (i.e., refer to `conftest.exe'), while it won't with
4720 # `rm'.
4721 for ac_file in conftest.exe conftest conftest.*; do
4722 test -f "$ac_file" || continue
4723 case $ac_file in
4724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4725 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4726 break;;
4727 * ) break;;
4728 esac
4729 done
4730 else
4731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4734 See \`config.log' for more details" "$LINENO" 5; }
4736 rm -f conftest conftest$ac_cv_exeext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4738 $as_echo "$ac_cv_exeext" >&6; }
4740 rm -f conftest.$ac_ext
4741 EXEEXT=$ac_cv_exeext
4742 ac_exeext=$EXEEXT
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4745 #include <stdio.h>
4747 main ()
4749 FILE *f = fopen ("conftest.out", "w");
4750 return ferror (f) || fclose (f) != 0;
4753 return 0;
4755 _ACEOF
4756 ac_clean_files="$ac_clean_files conftest.out"
4757 # Check that the compiler produces executables we can run. If not, either
4758 # the compiler is broken, or we cross compile.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4760 $as_echo_n "checking whether we are cross compiling... " >&6; }
4761 if test "$cross_compiling" != yes; then
4762 { { ac_try="$ac_link"
4763 case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_link") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }
4773 if { ac_try='./conftest$ac_cv_exeext'
4774 { { case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777 esac
4778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4779 $as_echo "$ac_try_echo"; } >&5
4780 (eval "$ac_try") 2>&5
4781 ac_status=$?
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }; }; then
4784 cross_compiling=no
4785 else
4786 if test "$cross_compiling" = maybe; then
4787 cross_compiling=yes
4788 else
4789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4791 as_fn_error $? "cannot run C compiled programs.
4792 If you meant to cross compile, use \`--host'.
4793 See \`config.log' for more details" "$LINENO" 5; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4798 $as_echo "$cross_compiling" >&6; }
4800 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4801 ac_clean_files=$ac_clean_files_save
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4803 $as_echo_n "checking for suffix of object files... " >&6; }
4804 if ${ac_cv_objext+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 rm -f conftest.o conftest.obj
4819 if { { ac_try="$ac_compile"
4820 case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4823 esac
4824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4825 $as_echo "$ac_try_echo"; } >&5
4826 (eval "$ac_compile") 2>&5
4827 ac_status=$?
4828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4829 test $ac_status = 0; }; then :
4830 for ac_file in conftest.o conftest.obj conftest.*; do
4831 test -f "$ac_file" || continue;
4832 case $ac_file in
4833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4835 break;;
4836 esac
4837 done
4838 else
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $? "cannot compute suffix of object files: cannot compile
4845 See \`config.log' for more details" "$LINENO" 5; }
4847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4850 $as_echo "$ac_cv_objext" >&6; }
4851 OBJEXT=$ac_cv_objext
4852 ac_objext=$OBJEXT
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4855 if ${ac_cv_c_compiler_gnu+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4864 #ifndef __GNUC__
4865 choke me
4866 #endif
4869 return 0;
4871 _ACEOF
4872 if ac_fn_c_try_compile "$LINENO"; then :
4873 ac_compiler_gnu=yes
4874 else
4875 ac_compiler_gnu=no
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4882 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4883 if test $ac_compiler_gnu = yes; then
4884 GCC=yes
4885 else
4886 GCC=
4888 ac_test_CFLAGS=${CFLAGS+set}
4889 ac_save_CFLAGS=$CFLAGS
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4891 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4892 if ${ac_cv_prog_cc_g+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 ac_save_c_werror_flag=$ac_c_werror_flag
4896 ac_c_werror_flag=yes
4897 ac_cv_prog_cc_g=no
4898 CFLAGS="-g"
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4903 main ()
4907 return 0;
4909 _ACEOF
4910 if ac_fn_c_try_compile "$LINENO"; then :
4911 ac_cv_prog_cc_g=yes
4912 else
4913 CFLAGS=""
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4918 main ()
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4927 else
4928 ac_c_werror_flag=$ac_save_c_werror_flag
4929 CFLAGS="-g"
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_cv_prog_cc_g=yes
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 ac_c_werror_flag=$ac_save_c_werror_flag
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4952 $as_echo "$ac_cv_prog_cc_g" >&6; }
4953 if test "$ac_test_CFLAGS" = set; then
4954 CFLAGS=$ac_save_CFLAGS
4955 elif test $ac_cv_prog_cc_g = yes; then
4956 if test "$GCC" = yes; then
4957 CFLAGS="-g -O2"
4958 else
4959 CFLAGS="-g"
4961 else
4962 if test "$GCC" = yes; then
4963 CFLAGS="-O2"
4964 else
4965 CFLAGS=
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4970 if ${ac_cv_prog_cc_c89+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 ac_cv_prog_cc_c89=no
4974 ac_save_CC=$CC
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <stdarg.h>
4978 #include <stdio.h>
4979 struct stat;
4980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4981 struct buf { int x; };
4982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4983 static char *e (p, i)
4984 char **p;
4985 int i;
4987 return p[i];
4989 static char *f (char * (*g) (char **, int), char **p, ...)
4991 char *s;
4992 va_list v;
4993 va_start (v,p);
4994 s = g (p, va_arg (v,int));
4995 va_end (v);
4996 return s;
4999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5000 function prototypes and stuff, but not '\xHH' hex character constants.
5001 These don't provoke an error unfortunately, instead are silently treated
5002 as 'x'. The following induces an error, until -std is added to get
5003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5004 array size at least. It's necessary to write '\x00'==0 to get something
5005 that's true only with -std. */
5006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5009 inside strings and character constants. */
5010 #define FOO(x) 'x'
5011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5013 int test (int i, double x);
5014 struct s1 {int (*f) (int a);};
5015 struct s2 {int (*f) (double a);};
5016 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5017 int argc;
5018 char **argv;
5020 main ()
5022 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5024 return 0;
5026 _ACEOF
5027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5030 CC="$ac_save_CC $ac_arg"
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 ac_cv_prog_cc_c89=$ac_arg
5034 rm -f core conftest.err conftest.$ac_objext
5035 test "x$ac_cv_prog_cc_c89" != "xno" && break
5036 done
5037 rm -f conftest.$ac_ext
5038 CC=$ac_save_CC
5041 # AC_CACHE_VAL
5042 case "x$ac_cv_prog_cc_c89" in
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5045 $as_echo "none needed" >&6; } ;;
5046 xno)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5048 $as_echo "unsupported" >&6; } ;;
5050 CC="$CC $ac_cv_prog_cc_c89"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5053 esac
5054 if test "x$ac_cv_prog_cc_c89" != xno; then :
5058 ac_ext=c
5059 ac_cpp='$CPP $CPPFLAGS'
5060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5064 ac_ext=cpp
5065 ac_cpp='$CXXCPP $CPPFLAGS'
5066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5069 if test -z "$CXX"; then
5070 if test -n "$CCC"; then
5071 CXX=$CCC
5072 else
5073 if test -n "$ac_tool_prefix"; then
5074 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_CXX+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$CXX"; then
5084 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 CXX=$ac_cv_prog_CXX
5104 if test -n "$CXX"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5106 $as_echo "$CXX" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 test -n "$CXX" && break
5114 done
5116 if test -z "$CXX"; then
5117 ac_ct_CXX=$CXX
5118 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5120 # Extract the first word of "$ac_prog", so it can be a program name with args.
5121 set dummy $ac_prog; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$ac_ct_CXX"; then
5128 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_ac_ct_CXX="$ac_prog"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5148 if test -n "$ac_ct_CXX"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5150 $as_echo "$ac_ct_CXX" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5157 test -n "$ac_ct_CXX" && break
5158 done
5160 if test "x$ac_ct_CXX" = x; then
5161 CXX="g++"
5162 else
5163 case $cross_compiling:$ac_tool_warned in
5164 yes:)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167 ac_tool_warned=yes ;;
5168 esac
5169 CXX=$ac_ct_CXX
5175 # Provide some information about the compiler.
5176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5177 set X $ac_compile
5178 ac_compiler=$2
5179 for ac_option in --version -v -V -qversion; do
5180 { { ac_try="$ac_compiler $ac_option >&5"
5181 case "(($ac_try" in
5182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183 *) ac_try_echo=$ac_try;;
5184 esac
5185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5186 $as_echo "$ac_try_echo"; } >&5
5187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5188 ac_status=$?
5189 if test -s conftest.err; then
5190 sed '10a\
5191 ... rest of stderr output deleted ...
5192 10q' conftest.err >conftest.er1
5193 cat conftest.er1 >&5
5195 rm -f conftest.er1 conftest.err
5196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5197 test $ac_status = 0; }
5198 done
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5209 main ()
5211 #ifndef __GNUC__
5212 choke me
5213 #endif
5216 return 0;
5218 _ACEOF
5219 if ac_fn_cxx_try_compile "$LINENO"; then :
5220 ac_compiler_gnu=yes
5221 else
5222 ac_compiler_gnu=no
5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5230 if test $ac_compiler_gnu = yes; then
5231 GXX=yes
5232 else
5233 GXX=
5235 ac_test_CXXFLAGS=${CXXFLAGS+set}
5236 ac_save_CXXFLAGS=$CXXFLAGS
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5239 if ${ac_cv_prog_cxx_g+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5243 ac_cxx_werror_flag=yes
5244 ac_cv_prog_cxx_g=no
5245 CXXFLAGS="-g"
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5250 main ()
5254 return 0;
5256 _ACEOF
5257 if ac_fn_cxx_try_compile "$LINENO"; then :
5258 ac_cv_prog_cxx_g=yes
5259 else
5260 CXXFLAGS=""
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5265 main ()
5269 return 0;
5271 _ACEOF
5272 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 else
5275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5276 CXXFLAGS="-g"
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_cv_prog_cxx_g=yes
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5300 if test "$ac_test_CXXFLAGS" = set; then
5301 CXXFLAGS=$ac_save_CXXFLAGS
5302 elif test $ac_cv_prog_cxx_g = yes; then
5303 if test "$GXX" = yes; then
5304 CXXFLAGS="-g -O2"
5305 else
5306 CXXFLAGS="-g"
5308 else
5309 if test "$GXX" = yes; then
5310 CXXFLAGS="-O2"
5311 else
5312 CXXFLAGS=
5315 ac_ext=c
5316 ac_cpp='$CPP $CPPFLAGS'
5317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_CPPBIN+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$CPPBIN"; then
5330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 CPPBIN=$ac_cv_prog_CPPBIN
5350 if test -n "$CPPBIN"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5352 $as_echo "$CPPBIN" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_CPPBIN"; then
5361 ac_ct_CPPBIN=$CPPBIN
5362 # Extract the first word of "cpp", so it can be a program name with args.
5363 set dummy cpp; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$ac_ct_CPPBIN"; then
5370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_CPPBIN="cpp"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5390 if test -n "$ac_ct_CPPBIN"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5392 $as_echo "$ac_ct_CPPBIN" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_CPPBIN" = x; then
5399 CPPBIN="cpp"
5400 else
5401 case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 CPPBIN=$ac_ct_CPPBIN
5409 else
5410 CPPBIN="$ac_cv_prog_CPPBIN"
5414 cat >>confdefs.h <<_ACEOF
5415 #define EXEEXT "$ac_exeext"
5416 _ACEOF
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}ld; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_LD+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$LD"; then
5427 ac_cv_prog_LD="$LD" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_LD="${ac_tool_prefix}ld"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 LD=$ac_cv_prog_LD
5447 if test -n "$LD"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5449 $as_echo "$LD" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_LD"; then
5458 ac_ct_LD=$LD
5459 # Extract the first word of "ld", so it can be a program name with args.
5460 set dummy ld; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_LD"; then
5467 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_LD="ld"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5487 if test -n "$ac_ct_LD"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5489 $as_echo "$ac_ct_LD" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_LD" = x; then
5496 LD=""
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 LD=$ac_ct_LD
5506 else
5507 LD="$ac_cv_prog_LD"
5511 case $host in
5512 *-darwin*)
5513 with_fontconfig=${with_fontconfig:-no}
5515 *-mingw32*|*-cygwin*)
5516 enable_win16=${enable_win16:-no}
5517 with_mingw=${with_mingw:-no}
5518 CFLAGS="$CFLAGS -D_WIN32"
5520 esac
5522 case $host in
5523 x86_64*|amd64*)
5524 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5525 then
5526 CC="$CC -m32"
5527 CXX="$CXX -m32"
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5529 $as_echo_n "checking whether $CC works... " >&6; }
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5535 main ()
5539 return 0;
5541 _ACEOF
5542 if ac_fn_c_try_link "$LINENO"; then :
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5544 $as_echo "yes" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5548 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5550 rm -f core conftest.err conftest.$ac_objext \
5551 conftest$ac_exeext conftest.$ac_ext
5552 host_cpu="i386"
5553 notice_platform="32-bit "
5554 TARGETFLAGS="-m32"
5556 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5557 export PKG_CONFIG_PATH
5558 enable_win16=${enable_win16:-yes}
5559 else
5560 if test "x${GCC}" = "xyes"
5561 then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5563 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5566 #include <stdarg.h>
5568 main ()
5570 void func(__builtin_ms_va_list *args);
5572 return 0;
5574 _ACEOF
5575 if ac_fn_c_try_compile "$LINENO"; then :
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5577 $as_echo "yes" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5581 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5585 CC="$CC -m64"
5586 CXX="$CXX -m64"
5587 host_cpu="x86_64"
5588 notice_platform="64-bit "
5589 TARGETFLAGS="-m64"
5593 arm*)
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5595 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 int ac_test(int i) { return i; }
5600 main ()
5602 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5604 return 0;
5606 _ACEOF
5607 if ac_fn_c_try_link "$LINENO"; then :
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5615 rm -f core conftest.err conftest.$ac_objext \
5616 conftest$ac_exeext conftest.$ac_ext
5617 case $with_float_abi in
5618 soft|softfp|hard)
5619 float_abi=$with_float_abi ;;
5621 case $host_os in
5622 *eabihf)
5623 float_abi=hard ;;
5625 float_abi=softfp
5626 saved_CFLAGS=$CFLAGS
5627 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5629 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main ()
5636 asm("vmrs r2,fpscr");
5638 return 0;
5640 _ACEOF
5641 if ac_fn_c_try_link "$LINENO"; then :
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5643 $as_echo "yes" >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5647 float_abi=soft
5648 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5650 rm -f core conftest.err conftest.$ac_objext \
5651 conftest$ac_exeext conftest.$ac_ext
5652 CFLAGS=$saved_CFLAGS
5653 esac
5655 esac
5656 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5657 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5660 aarch64*)
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5662 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 #include <stdarg.h>
5667 main ()
5669 void func(__builtin_ms_va_list *args);
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_compile "$LINENO"; then :
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5676 $as_echo "yes" >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5680 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 i[3456789]86*)
5685 enable_win16=${enable_win16:-yes}
5687 esac
5689 enable_win16=${enable_win16:-no}
5690 enable_win64=${enable_win64:-no}
5692 enable_winetest=${enable_winetest:-$enable_tests}
5694 if test "x$enable_win64" = "xyes"
5695 then
5696 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5697 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5698 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5702 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5703 if ${wine_cv_toolsdir+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 wine_cv_toolsdir="$with_wine_tools"
5707 if test -z "$with_wine_tools"; then
5708 if test "$cross_compiling" = "yes"; then
5709 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5710 elif test -n "$with_wine64"; then
5711 wine_cv_toolsdir="$with_wine64"
5714 if test -z "$wine_cv_toolsdir"; then
5715 wine_makedep=tools/makedep
5716 wine_cv_toolsdir="\$(top_builddir)"
5717 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5718 wine_makedep=$wine_cv_toolsdir/tools/makedep
5719 case "$wine_cv_toolsdir" in
5720 /*) ;;
5721 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5722 esac
5723 enable_tools=${enable_tools:-no}
5724 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5725 else
5726 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5730 $as_echo "$wine_cv_toolsdir" >&6; }
5731 TOOLSDIR=$wine_cv_toolsdir
5733 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5734 then
5735 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5739 for ac_prog in flex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_FLEX+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 if test -n "$FLEX"; then
5749 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_FLEX="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 FLEX=$ac_cv_prog_FLEX
5769 if test -n "$FLEX"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5771 $as_echo "$FLEX" >&6; }
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$FLEX" && break
5779 done
5780 test -n "$FLEX" || FLEX="none"
5782 if test "$FLEX" = "none"
5783 then
5784 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5787 $as_echo_n "checking whether flex is recent enough... " >&6; }
5788 cat >conftest.l <<EOF
5789 %top{
5790 #include "prediluvian.h"
5794 if $FLEX -t conftest.l >/dev/null 2>&5
5795 then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5797 $as_echo "yes" >&6; }
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5801 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5804 for ac_prog in bison
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_BISON+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$BISON"; then
5814 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_BISON="$ac_prog"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 BISON=$ac_cv_prog_BISON
5834 if test -n "$BISON"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5836 $as_echo "$BISON" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 test -n "$BISON" && break
5844 done
5845 test -n "$BISON" || BISON="none"
5847 if test "$BISON" = "none"
5848 then
5849 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5852 if test -n "$ac_tool_prefix"; then
5853 for ac_prog in ar gar
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$AR"; then
5863 ac_cv_prog_AR="$AR" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 AR=$ac_cv_prog_AR
5883 if test -n "$AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885 $as_echo "$AR" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$AR" && break
5893 done
5895 if test -z "$AR"; then
5896 ac_ct_AR=$AR
5897 for ac_prog in ar gar
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$ac_ct_AR"; then
5907 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_AR="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5927 if test -n "$ac_ct_AR"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5929 $as_echo "$ac_ct_AR" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$ac_ct_AR" && break
5937 done
5939 if test "x$ac_ct_AR" = x; then
5940 AR="ar"
5941 else
5942 case $cross_compiling:$ac_tool_warned in
5943 yes:)
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5947 esac
5948 AR=$ac_ct_AR
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}strip; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_STRIP+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$STRIP"; then
5961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 STRIP=$ac_cv_prog_STRIP
5981 if test -n "$STRIP"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5983 $as_echo "$STRIP" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_STRIP"; then
5992 ac_ct_STRIP=$STRIP
5993 # Extract the first word of "strip", so it can be a program name with args.
5994 set dummy strip; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ac_ct_STRIP"; then
6001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ac_ct_STRIP="strip"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6021 if test -n "$ac_ct_STRIP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6023 $as_echo "$ac_ct_STRIP" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_STRIP" = x; then
6030 STRIP="strip"
6031 else
6032 case $cross_compiling:$ac_tool_warned in
6033 yes:)
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6037 esac
6038 STRIP=$ac_ct_STRIP
6040 else
6041 STRIP="$ac_cv_prog_STRIP"
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_RANLIB+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 if test -n "$RANLIB"; then
6053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 RANLIB=$ac_cv_prog_RANLIB
6073 if test -n "$RANLIB"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6075 $as_echo "$RANLIB" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6083 if test -z "$ac_cv_prog_RANLIB"; then
6084 ac_ct_RANLIB=$RANLIB
6085 # Extract the first word of "ranlib", so it can be a program name with args.
6086 set dummy ranlib; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$ac_ct_RANLIB"; then
6093 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_ac_ct_RANLIB="ranlib"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6113 if test -n "$ac_ct_RANLIB"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6115 $as_echo "$ac_ct_RANLIB" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6121 if test "x$ac_ct_RANLIB" = x; then
6122 RANLIB=":"
6123 else
6124 case $cross_compiling:$ac_tool_warned in
6125 yes:)
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6128 ac_tool_warned=yes ;;
6129 esac
6130 RANLIB=$ac_ct_RANLIB
6132 else
6133 RANLIB="$ac_cv_prog_RANLIB"
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6137 $as_echo_n "checking whether ln -s works... " >&6; }
6138 LN_S=$as_ln_s
6139 if test "$LN_S" = "ln -s"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6141 $as_echo "yes" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6144 $as_echo "no, using $LN_S" >&6; }
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6148 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6149 if ${ac_cv_path_GREP+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -z "$GREP"; then
6153 ac_path_GREP_found=false
6154 # Loop through the user's path and test for each of PROGNAME-LIST
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_prog in grep ggrep; do
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6163 as_fn_executable_p "$ac_path_GREP" || continue
6164 # Check for GNU ac_path_GREP and select it if it is found.
6165 # Check for GNU $ac_path_GREP
6166 case `"$ac_path_GREP" --version 2>&1` in
6167 *GNU*)
6168 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6170 ac_count=0
6171 $as_echo_n 0123456789 >"conftest.in"
6172 while :
6174 cat "conftest.in" "conftest.in" >"conftest.tmp"
6175 mv "conftest.tmp" "conftest.in"
6176 cp "conftest.in" "conftest.nl"
6177 $as_echo 'GREP' >> "conftest.nl"
6178 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6179 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6180 as_fn_arith $ac_count + 1 && ac_count=$as_val
6181 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6182 # Best one so far, save it but keep looking for a better one
6183 ac_cv_path_GREP="$ac_path_GREP"
6184 ac_path_GREP_max=$ac_count
6186 # 10*(2^10) chars as input seems more than enough
6187 test $ac_count -gt 10 && break
6188 done
6189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6190 esac
6192 $ac_path_GREP_found && break 3
6193 done
6194 done
6195 done
6196 IFS=$as_save_IFS
6197 if test -z "$ac_cv_path_GREP"; then
6198 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6200 else
6201 ac_cv_path_GREP=$GREP
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6206 $as_echo "$ac_cv_path_GREP" >&6; }
6207 GREP="$ac_cv_path_GREP"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6211 $as_echo_n "checking for egrep... " >&6; }
6212 if ${ac_cv_path_EGREP+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6216 then ac_cv_path_EGREP="$GREP -E"
6217 else
6218 if test -z "$EGREP"; then
6219 ac_path_EGREP_found=false
6220 # Loop through the user's path and test for each of PROGNAME-LIST
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_prog in egrep; do
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6229 as_fn_executable_p "$ac_path_EGREP" || continue
6230 # Check for GNU ac_path_EGREP and select it if it is found.
6231 # Check for GNU $ac_path_EGREP
6232 case `"$ac_path_EGREP" --version 2>&1` in
6233 *GNU*)
6234 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6236 ac_count=0
6237 $as_echo_n 0123456789 >"conftest.in"
6238 while :
6240 cat "conftest.in" "conftest.in" >"conftest.tmp"
6241 mv "conftest.tmp" "conftest.in"
6242 cp "conftest.in" "conftest.nl"
6243 $as_echo 'EGREP' >> "conftest.nl"
6244 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6246 as_fn_arith $ac_count + 1 && ac_count=$as_val
6247 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6248 # Best one so far, save it but keep looking for a better one
6249 ac_cv_path_EGREP="$ac_path_EGREP"
6250 ac_path_EGREP_max=$ac_count
6252 # 10*(2^10) chars as input seems more than enough
6253 test $ac_count -gt 10 && break
6254 done
6255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6256 esac
6258 $ac_path_EGREP_found && break 3
6259 done
6260 done
6261 done
6262 IFS=$as_save_IFS
6263 if test -z "$ac_cv_path_EGREP"; then
6264 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6266 else
6267 ac_cv_path_EGREP=$EGREP
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6273 $as_echo "$ac_cv_path_EGREP" >&6; }
6274 EGREP="$ac_cv_path_EGREP"
6277 # Extract the first word of "ldconfig", so it can be a program name with args.
6278 set dummy ldconfig; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_path_LDCONFIG+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 case $LDCONFIG in
6285 [\\/]* | ?:[\\/]*)
6286 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in /sbin /usr/sbin $PATH
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 break 2
6300 done
6301 done
6302 IFS=$as_save_IFS
6304 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6306 esac
6308 LDCONFIG=$ac_cv_path_LDCONFIG
6309 if test -n "$LDCONFIG"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6311 $as_echo "$LDCONFIG" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6318 for ac_prog in msgfmt
6320 # Extract the first word of "$ac_prog", so it can be a program name with args.
6321 set dummy $ac_prog; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_MSGFMT+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 if test -n "$MSGFMT"; then
6328 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6329 else
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 for as_dir in $PATH
6333 IFS=$as_save_IFS
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_MSGFMT="$ac_prog"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 break 2
6341 done
6342 done
6343 IFS=$as_save_IFS
6347 MSGFMT=$ac_cv_prog_MSGFMT
6348 if test -n "$MSGFMT"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6350 $as_echo "$MSGFMT" >&6; }
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6357 test -n "$MSGFMT" && break
6358 done
6359 test -n "$MSGFMT" || MSGFMT="false"
6361 if ${ac_tool_prefix+:} false; then :
6362 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6363 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6367 $as_echo_n "(cached) " >&6
6368 else
6369 if test -n "$PKG_CONFIG"; then
6370 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6371 else
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 for as_dir in $PATH
6375 IFS=$as_save_IFS
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6379 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381 break 2
6383 done
6384 done
6385 IFS=$as_save_IFS
6389 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6390 if test -n "$PKG_CONFIG"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6392 $as_echo "$PKG_CONFIG" >&6; }
6393 else
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6400 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6401 if test "x$cross_compiling" = xyes; then :
6403 else
6404 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6405 # Extract the first word of "pkg-config", so it can be a program name with args.
6406 set dummy pkg-config; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if test -n "$PKG_CONFIG"; then
6413 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_PKG_CONFIG="pkg-config"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6426 done
6427 done
6428 IFS=$as_save_IFS
6432 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6433 if test -n "$PKG_CONFIG"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6435 $as_echo "$PKG_CONFIG" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6443 else
6444 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6447 if test "x$enable_maintainer_mode" != "xyes"
6448 then
6449 FONTFORGE=""
6450 RSVG=""
6451 CONVERT=""
6452 ICOTOOL=""
6453 else
6454 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6455 for ac_prog in fontforge
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy $ac_prog; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if ${ac_cv_prog_FONTFORGE+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$FONTFORGE"; then
6465 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_FONTFORGE="$ac_prog"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 FONTFORGE=$ac_cv_prog_FONTFORGE
6485 if test -n "$FONTFORGE"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6487 $as_echo "$FONTFORGE" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6494 test -n "$FONTFORGE" && break
6495 done
6496 test -n "$FONTFORGE" || FONTFORGE="false"
6498 for ac_prog in rsvg-convert rsvg
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if ${ac_cv_prog_RSVG+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$RSVG"; then
6508 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_RSVG="$ac_prog"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 RSVG=$ac_cv_prog_RSVG
6528 if test -n "$RSVG"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6530 $as_echo "$RSVG" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6537 test -n "$RSVG" && break
6538 done
6539 test -n "$RSVG" || RSVG="false"
6541 for ac_prog in convert
6543 # Extract the first word of "$ac_prog", so it can be a program name with args.
6544 set dummy $ac_prog; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_CONVERT+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$CONVERT"; then
6551 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_CONVERT="$ac_prog"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 CONVERT=$ac_cv_prog_CONVERT
6571 if test -n "$CONVERT"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6573 $as_echo "$CONVERT" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6580 test -n "$CONVERT" && break
6581 done
6582 test -n "$CONVERT" || CONVERT="false"
6584 for ac_prog in icotool
6586 # Extract the first word of "$ac_prog", so it can be a program name with args.
6587 set dummy $ac_prog; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ICOTOOL+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$ICOTOOL"; then
6594 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ICOTOOL="$ac_prog"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 ICOTOOL=$ac_cv_prog_ICOTOOL
6614 if test -n "$ICOTOOL"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6616 $as_echo "$ICOTOOL" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6623 test -n "$ICOTOOL" && break
6624 done
6625 test -n "$ICOTOOL" || ICOTOOL="false"
6627 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6628 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6630 if test "$CONVERT" = false
6631 then
6632 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6635 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6636 convert_version=`convert --version | head -n1`
6637 if test "x$convert_version" != "x"
6638 then
6639 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6640 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6641 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6642 then
6643 CONVERT=false
6646 if test "$CONVERT" = false
6647 then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6649 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6650 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6651 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6653 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6657 if test "$ICOTOOL" = false
6658 then
6659 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6662 $as_echo_n "checking for recent enough icotool... " >&6; }
6663 icotool_version=`icotool --version | head -n1`
6664 if test "x$icotool_version" != "x"
6665 then
6666 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6667 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6668 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6669 then
6670 ICOTOOL=false
6671 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6674 if test "$ICOTOOL" = false
6675 then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6677 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6678 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6681 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6685 with_gettext=yes
6686 with_gettextpo=yes
6687 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6690 test "x$with_gettext" != xno || MSGFMT=false
6691 if test "$MSGFMT" != "false"
6692 then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6694 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6695 cat >conftest.po <<EOF
6696 # comment
6697 msgctxt "ctxt"
6698 msgid "id"
6699 msgstr "str"
6701 if $MSGFMT -o /dev/null conftest.po 2>&5
6702 then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6704 $as_echo "yes" >&6; }
6705 else
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6708 MSGFMT=false
6711 if test "$MSGFMT" = false; then :
6712 case "x$with_gettext" in
6713 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6714 xno) ;;
6715 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6716 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6717 esac
6718 enable_po=${enable_po:-no}
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6723 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6724 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 ac_check_lib_save_LIBS=$LIBS
6728 LIBS="-li386 $LIBS"
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6732 /* Override any GCC internal prototype to avoid an error.
6733 Use char because int might match the return type of a GCC
6734 builtin and then its argument prototype would still apply. */
6735 #ifdef __cplusplus
6736 extern "C"
6737 #endif
6738 char i386_set_ldt ();
6740 main ()
6742 return i386_set_ldt ();
6744 return 0;
6746 _ACEOF
6747 if ac_fn_c_try_link "$LINENO"; then :
6748 ac_cv_lib_i386_i386_set_ldt=yes
6749 else
6750 ac_cv_lib_i386_i386_set_ldt=no
6752 rm -f core conftest.err conftest.$ac_objext \
6753 conftest$ac_exeext conftest.$ac_ext
6754 LIBS=$ac_check_lib_save_LIBS
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6757 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6758 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6759 cat >>confdefs.h <<_ACEOF
6760 #define HAVE_LIBI386 1
6761 _ACEOF
6763 LIBS="-li386 $LIBS"
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6768 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6769 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 ac_check_lib_save_LIBS=$LIBS
6773 LIBS="-lossaudio $LIBS"
6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6777 /* Override any GCC internal prototype to avoid an error.
6778 Use char because int might match the return type of a GCC
6779 builtin and then its argument prototype would still apply. */
6780 #ifdef __cplusplus
6781 extern "C"
6782 #endif
6783 char _oss_ioctl ();
6785 main ()
6787 return _oss_ioctl ();
6789 return 0;
6791 _ACEOF
6792 if ac_fn_c_try_link "$LINENO"; then :
6793 ac_cv_lib_ossaudio__oss_ioctl=yes
6794 else
6795 ac_cv_lib_ossaudio__oss_ioctl=no
6797 rm -f core conftest.err conftest.$ac_objext \
6798 conftest$ac_exeext conftest.$ac_ext
6799 LIBS=$ac_check_lib_save_LIBS
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6802 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6803 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_LIBOSSAUDIO 1
6806 _ACEOF
6808 LIBS="-lossaudio $LIBS"
6813 OPENGL_LIBS=""
6817 # Check whether --enable-largefile was given.
6818 if test "${enable_largefile+set}" = set; then :
6819 enableval=$enable_largefile;
6822 if test "$enable_largefile" != no; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6825 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6826 if ${ac_cv_sys_largefile_CC+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_cv_sys_largefile_CC=no
6830 if test "$GCC" != yes; then
6831 ac_save_CC=$CC
6832 while :; do
6833 # IRIX 6.2 and later do not support large files by default,
6834 # so use the C compiler's -n32 option if that helps.
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6837 #include <sys/types.h>
6838 /* Check that off_t can represent 2**63 - 1 correctly.
6839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6840 since some C++ compilers masquerading as C compilers
6841 incorrectly reject 9223372036854775807. */
6842 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6844 && LARGE_OFF_T % 2147483647 == 1)
6845 ? 1 : -1];
6847 main ()
6851 return 0;
6853 _ACEOF
6854 if ac_fn_c_try_compile "$LINENO"; then :
6855 break
6857 rm -f core conftest.err conftest.$ac_objext
6858 CC="$CC -n32"
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_sys_largefile_CC=' -n32'; break
6862 rm -f core conftest.err conftest.$ac_objext
6863 break
6864 done
6865 CC=$ac_save_CC
6866 rm -f conftest.$ac_ext
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6870 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6871 if test "$ac_cv_sys_largefile_CC" != no; then
6872 CC=$CC$ac_cv_sys_largefile_CC
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6876 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6877 if ${ac_cv_sys_file_offset_bits+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 while :; do
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6884 /* Check that off_t can represent 2**63 - 1 correctly.
6885 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6886 since some C++ compilers masquerading as C compilers
6887 incorrectly reject 9223372036854775807. */
6888 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6889 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6890 && LARGE_OFF_T % 2147483647 == 1)
6891 ? 1 : -1];
6893 main ()
6897 return 0;
6899 _ACEOF
6900 if ac_fn_c_try_compile "$LINENO"; then :
6901 ac_cv_sys_file_offset_bits=no; break
6903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6906 #define _FILE_OFFSET_BITS 64
6907 #include <sys/types.h>
6908 /* Check that off_t can represent 2**63 - 1 correctly.
6909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6910 since some C++ compilers masquerading as C compilers
6911 incorrectly reject 9223372036854775807. */
6912 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6914 && LARGE_OFF_T % 2147483647 == 1)
6915 ? 1 : -1];
6917 main ()
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 ac_cv_sys_file_offset_bits=64; break
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 ac_cv_sys_file_offset_bits=unknown
6929 break
6930 done
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6933 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6934 case $ac_cv_sys_file_offset_bits in #(
6935 no | unknown) ;;
6937 cat >>confdefs.h <<_ACEOF
6938 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6939 _ACEOF
6941 esac
6942 rm -rf conftest*
6943 if test $ac_cv_sys_file_offset_bits = unknown; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6945 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6946 if ${ac_cv_sys_large_files+:} false; then :
6947 $as_echo_n "(cached) " >&6
6948 else
6949 while :; do
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6952 #include <sys/types.h>
6953 /* Check that off_t can represent 2**63 - 1 correctly.
6954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6955 since some C++ compilers masquerading as C compilers
6956 incorrectly reject 9223372036854775807. */
6957 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6959 && LARGE_OFF_T % 2147483647 == 1)
6960 ? 1 : -1];
6962 main ()
6966 return 0;
6968 _ACEOF
6969 if ac_fn_c_try_compile "$LINENO"; then :
6970 ac_cv_sys_large_files=no; break
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 #define _LARGE_FILES 1
6976 #include <sys/types.h>
6977 /* Check that off_t can represent 2**63 - 1 correctly.
6978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6979 since some C++ compilers masquerading as C compilers
6980 incorrectly reject 9223372036854775807. */
6981 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6983 && LARGE_OFF_T % 2147483647 == 1)
6984 ? 1 : -1];
6986 main ()
6990 return 0;
6992 _ACEOF
6993 if ac_fn_c_try_compile "$LINENO"; then :
6994 ac_cv_sys_large_files=1; break
6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 ac_cv_sys_large_files=unknown
6998 break
6999 done
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7002 $as_echo "$ac_cv_sys_large_files" >&6; }
7003 case $ac_cv_sys_large_files in #(
7004 no | unknown) ;;
7006 cat >>confdefs.h <<_ACEOF
7007 #define _LARGE_FILES $ac_cv_sys_large_files
7008 _ACEOF
7010 esac
7011 rm -rf conftest*
7018 ac_ext=c
7019 ac_cpp='$CPP $CPPFLAGS'
7020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7024 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7025 # On Suns, sometimes $CPP names a directory.
7026 if test -n "$CPP" && test -d "$CPP"; then
7027 CPP=
7029 if test -z "$CPP"; then
7030 if ${ac_cv_prog_CPP+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 # Double quotes because CPP needs to be expanded
7034 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7036 ac_preproc_ok=false
7037 for ac_c_preproc_warn_flag in '' yes
7039 # Use a header file that comes with gcc, so configuring glibc
7040 # with a fresh cross-compiler works.
7041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7042 # <limits.h> exists even on freestanding compilers.
7043 # On the NeXT, cc -E runs the code through the compiler's parser,
7044 # not just through cpp. "Syntax error" is here to catch this case.
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #ifdef __STDC__
7048 # include <limits.h>
7049 #else
7050 # include <assert.h>
7051 #endif
7052 Syntax error
7053 _ACEOF
7054 if ac_fn_c_try_cpp "$LINENO"; then :
7056 else
7057 # Broken: fails on valid input.
7058 continue
7060 rm -f conftest.err conftest.i conftest.$ac_ext
7062 # OK, works on sane cases. Now check whether nonexistent headers
7063 # can be detected and how.
7064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7065 /* end confdefs.h. */
7066 #include <ac_nonexistent.h>
7067 _ACEOF
7068 if ac_fn_c_try_cpp "$LINENO"; then :
7069 # Broken: success on invalid input.
7070 continue
7071 else
7072 # Passes both tests.
7073 ac_preproc_ok=:
7074 break
7076 rm -f conftest.err conftest.i conftest.$ac_ext
7078 done
7079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7080 rm -f conftest.i conftest.err conftest.$ac_ext
7081 if $ac_preproc_ok; then :
7082 break
7085 done
7086 ac_cv_prog_CPP=$CPP
7089 CPP=$ac_cv_prog_CPP
7090 else
7091 ac_cv_prog_CPP=$CPP
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7094 $as_echo "$CPP" >&6; }
7095 ac_preproc_ok=false
7096 for ac_c_preproc_warn_flag in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 #ifdef __STDC__
7107 # include <limits.h>
7108 #else
7109 # include <assert.h>
7110 #endif
7111 Syntax error
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7115 else
7116 # Broken: fails on valid input.
7117 continue
7119 rm -f conftest.err conftest.i conftest.$ac_ext
7121 # OK, works on sane cases. Now check whether nonexistent headers
7122 # can be detected and how.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <ac_nonexistent.h>
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7128 # Broken: success on invalid input.
7129 continue
7130 else
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.i conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then :
7142 else
7143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7145 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7146 See \`config.log' for more details" "$LINENO" 5; }
7149 ac_ext=c
7150 ac_cpp='$CPP $CPPFLAGS'
7151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7157 $as_echo_n "checking for ANSI C header files... " >&6; }
7158 if ${ac_cv_header_stdc+:} false; then :
7159 $as_echo_n "(cached) " >&6
7160 else
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <stdlib.h>
7164 #include <stdarg.h>
7165 #include <string.h>
7166 #include <float.h>
7169 main ()
7173 return 0;
7175 _ACEOF
7176 if ac_fn_c_try_compile "$LINENO"; then :
7177 ac_cv_header_stdc=yes
7178 else
7179 ac_cv_header_stdc=no
7181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7183 if test $ac_cv_header_stdc = yes; then
7184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #include <string.h>
7189 _ACEOF
7190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7191 $EGREP "memchr" >/dev/null 2>&1; then :
7193 else
7194 ac_cv_header_stdc=no
7196 rm -f conftest*
7200 if test $ac_cv_header_stdc = yes; then
7201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #include <stdlib.h>
7206 _ACEOF
7207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7208 $EGREP "free" >/dev/null 2>&1; then :
7210 else
7211 ac_cv_header_stdc=no
7213 rm -f conftest*
7217 if test $ac_cv_header_stdc = yes; then
7218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7219 if test "$cross_compiling" = yes; then :
7221 else
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 #include <ctype.h>
7225 #include <stdlib.h>
7226 #if ((' ' & 0x0FF) == 0x020)
7227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7229 #else
7230 # define ISLOWER(c) \
7231 (('a' <= (c) && (c) <= 'i') \
7232 || ('j' <= (c) && (c) <= 'r') \
7233 || ('s' <= (c) && (c) <= 'z'))
7234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7235 #endif
7237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7239 main ()
7241 int i;
7242 for (i = 0; i < 256; i++)
7243 if (XOR (islower (i), ISLOWER (i))
7244 || toupper (i) != TOUPPER (i))
7245 return 2;
7246 return 0;
7248 _ACEOF
7249 if ac_fn_c_try_run "$LINENO"; then :
7251 else
7252 ac_cv_header_stdc=no
7254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7255 conftest.$ac_objext conftest.beam conftest.$ac_ext
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7261 $as_echo "$ac_cv_header_stdc" >&6; }
7262 if test $ac_cv_header_stdc = yes; then
7264 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7269 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7270 inttypes.h stdint.h unistd.h
7271 do :
7272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7276 cat >>confdefs.h <<_ACEOF
7277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 _ACEOF
7282 done
7285 for ac_header in \
7286 AL/al.h \
7287 ApplicationServices/ApplicationServices.h \
7288 AudioToolbox/AudioConverter.h \
7289 AudioUnit/AudioUnit.h \
7290 AudioUnit/AudioComponent.h \
7291 CL/cl.h \
7292 Carbon/Carbon.h \
7293 CommonCrypto/CommonCryptor.h \
7294 CoreAudio/CoreAudio.h \
7295 CoreServices/CoreServices.h \
7296 DiskArbitration/DiskArbitration.h \
7297 EGL/egl.h \
7298 IOKit/IOKitLib.h \
7299 IOKit/hid/IOHIDLib.h \
7300 OpenAL/al.h \
7301 OpenCL/opencl.h \
7302 QuickTime/ImageCompression.h \
7303 Security/Security.h \
7304 alias.h \
7305 arpa/inet.h \
7306 arpa/nameser.h \
7307 asm/types.h \
7308 asm/user.h \
7309 curses.h \
7310 dirent.h \
7311 dlfcn.h \
7312 elf.h \
7313 float.h \
7314 fnmatch.h \
7315 getopt.h \
7316 gettext-po.h \
7317 grp.h \
7318 gsm.h \
7319 gsm/gsm.h \
7320 ieeefp.h \
7321 inet/mib2.h \
7322 kstat.h \
7323 libproc.h \
7324 link.h \
7325 linux/cdrom.h \
7326 linux/compiler.h \
7327 linux/filter.h \
7328 linux/hdreg.h \
7329 linux/hidraw.h \
7330 linux/input.h \
7331 linux/ioctl.h \
7332 linux/joystick.h \
7333 linux/major.h \
7334 linux/param.h \
7335 linux/serial.h \
7336 linux/types.h \
7337 linux/ucdrom.h \
7338 lwp.h \
7339 mach-o/nlist.h \
7340 mach-o/loader.h \
7341 mach/mach.h \
7342 mach/machine.h \
7343 machine/cpu.h \
7344 machine/limits.h \
7345 machine/sysarch.h \
7346 mntent.h \
7347 ncurses.h \
7348 netdb.h \
7349 netinet/in.h \
7350 netinet/in_systm.h \
7351 netinet/tcp.h \
7352 netinet/tcp_fsm.h \
7353 pcap/pcap.h \
7354 poll.h \
7355 port.h \
7356 pthread.h \
7357 pwd.h \
7358 sched.h \
7359 scsi/scsi.h \
7360 scsi/scsi_ioctl.h \
7361 scsi/sg.h \
7362 stdbool.h \
7363 stdint.h \
7364 stropts.h \
7365 sys/attr.h \
7366 sys/auxv.h \
7367 sys/cdio.h \
7368 sys/elf32.h \
7369 sys/epoll.h \
7370 sys/event.h \
7371 sys/exec_elf.h \
7372 sys/filio.h \
7373 sys/inotify.h \
7374 sys/ioctl.h \
7375 sys/ipc.h \
7376 sys/limits.h \
7377 sys/link.h \
7378 sys/mman.h \
7379 sys/modem.h \
7380 sys/msg.h \
7381 sys/mtio.h \
7382 sys/param.h \
7383 sys/poll.h \
7384 sys/prctl.h \
7385 sys/protosw.h \
7386 sys/ptrace.h \
7387 sys/queue.h \
7388 sys/resource.h \
7389 sys/scsiio.h \
7390 sys/shm.h \
7391 sys/signal.h \
7392 sys/socket.h \
7393 sys/socketvar.h \
7394 sys/sockio.h \
7395 sys/statvfs.h \
7396 sys/strtio.h \
7397 sys/syscall.h \
7398 sys/sysinfo.h \
7399 sys/tihdr.h \
7400 sys/time.h \
7401 sys/timeout.h \
7402 sys/times.h \
7403 sys/uio.h \
7404 sys/user.h \
7405 sys/utsname.h \
7406 sys/vnode.h \
7407 sys/wait.h \
7408 syscall.h \
7409 termios.h \
7410 unistd.h \
7411 utime.h \
7412 valgrind/memcheck.h \
7413 valgrind/valgrind.h \
7414 zlib.h
7416 do :
7417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422 _ACEOF
7426 done
7428 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7429 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7431 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7436 if test $ac_cv_header_sys_mkdev_h = no; then
7437 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7438 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7440 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7447 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7448 if ${ac_cv_header_stat_broken+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7453 #include <sys/types.h>
7454 #include <sys/stat.h>
7456 #if defined S_ISBLK && defined S_IFDIR
7457 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7458 #endif
7460 #if defined S_ISBLK && defined S_IFCHR
7461 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7462 #endif
7464 #if defined S_ISLNK && defined S_IFREG
7465 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7466 #endif
7468 #if defined S_ISSOCK && defined S_IFREG
7469 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7470 #endif
7472 _ACEOF
7473 if ac_fn_c_try_compile "$LINENO"; then :
7474 ac_cv_header_stat_broken=no
7475 else
7476 ac_cv_header_stat_broken=yes
7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7481 $as_echo "$ac_cv_header_stat_broken" >&6; }
7482 if test $ac_cv_header_stat_broken = yes; then
7484 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7490 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7491 do :
7492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7494 #ifdef HAVE_SYS_PARAM_H
7495 # include <sys/param.h>
7496 #endif
7498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7499 cat >>confdefs.h <<_ACEOF
7500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7501 _ACEOF
7505 done
7508 for ac_header in \
7509 netinet/ip.h \
7510 net/if.h \
7511 net/if_arp.h \
7512 net/if_dl.h \
7513 net/if_types.h \
7514 net/route.h \
7515 netinet/if_ether.h \
7516 netinet/if_inarp.h \
7517 netinet/in_pcb.h \
7518 netinet/ip_icmp.h \
7519 netinet/ip_var.h \
7520 netinet/udp.h \
7521 netipx/ipx.h \
7522 sys/un.h \
7524 do :
7525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7527 #ifdef HAVE_SYS_SOCKET_H
7528 # include <sys/socket.h>
7529 #endif
7530 #ifdef HAVE_SYS_SOCKETVAR_H
7531 # include <sys/socketvar.h>
7532 #endif
7533 #ifdef HAVE_NET_ROUTE_H
7534 # include <net/route.h>
7535 #endif
7536 #ifdef HAVE_NETINET_IN_H
7537 # include <netinet/in.h>
7538 #endif
7539 #ifdef HAVE_NETINET_IN_SYSTM_H
7540 # include <netinet/in_systm.h>
7541 #endif
7542 #ifdef HAVE_NET_IF_H
7543 # include <net/if.h>
7544 #endif
7545 #ifdef HAVE_NETINET_IP_H
7546 # include <netinet/ip.h>
7547 #endif
7549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7550 cat >>confdefs.h <<_ACEOF
7551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7559 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7560 do :
7561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7563 #ifdef HAVE_ALIAS_H
7564 # include <alias.h>
7565 #endif
7566 #ifdef HAVE_SYS_SOCKET_H
7567 # include <sys/socket.h>
7568 #endif
7569 #ifdef HAVE_SYS_SOCKETVAR_H
7570 # include <sys/socketvar.h>
7571 #endif
7572 #ifdef HAVE_SYS_TIMEOUT_H
7573 # include <sys/timeout.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IN_H
7576 # include <netinet/in.h>
7577 #endif
7578 #ifdef HAVE_NETINET_IN_SYSTM_H
7579 # include <netinet/in_systm.h>
7580 #endif
7581 #ifdef HAVE_NETINET_IP_H
7582 # include <netinet/ip.h>
7583 #endif
7584 #ifdef HAVE_NETINET_IP_VAR_H
7585 # include <netinet/ip_var.h>
7586 #endif
7587 #ifdef HAVE_NETINET_IP_ICMP_H
7588 # include <netinet/ip_icmp.h>
7589 #endif
7590 #ifdef HAVE_NETINET_UDP_H
7591 # include <netinet/udp.h>
7592 #endif
7593 #ifdef HAVE_NETINET_TCP_H
7594 # include <netinet/tcp.h>
7595 #endif
7596 #ifdef HAVE_NETINET_TCP_TIMER_H
7597 #include <netinet/tcp_timer.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7611 do :
7612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7614 #ifdef HAVE_ASM_TYPES_H
7615 # include <asm/types.h>
7616 #endif
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7619 #endif
7620 #ifdef HAVE_LINUX_TYPES_H
7621 # include <linux/types.h>
7622 #endif
7624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7625 cat >>confdefs.h <<_ACEOF
7626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7627 _ACEOF
7631 done
7634 for ac_header in mach-o/dyld_images.h
7635 do :
7636 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7637 # include <stdbool.h>
7638 #endif
7639 #ifdef HAVE_STDINT_H
7640 # include <stdint.h>
7641 #endif
7643 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7646 _ACEOF
7650 done
7653 for ac_header in resolv.h
7654 do :
7655 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7656 #ifdef HAVE_SYS_SOCKET_H
7657 # include <sys/socket.h>
7658 #endif
7659 #ifdef HAVE_NETINET_IN_H
7660 # include <netinet/in.h>
7661 #endif
7662 #ifdef HAVE_ARPA_NAMESER_H
7663 # include <arpa/nameser.h>
7664 #endif
7666 if test "x$ac_cv_header_resolv_h" = xyes; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define HAVE_RESOLV_H 1
7669 _ACEOF
7673 done
7676 for ac_header in ifaddrs.h
7677 do :
7678 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7680 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_IFADDRS_H 1
7683 _ACEOF
7687 done
7690 for ac_header in sys/ucontext.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7694 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_SYS_UCONTEXT_H 1
7697 _ACEOF
7701 done
7704 for ac_header in sys/thr.h
7705 do :
7706 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_UCONTEXT_H
7708 #include <sys/ucontext.h>
7709 #endif
7711 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_SYS_THR_H 1
7714 _ACEOF
7718 done
7721 for ac_header in pthread_np.h
7722 do :
7723 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7724 #include <pthread.h>
7725 #endif
7727 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_PTHREAD_NP_H 1
7730 _ACEOF
7734 done
7737 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7738 do :
7739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7740 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7741 #include <sys/time.h>
7742 #endif
7743 #include <sys/types.h>
7744 #ifdef HAVE_ASM_TYPES_H
7745 #include <asm/types.h>
7746 #endif
7748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 _ACEOF
7755 done
7758 for ac_header in libprocstat.h
7759 do :
7760 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7761 #include <sys/param.h>
7762 #endif
7763 #ifdef HAVE_SYS_QUEUE_H
7764 #include <sys/queue.h>
7765 #endif
7766 #ifdef HAVE_SYS_SOCKET_H
7767 #include <sys/socket.h>
7768 #endif
7770 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_LIBPROCSTAT_H 1
7773 _ACEOF
7777 done
7781 DLLFLAGS="-D_REENTRANT"
7783 LDRPATH_INSTALL=""
7785 LDRPATH_LOCAL=""
7787 LDEXECFLAGS=""
7789 TOP_INSTALL_LIB=""
7791 TOP_INSTALL_DEV=""
7793 WINELOADER_LDFLAGS=""
7795 WINEPRELOADER_LDFLAGS=""
7797 LIBEXT="so"
7798 DLLEXT=".so"
7799 # Extract the first word of "ldd", so it can be a program name with args.
7800 set dummy ldd; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7802 $as_echo_n "checking for $ac_word... " >&6; }
7803 if ${ac_cv_path_LDD+:} false; then :
7804 $as_echo_n "(cached) " >&6
7805 else
7806 case $LDD in
7807 [\\/]* | ?:[\\/]*)
7808 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 as_dummy="/sbin:/usr/sbin:$PATH"
7813 for as_dir in $as_dummy
7815 IFS=$as_save_IFS
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 break 2
7823 done
7824 done
7825 IFS=$as_save_IFS
7827 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7829 esac
7831 LDD=$ac_cv_path_LDD
7832 if test -n "$LDD"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7834 $as_echo "$LDD" >&6; }
7835 else
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837 $as_echo "no" >&6; }
7841 if test -n "$ac_tool_prefix"; then
7842 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7843 set dummy ${ac_tool_prefix}otool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_OTOOL+:} false; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 if test -n "$OTOOL"; then
7850 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7851 else
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 for as_dir in $PATH
7855 IFS=$as_save_IFS
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 break 2
7863 done
7864 done
7865 IFS=$as_save_IFS
7869 OTOOL=$ac_cv_prog_OTOOL
7870 if test -n "$OTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7872 $as_echo "$OTOOL" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7880 if test -z "$ac_cv_prog_OTOOL"; then
7881 ac_ct_OTOOL=$OTOOL
7882 # Extract the first word of "otool", so it can be a program name with args.
7883 set dummy otool; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 if test -n "$ac_ct_OTOOL"; then
7890 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7891 else
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 for as_dir in $PATH
7895 IFS=$as_save_IFS
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_prog_ac_ct_OTOOL="otool"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7901 break 2
7903 done
7904 done
7905 IFS=$as_save_IFS
7909 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7910 if test -n "$ac_ct_OTOOL"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7912 $as_echo "$ac_ct_OTOOL" >&6; }
7913 else
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7918 if test "x$ac_ct_OTOOL" = x; then
7919 OTOOL="otool"
7920 else
7921 case $cross_compiling:$ac_tool_warned in
7922 yes:)
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925 ac_tool_warned=yes ;;
7926 esac
7927 OTOOL=$ac_ct_OTOOL
7929 else
7930 OTOOL="$ac_cv_prog_OTOOL"
7933 if test -n "$ac_tool_prefix"; then
7934 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7935 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_READELF+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$READELF"; then
7942 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 READELF=$ac_cv_prog_READELF
7962 if test -n "$READELF"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7964 $as_echo "$READELF" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7972 if test -z "$ac_cv_prog_READELF"; then
7973 ac_ct_READELF=$READELF
7974 # Extract the first word of "readelf", so it can be a program name with args.
7975 set dummy readelf; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 if test -n "$ac_ct_READELF"; then
7982 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7983 else
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 for as_dir in $PATH
7987 IFS=$as_save_IFS
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_ac_ct_READELF="readelf"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 IFS=$as_save_IFS
8001 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8002 if test -n "$ac_ct_READELF"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8004 $as_echo "$ac_ct_READELF" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8010 if test "x$ac_ct_READELF" = x; then
8011 READELF="true"
8012 else
8013 case $cross_compiling:$ac_tool_warned in
8014 yes:)
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8017 ac_tool_warned=yes ;;
8018 esac
8019 READELF=$ac_ct_READELF
8021 else
8022 READELF="$ac_cv_prog_READELF"
8025 wine_rules_file=conf$$rules.make
8026 rm -f $wine_rules_file
8027 SUBDIRS=""
8029 DISABLED_SUBDIRS=""
8031 CONFIGURE_TARGETS=""
8034 wine_fn_append_file ()
8036 as_fn_append $1 " \\$as_nl $2"
8039 wine_fn_append_rule ()
8041 $as_echo "$1" >>$wine_rules_file
8044 wine_fn_config_makefile ()
8046 wine_fn_append_file SUBDIRS $1
8047 if eval test \"x\$"$2"\" = x"no"; then :
8048 wine_fn_append_file DISABLED_SUBDIRS $1
8052 wine_fn_config_symlink ()
8054 ac_links=$@
8055 wine_fn_append_rule \
8056 "$ac_links:
8057 @./config.status \$@"
8058 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8061 wine_binary="wine"
8062 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8063 WINELOADER_PROGRAMS="$wine_binary"
8065 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8067 case $host_os in
8068 cygwin*|mingw32*)
8069 if test -n "$ac_tool_prefix"; then
8070 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 $as_echo_n "checking for $ac_word... " >&6; }
8074 if ${ac_cv_prog_DLLTOOL+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
8077 if test -n "$DLLTOOL"; then
8078 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8079 else
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 for as_dir in $PATH
8083 IFS=$as_save_IFS
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 break 2
8091 done
8092 done
8093 IFS=$as_save_IFS
8097 DLLTOOL=$ac_cv_prog_DLLTOOL
8098 if test -n "$DLLTOOL"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8100 $as_echo "$DLLTOOL" >&6; }
8101 else
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
8108 if test -z "$ac_cv_prog_DLLTOOL"; then
8109 ac_ct_DLLTOOL=$DLLTOOL
8110 # Extract the first word of "dlltool", so it can be a program name with args.
8111 set dummy dlltool; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8115 $as_echo_n "(cached) " >&6
8116 else
8117 if test -n "$ac_ct_DLLTOOL"; then
8118 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8119 else
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 for as_dir in $PATH
8123 IFS=$as_save_IFS
8124 test -z "$as_dir" && as_dir=.
8125 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8129 break 2
8131 done
8132 done
8133 IFS=$as_save_IFS
8137 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8138 if test -n "$ac_ct_DLLTOOL"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8140 $as_echo "$ac_ct_DLLTOOL" >&6; }
8141 else
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8146 if test "x$ac_ct_DLLTOOL" = x; then
8147 DLLTOOL="false"
8148 else
8149 case $cross_compiling:$ac_tool_warned in
8150 yes:)
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8153 ac_tool_warned=yes ;;
8154 esac
8155 DLLTOOL=$ac_ct_DLLTOOL
8157 else
8158 DLLTOOL="$ac_cv_prog_DLLTOOL"
8161 LIBEXT="dll"
8162 DLLEXT=""
8163 enable_iphlpapi=${enable_iphlpapi:-no}
8164 enable_kernel32=${enable_kernel32:-no}
8165 enable_ntdll=${enable_ntdll:-no}
8166 enable_ws2_32=${enable_ws2_32:-no}
8167 enable_loader=${enable_loader:-no}
8168 enable_server=${enable_server:-no}
8169 with_x=${with_x:-no}
8170 with_pthread=${with_pthread:-no}
8173 darwin*|macosx*)
8174 for ac_header in libunwind.h
8175 do :
8176 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_LIBUNWIND_H 1
8180 _ACEOF
8184 done
8186 ac_ext=m
8187 ac_cpp='$OBJCPP $CPPFLAGS'
8188 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8189 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8190 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8192 ac_ext=m
8193 ac_cpp='$OBJCPP $CPPFLAGS'
8194 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8196 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8197 if test -n "$ac_tool_prefix"; then
8198 for ac_prog in gcc objcc objc cc CC
8200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_prog_OBJC+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 if test -n "$OBJC"; then
8208 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8209 else
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 for as_dir in $PATH
8213 IFS=$as_save_IFS
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 break 2
8221 done
8222 done
8223 IFS=$as_save_IFS
8227 OBJC=$ac_cv_prog_OBJC
8228 if test -n "$OBJC"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8230 $as_echo "$OBJC" >&6; }
8231 else
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233 $as_echo "no" >&6; }
8237 test -n "$OBJC" && break
8238 done
8240 if test -z "$OBJC"; then
8241 ac_ct_OBJC=$OBJC
8242 for ac_prog in gcc objcc objc cc CC
8244 # Extract the first word of "$ac_prog", so it can be a program name with args.
8245 set dummy $ac_prog; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$ac_ct_OBJC"; then
8252 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8272 if test -n "$ac_ct_OBJC"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8274 $as_echo "$ac_ct_OBJC" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8281 test -n "$ac_ct_OBJC" && break
8282 done
8284 if test "x$ac_ct_OBJC" = x; then
8285 OBJC="gcc"
8286 else
8287 case $cross_compiling:$ac_tool_warned in
8288 yes:)
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8291 ac_tool_warned=yes ;;
8292 esac
8293 OBJC=$ac_ct_OBJC
8297 # Provide some information about the compiler.
8298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8299 set X $ac_compile
8300 ac_compiler=$2
8301 for ac_option in --version -v -V -qversion; do
8302 { { ac_try="$ac_compiler $ac_option >&5"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8308 $as_echo "$ac_try_echo"; } >&5
8309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8310 ac_status=$?
8311 if test -s conftest.err; then
8312 sed '10a\
8313 ... rest of stderr output deleted ...
8314 10q' conftest.err >conftest.er1
8315 cat conftest.er1 >&5
8317 rm -f conftest.er1 conftest.err
8318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8319 test $ac_status = 0; }
8320 done
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8323 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8324 if ${ac_cv_objc_compiler_gnu+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8331 main ()
8333 #ifndef __GNUC__
8334 choke me
8335 #endif
8338 return 0;
8340 _ACEOF
8341 if ac_fn_objc_try_compile "$LINENO"; then :
8342 ac_compiler_gnu=yes
8343 else
8344 ac_compiler_gnu=no
8346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8347 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8351 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8352 if test $ac_compiler_gnu = yes; then
8353 GOBJC=yes
8354 else
8355 GOBJC=
8357 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8358 ac_save_OBJCFLAGS=$OBJCFLAGS
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8360 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8361 if ${ac_cv_prog_objc_g+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_save_objc_werror_flag=$ac_objc_werror_flag
8365 ac_objc_werror_flag=yes
8366 ac_cv_prog_objc_g=no
8367 OBJCFLAGS="-g"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8372 main ()
8376 return 0;
8378 _ACEOF
8379 if ac_fn_objc_try_compile "$LINENO"; then :
8380 ac_cv_prog_objc_g=yes
8381 else
8382 OBJCFLAGS=""
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8387 main ()
8391 return 0;
8393 _ACEOF
8394 if ac_fn_objc_try_compile "$LINENO"; then :
8396 else
8397 ac_objc_werror_flag=$ac_save_objc_werror_flag
8398 OBJCFLAGS="-g"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8403 main ()
8407 return 0;
8409 _ACEOF
8410 if ac_fn_objc_try_compile "$LINENO"; then :
8411 ac_cv_prog_objc_g=yes
8413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 ac_objc_werror_flag=$ac_save_objc_werror_flag
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8421 $as_echo "$ac_cv_prog_objc_g" >&6; }
8422 if test "$ac_test_OBJCFLAGS" = set; then
8423 OBJCFLAGS=$ac_save_OBJCFLAGS
8424 elif test $ac_cv_prog_objc_g = yes; then
8425 if test "$GOBJC" = yes; then
8426 OBJCFLAGS="-g -O2"
8427 else
8428 OBJCFLAGS="-g"
8430 else
8431 if test "$GOBJC" = yes; then
8432 OBJCFLAGS="-O2"
8433 else
8434 OBJCFLAGS=
8437 ac_ext=m
8438 ac_cpp='$OBJCPP $CPPFLAGS'
8439 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8440 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8441 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8444 ac_ext=m
8445 ac_cpp='$OBJCPP $CPPFLAGS'
8446 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8450 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8451 if test -z "$OBJCPP"; then
8452 if ${ac_cv_prog_OBJCPP+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 # Double quotes because OBJCPP needs to be expanded
8456 for OBJCPP in "$OBJC -E" "/lib/cpp"
8458 ac_preproc_ok=false
8459 for ac_objc_preproc_warn_flag in '' yes
8461 # Use a header file that comes with gcc, so configuring glibc
8462 # with a fresh cross-compiler works.
8463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8464 # <limits.h> exists even on freestanding compilers.
8465 # On the NeXT, cc -E runs the code through the compiler's parser,
8466 # not just through cpp. "Syntax error" is here to catch this case.
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 #ifdef __STDC__
8470 # include <limits.h>
8471 #else
8472 # include <assert.h>
8473 #endif
8474 Syntax error
8475 _ACEOF
8476 if ac_fn_objc_try_cpp "$LINENO"; then :
8478 else
8479 # Broken: fails on valid input.
8480 continue
8482 rm -f conftest.err conftest.i conftest.$ac_ext
8484 # OK, works on sane cases. Now check whether nonexistent headers
8485 # can be detected and how.
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 #include <ac_nonexistent.h>
8489 _ACEOF
8490 if ac_fn_objc_try_cpp "$LINENO"; then :
8491 # Broken: success on invalid input.
8492 continue
8493 else
8494 # Passes both tests.
8495 ac_preproc_ok=:
8496 break
8498 rm -f conftest.err conftest.i conftest.$ac_ext
8500 done
8501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8502 rm -f conftest.i conftest.err conftest.$ac_ext
8503 if $ac_preproc_ok; then :
8504 break
8507 done
8508 ac_cv_prog_OBJCPP=$OBJCPP
8511 OBJCPP=$ac_cv_prog_OBJCPP
8512 else
8513 ac_cv_prog_OBJCPP=$OBJCPP
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8516 $as_echo "$OBJCPP" >&6; }
8517 ac_preproc_ok=false
8518 for ac_objc_preproc_warn_flag in '' yes
8520 # Use a header file that comes with gcc, so configuring glibc
8521 # with a fresh cross-compiler works.
8522 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8523 # <limits.h> exists even on freestanding compilers.
8524 # On the NeXT, cc -E runs the code through the compiler's parser,
8525 # not just through cpp. "Syntax error" is here to catch this case.
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 #ifdef __STDC__
8529 # include <limits.h>
8530 #else
8531 # include <assert.h>
8532 #endif
8533 Syntax error
8534 _ACEOF
8535 if ac_fn_objc_try_cpp "$LINENO"; then :
8537 else
8538 # Broken: fails on valid input.
8539 continue
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 # OK, works on sane cases. Now check whether nonexistent headers
8544 # can be detected and how.
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 #include <ac_nonexistent.h>
8548 _ACEOF
8549 if ac_fn_objc_try_cpp "$LINENO"; then :
8550 # Broken: success on invalid input.
8551 continue
8552 else
8553 # Passes both tests.
8554 ac_preproc_ok=:
8555 break
8557 rm -f conftest.err conftest.i conftest.$ac_ext
8559 done
8560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8561 rm -f conftest.i conftest.err conftest.$ac_ext
8562 if $ac_preproc_ok; then :
8564 else
8565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8567 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8568 See \`config.log' for more details" "$LINENO" 5; }
8571 ac_ext=m
8572 ac_cpp='$OBJCPP $CPPFLAGS'
8573 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8578 for ac_header in Metal/Metal.h
8579 do :
8580 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8581 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8582 cat >>confdefs.h <<_ACEOF
8583 #define HAVE_METAL_METAL_H 1
8584 _ACEOF
8588 done
8590 ac_ext=c
8591 ac_cpp='$CPP $CPPFLAGS'
8592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8596 LIBEXT="dylib"
8597 DLLFLAGS="$DLLFLAGS -fPIC"
8598 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8599 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8600 COREFOUNDATION_LIBS="-framework CoreFoundation"
8602 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8604 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8606 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8608 CORESERVICES_LIBS="-framework CoreServices"
8610 APPKIT_LIBS="-framework AppKit"
8613 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8615 wine_can_build_preloader=yes
8616 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8618 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8619 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 ac_cv_cflags__Wl__no_new_main__e__main=yes
8630 else
8631 ac_cv_cflags__Wl__no_new_main__e__main=no
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8638 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8639 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8640 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8642 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8643 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8644 $as_echo_n "(cached) " >&6
8645 else
8646 ac_wine_try_cflags_saved=$CFLAGS
8647 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8650 int main(int argc, char **argv) { return 0; }
8651 _ACEOF
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8654 else
8655 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8657 rm -f core conftest.err conftest.$ac_objext \
8658 conftest$ac_exeext conftest.$ac_ext
8659 CFLAGS=$ac_wine_try_cflags_saved
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8662 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8663 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8664 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8665 else
8666 { $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
8667 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8668 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 ac_wine_try_cflags_saved=$CFLAGS
8672 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 int main(int argc, char **argv) { return 0; }
8676 _ACEOF
8677 if ac_fn_c_try_link "$LINENO"; then :
8678 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8679 else
8680 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8682 rm -f core conftest.err conftest.$ac_objext \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { $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
8687 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8688 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8689 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8690 else
8691 wine_can_build_preloader=no
8694 else
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8696 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8697 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8708 else
8709 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8716 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8717 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8718 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8719 else
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8721 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8722 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8733 else
8734 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8741 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8742 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8743 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8744 else
8745 wine_can_build_preloader=no
8749 if test "$wine_can_build_preloader" = "yes"
8750 then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8752 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8753 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -Wl,-no_pie"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 int main(int argc, char **argv) { return 0; }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_cflags__Wl__no_pie=yes
8764 else
8765 ac_cv_cflags__Wl__no_pie=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8772 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8773 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8774 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8776 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8777 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8778 else
8779 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8782 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8783 then
8784 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8787 if test "$ac_cv_header_Security_Security_h" = "yes"
8788 then
8789 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8791 ac_save_LIBS="$LIBS"
8792 LIBS="$LIBS $SECURITY_LIBS"
8793 for ac_func in SSLCopyPeerCertificates
8794 do :
8795 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8796 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8797 cat >>confdefs.h <<_ACEOF
8798 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8799 _ACEOF
8802 done
8804 LIBS="$ac_save_LIBS"
8806 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8807 then
8808 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8809 then
8810 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8812 else
8813 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8816 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8817 ac_save_LIBS="$LIBS"
8818 LIBS="$LIBS $COREAUDIO_LIBS"
8819 for ac_func in AUGraphAddNode
8820 do :
8821 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8822 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8823 cat >>confdefs.h <<_ACEOF
8824 #define HAVE_AUGRAPHADDNODE 1
8825 _ACEOF
8828 done
8830 LIBS="$ac_save_LIBS"
8832 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8833 then
8834 OPENAL_LIBS="-framework OpenAL"
8837 cat >>confdefs.h <<_ACEOF
8838 #define HAVE_OPENAL 1
8839 _ACEOF
8841 ac_cv_lib_openal=yes
8843 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8844 then
8845 OPENCL_LIBS="-framework OpenCL"
8847 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8849 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8850 then
8851 ac_save_LIBS="$LIBS"
8852 LIBS="$LIBS $IOKIT_LIBS"
8853 for ac_func in IOHIDManagerCreate
8854 do :
8855 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8856 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8857 cat >>confdefs.h <<_ACEOF
8858 #define HAVE_IOHIDMANAGERCREATE 1
8859 _ACEOF
8862 done
8864 LIBS="$ac_save_LIBS"
8866 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8867 then
8868 ac_save_LIBS="$LIBS"
8869 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8871 $as_echo_n "checking for the QuickTime framework... " >&6; }
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 #include <QuickTime/ImageCompression.h>
8876 main ()
8878 CodecManagerVersion(NULL);
8880 return 0;
8882 _ACEOF
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8885 $as_echo "yes" >&6; }
8886 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8888 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8889 else
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8891 $as_echo "no" >&6; }
8892 ac_cv_header_QuickTime_ImageCompression_h=no
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 LIBS="$ac_save_LIBS"
8898 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8899 then
8900 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8902 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8903 then
8904 CARBON_LIBS="-framework Carbon"
8907 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8908 then
8909 METAL_LIBS="-framework Metal -framework QuartzCore"
8913 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8914 then
8915 ac_save_LIBS="$LIBS"
8916 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8917 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8918 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8919 enable_winemac_drv=${enable_winemac_drv:-yes}
8922 LIBS="$ac_save_LIBS"
8925 if test "x$enable_win16" = "xyes"
8926 then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8928 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8929 if test "$cross_compiling" = yes; then :
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8931 $as_echo "cross-compiling, assuming yes" >&6; }
8932 else
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8935 asm(".text\n"
8936 "bad:\tnop;nop\n"
8937 "good:\tnop;nop\n\t"
8938 ".globl _testfunc\n"
8939 "_testfunc:\tcallw good");
8940 extern void testfunc();
8942 main ()
8944 unsigned short *p = (unsigned short *)testfunc;
8945 return p[0] != 0xe866 || p[1] != 0xfffa
8947 return 0;
8949 _ACEOF
8950 if ac_fn_c_try_run "$LINENO"; then :
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8952 $as_echo "yes" >&6; }
8953 else
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955 $as_echo "no" >&6; }
8956 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
8958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8959 conftest.$ac_objext conftest.beam conftest.$ac_ext
8964 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8966 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8968 WINELOADER_DEPENDS="wine_info.plist"
8970 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8971 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8974 linux-android*)
8975 DLLFLAGS="$DLLFLAGS -fPIC"
8976 LDEXECFLAGS="-Wl,-pie"
8977 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8979 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8980 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_wine_try_cflags_saved=$CFLAGS
8984 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8987 int main(int argc, char **argv) { return 0; }
8988 _ACEOF
8989 if ac_fn_c_try_link "$LINENO"; then :
8990 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8991 else
8992 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8994 rm -f core conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 CFLAGS=$ac_wine_try_cflags_saved
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8999 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9000 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9001 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9003 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9004 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9006 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9007 if eval \${$as_ac_var+:} false; then :
9008 $as_echo_n "(cached) " >&6
9009 else
9010 ac_wine_try_cflags_saved=$CFLAGS
9011 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9014 int main(int argc, char **argv) { return 0; }
9015 _ACEOF
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 eval "$as_ac_var=yes"
9018 else
9019 eval "$as_ac_var=no"
9021 rm -f core conftest.err conftest.$ac_objext \
9022 conftest$ac_exeext conftest.$ac_ext
9023 CFLAGS=$ac_wine_try_cflags_saved
9025 eval ac_res=\$$as_ac_var
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9027 $as_echo "$ac_res" >&6; }
9028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9029 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9030 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9031 else
9032 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9034 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9035 if eval \${$as_ac_var+:} false; then :
9036 $as_echo_n "(cached) " >&6
9037 else
9038 ac_wine_try_cflags_saved=$CFLAGS
9039 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 int main(int argc, char **argv) { return 0; }
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 eval "$as_ac_var=yes"
9046 else
9047 eval "$as_ac_var=no"
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 CFLAGS=$ac_wine_try_cflags_saved
9053 eval ac_res=\$$as_ac_var
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9055 $as_echo "$ac_res" >&6; }
9056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9057 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9058 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9062 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9063 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9064 $as_echo_n "(cached) " >&6
9065 else
9066 ac_wine_try_cflags_saved=$CFLAGS
9067 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9070 int main(int argc, char **argv) { return 0; }
9071 _ACEOF
9072 if ac_fn_c_try_link "$LINENO"; then :
9073 ac_cv_cflags__Wl___enable_new_dtags=yes
9074 else
9075 ac_cv_cflags__Wl___enable_new_dtags=no
9077 rm -f core conftest.err conftest.$ac_objext \
9078 conftest$ac_exeext conftest.$ac_ext
9079 CFLAGS=$ac_wine_try_cflags_saved
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9082 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9083 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9084 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9087 LIBWINE_SHAREDLIB="libwine.so"
9089 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9091 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9094 $as_echo_n "checking for -lEGL... " >&6; }
9095 if ${ac_cv_lib_soname_EGL+:} false; then :
9096 $as_echo_n "(cached) " >&6
9097 else
9098 ac_check_soname_save_LIBS=$LIBS
9099 LIBS="-lEGL $LIBS"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9106 #ifdef __cplusplus
9107 extern "C"
9108 #endif
9109 char eglGetProcAddress ();
9111 main ()
9113 return eglGetProcAddress ();
9115 return 0;
9117 _ACEOF
9118 if ac_fn_c_try_link "$LINENO"; then :
9119 case "$LIBEXT" in
9120 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9121 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'` ;;
9122 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9123 if ${ac_cv_lib_soname_EGL:+false} :; then :
9124 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9125 fi ;;
9126 esac
9128 rm -f core conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 LIBS=$ac_check_soname_save_LIBS
9132 if ${ac_cv_lib_soname_EGL:+false} :; then :
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9134 $as_echo "not found" >&6; }
9136 else
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9138 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9140 cat >>confdefs.h <<_ACEOF
9141 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9142 _ACEOF
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9147 $as_echo_n "checking for -lGLESv2... " >&6; }
9148 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_check_soname_save_LIBS=$LIBS
9152 LIBS="-lGLESv2 $LIBS"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9156 /* Override any GCC internal prototype to avoid an error.
9157 Use char because int might match the return type of a GCC
9158 builtin and then its argument prototype would still apply. */
9159 #ifdef __cplusplus
9160 extern "C"
9161 #endif
9162 char glFlush ();
9164 main ()
9166 return glFlush ();
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 case "$LIBEXT" in
9173 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9174 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'` ;;
9175 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9176 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9177 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9178 fi ;;
9179 esac
9181 rm -f core conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_soname_save_LIBS
9185 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9187 $as_echo "not found" >&6; }
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9191 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9193 cat >>confdefs.h <<_ACEOF
9194 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9195 _ACEOF
9200 if test "x$exec_prefix" = xNONE
9201 then
9202 case $host_cpu in
9203 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9204 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9205 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9206 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9207 esac
9212 DLLFLAGS="$DLLFLAGS -fPIC"
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9214 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9215 if ${ac_cv_c_dll_gnuelf+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_wine_try_cflags_saved=$CFLAGS
9219 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9222 void myfunc() {}
9223 _ACEOF
9224 if ac_fn_c_try_link "$LINENO"; then :
9225 ac_cv_c_dll_gnuelf="yes"
9226 else
9227 ac_cv_c_dll_gnuelf="no"
9229 rm -f core conftest.err conftest.$ac_objext \
9230 conftest$ac_exeext conftest.$ac_ext
9231 CFLAGS=$ac_wine_try_cflags_saved
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9234 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9235 if test "$ac_cv_c_dll_gnuelf" = "yes"
9236 then
9237 LIBWINE_LDFLAGS="-shared"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9239 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9240 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 ac_wine_try_cflags_saved=$CFLAGS
9244 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9247 int main(int argc, char **argv) { return 0; }
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9251 else
9252 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 CFLAGS=$ac_wine_try_cflags_saved
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9259 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9260 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9261 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9262 else
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9264 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9265 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_wine_try_cflags_saved=$CFLAGS
9269 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9272 int main(int argc, char **argv) { return 0; }
9273 _ACEOF
9274 if ac_fn_c_try_link "$LINENO"; then :
9275 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9276 else
9277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 CFLAGS=$ac_wine_try_cflags_saved
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9284 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9285 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9286 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9290 echo '{ global: *; };' >conftest.map
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9292 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9293 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_wine_try_cflags_saved=$CFLAGS
9297 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9300 int main(int argc, char **argv) { return 0; }
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9304 else
9305 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 CFLAGS=$ac_wine_try_cflags_saved
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9312 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9313 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9314 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9316 rm -f conftest.map
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9320 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_wine_try_cflags_saved=$CFLAGS
9324 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9327 int main(int argc, char **argv) { return 0; }
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9331 else
9332 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 CFLAGS=$ac_wine_try_cflags_saved
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9339 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9340 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9341 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9343 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9345 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9347 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9348 if eval \${$as_ac_var+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 int main(int argc, char **argv) { return 0; }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 eval "$as_ac_var=yes"
9359 else
9360 eval "$as_ac_var=no"
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 eval ac_res=\$$as_ac_var
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9368 $as_echo "$ac_res" >&6; }
9369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9370 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9371 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9372 else
9373 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9375 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9376 if eval \${$as_ac_var+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 eval "$as_ac_var=yes"
9387 else
9388 eval "$as_ac_var=no"
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 eval ac_res=\$$as_ac_var
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9396 $as_echo "$ac_res" >&6; }
9397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9398 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9399 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9404 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9405 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_wine_try_cflags_saved=$CFLAGS
9409 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 int main(int argc, char **argv) { return 0; }
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_cflags__Wl___enable_new_dtags=yes
9416 else
9417 ac_cv_cflags__Wl___enable_new_dtags=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9424 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9425 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9426 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9429 case $host_cpu in
9430 *i[3456789]86* | x86_64 | *aarch64*)
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9432 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9433 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_wine_try_cflags_saved=$CFLAGS
9437 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int main(int argc, char **argv) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9444 else
9445 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 CFLAGS=$ac_wine_try_cflags_saved
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9452 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9453 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9454 case $host_os in
9455 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9456 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9457 esac
9458 else
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9460 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9461 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_wine_try_cflags_saved=$CFLAGS
9465 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 int main(int argc, char **argv) { return 0; }
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9472 else
9473 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 CFLAGS=$ac_wine_try_cflags_saved
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9480 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9481 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9482 case $host_os in
9483 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9484 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9485 esac
9487 # Extract the first word of "prelink", so it can be a program name with args.
9488 set dummy prelink; ac_word=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if ${ac_cv_path_PRELINK+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 case $PRELINK in
9495 [\\/]* | ?:[\\/]*)
9496 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500 for as_dir in /sbin /usr/sbin $PATH
9502 IFS=$as_save_IFS
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508 break 2
9510 done
9511 done
9512 IFS=$as_save_IFS
9514 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9516 esac
9518 PRELINK=$ac_cv_path_PRELINK
9519 if test -n "$PRELINK"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9521 $as_echo "$PRELINK" >&6; }
9522 else
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9524 $as_echo "no" >&6; }
9528 if test "x$PRELINK" = xfalse
9529 then
9530 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9534 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9535 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9546 else
9547 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 CFLAGS=$ac_wine_try_cflags_saved
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9554 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9555 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9556 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9559 esac
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9563 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9564 if ${ac_cv_c_dll_unixware+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 void myfunc() {}
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_c_dll_unixware="yes"
9575 else
9576 ac_cv_c_dll_unixware="no"
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9583 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9584 if test "$ac_cv_c_dll_unixware" = "yes"
9585 then
9586 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9589 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9591 LIBWINE_DEPENDS="wine.map"
9593 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9594 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9596 esac
9598 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9599 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9600 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9601 enable_winemac_drv=${enable_winemac_drv:-no}
9602 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9604 CROSSTARGET=""
9606 if test "x$with_mingw" != xno
9607 then
9608 case "x$with_mingw" in
9609 x|xyes) case "$host_cpu" in
9610 aarch64*)
9611 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9612 arm*)
9613 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9614 i[3456789]86*)
9615 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
9616 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9617 mingw32-gcc" ;;
9618 x86_64)
9619 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
9620 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9622 ac_prefix_list="" ;;
9623 esac
9624 for ac_prog in $ac_prefix_list
9626 # Extract the first word of "$ac_prog", so it can be a program name with args.
9627 set dummy $ac_prog; ac_word=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 $as_echo_n "checking for $ac_word... " >&6; }
9630 if ${ac_cv_prog_CROSSCC+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 if test -n "$CROSSCC"; then
9634 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9639 IFS=$as_save_IFS
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_CROSSCC="$ac_prog"
9644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645 break 2
9647 done
9648 done
9649 IFS=$as_save_IFS
9653 CROSSCC=$ac_cv_prog_CROSSCC
9654 if test -n "$CROSSCC"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9656 $as_echo "$CROSSCC" >&6; }
9657 else
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 $as_echo "no" >&6; }
9663 test -n "$CROSSCC" && break
9664 done
9665 test -n "$CROSSCC" || CROSSCC="false"
9667 *) CROSSCC=$with_mingw ;;
9668 esac
9669 if test "$CROSSCC" != "false"
9670 then
9671 ac_save_CC="$CC"
9672 CC="$CROSSCC"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9674 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_compile "$LINENO"; then :
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9688 $as_echo "yes" >&6; }
9689 set x $CROSSCC
9690 shift
9691 while test $# -ge 1
9693 case "$1" in
9694 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9695 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9696 esac
9697 shift
9698 done
9699 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9704 CC="$ac_save_CC"
9705 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9707 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9710 saved_CFLAGS=$CFLAGS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9712 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9713 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 ac_wine_try_cflags_saved=$CFLAGS
9717 ac_wine_try_cflags_saved_cc=$CC
9718 ac_wine_try_cflags_saved_exeext=$ac_exeext
9719 CFLAGS="$CFLAGS -fno-strict-aliasing"
9720 CC="$CROSSCC"
9721 ac_exeext=".exe"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9724 int main(int argc, char **argv) { return 0; }
9725 _ACEOF
9726 if ac_fn_c_try_link "$LINENO"; then :
9727 ac_cv_cflags__fno_strict_aliasing=yes
9728 else
9729 ac_cv_cflags__fno_strict_aliasing=no
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 CFLAGS=$ac_wine_try_cflags_saved
9734 CC=$ac_wine_try_cflags_saved_cc
9735 ac_exeext=$ac_wine_try_cflags_saved_exeext
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
9738 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
9739 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
9740 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9743 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9744 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_wine_try_cflags_saved=$CFLAGS
9748 ac_wine_try_cflags_saved_cc=$CC
9749 ac_wine_try_cflags_saved_exeext=$ac_exeext
9750 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9751 CC="$CROSSCC"
9752 ac_exeext=".exe"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9755 int main(int argc, char **argv) { return 0; }
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 ac_cv_cflags__Werror_unknown_warning_option=yes
9759 else
9760 ac_cv_cflags__Werror_unknown_warning_option=no
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 CFLAGS=$ac_wine_try_cflags_saved
9765 CC=$ac_wine_try_cflags_saved_cc
9766 ac_exeext=$ac_wine_try_cflags_saved_exeext
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
9769 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
9770 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
9771 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror=unknown-warning-option"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9774 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9775 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_wine_try_cflags_saved=$CFLAGS
9779 ac_wine_try_cflags_saved_cc=$CC
9780 ac_wine_try_cflags_saved_exeext=$ac_exeext
9781 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9782 CC="$CROSSCC"
9783 ac_exeext=".exe"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9786 int main(int argc, char **argv) { return 0; }
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_cflags__Wdeclaration_after_statement=yes
9790 else
9791 ac_cv_cflags__Wdeclaration_after_statement=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 CFLAGS=$ac_wine_try_cflags_saved
9796 CC=$ac_wine_try_cflags_saved_cc
9797 ac_exeext=$ac_wine_try_cflags_saved_exeext
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
9800 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
9801 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
9802 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9806 if ${ac_cv_cflags__Wempty_body+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS -Wempty-body"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int main(int argc, char **argv) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_cflags__Wempty_body=yes
9821 else
9822 ac_cv_cflags__Wempty_body=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
9831 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
9832 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
9833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9837 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS -Wignored-qualifiers"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int main(int argc, char **argv) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_cflags__Wignored_qualifiers=yes
9852 else
9853 ac_cv_cflags__Wignored_qualifiers=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
9862 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
9863 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
9864 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9868 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int main(int argc, char **argv) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_cflags__Wpacked_not_aligned=yes
9883 else
9884 ac_cv_cflags__Wpacked_not_aligned=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
9893 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
9894 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
9895 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9899 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS -Wpragma-pack"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int main(int argc, char **argv) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_cflags__Wpragma_pack=yes
9914 else
9915 ac_cv_cflags__Wpragma_pack=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
9924 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
9925 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9930 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS -Wshift-overflow=2"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int main(int argc, char **argv) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_cflags__Wshift_overflow_2=yes
9945 else
9946 ac_cv_cflags__Wshift_overflow_2=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
9955 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
9956 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
9961 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS -Wstrict-prototypes"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_cflags__Wstrict_prototypes=yes
9976 else
9977 ac_cv_cflags__Wstrict_prototypes=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
9986 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
9987 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
9992 if ${ac_cv_cflags__Wtype_limits+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS -Wtype-limits"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int main(int argc, char **argv) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_cflags__Wtype_limits=yes
10007 else
10008 ac_cv_cflags__Wtype_limits=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
10017 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
10018 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10023 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int main(int argc, char **argv) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_cflags__Wunused_but_set_parameter=yes
10038 else
10039 ac_cv_cflags__Wunused_but_set_parameter=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
10048 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
10049 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10054 if ${ac_cv_cflags__Wvla+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS -Wvla"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int main(int argc, char **argv) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_cflags__Wvla=yes
10069 else
10070 ac_cv_cflags__Wvla=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
10079 $as_echo "$ac_cv_cflags__Wvla" >&6; }
10080 if test "x$ac_cv_cflags__Wvla" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10085 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS -Wwrite-strings"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int main(int argc, char **argv) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_cflags__Wwrite_strings=yes
10100 else
10101 ac_cv_cflags__Wwrite_strings=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
10110 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
10111 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10116 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS -Wpointer-arith"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int main(int argc, char **argv) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_cflags__Wpointer_arith=yes
10131 else
10132 ac_cv_cflags__Wpointer_arith=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
10141 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
10142 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10147 if ${ac_cv_cflags__Wlogical_op+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS -Wlogical-op"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int main(int argc, char **argv) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_cflags__Wlogical_op=yes
10162 else
10163 ac_cv_cflags__Wlogical_op=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
10172 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
10173 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10177 case $host_cpu in
10178 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10180 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int main(int argc, char **argv) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_cflags__fno_omit_frame_pointer=yes
10195 else
10196 ac_cv_cflags__fno_omit_frame_pointer=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
10205 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
10206 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10208 fi ;;
10209 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10211 if ${ac_cv_cflags__Wno_format+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS -Wno-format"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int main(int argc, char **argv) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_cflags__Wno_format=yes
10226 else
10227 ac_cv_cflags__Wno_format=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
10236 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
10237 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10239 fi ;;
10240 esac
10242 CFLAGS=$saved_CFLAGS
10244 for ac_flag in $CFLAGS; do
10245 case $ac_flag in
10246 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10247 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10248 if ${ac_cv_cflags__gdwarf_2+:} false; then :
10249 $as_echo_n "(cached) " >&6
10250 else
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 ac_wine_try_cflags_saved_cc=$CC
10253 ac_wine_try_cflags_saved_exeext=$ac_exeext
10254 CFLAGS="$CFLAGS -gdwarf-2"
10255 CC="$CROSSCC"
10256 ac_exeext=".exe"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 int main(int argc, char **argv) { return 0; }
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_cflags__gdwarf_2=yes
10263 else
10264 ac_cv_cflags__gdwarf_2=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10269 CC=$ac_wine_try_cflags_saved_cc
10270 ac_exeext=$ac_wine_try_cflags_saved_exeext
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
10273 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
10274 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
10275 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10278 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10279 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
10280 $as_echo_n "(cached) " >&6
10281 else
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 ac_wine_try_cflags_saved_cc=$CC
10284 ac_wine_try_cflags_saved_exeext=$ac_exeext
10285 CFLAGS="$CFLAGS -gstrict-dwarf"
10286 CC="$CROSSCC"
10287 ac_exeext=".exe"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 int main(int argc, char **argv) { return 0; }
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_cflags__gstrict_dwarf=yes
10294 else
10295 ac_cv_cflags__gstrict_dwarf=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10300 CC=$ac_wine_try_cflags_saved_cc
10301 ac_exeext=$ac_wine_try_cflags_saved_exeext
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
10304 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
10305 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
10306 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10307 fi ;;
10308 esac
10309 done
10311 test "x$enable_maintainer_mode" != "xyes" || { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10312 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10313 if ${ac_cv_cflags__Werror+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 ac_wine_try_cflags_saved=$CFLAGS
10317 ac_wine_try_cflags_saved_cc=$CC
10318 ac_wine_try_cflags_saved_exeext=$ac_exeext
10319 CFLAGS="$CFLAGS -Werror"
10320 CC="$CROSSCC"
10321 ac_exeext=".exe"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 int main(int argc, char **argv) { return 0; }
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_cflags__Werror=yes
10328 else
10329 ac_cv_cflags__Werror=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 CFLAGS=$ac_wine_try_cflags_saved
10334 CC=$ac_wine_try_cflags_saved_cc
10335 ac_exeext=$ac_wine_try_cflags_saved_exeext
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
10338 $as_echo "$ac_cv_cflags__Werror" >&6; }
10339 if test "x$ac_cv_cflags__Werror" = xyes; then :
10340 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10344 if test "x$CROSSTARGET" = "x"; then :
10345 case "x$with_mingw" in
10346 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10347 xno) ;;
10348 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10349 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10350 esac
10355 if test "$ac_cv_header_pthread_h" = "yes"
10356 then
10357 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10358 if test "x$ac_cv_func_pthread_create" = xyes; then :
10360 else
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10362 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10363 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10364 $as_echo_n "(cached) " >&6
10365 else
10366 ac_check_lib_save_LIBS=$LIBS
10367 LIBS="-lpthread $LIBS"
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10374 #ifdef __cplusplus
10375 extern "C"
10376 #endif
10377 char pthread_create ();
10379 main ()
10381 return pthread_create ();
10383 return 0;
10385 _ACEOF
10386 if ac_fn_c_try_link "$LINENO"; then :
10387 ac_cv_lib_pthread_pthread_create=yes
10388 else
10389 ac_cv_lib_pthread_pthread_create=no
10391 rm -f core conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393 LIBS=$ac_check_lib_save_LIBS
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10396 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10397 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10398 PTHREAD_LIBS="-lpthread"
10405 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10406 case "x$with_pthread" in
10407 xno) ;;
10408 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10409 Wine cannot support threads without libpthread.
10410 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10411 esac
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10417 $as_echo_n "checking for X... " >&6; }
10420 # Check whether --with-x was given.
10421 if test "${with_x+set}" = set; then :
10422 withval=$with_x;
10425 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10426 if test "x$with_x" = xno; then
10427 # The user explicitly disabled X.
10428 have_x=disabled
10429 else
10430 case $x_includes,$x_libraries in #(
10431 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10432 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 # One or both of the vars are not set, and there is no cached value.
10436 ac_x_includes=no ac_x_libraries=no
10437 rm -f -r conftest.dir
10438 if mkdir conftest.dir; then
10439 cd conftest.dir
10440 cat >Imakefile <<'_ACEOF'
10441 incroot:
10442 @echo incroot='${INCROOT}'
10443 usrlibdir:
10444 @echo usrlibdir='${USRLIBDIR}'
10445 libdir:
10446 @echo libdir='${LIBDIR}'
10447 _ACEOF
10448 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10449 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10450 for ac_var in incroot usrlibdir libdir; do
10451 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10452 done
10453 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10454 for ac_extension in a so sl dylib la dll; do
10455 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10456 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10457 ac_im_usrlibdir=$ac_im_libdir; break
10459 done
10460 # Screen out bogus values from the imake configuration. They are
10461 # bogus both because they are the default anyway, and because
10462 # using them would break gcc on systems where it needs fixed includes.
10463 case $ac_im_incroot in
10464 /usr/include) ac_x_includes= ;;
10465 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10466 esac
10467 case $ac_im_usrlibdir in
10468 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10469 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10470 esac
10472 cd ..
10473 rm -f -r conftest.dir
10476 # Standard set of common directories for X headers.
10477 # Check X11 before X11Rn because it is often a symlink to the current release.
10478 ac_x_header_dirs='
10479 /usr/X11/include
10480 /usr/X11R7/include
10481 /usr/X11R6/include
10482 /usr/X11R5/include
10483 /usr/X11R4/include
10485 /usr/include/X11
10486 /usr/include/X11R7
10487 /usr/include/X11R6
10488 /usr/include/X11R5
10489 /usr/include/X11R4
10491 /usr/local/X11/include
10492 /usr/local/X11R7/include
10493 /usr/local/X11R6/include
10494 /usr/local/X11R5/include
10495 /usr/local/X11R4/include
10497 /usr/local/include/X11
10498 /usr/local/include/X11R7
10499 /usr/local/include/X11R6
10500 /usr/local/include/X11R5
10501 /usr/local/include/X11R4
10503 /usr/X386/include
10504 /usr/x386/include
10505 /usr/XFree86/include/X11
10507 /usr/include
10508 /usr/local/include
10509 /usr/unsupported/include
10510 /usr/athena/include
10511 /usr/local/x11r5/include
10512 /usr/lpp/Xamples/include
10514 /usr/openwin/include
10515 /usr/openwin/share/include'
10517 if test "$ac_x_includes" = no; then
10518 # Guess where to find include files, by looking for Xlib.h.
10519 # First, try using that file with no special directory specified.
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10522 #include <X11/Xlib.h>
10523 _ACEOF
10524 if ac_fn_c_try_cpp "$LINENO"; then :
10525 # We can compile using X headers with no special include directory.
10526 ac_x_includes=
10527 else
10528 for ac_dir in $ac_x_header_dirs; do
10529 if test -r "$ac_dir/X11/Xlib.h"; then
10530 ac_x_includes=$ac_dir
10531 break
10533 done
10535 rm -f conftest.err conftest.i conftest.$ac_ext
10536 fi # $ac_x_includes = no
10538 if test "$ac_x_libraries" = no; then
10539 # Check for the libraries.
10540 # See if we find them without any special options.
10541 # Don't add to $LIBS permanently.
10542 ac_save_LIBS=$LIBS
10543 LIBS="-lX11 $LIBS"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 #include <X11/Xlib.h>
10548 main ()
10550 XrmInitialize ()
10552 return 0;
10554 _ACEOF
10555 if ac_fn_c_try_link "$LINENO"; then :
10556 LIBS=$ac_save_LIBS
10557 # We can link X programs with no special library path.
10558 ac_x_libraries=
10559 else
10560 LIBS=$ac_save_LIBS
10561 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10563 # Don't even attempt the hair of trying to link an X program!
10564 for ac_extension in a so sl dylib la dll; do
10565 if test -r "$ac_dir/libX11.$ac_extension"; then
10566 ac_x_libraries=$ac_dir
10567 break 2
10569 done
10570 done
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 fi # $ac_x_libraries = no
10576 case $ac_x_includes,$ac_x_libraries in #(
10577 no,* | *,no | *\'*)
10578 # Didn't find X, or a directory has "'" in its name.
10579 ac_cv_have_x="have_x=no";; #(
10581 # Record where we found X for the cache.
10582 ac_cv_have_x="have_x=yes\
10583 ac_x_includes='$ac_x_includes'\
10584 ac_x_libraries='$ac_x_libraries'"
10585 esac
10587 ;; #(
10588 *) have_x=yes;;
10589 esac
10590 eval "$ac_cv_have_x"
10591 fi # $with_x != no
10593 if test "$have_x" != yes; then
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10595 $as_echo "$have_x" >&6; }
10596 no_x=yes
10597 else
10598 # If each of the values was on the command line, it overrides each guess.
10599 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10600 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10601 # Update the cache value to reflect the command line values.
10602 ac_cv_have_x="have_x=yes\
10603 ac_x_includes='$x_includes'\
10604 ac_x_libraries='$x_libraries'"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10606 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10609 if test "$no_x" = yes; then
10610 # Not all programs may use this symbol, but it does not hurt to define it.
10612 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10614 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10615 else
10616 if test -n "$x_includes"; then
10617 X_CFLAGS="$X_CFLAGS -I$x_includes"
10620 # It would also be nice to do this for all -L options, not just this one.
10621 if test -n "$x_libraries"; then
10622 X_LIBS="$X_LIBS -L$x_libraries"
10623 # For Solaris; some versions of Sun CC require a space after -R and
10624 # others require no space. Words are not sufficient . . . .
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10626 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10627 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10628 ac_xsave_c_werror_flag=$ac_c_werror_flag
10629 ac_c_werror_flag=yes
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10634 main ()
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10643 $as_echo "no" >&6; }
10644 X_LIBS="$X_LIBS -R$x_libraries"
10645 else
10646 LIBS="$ac_xsave_LIBS -R $x_libraries"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10651 main ()
10655 return 0;
10657 _ACEOF
10658 if ac_fn_c_try_link "$LINENO"; then :
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10660 $as_echo "yes" >&6; }
10661 X_LIBS="$X_LIBS -R $x_libraries"
10662 else
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10664 $as_echo "neither works" >&6; }
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 ac_c_werror_flag=$ac_xsave_c_werror_flag
10672 LIBS=$ac_xsave_LIBS
10675 # Check for system-dependent libraries X programs must link with.
10676 # Do this before checking for the system-independent R6 libraries
10677 # (-lICE), since we may need -lsocket or whatever for X linking.
10679 if test "$ISC" = yes; then
10680 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10681 else
10682 # Martyn Johnson says this is needed for Ultrix, if the X
10683 # libraries were built with DECnet support. And Karl Berry says
10684 # the Alpha needs dnet_stub (dnet does not exist).
10685 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10692 #ifdef __cplusplus
10693 extern "C"
10694 #endif
10695 char XOpenDisplay ();
10697 main ()
10699 return XOpenDisplay ();
10701 return 0;
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10706 else
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10708 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10709 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10710 $as_echo_n "(cached) " >&6
10711 else
10712 ac_check_lib_save_LIBS=$LIBS
10713 LIBS="-ldnet $LIBS"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10720 #ifdef __cplusplus
10721 extern "C"
10722 #endif
10723 char dnet_ntoa ();
10725 main ()
10727 return dnet_ntoa ();
10729 return 0;
10731 _ACEOF
10732 if ac_fn_c_try_link "$LINENO"; then :
10733 ac_cv_lib_dnet_dnet_ntoa=yes
10734 else
10735 ac_cv_lib_dnet_dnet_ntoa=no
10737 rm -f core conftest.err conftest.$ac_objext \
10738 conftest$ac_exeext conftest.$ac_ext
10739 LIBS=$ac_check_lib_save_LIBS
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10742 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10743 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10744 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10747 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10749 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10750 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10751 $as_echo_n "(cached) " >&6
10752 else
10753 ac_check_lib_save_LIBS=$LIBS
10754 LIBS="-ldnet_stub $LIBS"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10758 /* Override any GCC internal prototype to avoid an error.
10759 Use char because int might match the return type of a GCC
10760 builtin and then its argument prototype would still apply. */
10761 #ifdef __cplusplus
10762 extern "C"
10763 #endif
10764 char dnet_ntoa ();
10766 main ()
10768 return dnet_ntoa ();
10770 return 0;
10772 _ACEOF
10773 if ac_fn_c_try_link "$LINENO"; then :
10774 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10775 else
10776 ac_cv_lib_dnet_stub_dnet_ntoa=no
10778 rm -f core conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10783 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10784 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10785 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10790 rm -f core conftest.err conftest.$ac_objext \
10791 conftest$ac_exeext conftest.$ac_ext
10792 LIBS="$ac_xsave_LIBS"
10794 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10795 # to get the SysV transport functions.
10796 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10797 # needs -lnsl.
10798 # The nsl library prevents programs from opening the X display
10799 # on Irix 5.2, according to T.E. Dickey.
10800 # The functions gethostbyname, getservbyname, and inet_addr are
10801 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10802 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10803 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10807 if test $ac_cv_func_gethostbyname = no; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10809 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10810 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10811 $as_echo_n "(cached) " >&6
10812 else
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-lnsl $LIBS"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 char gethostbyname ();
10826 main ()
10828 return gethostbyname ();
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 ac_cv_lib_nsl_gethostbyname=yes
10835 else
10836 ac_cv_lib_nsl_gethostbyname=no
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10843 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10844 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10845 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10848 if test $ac_cv_lib_nsl_gethostbyname = no; then
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10850 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10851 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-lbsd $LIBS"
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10862 #ifdef __cplusplus
10863 extern "C"
10864 #endif
10865 char gethostbyname ();
10867 main ()
10869 return gethostbyname ();
10871 return 0;
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"; then :
10875 ac_cv_lib_bsd_gethostbyname=yes
10876 else
10877 ac_cv_lib_bsd_gethostbyname=no
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LIBS=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10884 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10885 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10886 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10892 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10893 # socket/setsockopt and other routines are undefined under SCO ODT
10894 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10895 # on later versions), says Simon Leinen: it contains gethostby*
10896 # variants that don't use the name server (or something). -lsocket
10897 # must be given before -lnsl if both are needed. We assume that
10898 # if connect needs -lnsl, so does gethostbyname.
10899 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10900 if test "x$ac_cv_func_connect" = xyes; then :
10904 if test $ac_cv_func_connect = no; then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10906 $as_echo_n "checking for connect in -lsocket... " >&6; }
10907 if ${ac_cv_lib_socket_connect+:} false; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char connect ();
10923 main ()
10925 return connect ();
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 ac_cv_lib_socket_connect=yes
10932 else
10933 ac_cv_lib_socket_connect=no
10935 rm -f core conftest.err conftest.$ac_objext \
10936 conftest$ac_exeext conftest.$ac_ext
10937 LIBS=$ac_check_lib_save_LIBS
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10940 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10941 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10942 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10947 # Guillermo Gomez says -lposix is necessary on A/UX.
10948 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10949 if test "x$ac_cv_func_remove" = xyes; then :
10953 if test $ac_cv_func_remove = no; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10955 $as_echo_n "checking for remove in -lposix... " >&6; }
10956 if ${ac_cv_lib_posix_remove+:} false; then :
10957 $as_echo_n "(cached) " >&6
10958 else
10959 ac_check_lib_save_LIBS=$LIBS
10960 LIBS="-lposix $LIBS"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10967 #ifdef __cplusplus
10968 extern "C"
10969 #endif
10970 char remove ();
10972 main ()
10974 return remove ();
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10980 ac_cv_lib_posix_remove=yes
10981 else
10982 ac_cv_lib_posix_remove=no
10984 rm -f core conftest.err conftest.$ac_objext \
10985 conftest$ac_exeext conftest.$ac_ext
10986 LIBS=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10989 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10990 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10991 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10996 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10997 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10998 if test "x$ac_cv_func_shmat" = xyes; then :
11002 if test $ac_cv_func_shmat = no; then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11004 $as_echo_n "checking for shmat in -lipc... " >&6; }
11005 if ${ac_cv_lib_ipc_shmat+:} false; then :
11006 $as_echo_n "(cached) " >&6
11007 else
11008 ac_check_lib_save_LIBS=$LIBS
11009 LIBS="-lipc $LIBS"
11010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11016 #ifdef __cplusplus
11017 extern "C"
11018 #endif
11019 char shmat ();
11021 main ()
11023 return shmat ();
11025 return 0;
11027 _ACEOF
11028 if ac_fn_c_try_link "$LINENO"; then :
11029 ac_cv_lib_ipc_shmat=yes
11030 else
11031 ac_cv_lib_ipc_shmat=no
11033 rm -f core conftest.err conftest.$ac_objext \
11034 conftest$ac_exeext conftest.$ac_ext
11035 LIBS=$ac_check_lib_save_LIBS
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11038 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11039 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11046 # Check for libraries that X11R6 Xt/Xaw programs need.
11047 ac_save_LDFLAGS=$LDFLAGS
11048 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11049 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11050 # check for ICE first), but we must link in the order -lSM -lICE or
11051 # we get undefined symbols. So assume we have SM if we have ICE.
11052 # These have to be linked with before -lX11, unlike the other
11053 # libraries we check for below, so use a different variable.
11054 # John Interrante, Karl Berry
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11056 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11057 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char IceConnectionNumber ();
11073 main ()
11075 return IceConnectionNumber ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_ICE_IceConnectionNumber=yes
11082 else
11083 ac_cv_lib_ICE_IceConnectionNumber=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11090 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11091 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11092 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11095 LDFLAGS=$ac_save_LDFLAGS
11100 if test "$have_x" = "yes"
11101 then
11102 ac_save_CPPFLAGS="$CPPFLAGS"
11103 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11106 $as_echo_n "checking for -lX11... " >&6; }
11107 if ${ac_cv_lib_soname_X11+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_soname_save_LIBS=$LIBS
11111 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char XCreateWindow ();
11123 main ()
11125 return XCreateWindow ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 case "$LIBEXT" in
11132 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11133 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'` ;;
11134 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11135 if ${ac_cv_lib_soname_X11:+false} :; then :
11136 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11137 fi ;;
11138 esac
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_soname_save_LIBS
11144 if ${ac_cv_lib_soname_X11:+false} :; then :
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11146 $as_echo "not found" >&6; }
11148 else
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11150 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11152 cat >>confdefs.h <<_ACEOF
11153 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11154 _ACEOF
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11159 $as_echo_n "checking for -lXext... " >&6; }
11160 if ${ac_cv_lib_soname_Xext+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_soname_save_LIBS=$LIBS
11164 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char XextCreateExtension ();
11176 main ()
11178 return XextCreateExtension ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 case "$LIBEXT" in
11185 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11186 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'` ;;
11187 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11188 if ${ac_cv_lib_soname_Xext:+false} :; then :
11189 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11190 fi ;;
11191 esac
11193 rm -f core conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11195 LIBS=$ac_check_soname_save_LIBS
11197 if ${ac_cv_lib_soname_Xext:+false} :; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11199 $as_echo "not found" >&6; }
11201 else
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11203 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11205 cat >>confdefs.h <<_ACEOF
11206 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11207 _ACEOF
11209 X_LIBS="$X_LIBS -lXext"
11211 X_LIBS="$X_LIBS -lX11"
11213 for ac_header in X11/Xlib.h \
11214 X11/XKBlib.h \
11215 X11/Xutil.h \
11216 X11/Xcursor/Xcursor.h \
11217 X11/extensions/shape.h \
11218 X11/extensions/XInput.h \
11219 X11/extensions/XInput2.h \
11220 X11/extensions/XShm.h \
11221 X11/extensions/Xcomposite.h \
11222 X11/extensions/Xfixes.h \
11223 X11/extensions/Xinerama.h \
11224 X11/extensions/Xrandr.h \
11225 X11/extensions/Xrender.h \
11226 X11/extensions/xf86vmode.h \
11227 X11/extensions/xf86vmproto.h
11228 do :
11229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11231 # include <X11/Xlib.h>
11232 #endif
11233 #ifdef HAVE_X11_XUTIL_H
11234 # include <X11/Xutil.h>
11235 #endif
11237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11238 cat >>confdefs.h <<_ACEOF
11239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11240 _ACEOF
11244 done
11247 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11248 then
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11250 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11251 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11252 $as_echo_n "(cached) " >&6
11253 else
11254 ac_check_lib_save_LIBS=$LIBS
11255 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11259 /* Override any GCC internal prototype to avoid an error.
11260 Use char because int might match the return type of a GCC
11261 builtin and then its argument prototype would still apply. */
11262 #ifdef __cplusplus
11263 extern "C"
11264 #endif
11265 char XkbQueryExtension ();
11267 main ()
11269 return XkbQueryExtension ();
11271 return 0;
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"; then :
11275 ac_cv_lib_X11_XkbQueryExtension=yes
11276 else
11277 ac_cv_lib_X11_XkbQueryExtension=no
11279 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext
11281 LIBS=$ac_check_lib_save_LIBS
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11284 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11285 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11287 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11293 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11294 then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11296 $as_echo_n "checking for -lXcursor... " >&6; }
11297 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11298 $as_echo_n "(cached) " >&6
11299 else
11300 ac_check_soname_save_LIBS=$LIBS
11301 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char XcursorImageLoadCursor ();
11313 main ()
11315 return XcursorImageLoadCursor ();
11317 return 0;
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 case "$LIBEXT" in
11322 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11323 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'` ;;
11324 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11325 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11326 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11327 fi ;;
11328 esac
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_soname_save_LIBS
11334 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11336 $as_echo "not found" >&6; }
11338 else
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11340 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11342 cat >>confdefs.h <<_ACEOF
11343 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11344 _ACEOF
11349 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11350 case "x$with_xcursor" in
11351 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11352 xno) ;;
11353 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11354 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11355 esac
11359 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11360 then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11362 $as_echo_n "checking for -lXi... " >&6; }
11363 if ${ac_cv_lib_soname_Xi+:} false; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_soname_save_LIBS=$LIBS
11367 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11374 #ifdef __cplusplus
11375 extern "C"
11376 #endif
11377 char XOpenDevice ();
11379 main ()
11381 return XOpenDevice ();
11383 return 0;
11385 _ACEOF
11386 if ac_fn_c_try_link "$LINENO"; then :
11387 case "$LIBEXT" in
11388 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11389 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'` ;;
11390 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11391 if ${ac_cv_lib_soname_Xi:+false} :; then :
11392 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11393 fi ;;
11394 esac
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_soname_save_LIBS
11400 if ${ac_cv_lib_soname_Xi:+false} :; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11402 $as_echo "not found" >&6; }
11404 else
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11406 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11408 cat >>confdefs.h <<_ACEOF
11409 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11410 _ACEOF
11415 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11416 case "x$with_xinput" in
11417 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11418 xno) ;;
11419 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11420 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11421 esac
11425 if test "x$ac_cv_lib_soname_Xi" != x
11426 then
11427 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11428 case "x$with_xinput2" in
11429 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11430 xno) ;;
11431 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11432 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11433 esac
11438 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11439 then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11441 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11442 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char XShmQueryExtension ();
11458 main ()
11460 return XShmQueryExtension ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_Xext_XShmQueryExtension=yes
11467 else
11468 ac_cv_lib_Xext_XShmQueryExtension=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11475 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11476 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11478 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11483 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11484 case "x$with_xshm" in
11485 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11486 xno) ;;
11487 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11488 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11489 esac
11493 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11494 then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11496 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11497 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_lib_save_LIBS=$LIBS
11501 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char XShapeQueryExtension ();
11513 main ()
11515 return XShapeQueryExtension ();
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 ac_cv_lib_Xext_XShapeQueryExtension=yes
11522 else
11523 ac_cv_lib_Xext_XShapeQueryExtension=no
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_lib_save_LIBS
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11530 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11531 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11533 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11538 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11539 case "x$with_xshape" in
11540 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11541 xno) ;;
11542 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11543 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11544 esac
11548 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11549 then
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11551 $as_echo_n "checking for -lXxf86vm... " >&6; }
11552 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11553 $as_echo_n "(cached) " >&6
11554 else
11555 ac_check_soname_save_LIBS=$LIBS
11556 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char XF86VidModeQueryExtension ();
11568 main ()
11570 return XF86VidModeQueryExtension ();
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576 case "$LIBEXT" in
11577 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11578 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'` ;;
11579 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11580 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11581 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11582 fi ;;
11583 esac
11585 rm -f core conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_soname_save_LIBS
11589 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11591 $as_echo "not found" >&6; }
11593 else
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11595 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11597 cat >>confdefs.h <<_ACEOF
11598 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11599 _ACEOF
11604 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11605 case "x$with_xxf86vm" in
11606 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11607 xno) ;;
11608 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11609 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11610 esac
11614 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11615 then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11617 $as_echo_n "checking for -lXrender... " >&6; }
11618 if ${ac_cv_lib_soname_Xrender+:} false; then :
11619 $as_echo_n "(cached) " >&6
11620 else
11621 ac_check_soname_save_LIBS=$LIBS
11622 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11629 #ifdef __cplusplus
11630 extern "C"
11631 #endif
11632 char XRenderQueryExtension ();
11634 main ()
11636 return XRenderQueryExtension ();
11638 return 0;
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"; then :
11642 case "$LIBEXT" in
11643 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11644 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'` ;;
11645 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11646 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11647 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11648 fi ;;
11649 esac
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_soname_save_LIBS
11655 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11657 $as_echo "not found" >&6; }
11659 else
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11661 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11663 cat >>confdefs.h <<_ACEOF
11664 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11665 _ACEOF
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11668 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11669 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_lib_save_LIBS=$LIBS
11673 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char XRenderSetPictureTransform ();
11685 main ()
11687 return XRenderSetPictureTransform ();
11689 return 0;
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11694 else
11695 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11702 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11703 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11705 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11710 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11711 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char XRenderCreateLinearGradient ();
11727 main ()
11729 return XRenderCreateLinearGradient ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11736 else
11737 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11739 rm -f core conftest.err conftest.$ac_objext \
11740 conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11744 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11745 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11747 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11754 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11755 case "x$with_xrender" in
11756 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11757 xno) ;;
11758 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11759 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11760 esac
11764 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11765 then
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11768 #include <X11/Xlib.h>
11769 #include <X11/extensions/Xrandr.h>
11771 main ()
11773 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_compile "$LINENO"; then :
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11780 $as_echo_n "checking for -lXrandr... " >&6; }
11781 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11782 $as_echo_n "(cached) " >&6
11783 else
11784 ac_check_soname_save_LIBS=$LIBS
11785 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11792 #ifdef __cplusplus
11793 extern "C"
11794 #endif
11795 char XRRQueryExtension ();
11797 main ()
11799 return XRRQueryExtension ();
11801 return 0;
11803 _ACEOF
11804 if ac_fn_c_try_link "$LINENO"; then :
11805 case "$LIBEXT" in
11806 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11807 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'` ;;
11808 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11809 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11810 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11811 fi ;;
11812 esac
11814 rm -f core conftest.err conftest.$ac_objext \
11815 conftest$ac_exeext conftest.$ac_ext
11816 LIBS=$ac_check_soname_save_LIBS
11818 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11820 $as_echo "not found" >&6; }
11822 else
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11824 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11826 cat >>confdefs.h <<_ACEOF
11827 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11828 _ACEOF
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11832 #include <X11/Xlib.h>
11833 #include <X11/extensions/Xrandr.h>
11835 main ()
11837 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11839 return 0;
11841 _ACEOF
11842 if ac_fn_c_try_compile "$LINENO"; then :
11844 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11852 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11853 case "x$with_xrandr" in
11854 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11855 xno) ;;
11856 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11857 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11858 esac
11862 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11863 then
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11866 #include <X11/Xlib.h>
11867 #include <X11/extensions/Xfixes.h>
11869 main ()
11871 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11873 return 0;
11875 _ACEOF
11876 if ac_fn_c_try_compile "$LINENO"; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11878 $as_echo_n "checking for -lXfixes... " >&6; }
11879 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 ac_check_soname_save_LIBS=$LIBS
11883 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11890 #ifdef __cplusplus
11891 extern "C"
11892 #endif
11893 char XFixesQueryVersion ();
11895 main ()
11897 return XFixesQueryVersion ();
11899 return 0;
11901 _ACEOF
11902 if ac_fn_c_try_link "$LINENO"; then :
11903 case "$LIBEXT" in
11904 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11905 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'` ;;
11906 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11907 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11908 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11909 fi ;;
11910 esac
11912 rm -f core conftest.err conftest.$ac_objext \
11913 conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_soname_save_LIBS
11916 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11918 $as_echo "not found" >&6; }
11920 else
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11922 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11924 cat >>confdefs.h <<_ACEOF
11925 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11926 _ACEOF
11931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11933 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11934 case "x$with_xfixes" in
11935 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11936 xno) ;;
11937 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11938 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11939 esac
11943 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11944 then
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11947 #include <X11/Xlib.h>
11948 #include <X11/extensions/Xinerama.h>
11950 main ()
11952 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11954 return 0;
11956 _ACEOF
11957 if ac_fn_c_try_compile "$LINENO"; then :
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11959 $as_echo_n "checking for -lXinerama... " >&6; }
11960 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11961 $as_echo_n "(cached) " >&6
11962 else
11963 ac_check_soname_save_LIBS=$LIBS
11964 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11971 #ifdef __cplusplus
11972 extern "C"
11973 #endif
11974 char XineramaQueryScreens ();
11976 main ()
11978 return XineramaQueryScreens ();
11980 return 0;
11982 _ACEOF
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 case "$LIBEXT" in
11985 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11986 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'` ;;
11987 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11988 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11989 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11990 fi ;;
11991 esac
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_soname_save_LIBS
11997 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11999 $as_echo "not found" >&6; }
12001 else
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12003 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12005 cat >>confdefs.h <<_ACEOF
12006 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12007 _ACEOF
12012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12014 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12015 case "x$with_xinerama" in
12016 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12017 xno) ;;
12018 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12019 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12020 esac
12024 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12025 then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12027 $as_echo_n "checking for -lXcomposite... " >&6; }
12028 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_soname_save_LIBS=$LIBS
12032 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char XCompositeRedirectWindow ();
12044 main ()
12046 return XCompositeRedirectWindow ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 case "$LIBEXT" in
12053 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12054 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'` ;;
12055 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12056 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12057 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12058 fi ;;
12059 esac
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_soname_save_LIBS
12065 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12067 $as_echo "not found" >&6; }
12069 else
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12071 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12073 cat >>confdefs.h <<_ACEOF
12074 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12075 _ACEOF
12080 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12081 case "x$with_xcomposite" in
12082 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12083 xno) ;;
12084 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12085 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12086 esac
12090 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12091 #include <X11/Xlib.h>
12092 #endif
12094 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12096 cat >>confdefs.h <<_ACEOF
12097 #define HAVE_XICCALLBACK_CALLBACK 1
12098 _ACEOF
12102 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12103 #include <X11/Xlib.h>
12104 #endif
12106 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12108 cat >>confdefs.h <<_ACEOF
12109 #define HAVE_XEVENT_XCOOKIE 1
12110 _ACEOF
12117 opengl_msg=""
12118 if test "x$with_opengl" != "xno"
12119 then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12121 $as_echo_n "checking for -lGL... " >&6; }
12122 if ${ac_cv_lib_soname_GL+:} false; then :
12123 $as_echo_n "(cached) " >&6
12124 else
12125 ac_check_soname_save_LIBS=$LIBS
12126 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char glXCreateContext ();
12138 main ()
12140 return glXCreateContext ();
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_link "$LINENO"; then :
12146 case "$LIBEXT" in
12147 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12148 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'` ;;
12149 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12150 if ${ac_cv_lib_soname_GL:+false} :; then :
12151 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12152 fi ;;
12153 esac
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_soname_save_LIBS
12159 if ${ac_cv_lib_soname_GL:+false} :; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12161 $as_echo "not found" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12163 $as_echo_n "checking for -lGL... " >&6; }
12164 if ${ac_cv_lib_soname_GL+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_soname_save_LIBS=$LIBS
12168 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"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char glXCreateContext ();
12180 main ()
12182 return glXCreateContext ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 case "$LIBEXT" in
12189 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12190 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'` ;;
12191 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12192 if ${ac_cv_lib_soname_GL:+false} :; then :
12193 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12194 fi ;;
12195 esac
12197 rm -f core conftest.err conftest.$ac_objext \
12198 conftest$ac_exeext conftest.$ac_ext
12199 LIBS=$ac_check_soname_save_LIBS
12201 if ${ac_cv_lib_soname_GL:+false} :; then :
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12203 $as_echo "not found" >&6; }
12204 if test -f /usr/X11R6/lib/libGL.a
12205 then
12206 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12207 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12208 else
12209 opengl_msg="No OpenGL library found on this system."
12211 else
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12213 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12215 cat >>confdefs.h <<_ACEOF
12216 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12217 _ACEOF
12219 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"
12221 else
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12223 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12225 cat >>confdefs.h <<_ACEOF
12226 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12227 _ACEOF
12229 OPENGL_LIBS="-lGL"
12231 if test "x$with_glu" != "xno"
12232 then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12234 $as_echo_n "checking for -lGLU... " >&6; }
12235 if ${ac_cv_lib_soname_GLU+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char gluLookAt ();
12251 main ()
12253 return gluLookAt ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 case "$LIBEXT" in
12260 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12261 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'` ;;
12262 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12263 if ${ac_cv_lib_soname_GLU:+false} :; then :
12264 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12265 fi ;;
12266 esac
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LIBS=$ac_check_soname_save_LIBS
12272 if ${ac_cv_lib_soname_GLU:+false} :; then :
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12274 $as_echo "not found" >&6; }
12276 else
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12278 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12280 cat >>confdefs.h <<_ACEOF
12281 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12282 _ACEOF
12286 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12287 case "x$with_glu" in
12288 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12289 xno) ;;
12290 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12291 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12292 esac
12297 if test "x$with_osmesa" != "xno"
12298 then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12300 $as_echo_n "checking for -lOSMesa... " >&6; }
12301 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12302 $as_echo_n "(cached) " >&6
12303 else
12304 ac_check_soname_save_LIBS=$LIBS
12305 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12312 #ifdef __cplusplus
12313 extern "C"
12314 #endif
12315 char OSMesaGetProcAddress ();
12317 main ()
12319 return OSMesaGetProcAddress ();
12321 return 0;
12323 _ACEOF
12324 if ac_fn_c_try_link "$LINENO"; then :
12325 case "$LIBEXT" in
12326 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12327 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'` ;;
12328 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12329 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12330 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12331 fi ;;
12332 esac
12334 rm -f core conftest.err conftest.$ac_objext \
12335 conftest$ac_exeext conftest.$ac_ext
12336 LIBS=$ac_check_soname_save_LIBS
12338 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12340 $as_echo "not found" >&6; }
12342 else
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12344 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12346 cat >>confdefs.h <<_ACEOF
12347 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12348 _ACEOF
12352 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12353 case "x$with_osmesa" in
12354 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12355 xno) ;;
12356 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12357 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12358 esac
12363 if test -n "$opengl_msg"; then :
12364 case "x$with_opengl" in
12365 x) as_fn_append wine_warnings "|$opengl_msg
12366 OpenGL and Direct3D won't be supported." ;;
12367 xno) ;;
12368 *) as_fn_error $? "$opengl_msg
12369 OpenGL and Direct3D won't be supported.
12370 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12371 esac
12375 CPPFLAGS="$ac_save_CPPFLAGS"
12376 else
12377 X_CFLAGS=""
12378 X_LIBS=""
12381 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12382 then
12383 if test "x$X_LIBS" = "x"; then :
12384 case "x$with_x" in
12385 xno) ;;
12386 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12387 without X support, which probably isn't what you want. You will need
12388 to install ${notice_platform}development packages of Xlib at the very least.
12389 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12390 esac
12391 enable_winex11_drv=${enable_winex11_drv:-no}
12393 else
12394 if test "x$X_LIBS" = "x"; then :
12395 case "x$with_x" in
12396 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12397 xno) ;;
12398 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12399 This is an error since --with-x was requested." "$LINENO" 5 ;;
12400 esac
12401 enable_winex11_drv=${enable_winex11_drv:-no}
12405 if test "$ac_cv_header_CL_cl_h" = "yes"
12406 then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12408 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12409 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12410 $as_echo_n "(cached) " >&6
12411 else
12412 ac_check_lib_save_LIBS=$LIBS
12413 LIBS="-lOpenCL $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 #ifdef __cplusplus
12421 extern "C"
12422 #endif
12423 char clGetPlatformInfo ();
12425 main ()
12427 return clGetPlatformInfo ();
12429 return 0;
12431 _ACEOF
12432 if ac_fn_c_try_link "$LINENO"; then :
12433 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12434 else
12435 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12442 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12443 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12444 OPENCL_LIBS="-lOpenCL"
12449 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12450 case "x$with_opencl" in
12451 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12452 xno) ;;
12453 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12454 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12455 esac
12456 enable_opencl=${enable_opencl:-no}
12459 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12460 then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12462 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12463 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12464 $as_echo_n "(cached) " >&6
12465 else
12466 ac_check_lib_save_LIBS=$LIBS
12467 LIBS="-lpcap $LIBS"
12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12471 /* Override any GCC internal prototype to avoid an error.
12472 Use char because int might match the return type of a GCC
12473 builtin and then its argument prototype would still apply. */
12474 #ifdef __cplusplus
12475 extern "C"
12476 #endif
12477 char pcap_create ();
12479 main ()
12481 return pcap_create ();
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"; then :
12487 ac_cv_lib_pcap_pcap_create=yes
12488 else
12489 ac_cv_lib_pcap_pcap_create=no
12491 rm -f core conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_lib_save_LIBS
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12496 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12497 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12498 PCAP_LIBS="-lpcap"
12503 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12504 case "x$with_pcap" in
12505 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12506 xno) ;;
12507 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12508 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12509 esac
12510 enable_wpcap=${enable_wpcap:-no}
12514 if test "x$with_xml" != "xno"
12515 then
12516 if ${XML2_CFLAGS:+false} :; then :
12517 if ${PKG_CONFIG+:} false; then :
12518 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12521 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12522 if ${XML2_LIBS:+false} :; then :
12523 if ${PKG_CONFIG+:} false; then :
12524 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12527 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12528 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12529 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12530 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12531 ac_save_CPPFLAGS=$CPPFLAGS
12532 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12533 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12534 do :
12535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12536 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12538 cat >>confdefs.h <<_ACEOF
12539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12540 _ACEOF
12544 done
12546 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"
12547 then
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12549 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12550 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12551 $as_echo_n "(cached) " >&6
12552 else
12553 ac_check_lib_save_LIBS=$LIBS
12554 LIBS="-lxml2 $XML2_LIBS $LIBS"
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 #ifdef __cplusplus
12562 extern "C"
12563 #endif
12564 char xmlParseMemory ();
12566 main ()
12568 return xmlParseMemory ();
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"; then :
12574 ac_cv_lib_xml2_xmlParseMemory=yes
12575 else
12576 ac_cv_lib_xml2_xmlParseMemory=no
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 LIBS=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12583 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12584 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12586 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12588 else
12589 XML2_LIBS=""
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12593 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12594 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 ac_check_lib_save_LIBS=$LIBS
12598 LIBS="-lxml2 $XML2_LIBS $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 #ifdef __cplusplus
12606 extern "C"
12607 #endif
12608 char xmlReadMemory ();
12610 main ()
12612 return xmlReadMemory ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"; then :
12618 ac_cv_lib_xml2_xmlReadMemory=yes
12619 else
12620 ac_cv_lib_xml2_xmlReadMemory=no
12622 rm -f core conftest.err conftest.$ac_objext \
12623 conftest$ac_exeext conftest.$ac_ext
12624 LIBS=$ac_check_lib_save_LIBS
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12627 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12628 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12630 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12635 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12636 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 ac_check_lib_save_LIBS=$LIBS
12640 LIBS="-lxml2 $XML2_LIBS $LIBS"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647 #ifdef __cplusplus
12648 extern "C"
12649 #endif
12650 char xmlNewDocPI ();
12652 main ()
12654 return xmlNewDocPI ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"; then :
12660 ac_cv_lib_xml2_xmlNewDocPI=yes
12661 else
12662 ac_cv_lib_xml2_xmlNewDocPI=no
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_lib_save_LIBS
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12669 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12670 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12672 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12677 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12678 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 ac_check_lib_save_LIBS=$LIBS
12682 LIBS="-lxml2 $XML2_LIBS $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char xmlSchemaSetParserStructuredErrors ();
12694 main ()
12696 return xmlSchemaSetParserStructuredErrors ();
12698 return 0;
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12703 else
12704 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12706 rm -f core conftest.err conftest.$ac_objext \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_lib_save_LIBS
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12711 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12712 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12714 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12719 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12720 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12721 $as_echo_n "(cached) " >&6
12722 else
12723 ac_check_lib_save_LIBS=$LIBS
12724 LIBS="-lxml2 $XML2_LIBS $LIBS"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 /* Override any GCC internal prototype to avoid an error.
12729 Use char because int might match the return type of a GCC
12730 builtin and then its argument prototype would still apply. */
12731 #ifdef __cplusplus
12732 extern "C"
12733 #endif
12734 char xmlSchemaSetValidStructuredErrors ();
12736 main ()
12738 return xmlSchemaSetValidStructuredErrors ();
12740 return 0;
12742 _ACEOF
12743 if ac_fn_c_try_link "$LINENO"; then :
12744 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12745 else
12746 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12748 rm -f core conftest.err conftest.$ac_objext \
12749 conftest$ac_exeext conftest.$ac_ext
12750 LIBS=$ac_check_lib_save_LIBS
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12753 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12754 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12756 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12761 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12762 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12763 $as_echo_n "(cached) " >&6
12764 else
12765 ac_check_lib_save_LIBS=$LIBS
12766 LIBS="-lxml2 $XML2_LIBS $LIBS"
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12770 /* Override any GCC internal prototype to avoid an error.
12771 Use char because int might match the return type of a GCC
12772 builtin and then its argument prototype would still apply. */
12773 #ifdef __cplusplus
12774 extern "C"
12775 #endif
12776 char xmlFirstElementChild ();
12778 main ()
12780 return xmlFirstElementChild ();
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_link "$LINENO"; then :
12786 ac_cv_lib_xml2_xmlFirstElementChild=yes
12787 else
12788 ac_cv_lib_xml2_xmlFirstElementChild=no
12790 rm -f core conftest.err conftest.$ac_objext \
12791 conftest$ac_exeext conftest.$ac_ext
12792 LIBS=$ac_check_lib_save_LIBS
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12795 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12796 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12798 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12802 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12804 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12806 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12810 else
12811 XML2_CFLAGS=""
12812 XML2_LIBS=""
12814 CPPFLAGS=$ac_save_CPPFLAGS
12815 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12816 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12819 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12820 case "x$with_xml" in
12821 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12822 xno) ;;
12823 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12824 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12825 esac
12829 if test "x$with_xslt" != "xno"
12830 then
12831 if ${XSLT_CFLAGS:+false} :; then :
12832 if ${PKG_CONFIG+:} false; then :
12833 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12836 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12837 if ${XSLT_LIBS:+false} :; then :
12838 if ${PKG_CONFIG+:} false; then :
12839 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12842 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12843 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12844 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12845 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12846 ac_save_CPPFLAGS=$CPPFLAGS
12847 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12848 for ac_header in libxslt/pattern.h libxslt/transform.h
12849 do :
12850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12851 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12852 # include <libxslt/pattern.h>
12853 #endif
12855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12856 cat >>confdefs.h <<_ACEOF
12857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12858 _ACEOF
12862 done
12864 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12865 then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12867 $as_echo_n "checking for -lxslt... " >&6; }
12868 if ${ac_cv_lib_soname_xslt+:} false; then :
12869 $as_echo_n "(cached) " >&6
12870 else
12871 ac_check_soname_save_LIBS=$LIBS
12872 LIBS="-lxslt $XSLT_LIBS $LIBS"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 /* Override any GCC internal prototype to avoid an error.
12877 Use char because int might match the return type of a GCC
12878 builtin and then its argument prototype would still apply. */
12879 #ifdef __cplusplus
12880 extern "C"
12881 #endif
12882 char xsltCompilePattern ();
12884 main ()
12886 return xsltCompilePattern ();
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_link "$LINENO"; then :
12892 case "$LIBEXT" in
12893 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12894 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'` ;;
12895 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12896 if ${ac_cv_lib_soname_xslt:+false} :; then :
12897 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12898 fi ;;
12899 esac
12901 rm -f core conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_soname_save_LIBS
12905 if ${ac_cv_lib_soname_xslt:+false} :; then :
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12907 $as_echo "not found" >&6; }
12909 else
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12911 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12913 cat >>confdefs.h <<_ACEOF
12914 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12915 _ACEOF
12919 else
12920 XSLT_CFLAGS=""
12922 CPPFLAGS=$ac_save_CPPFLAGS
12923 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12924 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12927 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12928 case "x$with_xslt" in
12929 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12930 xno) ;;
12931 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12932 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12933 esac
12937 if test "x$with_dbus" != "xno"
12938 then
12939 if ${DBUS_CFLAGS:+false} :; then :
12940 if ${PKG_CONFIG+:} false; then :
12941 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12945 if ${DBUS_LIBS:+false} :; then :
12946 if ${PKG_CONFIG+:} false; then :
12947 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12952 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12953 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12954 ac_save_CPPFLAGS=$CPPFLAGS
12955 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12956 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12957 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12959 $as_echo_n "checking for -ldbus-1... " >&6; }
12960 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12961 $as_echo_n "(cached) " >&6
12962 else
12963 ac_check_soname_save_LIBS=$LIBS
12964 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12968 /* Override any GCC internal prototype to avoid an error.
12969 Use char because int might match the return type of a GCC
12970 builtin and then its argument prototype would still apply. */
12971 #ifdef __cplusplus
12972 extern "C"
12973 #endif
12974 char dbus_connection_close ();
12976 main ()
12978 return dbus_connection_close ();
12980 return 0;
12982 _ACEOF
12983 if ac_fn_c_try_link "$LINENO"; then :
12984 case "$LIBEXT" in
12985 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12986 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'` ;;
12987 *) 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'`
12988 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12989 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12990 fi ;;
12991 esac
12993 rm -f core conftest.err conftest.$ac_objext \
12994 conftest$ac_exeext conftest.$ac_ext
12995 LIBS=$ac_check_soname_save_LIBS
12997 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12999 $as_echo "not found" >&6; }
13000 DBUS_CFLAGS=""
13001 else
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13003 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13005 cat >>confdefs.h <<_ACEOF
13006 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13007 _ACEOF
13011 else
13012 DBUS_CFLAGS=""
13016 CPPFLAGS=$ac_save_CPPFLAGS
13017 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13018 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13021 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13022 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13023 case "x$with_dbus" in
13024 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13025 xno) ;;
13026 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13027 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13028 esac
13032 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13033 then
13034 if ${HAL_CFLAGS:+false} :; then :
13035 if ${PKG_CONFIG+:} false; then :
13036 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13040 if ${HAL_LIBS:+false} :; then :
13041 if ${PKG_CONFIG+:} false; then :
13042 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13046 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13047 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13048 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13049 ac_save_CPPFLAGS=$CPPFLAGS
13050 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13051 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13052 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13054 $as_echo_n "checking for -lhal... " >&6; }
13055 if ${ac_cv_lib_soname_hal+:} false; then :
13056 $as_echo_n "(cached) " >&6
13057 else
13058 ac_check_soname_save_LIBS=$LIBS
13059 LIBS="-lhal $HAL_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char libhal_ctx_new ();
13071 main ()
13073 return libhal_ctx_new ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 case "$LIBEXT" in
13080 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13081 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'` ;;
13082 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13083 if ${ac_cv_lib_soname_hal:+false} :; then :
13084 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13085 fi ;;
13086 esac
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_soname_save_LIBS
13092 if ${ac_cv_lib_soname_hal:+false} :; then :
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13094 $as_echo "not found" >&6; }
13095 HAL_CFLAGS=""
13096 else
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13098 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13100 cat >>confdefs.h <<_ACEOF
13101 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13102 _ACEOF
13106 else
13107 HAL_CFLAGS=""
13111 CPPFLAGS=$ac_save_CPPFLAGS
13112 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13113 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13115 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13116 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13117 case "x$with_hal" in
13118 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13119 xno) ;;
13120 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13121 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13122 esac
13127 if test "x$with_gnutls" != "xno"
13128 then
13129 if ${GNUTLS_CFLAGS:+false} :; then :
13130 if ${PKG_CONFIG+:} false; then :
13131 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13135 if ${GNUTLS_LIBS:+false} :; then :
13136 if ${PKG_CONFIG+:} false; then :
13137 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13142 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13143 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13144 ac_save_CPPFLAGS=$CPPFLAGS
13145 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13146 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13147 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13150 #include <gnutls/gnutls.h>
13151 #include <gnutls/crypto.h>
13153 main ()
13155 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_compile "$LINENO"; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13162 $as_echo_n "checking for -lgnutls... " >&6; }
13163 if ${ac_cv_lib_soname_gnutls+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13166 ac_check_soname_save_LIBS=$LIBS
13167 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13174 #ifdef __cplusplus
13175 extern "C"
13176 #endif
13177 char gnutls_global_init ();
13179 main ()
13181 return gnutls_global_init ();
13183 return 0;
13185 _ACEOF
13186 if ac_fn_c_try_link "$LINENO"; then :
13187 case "$LIBEXT" in
13188 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13189 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'` ;;
13190 *) 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'`
13191 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13192 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'`
13193 fi ;;
13194 esac
13196 rm -f core conftest.err conftest.$ac_objext \
13197 conftest$ac_exeext conftest.$ac_ext
13198 LIBS=$ac_check_soname_save_LIBS
13200 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13202 $as_echo "not found" >&6; }
13203 GNUTLS_CFLAGS=""
13204 else
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13206 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13208 cat >>confdefs.h <<_ACEOF
13209 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13210 _ACEOF
13214 ac_wine_check_funcs_save_LIBS="$LIBS"
13215 LIBS="$LIBS $GNUTLS_LIBS"
13216 for ac_func in gnutls_cipher_init
13217 do :
13218 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13219 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13220 cat >>confdefs.h <<_ACEOF
13221 #define HAVE_GNUTLS_CIPHER_INIT 1
13222 _ACEOF
13224 else
13225 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13227 done
13229 LIBS="$ac_wine_check_funcs_save_LIBS"
13231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13232 else
13233 GNUTLS_CFLAGS=""
13237 CPPFLAGS=$ac_save_CPPFLAGS
13238 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13239 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13242 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13243 case "x$with_gnutls" in
13244 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13245 xno) ;;
13246 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13247 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13248 esac
13252 CURSES_LIBS=""
13253 if test "$ac_cv_header_ncurses_h" = "yes"
13254 then
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13256 $as_echo_n "checking for -lncurses... " >&6; }
13257 if ${ac_cv_lib_soname_ncurses+:} false; then :
13258 $as_echo_n "(cached) " >&6
13259 else
13260 ac_check_soname_save_LIBS=$LIBS
13261 LIBS="-lncurses $LIBS"
13262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13268 #ifdef __cplusplus
13269 extern "C"
13270 #endif
13271 char waddch ();
13273 main ()
13275 return waddch ();
13277 return 0;
13279 _ACEOF
13280 if ac_fn_c_try_link "$LINENO"; then :
13281 case "$LIBEXT" in
13282 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13283 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'` ;;
13284 *) 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'`
13285 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13286 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13287 fi ;;
13288 esac
13290 rm -f core conftest.err conftest.$ac_objext \
13291 conftest$ac_exeext conftest.$ac_ext
13292 LIBS=$ac_check_soname_save_LIBS
13294 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13296 $as_echo "not found" >&6; }
13298 else
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13300 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13302 cat >>confdefs.h <<_ACEOF
13303 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13304 _ACEOF
13306 CURSES_LIBS="-lncurses"
13308 elif test "$ac_cv_header_curses_h" = "yes"
13309 then
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13311 $as_echo_n "checking for -lcurses... " >&6; }
13312 if ${ac_cv_lib_soname_curses+:} false; then :
13313 $as_echo_n "(cached) " >&6
13314 else
13315 ac_check_soname_save_LIBS=$LIBS
13316 LIBS="-lcurses $LIBS"
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13323 #ifdef __cplusplus
13324 extern "C"
13325 #endif
13326 char waddch ();
13328 main ()
13330 return waddch ();
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_link "$LINENO"; then :
13336 case "$LIBEXT" in
13337 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13338 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'` ;;
13339 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13340 if ${ac_cv_lib_soname_curses:+false} :; then :
13341 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13342 fi ;;
13343 esac
13345 rm -f core conftest.err conftest.$ac_objext \
13346 conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_soname_save_LIBS
13349 if ${ac_cv_lib_soname_curses:+false} :; then :
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13351 $as_echo "not found" >&6; }
13353 else
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13355 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13357 cat >>confdefs.h <<_ACEOF
13358 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13359 _ACEOF
13361 CURSES_LIBS="-lcurses"
13364 ac_save_LIBS="$LIBS"
13365 LIBS="$LIBS $CURSES_LIBS"
13366 for ac_func in mousemask
13367 do :
13368 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13369 if test "x$ac_cv_func_mousemask" = xyes; then :
13370 cat >>confdefs.h <<_ACEOF
13371 #define HAVE_MOUSEMASK 1
13372 _ACEOF
13375 done
13377 LIBS="$ac_save_LIBS"
13378 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13379 case "x$with_curses" in
13380 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13381 xno) ;;
13382 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13383 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13384 esac
13388 if test "x$with_sane" != "xno"
13389 then
13390 if ${SANE_CFLAGS:+false} :; then :
13391 if ${PKG_CONFIG+:} false; then :
13392 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13395 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13396 if ${SANE_LIBS:+false} :; then :
13397 if ${PKG_CONFIG+:} false; then :
13398 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13401 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13403 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13404 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13405 ac_save_CPPFLAGS=$CPPFLAGS
13406 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13407 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13408 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13410 $as_echo_n "checking for -lsane... " >&6; }
13411 if ${ac_cv_lib_soname_sane+:} false; then :
13412 $as_echo_n "(cached) " >&6
13413 else
13414 ac_check_soname_save_LIBS=$LIBS
13415 LIBS="-lsane $SANE_LIBS $LIBS"
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13422 #ifdef __cplusplus
13423 extern "C"
13424 #endif
13425 char sane_init ();
13427 main ()
13429 return sane_init ();
13431 return 0;
13433 _ACEOF
13434 if ac_fn_c_try_link "$LINENO"; then :
13435 case "$LIBEXT" in
13436 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13437 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'` ;;
13438 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13439 if ${ac_cv_lib_soname_sane:+false} :; then :
13440 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13441 fi ;;
13442 esac
13444 rm -f core conftest.err conftest.$ac_objext \
13445 conftest$ac_exeext conftest.$ac_ext
13446 LIBS=$ac_check_soname_save_LIBS
13448 if ${ac_cv_lib_soname_sane:+false} :; then :
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13450 $as_echo "not found" >&6; }
13451 SANE_CFLAGS=""
13452 else
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13454 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13456 cat >>confdefs.h <<_ACEOF
13457 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13458 _ACEOF
13462 else
13463 SANE_CFLAGS=""
13467 CPPFLAGS=$ac_save_CPPFLAGS
13468 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13469 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13472 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13473 case "x$with_sane" in
13474 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13475 xno) ;;
13476 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13477 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13478 esac
13482 if test "x$with_v4l" != "xno"
13483 then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
13485 $as_echo_n "checking for -lv4l1... " >&6; }
13486 if ${ac_cv_lib_soname_v4l1+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 ac_check_soname_save_LIBS=$LIBS
13490 LIBS="-lv4l1 $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 char v4l1_open ();
13502 main ()
13504 return v4l1_open ();
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 case "$LIBEXT" in
13511 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13512 dylib) ac_cv_lib_soname_v4l1=`$OTOOL -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13513 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13514 if ${ac_cv_lib_soname_v4l1:+false} :; then :
13515 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13516 fi ;;
13517 esac
13519 rm -f core conftest.err conftest.$ac_objext \
13520 conftest$ac_exeext conftest.$ac_ext
13521 LIBS=$ac_check_soname_save_LIBS
13523 if ${ac_cv_lib_soname_v4l1:+false} :; then :
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13525 $as_echo "not found" >&6; }
13527 else
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
13529 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
13533 _ACEOF
13538 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
13539 case "x$with_v4l" in
13540 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
13541 xno) ;;
13542 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
13543 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
13544 esac
13548 if test "x$with_gphoto" != "xno"
13549 then
13550 if ${GPHOTO2_CFLAGS:+false} :; then :
13551 if ${PKG_CONFIG+:} false; then :
13552 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13555 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13556 if ${GPHOTO2_LIBS:+false} :; then :
13557 if ${PKG_CONFIG+:} false; then :
13558 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13561 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13562 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13563 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13564 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13565 ac_save_CPPFLAGS=$CPPFLAGS
13566 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13567 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13568 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13570 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13571 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 ac_check_lib_save_LIBS=$LIBS
13575 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13582 #ifdef __cplusplus
13583 extern "C"
13584 #endif
13585 char gp_camera_new ();
13587 main ()
13589 return gp_camera_new ();
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 ac_cv_lib_gphoto2_gp_camera_new=yes
13596 else
13597 ac_cv_lib_gphoto2_gp_camera_new=no
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 LIBS=$ac_check_lib_save_LIBS
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13604 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13605 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13607 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13609 else
13610 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13613 else
13614 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13618 CPPFLAGS=$ac_save_CPPFLAGS
13619 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13620 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13622 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13623 if ${PKG_CONFIG+:} false; then :
13624 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13627 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13628 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13629 if ${PKG_CONFIG+:} false; then :
13630 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13633 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13634 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13635 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13637 ac_save_CPPFLAGS=$CPPFLAGS
13638 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13639 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13640 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13642 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13643 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_check_lib_save_LIBS=$LIBS
13647 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13654 #ifdef __cplusplus
13655 extern "C"
13656 #endif
13657 char gp_port_info_list_new ();
13659 main ()
13661 return gp_port_info_list_new ();
13663 return 0;
13665 _ACEOF
13666 if ac_fn_c_try_link "$LINENO"; then :
13667 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13668 else
13669 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13671 rm -f core conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_lib_save_LIBS
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13676 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13677 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13679 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13681 else
13682 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13685 else
13686 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13690 CPPFLAGS=$ac_save_CPPFLAGS
13691 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13692 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13695 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13696 case "x$with_gphoto" in
13697 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13698 xno) ;;
13699 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13700 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13701 esac
13704 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13705 case "x$with_gphoto" in
13706 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13707 xno) ;;
13708 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13709 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13710 esac
13715 if test "$ac_cv_header_resolv_h" = "yes"
13716 then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13718 $as_echo_n "checking for resolver library... " >&6; }
13719 if ${ac_cv_have_resolv+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 ac_save_LIBS="$LIBS"
13723 for lib in '' -lresolv
13725 LIBS="$lib $ac_save_LIBS"
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13728 #ifdef HAVE_NETINET_IN_H
13729 #include <netinet/in.h>
13730 #endif
13731 #include <resolv.h>
13733 main ()
13735 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13737 return 0;
13739 _ACEOF
13740 if ac_fn_c_try_link "$LINENO"; then :
13741 ac_cv_have_resolv=${lib:-"none required"}
13742 else
13743 ac_cv_have_resolv="not found"
13745 rm -f core conftest.err conftest.$ac_objext \
13746 conftest$ac_exeext conftest.$ac_ext
13747 test "x$ac_cv_have_resolv" = "xnot found" || break
13748 done
13749 LIBS="$ac_save_LIBS"
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13752 $as_echo "$ac_cv_have_resolv" >&6; }
13754 case "$ac_cv_have_resolv" in
13755 "not found") ;;
13756 "none required")
13758 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13761 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13763 RESOLV_LIBS=$ac_cv_have_resolv
13765 esac
13768 if test "x$with_cms" != "xno"
13769 then
13770 if ${LCMS2_CFLAGS:+false} :; then :
13771 if ${PKG_CONFIG+:} false; then :
13772 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13776 if ${LCMS2_LIBS:+false} :; then :
13777 if ${PKG_CONFIG+:} false; then :
13778 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13782 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13783 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13784 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13785 ac_save_CPPFLAGS=$CPPFLAGS
13786 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13787 for ac_header in lcms2.h
13788 do :
13789 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13790 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13791 cat >>confdefs.h <<_ACEOF
13792 #define HAVE_LCMS2_H 1
13793 _ACEOF
13797 done
13799 if test "$ac_cv_header_lcms2_h" = "yes"
13800 then
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13802 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13803 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13804 $as_echo_n "(cached) " >&6
13805 else
13806 ac_check_lib_save_LIBS=$LIBS
13807 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13811 /* Override any GCC internal prototype to avoid an error.
13812 Use char because int might match the return type of a GCC
13813 builtin and then its argument prototype would still apply. */
13814 #ifdef __cplusplus
13815 extern "C"
13816 #endif
13817 char cmsOpenProfileFromFile ();
13819 main ()
13821 return cmsOpenProfileFromFile ();
13823 return 0;
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"; then :
13827 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13828 else
13829 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13831 rm -f core conftest.err conftest.$ac_objext \
13832 conftest$ac_exeext conftest.$ac_ext
13833 LIBS=$ac_check_lib_save_LIBS
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13836 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13837 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13839 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13841 else
13842 LCMS2_LIBS=""
13845 else
13846 LCMS2_CFLAGS=""
13847 LCMS2_LIBS=""
13849 CPPFLAGS=$ac_save_CPPFLAGS
13850 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13851 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13854 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13855 case "x$with_cms" in
13856 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13857 xno) ;;
13858 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13859 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13860 esac
13864 if test "x$with_freetype" != "xno"
13865 then
13866 if ${FREETYPE_CFLAGS:+false} :; then :
13867 if ${PKG_CONFIG+:} false; then :
13868 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13871 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13872 if ${FREETYPE_LIBS:+false} :; then :
13873 if ${PKG_CONFIG+:} false; then :
13874 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13877 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13878 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13879 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13880 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13881 ac_save_CPPFLAGS=$CPPFLAGS
13882 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13883 for ac_header in ft2build.h
13884 do :
13885 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13886 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13887 cat >>confdefs.h <<_ACEOF
13888 #define HAVE_FT2BUILD_H 1
13889 _ACEOF
13893 done
13895 if test "$ac_cv_header_ft2build_h" = "yes"
13896 then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13898 $as_echo_n "checking for -lfreetype... " >&6; }
13899 if ${ac_cv_lib_soname_freetype+:} false; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 ac_check_soname_save_LIBS=$LIBS
13903 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 #ifdef __cplusplus
13911 extern "C"
13912 #endif
13913 char FT_Init_FreeType ();
13915 main ()
13917 return FT_Init_FreeType ();
13919 return 0;
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 case "$LIBEXT" in
13924 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13925 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'` ;;
13926 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13927 if ${ac_cv_lib_soname_freetype:+false} :; then :
13928 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13929 fi ;;
13930 esac
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_soname_save_LIBS
13936 if ${ac_cv_lib_soname_freetype:+false} :; then :
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13938 $as_echo "not found" >&6; }
13939 FREETYPE_LIBS=""
13940 else
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13942 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13944 cat >>confdefs.h <<_ACEOF
13945 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13946 _ACEOF
13949 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13951 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13952 #include FT_MODULE_H
13954 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13956 cat >>confdefs.h <<_ACEOF
13957 #define HAVE_FT_TRUETYPEENGINETYPE 1
13958 _ACEOF
13964 else
13965 FREETYPE_CFLAGS=""
13966 FREETYPE_LIBS=""
13968 CPPFLAGS=$ac_save_CPPFLAGS
13969 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13970 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13973 if test "x$ac_cv_lib_soname_freetype" = x; then :
13974 case "x$with_freetype" in
13975 xno) ;;
13976 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13977 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13978 esac
13979 enable_fonts=${enable_fonts:-no}
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13983 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13984 if ${ac_cv_c_ppdev+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 #ifdef HAVE_SYS_IOCTL_H
13990 # include <sys/ioctl.h>
13991 #endif
13992 #include <linux/ppdev.h>
13994 main ()
13996 ioctl (1,PPCLAIM,0)
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_compile "$LINENO"; then :
14002 ac_cv_c_ppdev="yes"
14003 else
14004 ac_cv_c_ppdev="no"
14006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14009 $as_echo "$ac_cv_c_ppdev" >&6; }
14010 if test "$ac_cv_c_ppdev" = "yes"
14011 then
14013 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14017 ac_wine_check_funcs_save_LIBS="$LIBS"
14018 LIBS="$LIBS "
14019 for ac_func in \
14020 pthread_getthreadid_np \
14021 $PTHREAD_LIBS
14022 do :
14023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14025 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14026 cat >>confdefs.h <<_ACEOF
14027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14028 _ACEOF
14031 done
14033 LIBS="$ac_wine_check_funcs_save_LIBS"
14035 if test "$ac_cv_header_zlib_h" = "yes"
14036 then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14038 $as_echo_n "checking for inflate in -lz... " >&6; }
14039 if ${ac_cv_lib_z_inflate+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_check_lib_save_LIBS=$LIBS
14043 LIBS="-lz $LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 #ifdef __cplusplus
14051 extern "C"
14052 #endif
14053 char inflate ();
14055 main ()
14057 return inflate ();
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_lib_z_inflate=yes
14064 else
14065 ac_cv_lib_z_inflate=no
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_lib_save_LIBS
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14072 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14073 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14075 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14077 Z_LIBS="-lz"
14082 if test "x$Z_LIBS" = "x"; then :
14083 case "x$with_zlib" in
14084 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14085 xno) ;;
14086 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14087 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14088 esac
14092 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14093 then
14094 if test "$ac_cv_header_gettext_po_h" = "yes"
14095 then
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14097 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14098 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_check_lib_save_LIBS=$LIBS
14102 LIBS="-lgettextpo $LIBS"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14109 #ifdef __cplusplus
14110 extern "C"
14111 #endif
14112 char po_message_msgctxt ();
14114 main ()
14116 return po_message_msgctxt ();
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14123 else
14124 ac_cv_lib_gettextpo_po_message_msgctxt=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS=$ac_check_lib_save_LIBS
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14131 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14132 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14134 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14136 GETTEXTPO_LIBS="-lgettextpo"
14141 if test "x$GETTEXTPO_LIBS" = "x"; then :
14142 case "x$with_gettextpo" in
14143 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14144 xno) ;;
14145 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14146 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14147 esac
14150 if test "$srcdir" != .; then :
14151 case "x$with_gettextpo" in
14152 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14153 xno) ;;
14154 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14155 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14156 esac
14161 if test "x$with_pulse" != "xno";
14162 then
14163 if ${PULSE_CFLAGS:+false} :; then :
14164 if ${PKG_CONFIG+:} false; then :
14165 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14169 if ${PULSE_LIBS:+false} :; then :
14170 if ${PKG_CONFIG+:} false; then :
14171 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14176 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14177 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14178 ac_save_CPPFLAGS=$CPPFLAGS
14179 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14180 for ac_header in pulse/pulseaudio.h
14181 do :
14182 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14183 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14184 cat >>confdefs.h <<_ACEOF
14185 #define HAVE_PULSE_PULSEAUDIO_H 1
14186 _ACEOF
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14188 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14189 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 ac_check_lib_save_LIBS=$LIBS
14193 LIBS="-lpulse $PULSE_LIBS $LIBS"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 #ifdef __cplusplus
14201 extern "C"
14202 #endif
14203 char pa_stream_is_corked ();
14205 main ()
14207 return pa_stream_is_corked ();
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_lib_pulse_pa_stream_is_corked=yes
14214 else
14215 ac_cv_lib_pulse_pa_stream_is_corked=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_lib_save_LIBS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14222 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14223 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14225 else
14226 PULSE_LIBS=""
14229 else
14230 PULSE_LIBS=""
14233 done
14235 CPPFLAGS=$ac_save_CPPFLAGS
14236 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14237 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14240 if test -z "$PULSE_LIBS"; then :
14241 case "x$with_pulse" in
14242 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14243 xno) ;;
14244 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14245 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14246 esac
14247 enable_winepulse_drv=${enable_winepulse_drv:-no}
14250 if test "x$with_gstreamer" != "xno"
14251 then
14252 if ${GSTREAMER_CFLAGS:+false} :; then :
14253 if ${PKG_CONFIG+:} false; then :
14254 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14258 if ${GSTREAMER_LIBS:+false} :; then :
14259 if ${PKG_CONFIG+:} false; then :
14260 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14265 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14266 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14267 ac_save_CPPFLAGS=$CPPFLAGS
14268 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14269 ac_gst_incl=""
14270 for i in $GSTREAMER_CFLAGS
14272 case "$i" in
14273 -I*) ac_gst_incl="$ac_gst_incl $i";;
14274 esac
14275 done
14276 GSTREAMER_CFLAGS=$ac_gst_incl
14277 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14278 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14279 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14281 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 #include <gst/gst.h>
14286 main ()
14288 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_compile "$LINENO"; then :
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14295 $as_echo "yes" >&6; }
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14297 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14298 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_check_lib_save_LIBS=$LIBS
14302 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 /* Override any GCC internal prototype to avoid an error.
14307 Use char because int might match the return type of a GCC
14308 builtin and then its argument prototype would still apply. */
14309 #ifdef __cplusplus
14310 extern "C"
14311 #endif
14312 char gst_pad_new ();
14314 main ()
14316 return gst_pad_new ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14323 else
14324 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 LIBS=$ac_check_lib_save_LIBS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14331 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14332 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14336 else
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14339 ac_glib2_broken=yes
14340 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14346 CPPFLAGS=$ac_save_CPPFLAGS
14347 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14348 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14351 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 :
14352 case "x$with_gstreamer" in
14353 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14354 xno) ;;
14355 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14356 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14357 esac
14360 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14362 ALSA_LIBS=""
14364 if test "x$with_alsa" != "xno"
14365 then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14367 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14368 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_check_lib_save_LIBS=$LIBS
14372 LIBS="-lasound $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char snd_pcm_hw_params_get_access_mask ();
14384 main ()
14386 return snd_pcm_hw_params_get_access_mask ();
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14393 else
14394 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14401 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14402 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14405 #include <alsa/asoundlib.h>
14407 main ()
14409 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14411 return 0;
14413 _ACEOF
14414 if ac_fn_c_try_compile "$LINENO"; then :
14415 ALSA_LIBS="-lasound"
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14421 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14423 if test "x$with_oss" != xno
14424 then
14425 ac_save_CPPFLAGS="$CPPFLAGS"
14426 if test -f /etc/oss.conf
14427 then
14428 . /etc/oss.conf
14430 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14431 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14432 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14433 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14434 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14436 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14440 _ACEOF
14442 OSS4_CFLAGS="$ac_oss_incl"
14449 CPPFLAGS="$ac_save_CPPFLAGS"
14451 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14452 case "x$with_oss" in
14453 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14454 xno) ;;
14455 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14456 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14457 esac
14458 enable_wineoss_drv=${enable_wineoss_drv:-no}
14461 if test "x$with_udev" != "xno"
14462 then
14463 if ${UDEV_CFLAGS:+false} :; then :
14464 if ${PKG_CONFIG+:} false; then :
14465 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14469 if ${UDEV_LIBS:+false} :; then :
14470 if ${PKG_CONFIG+:} false; then :
14471 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14475 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14476 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14477 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14478 ac_save_CPPFLAGS=$CPPFLAGS
14479 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14480 for ac_header in libudev.h
14481 do :
14482 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14483 if test "x$ac_cv_header_libudev_h" = xyes; then :
14484 cat >>confdefs.h <<_ACEOF
14485 #define HAVE_LIBUDEV_H 1
14486 _ACEOF
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14488 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14489 if ${ac_cv_lib_udev_udev_new+:} false; then :
14490 $as_echo_n "(cached) " >&6
14491 else
14492 ac_check_lib_save_LIBS=$LIBS
14493 LIBS="-ludev $UDEV_LIBS $LIBS"
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 /* Override any GCC internal prototype to avoid an error.
14498 Use char because int might match the return type of a GCC
14499 builtin and then its argument prototype would still apply. */
14500 #ifdef __cplusplus
14501 extern "C"
14502 #endif
14503 char udev_new ();
14505 main ()
14507 return udev_new ();
14509 return 0;
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 ac_cv_lib_udev_udev_new=yes
14514 else
14515 ac_cv_lib_udev_udev_new=no
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 LIBS=$ac_check_lib_save_LIBS
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14522 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14523 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14525 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14527 else
14528 UDEV_LIBS=""
14531 else
14532 UDEV_LIBS=""
14535 done
14537 CPPFLAGS=$ac_save_CPPFLAGS
14538 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14539 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14542 if test "x$UDEV_LIBS" = "x"; then :
14543 case "x$with_udev" in
14544 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14545 xno) ;;
14546 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14547 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14548 esac
14552 if test "x$with_sdl" != "xno"
14553 then
14554 if ${SDL2_CFLAGS:+false} :; then :
14555 if ${PKG_CONFIG+:} false; then :
14556 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14560 if ${SDL2_LIBS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14566 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14567 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14568 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14569 ac_save_CPPFLAGS=$CPPFLAGS
14570 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14571 for ac_header in SDL2/SDL.h
14572 do :
14573 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14574 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14575 cat >>confdefs.h <<_ACEOF
14576 #define HAVE_SDL2_SDL_H 1
14577 _ACEOF
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14579 $as_echo_n "checking for -lSDL2... " >&6; }
14580 if ${ac_cv_lib_soname_SDL2+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_check_soname_save_LIBS=$LIBS
14584 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 #ifdef __cplusplus
14592 extern "C"
14593 #endif
14594 char SDL_Init ();
14596 main ()
14598 return SDL_Init ();
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 case "$LIBEXT" in
14605 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14606 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'` ;;
14607 *) 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'`
14608 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14609 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14610 fi ;;
14611 esac
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext conftest.$ac_ext
14615 LIBS=$ac_check_soname_save_LIBS
14617 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14619 $as_echo "not found" >&6; }
14621 else
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14623 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14625 cat >>confdefs.h <<_ACEOF
14626 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14627 _ACEOF
14633 done
14635 CPPFLAGS=$ac_save_CPPFLAGS
14636 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14637 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14640 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14641 case "x$with_sdl" in
14642 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14643 xno) ;;
14644 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14645 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14646 esac
14650 if test "x$with_faudio" != "xno"
14651 then
14652 if ${FAUDIO_CFLAGS:+false} :; then :
14653 if ${PKG_CONFIG+:} false; then :
14654 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14658 if ${FAUDIO_LIBS:+false} :; then :
14659 if ${PKG_CONFIG+:} false; then :
14660 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14664 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14665 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14666 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14667 ac_save_CPPFLAGS=$CPPFLAGS
14668 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14669 for ac_header in FAudio.h
14670 do :
14671 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14672 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14673 cat >>confdefs.h <<_ACEOF
14674 #define HAVE_FAUDIO_H 1
14675 _ACEOF
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14677 $as_echo_n "checking for -lFAudio... " >&6; }
14678 if ${ac_cv_lib_soname_FAudio+:} false; then :
14679 $as_echo_n "(cached) " >&6
14680 else
14681 ac_check_soname_save_LIBS=$LIBS
14682 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14686 /* Override any GCC internal prototype to avoid an error.
14687 Use char because int might match the return type of a GCC
14688 builtin and then its argument prototype would still apply. */
14689 #ifdef __cplusplus
14690 extern "C"
14691 #endif
14692 char FAudioCreate ();
14694 main ()
14696 return FAudioCreate ();
14698 return 0;
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"; then :
14702 case "$LIBEXT" in
14703 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14704 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'` ;;
14705 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14706 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14707 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14708 fi ;;
14709 esac
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14713 LIBS=$ac_check_soname_save_LIBS
14715 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14717 $as_echo "not found" >&6; }
14719 else
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14721 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14723 cat >>confdefs.h <<_ACEOF
14724 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14725 _ACEOF
14731 done
14733 CPPFLAGS=$ac_save_CPPFLAGS
14734 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14735 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14738 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14739 case "x$with_faudio" in
14740 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14741 xno) ;;
14742 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14743 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14744 esac
14748 if test "x$with_capi" != "xno"
14749 then
14750 if ${CAPI20_CFLAGS:+false} :; then :
14751 if ${PKG_CONFIG+:} false; then :
14752 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14756 if ${CAPI20_LIBS:+false} :; then :
14757 if ${PKG_CONFIG+:} false; then :
14758 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14763 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14764 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14765 ac_save_CPPFLAGS=$CPPFLAGS
14766 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14767 for ac_header in capi20.h linux/capi.h
14768 do :
14769 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14770 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14772 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14773 cat >>confdefs.h <<_ACEOF
14774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14775 _ACEOF
14779 done
14781 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14782 then
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14784 $as_echo_n "checking for -lcapi20... " >&6; }
14785 if ${ac_cv_lib_soname_capi20+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_check_soname_save_LIBS=$LIBS
14789 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14796 #ifdef __cplusplus
14797 extern "C"
14798 #endif
14799 char capi20_register ();
14801 main ()
14803 return capi20_register ();
14805 return 0;
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"; then :
14809 case "$LIBEXT" in
14810 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14811 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'` ;;
14812 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14813 if ${ac_cv_lib_soname_capi20:+false} :; then :
14814 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14815 fi ;;
14816 esac
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 LIBS=$ac_check_soname_save_LIBS
14822 if ${ac_cv_lib_soname_capi20:+false} :; then :
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14824 $as_echo "not found" >&6; }
14826 else
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14828 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14830 cat >>confdefs.h <<_ACEOF
14831 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14832 _ACEOF
14837 CPPFLAGS=$ac_save_CPPFLAGS
14838 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14839 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14842 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14843 case "x$with_capi" in
14844 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14845 xno) ;;
14846 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14847 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14848 esac
14852 if test "x$with_cups" != "xno"
14853 then
14854 if ${CUPS_CFLAGS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14859 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14860 if ${CUPS_LIBS:+false} :; then :
14861 if ${PKG_CONFIG+:} false; then :
14862 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14865 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14866 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14867 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14868 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14869 ac_save_CPPFLAGS=$CPPFLAGS
14870 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14871 for ac_header in cups/cups.h cups/ppd.h
14872 do :
14873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14874 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14876 cat >>confdefs.h <<_ACEOF
14877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14878 _ACEOF
14882 done
14884 if test "$ac_cv_header_cups_cups_h" = "yes"
14885 then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14887 $as_echo_n "checking for -lcups... " >&6; }
14888 if ${ac_cv_lib_soname_cups+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 ac_check_soname_save_LIBS=$LIBS
14892 LIBS="-lcups $CUPS_LIBS $LIBS"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 /* Override any GCC internal prototype to avoid an error.
14897 Use char because int might match the return type of a GCC
14898 builtin and then its argument prototype would still apply. */
14899 #ifdef __cplusplus
14900 extern "C"
14901 #endif
14902 char cupsGetDefault ();
14904 main ()
14906 return cupsGetDefault ();
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_link "$LINENO"; then :
14912 case "$LIBEXT" in
14913 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14914 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'` ;;
14915 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14916 if ${ac_cv_lib_soname_cups:+false} :; then :
14917 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14918 fi ;;
14919 esac
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 LIBS=$ac_check_soname_save_LIBS
14925 if ${ac_cv_lib_soname_cups:+false} :; then :
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14927 $as_echo "not found" >&6; }
14928 CUPS_LIBS=""
14929 else
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14931 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14933 cat >>confdefs.h <<_ACEOF
14934 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14935 _ACEOF
14939 else
14940 CUPS_CFLAGS=""
14941 CUPS_LIBS=""
14943 CPPFLAGS=$ac_save_CPPFLAGS
14944 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14945 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14948 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14949 case "x$with_cups" in
14950 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14951 xno) ;;
14952 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14953 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14954 esac
14958 if test "x$with_fontconfig" != "xno"
14959 then
14960 if ${FONTCONFIG_CFLAGS:+false} :; then :
14961 if ${PKG_CONFIG+:} false; then :
14962 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14965 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14966 if ${FONTCONFIG_LIBS:+false} :; then :
14967 if ${PKG_CONFIG+:} false; then :
14968 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14971 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14973 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14974 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14975 ac_save_CPPFLAGS=$CPPFLAGS
14976 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14977 for ac_header in fontconfig/fontconfig.h
14978 do :
14979 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14980 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14981 cat >>confdefs.h <<_ACEOF
14982 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14983 _ACEOF
14987 done
14989 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14990 then
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14992 $as_echo_n "checking for -lfontconfig... " >&6; }
14993 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 ac_check_soname_save_LIBS=$LIBS
14997 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15001 /* Override any GCC internal prototype to avoid an error.
15002 Use char because int might match the return type of a GCC
15003 builtin and then its argument prototype would still apply. */
15004 #ifdef __cplusplus
15005 extern "C"
15006 #endif
15007 char FcInit ();
15009 main ()
15011 return FcInit ();
15013 return 0;
15015 _ACEOF
15016 if ac_fn_c_try_link "$LINENO"; then :
15017 case "$LIBEXT" in
15018 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15019 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'` ;;
15020 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15021 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15022 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15023 fi ;;
15024 esac
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_soname_save_LIBS
15030 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15032 $as_echo "not found" >&6; }
15033 FONTCONFIG_CFLAGS=""
15034 else
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15036 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15038 cat >>confdefs.h <<_ACEOF
15039 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15040 _ACEOF
15044 else
15045 FONTCONFIG_CFLAGS=""
15047 CPPFLAGS=$ac_save_CPPFLAGS
15048 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15049 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15052 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15053 case "x$with_fontconfig" in
15054 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15055 xno) ;;
15056 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15057 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15058 esac
15062 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15063 then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15065 $as_echo_n "checking for -lgsm... " >&6; }
15066 if ${ac_cv_lib_soname_gsm+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_check_soname_save_LIBS=$LIBS
15070 LIBS="-lgsm $LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15077 #ifdef __cplusplus
15078 extern "C"
15079 #endif
15080 char gsm_create ();
15082 main ()
15084 return gsm_create ();
15086 return 0;
15088 _ACEOF
15089 if ac_fn_c_try_link "$LINENO"; then :
15090 case "$LIBEXT" in
15091 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15092 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'` ;;
15093 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15094 if ${ac_cv_lib_soname_gsm:+false} :; then :
15095 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15096 fi ;;
15097 esac
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_gsm:+false} :; then :
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15105 $as_echo "not found" >&6; }
15107 else
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15109 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15111 cat >>confdefs.h <<_ACEOF
15112 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15113 _ACEOF
15118 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15119 case "x$with_gsm" in
15120 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15121 xno) ;;
15122 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15123 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15124 esac
15128 if test "x$with_krb5" != "xno"
15129 then
15130 if ${KRB5_CFLAGS:+false} :; then :
15131 if ${PKG_CONFIG+:} false; then :
15132 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15135 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15136 if ${KRB5_LIBS:+false} :; then :
15137 if ${PKG_CONFIG+:} false; then :
15138 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15141 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15143 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15144 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15145 ac_save_CPPFLAGS=$CPPFLAGS
15146 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15147 for ac_header in krb5/krb5.h
15148 do :
15149 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15150 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15151 cat >>confdefs.h <<_ACEOF
15152 #define HAVE_KRB5_KRB5_H 1
15153 _ACEOF
15157 done
15159 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15160 then
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15162 $as_echo_n "checking for -lkrb5... " >&6; }
15163 if ${ac_cv_lib_soname_krb5+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_check_soname_save_LIBS=$LIBS
15167 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15174 #ifdef __cplusplus
15175 extern "C"
15176 #endif
15177 char krb5_is_config_principal ();
15179 main ()
15181 return krb5_is_config_principal ();
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 case "$LIBEXT" in
15188 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15189 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'` ;;
15190 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15191 if ${ac_cv_lib_soname_krb5:+false} :; then :
15192 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15193 fi ;;
15194 esac
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15198 LIBS=$ac_check_soname_save_LIBS
15200 if ${ac_cv_lib_soname_krb5:+false} :; then :
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15202 $as_echo "not found" >&6; }
15203 KRB5_CFLAGS=""
15204 else
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15206 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15208 cat >>confdefs.h <<_ACEOF
15209 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15210 _ACEOF
15214 else
15215 KRB5_CFLAGS=""
15217 CPPFLAGS=$ac_save_CPPFLAGS
15218 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15219 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15221 else
15222 with_gssapi=${with_gssapi:-no}
15224 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15225 case "x$with_krb5" in
15226 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15227 xno) ;;
15228 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15229 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15230 esac
15234 if test "x$with_gssapi" != "xno"
15235 then
15236 if ${GSSAPI_CFLAGS:+false} :; then :
15237 if ${PKG_CONFIG+:} false; then :
15238 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15241 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15242 if ${GSSAPI_LIBS:+false} :; then :
15243 if ${PKG_CONFIG+:} false; then :
15244 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15247 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15249 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15250 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15251 ac_save_CPPFLAGS=$CPPFLAGS
15252 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15253 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15254 do :
15255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15256 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15257 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15258 cat >>confdefs.h <<_ACEOF
15259 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15260 _ACEOF
15264 done
15266 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15267 then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15269 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15270 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 ac_check_soname_save_LIBS=$LIBS
15274 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15278 /* Override any GCC internal prototype to avoid an error.
15279 Use char because int might match the return type of a GCC
15280 builtin and then its argument prototype would still apply. */
15281 #ifdef __cplusplus
15282 extern "C"
15283 #endif
15284 char gss_init_sec_context ();
15286 main ()
15288 return gss_init_sec_context ();
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 case "$LIBEXT" in
15295 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15296 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'` ;;
15297 *) 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'`
15298 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15299 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15300 fi ;;
15301 esac
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext conftest.$ac_ext
15305 LIBS=$ac_check_soname_save_LIBS
15307 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15309 $as_echo "not found" >&6; }
15310 GSSAPI_CFLAGS=""
15311 else
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15313 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15315 cat >>confdefs.h <<_ACEOF
15316 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15317 _ACEOF
15321 else
15322 GSSAPI_CFLAGS=""
15324 CPPFLAGS=$ac_save_CPPFLAGS
15325 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15326 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15329 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15330 case "x$with_gssapi" in
15331 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15332 xno) ;;
15333 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15334 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15335 esac
15339 if test "x$with_jpeg" != "xno"
15340 then
15341 if ${JPEG_CFLAGS:+false} :; then :
15342 if ${PKG_CONFIG+:} false; then :
15343 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15347 if ${JPEG_LIBS:+false} :; then :
15348 if ${PKG_CONFIG+:} false; then :
15349 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15354 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15355 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15356 ac_save_CPPFLAGS=$CPPFLAGS
15357 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15358 for ac_header in jpeglib.h
15359 do :
15360 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15361 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15362 cat >>confdefs.h <<_ACEOF
15363 #define HAVE_JPEGLIB_H 1
15364 _ACEOF
15368 done
15370 if test "$ac_cv_header_jpeglib_h" = "yes"
15371 then
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15373 $as_echo_n "checking for -ljpeg... " >&6; }
15374 if ${ac_cv_lib_soname_jpeg+:} false; then :
15375 $as_echo_n "(cached) " >&6
15376 else
15377 ac_check_soname_save_LIBS=$LIBS
15378 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 /* Override any GCC internal prototype to avoid an error.
15383 Use char because int might match the return type of a GCC
15384 builtin and then its argument prototype would still apply. */
15385 #ifdef __cplusplus
15386 extern "C"
15387 #endif
15388 char jpeg_start_decompress ();
15390 main ()
15392 return jpeg_start_decompress ();
15394 return 0;
15396 _ACEOF
15397 if ac_fn_c_try_link "$LINENO"; then :
15398 case "$LIBEXT" in
15399 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15400 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'` ;;
15401 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15402 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15403 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15404 fi ;;
15405 esac
15407 rm -f core conftest.err conftest.$ac_objext \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15413 $as_echo "not found" >&6; }
15414 JPEG_CFLAGS=""
15415 else
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15417 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15419 cat >>confdefs.h <<_ACEOF
15420 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15421 _ACEOF
15425 else
15426 JPEG_CFLAGS=""
15428 CPPFLAGS=$ac_save_CPPFLAGS
15429 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15430 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15433 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15434 case "x$with_jpeg" in
15435 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15436 xno) ;;
15437 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15438 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15439 esac
15443 if test "x$with_png" != "xno"
15444 then
15445 if ${PNG_CFLAGS:+false} :; then :
15446 if ${PKG_CONFIG+:} false; then :
15447 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15450 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15451 if ${PNG_LIBS:+false} :; then :
15452 if ${PKG_CONFIG+:} false; then :
15453 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15456 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15458 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15459 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15460 ac_save_CPPFLAGS=$CPPFLAGS
15461 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15462 for ac_header in png.h
15463 do :
15464 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15465 if test "x$ac_cv_header_png_h" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_PNG_H 1
15468 _ACEOF
15472 done
15474 if test "$ac_cv_header_png_h" = "yes"
15475 then
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15477 $as_echo_n "checking for -lpng... " >&6; }
15478 if ${ac_cv_lib_soname_png+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 ac_check_soname_save_LIBS=$LIBS
15482 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15489 #ifdef __cplusplus
15490 extern "C"
15491 #endif
15492 char png_create_read_struct ();
15494 main ()
15496 return png_create_read_struct ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) 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'`
15506 if ${ac_cv_lib_soname_png:+false} :; then :
15507 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15508 fi ;;
15509 esac
15511 rm -f core conftest.err conftest.$ac_objext \
15512 conftest$ac_exeext conftest.$ac_ext
15513 LIBS=$ac_check_soname_save_LIBS
15515 if ${ac_cv_lib_soname_png:+false} :; then :
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15517 $as_echo "not found" >&6; }
15518 PNG_CFLAGS=""
15519 else
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15521 $as_echo "$ac_cv_lib_soname_png" >&6; }
15523 cat >>confdefs.h <<_ACEOF
15524 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15525 _ACEOF
15529 else
15530 PNG_CFLAGS=""
15532 CPPFLAGS=$ac_save_CPPFLAGS
15533 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15534 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15537 if test "x$ac_cv_lib_soname_png" = "x"; then :
15538 case "x$with_png" in
15539 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15540 xno) ;;
15541 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15542 This is an error since --with-png was requested." "$LINENO" 5 ;;
15543 esac
15547 if test "x$with_tiff" != "xno"
15548 then
15549 if ${TIFF_CFLAGS:+false} :; then :
15550 if ${PKG_CONFIG+:} false; then :
15551 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15555 if ${TIFF_LIBS:+false} :; then :
15556 if ${PKG_CONFIG+:} false; then :
15557 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15562 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15563 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15564 ac_save_CPPFLAGS=$CPPFLAGS
15565 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15566 for ac_header in tiffio.h
15567 do :
15568 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15569 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define HAVE_TIFFIO_H 1
15572 _ACEOF
15576 done
15578 if test "$ac_cv_header_tiffio_h" = "yes"
15579 then
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15581 $as_echo_n "checking for -ltiff... " >&6; }
15582 if ${ac_cv_lib_soname_tiff+:} false; then :
15583 $as_echo_n "(cached) " >&6
15584 else
15585 ac_check_soname_save_LIBS=$LIBS
15586 LIBS="-ltiff $TIFF_LIBS $LIBS"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 #ifdef __cplusplus
15594 extern "C"
15595 #endif
15596 char TIFFClientOpen ();
15598 main ()
15600 return TIFFClientOpen ();
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 case "$LIBEXT" in
15607 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15608 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'` ;;
15609 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15610 if ${ac_cv_lib_soname_tiff:+false} :; then :
15611 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15612 fi ;;
15613 esac
15615 rm -f core conftest.err conftest.$ac_objext \
15616 conftest$ac_exeext conftest.$ac_ext
15617 LIBS=$ac_check_soname_save_LIBS
15619 if ${ac_cv_lib_soname_tiff:+false} :; then :
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15621 $as_echo "not found" >&6; }
15623 else
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15625 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15627 cat >>confdefs.h <<_ACEOF
15628 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15629 _ACEOF
15634 CPPFLAGS=$ac_save_CPPFLAGS
15635 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15636 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15639 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15640 case "x$with_tiff" in
15641 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15642 xno) ;;
15643 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15644 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15645 esac
15649 if test "x$with_mpg123" != "xno"
15650 then
15651 if ${MPG123_CFLAGS:+false} :; then :
15652 if ${PKG_CONFIG+:} false; then :
15653 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15657 if ${MPG123_LIBS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15663 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15664 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15665 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15666 ac_save_CPPFLAGS=$CPPFLAGS
15667 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15668 for ac_header in mpg123.h
15669 do :
15670 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15671 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_MPG123_H 1
15674 _ACEOF
15678 done
15680 if test "$ac_cv_header_mpg123_h" = "yes"
15681 then
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15683 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15684 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15687 ac_check_lib_save_LIBS=$LIBS
15688 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char mpg123_feed ();
15700 main ()
15702 return mpg123_feed ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 ac_cv_lib_mpg123_mpg123_feed=yes
15709 else
15710 ac_cv_lib_mpg123_mpg123_feed=no
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_lib_save_LIBS
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15717 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15718 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15720 else
15721 MPG123_LIBS=""
15724 else
15725 MPG123_CFLAGS=""
15726 MPG123_LIBS=""
15728 CPPFLAGS=$ac_save_CPPFLAGS
15729 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15730 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15733 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15734 case "x$with_mpg123" in
15735 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15738 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15739 esac
15740 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15742 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15744 if test "$ac_cv_header_AL_al_h" = "yes"
15745 then
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15747 $as_echo_n "checking for -lopenal... " >&6; }
15748 if ${ac_cv_lib_soname_openal+:} false; then :
15749 $as_echo_n "(cached) " >&6
15750 else
15751 ac_check_soname_save_LIBS=$LIBS
15752 LIBS="-lopenal $LIBS"
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h. */
15756 /* Override any GCC internal prototype to avoid an error.
15757 Use char because int might match the return type of a GCC
15758 builtin and then its argument prototype would still apply. */
15759 #ifdef __cplusplus
15760 extern "C"
15761 #endif
15762 char alGetSource3i ();
15764 main ()
15766 return alGetSource3i ();
15768 return 0;
15770 _ACEOF
15771 if ac_fn_c_try_link "$LINENO"; then :
15772 case "$LIBEXT" in
15773 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15774 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'` ;;
15775 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15776 if ${ac_cv_lib_soname_openal:+false} :; then :
15777 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15778 fi ;;
15779 esac
15781 rm -f core conftest.err conftest.$ac_objext \
15782 conftest$ac_exeext conftest.$ac_ext
15783 LIBS=$ac_check_soname_save_LIBS
15785 if ${ac_cv_lib_soname_openal:+false} :; then :
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15787 $as_echo "not found" >&6; }
15789 else
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15791 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15793 cat >>confdefs.h <<_ACEOF
15794 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15795 _ACEOF
15797 OPENAL_LIBS="-lopenal"
15799 ac_cv_lib_openal=yes
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_OPENAL 1
15803 _ACEOF
15807 if test "x$ac_cv_lib_openal" != xyes; then :
15808 case "x$with_openal" in
15809 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15810 xno) ;;
15811 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15812 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15813 esac
15814 enable_openal32=${enable_openal32:-no}
15817 if test "x$ac_cv_lib_soname_FAudio" = "x"
15818 then
15819 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15820 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15821 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15822 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15823 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15824 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15825 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15826 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15827 enable_xapofx1_1=${enable_xapofx1_1:-no}
15828 enable_xapofx1_2=${enable_xapofx1_2:-no}
15829 enable_xapofx1_3=${enable_xapofx1_3:-no}
15830 enable_xapofx1_4=${enable_xapofx1_4:-no}
15831 enable_xapofx1_5=${enable_xapofx1_5:-no}
15832 enable_xaudio2_0=${enable_xaudio2_0:-no}
15833 enable_xaudio2_1=${enable_xaudio2_1:-no}
15834 enable_xaudio2_2=${enable_xaudio2_2:-no}
15835 enable_xaudio2_3=${enable_xaudio2_3:-no}
15836 enable_xaudio2_4=${enable_xaudio2_4:-no}
15837 enable_xaudio2_5=${enable_xaudio2_5:-no}
15838 enable_xaudio2_6=${enable_xaudio2_6:-no}
15839 enable_xaudio2_7=${enable_xaudio2_7:-no}
15840 enable_xaudio2_8=${enable_xaudio2_8:-no}
15841 enable_xaudio2_9=${enable_xaudio2_9:-no}
15844 if test "$ac_cv_header_kstat_h" = "yes"
15845 then
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15847 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15848 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15851 ac_check_lib_save_LIBS=$LIBS
15852 LIBS="-lkstat $LIBS"
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15856 /* Override any GCC internal prototype to avoid an error.
15857 Use char because int might match the return type of a GCC
15858 builtin and then its argument prototype would still apply. */
15859 #ifdef __cplusplus
15860 extern "C"
15861 #endif
15862 char kstat_open ();
15864 main ()
15866 return kstat_open ();
15868 return 0;
15870 _ACEOF
15871 if ac_fn_c_try_link "$LINENO"; then :
15872 ac_cv_lib_kstat_kstat_open=yes
15873 else
15874 ac_cv_lib_kstat_kstat_open=no
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_lib_save_LIBS
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15881 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15882 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15884 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15886 KSTAT_LIBS="-lkstat"
15892 if test "$ac_cv_header_libprocstat_h" = "yes"
15893 then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15895 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15896 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15897 $as_echo_n "(cached) " >&6
15898 else
15899 ac_check_lib_save_LIBS=$LIBS
15900 LIBS="-lprocstat $LIBS"
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15907 #ifdef __cplusplus
15908 extern "C"
15909 #endif
15910 char procstat_open_sysctl ();
15912 main ()
15914 return procstat_open_sysctl ();
15916 return 0;
15918 _ACEOF
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 ac_cv_lib_procstat_procstat_open_sysctl=yes
15921 else
15922 ac_cv_lib_procstat_procstat_open_sysctl=no
15924 rm -f core conftest.err conftest.$ac_objext \
15925 conftest$ac_exeext conftest.$ac_ext
15926 LIBS=$ac_check_lib_save_LIBS
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15929 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15930 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15932 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15934 PROCSTAT_LIBS="-lprocstat"
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15941 $as_echo_n "checking for -lodbc... " >&6; }
15942 if ${ac_cv_lib_soname_odbc+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 ac_check_soname_save_LIBS=$LIBS
15946 LIBS="-lodbc $LIBS"
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15950 /* Override any GCC internal prototype to avoid an error.
15951 Use char because int might match the return type of a GCC
15952 builtin and then its argument prototype would still apply. */
15953 #ifdef __cplusplus
15954 extern "C"
15955 #endif
15956 char SQLConnect ();
15958 main ()
15960 return SQLConnect ();
15962 return 0;
15964 _ACEOF
15965 if ac_fn_c_try_link "$LINENO"; then :
15966 case "$LIBEXT" in
15967 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15968 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'` ;;
15969 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15970 if ${ac_cv_lib_soname_odbc:+false} :; then :
15971 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15972 fi ;;
15973 esac
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 LIBS=$ac_check_soname_save_LIBS
15979 if ${ac_cv_lib_soname_odbc:+false} :; then :
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15981 $as_echo "not found" >&6; }
15982 cat >>confdefs.h <<_ACEOF
15983 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15984 _ACEOF
15986 else
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15988 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15990 cat >>confdefs.h <<_ACEOF
15991 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15992 _ACEOF
15997 if test "x$with_netapi" != "xno"
15998 then
15999 if ${NETAPI_CFLAGS:+false} :; then :
16000 if ${PKG_CONFIG+:} false; then :
16001 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16005 if ${NETAPI_LIBS:+false} :; then :
16006 if ${PKG_CONFIG+:} false; then :
16007 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16012 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16013 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16014 ac_save_CPPFLAGS=$CPPFLAGS
16015 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16017 $as_echo_n "checking for -lnetapi... " >&6; }
16018 if ${ac_cv_lib_soname_netapi+:} false; then :
16019 $as_echo_n "(cached) " >&6
16020 else
16021 ac_check_soname_save_LIBS=$LIBS
16022 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16026 /* Override any GCC internal prototype to avoid an error.
16027 Use char because int might match the return type of a GCC
16028 builtin and then its argument prototype would still apply. */
16029 #ifdef __cplusplus
16030 extern "C"
16031 #endif
16032 char libnetapi_init ();
16034 main ()
16036 return libnetapi_init ();
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 case "$LIBEXT" in
16043 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16044 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'` ;;
16045 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16046 if ${ac_cv_lib_soname_netapi:+false} :; then :
16047 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16048 fi ;;
16049 esac
16051 rm -f core conftest.err conftest.$ac_objext \
16052 conftest$ac_exeext conftest.$ac_ext
16053 LIBS=$ac_check_soname_save_LIBS
16055 if ${ac_cv_lib_soname_netapi:+false} :; then :
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16057 $as_echo "not found" >&6; }
16058 cat >>confdefs.h <<_ACEOF
16059 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16060 _ACEOF
16062 else
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16064 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16066 cat >>confdefs.h <<_ACEOF
16067 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16068 _ACEOF
16072 CPPFLAGS=$ac_save_CPPFLAGS
16073 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16074 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16078 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16079 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16080 then
16081 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16084 if test "x$with_vulkan" != "xno"
16085 then
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16087 $as_echo_n "checking for -lvulkan... " >&6; }
16088 if ${ac_cv_lib_soname_vulkan+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_check_soname_save_LIBS=$LIBS
16092 LIBS="-lvulkan $LIBS"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 #ifdef __cplusplus
16100 extern "C"
16101 #endif
16102 char vkGetInstanceProcAddr ();
16104 main ()
16106 return vkGetInstanceProcAddr ();
16108 return 0;
16110 _ACEOF
16111 if ac_fn_c_try_link "$LINENO"; then :
16112 case "$LIBEXT" in
16113 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16114 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'` ;;
16115 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16116 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16117 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16118 fi ;;
16119 esac
16121 rm -f core conftest.err conftest.$ac_objext \
16122 conftest$ac_exeext conftest.$ac_ext
16123 LIBS=$ac_check_soname_save_LIBS
16125 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16127 $as_echo "not found" >&6; }
16129 else
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16131 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16133 cat >>confdefs.h <<_ACEOF
16134 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16135 _ACEOF
16139 if test "x$ac_cv_lib_soname_vulkan" = "x"
16140 then
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16142 $as_echo_n "checking for -lMoltenVK... " >&6; }
16143 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16144 $as_echo_n "(cached) " >&6
16145 else
16146 ac_check_soname_save_LIBS=$LIBS
16147 LIBS="-lMoltenVK $LIBS"
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16154 #ifdef __cplusplus
16155 extern "C"
16156 #endif
16157 char vkGetInstanceProcAddr ();
16159 main ()
16161 return vkGetInstanceProcAddr ();
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 case "$LIBEXT" in
16168 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16169 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'` ;;
16170 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16171 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16172 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16173 fi ;;
16174 esac
16176 rm -f core conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_soname_save_LIBS
16180 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16182 $as_echo "not found" >&6; }
16184 else
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16186 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16188 cat >>confdefs.h <<_ACEOF
16189 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16190 _ACEOF
16196 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16197 case "x$with_vulkan" in
16198 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16199 xno) ;;
16200 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16201 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16202 esac
16206 if test "x$with_vkd3d" != "xno"
16207 then
16208 if ${VKD3D_CFLAGS:+false} :; then :
16209 if ${PKG_CONFIG+:} false; then :
16210 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16214 if ${VKD3D_LIBS:+false} :; then :
16215 if ${PKG_CONFIG+:} false; then :
16216 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16221 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16222 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16223 ac_save_CPPFLAGS=$CPPFLAGS
16224 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16226 $as_echo_n "checking for -lvkd3d... " >&6; }
16227 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16228 $as_echo_n "(cached) " >&6
16229 else
16230 ac_check_soname_save_LIBS=$LIBS
16231 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16233 /* end confdefs.h. */
16235 /* Override any GCC internal prototype to avoid an error.
16236 Use char because int might match the return type of a GCC
16237 builtin and then its argument prototype would still apply. */
16238 #ifdef __cplusplus
16239 extern "C"
16240 #endif
16241 char vkd3d_get_dxgi_format ();
16243 main ()
16245 return vkd3d_get_dxgi_format ();
16247 return 0;
16249 _ACEOF
16250 if ac_fn_c_try_link "$LINENO"; then :
16251 case "$LIBEXT" in
16252 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16253 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'` ;;
16254 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16255 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16256 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16257 fi ;;
16258 esac
16260 rm -f core conftest.err conftest.$ac_objext \
16261 conftest$ac_exeext conftest.$ac_ext
16262 LIBS=$ac_check_soname_save_LIBS
16264 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16266 $as_echo "not found" >&6; }
16268 else
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16270 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16272 cat >>confdefs.h <<_ACEOF
16273 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16274 _ACEOF
16278 CPPFLAGS=$ac_save_CPPFLAGS
16279 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16280 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16283 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16284 case "x$with_vkd3d" in
16285 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16286 xno) ;;
16287 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16288 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16289 esac
16292 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16295 EXTRACFLAGS=""
16297 if test "x${GCC}" = "xyes"
16298 then
16299 EXTRACFLAGS="-Wall -pipe"
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16302 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16303 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16304 $as_echo_n "(cached) " >&6
16305 else
16306 if test "$cross_compiling" = yes; then :
16307 ac_cv_c_gcc_strength_bug="no"
16308 else
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16311 int L[4] = {0,1,2,3};
16313 main ()
16315 static int Array[3];
16316 unsigned int B = 3;
16317 int i;
16318 for(i=0; i<B; i++) Array[i] = i - 3;
16319 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16320 L[i] = 4;
16321 return (Array[1] != -2 || L[2] != 3)
16323 return 0;
16325 _ACEOF
16326 if ac_fn_c_try_run "$LINENO"; then :
16327 ac_cv_c_gcc_strength_bug="no"
16328 else
16329 ac_cv_c_gcc_strength_bug="yes"
16331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16332 conftest.$ac_objext conftest.beam conftest.$ac_ext
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16337 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16338 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16339 then
16340 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16344 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16345 if ${ac_cv_cflags__fno_builtin+:} false; then :
16346 $as_echo_n "(cached) " >&6
16347 else
16348 ac_wine_try_cflags_saved=$CFLAGS
16349 CFLAGS="$CFLAGS -fno-builtin"
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16352 int main(int argc, char **argv) { return 0; }
16353 _ACEOF
16354 if ac_fn_c_try_link "$LINENO"; then :
16355 ac_cv_cflags__fno_builtin=yes
16356 else
16357 ac_cv_cflags__fno_builtin=no
16359 rm -f core conftest.err conftest.$ac_objext \
16360 conftest$ac_exeext conftest.$ac_ext
16361 CFLAGS=$ac_wine_try_cflags_saved
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16364 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16365 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16366 BUILTINFLAG="-fno-builtin"
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16370 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16371 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 ac_wine_try_cflags_saved=$CFLAGS
16375 CFLAGS="$CFLAGS -fno-strict-aliasing"
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16378 int main(int argc, char **argv) { return 0; }
16379 _ACEOF
16380 if ac_fn_c_try_link "$LINENO"; then :
16381 ac_cv_cflags__fno_strict_aliasing=yes
16382 else
16383 ac_cv_cflags__fno_strict_aliasing=no
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16387 CFLAGS=$ac_wine_try_cflags_saved
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16390 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16391 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16392 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16395 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16396 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16397 $as_echo_n "(cached) " >&6
16398 else
16399 ac_wine_try_cflags_saved=$CFLAGS
16400 CFLAGS="$CFLAGS -fexcess-precision=standard"
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 int main(int argc, char **argv) { return 0; }
16404 _ACEOF
16405 if ac_fn_c_try_link "$LINENO"; then :
16406 ac_cv_cflags__fexcess_precision_standard=yes
16407 else
16408 ac_cv_cflags__fexcess_precision_standard=no
16410 rm -f core conftest.err conftest.$ac_objext \
16411 conftest$ac_exeext conftest.$ac_ext
16412 CFLAGS=$ac_wine_try_cflags_saved
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16415 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16416 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16417 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16420 saved_CFLAGS=$CFLAGS
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16422 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16423 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16426 ac_wine_try_cflags_saved=$CFLAGS
16427 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 int main(int argc, char **argv) { return 0; }
16431 _ACEOF
16432 if ac_fn_c_try_link "$LINENO"; then :
16433 ac_cv_cflags__Werror_unknown_warning_option=yes
16434 else
16435 ac_cv_cflags__Werror_unknown_warning_option=no
16437 rm -f core conftest.err conftest.$ac_objext \
16438 conftest$ac_exeext conftest.$ac_ext
16439 CFLAGS=$ac_wine_try_cflags_saved
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16442 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16443 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16444 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16447 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16448 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 ac_wine_try_cflags_saved=$CFLAGS
16452 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455 int main(int argc, char **argv) { return 0; }
16456 _ACEOF
16457 if ac_fn_c_try_link "$LINENO"; then :
16458 ac_cv_cflags__Wdeclaration_after_statement=yes
16459 else
16460 ac_cv_cflags__Wdeclaration_after_statement=no
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16464 CFLAGS=$ac_wine_try_cflags_saved
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16467 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16468 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16469 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16472 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16473 if ${ac_cv_cflags__Wempty_body+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 ac_wine_try_cflags_saved=$CFLAGS
16477 CFLAGS="$CFLAGS -Wempty-body"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16480 int main(int argc, char **argv) { return 0; }
16481 _ACEOF
16482 if ac_fn_c_try_link "$LINENO"; then :
16483 ac_cv_cflags__Wempty_body=yes
16484 else
16485 ac_cv_cflags__Wempty_body=no
16487 rm -f core conftest.err conftest.$ac_objext \
16488 conftest$ac_exeext conftest.$ac_ext
16489 CFLAGS=$ac_wine_try_cflags_saved
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16492 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16493 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16494 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16497 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16498 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16499 $as_echo_n "(cached) " >&6
16500 else
16501 ac_wine_try_cflags_saved=$CFLAGS
16502 CFLAGS="$CFLAGS -Wignored-qualifiers"
16503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16505 int main(int argc, char **argv) { return 0; }
16506 _ACEOF
16507 if ac_fn_c_try_link "$LINENO"; then :
16508 ac_cv_cflags__Wignored_qualifiers=yes
16509 else
16510 ac_cv_cflags__Wignored_qualifiers=no
16512 rm -f core conftest.err conftest.$ac_objext \
16513 conftest$ac_exeext conftest.$ac_ext
16514 CFLAGS=$ac_wine_try_cflags_saved
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16517 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16518 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16519 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16522 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16523 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 ac_wine_try_cflags_saved=$CFLAGS
16527 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 int main(int argc, char **argv) { return 0; }
16531 _ACEOF
16532 if ac_fn_c_try_link "$LINENO"; then :
16533 ac_cv_cflags__Wpacked_not_aligned=yes
16534 else
16535 ac_cv_cflags__Wpacked_not_aligned=no
16537 rm -f core conftest.err conftest.$ac_objext \
16538 conftest$ac_exeext conftest.$ac_ext
16539 CFLAGS=$ac_wine_try_cflags_saved
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16542 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16543 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16544 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16547 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16548 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16549 $as_echo_n "(cached) " >&6
16550 else
16551 ac_wine_try_cflags_saved=$CFLAGS
16552 CFLAGS="$CFLAGS -Wpragma-pack"
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16555 int main(int argc, char **argv) { return 0; }
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 ac_cv_cflags__Wpragma_pack=yes
16559 else
16560 ac_cv_cflags__Wpragma_pack=no
16562 rm -f core conftest.err conftest.$ac_objext \
16563 conftest$ac_exeext conftest.$ac_ext
16564 CFLAGS=$ac_wine_try_cflags_saved
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16567 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16568 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16569 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16572 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16573 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 ac_wine_try_cflags_saved=$CFLAGS
16577 CFLAGS="$CFLAGS -Wshift-overflow=2"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 int main(int argc, char **argv) { return 0; }
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 ac_cv_cflags__Wshift_overflow_2=yes
16584 else
16585 ac_cv_cflags__Wshift_overflow_2=no
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16589 CFLAGS=$ac_wine_try_cflags_saved
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16592 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16593 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16594 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16597 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16598 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_wine_try_cflags_saved=$CFLAGS
16602 CFLAGS="$CFLAGS -Wstrict-prototypes"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 int main(int argc, char **argv) { return 0; }
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 ac_cv_cflags__Wstrict_prototypes=yes
16609 else
16610 ac_cv_cflags__Wstrict_prototypes=no
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16614 CFLAGS=$ac_wine_try_cflags_saved
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16617 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16618 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16619 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16622 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16623 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 ac_wine_try_cflags_saved=$CFLAGS
16627 CFLAGS="$CFLAGS -Wtype-limits"
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 int main(int argc, char **argv) { return 0; }
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"; then :
16633 ac_cv_cflags__Wtype_limits=yes
16634 else
16635 ac_cv_cflags__Wtype_limits=no
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 CFLAGS=$ac_wine_try_cflags_saved
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16642 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16643 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16644 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16647 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16648 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16649 $as_echo_n "(cached) " >&6
16650 else
16651 ac_wine_try_cflags_saved=$CFLAGS
16652 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16655 int main(int argc, char **argv) { return 0; }
16656 _ACEOF
16657 if ac_fn_c_try_link "$LINENO"; then :
16658 ac_cv_cflags__Wunused_but_set_parameter=yes
16659 else
16660 ac_cv_cflags__Wunused_but_set_parameter=no
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16664 CFLAGS=$ac_wine_try_cflags_saved
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16667 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16668 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16669 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16672 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16673 if ${ac_cv_cflags__Wvla+:} false; then :
16674 $as_echo_n "(cached) " >&6
16675 else
16676 ac_wine_try_cflags_saved=$CFLAGS
16677 CFLAGS="$CFLAGS -Wvla"
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 int main(int argc, char **argv) { return 0; }
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"; then :
16683 ac_cv_cflags__Wvla=yes
16684 else
16685 ac_cv_cflags__Wvla=no
16687 rm -f core conftest.err conftest.$ac_objext \
16688 conftest$ac_exeext conftest.$ac_ext
16689 CFLAGS=$ac_wine_try_cflags_saved
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16692 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16693 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16694 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16697 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16698 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 ac_wine_try_cflags_saved=$CFLAGS
16702 CFLAGS="$CFLAGS -Wwrite-strings"
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 int main(int argc, char **argv) { return 0; }
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 ac_cv_cflags__Wwrite_strings=yes
16709 else
16710 ac_cv_cflags__Wwrite_strings=no
16712 rm -f core conftest.err conftest.$ac_objext \
16713 conftest$ac_exeext conftest.$ac_ext
16714 CFLAGS=$ac_wine_try_cflags_saved
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16717 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16718 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16719 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16723 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16724 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16725 $as_echo_n "(cached) " >&6
16726 else
16727 ac_wine_try_cflags_saved=$CFLAGS
16728 CFLAGS="$CFLAGS -Wpointer-arith"
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16731 int main(int argc, char **argv) { return 0; }
16732 _ACEOF
16733 if ac_fn_c_try_link "$LINENO"; then :
16734 ac_cv_cflags__Wpointer_arith=yes
16735 else
16736 ac_cv_cflags__Wpointer_arith=no
16738 rm -f core conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16740 CFLAGS=$ac_wine_try_cflags_saved
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16743 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16744 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16745 saved_string_h_CFLAGS=$CFLAGS
16746 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16748 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16749 if ${ac_cv_c_string_h_warnings+:} false; then :
16750 $as_echo_n "(cached) " >&6
16751 else
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #include <string.h>
16756 main ()
16760 return 0;
16762 _ACEOF
16763 if ac_fn_c_try_compile "$LINENO"; then :
16764 ac_cv_c_string_h_warnings=no
16765 else
16766 ac_cv_c_string_h_warnings=yes
16768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16771 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16772 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16773 CFLAGS=$saved_string_h_CFLAGS
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16777 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16778 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 ac_wine_try_cflags_saved=$CFLAGS
16782 CFLAGS="$CFLAGS -Wlogical-op"
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16785 int main(int argc, char **argv) { return 0; }
16786 _ACEOF
16787 if ac_fn_c_try_link "$LINENO"; then :
16788 ac_cv_cflags__Wlogical_op=yes
16789 else
16790 ac_cv_cflags__Wlogical_op=no
16792 rm -f core conftest.err conftest.$ac_objext \
16793 conftest$ac_exeext conftest.$ac_ext
16794 CFLAGS=$ac_wine_try_cflags_saved
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16797 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16798 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16799 saved_string_h_CFLAGS=$CFLAGS
16800 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16802 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16803 if ${ac_cv_c_logicalop_noisy+:} false; then :
16804 $as_echo_n "(cached) " >&6
16805 else
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 #include <string.h>
16809 char*f(const char *h,char n) {return strchr(h,n);}
16811 main ()
16815 return 0;
16817 _ACEOF
16818 if ac_fn_c_try_compile "$LINENO"; then :
16819 ac_cv_c_logicalop_noisy=no
16820 else
16821 ac_cv_c_logicalop_noisy=yes
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16826 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16827 CFLAGS=$saved_string_h_CFLAGS
16828 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16831 CFLAGS=$saved_CFLAGS
16833 for ac_flag in $CFLAGS; do
16834 case $ac_flag in
16835 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16836 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16837 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16838 $as_echo_n "(cached) " >&6
16839 else
16840 ac_wine_try_cflags_saved=$CFLAGS
16841 CFLAGS="$CFLAGS -gdwarf-2"
16842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h. */
16844 int main(int argc, char **argv) { return 0; }
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847 ac_cv_cflags__gdwarf_2=yes
16848 else
16849 ac_cv_cflags__gdwarf_2=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 CFLAGS=$ac_wine_try_cflags_saved
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16856 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16857 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16858 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16861 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16862 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 ac_wine_try_cflags_saved=$CFLAGS
16866 CFLAGS="$CFLAGS -gstrict-dwarf"
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16869 int main(int argc, char **argv) { return 0; }
16870 _ACEOF
16871 if ac_fn_c_try_link "$LINENO"; then :
16872 ac_cv_cflags__gstrict_dwarf=yes
16873 else
16874 ac_cv_cflags__gstrict_dwarf=no
16876 rm -f core conftest.err conftest.$ac_objext \
16877 conftest$ac_exeext conftest.$ac_ext
16878 CFLAGS=$ac_wine_try_cflags_saved
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16881 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16882 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16883 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16884 fi ;;
16885 esac
16886 done
16888 case $host_cpu in
16889 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16890 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16891 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16892 $as_echo_n "(cached) " >&6
16893 else
16894 ac_wine_try_cflags_saved=$CFLAGS
16895 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16898 int main(int argc, char **argv) { return 0; }
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"; then :
16901 ac_cv_cflags__fno_omit_frame_pointer=yes
16902 else
16903 ac_cv_cflags__fno_omit_frame_pointer=no
16905 rm -f core conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16907 CFLAGS=$ac_wine_try_cflags_saved
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16910 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16911 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16912 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16913 fi ;;
16914 esac
16916 case $host in
16917 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16918 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16919 if ${ac_cv_cflags__Wno_format+:} false; then :
16920 $as_echo_n "(cached) " >&6
16921 else
16922 ac_wine_try_cflags_saved=$CFLAGS
16923 CFLAGS="$CFLAGS -Wno-format"
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 int main(int argc, char **argv) { return 0; }
16927 _ACEOF
16928 if ac_fn_c_try_link "$LINENO"; then :
16929 ac_cv_cflags__Wno_format=yes
16930 else
16931 ac_cv_cflags__Wno_format=no
16933 rm -f core conftest.err conftest.$ac_objext \
16934 conftest$ac_exeext conftest.$ac_ext
16935 CFLAGS=$ac_wine_try_cflags_saved
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16938 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16939 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16940 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16941 fi ;;
16942 esac
16944 if test "x$enable_maintainer_mode" = "xyes"
16945 then
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16947 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16948 if ${ac_cv_cflags__Werror+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_wine_try_cflags_saved=$CFLAGS
16952 CFLAGS="$CFLAGS -Werror"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 int main(int argc, char **argv) { return 0; }
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 ac_cv_cflags__Werror=yes
16959 else
16960 ac_cv_cflags__Werror=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 CFLAGS=$ac_wine_try_cflags_saved
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16967 $as_echo "$ac_cv_cflags__Werror" >&6; }
16968 if test "x$ac_cv_cflags__Werror" = xyes; then :
16969 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16973 saved_CFLAGS="$CFLAGS"
16974 CFLAGS="$CFLAGS -Werror"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16976 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16977 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16984 main ()
16988 return 0;
16990 _ACEOF
16991 if ac_fn_c_try_compile "$LINENO"; then :
16992 ac_cv_have_ms_hook_prologue="yes"
16993 else
16994 ac_cv_have_ms_hook_prologue="no"
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16999 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
17000 CFLAGS="$saved_CFLAGS"
17001 if test "$ac_cv_have_ms_hook_prologue" = "yes"
17002 then
17004 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
17006 else
17007 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17014 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17015 if ${ac_cv_c_fortify_enabled+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17020 #include <string.h>
17022 main ()
17024 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17025 #error Fortify enabled
17026 #endif
17028 return 0;
17030 _ACEOF
17031 if ac_fn_c_try_compile "$LINENO"; then :
17032 ac_cv_c_fortify_enabled=no
17033 else
17034 ac_cv_c_fortify_enabled=yes
17036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17039 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17040 if test "$ac_cv_c_fortify_enabled" = yes
17041 then
17042 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17047 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17048 if ${ac_cv_c_extern_prefix+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 extern int ac_test;
17055 main ()
17057 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17059 return 0;
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_c_extern_prefix="yes"
17064 else
17065 ac_cv_c_extern_prefix="no"
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17071 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17073 case $host_cpu in
17074 *i[3456789]86*)
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17076 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17077 if ${ac_cv_c_stdcall_suffix+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082 #ifndef _MSC_VER
17083 #define __stdcall __attribute__((__stdcall__))
17084 #endif
17085 int __stdcall ac_test(int i) { return i; }
17087 main ()
17089 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17091 return 0;
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"; then :
17095 ac_cv_c_stdcall_suffix="yes"
17096 else
17097 ac_cv_c_stdcall_suffix="no"
17099 rm -f core conftest.err conftest.$ac_objext \
17100 conftest$ac_exeext conftest.$ac_ext
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17103 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17104 *) ac_cv_c_stdcall_suffix="no" ;;
17105 esac
17108 if test "$ac_cv_c_extern_prefix" = "yes"
17109 then
17110 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17112 asm_name_prefix="_"
17113 else
17114 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17116 asm_name_prefix=""
17120 if test "$ac_cv_c_stdcall_suffix" = "yes"
17121 then
17122 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17124 else
17125 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17131 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17132 if ${ac_cv_asm_func_def+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17139 main ()
17141 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17143 return 0;
17145 _ACEOF
17146 if ac_fn_c_try_link "$LINENO"; then :
17147 ac_cv_asm_func_def=".def"
17148 else
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17153 main ()
17155 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17157 return 0;
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_asm_func_def=".type @function"
17162 else
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17167 main ()
17169 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17171 return 0;
17173 _ACEOF
17174 if ac_fn_c_try_link "$LINENO"; then :
17175 ac_cv_asm_func_def=".type 2"
17176 else
17177 ac_cv_asm_func_def="unknown"
17179 rm -f core conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17182 rm -f core conftest.err conftest.$ac_objext \
17183 conftest$ac_exeext conftest.$ac_ext
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17189 $as_echo "$ac_cv_asm_func_def" >&6; }
17191 case "$ac_cv_asm_func_def" in
17192 ".def")
17193 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17194 ".type @function")
17195 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17196 ".type 2")
17197 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17199 asm_func_header="" ;;
17200 esac
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17203 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17204 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 asm(".text\n\t.long 0");
17211 main ()
17215 return 0;
17217 _ACEOF
17218 if ac_fn_c_try_compile "$LINENO"; then :
17219 ac_cv_c_asm_outside_funcs="yes"
17220 else
17221 ac_cv_c_asm_outside_funcs="no"
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17226 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17229 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17230 if ${ac_cv_c_dot_previous+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17237 main ()
17239 asm(".text\nac_test:\t.long 0\n\t.previous");
17241 return 0;
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"; then :
17245 ac_cv_c_dot_previous="yes"
17246 else
17247 ac_cv_c_dot_previous="no"
17249 rm -f core conftest.err conftest.$ac_objext \
17250 conftest$ac_exeext conftest.$ac_ext
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17253 $as_echo "$ac_cv_c_dot_previous" >&6; }
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17256 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17257 if ${ac_cv_c_cfi_support+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17264 main ()
17268 return 0;
17270 _ACEOF
17271 if ac_fn_c_try_compile "$LINENO"; then :
17272 ac_cv_c_cfi_support="yes"
17273 else
17274 ac_cv_c_cfi_support="no"
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17279 $as_echo "$ac_cv_c_cfi_support" >&6; }
17281 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17282 asm_func_trailer=""
17283 if test "$ac_cv_c_dot_previous" = "yes"
17284 then
17285 asm_func_trailer="\\n\\t.previous"
17287 if test "$ac_cv_c_cfi_support" = "yes"
17288 then
17289 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17290 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17292 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17294 UNWINDFLAGS=-fasynchronous-unwind-tables
17296 else
17297 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17299 if test "x$enable_win64" = "xyes"
17300 then
17301 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17305 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17308 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17309 then
17310 cat >>confdefs.h <<_ACEOF
17311 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17312 _ACEOF
17314 else
17315 cat >>confdefs.h <<_ACEOF
17316 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17317 _ACEOF
17321 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17324 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17328 case $build_os in
17329 cygwin*|mingw32*) TOOLSEXT=".exe"
17331 esac
17333 case $host_os in
17334 linux*)
17335 case $host_cpu in
17336 *i[3456789]86*|x86_64*|*aarch64*)
17337 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17338 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17340 esac
17342 esac
17345 ac_save_CFLAGS="$CFLAGS"
17346 CFLAGS="$CFLAGS $BUILTINFLAG"
17347 for ac_func in \
17348 __res_get_state \
17349 __res_getservers \
17350 _spawnvp \
17351 dlopen \
17352 epoll_create \
17353 ffs \
17354 finitef \
17355 fnmatch \
17356 fork \
17357 fpclass \
17358 fstatfs \
17359 fstatvfs \
17360 futimens \
17361 futimes \
17362 futimesat \
17363 getattrlist \
17364 getauxval \
17365 getifaddrs \
17366 getopt_long_only \
17367 kqueue \
17368 lstat \
17369 pipe2 \
17370 poll \
17371 port_create \
17372 prctl \
17373 pread \
17374 proc_pidinfo \
17375 pwrite \
17376 readdir \
17377 readlink \
17378 sched_yield \
17379 select \
17380 setproctitle \
17381 setprogname \
17382 settimeofday \
17383 sigprocmask \
17384 statfs \
17385 statvfs \
17386 strnlen \
17387 strtold \
17388 symlink \
17389 sysinfo \
17390 tcdrain \
17391 thr_kill2 \
17392 timegm \
17393 usleep
17395 do :
17396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17398 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17399 cat >>confdefs.h <<_ACEOF
17400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17401 _ACEOF
17404 done
17406 CFLAGS="$ac_save_CFLAGS"
17408 if test "$ac_cv_func_dlopen" = no
17409 then
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17411 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17412 if ${ac_cv_lib_dl_dlopen+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 ac_check_lib_save_LIBS=$LIBS
17416 LIBS="-ldl $LIBS"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17420 /* Override any GCC internal prototype to avoid an error.
17421 Use char because int might match the return type of a GCC
17422 builtin and then its argument prototype would still apply. */
17423 #ifdef __cplusplus
17424 extern "C"
17425 #endif
17426 char dlopen ();
17428 main ()
17430 return dlopen ();
17432 return 0;
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 ac_cv_lib_dl_dlopen=yes
17437 else
17438 ac_cv_lib_dl_dlopen=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17442 LIBS=$ac_check_lib_save_LIBS
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17445 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17446 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17447 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17448 DL_LIBS="-ldl"
17453 ac_wine_check_funcs_save_LIBS="$LIBS"
17454 LIBS="$LIBS $DL_LIBS"
17455 for ac_func in dladdr
17456 do :
17457 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17458 if test "x$ac_cv_func_dladdr" = xyes; then :
17459 cat >>confdefs.h <<_ACEOF
17460 #define HAVE_DLADDR 1
17461 _ACEOF
17464 done
17466 LIBS="$ac_wine_check_funcs_save_LIBS"
17468 if test "$ac_cv_func_poll" = no
17469 then
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17471 $as_echo_n "checking for poll in -lpoll... " >&6; }
17472 if ${ac_cv_lib_poll_poll+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 ac_check_lib_save_LIBS=$LIBS
17476 LIBS="-lpoll $LIBS"
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17480 /* Override any GCC internal prototype to avoid an error.
17481 Use char because int might match the return type of a GCC
17482 builtin and then its argument prototype would still apply. */
17483 #ifdef __cplusplus
17484 extern "C"
17485 #endif
17486 char poll ();
17488 main ()
17490 return poll ();
17492 return 0;
17494 _ACEOF
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_lib_poll_poll=yes
17497 else
17498 ac_cv_lib_poll_poll=no
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 LIBS=$ac_check_lib_save_LIBS
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17505 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17506 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17507 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17508 POLL_LIBS="-lpoll"
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17515 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17516 if ${ac_cv_search_gethostbyname+:} false; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 ac_func_search_save_LIBS=$LIBS
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17523 /* Override any GCC internal prototype to avoid an error.
17524 Use char because int might match the return type of a GCC
17525 builtin and then its argument prototype would still apply. */
17526 #ifdef __cplusplus
17527 extern "C"
17528 #endif
17529 char gethostbyname ();
17531 main ()
17533 return gethostbyname ();
17535 return 0;
17537 _ACEOF
17538 for ac_lib in '' nsl; do
17539 if test -z "$ac_lib"; then
17540 ac_res="none required"
17541 else
17542 ac_res=-l$ac_lib
17543 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 ac_cv_search_gethostbyname=$ac_res
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext
17550 if ${ac_cv_search_gethostbyname+:} false; then :
17551 break
17553 done
17554 if ${ac_cv_search_gethostbyname+:} false; then :
17556 else
17557 ac_cv_search_gethostbyname=no
17559 rm conftest.$ac_ext
17560 LIBS=$ac_func_search_save_LIBS
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17563 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17564 ac_res=$ac_cv_search_gethostbyname
17565 if test "$ac_res" != no; then :
17566 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17572 $as_echo_n "checking for library containing connect... " >&6; }
17573 if ${ac_cv_search_connect+:} false; then :
17574 $as_echo_n "(cached) " >&6
17575 else
17576 ac_func_search_save_LIBS=$LIBS
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17580 /* Override any GCC internal prototype to avoid an error.
17581 Use char because int might match the return type of a GCC
17582 builtin and then its argument prototype would still apply. */
17583 #ifdef __cplusplus
17584 extern "C"
17585 #endif
17586 char connect ();
17588 main ()
17590 return connect ();
17592 return 0;
17594 _ACEOF
17595 for ac_lib in '' socket; do
17596 if test -z "$ac_lib"; then
17597 ac_res="none required"
17598 else
17599 ac_res=-l$ac_lib
17600 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17602 if ac_fn_c_try_link "$LINENO"; then :
17603 ac_cv_search_connect=$ac_res
17605 rm -f core conftest.err conftest.$ac_objext \
17606 conftest$ac_exeext
17607 if ${ac_cv_search_connect+:} false; then :
17608 break
17610 done
17611 if ${ac_cv_search_connect+:} false; then :
17613 else
17614 ac_cv_search_connect=no
17616 rm conftest.$ac_ext
17617 LIBS=$ac_func_search_save_LIBS
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17620 $as_echo "$ac_cv_search_connect" >&6; }
17621 ac_res=$ac_cv_search_connect
17622 if test "$ac_res" != no; then :
17623 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17629 $as_echo_n "checking for library containing inet_aton... " >&6; }
17630 if ${ac_cv_search_inet_aton+:} false; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17633 ac_func_search_save_LIBS=$LIBS
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17637 /* Override any GCC internal prototype to avoid an error.
17638 Use char because int might match the return type of a GCC
17639 builtin and then its argument prototype would still apply. */
17640 #ifdef __cplusplus
17641 extern "C"
17642 #endif
17643 char inet_aton ();
17645 main ()
17647 return inet_aton ();
17649 return 0;
17651 _ACEOF
17652 for ac_lib in '' resolv; do
17653 if test -z "$ac_lib"; then
17654 ac_res="none required"
17655 else
17656 ac_res=-l$ac_lib
17657 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17659 if ac_fn_c_try_link "$LINENO"; then :
17660 ac_cv_search_inet_aton=$ac_res
17662 rm -f core conftest.err conftest.$ac_objext \
17663 conftest$ac_exeext
17664 if ${ac_cv_search_inet_aton+:} false; then :
17665 break
17667 done
17668 if ${ac_cv_search_inet_aton+:} false; then :
17670 else
17671 ac_cv_search_inet_aton=no
17673 rm conftest.$ac_ext
17674 LIBS=$ac_func_search_save_LIBS
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17677 $as_echo "$ac_cv_search_inet_aton" >&6; }
17678 ac_res=$ac_cv_search_inet_aton
17679 if test "$ac_res" != no; then :
17680 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17685 for ac_func in \
17686 getaddrinfo \
17687 getnameinfo \
17688 getnetbyname \
17689 getprotobyname \
17690 getprotobynumber \
17691 getservbyport \
17692 inet_addr \
17693 inet_network \
17694 inet_ntop \
17695 inet_pton \
17697 do :
17698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17701 cat >>confdefs.h <<_ACEOF
17702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17703 _ACEOF
17706 done
17709 ac_save_LIBS=$LIBS
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17711 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17712 if ${ac_cv_search_clock_gettime+:} false; then :
17713 $as_echo_n "(cached) " >&6
17714 else
17715 ac_func_search_save_LIBS=$LIBS
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17719 /* Override any GCC internal prototype to avoid an error.
17720 Use char because int might match the return type of a GCC
17721 builtin and then its argument prototype would still apply. */
17722 #ifdef __cplusplus
17723 extern "C"
17724 #endif
17725 char clock_gettime ();
17727 main ()
17729 return clock_gettime ();
17731 return 0;
17733 _ACEOF
17734 for ac_lib in '' rt; do
17735 if test -z "$ac_lib"; then
17736 ac_res="none required"
17737 else
17738 ac_res=-l$ac_lib
17739 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17741 if ac_fn_c_try_link "$LINENO"; then :
17742 ac_cv_search_clock_gettime=$ac_res
17744 rm -f core conftest.err conftest.$ac_objext \
17745 conftest$ac_exeext
17746 if ${ac_cv_search_clock_gettime+:} false; then :
17747 break
17749 done
17750 if ${ac_cv_search_clock_gettime+:} false; then :
17752 else
17753 ac_cv_search_clock_gettime=no
17755 rm conftest.$ac_ext
17756 LIBS=$ac_func_search_save_LIBS
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17759 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17760 ac_res=$ac_cv_search_clock_gettime
17761 if test "$ac_res" != no; then :
17762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17764 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17766 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17770 LIBS=$ac_save_LIBS
17772 if test "x$with_ldap" != "xno"
17773 then
17774 if ${LDAP_CFLAGS:+false} :; then :
17775 if ${PKG_CONFIG+:} false; then :
17776 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17780 if ${LDAP_LIBS:+false} :; then :
17781 if ${PKG_CONFIG+:} false; then :
17782 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17786 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17787 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17788 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17789 ac_save_CPPFLAGS=$CPPFLAGS
17790 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17791 for ac_header in ldap.h lber.h
17792 do :
17793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17794 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17796 cat >>confdefs.h <<_ACEOF
17797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17798 _ACEOF
17802 done
17804 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17805 then
17806 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17808 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17810 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17811 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814 ac_check_lib_save_LIBS=$LIBS
17815 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17819 /* Override any GCC internal prototype to avoid an error.
17820 Use char because int might match the return type of a GCC
17821 builtin and then its argument prototype would still apply. */
17822 #ifdef __cplusplus
17823 extern "C"
17824 #endif
17825 char ldap_initialize ();
17827 main ()
17829 return ldap_initialize ();
17831 return 0;
17833 _ACEOF
17834 if ac_fn_c_try_link "$LINENO"; then :
17835 ac_cv_lib_ldap_r_ldap_initialize=yes
17836 else
17837 ac_cv_lib_ldap_r_ldap_initialize=no
17839 rm -f core conftest.err conftest.$ac_objext \
17840 conftest$ac_exeext conftest.$ac_ext
17841 LIBS=$ac_check_lib_save_LIBS
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17844 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17845 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17847 $as_echo_n "checking for ber_init in -llber... " >&6; }
17848 if ${ac_cv_lib_lber_ber_init+:} false; then :
17849 $as_echo_n "(cached) " >&6
17850 else
17851 ac_check_lib_save_LIBS=$LIBS
17852 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17856 /* Override any GCC internal prototype to avoid an error.
17857 Use char because int might match the return type of a GCC
17858 builtin and then its argument prototype would still apply. */
17859 #ifdef __cplusplus
17860 extern "C"
17861 #endif
17862 char ber_init ();
17864 main ()
17866 return ber_init ();
17868 return 0;
17870 _ACEOF
17871 if ac_fn_c_try_link "$LINENO"; then :
17872 ac_cv_lib_lber_ber_init=yes
17873 else
17874 ac_cv_lib_lber_ber_init=no
17876 rm -f core conftest.err conftest.$ac_objext \
17877 conftest$ac_exeext conftest.$ac_ext
17878 LIBS=$ac_check_lib_save_LIBS
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17881 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17882 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17884 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17886 else
17887 LDAP_LIBS=""
17890 else
17891 LDAP_LIBS=""
17894 else
17895 LDAP_LIBS=""
17898 ac_wine_check_funcs_save_LIBS="$LIBS"
17899 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17900 for ac_func in \
17901 ldap_count_references \
17902 ldap_first_reference \
17903 ldap_next_reference \
17904 ldap_parse_reference \
17905 ldap_parse_sort_control \
17906 ldap_parse_sortresponse_control \
17907 ldap_parse_vlv_control \
17908 ldap_parse_vlvresponse_control
17909 do :
17910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17912 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17913 cat >>confdefs.h <<_ACEOF
17914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17915 _ACEOF
17918 done
17920 LIBS="$ac_wine_check_funcs_save_LIBS"
17921 else
17922 LDAP_LIBS=""
17924 CPPFLAGS=$ac_save_CPPFLAGS
17925 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17926 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17929 if test "x$LDAP_LIBS" = "x"; then :
17930 case "x$with_ldap" in
17931 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17932 xno) ;;
17933 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17934 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17935 esac
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17940 $as_echo_n "checking for sched_setaffinity... " >&6; }
17941 if ${wine_cv_have_sched_setaffinity+:} false; then :
17942 $as_echo_n "(cached) " >&6
17943 else
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17946 #define _GNU_SOURCE
17947 #include <sched.h>
17949 main ()
17951 sched_setaffinity(0, 0, 0);
17953 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 wine_cv_have_sched_setaffinity=yes
17958 else
17959 wine_cv_have_sched_setaffinity=no
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17965 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17966 if test "$wine_cv_have_sched_setaffinity" = "yes"
17967 then
17969 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17974 $as_echo_n "checking for fallocate... " >&6; }
17975 if ${wine_cv_have_fallocate+:} false; then :
17976 $as_echo_n "(cached) " >&6
17977 else
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17980 #define _GNU_SOURCE
17981 #include <fcntl.h>
17983 main ()
17985 fallocate(-1, 0, 0, 0);
17987 return 0;
17989 _ACEOF
17990 if ac_fn_c_try_link "$LINENO"; then :
17991 wine_cv_have_fallocate=yes
17992 else
17993 wine_cv_have_fallocate=no
17995 rm -f core conftest.err conftest.$ac_objext \
17996 conftest$ac_exeext conftest.$ac_ext
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17999 $as_echo "$wine_cv_have_fallocate" >&6; }
18000 if test "$wine_cv_have_fallocate" = "yes"
18001 then
18003 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18009 $as_echo_n "checking for inline... " >&6; }
18010 if ${ac_cv_c_inline+:} false; then :
18011 $as_echo_n "(cached) " >&6
18012 else
18013 ac_cv_c_inline=no
18014 for ac_kw in inline __inline__ __inline; do
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18017 #ifndef __cplusplus
18018 typedef int foo_t;
18019 static $ac_kw foo_t static_foo () {return 0; }
18020 $ac_kw foo_t foo () {return 0; }
18021 #endif
18023 _ACEOF
18024 if ac_fn_c_try_compile "$LINENO"; then :
18025 ac_cv_c_inline=$ac_kw
18027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 test "$ac_cv_c_inline" != no && break
18029 done
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18033 $as_echo "$ac_cv_c_inline" >&6; }
18035 case $ac_cv_c_inline in
18036 inline | yes) ;;
18038 case $ac_cv_c_inline in
18039 no) ac_val=;;
18040 *) ac_val=$ac_cv_c_inline;;
18041 esac
18042 cat >>confdefs.h <<_ACEOF
18043 #ifndef __cplusplus
18044 #define inline $ac_val
18045 #endif
18046 _ACEOF
18048 esac
18050 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18051 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18053 cat >>confdefs.h <<_ACEOF
18054 #define HAVE_FSBLKCNT_T 1
18055 _ACEOF
18059 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18060 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18062 cat >>confdefs.h <<_ACEOF
18063 #define HAVE_FSFILCNT_T 1
18064 _ACEOF
18069 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18070 #include <signal.h>
18072 if test "x$ac_cv_type_sigset_t" = xyes; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_SIGSET_T 1
18076 _ACEOF
18081 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18083 if test "x$ac_cv_type_request_sense" = xyes; then :
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_REQUEST_SENSE 1
18087 _ACEOF
18093 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18094 #ifdef HAVE_SYS_SOCKET_H
18095 #include <sys/socket.h>
18096 #endif
18097 #ifdef HAVE_SYS_SOCKETVAR_H
18098 #include <sys/socketvar.h>
18099 #endif
18100 #ifdef HAVE_NET_ROUTE_H
18101 #include <net/route.h>
18102 #endif
18103 #ifdef HAVE_NETINET_IN_H
18104 #include <netinet/in.h>
18105 #endif
18106 #ifdef HAVE_NETINET_IN_SYSTM_H
18107 #include <netinet/in_systm.h>
18108 #endif
18109 #ifdef HAVE_NETINET_IP_H
18110 #include <netinet/ip.h>
18111 #endif
18112 #ifdef HAVE_NETINET_IN_PCB_H
18113 #include <netinet/in_pcb.h>
18114 #endif
18116 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_STRUCT_XINPGEN 1
18120 _ACEOF
18126 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18127 #include <link.h>
18128 #endif
18129 #ifdef HAVE_SYS_LINK_H
18130 #include <sys/link.h>
18131 #endif
18133 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18135 cat >>confdefs.h <<_ACEOF
18136 #define HAVE_STRUCT_R_DEBUG 1
18137 _ACEOF
18141 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18142 #include <link.h>
18143 #endif
18144 #ifdef HAVE_SYS_LINK_H
18145 #include <sys/link.h>
18146 #endif
18148 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_STRUCT_LINK_MAP 1
18152 _ACEOF
18158 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18159 #include <linux/input.h>
18160 #endif
18162 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18166 _ACEOF
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18173 $as_echo_n "checking for if_nameindex... " >&6; }
18174 if ${wine_cv_have_if_nameindex+:} false; then :
18175 $as_echo_n "(cached) " >&6
18176 else
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18179 #ifdef HAVE_SYS_TYPES_H
18180 #include <sys/types.h>
18181 #endif
18182 #ifdef HAVE_SYS_SOCKET_H
18183 #include <sys/socket.h>
18184 #endif
18185 #ifdef HAVE_NET_IF_H
18186 # include <net/if.h>
18187 #endif
18189 main ()
18191 struct if_nameindex *p = if_nameindex(); return p->if_index;
18193 return 0;
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"; then :
18197 wine_cv_have_if_nameindex=yes
18198 else
18199 wine_cv_have_if_nameindex=no
18201 rm -f core conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext conftest.$ac_ext
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18205 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18206 if test "$wine_cv_have_if_nameindex" = "yes"
18207 then
18209 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18214 $as_echo_n "checking for sigaddset... " >&6; }
18215 if ${wine_cv_have_sigaddset+:} false; then :
18216 $as_echo_n "(cached) " >&6
18217 else
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18220 #include <signal.h>
18222 main ()
18224 sigset_t set; sigaddset(&set,SIGTERM);
18226 return 0;
18228 _ACEOF
18229 if ac_fn_c_try_link "$LINENO"; then :
18230 wine_cv_have_sigaddset=yes
18231 else
18232 wine_cv_have_sigaddset=no
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18238 $as_echo "$wine_cv_have_sigaddset" >&6; }
18239 if test "$wine_cv_have_sigaddset" = "yes"
18240 then
18242 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18248 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18249 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18250 $as_echo_n "(cached) " >&6
18251 else
18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253 /* end confdefs.h. */
18254 #include <netdb.h>
18256 main ()
18259 char *name=0;
18260 struct hostent he;
18261 struct hostent *result;
18262 char *buf=0;
18263 int bufsize=0;
18264 int errnr;
18265 char *addr=0;
18266 int addrlen=0;
18267 int addrtype=0;
18268 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18269 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18272 return 0;
18274 _ACEOF
18275 if ac_fn_c_try_link "$LINENO"; then :
18276 wine_cv_linux_gethostbyname_r_6=yes
18277 else
18278 wine_cv_linux_gethostbyname_r_6=no
18281 rm -f core conftest.err conftest.$ac_objext \
18282 conftest$ac_exeext conftest.$ac_ext
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18286 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18287 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18288 then
18290 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18294 if test "$ac_cv_header_linux_joystick_h" = "yes"
18295 then
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18297 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18298 if ${wine_cv_linux_joystick_22_api+:} false; then :
18299 $as_echo_n "(cached) " >&6
18300 else
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18304 #include <sys/ioctl.h>
18305 #include <sys/types.h>
18306 #include <linux/joystick.h>
18308 struct js_event blub;
18309 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18310 #error "no 2.2 header"
18311 #endif
18314 main ()
18316 /*empty*/
18318 return 0;
18320 _ACEOF
18321 if ac_fn_c_try_compile "$LINENO"; then :
18322 wine_cv_linux_joystick_22_api=yes
18323 else
18324 wine_cv_linux_joystick_22_api=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18330 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18331 if test "$wine_cv_linux_joystick_22_api" = "yes"
18332 then
18334 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18340 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18341 #ifdef HAVE_SYS_PARAM_H
18342 # include <sys/param.h>
18343 #endif
18344 #ifdef HAVE_SYS_MOUNT_H
18345 # include <sys/mount.h>
18346 #endif
18347 #ifdef HAVE_SYS_VFS_H
18348 # include <sys/vfs.h>
18349 #endif
18350 #ifdef HAVE_SYS_STATFS_H
18351 # include <sys/statfs.h>
18352 #endif
18354 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18356 cat >>confdefs.h <<_ACEOF
18357 #define HAVE_STRUCT_STATFS_F_BFREE 1
18358 _ACEOF
18362 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18363 #ifdef HAVE_SYS_PARAM_H
18364 # include <sys/param.h>
18365 #endif
18366 #ifdef HAVE_SYS_MOUNT_H
18367 # include <sys/mount.h>
18368 #endif
18369 #ifdef HAVE_SYS_VFS_H
18370 # include <sys/vfs.h>
18371 #endif
18372 #ifdef HAVE_SYS_STATFS_H
18373 # include <sys/statfs.h>
18374 #endif
18376 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18378 cat >>confdefs.h <<_ACEOF
18379 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18380 _ACEOF
18384 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18385 #ifdef HAVE_SYS_PARAM_H
18386 # include <sys/param.h>
18387 #endif
18388 #ifdef HAVE_SYS_MOUNT_H
18389 # include <sys/mount.h>
18390 #endif
18391 #ifdef HAVE_SYS_VFS_H
18392 # include <sys/vfs.h>
18393 #endif
18394 #ifdef HAVE_SYS_STATFS_H
18395 # include <sys/statfs.h>
18396 #endif
18398 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18400 cat >>confdefs.h <<_ACEOF
18401 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18402 _ACEOF
18406 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18407 #ifdef HAVE_SYS_PARAM_H
18408 # include <sys/param.h>
18409 #endif
18410 #ifdef HAVE_SYS_MOUNT_H
18411 # include <sys/mount.h>
18412 #endif
18413 #ifdef HAVE_SYS_VFS_H
18414 # include <sys/vfs.h>
18415 #endif
18416 #ifdef HAVE_SYS_STATFS_H
18417 # include <sys/statfs.h>
18418 #endif
18420 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18422 cat >>confdefs.h <<_ACEOF
18423 #define HAVE_STRUCT_STATFS_F_FFREE 1
18424 _ACEOF
18428 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18429 #ifdef HAVE_SYS_PARAM_H
18430 # include <sys/param.h>
18431 #endif
18432 #ifdef HAVE_SYS_MOUNT_H
18433 # include <sys/mount.h>
18434 #endif
18435 #ifdef HAVE_SYS_VFS_H
18436 # include <sys/vfs.h>
18437 #endif
18438 #ifdef HAVE_SYS_STATFS_H
18439 # include <sys/statfs.h>
18440 #endif
18442 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18444 cat >>confdefs.h <<_ACEOF
18445 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18446 _ACEOF
18450 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18451 #ifdef HAVE_SYS_PARAM_H
18452 # include <sys/param.h>
18453 #endif
18454 #ifdef HAVE_SYS_MOUNT_H
18455 # include <sys/mount.h>
18456 #endif
18457 #ifdef HAVE_SYS_VFS_H
18458 # include <sys/vfs.h>
18459 #endif
18460 #ifdef HAVE_SYS_STATFS_H
18461 # include <sys/statfs.h>
18462 #endif
18464 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18466 cat >>confdefs.h <<_ACEOF
18467 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18468 _ACEOF
18474 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18475 #include <sys/statvfs.h>
18476 #endif
18478 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18480 cat >>confdefs.h <<_ACEOF
18481 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18482 _ACEOF
18488 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18489 #include <dirent.h>
18490 #endif
18492 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18494 cat >>confdefs.h <<_ACEOF
18495 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18496 _ACEOF
18502 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18503 #ifdef HAVE_SYS_SOCKET_H
18504 # include <sys/socket.h>
18505 #endif
18506 #ifdef HAVE_SYS_UN_H
18507 # include <sys/un.h>
18508 #endif
18510 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18514 _ACEOF
18518 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18519 #ifdef HAVE_SYS_SOCKET_H
18520 # include <sys/socket.h>
18521 #endif
18522 #ifdef HAVE_SYS_UN_H
18523 # include <sys/un.h>
18524 #endif
18526 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18528 cat >>confdefs.h <<_ACEOF
18529 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18530 _ACEOF
18534 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18535 #ifdef HAVE_SYS_SOCKET_H
18536 # include <sys/socket.h>
18537 #endif
18538 #ifdef HAVE_SYS_UN_H
18539 # include <sys/un.h>
18540 #endif
18542 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18546 _ACEOF
18552 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18553 #ifdef HAVE_SCSI_SG_H
18554 #include <scsi/sg.h>
18555 #endif
18557 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18559 cat >>confdefs.h <<_ACEOF
18560 #define HAVE_SCSIREQ_T_CMD 1
18561 _ACEOF
18565 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>
18566 #ifdef HAVE_SCSI_SG_H
18567 #include <scsi/sg.h>
18568 #endif
18570 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18572 cat >>confdefs.h <<_ACEOF
18573 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18574 _ACEOF
18580 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18582 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18584 cat >>confdefs.h <<_ACEOF
18585 #define HAVE_SIGINFO_T_SI_FD 1
18586 _ACEOF
18592 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18593 #ifdef HAVE_SYS_MTIO_H
18594 #include <sys/mtio.h>
18595 #endif
18597 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18601 _ACEOF
18605 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes; then :
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18614 _ACEOF
18618 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#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_blkno" = xyes; then :
18625 cat >>confdefs.h <<_ACEOF
18626 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18627 _ACEOF
18633 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18634 #include <getopt.h>
18635 #endif
18637 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18639 cat >>confdefs.h <<_ACEOF
18640 #define HAVE_STRUCT_OPTION_NAME 1
18641 _ACEOF
18647 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18648 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18650 cat >>confdefs.h <<_ACEOF
18651 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18652 _ACEOF
18656 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18657 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18659 cat >>confdefs.h <<_ACEOF
18660 #define HAVE_STRUCT_STAT_ST_MTIM 1
18661 _ACEOF
18665 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18666 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18670 _ACEOF
18674 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18675 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18677 cat >>confdefs.h <<_ACEOF
18678 #define HAVE_STRUCT_STAT_ST_CTIM 1
18679 _ACEOF
18683 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18684 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18686 cat >>confdefs.h <<_ACEOF
18687 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18688 _ACEOF
18692 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18693 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_STRUCT_STAT_ST_ATIM 1
18697 _ACEOF
18701 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18702 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18704 cat >>confdefs.h <<_ACEOF
18705 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18706 _ACEOF
18710 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18711 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18713 cat >>confdefs.h <<_ACEOF
18714 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18715 _ACEOF
18719 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18720 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18722 cat >>confdefs.h <<_ACEOF
18723 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18724 _ACEOF
18728 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18729 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18733 _ACEOF
18737 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18738 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18742 _ACEOF
18746 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18747 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18751 _ACEOF
18757 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
18758 #include <sys/types.h>
18759 #endif
18760 #ifdef HAVE_NETINET_IN_H
18761 #include <netinet/in.h>
18762 #endif
18764 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18768 _ACEOF
18774 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18775 #include <sys/types.h>
18776 #endif
18777 #ifdef HAVE_NETINET_IN_H
18778 #include <netinet/in.h>
18779 #endif
18780 #ifdef HAVE_RESOLV_H
18781 #include <resolv.h>
18782 #endif
18784 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define HAVE_STRUCT___RES_STATE 1
18788 _ACEOF
18794 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
18795 #include <resolv.h>
18796 #endif
18798 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18800 cat >>confdefs.h <<_ACEOF
18801 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18802 _ACEOF
18808 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18809 #include <sys/types.h>
18810 #endif
18811 #ifdef HAVE_NETINET_IN_H
18812 # include <netinet/in.h>
18813 #endif
18814 #ifdef HAVE_ARPA_NAMESER_H
18815 # include <arpa/nameser.h>
18816 #endif
18818 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_NS_MSG__MSG_PTR 1
18822 _ACEOF
18828 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18829 #include <sys/types.h>
18830 #endif
18831 #ifdef HAVE_NETINET_IN_H
18832 #include <netinet/in.h>
18833 #endif
18834 #ifdef HAVE_NETINET_IP_H
18835 #include <netinet/ip.h>
18836 #endif
18837 #ifdef HAVE_NETINET_IP_ICMP_H
18838 #include <netinet/ip_icmp.h>
18839 #endif
18840 #ifdef HAVE_NETINET_ICMP_VAR_H
18841 #include <netinet/icmp_var.h>
18842 #endif
18844 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18846 cat >>confdefs.h <<_ACEOF
18847 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18848 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18855 #include <sys/types.h>
18856 #endif
18857 #ifdef HAVE_ALIAS_H
18858 #include <alias.h>
18859 #endif
18860 #ifdef HAVE_SYS_SOCKET_H
18861 #include <sys/socket.h>
18862 #endif
18863 #ifdef HAVE_SYS_SOCKETVAR_H
18864 #include <sys/socketvar.h>
18865 #endif
18866 #ifdef HAVE_SYS_TIMEOUT_H
18867 #include <sys/timeout.h>
18868 #endif
18869 #ifdef HAVE_NETINET_IN_H
18870 #include <netinet/in.h>
18871 #endif
18872 #ifdef HAVE_NETINET_IN_SYSTM_H
18873 #include <netinet/in_systm.h>
18874 #endif
18875 #ifdef HAVE_NETINET_IP_H
18876 #include <netinet/ip.h>
18877 #endif
18878 #ifdef HAVE_NETINET_IP_VAR_H
18879 #include <netinet/ip_var.h>
18880 #endif
18881 #ifdef HAVE_NETINET_IP_ICMP_H
18882 #include <netinet/ip_icmp.h>
18883 #endif
18884 #ifdef HAVE_NETINET_ICMP_VAR_H
18885 #include <netinet/icmp_var.h>
18886 #endif
18888 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18890 cat >>confdefs.h <<_ACEOF
18891 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18892 _ACEOF
18898 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18899 #include <sys/types.h>
18900 #endif
18901 #ifdef HAVE_SYS_SOCKETVAR_H
18902 #include <sys/socketvar.h>
18903 #endif
18904 #ifdef HAVE_NETINET_IN_H
18905 #include <netinet/in.h>
18906 #endif
18907 #ifdef HAVE_NETINET_IP_VAR_H
18908 #include <netinet/ip_var.h>
18909 #endif
18911 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18915 _ACEOF
18921 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
18922 #include <netinet/ip_var.h>
18923 #endif
18925 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18929 _ACEOF
18935 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18936 #include <sys/types.h>
18937 #endif
18938 #ifdef HAVE_SYS_SOCKETVAR_H
18939 #include <sys/socketvar.h>
18940 #endif
18941 #ifdef HAVE_NETINET_IN_H
18942 #include <netinet/in.h>
18943 #endif
18944 #ifdef HAVE_NETINET_TCP_H
18945 #include <netinet/tcp.h>
18946 #endif
18947 #ifdef HAVE_NETINET_TCP_VAR_H
18948 #include <netinet/tcp_var.h>
18949 #endif
18951 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18953 cat >>confdefs.h <<_ACEOF
18954 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18955 _ACEOF
18961 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
18962 #include <netinet/tcp_var.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18969 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18976 #include <sys/types.h>
18977 #endif
18978 #ifdef HAVE_NETINET_IN_H
18979 #include <netinet/in.h>
18980 #endif
18981 #ifdef HAVE_NETINET_IP_VAR_H
18982 #include <netinet/ip_var.h>
18983 #endif
18984 #ifdef HAVE_NETINET_UDP_H
18985 #include <netinet/udp.h>
18986 #endif
18987 #ifdef HAVE_NETINET_UDP_VAR_H
18988 #include <netinet/udp_var.h>
18989 #endif
18991 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18995 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19002 #include <sys/types.h>
19003 #endif
19004 #ifdef HAVE_NET_IF_H
19005 # include <net/if.h>
19006 #endif
19008 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19012 _ACEOF
19018 ac_save_LIBS="$LIBS"
19019 LIBS="$LIBS -lm"
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19021 $as_echo_n "checking for isfinite... " >&6; }
19022 if ${ac_cv_have_isfinite+:} false; then :
19023 $as_echo_n "(cached) " >&6
19024 else
19025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 #define _GNU_SOURCE
19028 #include <math.h>
19030 main ()
19032 float f = 0.0; return isfinite(f)
19034 return 0;
19036 _ACEOF
19037 if ac_fn_c_try_link "$LINENO"; then :
19038 ac_cv_have_isfinite="yes"
19039 else
19040 ac_cv_have_isfinite="no"
19042 rm -f core conftest.err conftest.$ac_objext \
19043 conftest$ac_exeext conftest.$ac_ext
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19046 $as_echo "$ac_cv_have_isfinite" >&6; }
19047 if test "$ac_cv_have_isfinite" = "yes"
19048 then
19050 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19055 $as_echo_n "checking for isinf... " >&6; }
19056 if ${ac_cv_have_isinf+:} false; then :
19057 $as_echo_n "(cached) " >&6
19058 else
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 #include <math.h>
19063 main ()
19065 float f = 0.0; return isinf(f)
19067 return 0;
19069 _ACEOF
19070 if ac_fn_c_try_link "$LINENO"; then :
19071 ac_cv_have_isinf="yes"
19072 else
19073 ac_cv_have_isinf="no"
19075 rm -f core conftest.err conftest.$ac_objext \
19076 conftest$ac_exeext conftest.$ac_ext
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19079 $as_echo "$ac_cv_have_isinf" >&6; }
19080 if test "$ac_cv_have_isinf" = "yes"
19081 then
19083 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19088 $as_echo_n "checking for isnan... " >&6; }
19089 if ${ac_cv_have_isnan+:} false; then :
19090 $as_echo_n "(cached) " >&6
19091 else
19092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h. */
19094 #include <math.h>
19096 main ()
19098 float f = 0.0; return isnan(f)
19100 return 0;
19102 _ACEOF
19103 if ac_fn_c_try_link "$LINENO"; then :
19104 ac_cv_have_isnan="yes"
19105 else
19106 ac_cv_have_isnan="no"
19108 rm -f core conftest.err conftest.$ac_objext \
19109 conftest$ac_exeext conftest.$ac_ext
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19112 $as_echo "$ac_cv_have_isnan" >&6; }
19113 if test "$ac_cv_have_isnan" = "yes"
19114 then
19116 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19120 for ac_func in \
19121 acosh \
19122 acoshf \
19123 asinh \
19124 asinhf \
19125 atanh \
19126 atanhf \
19127 cbrt \
19128 cbrtf \
19129 erf \
19130 erfc \
19131 erfcf \
19132 erff \
19133 exp2 \
19134 exp2f \
19135 expm1 \
19136 expm1f \
19137 ilogb \
19138 ilogbf \
19139 j0 \
19140 j1 \
19141 jn \
19142 lgamma \
19143 lgammaf \
19144 llrint \
19145 llrintf \
19146 llround \
19147 llroundf \
19148 log1p \
19149 log1pf \
19150 log2 \
19151 log2f \
19152 lrint \
19153 lrintf \
19154 lround \
19155 lroundf \
19156 nearbyint \
19157 nearbyintf \
19158 nexttoward \
19159 nexttowardf \
19160 powl \
19161 remainder \
19162 remainderf \
19163 rint \
19164 rintf \
19165 round \
19166 roundf \
19167 trunc \
19168 truncf \
19169 y0 \
19170 y1 \
19173 do :
19174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19176 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19179 _ACEOF
19182 done
19184 LIBS="$ac_save_LIBS"
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19187 $as_echo_n "checking for __builtin_clz... " >&6; }
19188 if ${ac_cv_have___builtin_clz+:} false; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19195 main ()
19197 return __builtin_clz(1)
19199 return 0;
19201 _ACEOF
19202 if ac_fn_c_try_link "$LINENO"; then :
19203 ac_cv_have___builtin_clz="yes"
19204 else
19205 ac_cv_have___builtin_clz="no"
19207 rm -f core conftest.err conftest.$ac_objext \
19208 conftest$ac_exeext conftest.$ac_ext
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19211 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19212 if test "$ac_cv_have___builtin_clz" = "yes"
19213 then
19215 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19220 $as_echo_n "checking for __builtin_popcount... " >&6; }
19221 if ${ac_cv_have___builtin_popcount+:} false; then :
19222 $as_echo_n "(cached) " >&6
19223 else
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19228 main ()
19230 return __builtin_popcount(1)
19232 return 0;
19234 _ACEOF
19235 if ac_fn_c_try_link "$LINENO"; then :
19236 ac_cv_have___builtin_popcount="yes"
19237 else
19238 ac_cv_have___builtin_popcount="no"
19240 rm -f core conftest.err conftest.$ac_objext \
19241 conftest$ac_exeext conftest.$ac_ext
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19244 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19245 if test "$ac_cv_have___builtin_popcount" = "yes"
19246 then
19248 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19253 $as_echo_n "checking for __clear_cache... " >&6; }
19254 if ${ac_cv_have___clear_cache+:} false; then :
19255 $as_echo_n "(cached) " >&6
19256 else
19257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19261 main ()
19263 __clear_cache((void*)0, (void*)0); return 0;
19265 return 0;
19267 _ACEOF
19268 if ac_fn_c_try_link "$LINENO"; then :
19269 ac_cv_have___clear_cache="yes"
19270 else
19271 ac_cv_have___clear_cache="no"
19273 rm -f core conftest.err conftest.$ac_objext \
19274 conftest$ac_exeext conftest.$ac_ext
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19277 $as_echo "$ac_cv_have___clear_cache" >&6; }
19278 if test "$ac_cv_have___clear_cache" = "yes"
19279 then
19281 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19286 case $host_cpu in
19287 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19288 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19289 if ${ac_cv_cpp_def___i386__+:} false; then :
19290 $as_echo_n "(cached) " >&6
19291 else
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #ifndef __i386__
19296 #endif
19297 _ACEOF
19298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19299 $EGREP "yes" >/dev/null 2>&1; then :
19300 ac_cv_cpp_def___i386__=yes
19301 else
19302 ac_cv_cpp_def___i386__=no
19304 rm -f conftest*
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19308 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19309 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19310 CFLAGS="$CFLAGS -D__i386__"
19311 LINTFLAGS="$LINTFLAGS -D__i386__"
19312 fi ;;
19313 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19314 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19315 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19316 $as_echo_n "(cached) " >&6
19317 else
19318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19320 #ifndef __x86_64__
19322 #endif
19323 _ACEOF
19324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19325 $EGREP "yes" >/dev/null 2>&1; then :
19326 ac_cv_cpp_def___x86_64__=yes
19327 else
19328 ac_cv_cpp_def___x86_64__=no
19330 rm -f conftest*
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19334 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19335 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19336 CFLAGS="$CFLAGS -D__x86_64__"
19337 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19338 fi ;;
19339 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19340 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19341 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19342 $as_echo_n "(cached) " >&6
19343 else
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 #ifndef __sparc64__
19348 #endif
19349 _ACEOF
19350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19351 $EGREP "yes" >/dev/null 2>&1; then :
19352 ac_cv_cpp_def___sparc64__=yes
19353 else
19354 ac_cv_cpp_def___sparc64__=no
19356 rm -f conftest*
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19360 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19361 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19362 CFLAGS="$CFLAGS -D__sparc64__"
19363 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19364 fi ;;
19365 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19366 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19367 if ${ac_cv_cpp_def___sparc__+:} false; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 #ifndef __sparc__
19374 #endif
19375 _ACEOF
19376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19377 $EGREP "yes" >/dev/null 2>&1; then :
19378 ac_cv_cpp_def___sparc__=yes
19379 else
19380 ac_cv_cpp_def___sparc__=no
19382 rm -f conftest*
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19386 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19387 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19388 CFLAGS="$CFLAGS -D__sparc__"
19389 LINTFLAGS="$LINTFLAGS -D__sparc__"
19390 fi ;;
19391 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19392 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19393 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19394 $as_echo_n "(cached) " >&6
19395 else
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #ifndef __powerpc64__
19400 #endif
19401 _ACEOF
19402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19403 $EGREP "yes" >/dev/null 2>&1; then :
19404 ac_cv_cpp_def___powerpc64__=yes
19405 else
19406 ac_cv_cpp_def___powerpc64__=no
19408 rm -f conftest*
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19412 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19413 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19414 CFLAGS="$CFLAGS -D__powerpc64__"
19415 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19416 fi ;;
19417 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19418 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19419 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19420 $as_echo_n "(cached) " >&6
19421 else
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 #ifndef __powerpc__
19426 #endif
19427 _ACEOF
19428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19429 $EGREP "yes" >/dev/null 2>&1; then :
19430 ac_cv_cpp_def___powerpc__=yes
19431 else
19432 ac_cv_cpp_def___powerpc__=no
19434 rm -f conftest*
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19438 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19439 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19440 CFLAGS="$CFLAGS -D__powerpc__"
19441 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19442 fi ;;
19443 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19444 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19445 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19450 #ifndef __aarch64__
19452 #endif
19453 _ACEOF
19454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19455 $EGREP "yes" >/dev/null 2>&1; then :
19456 ac_cv_cpp_def___aarch64__=yes
19457 else
19458 ac_cv_cpp_def___aarch64__=no
19460 rm -f conftest*
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19464 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19465 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19466 CFLAGS="$CFLAGS -D__aarch64__"
19467 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19468 fi ;;
19469 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19470 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19471 if ${ac_cv_cpp_def___arm__+:} false; then :
19472 $as_echo_n "(cached) " >&6
19473 else
19474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h. */
19476 #ifndef __arm__
19478 #endif
19479 _ACEOF
19480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19481 $EGREP "yes" >/dev/null 2>&1; then :
19482 ac_cv_cpp_def___arm__=yes
19483 else
19484 ac_cv_cpp_def___arm__=no
19486 rm -f conftest*
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19490 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19491 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19492 CFLAGS="$CFLAGS -D__arm__"
19493 LINTFLAGS="$LINTFLAGS -D__arm__"
19494 fi ;;
19495 esac
19497 case $host_vendor in
19498 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19499 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19500 if ${ac_cv_cpp_def___sun__+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505 #ifndef __sun__
19507 #endif
19508 _ACEOF
19509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19510 $EGREP "yes" >/dev/null 2>&1; then :
19511 ac_cv_cpp_def___sun__=yes
19512 else
19513 ac_cv_cpp_def___sun__=no
19515 rm -f conftest*
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19519 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19520 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19521 CFLAGS="$CFLAGS -D__sun__"
19522 LINTFLAGS="$LINTFLAGS -D__sun__"
19523 fi ;;
19524 esac
19530 ac_config_commands="$ac_config_commands include/stamp-h"
19532 $as_echo_n "creating Makefile rules..." >&6
19534 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19535 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19536 IOKIT_LIBS = $IOKIT_LIBS
19537 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19538 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19539 CORESERVICES_LIBS = $CORESERVICES_LIBS
19540 APPKIT_LIBS = $APPKIT_LIBS
19541 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19542 SECURITY_LIBS = $SECURITY_LIBS
19543 COREAUDIO_LIBS = $COREAUDIO_LIBS
19544 OPENAL_LIBS = $OPENAL_LIBS
19545 OPENCL_LIBS = $OPENCL_LIBS
19546 QUICKTIME_LIBS = $QUICKTIME_LIBS
19547 CARBON_LIBS = $CARBON_LIBS
19548 METAL_LIBS = $METAL_LIBS
19549 PTHREAD_LIBS = $PTHREAD_LIBS
19550 X_CFLAGS = $X_CFLAGS
19551 X_PRE_LIBS = $X_PRE_LIBS
19552 X_LIBS = $X_LIBS
19553 X_EXTRA_LIBS = $X_EXTRA_LIBS
19554 PCAP_LIBS = $PCAP_LIBS
19555 XML2_CFLAGS = $XML2_CFLAGS
19556 XML2_LIBS = $XML2_LIBS
19557 XSLT_CFLAGS = $XSLT_CFLAGS
19558 XSLT_LIBS = $XSLT_LIBS
19559 DBUS_CFLAGS = $DBUS_CFLAGS
19560 DBUS_LIBS = $DBUS_LIBS
19561 HAL_CFLAGS = $HAL_CFLAGS
19562 HAL_LIBS = $HAL_LIBS
19563 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19564 GNUTLS_LIBS = $GNUTLS_LIBS
19565 SANE_CFLAGS = $SANE_CFLAGS
19566 SANE_LIBS = $SANE_LIBS
19567 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19568 GPHOTO2_LIBS = $GPHOTO2_LIBS
19569 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19570 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19571 RESOLV_LIBS = $RESOLV_LIBS
19572 LCMS2_CFLAGS = $LCMS2_CFLAGS
19573 LCMS2_LIBS = $LCMS2_LIBS
19574 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19575 FREETYPE_LIBS = $FREETYPE_LIBS
19576 Z_LIBS = $Z_LIBS
19577 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19578 PULSE_CFLAGS = $PULSE_CFLAGS
19579 PULSE_LIBS = $PULSE_LIBS
19580 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19581 GSTREAMER_LIBS = $GSTREAMER_LIBS
19582 ALSA_LIBS = $ALSA_LIBS
19583 OSS4_CFLAGS = $OSS4_CFLAGS
19584 UDEV_CFLAGS = $UDEV_CFLAGS
19585 UDEV_LIBS = $UDEV_LIBS
19586 SDL2_CFLAGS = $SDL2_CFLAGS
19587 SDL2_LIBS = $SDL2_LIBS
19588 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19589 FAUDIO_LIBS = $FAUDIO_LIBS
19590 CAPI20_CFLAGS = $CAPI20_CFLAGS
19591 CAPI20_LIBS = $CAPI20_LIBS
19592 CUPS_CFLAGS = $CUPS_CFLAGS
19593 CUPS_LIBS = $CUPS_LIBS
19594 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19595 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19596 KRB5_CFLAGS = $KRB5_CFLAGS
19597 KRB5_LIBS = $KRB5_LIBS
19598 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19599 GSSAPI_LIBS = $GSSAPI_LIBS
19600 JPEG_CFLAGS = $JPEG_CFLAGS
19601 JPEG_LIBS = $JPEG_LIBS
19602 PNG_CFLAGS = $PNG_CFLAGS
19603 PNG_LIBS = $PNG_LIBS
19604 TIFF_CFLAGS = $TIFF_CFLAGS
19605 TIFF_LIBS = $TIFF_LIBS
19606 MPG123_CFLAGS = $MPG123_CFLAGS
19607 MPG123_LIBS = $MPG123_LIBS
19608 KSTAT_LIBS = $KSTAT_LIBS
19609 PROCSTAT_LIBS = $PROCSTAT_LIBS
19610 NETAPI_CFLAGS = $NETAPI_CFLAGS
19611 NETAPI_LIBS = $NETAPI_LIBS
19612 VKD3D_CFLAGS = $VKD3D_CFLAGS
19613 VKD3D_LIBS = $VKD3D_LIBS
19614 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19615 DL_LIBS = $DL_LIBS
19616 POLL_LIBS = $POLL_LIBS
19617 RT_LIBS = $RT_LIBS
19618 LDAP_CFLAGS = $LDAP_CFLAGS
19619 LDAP_LIBS = $LDAP_LIBS
19624 wine_fn_append_rule "
19625 # Rules automatically generated by configure
19627 .INIT: Makefile
19628 .MAKEFILEDEPS:
19629 all: Makefile
19630 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19631 @./config.status Make.tmp Makefile
19632 depend: \$(MAKEDEP) dummy
19633 \$(MAKEDEP)"
19635 if test "x$enable_fonts" != xno; then
19636 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19637 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19638 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19639 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19640 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19641 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19643 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19644 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19645 ac_config_links="$ac_config_links wine:tools/winewrapper"
19646 wine_fn_config_symlink wine
19647 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19648 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19649 wine_fn_config_symlink wine64
19652 wine_fn_config_makefile dlls/acledit enable_acledit
19653 wine_fn_config_makefile dlls/aclui enable_aclui
19654 wine_fn_config_makefile dlls/activeds enable_activeds
19655 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19656 wine_fn_config_makefile dlls/adsiid enable_adsiid
19657 wine_fn_config_makefile dlls/adsldp enable_adsldp
19658 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19659 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19660 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19661 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19662 wine_fn_config_makefile dlls/advpack enable_advpack
19663 wine_fn_config_makefile dlls/advpack/tests enable_tests
19664 wine_fn_config_makefile dlls/amsi enable_amsi
19665 wine_fn_config_makefile dlls/amstream enable_amstream
19666 wine_fn_config_makefile dlls/amstream/tests enable_tests
19667 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19668 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19669 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19670 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19671 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19672 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19673 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19674 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19675 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19676 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19677 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19678 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19679 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19680 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19681 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19682 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19683 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19684 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19685 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19686 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19687 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19688 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19689 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19690 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19691 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19692 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19693 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19694 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19695 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19696 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19697 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19698 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19699 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19700 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19701 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19702 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19703 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19704 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19705 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19706 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19707 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19708 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19709 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19710 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19711 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19712 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19714 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19715 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19716 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19718 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19719 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19720 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19721 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19722 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19723 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19724 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19725 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19726 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19727 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19728 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19729 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19730 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19731 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19732 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19733 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19734 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19736 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19737 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19738 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19739 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19740 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19741 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19742 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19743 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19744 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19745 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19746 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19747 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19748 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19749 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19750 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19751 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19753 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19754 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19755 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19757 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19759 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19760 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19762 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19763 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19768 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19769 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19772 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19773 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19776 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19779 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19780 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19783 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19786 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19789 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19791 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19792 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19795 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19797 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19799 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19818 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19819 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19822 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19830 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19838 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19849 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19853 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19855 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19857 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19858 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19863 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19865 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19871 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19874 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19876 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19878 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19882 wine_fn_config_makefile dlls/apphelp enable_apphelp
19883 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19884 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19885 wine_fn_config_makefile dlls/atl enable_atl
19886 wine_fn_config_makefile dlls/atl/tests enable_tests
19887 wine_fn_config_makefile dlls/atl100 enable_atl100
19888 wine_fn_config_makefile dlls/atl100/tests enable_tests
19889 wine_fn_config_makefile dlls/atl110 enable_atl110
19890 wine_fn_config_makefile dlls/atl80 enable_atl80
19891 wine_fn_config_makefile dlls/atl80/tests enable_tests
19892 wine_fn_config_makefile dlls/atl90 enable_atl90
19893 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19894 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19895 wine_fn_config_makefile dlls/atmlib enable_atmlib
19896 wine_fn_config_makefile dlls/authz enable_authz
19897 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19898 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19899 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19900 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19901 wine_fn_config_makefile dlls/avrt enable_avrt
19902 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19903 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19904 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19905 wine_fn_config_makefile dlls/browseui enable_browseui
19906 wine_fn_config_makefile dlls/browseui/tests enable_tests
19907 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19908 wine_fn_config_makefile dlls/cabinet enable_cabinet
19909 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19910 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19911 wine_fn_config_makefile dlls/cards enable_cards
19912 wine_fn_config_makefile dlls/cdosys enable_cdosys
19913 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19914 wine_fn_config_makefile dlls/clusapi enable_clusapi
19915 wine_fn_config_makefile dlls/combase enable_combase
19916 wine_fn_config_makefile dlls/combase/tests enable_tests
19917 wine_fn_config_makefile dlls/comcat enable_comcat
19918 wine_fn_config_makefile dlls/comcat/tests enable_tests
19919 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19920 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19921 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19922 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19923 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19924 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19925 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19926 wine_fn_config_makefile dlls/compstui enable_compstui
19927 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19928 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19929 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19930 wine_fn_config_makefile dlls/connect enable_connect
19931 wine_fn_config_makefile dlls/credui enable_credui
19932 wine_fn_config_makefile dlls/credui/tests enable_tests
19933 wine_fn_config_makefile dlls/crtdll enable_crtdll
19934 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19935 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19936 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19937 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19938 wine_fn_config_makefile dlls/cryptext enable_cryptext
19939 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19940 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19941 wine_fn_config_makefile dlls/cryptui enable_cryptui
19942 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19943 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19944 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19945 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19946 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19947 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19948 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19949 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19950 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19951 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19952 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19953 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19954 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19955 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19956 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19957 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19958 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19959 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19960 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19961 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19962 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19963 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19964 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19965 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19966 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19967 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19968 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19969 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19970 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19971 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19972 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19973 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19974 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19975 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19976 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19977 wine_fn_config_makefile dlls/d3dim enable_d3dim
19978 wine_fn_config_makefile dlls/d3drm enable_d3drm
19979 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19980 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19981 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19982 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19983 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19984 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19985 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19986 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19987 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19988 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19989 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19990 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19991 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19992 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19993 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19994 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19995 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19996 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19997 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19998 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19999 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20000 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20001 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20002 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20003 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20004 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20005 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20006 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20007 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20008 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20009 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20010 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20011 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20012 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20013 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20014 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20015 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20016 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20017 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20018 wine_fn_config_makefile dlls/davclnt enable_davclnt
20019 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20020 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20021 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20022 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20023 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20024 wine_fn_config_makefile dlls/ddraw enable_ddraw
20025 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20026 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20027 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20028 wine_fn_config_makefile dlls/devenum enable_devenum
20029 wine_fn_config_makefile dlls/devenum/tests enable_tests
20030 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20031 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20032 wine_fn_config_makefile dlls/difxapi enable_difxapi
20033 wine_fn_config_makefile dlls/dinput enable_dinput
20034 wine_fn_config_makefile dlls/dinput/tests enable_tests
20035 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20036 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20037 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20038 wine_fn_config_makefile dlls/dispex enable_dispex
20039 wine_fn_config_makefile dlls/dispex/tests enable_tests
20040 wine_fn_config_makefile dlls/display.drv16 enable_win16
20041 wine_fn_config_makefile dlls/dmband enable_dmband
20042 wine_fn_config_makefile dlls/dmband/tests enable_tests
20043 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20044 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20045 wine_fn_config_makefile dlls/dmime enable_dmime
20046 wine_fn_config_makefile dlls/dmime/tests enable_tests
20047 wine_fn_config_makefile dlls/dmloader enable_dmloader
20048 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20049 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20050 wine_fn_config_makefile dlls/dmscript enable_dmscript
20051 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20052 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20053 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20054 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20055 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20056 wine_fn_config_makefile dlls/dmusic enable_dmusic
20057 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20058 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20059 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20060 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20061 wine_fn_config_makefile dlls/dplay enable_dplay
20062 wine_fn_config_makefile dlls/dplayx enable_dplayx
20063 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20064 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20065 wine_fn_config_makefile dlls/dpnet enable_dpnet
20066 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20067 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20068 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20069 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20070 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20071 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20072 wine_fn_config_makefile dlls/drmclien enable_drmclien
20073 wine_fn_config_makefile dlls/dsound enable_dsound
20074 wine_fn_config_makefile dlls/dsound/tests enable_tests
20075 wine_fn_config_makefile dlls/dsquery enable_dsquery
20076 wine_fn_config_makefile dlls/dssenh enable_dssenh
20077 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20078 wine_fn_config_makefile dlls/dswave enable_dswave
20079 wine_fn_config_makefile dlls/dswave/tests enable_tests
20080 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20081 wine_fn_config_makefile dlls/dwrite enable_dwrite
20082 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20083 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20084 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20085 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20086 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20087 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20088 wine_fn_config_makefile dlls/dxgi enable_dxgi
20089 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20090 wine_fn_config_makefile dlls/dxguid enable_dxguid
20091 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20092 wine_fn_config_makefile dlls/esent enable_esent
20093 wine_fn_config_makefile dlls/evr enable_evr
20094 wine_fn_config_makefile dlls/evr/tests enable_tests
20095 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20096 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20097 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20098 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20099 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20100 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20101 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20102 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20103 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20104 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20105 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20106 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20107 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20108 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20109 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20110 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20111 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20112 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20113 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20114 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20115 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20116 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20117 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20118 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20119 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20120 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20121 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20122 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20123 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20124 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20125 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20126 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20127 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20128 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20129 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20130 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20131 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20132 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20133 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20134 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20135 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20136 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20137 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
20138 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20139 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20140 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20141 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20142 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20143 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20144 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20145 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20146 wine_fn_config_makefile dlls/faultrep enable_faultrep
20147 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20148 wine_fn_config_makefile dlls/feclient enable_feclient
20149 wine_fn_config_makefile dlls/fltlib enable_fltlib
20150 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20151 wine_fn_config_makefile dlls/fntcache enable_fntcache
20152 wine_fn_config_makefile dlls/fontsub enable_fontsub
20153 wine_fn_config_makefile dlls/fusion enable_fusion
20154 wine_fn_config_makefile dlls/fusion/tests enable_tests
20155 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20156 wine_fn_config_makefile dlls/gameux enable_gameux
20157 wine_fn_config_makefile dlls/gameux/tests enable_tests
20158 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20159 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20160 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20161 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20162 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20163 wine_fn_config_makefile dlls/glu32 enable_glu32
20164 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20165 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20166 wine_fn_config_makefile dlls/hal enable_hal
20167 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20168 wine_fn_config_makefile dlls/hid enable_hid
20169 wine_fn_config_makefile dlls/hid/tests enable_tests
20170 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20171 wine_fn_config_makefile dlls/hlink enable_hlink
20172 wine_fn_config_makefile dlls/hlink/tests enable_tests
20173 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20174 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20175 wine_fn_config_makefile dlls/httpapi enable_httpapi
20176 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20177 wine_fn_config_makefile dlls/iccvid enable_iccvid
20178 wine_fn_config_makefile dlls/icmp enable_icmp
20179 wine_fn_config_makefile dlls/ieframe enable_ieframe
20180 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20181 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20182 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20183 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20184 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20185 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20186 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20187 wine_fn_config_makefile dlls/imm32 enable_imm32
20188 wine_fn_config_makefile dlls/imm32/tests enable_tests
20189 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20190 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20191 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20192 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20193 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20194 wine_fn_config_makefile dlls/infosoft enable_infosoft
20195 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20196 wine_fn_config_makefile dlls/initpki enable_initpki
20197 wine_fn_config_makefile dlls/inkobj enable_inkobj
20198 wine_fn_config_makefile dlls/inseng enable_inseng
20199 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20200 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20201 wine_fn_config_makefile dlls/iprop enable_iprop
20202 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20203 wine_fn_config_makefile dlls/itircl enable_itircl
20204 wine_fn_config_makefile dlls/itss enable_itss
20205 wine_fn_config_makefile dlls/itss/tests enable_tests
20206 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20207 wine_fn_config_makefile dlls/jscript enable_jscript
20208 wine_fn_config_makefile dlls/jscript/tests enable_tests
20209 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20210 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20211 wine_fn_config_makefile dlls/kerberos enable_kerberos
20212 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20213 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20214 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20215 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20216 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20217 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20218 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20219 wine_fn_config_makefile dlls/ksuser enable_ksuser
20220 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20221 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20222 wine_fn_config_makefile dlls/loadperf enable_loadperf
20223 wine_fn_config_makefile dlls/localspl enable_localspl
20224 wine_fn_config_makefile dlls/localspl/tests enable_tests
20225 wine_fn_config_makefile dlls/localui enable_localui
20226 wine_fn_config_makefile dlls/localui/tests enable_tests
20227 wine_fn_config_makefile dlls/lz32 enable_lz32
20228 wine_fn_config_makefile dlls/lz32/tests enable_tests
20229 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20230 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20231 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20232 wine_fn_config_makefile dlls/mapistub enable_mapistub
20233 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20234 wine_fn_config_makefile dlls/mcicda enable_mcicda
20235 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20236 wine_fn_config_makefile dlls/mciseq enable_mciseq
20237 wine_fn_config_makefile dlls/mciwave enable_mciwave
20238 wine_fn_config_makefile dlls/mf enable_mf
20239 wine_fn_config_makefile dlls/mf/tests enable_tests
20240 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20241 wine_fn_config_makefile dlls/mferror enable_mferror
20242 wine_fn_config_makefile dlls/mfplat enable_mfplat
20243 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20244 wine_fn_config_makefile dlls/mfplay enable_mfplay
20245 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20246 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20247 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20248 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20249 wine_fn_config_makefile dlls/midimap enable_midimap
20250 wine_fn_config_makefile dlls/mlang enable_mlang
20251 wine_fn_config_makefile dlls/mlang/tests enable_tests
20252 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20253 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20254 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20255 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20256 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20257 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20258 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20259 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20260 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20261 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20262 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20263 wine_fn_config_makefile dlls/mpr enable_mpr
20264 wine_fn_config_makefile dlls/mpr/tests enable_tests
20265 wine_fn_config_makefile dlls/mprapi enable_mprapi
20266 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20267 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20268 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20269 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20270 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20271 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20272 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20273 wine_fn_config_makefile dlls/mscms enable_mscms
20274 wine_fn_config_makefile dlls/mscms/tests enable_tests
20275 wine_fn_config_makefile dlls/mscoree enable_mscoree
20276 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20277 wine_fn_config_makefile dlls/msctf enable_msctf
20278 wine_fn_config_makefile dlls/msctf/tests enable_tests
20279 wine_fn_config_makefile dlls/msctfp enable_msctfp
20280 wine_fn_config_makefile dlls/msdaps enable_msdaps
20281 wine_fn_config_makefile dlls/msdelta enable_msdelta
20282 wine_fn_config_makefile dlls/msdmo enable_msdmo
20283 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20284 wine_fn_config_makefile dlls/msdrm enable_msdrm
20285 wine_fn_config_makefile dlls/msftedit enable_msftedit
20286 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20287 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20288 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20289 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20290 wine_fn_config_makefile dlls/mshtml enable_mshtml
20291 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20292 wine_fn_config_makefile dlls/msi enable_msi
20293 wine_fn_config_makefile dlls/msi/tests enable_tests
20294 wine_fn_config_makefile dlls/msident enable_msident
20295 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20296 wine_fn_config_makefile dlls/msimsg enable_msimsg
20297 wine_fn_config_makefile dlls/msimtf enable_msimtf
20298 wine_fn_config_makefile dlls/msisip enable_msisip
20299 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20300 wine_fn_config_makefile dlls/msls31 enable_msls31
20301 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20302 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20303 wine_fn_config_makefile dlls/msports enable_msports
20304 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20305 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20306 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20307 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20308 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20309 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20310 wine_fn_config_makefile dlls/mstask enable_mstask
20311 wine_fn_config_makefile dlls/mstask/tests enable_tests
20312 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20313 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20314 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20315 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20316 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20317 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20318 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20319 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20320 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20321 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20322 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20323 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20324 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20325 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20326 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20327 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20328 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20329 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20330 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20331 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20332 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20333 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20334 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20335 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20336 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20337 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20338 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20339 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20340 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20341 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20342 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20343 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20344 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20345 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20346 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20347 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20348 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20349 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20350 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20351 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20352 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20353 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20354 wine_fn_config_makefile dlls/mswsock enable_mswsock
20355 wine_fn_config_makefile dlls/msxml enable_msxml
20356 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20357 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20358 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20359 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20360 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20361 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20362 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20363 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20364 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20365 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20366 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20367 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20368 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20369 wine_fn_config_makefile dlls/netprofm enable_netprofm
20370 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20371 wine_fn_config_makefile dlls/newdev enable_newdev
20372 wine_fn_config_makefile dlls/ninput enable_ninput
20373 wine_fn_config_makefile dlls/ninput/tests enable_tests
20374 wine_fn_config_makefile dlls/normaliz enable_normaliz
20375 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20376 wine_fn_config_makefile dlls/npptools enable_npptools
20377 wine_fn_config_makefile dlls/ntdll enable_ntdll
20378 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20379 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20380 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20381 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20382 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20383 wine_fn_config_makefile dlls/ntprint enable_ntprint
20384 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20385 wine_fn_config_makefile dlls/objsel enable_objsel
20386 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20387 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20388 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20389 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20390 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20391 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20392 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20393 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20394 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20395 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20396 wine_fn_config_makefile dlls/ole32 enable_ole32
20397 wine_fn_config_makefile dlls/ole32/tests enable_tests
20398 wine_fn_config_makefile dlls/oleacc enable_oleacc
20399 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20400 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20401 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20402 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20403 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20404 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20405 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20406 wine_fn_config_makefile dlls/oledlg enable_oledlg
20407 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20408 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20409 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20410 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20411 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20412 wine_fn_config_makefile dlls/opcservices enable_opcservices
20413 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20414 wine_fn_config_makefile dlls/openal32 enable_openal32
20415 wine_fn_config_makefile dlls/opencl enable_opencl
20416 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20417 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20418 wine_fn_config_makefile dlls/packager enable_packager
20419 wine_fn_config_makefile dlls/packager/tests enable_tests
20420 wine_fn_config_makefile dlls/pdh enable_pdh
20421 wine_fn_config_makefile dlls/pdh/tests enable_tests
20422 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20423 wine_fn_config_makefile dlls/pidgen enable_pidgen
20424 wine_fn_config_makefile dlls/powrprof enable_powrprof
20425 wine_fn_config_makefile dlls/printui enable_printui
20426 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20427 wine_fn_config_makefile dlls/propsys enable_propsys
20428 wine_fn_config_makefile dlls/propsys/tests enable_tests
20429 wine_fn_config_makefile dlls/psapi enable_psapi
20430 wine_fn_config_makefile dlls/psapi/tests enable_tests
20431 wine_fn_config_makefile dlls/pstorec enable_pstorec
20432 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20433 wine_fn_config_makefile dlls/qcap enable_qcap
20434 wine_fn_config_makefile dlls/qcap/tests enable_tests
20435 wine_fn_config_makefile dlls/qedit enable_qedit
20436 wine_fn_config_makefile dlls/qedit/tests enable_tests
20437 wine_fn_config_makefile dlls/qmgr enable_qmgr
20438 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20439 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20440 wine_fn_config_makefile dlls/quartz enable_quartz
20441 wine_fn_config_makefile dlls/quartz/tests enable_tests
20442 wine_fn_config_makefile dlls/query enable_query
20443 wine_fn_config_makefile dlls/qwave enable_qwave
20444 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20445 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20446 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20447 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20448 wine_fn_config_makefile dlls/regapi enable_regapi
20449 wine_fn_config_makefile dlls/resutils enable_resutils
20450 wine_fn_config_makefile dlls/riched20 enable_riched20
20451 wine_fn_config_makefile dlls/riched20/tests enable_tests
20452 wine_fn_config_makefile dlls/riched32 enable_riched32
20453 wine_fn_config_makefile dlls/riched32/tests enable_tests
20454 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20455 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20456 wine_fn_config_makefile dlls/rsabase enable_rsabase
20457 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20458 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20459 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20460 wine_fn_config_makefile dlls/rtutils enable_rtutils
20461 wine_fn_config_makefile dlls/samlib enable_samlib
20462 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20463 wine_fn_config_makefile dlls/sapi enable_sapi
20464 wine_fn_config_makefile dlls/sapi/tests enable_tests
20465 wine_fn_config_makefile dlls/sas enable_sas
20466 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20467 wine_fn_config_makefile dlls/sccbase enable_sccbase
20468 wine_fn_config_makefile dlls/schannel enable_schannel
20469 wine_fn_config_makefile dlls/schannel/tests enable_tests
20470 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20471 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20472 wine_fn_config_makefile dlls/scrobj enable_scrobj
20473 wine_fn_config_makefile dlls/scrrun enable_scrrun
20474 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20475 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20476 wine_fn_config_makefile dlls/secur32 enable_secur32
20477 wine_fn_config_makefile dlls/secur32/tests enable_tests
20478 wine_fn_config_makefile dlls/security enable_security
20479 wine_fn_config_makefile dlls/sensapi enable_sensapi
20480 wine_fn_config_makefile dlls/serialui enable_serialui
20481 wine_fn_config_makefile dlls/serialui/tests enable_tests
20482 wine_fn_config_makefile dlls/setupapi enable_setupapi
20483 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20484 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20485 wine_fn_config_makefile dlls/sfc enable_sfc
20486 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20487 wine_fn_config_makefile dlls/shcore enable_shcore
20488 wine_fn_config_makefile dlls/shcore/tests enable_tests
20489 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20490 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20491 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20492 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20493 wine_fn_config_makefile dlls/shell32 enable_shell32
20494 wine_fn_config_makefile dlls/shell32/tests enable_tests
20495 wine_fn_config_makefile dlls/shfolder enable_shfolder
20496 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20497 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20498 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20499 wine_fn_config_makefile dlls/slc enable_slc
20500 wine_fn_config_makefile dlls/slc/tests enable_tests
20501 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20502 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20503 wine_fn_config_makefile dlls/softpub enable_softpub
20504 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20505 wine_fn_config_makefile dlls/spoolss enable_spoolss
20506 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20507 wine_fn_config_makefile dlls/srclient enable_srclient
20508 wine_fn_config_makefile dlls/sspicli enable_sspicli
20509 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20510 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20511 wine_fn_config_makefile dlls/sti enable_sti
20512 wine_fn_config_makefile dlls/sti/tests enable_tests
20513 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20514 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20515 wine_fn_config_makefile dlls/strmbase enable_strmbase
20516 wine_fn_config_makefile dlls/strmdll enable_strmdll
20517 wine_fn_config_makefile dlls/strmiids enable_strmiids
20518 wine_fn_config_makefile dlls/svrapi enable_svrapi
20519 wine_fn_config_makefile dlls/sxs enable_sxs
20520 wine_fn_config_makefile dlls/sxs/tests enable_tests
20521 wine_fn_config_makefile dlls/system.drv16 enable_win16
20522 wine_fn_config_makefile dlls/t2embed enable_t2embed
20523 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20524 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20525 wine_fn_config_makefile dlls/taskschd enable_taskschd
20526 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20527 wine_fn_config_makefile dlls/tdh enable_tdh
20528 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20529 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20530 wine_fn_config_makefile dlls/traffic enable_traffic
20531 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20532 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20533 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20534 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20535 wine_fn_config_makefile dlls/tzres enable_tzres
20536 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20537 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20538 wine_fn_config_makefile dlls/uianimation enable_uianimation
20539 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20540 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20541 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20542 wine_fn_config_makefile dlls/unicows enable_unicows
20543 wine_fn_config_makefile dlls/updspapi enable_updspapi
20544 wine_fn_config_makefile dlls/url enable_url
20545 wine_fn_config_makefile dlls/urlmon enable_urlmon
20546 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20547 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20548 wine_fn_config_makefile dlls/user.exe16 enable_win16
20549 wine_fn_config_makefile dlls/user32 enable_user32
20550 wine_fn_config_makefile dlls/user32/tests enable_tests
20551 wine_fn_config_makefile dlls/userenv enable_userenv
20552 wine_fn_config_makefile dlls/userenv/tests enable_tests
20553 wine_fn_config_makefile dlls/usp10 enable_usp10
20554 wine_fn_config_makefile dlls/usp10/tests enable_tests
20555 wine_fn_config_makefile dlls/uuid enable_uuid
20556 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20557 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20558 wine_fn_config_makefile dlls/vbscript enable_vbscript
20559 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20560 wine_fn_config_makefile dlls/vcomp enable_vcomp
20561 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20562 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20563 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20564 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20565 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20566 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20567 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20568 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20569 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20570 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20571 wine_fn_config_makefile dlls/version enable_version
20572 wine_fn_config_makefile dlls/version/tests enable_tests
20573 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20574 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20575 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20576 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20577 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20578 wine_fn_config_makefile dlls/vssapi enable_vssapi
20579 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20580 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20581 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20582 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20583 wine_fn_config_makefile dlls/w32skrnl enable_win16
20584 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20585 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20586 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20587 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20588 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20589 wine_fn_config_makefile dlls/wdscore enable_wdscore
20590 wine_fn_config_makefile dlls/webservices enable_webservices
20591 wine_fn_config_makefile dlls/webservices/tests enable_tests
20592 wine_fn_config_makefile dlls/wer enable_wer
20593 wine_fn_config_makefile dlls/wer/tests enable_tests
20594 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20595 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20596 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20597 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20598 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20599 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20600 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20601 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20602 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20603 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20604 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20605 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20606 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20607 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20608 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20609 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20610 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20611 wine_fn_config_makefile dlls/wined3d enable_wined3d
20612 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20613 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20614 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20615 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20616 wine_fn_config_makefile dlls/winemapi enable_winemapi
20617 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20618 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20619 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20620 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20621 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20622 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20623 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20624 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20625 wine_fn_config_makefile dlls/wing32 enable_wing32
20626 wine_fn_config_makefile dlls/winhttp enable_winhttp
20627 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20628 wine_fn_config_makefile dlls/wininet enable_wininet
20629 wine_fn_config_makefile dlls/wininet/tests enable_tests
20630 wine_fn_config_makefile dlls/winmm enable_winmm
20631 wine_fn_config_makefile dlls/winmm/tests enable_tests
20632 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20633 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20634 wine_fn_config_makefile dlls/winscard enable_winscard
20635 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20636 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20637 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20638 wine_fn_config_makefile dlls/winsta enable_winsta
20639 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20640 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20641 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20642 wine_fn_config_makefile dlls/wintrust enable_wintrust
20643 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20644 wine_fn_config_makefile dlls/winusb enable_winusb
20645 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20646 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20647 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20648 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20649 wine_fn_config_makefile dlls/wmasf enable_wmasf
20650 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20651 wine_fn_config_makefile dlls/wmi enable_wmi
20652 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20653 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20654 wine_fn_config_makefile dlls/wmp enable_wmp
20655 wine_fn_config_makefile dlls/wmp/tests enable_tests
20656 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20657 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20658 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20659 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20660 wine_fn_config_makefile dlls/wow32 enable_win16
20661 wine_fn_config_makefile dlls/wpc enable_wpc
20662 wine_fn_config_makefile dlls/wpc/tests enable_tests
20663 wine_fn_config_makefile dlls/wpcap enable_wpcap
20664 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20665 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20666 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20667 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20668 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20669 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20670 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20671 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20672 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20673 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20674 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20675 wine_fn_config_makefile dlls/wuapi enable_wuapi
20676 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20677 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20678 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20679 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20680 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20681 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20682 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20683 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20684 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20685 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20686 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20687 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20688 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20689 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20690 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20691 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20692 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20693 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20694 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20695 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20696 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20697 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20698 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20699 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20700 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20701 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20702 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20703 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20704 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20705 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20706 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20707 wine_fn_config_makefile dlls/xmllite enable_xmllite
20708 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20709 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20710 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20711 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20712 wine_fn_config_makefile fonts enable_fonts
20713 wine_fn_config_makefile include enable_include
20714 wine_fn_config_makefile libs/port enable_port
20715 wine_fn_config_makefile libs/wine enable_wine
20716 wine_fn_config_makefile libs/wpp enable_wpp
20717 wine_fn_config_makefile loader enable_loader
20718 wine_fn_config_makefile po enable_po
20719 wine_fn_config_makefile programs/arp enable_arp
20720 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20721 wine_fn_config_makefile programs/attrib enable_attrib
20722 wine_fn_config_makefile programs/cabarc enable_cabarc
20723 wine_fn_config_makefile programs/cacls enable_cacls
20724 wine_fn_config_makefile programs/clock enable_clock
20725 wine_fn_config_makefile programs/cmd enable_cmd
20726 wine_fn_config_makefile programs/cmd/tests enable_tests
20727 wine_fn_config_makefile programs/conhost enable_conhost
20728 wine_fn_config_makefile programs/control enable_control
20729 wine_fn_config_makefile programs/cscript enable_cscript
20730 wine_fn_config_makefile programs/dism enable_dism
20731 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20732 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20733 wine_fn_config_makefile programs/eject enable_eject
20734 wine_fn_config_makefile programs/expand enable_expand
20735 wine_fn_config_makefile programs/explorer enable_explorer
20736 wine_fn_config_makefile programs/extrac32 enable_extrac32
20737 wine_fn_config_makefile programs/fc enable_fc
20738 wine_fn_config_makefile programs/find enable_find
20739 wine_fn_config_makefile programs/findstr enable_findstr
20740 wine_fn_config_makefile programs/fsutil enable_fsutil
20741 wine_fn_config_makefile programs/hh enable_hh
20742 wine_fn_config_makefile programs/hostname enable_hostname
20743 wine_fn_config_makefile programs/icacls enable_icacls
20744 wine_fn_config_makefile programs/icinfo enable_icinfo
20745 wine_fn_config_makefile programs/iexplore enable_iexplore
20746 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20747 wine_fn_config_makefile programs/lodctr enable_lodctr
20748 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20749 wine_fn_config_makefile programs/mshta enable_mshta
20750 wine_fn_config_makefile programs/msidb enable_msidb
20751 wine_fn_config_makefile programs/msiexec enable_msiexec
20752 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20753 wine_fn_config_makefile programs/net enable_net
20754 wine_fn_config_makefile programs/netsh enable_netsh
20755 wine_fn_config_makefile programs/netstat enable_netstat
20756 wine_fn_config_makefile programs/ngen enable_ngen
20757 wine_fn_config_makefile programs/notepad enable_notepad
20758 wine_fn_config_makefile programs/oleview enable_oleview
20759 wine_fn_config_makefile programs/ping enable_ping
20760 wine_fn_config_makefile programs/plugplay enable_plugplay
20761 wine_fn_config_makefile programs/powershell enable_powershell
20762 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20763 wine_fn_config_makefile programs/progman enable_progman
20764 wine_fn_config_makefile programs/reg enable_reg
20765 wine_fn_config_makefile programs/reg/tests enable_tests
20766 wine_fn_config_makefile programs/regasm enable_regasm
20767 wine_fn_config_makefile programs/regedit enable_regedit
20768 wine_fn_config_makefile programs/regedit/tests enable_tests
20769 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20770 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20771 wine_fn_config_makefile programs/rpcss enable_rpcss
20772 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20773 wine_fn_config_makefile programs/rundll32 enable_rundll32
20774 wine_fn_config_makefile programs/sc enable_sc
20775 wine_fn_config_makefile programs/schtasks enable_schtasks
20776 wine_fn_config_makefile programs/schtasks/tests enable_tests
20777 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20778 wine_fn_config_makefile programs/secedit enable_secedit
20779 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20780 wine_fn_config_makefile programs/services enable_services
20781 wine_fn_config_makefile programs/services/tests enable_tests
20782 wine_fn_config_makefile programs/shutdown enable_shutdown
20783 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20784 wine_fn_config_makefile programs/start enable_start
20785 wine_fn_config_makefile programs/subst enable_subst
20786 wine_fn_config_makefile programs/svchost enable_svchost
20787 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20788 wine_fn_config_makefile programs/taskkill enable_taskkill
20789 wine_fn_config_makefile programs/tasklist enable_tasklist
20790 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20791 wine_fn_config_makefile programs/termsv enable_termsv
20792 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20793 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20794 wine_fn_config_makefile programs/view enable_view
20795 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20796 wine_fn_config_makefile programs/wineboot enable_wineboot
20797 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20798 wine_fn_config_makefile programs/winecfg enable_winecfg
20799 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20800 wine_fn_config_makefile programs/winedbg enable_winedbg
20801 wine_fn_config_makefile programs/winedevice enable_winedevice
20802 wine_fn_config_makefile programs/winefile enable_winefile
20803 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20804 wine_fn_config_makefile programs/winemine enable_winemine
20805 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20806 wine_fn_config_makefile programs/winepath enable_winepath
20807 wine_fn_config_makefile programs/winetest enable_winetest
20808 wine_fn_config_makefile programs/winevdm enable_win16
20809 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20810 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20811 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20812 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20813 wine_fn_config_makefile programs/winver enable_winver
20814 wine_fn_config_makefile programs/wmic enable_wmic
20815 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20816 wine_fn_config_makefile programs/wordpad enable_wordpad
20817 wine_fn_config_makefile programs/write enable_write
20818 wine_fn_config_makefile programs/wscript enable_wscript
20819 wine_fn_config_makefile programs/wscript/tests enable_tests
20820 wine_fn_config_makefile programs/wusa enable_wusa
20821 wine_fn_config_makefile programs/xcopy enable_xcopy
20822 wine_fn_config_makefile programs/xcopy/tests enable_tests
20823 wine_fn_config_makefile server enable_server
20824 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20825 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20826 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20827 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20828 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20829 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20830 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20831 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20832 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20835 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20836 wine_fn_append_file CONFIGURE_TARGETS "tags"
20837 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20838 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20839 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20840 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20841 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20842 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20844 if test "x$enable_tools" != xno
20845 then
20846 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20847 ac_config_commands="$ac_config_commands tools/makedep"
20851 ac_config_commands="$ac_config_commands Makefile"
20854 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20858 if test "x$enable_maintainer_mode" = xyes
20859 then
20860 wine_fn_append_rule "configure: configure.ac aclocal.m4
20861 autoconf --warnings=all
20862 include/config.h.in: include/stamp-h.in
20863 include/stamp-h.in: configure.ac aclocal.m4
20864 autoheader --warnings=all
20865 @echo timestamp > \$@"
20868 if test "x$enable_tools" != xno
20869 then
20870 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20871 @./config.status tools/makedep
20872 Makefile: tools/makedep$ac_exeext
20873 fonts: tools/sfnt2fon
20874 include: tools tools/widl"
20875 else
20876 wine_fn_append_rule "\$(MAKEDEP):
20877 @echo \"You need to run make in $TOOLSDIR first\" && false"
20880 if test -n "$with_wine64"
20881 then
20882 case "$with_wine64" in
20883 /*) reldir="" ;;
20884 *) reldir="../" ;;
20885 esac
20886 rm -f fonts server 2>/dev/null
20887 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20888 loader/wine64 loader/wine64-preloader:
20889 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20890 $with_wine64/loader/wine:
20891 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20892 $with_wine64/loader/wine-preloader:
20893 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20894 clean::
20895 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20896 else
20897 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20898 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20899 fonts \
20900 loader/l_intl.nls \
20901 loader/wine.inf \
20902 programs/msidb/msidb \
20903 programs/msiexec/msiexec \
20904 programs/notepad/notepad \
20905 programs/regedit/regedit \
20906 programs/regsvr32/regsvr32 \
20907 programs/wineboot/wineboot \
20908 programs/winecfg/winecfg \
20909 programs/wineconsole/wineconsole \
20910 programs/winedbg/winedbg \
20911 programs/winefile/winefile \
20912 programs/winemine/winemine \
20913 programs/winepath/winepath \
20914 server/wineserver"
20916 case $host_os in
20917 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20918 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20919 esac
20922 $as_echo " done" >&6
20923 cat >confcache <<\_ACEOF
20924 # This file is a shell script that caches the results of configure
20925 # tests run on this system so they can be shared between configure
20926 # scripts and configure runs, see configure's option --config-cache.
20927 # It is not useful on other systems. If it contains results you don't
20928 # want to keep, you may remove or edit it.
20930 # config.status only pays attention to the cache file if you give it
20931 # the --recheck option to rerun configure.
20933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20935 # following values.
20937 _ACEOF
20939 # The following way of writing the cache mishandles newlines in values,
20940 # but we know of no workaround that is simple, portable, and efficient.
20941 # So, we kill variables containing newlines.
20942 # Ultrix sh set writes to stderr and can't be redirected directly,
20943 # and sets the high bit in the cache file unless we assign to the vars.
20945 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20946 eval ac_val=\$$ac_var
20947 case $ac_val in #(
20948 *${as_nl}*)
20949 case $ac_var in #(
20950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20952 esac
20953 case $ac_var in #(
20954 _ | IFS | as_nl) ;; #(
20955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20956 *) { eval $ac_var=; unset $ac_var;} ;;
20957 esac ;;
20958 esac
20959 done
20961 (set) 2>&1 |
20962 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20963 *${as_nl}ac_space=\ *)
20964 # `set' does not quote correctly, so add quotes: double-quote
20965 # substitution turns \\\\ into \\, and sed turns \\ into \.
20966 sed -n \
20967 "s/'/'\\\\''/g;
20968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20969 ;; #(
20971 # `set' quotes correctly as required by POSIX, so do not add quotes.
20972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20974 esac |
20975 sort
20977 sed '
20978 /^ac_cv_env_/b end
20979 t clear
20980 :clear
20981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20982 t end
20983 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20984 :end' >>confcache
20985 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20986 if test -w "$cache_file"; then
20987 if test "x$cache_file" != "x/dev/null"; then
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20989 $as_echo "$as_me: updating cache $cache_file" >&6;}
20990 if test ! -f "$cache_file" || test -h "$cache_file"; then
20991 cat confcache >"$cache_file"
20992 else
20993 case $cache_file in #(
20994 */* | ?:*)
20995 mv -f confcache "$cache_file"$$ &&
20996 mv -f "$cache_file"$$ "$cache_file" ;; #(
20998 mv -f confcache "$cache_file" ;;
20999 esac
21002 else
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21007 rm -f confcache
21009 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21010 # Let make expand exec_prefix.
21011 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21013 DEFS=-DHAVE_CONFIG_H
21015 ac_libobjs=
21016 ac_ltlibobjs=
21018 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21019 # 1. Remove the extension, and $U if already installed.
21020 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21021 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21022 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21023 # will be set to the directory where LIBOBJS objects are built.
21024 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21025 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21026 done
21027 LIBOBJS=$ac_libobjs
21029 LTLIBOBJS=$ac_ltlibobjs
21033 : "${CONFIG_STATUS=./config.status}"
21034 ac_write_fail=0
21035 ac_clean_files_save=$ac_clean_files
21036 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21038 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21039 as_write_fail=0
21040 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21041 #! $SHELL
21042 # Generated by $as_me.
21043 # Run this file to recreate the current configuration.
21044 # Compiler output produced by configure, useful for debugging
21045 # configure, is in config.log if it exists.
21047 debug=false
21048 ac_cs_recheck=false
21049 ac_cs_silent=false
21051 SHELL=\${CONFIG_SHELL-$SHELL}
21052 export SHELL
21053 _ASEOF
21054 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21055 ## -------------------- ##
21056 ## M4sh Initialization. ##
21057 ## -------------------- ##
21059 # Be more Bourne compatible
21060 DUALCASE=1; export DUALCASE # for MKS sh
21061 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21062 emulate sh
21063 NULLCMD=:
21064 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21065 # is contrary to our usage. Disable this feature.
21066 alias -g '${1+"$@"}'='"$@"'
21067 setopt NO_GLOB_SUBST
21068 else
21069 case `(set -o) 2>/dev/null` in #(
21070 *posix*) :
21071 set -o posix ;; #(
21072 *) :
21074 esac
21078 as_nl='
21080 export as_nl
21081 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21082 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21083 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21084 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21085 # Prefer a ksh shell builtin over an external printf program on Solaris,
21086 # but without wasting forks for bash or zsh.
21087 if test -z "$BASH_VERSION$ZSH_VERSION" \
21088 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21089 as_echo='print -r --'
21090 as_echo_n='print -rn --'
21091 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21092 as_echo='printf %s\n'
21093 as_echo_n='printf %s'
21094 else
21095 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21096 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21097 as_echo_n='/usr/ucb/echo -n'
21098 else
21099 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21100 as_echo_n_body='eval
21101 arg=$1;
21102 case $arg in #(
21103 *"$as_nl"*)
21104 expr "X$arg" : "X\\(.*\\)$as_nl";
21105 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21106 esac;
21107 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21109 export as_echo_n_body
21110 as_echo_n='sh -c $as_echo_n_body as_echo'
21112 export as_echo_body
21113 as_echo='sh -c $as_echo_body as_echo'
21116 # The user is always right.
21117 if test "${PATH_SEPARATOR+set}" != set; then
21118 PATH_SEPARATOR=:
21119 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21120 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21121 PATH_SEPARATOR=';'
21126 # IFS
21127 # We need space, tab and new line, in precisely that order. Quoting is
21128 # there to prevent editors from complaining about space-tab.
21129 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21130 # splitting by setting IFS to empty value.)
21131 IFS=" "" $as_nl"
21133 # Find who we are. Look in the path if we contain no directory separator.
21134 as_myself=
21135 case $0 in #((
21136 *[\\/]* ) as_myself=$0 ;;
21137 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21138 for as_dir in $PATH
21140 IFS=$as_save_IFS
21141 test -z "$as_dir" && as_dir=.
21142 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21143 done
21144 IFS=$as_save_IFS
21147 esac
21148 # We did not find ourselves, most probably we were run as `sh COMMAND'
21149 # in which case we are not to be found in the path.
21150 if test "x$as_myself" = x; then
21151 as_myself=$0
21153 if test ! -f "$as_myself"; then
21154 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21155 exit 1
21158 # Unset variables that we do not need and which cause bugs (e.g. in
21159 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21160 # suppresses any "Segmentation fault" message there. '((' could
21161 # trigger a bug in pdksh 5.2.14.
21162 for as_var in BASH_ENV ENV MAIL MAILPATH
21163 do eval test x\${$as_var+set} = xset \
21164 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21165 done
21166 PS1='$ '
21167 PS2='> '
21168 PS4='+ '
21170 # NLS nuisances.
21171 LC_ALL=C
21172 export LC_ALL
21173 LANGUAGE=C
21174 export LANGUAGE
21176 # CDPATH.
21177 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21180 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21181 # ----------------------------------------
21182 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21183 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21184 # script with STATUS, using 1 if that was 0.
21185 as_fn_error ()
21187 as_status=$1; test $as_status -eq 0 && as_status=1
21188 if test "$4"; then
21189 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21190 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21192 $as_echo "$as_me: error: $2" >&2
21193 as_fn_exit $as_status
21194 } # as_fn_error
21197 # as_fn_set_status STATUS
21198 # -----------------------
21199 # Set $? to STATUS, without forking.
21200 as_fn_set_status ()
21202 return $1
21203 } # as_fn_set_status
21205 # as_fn_exit STATUS
21206 # -----------------
21207 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21208 as_fn_exit ()
21210 set +e
21211 as_fn_set_status $1
21212 exit $1
21213 } # as_fn_exit
21215 # as_fn_unset VAR
21216 # ---------------
21217 # Portably unset VAR.
21218 as_fn_unset ()
21220 { eval $1=; unset $1;}
21222 as_unset=as_fn_unset
21223 # as_fn_append VAR VALUE
21224 # ----------------------
21225 # Append the text in VALUE to the end of the definition contained in VAR. Take
21226 # advantage of any shell optimizations that allow amortized linear growth over
21227 # repeated appends, instead of the typical quadratic growth present in naive
21228 # implementations.
21229 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21230 eval 'as_fn_append ()
21232 eval $1+=\$2
21234 else
21235 as_fn_append ()
21237 eval $1=\$$1\$2
21239 fi # as_fn_append
21241 # as_fn_arith ARG...
21242 # ------------------
21243 # Perform arithmetic evaluation on the ARGs, and store the result in the
21244 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21245 # must be portable across $(()) and expr.
21246 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21247 eval 'as_fn_arith ()
21249 as_val=$(( $* ))
21251 else
21252 as_fn_arith ()
21254 as_val=`expr "$@" || test $? -eq 1`
21256 fi # as_fn_arith
21259 if expr a : '\(a\)' >/dev/null 2>&1 &&
21260 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21261 as_expr=expr
21262 else
21263 as_expr=false
21266 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21267 as_basename=basename
21268 else
21269 as_basename=false
21272 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21273 as_dirname=dirname
21274 else
21275 as_dirname=false
21278 as_me=`$as_basename -- "$0" ||
21279 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21280 X"$0" : 'X\(//\)$' \| \
21281 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21282 $as_echo X/"$0" |
21283 sed '/^.*\/\([^/][^/]*\)\/*$/{
21284 s//\1/
21287 /^X\/\(\/\/\)$/{
21288 s//\1/
21291 /^X\/\(\/\).*/{
21292 s//\1/
21295 s/.*/./; q'`
21297 # Avoid depending upon Character Ranges.
21298 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21299 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21300 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21301 as_cr_digits='0123456789'
21302 as_cr_alnum=$as_cr_Letters$as_cr_digits
21304 ECHO_C= ECHO_N= ECHO_T=
21305 case `echo -n x` in #(((((
21306 -n*)
21307 case `echo 'xy\c'` in
21308 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21309 xy) ECHO_C='\c';;
21310 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21311 ECHO_T=' ';;
21312 esac;;
21314 ECHO_N='-n';;
21315 esac
21317 rm -f conf$$ conf$$.exe conf$$.file
21318 if test -d conf$$.dir; then
21319 rm -f conf$$.dir/conf$$.file
21320 else
21321 rm -f conf$$.dir
21322 mkdir conf$$.dir 2>/dev/null
21324 if (echo >conf$$.file) 2>/dev/null; then
21325 if ln -s conf$$.file conf$$ 2>/dev/null; then
21326 as_ln_s='ln -s'
21327 # ... but there are two gotchas:
21328 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21329 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21330 # In both cases, we have to default to `cp -pR'.
21331 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21332 as_ln_s='cp -pR'
21333 elif ln conf$$.file conf$$ 2>/dev/null; then
21334 as_ln_s=ln
21335 else
21336 as_ln_s='cp -pR'
21338 else
21339 as_ln_s='cp -pR'
21341 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21342 rmdir conf$$.dir 2>/dev/null
21345 # as_fn_mkdir_p
21346 # -------------
21347 # Create "$as_dir" as a directory, including parents if necessary.
21348 as_fn_mkdir_p ()
21351 case $as_dir in #(
21352 -*) as_dir=./$as_dir;;
21353 esac
21354 test -d "$as_dir" || eval $as_mkdir_p || {
21355 as_dirs=
21356 while :; do
21357 case $as_dir in #(
21358 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21359 *) as_qdir=$as_dir;;
21360 esac
21361 as_dirs="'$as_qdir' $as_dirs"
21362 as_dir=`$as_dirname -- "$as_dir" ||
21363 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21364 X"$as_dir" : 'X\(//\)[^/]' \| \
21365 X"$as_dir" : 'X\(//\)$' \| \
21366 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21367 $as_echo X"$as_dir" |
21368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21369 s//\1/
21372 /^X\(\/\/\)[^/].*/{
21373 s//\1/
21376 /^X\(\/\/\)$/{
21377 s//\1/
21380 /^X\(\/\).*/{
21381 s//\1/
21384 s/.*/./; q'`
21385 test -d "$as_dir" && break
21386 done
21387 test -z "$as_dirs" || eval "mkdir $as_dirs"
21388 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21391 } # as_fn_mkdir_p
21392 if mkdir -p . 2>/dev/null; then
21393 as_mkdir_p='mkdir -p "$as_dir"'
21394 else
21395 test -d ./-p && rmdir ./-p
21396 as_mkdir_p=false
21400 # as_fn_executable_p FILE
21401 # -----------------------
21402 # Test if FILE is an executable regular file.
21403 as_fn_executable_p ()
21405 test -f "$1" && test -x "$1"
21406 } # as_fn_executable_p
21407 as_test_x='test -x'
21408 as_executable_p=as_fn_executable_p
21410 # Sed expression to map a string onto a valid CPP name.
21411 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21413 # Sed expression to map a string onto a valid variable name.
21414 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21417 exec 6>&1
21418 ## ----------------------------------- ##
21419 ## Main body of $CONFIG_STATUS script. ##
21420 ## ----------------------------------- ##
21421 _ASEOF
21422 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21425 # Save the log message, to keep $0 and so on meaningful, and to
21426 # report actual input values of CONFIG_FILES etc. instead of their
21427 # values after options handling.
21428 ac_log="
21429 This file was extended by Wine $as_me 4.5, which was
21430 generated by GNU Autoconf 2.69. Invocation command line was
21432 CONFIG_FILES = $CONFIG_FILES
21433 CONFIG_HEADERS = $CONFIG_HEADERS
21434 CONFIG_LINKS = $CONFIG_LINKS
21435 CONFIG_COMMANDS = $CONFIG_COMMANDS
21436 $ $0 $@
21438 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21441 _ACEOF
21443 case $ac_config_files in *"
21444 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21445 esac
21447 case $ac_config_headers in *"
21448 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21449 esac
21452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21453 # Files that config.status was made for.
21454 config_files="$ac_config_files"
21455 config_headers="$ac_config_headers"
21456 config_links="$ac_config_links"
21457 config_commands="$ac_config_commands"
21459 _ACEOF
21461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21462 ac_cs_usage="\
21463 \`$as_me' instantiates files and other configuration actions
21464 from templates according to the current configuration. Unless the files
21465 and actions are specified as TAGs, all are instantiated by default.
21467 Usage: $0 [OPTION]... [TAG]...
21469 -h, --help print this help, then exit
21470 -V, --version print version number and configuration settings, then exit
21471 --config print configuration, then exit
21472 -q, --quiet, --silent
21473 do not print progress messages
21474 -d, --debug don't remove temporary files
21475 --recheck update $as_me by reconfiguring in the same conditions
21476 --file=FILE[:TEMPLATE]
21477 instantiate the configuration file FILE
21478 --header=FILE[:TEMPLATE]
21479 instantiate the configuration header FILE
21481 Configuration files:
21482 $config_files
21484 Configuration headers:
21485 $config_headers
21487 Configuration links:
21488 $config_links
21490 Configuration commands:
21491 $config_commands
21493 Report bugs to <wine-devel@winehq.org>.
21494 Wine home page: <https://www.winehq.org>."
21496 _ACEOF
21497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21498 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21499 ac_cs_version="\\
21500 Wine config.status 4.5
21501 configured by $0, generated by GNU Autoconf 2.69,
21502 with options \\"\$ac_cs_config\\"
21504 Copyright (C) 2012 Free Software Foundation, Inc.
21505 This config.status script is free software; the Free Software Foundation
21506 gives unlimited permission to copy, distribute and modify it."
21508 ac_pwd='$ac_pwd'
21509 srcdir='$srcdir'
21510 test -n "\$AWK" || AWK=awk
21511 _ACEOF
21513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21514 # The default lists apply if the user does not specify any file.
21515 ac_need_defaults=:
21516 while test $# != 0
21518 case $1 in
21519 --*=?*)
21520 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21521 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21522 ac_shift=:
21524 --*=)
21525 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21526 ac_optarg=
21527 ac_shift=:
21530 ac_option=$1
21531 ac_optarg=$2
21532 ac_shift=shift
21534 esac
21536 case $ac_option in
21537 # Handling of the options.
21538 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21539 ac_cs_recheck=: ;;
21540 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21541 $as_echo "$ac_cs_version"; exit ;;
21542 --config | --confi | --conf | --con | --co | --c )
21543 $as_echo "$ac_cs_config"; exit ;;
21544 --debug | --debu | --deb | --de | --d | -d )
21545 debug=: ;;
21546 --file | --fil | --fi | --f )
21547 $ac_shift
21548 case $ac_optarg in
21549 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21550 '') as_fn_error $? "missing file argument" ;;
21551 esac
21552 as_fn_append CONFIG_FILES " '$ac_optarg'"
21553 ac_need_defaults=false;;
21554 --header | --heade | --head | --hea )
21555 $ac_shift
21556 case $ac_optarg in
21557 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21558 esac
21559 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21560 ac_need_defaults=false;;
21561 --he | --h)
21562 # Conflict between --help and --header
21563 as_fn_error $? "ambiguous option: \`$1'
21564 Try \`$0 --help' for more information.";;
21565 --help | --hel | -h )
21566 $as_echo "$ac_cs_usage"; exit ;;
21567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21568 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21569 ac_cs_silent=: ;;
21571 # This is an error.
21572 -*) as_fn_error $? "unrecognized option: \`$1'
21573 Try \`$0 --help' for more information." ;;
21575 *) as_fn_append ac_config_targets " $1"
21576 ac_need_defaults=false ;;
21578 esac
21579 shift
21580 done
21582 ac_configure_extra_args=
21584 if $ac_cs_silent; then
21585 exec 6>/dev/null
21586 ac_configure_extra_args="$ac_configure_extra_args --silent"
21589 _ACEOF
21590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21591 if \$ac_cs_recheck; then
21592 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21593 shift
21594 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21595 CONFIG_SHELL='$SHELL'
21596 export CONFIG_SHELL
21597 exec "\$@"
21600 _ACEOF
21601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21602 exec 5>>config.log
21604 echo
21605 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21606 ## Running $as_me. ##
21607 _ASBOX
21608 $as_echo "$ac_log"
21609 } >&5
21611 _ACEOF
21612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21614 # INIT-COMMANDS
21616 wine_fn_output_makedep ()
21618 as_dir=tools; as_fn_mkdir_p
21619 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21621 wine_fn_output_makefile ()
21623 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21624 `cat $wine_rules_file`
21625 _WINE_EOF
21626 as_fn_error $? "could not create Makefile" "$LINENO" 5
21629 _ACEOF
21631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21633 # Handling of arguments.
21634 for ac_config_target in $ac_config_targets
21636 case $ac_config_target in
21637 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21638 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21639 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21640 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21641 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21642 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21643 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21644 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21645 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21646 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21647 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21648 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21649 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21651 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21652 esac
21653 done
21656 # If the user did not use the arguments to specify the items to instantiate,
21657 # then the envvar interface is used. Set only those that are not.
21658 # We use the long form for the default assignment because of an extremely
21659 # bizarre bug on SunOS 4.1.3.
21660 if $ac_need_defaults; then
21661 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21662 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21663 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21664 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21667 # Have a temporary directory for convenience. Make it in the build tree
21668 # simply because there is no reason against having it here, and in addition,
21669 # creating and moving files from /tmp can sometimes cause problems.
21670 # Hook for its removal unless debugging.
21671 # Note that there is a small window in which the directory will not be cleaned:
21672 # after its creation but before its name has been assigned to `$tmp'.
21673 $debug ||
21675 tmp= ac_tmp=
21676 trap 'exit_status=$?
21677 : "${ac_tmp:=$tmp}"
21678 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21680 trap 'as_fn_exit 1' 1 2 13 15
21682 # Create a (secure) tmp directory for tmp files.
21685 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21686 test -d "$tmp"
21687 } ||
21689 tmp=./conf$$-$RANDOM
21690 (umask 077 && mkdir "$tmp")
21691 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21692 ac_tmp=$tmp
21694 # Set up the scripts for CONFIG_FILES section.
21695 # No need to generate them if there are no CONFIG_FILES.
21696 # This happens for instance with `./config.status config.h'.
21697 if test -n "$CONFIG_FILES"; then
21700 ac_cr=`echo X | tr X '\015'`
21701 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21702 # But we know of no other shell where ac_cr would be empty at this
21703 # point, so we can use a bashism as a fallback.
21704 if test "x$ac_cr" = x; then
21705 eval ac_cr=\$\'\\r\'
21707 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21708 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21709 ac_cs_awk_cr='\\r'
21710 else
21711 ac_cs_awk_cr=$ac_cr
21714 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21715 _ACEOF
21719 echo "cat >conf$$subs.awk <<_ACEOF" &&
21720 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21721 echo "_ACEOF"
21722 } >conf$$subs.sh ||
21723 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21724 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21725 ac_delim='%!_!# '
21726 for ac_last_try in false false false false false :; do
21727 . ./conf$$subs.sh ||
21728 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21730 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21731 if test $ac_delim_n = $ac_delim_num; then
21732 break
21733 elif $ac_last_try; then
21734 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21735 else
21736 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21738 done
21739 rm -f conf$$subs.sh
21741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21742 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21743 _ACEOF
21744 sed -n '
21746 s/^/S["/; s/!.*/"]=/
21749 s/^[^!]*!//
21750 :repl
21751 t repl
21752 s/'"$ac_delim"'$//
21753 t delim
21756 s/\(.\{148\}\)..*/\1/
21757 t more1
21758 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21761 b repl
21762 :more1
21763 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21766 s/.\{148\}//
21767 t nl
21768 :delim
21770 s/\(.\{148\}\)..*/\1/
21771 t more2
21772 s/["\\]/\\&/g; s/^/"/; s/$/"/
21775 :more2
21776 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21779 s/.\{148\}//
21780 t delim
21781 ' <conf$$subs.awk | sed '
21782 /^[^""]/{
21784 s/\n//
21786 ' >>$CONFIG_STATUS || ac_write_fail=1
21787 rm -f conf$$subs.awk
21788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21789 _ACAWK
21790 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21791 for (key in S) S_is_set[key] = 1
21792 FS = "\a"
21796 line = $ 0
21797 nfields = split(line, field, "@")
21798 substed = 0
21799 len = length(field[1])
21800 for (i = 2; i < nfields; i++) {
21801 key = field[i]
21802 keylen = length(key)
21803 if (S_is_set[key]) {
21804 value = S[key]
21805 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21806 len += length(value) + length(field[++i])
21807 substed = 1
21808 } else
21809 len += 1 + keylen
21812 print line
21815 _ACAWK
21816 _ACEOF
21817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21818 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21819 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21820 else
21822 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21823 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21824 _ACEOF
21826 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21827 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21828 # trailing colons and then remove the whole line if VPATH becomes empty
21829 # (actually we leave an empty line to preserve line numbers).
21830 if test "x$srcdir" = x.; then
21831 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21833 s///
21834 s/^/:/
21835 s/[ ]*$/:/
21836 s/:\$(srcdir):/:/g
21837 s/:\${srcdir}:/:/g
21838 s/:@srcdir@:/:/g
21839 s/^:*//
21840 s/:*$//
21842 s/\(=[ ]*\).*/\1/
21844 s/\n//
21845 s/^[^=]*=[ ]*$//
21849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21850 fi # test -n "$CONFIG_FILES"
21852 # Set up the scripts for CONFIG_HEADERS section.
21853 # No need to generate them if there are no CONFIG_HEADERS.
21854 # This happens for instance with `./config.status Makefile'.
21855 if test -n "$CONFIG_HEADERS"; then
21856 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21857 BEGIN {
21858 _ACEOF
21860 # Transform confdefs.h into an awk script `defines.awk', embedded as
21861 # here-document in config.status, that substitutes the proper values into
21862 # config.h.in to produce config.h.
21864 # Create a delimiter string that does not exist in confdefs.h, to ease
21865 # handling of long lines.
21866 ac_delim='%!_!# '
21867 for ac_last_try in false false :; do
21868 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21869 if test -z "$ac_tt"; then
21870 break
21871 elif $ac_last_try; then
21872 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21873 else
21874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21876 done
21878 # For the awk script, D is an array of macro values keyed by name,
21879 # likewise P contains macro parameters if any. Preserve backslash
21880 # newline sequences.
21882 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21883 sed -n '
21884 s/.\{148\}/&'"$ac_delim"'/g
21885 t rset
21886 :rset
21887 s/^[ ]*#[ ]*define[ ][ ]*/ /
21888 t def
21890 :def
21891 s/\\$//
21892 t bsnl
21893 s/["\\]/\\&/g
21894 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21895 D["\1"]=" \3"/p
21896 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21898 :bsnl
21899 s/["\\]/\\&/g
21900 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21901 D["\1"]=" \3\\\\\\n"\\/p
21902 t cont
21903 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21904 t cont
21906 :cont
21908 s/.\{148\}/&'"$ac_delim"'/g
21909 t clear
21910 :clear
21911 s/\\$//
21912 t bsnlc
21913 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21915 :bsnlc
21916 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21917 b cont
21918 ' <confdefs.h | sed '
21919 s/'"$ac_delim"'/"\\\
21920 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21923 for (key in D) D_is_set[key] = 1
21924 FS = "\a"
21926 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21927 line = \$ 0
21928 split(line, arg, " ")
21929 if (arg[1] == "#") {
21930 defundef = arg[2]
21931 mac1 = arg[3]
21932 } else {
21933 defundef = substr(arg[1], 2)
21934 mac1 = arg[2]
21936 split(mac1, mac2, "(") #)
21937 macro = mac2[1]
21938 prefix = substr(line, 1, index(line, defundef) - 1)
21939 if (D_is_set[macro]) {
21940 # Preserve the white space surrounding the "#".
21941 print prefix "define", macro P[macro] D[macro]
21942 next
21943 } else {
21944 # Replace #undef with comments. This is necessary, for example,
21945 # in the case of _POSIX_SOURCE, which is predefined and required
21946 # on some systems where configure will not decide to define it.
21947 if (defundef == "undef") {
21948 print "/*", prefix defundef, macro, "*/"
21949 next
21953 { print }
21954 _ACAWK
21955 _ACEOF
21956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21957 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21958 fi # test -n "$CONFIG_HEADERS"
21961 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21962 shift
21963 for ac_tag
21965 case $ac_tag in
21966 :[FHLC]) ac_mode=$ac_tag; continue;;
21967 esac
21968 case $ac_mode$ac_tag in
21969 :[FHL]*:*);;
21970 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21971 :[FH]-) ac_tag=-:-;;
21972 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21973 esac
21974 ac_save_IFS=$IFS
21975 IFS=:
21976 set x $ac_tag
21977 IFS=$ac_save_IFS
21978 shift
21979 ac_file=$1
21980 shift
21982 case $ac_mode in
21983 :L) ac_source=$1;;
21984 :[FH])
21985 ac_file_inputs=
21986 for ac_f
21988 case $ac_f in
21989 -) ac_f="$ac_tmp/stdin";;
21990 *) # Look for the file first in the build tree, then in the source tree
21991 # (if the path is not absolute). The absolute path cannot be DOS-style,
21992 # because $ac_f cannot contain `:'.
21993 test -f "$ac_f" ||
21994 case $ac_f in
21995 [\\/$]*) false;;
21996 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21997 esac ||
21998 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21999 esac
22000 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22001 as_fn_append ac_file_inputs " '$ac_f'"
22002 done
22004 # Let's still pretend it is `configure' which instantiates (i.e., don't
22005 # use $as_me), people would be surprised to read:
22006 # /* config.h. Generated by config.status. */
22007 configure_input='Generated from '`
22008 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22009 `' by configure.'
22010 if test x"$ac_file" != x-; then
22011 configure_input="$ac_file. $configure_input"
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22013 $as_echo "$as_me: creating $ac_file" >&6;}
22015 # Neutralize special characters interpreted by sed in replacement strings.
22016 case $configure_input in #(
22017 *\&* | *\|* | *\\* )
22018 ac_sed_conf_input=`$as_echo "$configure_input" |
22019 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22020 *) ac_sed_conf_input=$configure_input;;
22021 esac
22023 case $ac_tag in
22024 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22025 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22026 esac
22028 esac
22030 ac_dir=`$as_dirname -- "$ac_file" ||
22031 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22032 X"$ac_file" : 'X\(//\)[^/]' \| \
22033 X"$ac_file" : 'X\(//\)$' \| \
22034 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22035 $as_echo X"$ac_file" |
22036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22037 s//\1/
22040 /^X\(\/\/\)[^/].*/{
22041 s//\1/
22044 /^X\(\/\/\)$/{
22045 s//\1/
22048 /^X\(\/\).*/{
22049 s//\1/
22052 s/.*/./; q'`
22053 as_dir="$ac_dir"; as_fn_mkdir_p
22054 ac_builddir=.
22056 case "$ac_dir" in
22057 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22059 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22060 # A ".." for each directory in $ac_dir_suffix.
22061 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22062 case $ac_top_builddir_sub in
22063 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22064 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22065 esac ;;
22066 esac
22067 ac_abs_top_builddir=$ac_pwd
22068 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22069 # for backward compatibility:
22070 ac_top_builddir=$ac_top_build_prefix
22072 case $srcdir in
22073 .) # We are building in place.
22074 ac_srcdir=.
22075 ac_top_srcdir=$ac_top_builddir_sub
22076 ac_abs_top_srcdir=$ac_pwd ;;
22077 [\\/]* | ?:[\\/]* ) # Absolute name.
22078 ac_srcdir=$srcdir$ac_dir_suffix;
22079 ac_top_srcdir=$srcdir
22080 ac_abs_top_srcdir=$srcdir ;;
22081 *) # Relative name.
22082 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22083 ac_top_srcdir=$ac_top_build_prefix$srcdir
22084 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22085 esac
22086 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22089 case $ac_mode in
22092 # CONFIG_FILE
22095 _ACEOF
22097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22098 # If the template does not know about datarootdir, expand it.
22099 # FIXME: This hack should be removed a few years after 2.60.
22100 ac_datarootdir_hack=; ac_datarootdir_seen=
22101 ac_sed_dataroot='
22102 /datarootdir/ {
22106 /@datadir@/p
22107 /@docdir@/p
22108 /@infodir@/p
22109 /@localedir@/p
22110 /@mandir@/p'
22111 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22112 *datarootdir*) ac_datarootdir_seen=yes;;
22113 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22115 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22116 _ACEOF
22117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22118 ac_datarootdir_hack='
22119 s&@datadir@&$datadir&g
22120 s&@docdir@&$docdir&g
22121 s&@infodir@&$infodir&g
22122 s&@localedir@&$localedir&g
22123 s&@mandir@&$mandir&g
22124 s&\\\${datarootdir}&$datarootdir&g' ;;
22125 esac
22126 _ACEOF
22128 # Neutralize VPATH when `$srcdir' = `.'.
22129 # Shell code in configure.ac might set extrasub.
22130 # FIXME: do we really want to maintain this feature?
22131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22132 ac_sed_extra="$ac_vpsub
22133 $extrasub
22134 _ACEOF
22135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22138 s|@configure_input@|$ac_sed_conf_input|;t t
22139 s&@top_builddir@&$ac_top_builddir_sub&;t t
22140 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22141 s&@srcdir@&$ac_srcdir&;t t
22142 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22143 s&@top_srcdir@&$ac_top_srcdir&;t t
22144 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22145 s&@builddir@&$ac_builddir&;t t
22146 s&@abs_builddir@&$ac_abs_builddir&;t t
22147 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22148 $ac_datarootdir_hack
22150 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22151 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22153 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22154 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22155 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22156 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22158 which seems to be undefined. Please make sure it is defined" >&5
22159 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22160 which seems to be undefined. Please make sure it is defined" >&2;}
22162 rm -f "$ac_tmp/stdin"
22163 case $ac_file in
22164 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22165 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22166 esac \
22167 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22171 # CONFIG_HEADER
22173 if test x"$ac_file" != x-; then
22175 $as_echo "/* $configure_input */" \
22176 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22177 } >"$ac_tmp/config.h" \
22178 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22179 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22181 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22182 else
22183 rm -f "$ac_file"
22184 mv "$ac_tmp/config.h" "$ac_file" \
22185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22187 else
22188 $as_echo "/* $configure_input */" \
22189 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22190 || as_fn_error $? "could not create -" "$LINENO" 5
22195 # CONFIG_LINK
22198 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22200 else
22201 # Prefer the file from the source tree if names are identical.
22202 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22203 ac_source=$srcdir/$ac_source
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22207 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22209 if test ! -r "$ac_source"; then
22210 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22212 rm -f "$ac_file"
22214 # Try a relative symlink, then a hard link, then a copy.
22215 case $ac_source in
22216 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22217 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22218 esac
22219 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22220 ln "$ac_source" "$ac_file" 2>/dev/null ||
22221 cp -p "$ac_source" "$ac_file" ||
22222 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22225 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22226 $as_echo "$as_me: executing $ac_file commands" >&6;}
22228 esac
22231 case $ac_file$ac_mode in
22232 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22233 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22234 "Makefile":C) wine_fn_output_makefile Makefile ;;
22236 esac
22237 done # for ac_tag
22240 as_fn_exit 0
22241 _ACEOF
22242 ac_clean_files=$ac_clean_files_save
22244 test $ac_write_fail = 0 ||
22245 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22248 # configure is writing to config.log, and then calls config.status.
22249 # config.status does its own redirection, appending to config.log.
22250 # Unfortunately, on DOS this fails, as config.log is still kept open
22251 # by configure, so config.status won't be able to write to it; its
22252 # output is simply discarded. So we exec the FD to /dev/null,
22253 # effectively closing config.log, so it can be properly (re)opened and
22254 # appended to by config.status. When coming back to configure, we
22255 # need to make the FD available again.
22256 if test "$no_create" != yes; then
22257 ac_cs_success=:
22258 ac_config_status_args=
22259 test "$silent" = yes &&
22260 ac_config_status_args="$ac_config_status_args --quiet"
22261 exec 5>/dev/null
22262 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22263 exec 5>>config.log
22264 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22265 # would make configure fail if this is the last instruction.
22266 $ac_cs_success || as_fn_exit 1
22268 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22270 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22274 if test "$no_create" = "yes"
22275 then
22276 exit 0
22279 ac_save_IFS="$IFS"
22280 if test "x$wine_notices" != x; then
22281 echo >&6
22282 IFS="|"
22283 for msg in $wine_notices; do
22284 IFS="$ac_save_IFS"
22285 if ${msg:+false} :; then :
22287 else
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22289 $as_echo "$as_me: $msg" >&6;}
22291 done
22293 IFS="|"
22294 for msg in $wine_warnings; do
22295 IFS="$ac_save_IFS"
22296 if ${msg:+false} :; then :
22298 else
22299 echo >&2
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22301 $as_echo "$as_me: WARNING: $msg" >&2;}
22303 done
22304 IFS="$ac_save_IFS"
22306 $as_echo "
22307 $as_me: Finished. Do '${ac_make}' to compile Wine.
22308 " >&6