libwine: Remove __wine_main_arg* from the public header.
[wine/zf.git] / configure
blobd40ebf82dca00297f0e0fd290ea99b32e9b7fd78
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.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='5.5'
584 PACKAGE_STRING='Wine 5.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 TOOLSEXT
633 MSVCRTFLAGS
634 EXCESS_PRECISION_CFLAGS
635 EXTRACFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 INOTIFY_LIBS
694 INOTIFY_CFLAGS
695 XSLT_LIBS
696 XSLT_CFLAGS
697 XML2_LIBS
698 XML2_CFLAGS
699 PCAP_LIBS
700 X_EXTRA_LIBS
701 X_LIBS
702 X_PRE_LIBS
703 X_CFLAGS
704 XMKMF
705 PTHREAD_LIBS
706 DELAYLOADFLAG
707 CROSSLDFLAGS
708 EXTRACROSSCFLAGS
709 CROSSCFLAGS
710 CROSSCC
711 CROSSTARGET
712 LIBWINE_DEPENDS
713 PRELINK
714 WINELOADER_DEPENDS
715 LIBWINE_LDFLAGS
716 LIBWINE_SHAREDLIB
717 METAL_LIBS
718 CARBON_LIBS
719 QUICKTIME_LIBS
720 OPENCL_LIBS
721 OPENAL_LIBS
722 COREAUDIO_LIBS
723 SECURITY_LIBS
724 DISKARBITRATION_LIBS
725 SYSTEMCONFIGURATION_LIBS
726 APPKIT_LIBS
727 CORESERVICES_LIBS
728 APPLICATIONSERVICES_LIBS
729 FORCEFEEDBACK_LIBS
730 IOKIT_LIBS
731 COREFOUNDATION_LIBS
732 OBJCPP
733 ac_ct_OBJC
734 OBJCFLAGS
735 OBJC
736 DLLTOOL
737 WINELOADER_PROGRAMS
738 CONFIGURE_TARGETS
739 DISABLED_SUBDIRS
740 SUBDIRS
741 READELF
742 OTOOL
744 WINEPRELOADER_LDFLAGS
745 WINELOADER_LDFLAGS
746 TOP_INSTALL_DEV
747 TOP_INSTALL_LIB
748 LDEXECFLAGS
749 LDDLLFLAGS
750 LDRPATH_LOCAL
751 LDRPATH_INSTALL
752 DLLFLAGS
754 OPENGL_LIBS
755 I386_LIBS
756 ICOTOOL
757 CONVERT
758 RSVG
759 FONTFORGE
760 PKG_CONFIG
761 MSGFMT
762 LDCONFIG
763 EGREP
764 GREP
765 LN_S
766 RANLIB
767 STRIP
768 ac_ct_AR
770 BISON
771 FLEX
772 TOOLSDIR
773 TARGETFLAGS
775 CPPBIN
776 ac_ct_CXX
777 CXXFLAGS
779 OBJEXT
780 EXEEXT
781 ac_ct_CC
782 CPPFLAGS
783 LDFLAGS
784 CFLAGS
786 SET_MAKE
787 host_os
788 host_vendor
789 host_cpu
790 host
791 build_os
792 build_vendor
793 build_cpu
794 build
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 runstatedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_win16
838 enable_win64
839 enable_tests
840 enable_maintainer_mode
841 enable_werror
842 with_alsa
843 with_capi
844 with_cms
845 with_coreaudio
846 with_cups
847 with_curses
848 with_dbus
849 with_faudio
850 with_float_abi
851 with_fontconfig
852 with_freetype
853 with_gettext
854 with_gettextpo
855 with_gphoto
856 with_glu
857 with_gnutls
858 with_gsm
859 with_gssapi
860 with_gstreamer
861 with_hal
862 with_inotify
863 with_jpeg
864 with_krb5
865 with_ldap
866 with_mingw
867 with_mpg123
868 with_netapi
869 with_openal
870 with_opencl
871 with_opengl
872 with_osmesa
873 with_oss
874 with_pcap
875 with_png
876 with_pthread
877 with_pulse
878 with_sane
879 with_sdl
880 with_tiff
881 with_udev
882 with_unwind
883 with_v4l2
884 with_vkd3d
885 with_vulkan
886 with_xcomposite
887 with_xcursor
888 with_xfixes
889 with_xinerama
890 with_xinput
891 with_xinput2
892 with_xml
893 with_xrandr
894 with_xrender
895 with_xshape
896 with_xshm
897 with_xslt
898 with_xxf86vm
899 with_wine_tools
900 with_wine64
901 enable_largefile
902 with_x
903 enable_acledit
904 enable_aclui
905 enable_activeds_tlb
906 enable_activeds
907 enable_actxprxy
908 enable_adsiid
909 enable_adsldp
910 enable_adsldpc
911 enable_advapi32
912 enable_advpack
913 enable_amsi
914 enable_amstream
915 enable_api_ms_win_appmodel_identity_l1_1_0
916 enable_api_ms_win_appmodel_runtime_l1_1_1
917 enable_api_ms_win_appmodel_runtime_l1_1_2
918 enable_api_ms_win_core_apiquery_l1_1_0
919 enable_api_ms_win_core_appcompat_l1_1_1
920 enable_api_ms_win_core_appinit_l1_1_0
921 enable_api_ms_win_core_atoms_l1_1_0
922 enable_api_ms_win_core_bem_l1_1_0
923 enable_api_ms_win_core_com_l1_1_0
924 enable_api_ms_win_core_com_l1_1_1
925 enable_api_ms_win_core_com_private_l1_1_0
926 enable_api_ms_win_core_comm_l1_1_0
927 enable_api_ms_win_core_console_l1_1_0
928 enable_api_ms_win_core_console_l2_1_0
929 enable_api_ms_win_core_crt_l1_1_0
930 enable_api_ms_win_core_crt_l2_1_0
931 enable_api_ms_win_core_datetime_l1_1_0
932 enable_api_ms_win_core_datetime_l1_1_1
933 enable_api_ms_win_core_debug_l1_1_0
934 enable_api_ms_win_core_debug_l1_1_1
935 enable_api_ms_win_core_delayload_l1_1_0
936 enable_api_ms_win_core_delayload_l1_1_1
937 enable_api_ms_win_core_errorhandling_l1_1_0
938 enable_api_ms_win_core_errorhandling_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_2
940 enable_api_ms_win_core_errorhandling_l1_1_3
941 enable_api_ms_win_core_fibers_l1_1_0
942 enable_api_ms_win_core_fibers_l1_1_1
943 enable_api_ms_win_core_file_l1_1_0
944 enable_api_ms_win_core_file_l1_2_0
945 enable_api_ms_win_core_file_l1_2_1
946 enable_api_ms_win_core_file_l1_2_2
947 enable_api_ms_win_core_file_l2_1_0
948 enable_api_ms_win_core_file_l2_1_1
949 enable_api_ms_win_core_file_l2_1_2
950 enable_api_ms_win_core_handle_l1_1_0
951 enable_api_ms_win_core_heap_l1_1_0
952 enable_api_ms_win_core_heap_l1_2_0
953 enable_api_ms_win_core_heap_l2_1_0
954 enable_api_ms_win_core_heap_obsolete_l1_1_0
955 enable_api_ms_win_core_interlocked_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_2_0
957 enable_api_ms_win_core_io_l1_1_0
958 enable_api_ms_win_core_io_l1_1_1
959 enable_api_ms_win_core_job_l1_1_0
960 enable_api_ms_win_core_job_l2_1_0
961 enable_api_ms_win_core_kernel32_legacy_l1_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_1
963 enable_api_ms_win_core_kernel32_private_l1_1_1
964 enable_api_ms_win_core_largeinteger_l1_1_0
965 enable_api_ms_win_core_libraryloader_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_1
967 enable_api_ms_win_core_libraryloader_l1_2_0
968 enable_api_ms_win_core_libraryloader_l1_2_1
969 enable_api_ms_win_core_libraryloader_l1_2_2
970 enable_api_ms_win_core_localization_l1_1_0
971 enable_api_ms_win_core_localization_l1_2_0
972 enable_api_ms_win_core_localization_l1_2_1
973 enable_api_ms_win_core_localization_l2_1_0
974 enable_api_ms_win_core_localization_obsolete_l1_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_2_0
976 enable_api_ms_win_core_localization_obsolete_l1_3_0
977 enable_api_ms_win_core_localization_private_l1_1_0
978 enable_api_ms_win_core_localregistry_l1_1_0
979 enable_api_ms_win_core_memory_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_1
981 enable_api_ms_win_core_memory_l1_1_2
982 enable_api_ms_win_core_misc_l1_1_0
983 enable_api_ms_win_core_namedpipe_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_2_0
985 enable_api_ms_win_core_namespace_l1_1_0
986 enable_api_ms_win_core_normalization_l1_1_0
987 enable_api_ms_win_core_path_l1_1_0
988 enable_api_ms_win_core_privateprofile_l1_1_1
989 enable_api_ms_win_core_processenvironment_l1_1_0
990 enable_api_ms_win_core_processenvironment_l1_2_0
991 enable_api_ms_win_core_processthreads_l1_1_0
992 enable_api_ms_win_core_processthreads_l1_1_1
993 enable_api_ms_win_core_processthreads_l1_1_2
994 enable_api_ms_win_core_processthreads_l1_1_3
995 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
996 enable_api_ms_win_core_profile_l1_1_0
997 enable_api_ms_win_core_psapi_ansi_l1_1_0
998 enable_api_ms_win_core_psapi_l1_1_0
999 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1000 enable_api_ms_win_core_quirks_l1_1_0
1001 enable_api_ms_win_core_realtime_l1_1_0
1002 enable_api_ms_win_core_registry_l1_1_0
1003 enable_api_ms_win_core_registry_l2_1_0
1004 enable_api_ms_win_core_registry_l2_2_0
1005 enable_api_ms_win_core_registryuserspecific_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_2_0
1008 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1011 enable_api_ms_win_core_shutdown_l1_1_0
1012 enable_api_ms_win_core_sidebyside_l1_1_0
1013 enable_api_ms_win_core_string_l1_1_0
1014 enable_api_ms_win_core_string_l2_1_0
1015 enable_api_ms_win_core_string_obsolete_l1_1_0
1016 enable_api_ms_win_core_stringansi_l1_1_0
1017 enable_api_ms_win_core_stringloader_l1_1_1
1018 enable_api_ms_win_core_synch_ansi_l1_1_0
1019 enable_api_ms_win_core_synch_l1_1_0
1020 enable_api_ms_win_core_synch_l1_2_0
1021 enable_api_ms_win_core_synch_l1_2_1
1022 enable_api_ms_win_core_sysinfo_l1_1_0
1023 enable_api_ms_win_core_sysinfo_l1_2_0
1024 enable_api_ms_win_core_sysinfo_l1_2_1
1025 enable_api_ms_win_core_threadpool_l1_1_0
1026 enable_api_ms_win_core_threadpool_l1_2_0
1027 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1028 enable_api_ms_win_core_threadpool_private_l1_1_0
1029 enable_api_ms_win_core_timezone_l1_1_0
1030 enable_api_ms_win_core_toolhelp_l1_1_0
1031 enable_api_ms_win_core_url_l1_1_0
1032 enable_api_ms_win_core_util_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_1
1035 enable_api_ms_win_core_version_private_l1_1_0
1036 enable_api_ms_win_core_versionansi_l1_1_0
1037 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_1
1040 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1041 enable_api_ms_win_core_winrt_l1_1_0
1042 enable_api_ms_win_core_winrt_registration_l1_1_0
1043 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_1
1046 enable_api_ms_win_core_wow64_l1_1_0
1047 enable_api_ms_win_core_wow64_l1_1_1
1048 enable_api_ms_win_core_xstate_l1_1_0
1049 enable_api_ms_win_core_xstate_l2_1_0
1050 enable_api_ms_win_crt_conio_l1_1_0
1051 enable_api_ms_win_crt_convert_l1_1_0
1052 enable_api_ms_win_crt_environment_l1_1_0
1053 enable_api_ms_win_crt_filesystem_l1_1_0
1054 enable_api_ms_win_crt_heap_l1_1_0
1055 enable_api_ms_win_crt_locale_l1_1_0
1056 enable_api_ms_win_crt_math_l1_1_0
1057 enable_api_ms_win_crt_multibyte_l1_1_0
1058 enable_api_ms_win_crt_private_l1_1_0
1059 enable_api_ms_win_crt_process_l1_1_0
1060 enable_api_ms_win_crt_runtime_l1_1_0
1061 enable_api_ms_win_crt_stdio_l1_1_0
1062 enable_api_ms_win_crt_string_l1_1_0
1063 enable_api_ms_win_crt_time_l1_1_0
1064 enable_api_ms_win_crt_utility_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_1
1067 enable_api_ms_win_devices_query_l1_1_1
1068 enable_api_ms_win_downlevel_advapi32_l1_1_0
1069 enable_api_ms_win_downlevel_advapi32_l2_1_0
1070 enable_api_ms_win_downlevel_normaliz_l1_1_0
1071 enable_api_ms_win_downlevel_ole32_l1_1_0
1072 enable_api_ms_win_downlevel_shell32_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1075 enable_api_ms_win_downlevel_user32_l1_1_0
1076 enable_api_ms_win_downlevel_version_l1_1_0
1077 enable_api_ms_win_dx_d3dkmt_l1_1_0
1078 enable_api_ms_win_eventing_classicprovider_l1_1_0
1079 enable_api_ms_win_eventing_consumer_l1_1_0
1080 enable_api_ms_win_eventing_controller_l1_1_0
1081 enable_api_ms_win_eventing_legacy_l1_1_0
1082 enable_api_ms_win_eventing_provider_l1_1_0
1083 enable_api_ms_win_eventlog_legacy_l1_1_0
1084 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1085 enable_api_ms_win_mm_joystick_l1_1_0
1086 enable_api_ms_win_mm_misc_l1_1_1
1087 enable_api_ms_win_mm_mme_l1_1_0
1088 enable_api_ms_win_mm_time_l1_1_0
1089 enable_api_ms_win_ntuser_dc_access_l1_1_0
1090 enable_api_ms_win_ntuser_rectangle_l1_1_0
1091 enable_api_ms_win_ntuser_sysparams_l1_1_0
1092 enable_api_ms_win_perf_legacy_l1_1_0
1093 enable_api_ms_win_power_base_l1_1_0
1094 enable_api_ms_win_power_setting_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1098 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1102 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1103 enable_api_ms_win_security_audit_l1_1_1
1104 enable_api_ms_win_security_base_l1_1_0
1105 enable_api_ms_win_security_base_l1_2_0
1106 enable_api_ms_win_security_base_private_l1_1_1
1107 enable_api_ms_win_security_credentials_l1_1_0
1108 enable_api_ms_win_security_cryptoapi_l1_1_0
1109 enable_api_ms_win_security_grouppolicy_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_1
1112 enable_api_ms_win_security_lsalookup_l2_1_0
1113 enable_api_ms_win_security_lsalookup_l2_1_1
1114 enable_api_ms_win_security_lsapolicy_l1_1_0
1115 enable_api_ms_win_security_provider_l1_1_0
1116 enable_api_ms_win_security_sddl_l1_1_0
1117 enable_api_ms_win_security_systemfunctions_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_1
1120 enable_api_ms_win_service_management_l1_1_0
1121 enable_api_ms_win_service_management_l2_1_0
1122 enable_api_ms_win_service_private_l1_1_1
1123 enable_api_ms_win_service_winsvc_l1_1_0
1124 enable_api_ms_win_service_winsvc_l1_2_0
1125 enable_api_ms_win_shcore_obsolete_l1_1_0
1126 enable_api_ms_win_shcore_scaling_l1_1_1
1127 enable_api_ms_win_shcore_stream_l1_1_0
1128 enable_api_ms_win_shcore_thread_l1_1_0
1129 enable_api_ms_win_shell_shellcom_l1_1_0
1130 enable_api_ms_win_shell_shellfolders_l1_1_0
1131 enable_apphelp
1132 enable_appwiz_cpl
1133 enable_atl
1134 enable_atl100
1135 enable_atl110
1136 enable_atl80
1137 enable_atl90
1138 enable_atlthunk
1139 enable_atmlib
1140 enable_authz
1141 enable_avicap32
1142 enable_avifil32
1143 enable_avrt
1144 enable_bcrypt
1145 enable_bluetoothapis
1146 enable_browseui
1147 enable_bthprops_cpl
1148 enable_cabinet
1149 enable_capi2032
1150 enable_cards
1151 enable_cdosys
1152 enable_cfgmgr32
1153 enable_clusapi
1154 enable_combase
1155 enable_comcat
1156 enable_comctl32
1157 enable_comdlg32
1158 enable_compstui
1159 enable_comsvcs
1160 enable_concrt140
1161 enable_connect
1162 enable_credui
1163 enable_crtdll
1164 enable_crypt32
1165 enable_cryptdlg
1166 enable_cryptdll
1167 enable_cryptext
1168 enable_cryptnet
1169 enable_cryptui
1170 enable_ctapi32
1171 enable_ctl3d32
1172 enable_d2d1
1173 enable_d3d10
1174 enable_d3d10_1
1175 enable_d3d10core
1176 enable_d3d11
1177 enable_d3d12
1178 enable_d3d8
1179 enable_d3d9
1180 enable_d3dcompiler_33
1181 enable_d3dcompiler_34
1182 enable_d3dcompiler_35
1183 enable_d3dcompiler_36
1184 enable_d3dcompiler_37
1185 enable_d3dcompiler_38
1186 enable_d3dcompiler_39
1187 enable_d3dcompiler_40
1188 enable_d3dcompiler_41
1189 enable_d3dcompiler_42
1190 enable_d3dcompiler_43
1191 enable_d3dcompiler_46
1192 enable_d3dcompiler_47
1193 enable_d3dim
1194 enable_d3drm
1195 enable_d3dx10_33
1196 enable_d3dx10_34
1197 enable_d3dx10_35
1198 enable_d3dx10_36
1199 enable_d3dx10_37
1200 enable_d3dx10_38
1201 enable_d3dx10_39
1202 enable_d3dx10_40
1203 enable_d3dx10_41
1204 enable_d3dx10_42
1205 enable_d3dx10_43
1206 enable_d3dx11_42
1207 enable_d3dx11_43
1208 enable_d3dx9_24
1209 enable_d3dx9_25
1210 enable_d3dx9_26
1211 enable_d3dx9_27
1212 enable_d3dx9_28
1213 enable_d3dx9_29
1214 enable_d3dx9_30
1215 enable_d3dx9_31
1216 enable_d3dx9_32
1217 enable_d3dx9_33
1218 enable_d3dx9_34
1219 enable_d3dx9_35
1220 enable_d3dx9_36
1221 enable_d3dx9_37
1222 enable_d3dx9_38
1223 enable_d3dx9_39
1224 enable_d3dx9_40
1225 enable_d3dx9_41
1226 enable_d3dx9_42
1227 enable_d3dx9_43
1228 enable_d3dxof
1229 enable_davclnt
1230 enable_dbgeng
1231 enable_dbghelp
1232 enable_dciman32
1233 enable_ddraw
1234 enable_ddrawex
1235 enable_devenum
1236 enable_dhcpcsvc
1237 enable_dhtmled_ocx
1238 enable_difxapi
1239 enable_dinput
1240 enable_dinput8
1241 enable_dispex
1242 enable_dmband
1243 enable_dmcompos
1244 enable_dmime
1245 enable_dmloader
1246 enable_dmoguids
1247 enable_dmscript
1248 enable_dmstyle
1249 enable_dmsynth
1250 enable_dmusic
1251 enable_dmusic32
1252 enable_dnsapi
1253 enable_dplay
1254 enable_dplayx
1255 enable_dpnaddr
1256 enable_dpnet
1257 enable_dpnhpast
1258 enable_dpnlobby
1259 enable_dpvoice
1260 enable_dpwsockx
1261 enable_drmclien
1262 enable_dsdmo
1263 enable_dsound
1264 enable_dsquery
1265 enable_dssenh
1266 enable_dsuiext
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qasf
1525 enable_qcap
1526 enable_qedit
1527 enable_qmgr
1528 enable_qmgrprxy
1529 enable_quartz
1530 enable_query
1531 enable_qwave
1532 enable_rasapi32
1533 enable_rasdlg
1534 enable_regapi
1535 enable_resutils
1536 enable_riched20
1537 enable_riched32
1538 enable_rpcrt4
1539 enable_rsabase
1540 enable_rsaenh
1541 enable_rstrtmgr
1542 enable_rtutils
1543 enable_rtworkq
1544 enable_samlib
1545 enable_sane_ds
1546 enable_sapi
1547 enable_sas
1548 enable_scarddlg
1549 enable_sccbase
1550 enable_schannel
1551 enable_schedsvc
1552 enable_scrobj
1553 enable_scrrun
1554 enable_scsiport_sys
1555 enable_secur32
1556 enable_security
1557 enable_sensapi
1558 enable_serialui
1559 enable_setupapi
1560 enable_sfc
1561 enable_sfc_os
1562 enable_shcore
1563 enable_shdoclc
1564 enable_shdocvw
1565 enable_shell32
1566 enable_shfolder
1567 enable_shlwapi
1568 enable_slbcsp
1569 enable_slc
1570 enable_snmpapi
1571 enable_softpub
1572 enable_spoolss
1573 enable_srclient
1574 enable_sspicli
1575 enable_stdole2_tlb
1576 enable_stdole32_tlb
1577 enable_sti
1578 enable_strmbase
1579 enable_strmdll
1580 enable_strmiids
1581 enable_svrapi
1582 enable_sxs
1583 enable_t2embed
1584 enable_tapi32
1585 enable_taskschd
1586 enable_tdh
1587 enable_tdi_sys
1588 enable_traffic
1589 enable_twain_32
1590 enable_tzres
1591 enable_ucrtbase
1592 enable_uianimation
1593 enable_uiautomationcore
1594 enable_uiribbon
1595 enable_unicows
1596 enable_updspapi
1597 enable_url
1598 enable_urlmon
1599 enable_usbd_sys
1600 enable_user32
1601 enable_userenv
1602 enable_usp10
1603 enable_utildll
1604 enable_uuid
1605 enable_uxtheme
1606 enable_vbscript
1607 enable_vcomp
1608 enable_vcomp100
1609 enable_vcomp110
1610 enable_vcomp120
1611 enable_vcomp140
1612 enable_vcomp90
1613 enable_vcruntime140
1614 enable_vcruntime140_1
1615 enable_vdmdbg
1616 enable_version
1617 enable_vga
1618 enable_virtdisk
1619 enable_vssapi
1620 enable_vulkan_1
1621 enable_wbemdisp
1622 enable_wbemprox
1623 enable_wbemuuid
1624 enable_wdscore
1625 enable_webservices
1626 enable_wer
1627 enable_wevtapi
1628 enable_wiaservc
1629 enable_wimgapi
1630 enable_windowscodecs
1631 enable_windowscodecsext
1632 enable_winealsa_drv
1633 enable_wineandroid_drv
1634 enable_winebus_sys
1635 enable_winecoreaudio_drv
1636 enable_winecrt0
1637 enable_wined3d
1638 enable_winegstreamer
1639 enable_winehid_sys
1640 enable_winejoystick_drv
1641 enable_winemac_drv
1642 enable_winemapi
1643 enable_wineoss_drv
1644 enable_wineps_drv
1645 enable_winepulse_drv
1646 enable_wineqtdecoder
1647 enable_winevulkan
1648 enable_winex11_drv
1649 enable_wing32
1650 enable_winhttp
1651 enable_wininet
1652 enable_winmm
1653 enable_winnls32
1654 enable_winscard
1655 enable_winspool_drv
1656 enable_winsta
1657 enable_wintab32
1658 enable_wintrust
1659 enable_winusb
1660 enable_wlanapi
1661 enable_wlanui
1662 enable_wldap32
1663 enable_wmasf
1664 enable_wmcodecdspuuid
1665 enable_wmi
1666 enable_wmiutils
1667 enable_wmp
1668 enable_wmphoto
1669 enable_wmvcore
1670 enable_wnaspi32
1671 enable_wpc
1672 enable_wpcap
1673 enable_ws2_32
1674 enable_wsdapi
1675 enable_wshom_ocx
1676 enable_wsnmp32
1677 enable_wsock32
1678 enable_wtsapi32
1679 enable_wuapi
1680 enable_wuaueng
1681 enable_x3daudio1_0
1682 enable_x3daudio1_1
1683 enable_x3daudio1_2
1684 enable_x3daudio1_3
1685 enable_x3daudio1_4
1686 enable_x3daudio1_5
1687 enable_x3daudio1_6
1688 enable_x3daudio1_7
1689 enable_xapofx1_1
1690 enable_xapofx1_2
1691 enable_xapofx1_3
1692 enable_xapofx1_4
1693 enable_xapofx1_5
1694 enable_xaudio2_0
1695 enable_xaudio2_1
1696 enable_xaudio2_2
1697 enable_xaudio2_3
1698 enable_xaudio2_4
1699 enable_xaudio2_5
1700 enable_xaudio2_6
1701 enable_xaudio2_7
1702 enable_xaudio2_8
1703 enable_xaudio2_9
1704 enable_xinput1_1
1705 enable_xinput1_2
1706 enable_xinput1_3
1707 enable_xinput1_4
1708 enable_xinput9_1_0
1709 enable_xmllite
1710 enable_xolehlp
1711 enable_xpsprint
1712 enable_xpssvcs
1713 enable_fonts
1714 enable_include
1715 enable_port
1716 enable_wine
1717 enable_wpp
1718 enable_loader
1719 enable_nls
1720 enable_po
1721 enable_arp
1722 enable_aspnet_regiis
1723 enable_attrib
1724 enable_cabarc
1725 enable_cacls
1726 enable_chcp_com
1727 enable_clock
1728 enable_cmd
1729 enable_conhost
1730 enable_control
1731 enable_cscript
1732 enable_dism
1733 enable_dpnsvr
1734 enable_dxdiag
1735 enable_eject
1736 enable_expand
1737 enable_explorer
1738 enable_extrac32
1739 enable_fc
1740 enable_find
1741 enable_findstr
1742 enable_fsutil
1743 enable_hh
1744 enable_hostname
1745 enable_icacls
1746 enable_icinfo
1747 enable_iexplore
1748 enable_ipconfig
1749 enable_lodctr
1750 enable_mofcomp
1751 enable_mshta
1752 enable_msidb
1753 enable_msiexec
1754 enable_msinfo32
1755 enable_net
1756 enable_netsh
1757 enable_netstat
1758 enable_ngen
1759 enable_notepad
1760 enable_oleview
1761 enable_ping
1762 enable_plugplay
1763 enable_powershell
1764 enable_presentationfontcache
1765 enable_progman
1766 enable_reg
1767 enable_regasm
1768 enable_regedit
1769 enable_regini
1770 enable_regsvcs
1771 enable_regsvr32
1772 enable_rpcss
1773 enable_rundll32
1774 enable_sc
1775 enable_schtasks
1776 enable_sdbinst
1777 enable_secedit
1778 enable_servicemodelreg
1779 enable_services
1780 enable_shutdown
1781 enable_spoolsv
1782 enable_start
1783 enable_subst
1784 enable_svchost
1785 enable_systeminfo
1786 enable_taskkill
1787 enable_tasklist
1788 enable_taskmgr
1789 enable_termsv
1790 enable_uninstaller
1791 enable_unlodctr
1792 enable_view
1793 enable_wevtutil
1794 enable_whoami
1795 enable_wineboot
1796 enable_winebrowser
1797 enable_winecfg
1798 enable_wineconsole
1799 enable_winedbg
1800 enable_winedevice
1801 enable_winefile
1802 enable_winemenubuilder
1803 enable_winemine
1804 enable_winemsibuilder
1805 enable_winepath
1806 enable_winetest
1807 enable_winhlp32
1808 enable_winmgmt
1809 enable_winver
1810 enable_wmic
1811 enable_wmplayer
1812 enable_wordpad
1813 enable_write
1814 enable_wscript
1815 enable_wuauserv
1816 enable_wusa
1817 enable_xcopy
1818 enable_server
1819 enable_tools
1820 enable_sfnt2fon
1821 enable_widl
1822 enable_winebuild
1823 enable_winedump
1824 enable_winegcc
1825 enable_winemaker
1826 enable_wmc
1827 enable_wrc
1829 ac_precious_vars='build_alias
1830 host_alias
1831 target_alias
1833 CFLAGS
1834 LDFLAGS
1835 LIBS
1836 CPPFLAGS
1838 CXXFLAGS
1841 OBJC
1842 OBJCFLAGS
1843 OBJCPP
1844 XMKMF
1845 XML2_CFLAGS
1846 XML2_LIBS
1847 XSLT_CFLAGS
1848 XSLT_LIBS
1849 INOTIFY_CFLAGS
1850 INOTIFY_LIBS
1851 DBUS_CFLAGS
1852 DBUS_LIBS
1853 HAL_CFLAGS
1854 HAL_LIBS
1855 GNUTLS_CFLAGS
1856 GNUTLS_LIBS
1857 SANE_CFLAGS
1858 SANE_LIBS
1859 GPHOTO2_CFLAGS
1860 GPHOTO2_LIBS
1861 GPHOTO2_PORT_CFLAGS
1862 GPHOTO2_PORT_LIBS
1863 LCMS2_CFLAGS
1864 LCMS2_LIBS
1865 FREETYPE_CFLAGS
1866 FREETYPE_LIBS
1867 PULSE_CFLAGS
1868 PULSE_LIBS
1869 GSTREAMER_CFLAGS
1870 GSTREAMER_LIBS
1871 UDEV_CFLAGS
1872 UDEV_LIBS
1873 UNWIND_CFLAGS
1874 UNWIND_LIBS
1875 SDL2_CFLAGS
1876 SDL2_LIBS
1877 FAUDIO_CFLAGS
1878 FAUDIO_LIBS
1879 CAPI20_CFLAGS
1880 CAPI20_LIBS
1881 CUPS_CFLAGS
1882 CUPS_LIBS
1883 FONTCONFIG_CFLAGS
1884 FONTCONFIG_LIBS
1885 KRB5_CFLAGS
1886 KRB5_LIBS
1887 GSSAPI_CFLAGS
1888 GSSAPI_LIBS
1889 JPEG_CFLAGS
1890 JPEG_LIBS
1891 PNG_CFLAGS
1892 PNG_LIBS
1893 TIFF_CFLAGS
1894 TIFF_LIBS
1895 MPG123_CFLAGS
1896 MPG123_LIBS
1897 NETAPI_CFLAGS
1898 NETAPI_LIBS
1899 VKD3D_CFLAGS
1900 VKD3D_LIBS
1901 LDAP_CFLAGS
1902 LDAP_LIBS'
1905 # Initialize some variables set by options.
1906 ac_init_help=
1907 ac_init_version=false
1908 ac_unrecognized_opts=
1909 ac_unrecognized_sep=
1910 # The variables have the same names as the options, with
1911 # dashes changed to underlines.
1912 cache_file=/dev/null
1913 exec_prefix=NONE
1914 no_create=
1915 no_recursion=
1916 prefix=NONE
1917 program_prefix=NONE
1918 program_suffix=NONE
1919 program_transform_name=s,x,x,
1920 silent=
1921 site=
1922 srcdir=
1923 verbose=
1924 x_includes=NONE
1925 x_libraries=NONE
1927 # Installation directory options.
1928 # These are left unexpanded so users can "make install exec_prefix=/foo"
1929 # and all the variables that are supposed to be based on exec_prefix
1930 # by default will actually change.
1931 # Use braces instead of parens because sh, perl, etc. also accept them.
1932 # (The list follows the same order as the GNU Coding Standards.)
1933 bindir='${exec_prefix}/bin'
1934 sbindir='${exec_prefix}/sbin'
1935 libexecdir='${exec_prefix}/libexec'
1936 datarootdir='${prefix}/share'
1937 datadir='${datarootdir}'
1938 sysconfdir='${prefix}/etc'
1939 sharedstatedir='${prefix}/com'
1940 localstatedir='${prefix}/var'
1941 runstatedir='${localstatedir}/run'
1942 includedir='${prefix}/include'
1943 oldincludedir='/usr/include'
1944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1945 infodir='${datarootdir}/info'
1946 htmldir='${docdir}'
1947 dvidir='${docdir}'
1948 pdfdir='${docdir}'
1949 psdir='${docdir}'
1950 libdir='${exec_prefix}/lib'
1951 localedir='${datarootdir}/locale'
1952 mandir='${datarootdir}/man'
1954 ac_prev=
1955 ac_dashdash=
1956 for ac_option
1958 # If the previous option needs an argument, assign it.
1959 if test -n "$ac_prev"; then
1960 eval $ac_prev=\$ac_option
1961 ac_prev=
1962 continue
1965 case $ac_option in
1966 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1967 *=) ac_optarg= ;;
1968 *) ac_optarg=yes ;;
1969 esac
1971 # Accept the important Cygnus configure options, so we can diagnose typos.
1973 case $ac_dashdash$ac_option in
1975 ac_dashdash=yes ;;
1977 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1978 ac_prev=bindir ;;
1979 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1980 bindir=$ac_optarg ;;
1982 -build | --build | --buil | --bui | --bu)
1983 ac_prev=build_alias ;;
1984 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1985 build_alias=$ac_optarg ;;
1987 -cache-file | --cache-file | --cache-fil | --cache-fi \
1988 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1989 ac_prev=cache_file ;;
1990 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1991 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1992 cache_file=$ac_optarg ;;
1994 --config-cache | -C)
1995 cache_file=config.cache ;;
1997 -datadir | --datadir | --datadi | --datad)
1998 ac_prev=datadir ;;
1999 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2000 datadir=$ac_optarg ;;
2002 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2003 | --dataroo | --dataro | --datar)
2004 ac_prev=datarootdir ;;
2005 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2006 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2007 datarootdir=$ac_optarg ;;
2009 -disable-* | --disable-*)
2010 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2011 # Reject names that are not valid shell variable names.
2012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2013 as_fn_error $? "invalid feature name: $ac_useropt"
2014 ac_useropt_orig=$ac_useropt
2015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2016 case $ac_user_opts in
2018 "enable_$ac_useropt"
2019 "*) ;;
2020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2021 ac_unrecognized_sep=', ';;
2022 esac
2023 eval enable_$ac_useropt=no ;;
2025 -docdir | --docdir | --docdi | --doc | --do)
2026 ac_prev=docdir ;;
2027 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2028 docdir=$ac_optarg ;;
2030 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2031 ac_prev=dvidir ;;
2032 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2033 dvidir=$ac_optarg ;;
2035 -enable-* | --enable-*)
2036 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2039 as_fn_error $? "invalid feature name: $ac_useropt"
2040 ac_useropt_orig=$ac_useropt
2041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2044 "enable_$ac_useropt"
2045 "*) ;;
2046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2047 ac_unrecognized_sep=', ';;
2048 esac
2049 eval enable_$ac_useropt=\$ac_optarg ;;
2051 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2052 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2053 | --exec | --exe | --ex)
2054 ac_prev=exec_prefix ;;
2055 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2056 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2057 | --exec=* | --exe=* | --ex=*)
2058 exec_prefix=$ac_optarg ;;
2060 -gas | --gas | --ga | --g)
2061 # Obsolete; use --with-gas.
2062 with_gas=yes ;;
2064 -help | --help | --hel | --he | -h)
2065 ac_init_help=long ;;
2066 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2067 ac_init_help=recursive ;;
2068 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2069 ac_init_help=short ;;
2071 -host | --host | --hos | --ho)
2072 ac_prev=host_alias ;;
2073 -host=* | --host=* | --hos=* | --ho=*)
2074 host_alias=$ac_optarg ;;
2076 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2077 ac_prev=htmldir ;;
2078 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2079 | --ht=*)
2080 htmldir=$ac_optarg ;;
2082 -includedir | --includedir | --includedi | --included | --include \
2083 | --includ | --inclu | --incl | --inc)
2084 ac_prev=includedir ;;
2085 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2086 | --includ=* | --inclu=* | --incl=* | --inc=*)
2087 includedir=$ac_optarg ;;
2089 -infodir | --infodir | --infodi | --infod | --info | --inf)
2090 ac_prev=infodir ;;
2091 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2092 infodir=$ac_optarg ;;
2094 -libdir | --libdir | --libdi | --libd)
2095 ac_prev=libdir ;;
2096 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2097 libdir=$ac_optarg ;;
2099 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2100 | --libexe | --libex | --libe)
2101 ac_prev=libexecdir ;;
2102 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2103 | --libexe=* | --libex=* | --libe=*)
2104 libexecdir=$ac_optarg ;;
2106 -localedir | --localedir | --localedi | --localed | --locale)
2107 ac_prev=localedir ;;
2108 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2109 localedir=$ac_optarg ;;
2111 -localstatedir | --localstatedir | --localstatedi | --localstated \
2112 | --localstate | --localstat | --localsta | --localst | --locals)
2113 ac_prev=localstatedir ;;
2114 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2115 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2116 localstatedir=$ac_optarg ;;
2118 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2119 ac_prev=mandir ;;
2120 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2121 mandir=$ac_optarg ;;
2123 -nfp | --nfp | --nf)
2124 # Obsolete; use --without-fp.
2125 with_fp=no ;;
2127 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2128 | --no-cr | --no-c | -n)
2129 no_create=yes ;;
2131 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2132 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2133 no_recursion=yes ;;
2135 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2136 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2137 | --oldin | --oldi | --old | --ol | --o)
2138 ac_prev=oldincludedir ;;
2139 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2140 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2141 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2142 oldincludedir=$ac_optarg ;;
2144 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2145 ac_prev=prefix ;;
2146 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2147 prefix=$ac_optarg ;;
2149 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2150 | --program-pre | --program-pr | --program-p)
2151 ac_prev=program_prefix ;;
2152 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2153 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2154 program_prefix=$ac_optarg ;;
2156 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2157 | --program-suf | --program-su | --program-s)
2158 ac_prev=program_suffix ;;
2159 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2160 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2161 program_suffix=$ac_optarg ;;
2163 -program-transform-name | --program-transform-name \
2164 | --program-transform-nam | --program-transform-na \
2165 | --program-transform-n | --program-transform- \
2166 | --program-transform | --program-transfor \
2167 | --program-transfo | --program-transf \
2168 | --program-trans | --program-tran \
2169 | --progr-tra | --program-tr | --program-t)
2170 ac_prev=program_transform_name ;;
2171 -program-transform-name=* | --program-transform-name=* \
2172 | --program-transform-nam=* | --program-transform-na=* \
2173 | --program-transform-n=* | --program-transform-=* \
2174 | --program-transform=* | --program-transfor=* \
2175 | --program-transfo=* | --program-transf=* \
2176 | --program-trans=* | --program-tran=* \
2177 | --progr-tra=* | --program-tr=* | --program-t=*)
2178 program_transform_name=$ac_optarg ;;
2180 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2181 ac_prev=pdfdir ;;
2182 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2183 pdfdir=$ac_optarg ;;
2185 -psdir | --psdir | --psdi | --psd | --ps)
2186 ac_prev=psdir ;;
2187 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2188 psdir=$ac_optarg ;;
2190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2191 | -silent | --silent | --silen | --sile | --sil)
2192 silent=yes ;;
2194 -runstatedir | --runstatedir | --runstatedi | --runstated \
2195 | --runstate | --runstat | --runsta | --runst | --runs \
2196 | --run | --ru | --r)
2197 ac_prev=runstatedir ;;
2198 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2199 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2200 | --run=* | --ru=* | --r=*)
2201 runstatedir=$ac_optarg ;;
2203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2204 ac_prev=sbindir ;;
2205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2206 | --sbi=* | --sb=*)
2207 sbindir=$ac_optarg ;;
2209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2211 | --sharedst | --shareds | --shared | --share | --shar \
2212 | --sha | --sh)
2213 ac_prev=sharedstatedir ;;
2214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2217 | --sha=* | --sh=*)
2218 sharedstatedir=$ac_optarg ;;
2220 -site | --site | --sit)
2221 ac_prev=site ;;
2222 -site=* | --site=* | --sit=*)
2223 site=$ac_optarg ;;
2225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2226 ac_prev=srcdir ;;
2227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2228 srcdir=$ac_optarg ;;
2230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2231 | --syscon | --sysco | --sysc | --sys | --sy)
2232 ac_prev=sysconfdir ;;
2233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2235 sysconfdir=$ac_optarg ;;
2237 -target | --target | --targe | --targ | --tar | --ta | --t)
2238 ac_prev=target_alias ;;
2239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2240 target_alias=$ac_optarg ;;
2242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2243 verbose=yes ;;
2245 -version | --version | --versio | --versi | --vers | -V)
2246 ac_init_version=: ;;
2248 -with-* | --with-*)
2249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2250 # Reject names that are not valid shell variable names.
2251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2252 as_fn_error $? "invalid package name: $ac_useropt"
2253 ac_useropt_orig=$ac_useropt
2254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2255 case $ac_user_opts in
2257 "with_$ac_useropt"
2258 "*) ;;
2259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2260 ac_unrecognized_sep=', ';;
2261 esac
2262 eval with_$ac_useropt=\$ac_optarg ;;
2264 -without-* | --without-*)
2265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2266 # Reject names that are not valid shell variable names.
2267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2268 as_fn_error $? "invalid package name: $ac_useropt"
2269 ac_useropt_orig=$ac_useropt
2270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2271 case $ac_user_opts in
2273 "with_$ac_useropt"
2274 "*) ;;
2275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2276 ac_unrecognized_sep=', ';;
2277 esac
2278 eval with_$ac_useropt=no ;;
2280 --x)
2281 # Obsolete; use --with-x.
2282 with_x=yes ;;
2284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2285 | --x-incl | --x-inc | --x-in | --x-i)
2286 ac_prev=x_includes ;;
2287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2289 x_includes=$ac_optarg ;;
2291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2293 ac_prev=x_libraries ;;
2294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2296 x_libraries=$ac_optarg ;;
2298 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2299 Try \`$0 --help' for more information"
2302 *=*)
2303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2304 # Reject names that are not valid shell variable names.
2305 case $ac_envvar in #(
2306 '' | [0-9]* | *[!_$as_cr_alnum]* )
2307 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2308 esac
2309 eval $ac_envvar=\$ac_optarg
2310 export $ac_envvar ;;
2313 # FIXME: should be removed in autoconf 3.0.
2314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2317 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2320 esac
2321 done
2323 if test -n "$ac_prev"; then
2324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2325 as_fn_error $? "missing argument to $ac_option"
2328 if test -n "$ac_unrecognized_opts"; then
2329 case $enable_option_checking in
2330 no) ;;
2331 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2333 esac
2336 # Check all directory arguments for consistency.
2337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2338 datadir sysconfdir sharedstatedir localstatedir includedir \
2339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2340 libdir localedir mandir runstatedir
2342 eval ac_val=\$$ac_var
2343 # Remove trailing slashes.
2344 case $ac_val in
2345 */ )
2346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2347 eval $ac_var=\$ac_val;;
2348 esac
2349 # Be sure to have absolute directory names.
2350 case $ac_val in
2351 [\\/$]* | ?:[\\/]* ) continue;;
2352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2353 esac
2354 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2355 done
2357 # There might be people who depend on the old broken behavior: `$host'
2358 # used to hold the argument of --host etc.
2359 # FIXME: To remove some day.
2360 build=$build_alias
2361 host=$host_alias
2362 target=$target_alias
2364 # FIXME: To remove some day.
2365 if test "x$host_alias" != x; then
2366 if test "x$build_alias" = x; then
2367 cross_compiling=maybe
2368 elif test "x$build_alias" != "x$host_alias"; then
2369 cross_compiling=yes
2373 ac_tool_prefix=
2374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2376 test "$silent" = yes && exec 6>/dev/null
2379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2380 ac_ls_di=`ls -di .` &&
2381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2382 as_fn_error $? "working directory cannot be determined"
2383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2384 as_fn_error $? "pwd does not report name of working directory"
2387 # Find the source files, if location was not specified.
2388 if test -z "$srcdir"; then
2389 ac_srcdir_defaulted=yes
2390 # Try the directory containing this script, then the parent directory.
2391 ac_confdir=`$as_dirname -- "$as_myself" ||
2392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2393 X"$as_myself" : 'X\(//\)[^/]' \| \
2394 X"$as_myself" : 'X\(//\)$' \| \
2395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2396 $as_echo X"$as_myself" |
2397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2398 s//\1/
2401 /^X\(\/\/\)[^/].*/{
2402 s//\1/
2405 /^X\(\/\/\)$/{
2406 s//\1/
2409 /^X\(\/\).*/{
2410 s//\1/
2413 s/.*/./; q'`
2414 srcdir=$ac_confdir
2415 if test ! -r "$srcdir/$ac_unique_file"; then
2416 srcdir=..
2418 else
2419 ac_srcdir_defaulted=no
2421 if test ! -r "$srcdir/$ac_unique_file"; then
2422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2423 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2426 ac_abs_confdir=`(
2427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2428 pwd)`
2429 # When building in place, set srcdir=.
2430 if test "$ac_abs_confdir" = "$ac_pwd"; then
2431 srcdir=.
2433 # Remove unnecessary trailing slashes from srcdir.
2434 # Double slashes in file names in object file debugging info
2435 # mess up M-x gdb in Emacs.
2436 case $srcdir in
2437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2438 esac
2439 for ac_var in $ac_precious_vars; do
2440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2441 eval ac_env_${ac_var}_value=\$${ac_var}
2442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2444 done
2447 # Report the --help message.
2449 if test "$ac_init_help" = "long"; then
2450 # Omit some internal or obsolete options to make the list less imposing.
2451 # This message is too long to be a string in the A/UX 3.1 sh.
2452 cat <<_ACEOF
2453 \`configure' configures Wine 5.5 to adapt to many kinds of systems.
2455 Usage: $0 [OPTION]... [VAR=VALUE]...
2457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2458 VAR=VALUE. See below for descriptions of some of the useful variables.
2460 Defaults for the options are specified in brackets.
2462 Configuration:
2463 -h, --help display this help and exit
2464 --help=short display options specific to this package
2465 --help=recursive display the short help of all the included packages
2466 -V, --version display version information and exit
2467 -q, --quiet, --silent do not print \`checking ...' messages
2468 --cache-file=FILE cache test results in FILE [disabled]
2469 -C, --config-cache alias for \`--cache-file=config.cache'
2470 -n, --no-create do not create output files
2471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2473 Installation directories:
2474 --prefix=PREFIX install architecture-independent files in PREFIX
2475 [$ac_default_prefix]
2476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2477 [PREFIX]
2479 By default, \`make install' will install all the files in
2480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2482 for instance \`--prefix=\$HOME'.
2484 For better control, use the options below.
2486 Fine tuning of the installation directories:
2487 --bindir=DIR user executables [EPREFIX/bin]
2488 --sbindir=DIR system admin executables [EPREFIX/sbin]
2489 --libexecdir=DIR program executables [EPREFIX/libexec]
2490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2493 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2494 --libdir=DIR object code libraries [EPREFIX/lib]
2495 --includedir=DIR C header files [PREFIX/include]
2496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2499 --infodir=DIR info documentation [DATAROOTDIR/info]
2500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2501 --mandir=DIR man documentation [DATAROOTDIR/man]
2502 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2503 --htmldir=DIR html documentation [DOCDIR]
2504 --dvidir=DIR dvi documentation [DOCDIR]
2505 --pdfdir=DIR pdf documentation [DOCDIR]
2506 --psdir=DIR ps documentation [DOCDIR]
2507 _ACEOF
2509 cat <<\_ACEOF
2511 X features:
2512 --x-includes=DIR X include files are in DIR
2513 --x-libraries=DIR X library files are in DIR
2515 System types:
2516 --build=BUILD configure for building on BUILD [guessed]
2517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2518 _ACEOF
2521 if test -n "$ac_init_help"; then
2522 case $ac_init_help in
2523 short | recursive ) echo "Configuration of Wine 5.5:";;
2524 esac
2525 cat <<\_ACEOF
2527 Optional Features:
2528 --disable-option-checking ignore unrecognized --enable/--with options
2529 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2530 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2531 --disable-win16 do not include Win16 support
2532 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2533 binaries)
2534 --disable-tests do not build the regression tests
2535 --enable-maintainer-mode
2536 enable maintainer-specific build rules
2537 --enable-werror treat compilation warnings as errors
2538 --disable-largefile omit support for large files
2540 Optional Packages:
2541 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2542 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2543 --without-alsa do not use the Alsa sound support
2544 --without-capi do not use CAPI (ISDN support)
2545 --without-cms do not use CMS (color management support)
2546 --without-coreaudio do not use the CoreAudio sound support
2547 --without-cups do not use CUPS
2548 --without-curses do not use (n)curses
2549 --without-dbus do not use DBus (dynamic device support)
2550 --without-faudio do not use FAudio (XAudio2 support)
2551 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2552 --without-fontconfig do not use fontconfig
2553 --without-freetype do not use the FreeType library
2554 --without-gettext do not use gettext
2555 --with-gettextpo use the GetTextPO library to rebuild po files
2556 --without-gphoto do not use gphoto (Digital Camera support)
2557 --without-glu do not use the GLU library
2558 --without-gnutls do not use GnuTLS (schannel support)
2559 --without-gsm do not use libgsm (GSM 06.10 codec support)
2560 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2561 --without-gstreamer do not use GStreamer (codecs support)
2562 --without-hal do not use HAL (dynamic device support)
2563 --without-inotify do not use inotify (filesystem change notifications)
2564 --without-jpeg do not use JPEG
2565 --without-krb5 do not use krb5 (Kerberos)
2566 --without-ldap do not use LDAP
2567 --without-mingw do not use the MinGW cross-compiler
2568 --without-mpg123 do not use the mpg123 library
2569 --without-netapi do not use the Samba NetAPI library
2570 --without-openal do not use OpenAL
2571 --without-opencl do not use OpenCL
2572 --without-opengl do not use OpenGL
2573 --without-osmesa do not use the OSMesa library
2574 --without-oss do not use the OSS sound support
2575 --without-pcap do not use the Packet Capture library
2576 --without-png do not use PNG
2577 --without-pthread do not use the pthread library
2578 --without-pulse do not use PulseAudio sound support
2579 --without-sane do not use SANE (scanner support)
2580 --without-sdl do not use SDL
2581 --without-tiff do not use TIFF
2582 --without-udev do not use udev (plug and play support)
2583 --without-unwind do not use the libunwind library (exception
2584 handling)
2585 --without-v4l2 do not use v4l2 (video capture)
2586 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2587 --without-vulkan do not use Vulkan
2588 --without-xcomposite do not use the Xcomposite extension
2589 --without-xcursor do not use the Xcursor extension
2590 --without-xfixes do not use Xfixes for clipboard change notifications
2591 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2592 --without-xinput do not use the Xinput extension
2593 --without-xinput2 do not use the Xinput 2 extension
2594 --without-xml do not use XML
2595 --without-xrandr do not use Xrandr (multi-monitor support)
2596 --without-xrender do not use the Xrender extension
2597 --without-xshape do not use the Xshape extension
2598 --without-xshm do not use XShm (shared memory extension)
2599 --without-xslt do not use XSLT
2600 --without-xxf86vm do not use XFree video mode extension
2601 --with-wine-tools=DIR use Wine tools from directory DIR
2602 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2603 --with-x use the X Window System
2605 Some influential environment variables:
2606 CC C compiler command
2607 CFLAGS C compiler flags
2608 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2609 nonstandard directory <lib dir>
2610 LIBS libraries to pass to the linker, e.g. -l<library>
2611 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2612 you have headers in a nonstandard directory <include dir>
2613 CXX C++ compiler command
2614 CXXFLAGS C++ compiler flags
2615 CPP C preprocessor
2616 OBJC Objective C compiler command
2617 OBJCFLAGS Objective C compiler flags
2618 OBJCPP Objective C preprocessor
2619 XMKMF Path to xmkmf, Makefile generator for X Window System
2620 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2621 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2622 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2623 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2624 INOTIFY_CFLAGS
2625 C compiler flags for libinotify, overriding pkg-config
2626 INOTIFY_LIBS
2627 Linker flags for libinotify, overriding pkg-config
2628 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2629 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2630 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2631 HAL_LIBS Linker flags for hal, overriding pkg-config
2632 GNUTLS_CFLAGS
2633 C compiler flags for gnutls, overriding pkg-config
2634 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2635 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2636 SANE_LIBS Linker flags for libsane, overriding pkg-config
2637 GPHOTO2_CFLAGS
2638 C compiler flags for libgphoto2, overriding pkg-config
2639 GPHOTO2_LIBS
2640 Linker flags for libgphoto2, overriding pkg-config
2641 GPHOTO2_PORT_CFLAGS
2642 C compiler flags for libgphoto2_port, overriding pkg-config
2643 GPHOTO2_PORT_LIBS
2644 Linker flags for libgphoto2_port, overriding pkg-config
2645 LCMS2_CFLAGS
2646 C compiler flags for lcms2, overriding pkg-config
2647 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2648 FREETYPE_CFLAGS
2649 C compiler flags for freetype2, overriding pkg-config
2650 FREETYPE_LIBS
2651 Linker flags for freetype2, overriding pkg-config
2652 PULSE_CFLAGS
2653 C compiler flags for libpulse, overriding pkg-config
2654 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2655 GSTREAMER_CFLAGS
2656 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2657 gstreamer-audio-1.0, overriding pkg-config
2658 GSTREAMER_LIBS
2659 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2660 gstreamer-audio-1.0, overriding pkg-config
2661 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2662 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2663 UNWIND_CFLAGS
2664 C compiler flags for libunwind, overriding pkg-config
2665 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2666 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2667 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2668 FAUDIO_CFLAGS
2669 C compiler flags for faudio, overriding pkg-config
2670 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2671 CAPI20_CFLAGS
2672 C compiler flags for capi20, overriding pkg-config
2673 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2674 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2675 CUPS_LIBS Linker flags for cups, overriding pkg-config
2676 FONTCONFIG_CFLAGS
2677 C compiler flags for fontconfig, overriding pkg-config
2678 FONTCONFIG_LIBS
2679 Linker flags for fontconfig, overriding pkg-config
2680 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2681 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2682 GSSAPI_CFLAGS
2683 C compiler flags for krb5-gssapi, overriding pkg-config
2684 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2685 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2686 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2687 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2688 PNG_LIBS Linker flags for libpng, overriding pkg-config
2689 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2690 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2691 MPG123_CFLAGS
2692 C compiler flags for libmpg123, overriding pkg-config
2693 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2694 NETAPI_CFLAGS
2695 C compiler flags for netapi, overriding pkg-config
2696 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2697 VKD3D_CFLAGS
2698 C compiler flags for libvkd3d, overriding pkg-config
2699 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2700 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2701 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2703 Use these variables to override the choices made by `configure' or to help
2704 it to find libraries and programs with nonstandard names/locations.
2706 Report bugs to <wine-devel@winehq.org>.
2707 Wine home page: <https://www.winehq.org>.
2708 _ACEOF
2709 ac_status=$?
2712 if test "$ac_init_help" = "recursive"; then
2713 # If there are subdirs, report their specific --help.
2714 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2715 test -d "$ac_dir" ||
2716 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2717 continue
2718 ac_builddir=.
2720 case "$ac_dir" in
2721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2723 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2724 # A ".." for each directory in $ac_dir_suffix.
2725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2726 case $ac_top_builddir_sub in
2727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2729 esac ;;
2730 esac
2731 ac_abs_top_builddir=$ac_pwd
2732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2733 # for backward compatibility:
2734 ac_top_builddir=$ac_top_build_prefix
2736 case $srcdir in
2737 .) # We are building in place.
2738 ac_srcdir=.
2739 ac_top_srcdir=$ac_top_builddir_sub
2740 ac_abs_top_srcdir=$ac_pwd ;;
2741 [\\/]* | ?:[\\/]* ) # Absolute name.
2742 ac_srcdir=$srcdir$ac_dir_suffix;
2743 ac_top_srcdir=$srcdir
2744 ac_abs_top_srcdir=$srcdir ;;
2745 *) # Relative name.
2746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2747 ac_top_srcdir=$ac_top_build_prefix$srcdir
2748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2749 esac
2750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2752 cd "$ac_dir" || { ac_status=$?; continue; }
2753 # Check for guested configure.
2754 if test -f "$ac_srcdir/configure.gnu"; then
2755 echo &&
2756 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2757 elif test -f "$ac_srcdir/configure"; then
2758 echo &&
2759 $SHELL "$ac_srcdir/configure" --help=recursive
2760 else
2761 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2762 fi || ac_status=$?
2763 cd "$ac_pwd" || { ac_status=$?; break; }
2764 done
2767 test -n "$ac_init_help" && exit $ac_status
2768 if $ac_init_version; then
2769 cat <<\_ACEOF
2770 Wine configure 5.5
2771 generated by GNU Autoconf 2.69
2773 Copyright (C) 2012 Free Software Foundation, Inc.
2774 This configure script is free software; the Free Software Foundation
2775 gives unlimited permission to copy, distribute and modify it.
2776 _ACEOF
2777 exit
2780 ## ------------------------ ##
2781 ## Autoconf initialization. ##
2782 ## ------------------------ ##
2784 # ac_fn_c_try_compile LINENO
2785 # --------------------------
2786 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2787 ac_fn_c_try_compile ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 rm -f conftest.$ac_objext
2791 if { { ac_try="$ac_compile"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_compile") 2>conftest.err
2799 ac_status=$?
2800 if test -s conftest.err; then
2801 grep -v '^ *+' conftest.err >conftest.er1
2802 cat conftest.er1 >&5
2803 mv -f conftest.er1 conftest.err
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; } && {
2807 test -z "$ac_c_werror_flag" ||
2808 test ! -s conftest.err
2809 } && test -s conftest.$ac_objext; then :
2810 ac_retval=0
2811 else
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2815 ac_retval=1
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 as_fn_set_status $ac_retval
2820 } # ac_fn_c_try_compile
2822 # ac_fn_cxx_try_compile LINENO
2823 # ----------------------------
2824 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2825 ac_fn_cxx_try_compile ()
2827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2828 rm -f conftest.$ac_objext
2829 if { { ac_try="$ac_compile"
2830 case "(($ac_try" in
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2833 esac
2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_compile") 2>conftest.err
2837 ac_status=$?
2838 if test -s conftest.err; then
2839 grep -v '^ *+' conftest.err >conftest.er1
2840 cat conftest.er1 >&5
2841 mv -f conftest.er1 conftest.err
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; } && {
2845 test -z "$ac_cxx_werror_flag" ||
2846 test ! -s conftest.err
2847 } && test -s conftest.$ac_objext; then :
2848 ac_retval=0
2849 else
2850 $as_echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2853 ac_retval=1
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856 as_fn_set_status $ac_retval
2858 } # ac_fn_cxx_try_compile
2860 # ac_fn_c_try_link LINENO
2861 # -----------------------
2862 # Try to link conftest.$ac_ext, and return whether this succeeded.
2863 ac_fn_c_try_link ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 rm -f conftest.$ac_objext conftest$ac_exeext
2867 if { { ac_try="$ac_link"
2868 case "(($ac_try" in
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2871 esac
2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_link") 2>conftest.err
2875 ac_status=$?
2876 if test -s conftest.err; then
2877 grep -v '^ *+' conftest.err >conftest.er1
2878 cat conftest.er1 >&5
2879 mv -f conftest.er1 conftest.err
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; } && {
2883 test -z "$ac_c_werror_flag" ||
2884 test ! -s conftest.err
2885 } && test -s conftest$ac_exeext && {
2886 test "$cross_compiling" = yes ||
2887 test -x conftest$ac_exeext
2888 }; then :
2889 ac_retval=0
2890 else
2891 $as_echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_retval=1
2896 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2897 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2898 # interfere with the next link command; also delete a directory that is
2899 # left behind by Apple's compiler. We do this before executing the actions.
2900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_link
2906 # ac_fn_c_try_cpp LINENO
2907 # ----------------------
2908 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_c_try_cpp ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 if { { ac_try="$ac_cpp conftest.$ac_ext"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2920 ac_status=$?
2921 if test -s conftest.err; then
2922 grep -v '^ *+' conftest.err >conftest.er1
2923 cat conftest.er1 >&5
2924 mv -f conftest.er1 conftest.err
2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; } > conftest.i && {
2928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2929 test ! -s conftest.err
2930 }; then :
2931 ac_retval=0
2932 else
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_retval=1
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 as_fn_set_status $ac_retval
2941 } # ac_fn_c_try_cpp
2943 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2944 # -------------------------------------------------------
2945 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2946 # the include files in INCLUDES and setting the cache variable VAR
2947 # accordingly.
2948 ac_fn_c_check_header_mongrel ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 if eval \${$3+:} false; then :
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2953 $as_echo_n "checking for $2... " >&6; }
2954 if eval \${$3+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 eval ac_res=\$$3
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 else
2961 # Is the header compilable?
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2963 $as_echo_n "checking $2 usability... " >&6; }
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2967 #include <$2>
2968 _ACEOF
2969 if ac_fn_c_try_compile "$LINENO"; then :
2970 ac_header_compiler=yes
2971 else
2972 ac_header_compiler=no
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2976 $as_echo "$ac_header_compiler" >&6; }
2978 # Is the header present?
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2980 $as_echo_n "checking $2 presence... " >&6; }
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2983 #include <$2>
2984 _ACEOF
2985 if ac_fn_c_try_cpp "$LINENO"; then :
2986 ac_header_preproc=yes
2987 else
2988 ac_header_preproc=no
2990 rm -f conftest.err conftest.i conftest.$ac_ext
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2992 $as_echo "$ac_header_preproc" >&6; }
2994 # So? What about this header?
2995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2996 yes:no: )
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2998 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3000 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3002 no:yes:* )
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3004 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3006 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3008 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3010 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3013 ( $as_echo "## ------------------------------------ ##
3014 ## Report this to wine-devel@winehq.org ##
3015 ## ------------------------------------ ##"
3016 ) | sed "s/^/$as_me: WARNING: /" >&2
3018 esac
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3020 $as_echo_n "checking for $2... " >&6; }
3021 if eval \${$3+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 eval "$3=\$ac_header_compiler"
3026 eval ac_res=\$$3
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 $as_echo "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_header_mongrel
3034 # ac_fn_c_try_run LINENO
3035 # ----------------------
3036 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3037 # that executables *can* be run.
3038 ac_fn_c_try_run ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 if { { ac_try="$ac_link"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link") 2>&5
3049 ac_status=$?
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3052 { { case "(($ac_try" in
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3055 esac
3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3057 $as_echo "$ac_try_echo"; } >&5
3058 (eval "$ac_try") 2>&5
3059 ac_status=$?
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; }; }; then :
3062 ac_retval=0
3063 else
3064 $as_echo "$as_me: program exited with status $ac_status" >&5
3065 $as_echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3068 ac_retval=$ac_status
3070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3072 as_fn_set_status $ac_retval
3074 } # ac_fn_c_try_run
3076 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3077 # -------------------------------------------------------
3078 # Tests whether HEADER exists and can be compiled using the include files in
3079 # INCLUDES, setting the cache variable VAR accordingly.
3080 ac_fn_c_check_header_compile ()
3082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3084 $as_echo_n "checking for $2... " >&6; }
3085 if eval \${$3+:} false; then :
3086 $as_echo_n "(cached) " >&6
3087 else
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3091 #include <$2>
3092 _ACEOF
3093 if ac_fn_c_try_compile "$LINENO"; then :
3094 eval "$3=yes"
3095 else
3096 eval "$3=no"
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 eval ac_res=\$$3
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3102 $as_echo "$ac_res" >&6; }
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3105 } # ac_fn_c_check_header_compile
3107 # ac_fn_objc_try_compile LINENO
3108 # -----------------------------
3109 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3110 ac_fn_objc_try_compile ()
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 rm -f conftest.$ac_objext
3114 if { { ac_try="$ac_compile"
3115 case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_compile") 2>conftest.err
3122 ac_status=$?
3123 if test -s conftest.err; then
3124 grep -v '^ *+' conftest.err >conftest.er1
3125 cat conftest.er1 >&5
3126 mv -f conftest.er1 conftest.err
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; } && {
3130 test -z "$ac_objc_werror_flag" ||
3131 test ! -s conftest.err
3132 } && test -s conftest.$ac_objext; then :
3133 ac_retval=0
3134 else
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 ac_retval=1
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 as_fn_set_status $ac_retval
3143 } # ac_fn_objc_try_compile
3145 # ac_fn_objc_try_cpp LINENO
3146 # -------------------------
3147 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3148 ac_fn_objc_try_cpp ()
3150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3151 if { { ac_try="$ac_cpp conftest.$ac_ext"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3159 ac_status=$?
3160 if test -s conftest.err; then
3161 grep -v '^ *+' conftest.err >conftest.er1
3162 cat conftest.er1 >&5
3163 mv -f conftest.er1 conftest.err
3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166 test $ac_status = 0; } > conftest.i && {
3167 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3168 test ! -s conftest.err
3169 }; then :
3170 ac_retval=0
3171 else
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 ac_retval=1
3177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3178 as_fn_set_status $ac_retval
3180 } # ac_fn_objc_try_cpp
3182 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3183 # ----------------------------------------------------------
3184 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3185 # the include files in INCLUDES and setting the cache variable VAR
3186 # accordingly.
3187 ac_fn_objc_check_header_mongrel ()
3189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3190 if eval \${$3+:} false; then :
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3192 $as_echo_n "checking for $2... " >&6; }
3193 if eval \${$3+:} false; then :
3194 $as_echo_n "(cached) " >&6
3196 eval ac_res=\$$3
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3198 $as_echo "$ac_res" >&6; }
3199 else
3200 # Is the header compilable?
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3202 $as_echo_n "checking $2 usability... " >&6; }
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3206 #include <$2>
3207 _ACEOF
3208 if ac_fn_objc_try_compile "$LINENO"; then :
3209 ac_header_compiler=yes
3210 else
3211 ac_header_compiler=no
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3215 $as_echo "$ac_header_compiler" >&6; }
3217 # Is the header present?
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3219 $as_echo_n "checking $2 presence... " >&6; }
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3222 #include <$2>
3223 _ACEOF
3224 if ac_fn_objc_try_cpp "$LINENO"; then :
3225 ac_header_preproc=yes
3226 else
3227 ac_header_preproc=no
3229 rm -f conftest.err conftest.i conftest.$ac_ext
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3231 $as_echo "$ac_header_preproc" >&6; }
3233 # So? What about this header?
3234 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3235 yes:no: )
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3237 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3241 no:yes:* )
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3243 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3245 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3247 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3249 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3251 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3252 ( $as_echo "## ------------------------------------ ##
3253 ## Report this to wine-devel@winehq.org ##
3254 ## ------------------------------------ ##"
3255 ) | sed "s/^/$as_me: WARNING: /" >&2
3257 esac
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3259 $as_echo_n "checking for $2... " >&6; }
3260 if eval \${$3+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 eval "$3=\$ac_header_compiler"
3265 eval ac_res=\$$3
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3267 $as_echo "$ac_res" >&6; }
3269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3271 } # ac_fn_objc_check_header_mongrel
3273 # ac_fn_c_check_func LINENO FUNC VAR
3274 # ----------------------------------
3275 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3276 ac_fn_c_check_func ()
3278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3280 $as_echo_n "checking for $2... " >&6; }
3281 if eval \${$3+:} false; then :
3282 $as_echo_n "(cached) " >&6
3283 else
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3286 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3288 #define $2 innocuous_$2
3290 /* System header to define __stub macros and hopefully few prototypes,
3291 which can conflict with char $2 (); below.
3292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3293 <limits.h> exists even on freestanding compilers. */
3295 #ifdef __STDC__
3296 # include <limits.h>
3297 #else
3298 # include <assert.h>
3299 #endif
3301 #undef $2
3303 /* Override any GCC internal prototype to avoid an error.
3304 Use char because int might match the return type of a GCC
3305 builtin and then its argument prototype would still apply. */
3306 #ifdef __cplusplus
3307 extern "C"
3308 #endif
3309 char $2 ();
3310 /* The GNU C library defines this for functions which it implements
3311 to always fail with ENOSYS. Some functions are actually named
3312 something starting with __ and the normal name is an alias. */
3313 #if defined __stub_$2 || defined __stub___$2
3314 choke me
3315 #endif
3318 main ()
3320 return $2 ();
3322 return 0;
3324 _ACEOF
3325 if ac_fn_c_try_link "$LINENO"; then :
3326 eval "$3=yes"
3327 else
3328 eval "$3=no"
3330 rm -f core conftest.err conftest.$ac_objext \
3331 conftest$ac_exeext conftest.$ac_ext
3333 eval ac_res=\$$3
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3335 $as_echo "$ac_res" >&6; }
3336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3338 } # ac_fn_c_check_func
3340 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3341 # ----------------------------------------------------
3342 # Tries to find if the field MEMBER exists in type AGGR, after including
3343 # INCLUDES, setting cache variable VAR accordingly.
3344 ac_fn_c_check_member ()
3346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3348 $as_echo_n "checking for $2.$3... " >&6; }
3349 if eval \${$4+:} false; then :
3350 $as_echo_n "(cached) " >&6
3351 else
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3356 main ()
3358 static $2 ac_aggr;
3359 if (ac_aggr.$3)
3360 return 0;
3362 return 0;
3364 _ACEOF
3365 if ac_fn_c_try_compile "$LINENO"; then :
3366 eval "$4=yes"
3367 else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3372 main ()
3374 static $2 ac_aggr;
3375 if (sizeof ac_aggr.$3)
3376 return 0;
3378 return 0;
3380 _ACEOF
3381 if ac_fn_c_try_compile "$LINENO"; then :
3382 eval "$4=yes"
3383 else
3384 eval "$4=no"
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 eval ac_res=\$$4
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3392 $as_echo "$ac_res" >&6; }
3393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3395 } # ac_fn_c_check_member
3397 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3398 # -------------------------------------------
3399 # Tests whether TYPE exists after having included INCLUDES, setting cache
3400 # variable VAR accordingly.
3401 ac_fn_c_check_type ()
3403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3405 $as_echo_n "checking for $2... " >&6; }
3406 if eval \${$3+:} false; then :
3407 $as_echo_n "(cached) " >&6
3408 else
3409 eval "$3=no"
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3414 main ()
3416 if (sizeof ($2))
3417 return 0;
3419 return 0;
3421 _ACEOF
3422 if ac_fn_c_try_compile "$LINENO"; then :
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 main ()
3429 if (sizeof (($2)))
3430 return 0;
3432 return 0;
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3437 else
3438 eval "$3=yes"
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 eval ac_res=\$$3
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3446 $as_echo "$ac_res" >&6; }
3447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3449 } # ac_fn_c_check_type
3450 cat >config.log <<_ACEOF
3451 This file contains any messages produced by compilers while
3452 running configure, to aid debugging if configure makes a mistake.
3454 It was created by Wine $as_me 5.5, which was
3455 generated by GNU Autoconf 2.69. Invocation command line was
3457 $ $0 $@
3459 _ACEOF
3460 exec 5>>config.log
3462 cat <<_ASUNAME
3463 ## --------- ##
3464 ## Platform. ##
3465 ## --------- ##
3467 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3468 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3469 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3470 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3471 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3473 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3474 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3476 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3477 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3479 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3480 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3481 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3482 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3484 _ASUNAME
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3489 IFS=$as_save_IFS
3490 test -z "$as_dir" && as_dir=.
3491 $as_echo "PATH: $as_dir"
3492 done
3493 IFS=$as_save_IFS
3495 } >&5
3497 cat >&5 <<_ACEOF
3500 ## ----------- ##
3501 ## Core tests. ##
3502 ## ----------- ##
3504 _ACEOF
3507 # Keep a trace of the command line.
3508 # Strip out --no-create and --no-recursion so they do not pile up.
3509 # Strip out --silent because we don't want to record it for future runs.
3510 # Also quote any args containing shell meta-characters.
3511 # Make two passes to allow for proper duplicate-argument suppression.
3512 ac_configure_args=
3513 ac_configure_args0=
3514 ac_configure_args1=
3515 ac_must_keep_next=false
3516 for ac_pass in 1 2
3518 for ac_arg
3520 case $ac_arg in
3521 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3523 | -silent | --silent | --silen | --sile | --sil)
3524 continue ;;
3525 *\'*)
3526 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3527 esac
3528 case $ac_pass in
3529 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3531 as_fn_append ac_configure_args1 " '$ac_arg'"
3532 if test $ac_must_keep_next = true; then
3533 ac_must_keep_next=false # Got value, back to normal.
3534 else
3535 case $ac_arg in
3536 *=* | --config-cache | -C | -disable-* | --disable-* \
3537 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3538 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3539 | -with-* | --with-* | -without-* | --without-* | --x)
3540 case "$ac_configure_args0 " in
3541 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3542 esac
3544 -* ) ac_must_keep_next=true ;;
3545 esac
3547 as_fn_append ac_configure_args " '$ac_arg'"
3549 esac
3550 done
3551 done
3552 { ac_configure_args0=; unset ac_configure_args0;}
3553 { ac_configure_args1=; unset ac_configure_args1;}
3555 # When interrupted or exit'd, cleanup temporary files, and complete
3556 # config.log. We remove comments because anyway the quotes in there
3557 # would cause problems or look ugly.
3558 # WARNING: Use '\'' to represent an apostrophe within the trap.
3559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3560 trap 'exit_status=$?
3561 # Save into config.log some information that might help in debugging.
3563 echo
3565 $as_echo "## ---------------- ##
3566 ## Cache variables. ##
3567 ## ---------------- ##"
3568 echo
3569 # The following way of writing the cache mishandles newlines in values,
3571 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3572 eval ac_val=\$$ac_var
3573 case $ac_val in #(
3574 *${as_nl}*)
3575 case $ac_var in #(
3576 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3577 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3578 esac
3579 case $ac_var in #(
3580 _ | IFS | as_nl) ;; #(
3581 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3582 *) { eval $ac_var=; unset $ac_var;} ;;
3583 esac ;;
3584 esac
3585 done
3586 (set) 2>&1 |
3587 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3588 *${as_nl}ac_space=\ *)
3589 sed -n \
3590 "s/'\''/'\''\\\\'\'''\''/g;
3591 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3592 ;; #(
3594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3596 esac |
3597 sort
3599 echo
3601 $as_echo "## ----------------- ##
3602 ## Output variables. ##
3603 ## ----------------- ##"
3604 echo
3605 for ac_var in $ac_subst_vars
3607 eval ac_val=\$$ac_var
3608 case $ac_val in
3609 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3610 esac
3611 $as_echo "$ac_var='\''$ac_val'\''"
3612 done | sort
3613 echo
3615 if test -n "$ac_subst_files"; then
3616 $as_echo "## ------------------- ##
3617 ## File substitutions. ##
3618 ## ------------------- ##"
3619 echo
3620 for ac_var in $ac_subst_files
3622 eval ac_val=\$$ac_var
3623 case $ac_val in
3624 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3625 esac
3626 $as_echo "$ac_var='\''$ac_val'\''"
3627 done | sort
3628 echo
3631 if test -s confdefs.h; then
3632 $as_echo "## ----------- ##
3633 ## confdefs.h. ##
3634 ## ----------- ##"
3635 echo
3636 cat confdefs.h
3637 echo
3639 test "$ac_signal" != 0 &&
3640 $as_echo "$as_me: caught signal $ac_signal"
3641 $as_echo "$as_me: exit $exit_status"
3642 } >&5
3643 rm -f core *.core core.conftest.* &&
3644 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3645 exit $exit_status
3647 for ac_signal in 1 2 13 15; do
3648 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3649 done
3650 ac_signal=0
3652 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3653 rm -f -r conftest* confdefs.h
3655 $as_echo "/* confdefs.h */" > confdefs.h
3657 # Predefined preprocessor variables.
3659 cat >>confdefs.h <<_ACEOF
3660 #define PACKAGE_NAME "$PACKAGE_NAME"
3661 _ACEOF
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_STRING "$PACKAGE_STRING"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_URL "$PACKAGE_URL"
3681 _ACEOF
3684 # Let the site file select an alternate cache file if it wants to.
3685 # Prefer an explicitly selected file to automatically selected ones.
3686 ac_site_file1=NONE
3687 ac_site_file2=NONE
3688 if test -n "$CONFIG_SITE"; then
3689 # We do not want a PATH search for config.site.
3690 case $CONFIG_SITE in #((
3691 -*) ac_site_file1=./$CONFIG_SITE;;
3692 */*) ac_site_file1=$CONFIG_SITE;;
3693 *) ac_site_file1=./$CONFIG_SITE;;
3694 esac
3695 elif test "x$prefix" != xNONE; then
3696 ac_site_file1=$prefix/share/config.site
3697 ac_site_file2=$prefix/etc/config.site
3698 else
3699 ac_site_file1=$ac_default_prefix/share/config.site
3700 ac_site_file2=$ac_default_prefix/etc/config.site
3702 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3704 test "x$ac_site_file" = xNONE && continue
3705 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3707 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3708 sed 's/^/| /' "$ac_site_file" >&5
3709 . "$ac_site_file" \
3710 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error $? "failed to load site script $ac_site_file
3713 See \`config.log' for more details" "$LINENO" 5; }
3715 done
3717 if test -r "$cache_file"; then
3718 # Some versions of bash will fail to source /dev/null (special files
3719 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3720 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3722 $as_echo "$as_me: loading cache $cache_file" >&6;}
3723 case $cache_file in
3724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3725 *) . "./$cache_file";;
3726 esac
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3730 $as_echo "$as_me: creating cache $cache_file" >&6;}
3731 >$cache_file
3734 # Check that the precious variables saved in the cache have kept the same
3735 # value.
3736 ac_cache_corrupted=false
3737 for ac_var in $ac_precious_vars; do
3738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3739 eval ac_new_set=\$ac_env_${ac_var}_set
3740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3741 eval ac_new_val=\$ac_env_${ac_var}_value
3742 case $ac_old_set,$ac_new_set in
3743 set,)
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3745 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3746 ac_cache_corrupted=: ;;
3747 ,set)
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3749 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3750 ac_cache_corrupted=: ;;
3751 ,);;
3753 if test "x$ac_old_val" != "x$ac_new_val"; then
3754 # differences in whitespace do not lead to failure.
3755 ac_old_val_w=`echo x $ac_old_val`
3756 ac_new_val_w=`echo x $ac_new_val`
3757 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3759 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3760 ac_cache_corrupted=:
3761 else
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3763 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3764 eval $ac_var=\$ac_old_val
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3767 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3769 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3770 fi;;
3771 esac
3772 # Pass precious variables to config.status.
3773 if test "$ac_new_set" = set; then
3774 case $ac_new_val in
3775 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3776 *) ac_arg=$ac_var=$ac_new_val ;;
3777 esac
3778 case " $ac_configure_args " in
3779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3780 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3781 esac
3783 done
3784 if $ac_cache_corrupted; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3788 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3789 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3791 ## -------------------- ##
3792 ## Main body of script. ##
3793 ## -------------------- ##
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803 ac_config_headers="$ac_config_headers include/config.h"
3805 ac_aux_dir=
3806 for ac_dir in tools "$srcdir"/tools; do
3807 if test -f "$ac_dir/install-sh"; then
3808 ac_aux_dir=$ac_dir
3809 ac_install_sh="$ac_aux_dir/install-sh -c"
3810 break
3811 elif test -f "$ac_dir/install.sh"; then
3812 ac_aux_dir=$ac_dir
3813 ac_install_sh="$ac_aux_dir/install.sh -c"
3814 break
3815 elif test -f "$ac_dir/shtool"; then
3816 ac_aux_dir=$ac_dir
3817 ac_install_sh="$ac_aux_dir/shtool install -c"
3818 break
3820 done
3821 if test -z "$ac_aux_dir"; then
3822 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3825 # These three variables are undocumented and unsupported,
3826 # and are intended to be withdrawn in a future Autoconf release.
3827 # They can cause serious problems if a builder's source tree is in a directory
3828 # whose full name contains unusual characters.
3829 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3830 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3831 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3835 libwine_version="1.0"
3839 # Check whether --enable-win16 was given.
3840 if test "${enable_win16+set}" = set; then :
3841 enableval=$enable_win16;
3844 # Check whether --enable-win64 was given.
3845 if test "${enable_win64+set}" = set; then :
3846 enableval=$enable_win64;
3849 # Check whether --enable-tests was given.
3850 if test "${enable_tests+set}" = set; then :
3851 enableval=$enable_tests;
3854 # Check whether --enable-maintainer-mode was given.
3855 if test "${enable_maintainer_mode+set}" = set; then :
3856 enableval=$enable_maintainer_mode;
3859 # Check whether --enable-werror was given.
3860 if test "${enable_werror+set}" = set; then :
3861 enableval=$enable_werror;
3866 # Check whether --with-alsa was given.
3867 if test "${with_alsa+set}" = set; then :
3868 withval=$with_alsa;
3872 # Check whether --with-capi was given.
3873 if test "${with_capi+set}" = set; then :
3874 withval=$with_capi;
3878 # Check whether --with-cms was given.
3879 if test "${with_cms+set}" = set; then :
3880 withval=$with_cms;
3884 # Check whether --with-coreaudio was given.
3885 if test "${with_coreaudio+set}" = set; then :
3886 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3890 # Check whether --with-cups was given.
3891 if test "${with_cups+set}" = set; then :
3892 withval=$with_cups;
3896 # Check whether --with-curses was given.
3897 if test "${with_curses+set}" = set; then :
3898 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3902 # Check whether --with-dbus was given.
3903 if test "${with_dbus+set}" = set; then :
3904 withval=$with_dbus;
3908 # Check whether --with-faudio was given.
3909 if test "${with_faudio+set}" = set; then :
3910 withval=$with_faudio;
3914 # Check whether --with-float-abi was given.
3915 if test "${with_float_abi+set}" = set; then :
3916 withval=$with_float_abi;
3920 # Check whether --with-fontconfig was given.
3921 if test "${with_fontconfig+set}" = set; then :
3922 withval=$with_fontconfig;
3926 # Check whether --with-freetype was given.
3927 if test "${with_freetype+set}" = set; then :
3928 withval=$with_freetype;
3932 # Check whether --with-gettext was given.
3933 if test "${with_gettext+set}" = set; then :
3934 withval=$with_gettext;
3938 # Check whether --with-gettextpo was given.
3939 if test "${with_gettextpo+set}" = set; then :
3940 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3944 # Check whether --with-gphoto was given.
3945 if test "${with_gphoto+set}" = set; then :
3946 withval=$with_gphoto;
3950 # Check whether --with-glu was given.
3951 if test "${with_glu+set}" = set; then :
3952 withval=$with_glu;
3956 # Check whether --with-gnutls was given.
3957 if test "${with_gnutls+set}" = set; then :
3958 withval=$with_gnutls;
3962 # Check whether --with-gsm was given.
3963 if test "${with_gsm+set}" = set; then :
3964 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3968 # Check whether --with-gssapi was given.
3969 if test "${with_gssapi+set}" = set; then :
3970 withval=$with_gssapi;
3974 # Check whether --with-gstreamer was given.
3975 if test "${with_gstreamer+set}" = set; then :
3976 withval=$with_gstreamer;
3980 # Check whether --with-hal was given.
3981 if test "${with_hal+set}" = set; then :
3982 withval=$with_hal;
3986 # Check whether --with-inotify was given.
3987 if test "${with_inotify+set}" = set; then :
3988 withval=$with_inotify;
3992 # Check whether --with-jpeg was given.
3993 if test "${with_jpeg+set}" = set; then :
3994 withval=$with_jpeg;
3998 # Check whether --with-krb5 was given.
3999 if test "${with_krb5+set}" = set; then :
4000 withval=$with_krb5;
4004 # Check whether --with-ldap was given.
4005 if test "${with_ldap+set}" = set; then :
4006 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4010 # Check whether --with-mingw was given.
4011 if test "${with_mingw+set}" = set; then :
4012 withval=$with_mingw;
4016 # Check whether --with-mpg123 was given.
4017 if test "${with_mpg123+set}" = set; then :
4018 withval=$with_mpg123;
4022 # Check whether --with-netapi was given.
4023 if test "${with_netapi+set}" = set; then :
4024 withval=$with_netapi;
4028 # Check whether --with-openal was given.
4029 if test "${with_openal+set}" = set; then :
4030 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4034 # Check whether --with-opencl was given.
4035 if test "${with_opencl+set}" = set; then :
4036 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4040 # Check whether --with-opengl was given.
4041 if test "${with_opengl+set}" = set; then :
4042 withval=$with_opengl;
4046 # Check whether --with-osmesa was given.
4047 if test "${with_osmesa+set}" = set; then :
4048 withval=$with_osmesa;
4052 # Check whether --with-oss was given.
4053 if test "${with_oss+set}" = set; then :
4054 withval=$with_oss;
4058 # Check whether --with-pcap was given.
4059 if test "${with_pcap+set}" = set; then :
4060 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4064 # Check whether --with-png was given.
4065 if test "${with_png+set}" = set; then :
4066 withval=$with_png;
4070 # Check whether --with-pthread was given.
4071 if test "${with_pthread+set}" = set; then :
4072 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4076 # Check whether --with-pulse was given.
4077 if test "${with_pulse+set}" = set; then :
4078 withval=$with_pulse;
4082 # Check whether --with-sane was given.
4083 if test "${with_sane+set}" = set; then :
4084 withval=$with_sane;
4088 # Check whether --with-sdl was given.
4089 if test "${with_sdl+set}" = set; then :
4090 withval=$with_sdl;
4094 # Check whether --with-tiff was given.
4095 if test "${with_tiff+set}" = set; then :
4096 withval=$with_tiff;
4100 # Check whether --with-udev was given.
4101 if test "${with_udev+set}" = set; then :
4102 withval=$with_udev;
4106 # Check whether --with-unwind was given.
4107 if test "${with_unwind+set}" = set; then :
4108 withval=$with_unwind;
4112 # Check whether --with-v4l2 was given.
4113 if test "${with_v4l2+set}" = set; then :
4114 withval=$with_v4l2;
4118 # Check whether --with-vkd3d was given.
4119 if test "${with_vkd3d+set}" = set; then :
4120 withval=$with_vkd3d;
4124 # Check whether --with-vulkan was given.
4125 if test "${with_vulkan+set}" = set; then :
4126 withval=$with_vulkan;
4130 # Check whether --with-xcomposite was given.
4131 if test "${with_xcomposite+set}" = set; then :
4132 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4136 # Check whether --with-xcursor was given.
4137 if test "${with_xcursor+set}" = set; then :
4138 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4142 # Check whether --with-xfixes was given.
4143 if test "${with_xfixes+set}" = set; then :
4144 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4148 # Check whether --with-xinerama was given.
4149 if test "${with_xinerama+set}" = set; then :
4150 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4154 # Check whether --with-xinput was given.
4155 if test "${with_xinput+set}" = set; then :
4156 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4160 # Check whether --with-xinput2 was given.
4161 if test "${with_xinput2+set}" = set; then :
4162 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4166 # Check whether --with-xml was given.
4167 if test "${with_xml+set}" = set; then :
4168 withval=$with_xml;
4172 # Check whether --with-xrandr was given.
4173 if test "${with_xrandr+set}" = set; then :
4174 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4178 # Check whether --with-xrender was given.
4179 if test "${with_xrender+set}" = set; then :
4180 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4184 # Check whether --with-xshape was given.
4185 if test "${with_xshape+set}" = set; then :
4186 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4190 # Check whether --with-xshm was given.
4191 if test "${with_xshm+set}" = set; then :
4192 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4196 # Check whether --with-xslt was given.
4197 if test "${with_xslt+set}" = set; then :
4198 withval=$with_xslt;
4202 # Check whether --with-xxf86vm was given.
4203 if test "${with_xxf86vm+set}" = set; then :
4204 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
4209 # Check whether --with-wine-tools was given.
4210 if test "${with_wine_tools+set}" = set; then :
4211 withval=$with_wine_tools;
4215 # Check whether --with-wine64 was given.
4216 if test "${with_wine64+set}" = set; then :
4217 withval=$with_wine64;
4221 # Make sure we can run config.sub.
4222 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4223 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4226 $as_echo_n "checking build system type... " >&6; }
4227 if ${ac_cv_build+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4230 ac_build_alias=$build_alias
4231 test "x$ac_build_alias" = x &&
4232 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4233 test "x$ac_build_alias" = x &&
4234 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4235 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4236 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4240 $as_echo "$ac_cv_build" >&6; }
4241 case $ac_cv_build in
4242 *-*-*) ;;
4243 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4244 esac
4245 build=$ac_cv_build
4246 ac_save_IFS=$IFS; IFS='-'
4247 set x $ac_cv_build
4248 shift
4249 build_cpu=$1
4250 build_vendor=$2
4251 shift; shift
4252 # Remember, the first character of IFS is used to create $*,
4253 # except with old shells:
4254 build_os=$*
4255 IFS=$ac_save_IFS
4256 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4260 $as_echo_n "checking host system type... " >&6; }
4261 if ${ac_cv_host+:} false; then :
4262 $as_echo_n "(cached) " >&6
4263 else
4264 if test "x$host_alias" = x; then
4265 ac_cv_host=$ac_cv_build
4266 else
4267 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4268 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4273 $as_echo "$ac_cv_host" >&6; }
4274 case $ac_cv_host in
4275 *-*-*) ;;
4276 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4277 esac
4278 host=$ac_cv_host
4279 ac_save_IFS=$IFS; IFS='-'
4280 set x $ac_cv_host
4281 shift
4282 host_cpu=$1
4283 host_vendor=$2
4284 shift; shift
4285 # Remember, the first character of IFS is used to create $*,
4286 # except with old shells:
4287 host_os=$*
4288 IFS=$ac_save_IFS
4289 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4295 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4296 set x ${MAKE-make}
4297 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4298 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4299 $as_echo_n "(cached) " >&6
4300 else
4301 cat >conftest.make <<\_ACEOF
4302 SHELL = /bin/sh
4303 all:
4304 @echo '@@@%%%=$(MAKE)=@@@%%%'
4305 _ACEOF
4306 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4307 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4308 *@@@%%%=?*=@@@%%%*)
4309 eval ac_cv_prog_make_${ac_make}_set=yes;;
4311 eval ac_cv_prog_make_${ac_make}_set=no;;
4312 esac
4313 rm -f conftest.make
4315 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4317 $as_echo "yes" >&6; }
4318 SET_MAKE=
4319 else
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4322 SET_MAKE="MAKE=${MAKE-make}"
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 if test -n "$ac_tool_prefix"; then
4331 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4332 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if ${ac_cv_prog_CC+:} false; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 if test -n "$CC"; then
4339 ac_cv_prog_CC="$CC" # Let the user override the test.
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 break 2
4352 done
4353 done
4354 IFS=$as_save_IFS
4358 CC=$ac_cv_prog_CC
4359 if test -n "$CC"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361 $as_echo "$CC" >&6; }
4362 else
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4369 if test -z "$ac_cv_prog_CC"; then
4370 ac_ct_CC=$CC
4371 # Extract the first word of "gcc", so it can be a program name with args.
4372 set dummy gcc; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377 else
4378 if test -n "$ac_ct_CC"; then
4379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4380 else
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 for as_dir in $PATH
4384 IFS=$as_save_IFS
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_ac_ct_CC="gcc"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 break 2
4392 done
4393 done
4394 IFS=$as_save_IFS
4398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4399 if test -n "$ac_ct_CC"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4401 $as_echo "$ac_ct_CC" >&6; }
4402 else
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4407 if test "x$ac_ct_CC" = x; then
4408 CC=""
4409 else
4410 case $cross_compiling:$ac_tool_warned in
4411 yes:)
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4414 ac_tool_warned=yes ;;
4415 esac
4416 CC=$ac_ct_CC
4418 else
4419 CC="$ac_cv_prog_CC"
4422 if test -z "$CC"; then
4423 if test -n "$ac_tool_prefix"; then
4424 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4425 set dummy ${ac_tool_prefix}cc; ac_word=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_CC+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 if test -n "$CC"; then
4432 ac_cv_prog_CC="$CC" # Let the user override the test.
4433 else
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 for as_dir in $PATH
4437 IFS=$as_save_IFS
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_CC="${ac_tool_prefix}cc"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 break 2
4445 done
4446 done
4447 IFS=$as_save_IFS
4451 CC=$ac_cv_prog_CC
4452 if test -n "$CC"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4454 $as_echo "$CC" >&6; }
4455 else
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4463 if test -z "$CC"; then
4464 # Extract the first word of "cc", so it can be a program name with args.
4465 set dummy cc; ac_word=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_prog_CC+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 if test -n "$CC"; then
4472 ac_cv_prog_CC="$CC" # Let the user override the test.
4473 else
4474 ac_prog_rejected=no
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH
4478 IFS=$as_save_IFS
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4483 ac_prog_rejected=yes
4484 continue
4486 ac_cv_prog_CC="cc"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4494 if test $ac_prog_rejected = yes; then
4495 # We found a bogon in the path, so make sure we never use it.
4496 set dummy $ac_cv_prog_CC
4497 shift
4498 if test $# != 0; then
4499 # We chose a different compiler from the bogus one.
4500 # However, it has the same basename, so the bogon will be chosen
4501 # first if we set CC to just the basename; use the full file name.
4502 shift
4503 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4508 CC=$ac_cv_prog_CC
4509 if test -n "$CC"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511 $as_echo "$CC" >&6; }
4512 else
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4519 if test -z "$CC"; then
4520 if test -n "$ac_tool_prefix"; then
4521 for ac_prog in cl.exe
4523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if ${ac_cv_prog_CC+:} false; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 if test -n "$CC"; then
4531 ac_cv_prog_CC="$CC" # Let the user override the test.
4532 else
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 for as_dir in $PATH
4536 IFS=$as_save_IFS
4537 test -z "$as_dir" && as_dir=.
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4540 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 break 2
4544 done
4545 done
4546 IFS=$as_save_IFS
4550 CC=$ac_cv_prog_CC
4551 if test -n "$CC"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4553 $as_echo "$CC" >&6; }
4554 else
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4560 test -n "$CC" && break
4561 done
4563 if test -z "$CC"; then
4564 ac_ct_CC=$CC
4565 for ac_prog in cl.exe
4567 # Extract the first word of "$ac_prog", so it can be a program name with args.
4568 set dummy $ac_prog; ac_word=$2
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 if test -n "$ac_ct_CC"; then
4575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4576 else
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 for as_dir in $PATH
4580 IFS=$as_save_IFS
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4584 ac_cv_prog_ac_ct_CC="$ac_prog"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 break 2
4588 done
4589 done
4590 IFS=$as_save_IFS
4594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4595 if test -n "$ac_ct_CC"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4597 $as_echo "$ac_ct_CC" >&6; }
4598 else
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4604 test -n "$ac_ct_CC" && break
4605 done
4607 if test "x$ac_ct_CC" = x; then
4608 CC=""
4609 else
4610 case $cross_compiling:$ac_tool_warned in
4611 yes:)
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4614 ac_tool_warned=yes ;;
4615 esac
4616 CC=$ac_ct_CC
4623 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4625 as_fn_error $? "no acceptable C compiler found in \$PATH
4626 See \`config.log' for more details" "$LINENO" 5; }
4628 # Provide some information about the compiler.
4629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4630 set X $ac_compile
4631 ac_compiler=$2
4632 for ac_option in --version -v -V -qversion; do
4633 { { ac_try="$ac_compiler $ac_option >&5"
4634 case "(($ac_try" in
4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4637 esac
4638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4639 $as_echo "$ac_try_echo"; } >&5
4640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4641 ac_status=$?
4642 if test -s conftest.err; then
4643 sed '10a\
4644 ... rest of stderr output deleted ...
4645 10q' conftest.err >conftest.er1
4646 cat conftest.er1 >&5
4648 rm -f conftest.er1 conftest.err
4649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4650 test $ac_status = 0; }
4651 done
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4657 main ()
4661 return 0;
4663 _ACEOF
4664 ac_clean_files_save=$ac_clean_files
4665 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4666 # Try to create an executable without -o first, disregard a.out.
4667 # It will help us diagnose broken compilers, and finding out an intuition
4668 # of exeext.
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4670 $as_echo_n "checking whether the C compiler works... " >&6; }
4671 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4673 # The possible output files:
4674 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4676 ac_rmfiles=
4677 for ac_file in $ac_files
4679 case $ac_file in
4680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4681 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4682 esac
4683 done
4684 rm -f $ac_rmfiles
4686 if { { ac_try="$ac_link_default"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4692 $as_echo "$ac_try_echo"; } >&5
4693 (eval "$ac_link_default") 2>&5
4694 ac_status=$?
4695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4696 test $ac_status = 0; }; then :
4697 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4698 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4699 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4700 # so that the user can short-circuit this test for compilers unknown to
4701 # Autoconf.
4702 for ac_file in $ac_files ''
4704 test -f "$ac_file" || continue
4705 case $ac_file in
4706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4708 [ab].out )
4709 # We found the default executable, but exeext='' is most
4710 # certainly right.
4711 break;;
4712 *.* )
4713 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4714 then :; else
4715 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4717 # We set ac_cv_exeext here because the later test for it is not
4718 # safe: cross compilers may not add the suffix if given an `-o'
4719 # argument, so we may need to know it at that point already.
4720 # Even if this section looks crufty: it has the advantage of
4721 # actually working.
4722 break;;
4724 break;;
4725 esac
4726 done
4727 test "$ac_cv_exeext" = no && ac_cv_exeext=
4729 else
4730 ac_file=''
4732 if test -z "$ac_file"; then :
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4735 $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4740 as_fn_error 77 "C compiler cannot create executables
4741 See \`config.log' for more details" "$LINENO" 5; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4744 $as_echo "yes" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4747 $as_echo_n "checking for C compiler default output file name... " >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4749 $as_echo "$ac_file" >&6; }
4750 ac_exeext=$ac_cv_exeext
4752 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4753 ac_clean_files=$ac_clean_files_save
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4755 $as_echo_n "checking for suffix of executables... " >&6; }
4756 if { { ac_try="$ac_link"
4757 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4760 esac
4761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762 $as_echo "$ac_try_echo"; } >&5
4763 (eval "$ac_link") 2>&5
4764 ac_status=$?
4765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4766 test $ac_status = 0; }; then :
4767 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4768 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4769 # work properly (i.e., refer to `conftest.exe'), while it won't with
4770 # `rm'.
4771 for ac_file in conftest.exe conftest conftest.*; do
4772 test -f "$ac_file" || continue
4773 case $ac_file in
4774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4775 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4776 break;;
4777 * ) break;;
4778 esac
4779 done
4780 else
4781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4783 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4784 See \`config.log' for more details" "$LINENO" 5; }
4786 rm -f conftest conftest$ac_cv_exeext
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4788 $as_echo "$ac_cv_exeext" >&6; }
4790 rm -f conftest.$ac_ext
4791 EXEEXT=$ac_cv_exeext
4792 ac_exeext=$EXEEXT
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4795 #include <stdio.h>
4797 main ()
4799 FILE *f = fopen ("conftest.out", "w");
4800 return ferror (f) || fclose (f) != 0;
4803 return 0;
4805 _ACEOF
4806 ac_clean_files="$ac_clean_files conftest.out"
4807 # Check that the compiler produces executables we can run. If not, either
4808 # the compiler is broken, or we cross compile.
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4810 $as_echo_n "checking whether we are cross compiling... " >&6; }
4811 if test "$cross_compiling" != yes; then
4812 { { ac_try="$ac_link"
4813 case "(($ac_try" in
4814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4815 *) ac_try_echo=$ac_try;;
4816 esac
4817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4818 $as_echo "$ac_try_echo"; } >&5
4819 (eval "$ac_link") 2>&5
4820 ac_status=$?
4821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4822 test $ac_status = 0; }
4823 if { ac_try='./conftest$ac_cv_exeext'
4824 { { case "(($ac_try" in
4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4827 esac
4828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4829 $as_echo "$ac_try_echo"; } >&5
4830 (eval "$ac_try") 2>&5
4831 ac_status=$?
4832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4833 test $ac_status = 0; }; }; then
4834 cross_compiling=no
4835 else
4836 if test "$cross_compiling" = maybe; then
4837 cross_compiling=yes
4838 else
4839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error $? "cannot run C compiled programs.
4842 If you meant to cross compile, use \`--host'.
4843 See \`config.log' for more details" "$LINENO" 5; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4848 $as_echo "$cross_compiling" >&6; }
4850 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4851 ac_clean_files=$ac_clean_files_save
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4853 $as_echo_n "checking for suffix of object files... " >&6; }
4854 if ${ac_cv_objext+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 rm -f conftest.o conftest.obj
4869 if { { ac_try="$ac_compile"
4870 case "(($ac_try" in
4871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4872 *) ac_try_echo=$ac_try;;
4873 esac
4874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4875 $as_echo "$ac_try_echo"; } >&5
4876 (eval "$ac_compile") 2>&5
4877 ac_status=$?
4878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4879 test $ac_status = 0; }; then :
4880 for ac_file in conftest.o conftest.obj conftest.*; do
4881 test -f "$ac_file" || continue;
4882 case $ac_file in
4883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4885 break;;
4886 esac
4887 done
4888 else
4889 $as_echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4894 as_fn_error $? "cannot compute suffix of object files: cannot compile
4895 See \`config.log' for more details" "$LINENO" 5; }
4897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4900 $as_echo "$ac_cv_objext" >&6; }
4901 OBJEXT=$ac_cv_objext
4902 ac_objext=$OBJEXT
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4904 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4905 if ${ac_cv_c_compiler_gnu+:} false; then :
4906 $as_echo_n "(cached) " >&6
4907 else
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4912 main ()
4914 #ifndef __GNUC__
4915 choke me
4916 #endif
4919 return 0;
4921 _ACEOF
4922 if ac_fn_c_try_compile "$LINENO"; then :
4923 ac_compiler_gnu=yes
4924 else
4925 ac_compiler_gnu=no
4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4932 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4933 if test $ac_compiler_gnu = yes; then
4934 GCC=yes
4935 else
4936 GCC=
4938 ac_test_CFLAGS=${CFLAGS+set}
4939 ac_save_CFLAGS=$CFLAGS
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4941 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4942 if ${ac_cv_prog_cc_g+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 ac_save_c_werror_flag=$ac_c_werror_flag
4946 ac_c_werror_flag=yes
4947 ac_cv_prog_cc_g=no
4948 CFLAGS="-g"
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4953 main ()
4957 return 0;
4959 _ACEOF
4960 if ac_fn_c_try_compile "$LINENO"; then :
4961 ac_cv_prog_cc_g=yes
4962 else
4963 CFLAGS=""
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4968 main ()
4972 return 0;
4974 _ACEOF
4975 if ac_fn_c_try_compile "$LINENO"; then :
4977 else
4978 ac_c_werror_flag=$ac_save_c_werror_flag
4979 CFLAGS="-g"
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4984 main ()
4988 return 0;
4990 _ACEOF
4991 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_cv_prog_cc_g=yes
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 ac_c_werror_flag=$ac_save_c_werror_flag
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5002 $as_echo "$ac_cv_prog_cc_g" >&6; }
5003 if test "$ac_test_CFLAGS" = set; then
5004 CFLAGS=$ac_save_CFLAGS
5005 elif test $ac_cv_prog_cc_g = yes; then
5006 if test "$GCC" = yes; then
5007 CFLAGS="-g -O2"
5008 else
5009 CFLAGS="-g"
5011 else
5012 if test "$GCC" = yes; then
5013 CFLAGS="-O2"
5014 else
5015 CFLAGS=
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5019 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5020 if ${ac_cv_prog_cc_c89+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 ac_cv_prog_cc_c89=no
5024 ac_save_CC=$CC
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <stdarg.h>
5028 #include <stdio.h>
5029 struct stat;
5030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5031 struct buf { int x; };
5032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5033 static char *e (p, i)
5034 char **p;
5035 int i;
5037 return p[i];
5039 static char *f (char * (*g) (char **, int), char **p, ...)
5041 char *s;
5042 va_list v;
5043 va_start (v,p);
5044 s = g (p, va_arg (v,int));
5045 va_end (v);
5046 return s;
5049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5050 function prototypes and stuff, but not '\xHH' hex character constants.
5051 These don't provoke an error unfortunately, instead are silently treated
5052 as 'x'. The following induces an error, until -std is added to get
5053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5054 array size at least. It's necessary to write '\x00'==0 to get something
5055 that's true only with -std. */
5056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5059 inside strings and character constants. */
5060 #define FOO(x) 'x'
5061 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5063 int test (int i, double x);
5064 struct s1 {int (*f) (int a);};
5065 struct s2 {int (*f) (double a);};
5066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5067 int argc;
5068 char **argv;
5070 main ()
5072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5074 return 0;
5076 _ACEOF
5077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5078 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5080 CC="$ac_save_CC $ac_arg"
5081 if ac_fn_c_try_compile "$LINENO"; then :
5082 ac_cv_prog_cc_c89=$ac_arg
5084 rm -f core conftest.err conftest.$ac_objext
5085 test "x$ac_cv_prog_cc_c89" != "xno" && break
5086 done
5087 rm -f conftest.$ac_ext
5088 CC=$ac_save_CC
5091 # AC_CACHE_VAL
5092 case "x$ac_cv_prog_cc_c89" in
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5095 $as_echo "none needed" >&6; } ;;
5096 xno)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5098 $as_echo "unsupported" >&6; } ;;
5100 CC="$CC $ac_cv_prog_cc_c89"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5102 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5103 esac
5104 if test "x$ac_cv_prog_cc_c89" != xno; then :
5108 ac_ext=c
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5114 ac_ext=cpp
5115 ac_cpp='$CXXCPP $CPPFLAGS'
5116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5119 if test -z "$CXX"; then
5120 if test -n "$CCC"; then
5121 CXX=$CCC
5122 else
5123 if test -n "$ac_tool_prefix"; then
5124 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_CXX+:} false; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5133 if test -n "$CXX"; then
5134 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5139 IFS=$as_save_IFS
5140 test -z "$as_dir" && as_dir=.
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 break 2
5147 done
5148 done
5149 IFS=$as_save_IFS
5153 CXX=$ac_cv_prog_CXX
5154 if test -n "$CXX"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5156 $as_echo "$CXX" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 test -n "$CXX" && break
5164 done
5166 if test -z "$CXX"; then
5167 ac_ct_CXX=$CXX
5168 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5170 # Extract the first word of "$ac_prog", so it can be a program name with args.
5171 set dummy $ac_prog; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$ac_ct_CXX"; then
5178 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_CXX="$ac_prog"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5198 if test -n "$ac_ct_CXX"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5200 $as_echo "$ac_ct_CXX" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5207 test -n "$ac_ct_CXX" && break
5208 done
5210 if test "x$ac_ct_CXX" = x; then
5211 CXX="g++"
5212 else
5213 case $cross_compiling:$ac_tool_warned in
5214 yes:)
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217 ac_tool_warned=yes ;;
5218 esac
5219 CXX=$ac_ct_CXX
5225 # Provide some information about the compiler.
5226 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5227 set X $ac_compile
5228 ac_compiler=$2
5229 for ac_option in --version -v -V -qversion; do
5230 { { ac_try="$ac_compiler $ac_option >&5"
5231 case "(($ac_try" in
5232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5233 *) ac_try_echo=$ac_try;;
5234 esac
5235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5236 $as_echo "$ac_try_echo"; } >&5
5237 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5238 ac_status=$?
5239 if test -s conftest.err; then
5240 sed '10a\
5241 ... rest of stderr output deleted ...
5242 10q' conftest.err >conftest.er1
5243 cat conftest.er1 >&5
5245 rm -f conftest.er1 conftest.err
5246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5247 test $ac_status = 0; }
5248 done
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5251 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5252 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5259 main ()
5261 #ifndef __GNUC__
5262 choke me
5263 #endif
5266 return 0;
5268 _ACEOF
5269 if ac_fn_cxx_try_compile "$LINENO"; then :
5270 ac_compiler_gnu=yes
5271 else
5272 ac_compiler_gnu=no
5274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5275 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5279 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5280 if test $ac_compiler_gnu = yes; then
5281 GXX=yes
5282 else
5283 GXX=
5285 ac_test_CXXFLAGS=${CXXFLAGS+set}
5286 ac_save_CXXFLAGS=$CXXFLAGS
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5288 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5289 if ${ac_cv_prog_cxx_g+:} false; then :
5290 $as_echo_n "(cached) " >&6
5291 else
5292 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5293 ac_cxx_werror_flag=yes
5294 ac_cv_prog_cxx_g=no
5295 CXXFLAGS="-g"
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5300 main ()
5304 return 0;
5306 _ACEOF
5307 if ac_fn_cxx_try_compile "$LINENO"; then :
5308 ac_cv_prog_cxx_g=yes
5309 else
5310 CXXFLAGS=""
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5315 main ()
5319 return 0;
5321 _ACEOF
5322 if ac_fn_cxx_try_compile "$LINENO"; then :
5324 else
5325 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5326 CXXFLAGS="-g"
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5331 main ()
5335 return 0;
5337 _ACEOF
5338 if ac_fn_cxx_try_compile "$LINENO"; then :
5339 ac_cv_prog_cxx_g=yes
5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5349 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5350 if test "$ac_test_CXXFLAGS" = set; then
5351 CXXFLAGS=$ac_save_CXXFLAGS
5352 elif test $ac_cv_prog_cxx_g = yes; then
5353 if test "$GXX" = yes; then
5354 CXXFLAGS="-g -O2"
5355 else
5356 CXXFLAGS="-g"
5358 else
5359 if test "$GXX" = yes; then
5360 CXXFLAGS="-O2"
5361 else
5362 CXXFLAGS=
5365 ac_ext=c
5366 ac_cpp='$CPP $CPPFLAGS'
5367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5371 if test -n "$ac_tool_prefix"; then
5372 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5373 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_CPPBIN+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$CPPBIN"; then
5380 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 CPPBIN=$ac_cv_prog_CPPBIN
5400 if test -n "$CPPBIN"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5402 $as_echo "$CPPBIN" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5410 if test -z "$ac_cv_prog_CPPBIN"; then
5411 ac_ct_CPPBIN=$CPPBIN
5412 # Extract the first word of "cpp", so it can be a program name with args.
5413 set dummy cpp; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if test -n "$ac_ct_CPPBIN"; then
5420 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_CPPBIN="cpp"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5440 if test -n "$ac_ct_CPPBIN"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5442 $as_echo "$ac_ct_CPPBIN" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5448 if test "x$ac_ct_CPPBIN" = x; then
5449 CPPBIN="cpp"
5450 else
5451 case $cross_compiling:$ac_tool_warned in
5452 yes:)
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned=yes ;;
5456 esac
5457 CPPBIN=$ac_ct_CPPBIN
5459 else
5460 CPPBIN="$ac_cv_prog_CPPBIN"
5464 cat >>confdefs.h <<_ACEOF
5465 #define EXEEXT "$ac_exeext"
5466 _ACEOF
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}ld; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_LD+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$LD"; then
5477 ac_cv_prog_LD="$LD" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_LD="${ac_tool_prefix}ld"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 LD=$ac_cv_prog_LD
5497 if test -n "$LD"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5499 $as_echo "$LD" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_LD"; then
5508 ac_ct_LD=$LD
5509 # Extract the first word of "ld", so it can be a program name with args.
5510 set dummy ld; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_LD"; then
5517 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_LD="ld"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5537 if test -n "$ac_ct_LD"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5539 $as_echo "$ac_ct_LD" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_LD" = x; then
5546 LD=""
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 LD=$ac_ct_LD
5556 else
5557 LD="$ac_cv_prog_LD"
5561 case $host in
5562 *-darwin*)
5563 with_fontconfig=${with_fontconfig:-no}
5565 *-mingw32*|*-cygwin*)
5566 enable_win16=${enable_win16:-no}
5567 with_mingw=${with_mingw:-no}
5568 CFLAGS="$CFLAGS -D_WIN32"
5570 esac
5572 case $host in
5573 x86_64*|amd64*)
5574 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5575 then
5576 CC="$CC -m32"
5577 CXX="$CXX -m32"
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5580 $as_echo_n "checking whether $CC works... " >&6; }
5581 if ${wine_cv_cc_m32+:} false; then :
5582 $as_echo_n "(cached) " >&6
5583 else
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5588 main ()
5592 return 0;
5594 _ACEOF
5595 if ac_fn_c_try_link "$LINENO"; then :
5596 wine_cv_cc_m32=yes
5597 else
5598 wine_cv_cc_m32=no
5600 rm -f core conftest.err conftest.$ac_objext \
5601 conftest$ac_exeext conftest.$ac_ext
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5604 $as_echo "$wine_cv_cc_m32" >&6; }
5605 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5606 host_cpu="i386"
5607 notice_platform="32-bit "
5608 TARGETFLAGS="-m32"
5610 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5611 export PKG_CONFIG_PATH
5612 enable_win16=${enable_win16:-yes}
5613 with_unwind=${with_unwind:-no}
5614 else
5615 if test "x${GCC}" = "xyes"
5616 then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5618 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5619 if ${wine_cv_builtin_ms_va_list+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 #include <stdarg.h>
5626 main ()
5628 void func(__builtin_ms_va_list *args);
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634 wine_cv_builtin_ms_va_list=yes
5635 else
5636 wine_cv_builtin_ms_va_list=no
5638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5641 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5642 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5644 CC="$CC -m64"
5645 CXX="$CXX -m64"
5646 host_cpu="x86_64"
5647 notice_platform="64-bit "
5648 TARGETFLAGS="-m64"
5652 arm*)
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5654 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5655 if ${wine_cv_thumb+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5660 int ac_test(int i) { return i; }
5662 main ()
5664 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5666 return 0;
5668 _ACEOF
5669 if ac_fn_c_try_link "$LINENO"; then :
5670 wine_cv_thumb=yes
5671 else
5672 wine_cv_thumb=no
5674 rm -f core conftest.err conftest.$ac_objext \
5675 conftest$ac_exeext conftest.$ac_ext
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5678 $as_echo "$wine_cv_thumb" >&6; }
5679 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5680 case $with_float_abi in
5681 soft|softfp|hard)
5682 float_abi=$with_float_abi ;;
5684 case $host_os in
5685 *eabihf)
5686 float_abi=hard ;;
5688 float_abi=softfp
5689 saved_CFLAGS=$CFLAGS
5690 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5692 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5693 if ${wine_cv_float_abi+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 main ()
5702 asm("vmrs r2,fpscr");
5704 return 0;
5706 _ACEOF
5707 if ac_fn_c_try_link "$LINENO"; then :
5708 wine_cv_float_abi=yes
5709 else
5710 wine_cv_float_abi=no
5712 rm -f core conftest.err conftest.$ac_objext \
5713 conftest$ac_exeext conftest.$ac_ext
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5716 $as_echo "$wine_cv_float_abi" >&6; }
5717 if test $wine_cv_float_abi = no
5718 then
5719 float_abi=soft
5720 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5722 CFLAGS=$saved_CFLAGS
5723 esac
5725 esac
5726 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5727 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5730 aarch64*)
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5732 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5733 if ${wine_cv_builtin_ms_va_list+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5738 #include <stdarg.h>
5740 main ()
5742 void func(__builtin_ms_va_list *args);
5744 return 0;
5746 _ACEOF
5747 if ac_fn_c_try_compile "$LINENO"; then :
5748 wine_cv_builtin_ms_va_list=yes
5749 else
5750 wine_cv_builtin_ms_va_list=no
5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5755 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5756 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5758 i[3456789]86*)
5759 enable_win16=${enable_win16:-yes}
5760 with_unwind=${with_unwind:-no}
5762 esac
5764 enable_win16=${enable_win16:-no}
5765 enable_win64=${enable_win64:-no}
5767 enable_winetest=${enable_winetest:-$enable_tests}
5769 if test "x$enable_win64" = "xyes"
5770 then
5771 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5772 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5773 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5777 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5778 if ${wine_cv_toolsdir+:} false; then :
5779 $as_echo_n "(cached) " >&6
5780 else
5781 wine_cv_toolsdir="$with_wine_tools"
5782 if test -z "$with_wine_tools"; then
5783 if test "$cross_compiling" = "yes"; then
5784 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5785 elif test -n "$with_wine64"; then
5786 wine_cv_toolsdir="$with_wine64"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5791 $as_echo "$wine_cv_toolsdir" >&6; }
5792 if test -z "$wine_cv_toolsdir"; then
5793 wine_makedep=tools/makedep
5794 TOOLSDIR="\$(top_builddir)"
5796 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5797 wine_makedep=$wine_cv_toolsdir/tools/makedep
5798 case "$wine_cv_toolsdir" in
5799 /*) TOOLSDIR=$wine_cv_toolsdir
5801 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5803 esac
5804 enable_tools=${enable_tools:-no}
5805 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5806 else
5807 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5809 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5810 then
5811 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5815 for ac_prog in flex
5817 # Extract the first word of "$ac_prog", so it can be a program name with args.
5818 set dummy $ac_prog; ac_word=$2
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820 $as_echo_n "checking for $ac_word... " >&6; }
5821 if ${ac_cv_prog_FLEX+:} false; then :
5822 $as_echo_n "(cached) " >&6
5823 else
5824 if test -n "$FLEX"; then
5825 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5826 else
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in $PATH
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_FLEX="$ac_prog"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5838 done
5839 done
5840 IFS=$as_save_IFS
5844 FLEX=$ac_cv_prog_FLEX
5845 if test -n "$FLEX"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5847 $as_echo "$FLEX" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5854 test -n "$FLEX" && break
5855 done
5856 test -n "$FLEX" || FLEX="none"
5858 if test "$FLEX" = "none"
5859 then
5860 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5863 $as_echo_n "checking whether flex is recent enough... " >&6; }
5864 if ${wine_cv_recent_flex+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 cat >conftest.l <<EOF
5868 %top{
5869 #include "prediluvian.h"
5873 if $FLEX -t conftest.l >/dev/null 2>&5
5874 then
5875 wine_cv_recent_flex=yes
5876 else
5877 wine_cv_recent_flex=no
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5881 $as_echo "$wine_cv_recent_flex" >&6; }
5882 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5884 for ac_prog in bison
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy $ac_prog; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_BISON+:} false; then :
5891 $as_echo_n "(cached) " >&6
5892 else
5893 if test -n "$BISON"; then
5894 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5899 IFS=$as_save_IFS
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5903 ac_cv_prog_BISON="$ac_prog"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 break 2
5907 done
5908 done
5909 IFS=$as_save_IFS
5913 BISON=$ac_cv_prog_BISON
5914 if test -n "$BISON"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5916 $as_echo "$BISON" >&6; }
5917 else
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5923 test -n "$BISON" && break
5924 done
5925 test -n "$BISON" || BISON="none"
5927 if test "$BISON" = "none"
5928 then
5929 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5932 $as_echo_n "checking whether bison is recent enough... " >&6; }
5933 if ${wine_cv_recent_bison+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 cat >conftest.y <<EOF
5937 %define parse.error verbose
5939 empty: ;
5941 if $BISON conftest.y >/dev/null 2>&5
5942 then
5943 wine_cv_recent_bison=yes
5944 else
5945 wine_cv_recent_bison=no
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5949 $as_echo "$wine_cv_recent_bison" >&6; }
5950 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5952 if test -n "$ac_tool_prefix"; then
5953 for ac_prog in ar gar
5955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_AR+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 if test -n "$AR"; then
5963 ac_cv_prog_AR="$AR" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5978 IFS=$as_save_IFS
5982 AR=$ac_cv_prog_AR
5983 if test -n "$AR"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5985 $as_echo "$AR" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 test -n "$AR" && break
5993 done
5995 if test -z "$AR"; then
5996 ac_ct_AR=$AR
5997 for ac_prog in ar gar
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 if test -n "$ac_ct_AR"; then
6007 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_ac_ct_AR="$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6027 if test -n "$ac_ct_AR"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6029 $as_echo "$ac_ct_AR" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$ac_ct_AR" && break
6037 done
6039 if test "x$ac_ct_AR" = x; then
6040 AR="ar"
6041 else
6042 case $cross_compiling:$ac_tool_warned in
6043 yes:)
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046 ac_tool_warned=yes ;;
6047 esac
6048 AR=$ac_ct_AR
6052 if test -n "$ac_tool_prefix"; then
6053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}strip; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_STRIP+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$STRIP"; then
6061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6074 done
6075 done
6076 IFS=$as_save_IFS
6080 STRIP=$ac_cv_prog_STRIP
6081 if test -n "$STRIP"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6083 $as_echo "$STRIP" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6091 if test -z "$ac_cv_prog_STRIP"; then
6092 ac_ct_STRIP=$STRIP
6093 # Extract the first word of "strip", so it can be a program name with args.
6094 set dummy strip; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6098 $as_echo_n "(cached) " >&6
6099 else
6100 if test -n "$ac_ct_STRIP"; then
6101 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ac_ct_STRIP="strip"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6116 IFS=$as_save_IFS
6120 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6121 if test -n "$ac_ct_STRIP"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6123 $as_echo "$ac_ct_STRIP" >&6; }
6124 else
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6129 if test "x$ac_ct_STRIP" = x; then
6130 STRIP="strip"
6131 else
6132 case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138 STRIP=$ac_ct_STRIP
6140 else
6141 STRIP="$ac_cv_prog_STRIP"
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_RANLIB+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$RANLIB"; then
6153 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 RANLIB=$ac_cv_prog_RANLIB
6173 if test -n "$RANLIB"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6175 $as_echo "$RANLIB" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6183 if test -z "$ac_cv_prog_RANLIB"; then
6184 ac_ct_RANLIB=$RANLIB
6185 # Extract the first word of "ranlib", so it can be a program name with args.
6186 set dummy ranlib; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 if test -n "$ac_ct_RANLIB"; then
6193 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6198 IFS=$as_save_IFS
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202 ac_cv_prog_ac_ct_RANLIB="ranlib"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 break 2
6206 done
6207 done
6208 IFS=$as_save_IFS
6212 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6213 if test -n "$ac_ct_RANLIB"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6215 $as_echo "$ac_ct_RANLIB" >&6; }
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6221 if test "x$ac_ct_RANLIB" = x; then
6222 RANLIB=":"
6223 else
6224 case $cross_compiling:$ac_tool_warned in
6225 yes:)
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230 RANLIB=$ac_ct_RANLIB
6232 else
6233 RANLIB="$ac_cv_prog_RANLIB"
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6237 $as_echo_n "checking whether ln -s works... " >&6; }
6238 LN_S=$as_ln_s
6239 if test "$LN_S" = "ln -s"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6241 $as_echo "yes" >&6; }
6242 else
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6244 $as_echo "no, using $LN_S" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6248 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6249 if ${ac_cv_path_GREP+:} false; then :
6250 $as_echo_n "(cached) " >&6
6251 else
6252 if test -z "$GREP"; then
6253 ac_path_GREP_found=false
6254 # Loop through the user's path and test for each of PROGNAME-LIST
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6258 IFS=$as_save_IFS
6259 test -z "$as_dir" && as_dir=.
6260 for ac_prog in grep ggrep; do
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6263 as_fn_executable_p "$ac_path_GREP" || continue
6264 # Check for GNU ac_path_GREP and select it if it is found.
6265 # Check for GNU $ac_path_GREP
6266 case `"$ac_path_GREP" --version 2>&1` in
6267 *GNU*)
6268 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6270 ac_count=0
6271 $as_echo_n 0123456789 >"conftest.in"
6272 while :
6274 cat "conftest.in" "conftest.in" >"conftest.tmp"
6275 mv "conftest.tmp" "conftest.in"
6276 cp "conftest.in" "conftest.nl"
6277 $as_echo 'GREP' >> "conftest.nl"
6278 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6279 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6280 as_fn_arith $ac_count + 1 && ac_count=$as_val
6281 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6282 # Best one so far, save it but keep looking for a better one
6283 ac_cv_path_GREP="$ac_path_GREP"
6284 ac_path_GREP_max=$ac_count
6286 # 10*(2^10) chars as input seems more than enough
6287 test $ac_count -gt 10 && break
6288 done
6289 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6290 esac
6292 $ac_path_GREP_found && break 3
6293 done
6294 done
6295 done
6296 IFS=$as_save_IFS
6297 if test -z "$ac_cv_path_GREP"; then
6298 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6300 else
6301 ac_cv_path_GREP=$GREP
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6306 $as_echo "$ac_cv_path_GREP" >&6; }
6307 GREP="$ac_cv_path_GREP"
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6311 $as_echo_n "checking for egrep... " >&6; }
6312 if ${ac_cv_path_EGREP+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6316 then ac_cv_path_EGREP="$GREP -E"
6317 else
6318 if test -z "$EGREP"; then
6319 ac_path_EGREP_found=false
6320 # Loop through the user's path and test for each of PROGNAME-LIST
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6324 IFS=$as_save_IFS
6325 test -z "$as_dir" && as_dir=.
6326 for ac_prog in egrep; do
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6329 as_fn_executable_p "$ac_path_EGREP" || continue
6330 # Check for GNU ac_path_EGREP and select it if it is found.
6331 # Check for GNU $ac_path_EGREP
6332 case `"$ac_path_EGREP" --version 2>&1` in
6333 *GNU*)
6334 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6336 ac_count=0
6337 $as_echo_n 0123456789 >"conftest.in"
6338 while :
6340 cat "conftest.in" "conftest.in" >"conftest.tmp"
6341 mv "conftest.tmp" "conftest.in"
6342 cp "conftest.in" "conftest.nl"
6343 $as_echo 'EGREP' >> "conftest.nl"
6344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6346 as_fn_arith $ac_count + 1 && ac_count=$as_val
6347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6348 # Best one so far, save it but keep looking for a better one
6349 ac_cv_path_EGREP="$ac_path_EGREP"
6350 ac_path_EGREP_max=$ac_count
6352 # 10*(2^10) chars as input seems more than enough
6353 test $ac_count -gt 10 && break
6354 done
6355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6356 esac
6358 $ac_path_EGREP_found && break 3
6359 done
6360 done
6361 done
6362 IFS=$as_save_IFS
6363 if test -z "$ac_cv_path_EGREP"; then
6364 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6366 else
6367 ac_cv_path_EGREP=$EGREP
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6373 $as_echo "$ac_cv_path_EGREP" >&6; }
6374 EGREP="$ac_cv_path_EGREP"
6377 # Extract the first word of "ldconfig", so it can be a program name with args.
6378 set dummy ldconfig; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if ${ac_cv_path_LDCONFIG+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 case $LDCONFIG in
6385 [\\/]* | ?:[\\/]*)
6386 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 for as_dir in /sbin /usr/sbin $PATH
6392 IFS=$as_save_IFS
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398 break 2
6400 done
6401 done
6402 IFS=$as_save_IFS
6404 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6406 esac
6408 LDCONFIG=$ac_cv_path_LDCONFIG
6409 if test -n "$LDCONFIG"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6411 $as_echo "$LDCONFIG" >&6; }
6412 else
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6418 for ac_prog in msgfmt
6420 # Extract the first word of "$ac_prog", so it can be a program name with args.
6421 set dummy $ac_prog; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_prog_MSGFMT+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if test -n "$MSGFMT"; then
6428 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437 ac_cv_prog_MSGFMT="$ac_prog"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 break 2
6441 done
6442 done
6443 IFS=$as_save_IFS
6447 MSGFMT=$ac_cv_prog_MSGFMT
6448 if test -n "$MSGFMT"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6450 $as_echo "$MSGFMT" >&6; }
6451 else
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6457 test -n "$MSGFMT" && break
6458 done
6459 test -n "$MSGFMT" || MSGFMT="false"
6461 if ${ac_tool_prefix+:} false; then :
6462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6463 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 $as_echo_n "checking for $ac_word... " >&6; }
6466 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 if test -n "$PKG_CONFIG"; then
6470 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6471 else
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in $PATH
6475 IFS=$as_save_IFS
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6489 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6490 if test -n "$PKG_CONFIG"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6492 $as_echo "$PKG_CONFIG" >&6; }
6493 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6500 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6501 if test "x$cross_compiling" = xyes; then :
6503 else
6504 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6505 # Extract the first word of "pkg-config", so it can be a program name with args.
6506 set dummy pkg-config; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$PKG_CONFIG"; then
6513 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_PKG_CONFIG="pkg-config"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6533 if test -n "$PKG_CONFIG"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6535 $as_echo "$PKG_CONFIG" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6543 else
6544 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6547 if test "x$enable_maintainer_mode" != "xyes"
6548 then
6549 FONTFORGE=""
6550 RSVG=""
6551 CONVERT=""
6552 ICOTOOL=""
6553 else
6554 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6555 for ac_prog in fontforge
6557 # Extract the first word of "$ac_prog", so it can be a program name with args.
6558 set dummy $ac_prog; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if ${ac_cv_prog_FONTFORGE+:} false; then :
6562 $as_echo_n "(cached) " >&6
6563 else
6564 if test -n "$FONTFORGE"; then
6565 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6570 IFS=$as_save_IFS
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_FONTFORGE="$ac_prog"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 break 2
6578 done
6579 done
6580 IFS=$as_save_IFS
6584 FONTFORGE=$ac_cv_prog_FONTFORGE
6585 if test -n "$FONTFORGE"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6587 $as_echo "$FONTFORGE" >&6; }
6588 else
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6594 test -n "$FONTFORGE" && break
6595 done
6596 test -n "$FONTFORGE" || FONTFORGE="false"
6598 for ac_prog in rsvg-convert rsvg
6600 # Extract the first word of "$ac_prog", so it can be a program name with args.
6601 set dummy $ac_prog; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_RSVG+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$RSVG"; then
6608 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_RSVG="$ac_prog"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6621 done
6622 done
6623 IFS=$as_save_IFS
6627 RSVG=$ac_cv_prog_RSVG
6628 if test -n "$RSVG"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6630 $as_echo "$RSVG" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6637 test -n "$RSVG" && break
6638 done
6639 test -n "$RSVG" || RSVG="false"
6641 for ac_prog in convert
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_CONVERT+:} false; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 if test -n "$CONVERT"; then
6651 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_CONVERT="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 break 2
6664 done
6665 done
6666 IFS=$as_save_IFS
6670 CONVERT=$ac_cv_prog_CONVERT
6671 if test -n "$CONVERT"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6673 $as_echo "$CONVERT" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$CONVERT" && break
6681 done
6682 test -n "$CONVERT" || CONVERT="false"
6684 for ac_prog in icotool
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_ICOTOOL+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$ICOTOOL"; then
6694 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_ICOTOOL="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 ICOTOOL=$ac_cv_prog_ICOTOOL
6714 if test -n "$ICOTOOL"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6716 $as_echo "$ICOTOOL" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$ICOTOOL" && break
6724 done
6725 test -n "$ICOTOOL" || ICOTOOL="false"
6727 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6728 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6730 if test "$CONVERT" = false
6731 then
6732 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6735 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6736 convert_version=`convert --version | head -n1`
6737 if test "x$convert_version" != "x"
6738 then
6739 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6740 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6741 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6742 then
6743 CONVERT=false
6746 if test "$CONVERT" = false
6747 then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6749 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6750 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6753 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6757 if test "$ICOTOOL" = false
6758 then
6759 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6762 $as_echo_n "checking for recent enough icotool... " >&6; }
6763 icotool_version=`icotool --version | head -n1`
6764 if test "x$icotool_version" != "x"
6765 then
6766 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6767 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6768 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6769 then
6770 ICOTOOL=false
6771 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6774 if test "$ICOTOOL" = false
6775 then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6777 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6778 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6781 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6785 with_gettext=yes
6786 with_gettextpo=yes
6788 enable_werror=yes
6791 test "x$with_gettext" != xno || MSGFMT=false
6792 if test "$MSGFMT" != "false"
6793 then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6795 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6796 if ${wine_cv_msgfmt_contexts+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 cat >conftest.po <<EOF
6800 # comment
6801 msgctxt "ctxt"
6802 msgid "id"
6803 msgstr "str"
6805 if $MSGFMT -o /dev/null conftest.po 2>&5
6806 then
6807 wine_cv_msgfmt_contexts=yes
6808 else
6809 wine_cv_msgfmt_contexts=no
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6813 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6814 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6816 if test "$MSGFMT" = false; then :
6817 case "x$with_gettext" in
6818 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6819 xno) ;;
6820 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6821 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6822 esac
6823 enable_po=${enable_po:-no}
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6828 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6829 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6830 $as_echo_n "(cached) " >&6
6831 else
6832 ac_check_lib_save_LIBS=$LIBS
6833 LIBS="-li386 $LIBS"
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6837 /* Override any GCC internal prototype to avoid an error.
6838 Use char because int might match the return type of a GCC
6839 builtin and then its argument prototype would still apply. */
6840 #ifdef __cplusplus
6841 extern "C"
6842 #endif
6843 char i386_set_ldt ();
6845 main ()
6847 return i386_set_ldt ();
6849 return 0;
6851 _ACEOF
6852 if ac_fn_c_try_link "$LINENO"; then :
6853 ac_cv_lib_i386_i386_set_ldt=yes
6854 else
6855 ac_cv_lib_i386_i386_set_ldt=no
6857 rm -f core conftest.err conftest.$ac_objext \
6858 conftest$ac_exeext conftest.$ac_ext
6859 LIBS=$ac_check_lib_save_LIBS
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6862 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6863 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6864 I386_LIBS="-li386"
6869 OPENGL_LIBS=""
6873 # Check whether --enable-largefile was given.
6874 if test "${enable_largefile+set}" = set; then :
6875 enableval=$enable_largefile;
6878 if test "$enable_largefile" != no; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6881 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6882 if ${ac_cv_sys_largefile_CC+:} false; then :
6883 $as_echo_n "(cached) " >&6
6884 else
6885 ac_cv_sys_largefile_CC=no
6886 if test "$GCC" != yes; then
6887 ac_save_CC=$CC
6888 while :; do
6889 # IRIX 6.2 and later do not support large files by default,
6890 # so use the C compiler's -n32 option if that helps.
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 #include <sys/types.h>
6894 /* Check that off_t can represent 2**63 - 1 correctly.
6895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6896 since some C++ compilers masquerading as C compilers
6897 incorrectly reject 9223372036854775807. */
6898 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6900 && LARGE_OFF_T % 2147483647 == 1)
6901 ? 1 : -1];
6903 main ()
6907 return 0;
6909 _ACEOF
6910 if ac_fn_c_try_compile "$LINENO"; then :
6911 break
6913 rm -f core conftest.err conftest.$ac_objext
6914 CC="$CC -n32"
6915 if ac_fn_c_try_compile "$LINENO"; then :
6916 ac_cv_sys_largefile_CC=' -n32'; break
6918 rm -f core conftest.err conftest.$ac_objext
6919 break
6920 done
6921 CC=$ac_save_CC
6922 rm -f conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6926 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6927 if test "$ac_cv_sys_largefile_CC" != no; then
6928 CC=$CC$ac_cv_sys_largefile_CC
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6932 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6933 if ${ac_cv_sys_file_offset_bits+:} false; then :
6934 $as_echo_n "(cached) " >&6
6935 else
6936 while :; do
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <sys/types.h>
6940 /* Check that off_t can represent 2**63 - 1 correctly.
6941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6942 since some C++ compilers masquerading as C compilers
6943 incorrectly reject 9223372036854775807. */
6944 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6946 && LARGE_OFF_T % 2147483647 == 1)
6947 ? 1 : -1];
6949 main ()
6953 return 0;
6955 _ACEOF
6956 if ac_fn_c_try_compile "$LINENO"; then :
6957 ac_cv_sys_file_offset_bits=no; break
6959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 #define _FILE_OFFSET_BITS 64
6963 #include <sys/types.h>
6964 /* Check that off_t can represent 2**63 - 1 correctly.
6965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6966 since some C++ compilers masquerading as C compilers
6967 incorrectly reject 9223372036854775807. */
6968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6970 && LARGE_OFF_T % 2147483647 == 1)
6971 ? 1 : -1];
6973 main ()
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_compile "$LINENO"; then :
6981 ac_cv_sys_file_offset_bits=64; break
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 ac_cv_sys_file_offset_bits=unknown
6985 break
6986 done
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6989 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6990 case $ac_cv_sys_file_offset_bits in #(
6991 no | unknown) ;;
6993 cat >>confdefs.h <<_ACEOF
6994 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6995 _ACEOF
6997 esac
6998 rm -rf conftest*
6999 if test $ac_cv_sys_file_offset_bits = unknown; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7001 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7002 if ${ac_cv_sys_large_files+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 while :; do
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #include <sys/types.h>
7009 /* Check that off_t can represent 2**63 - 1 correctly.
7010 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7011 since some C++ compilers masquerading as C compilers
7012 incorrectly reject 9223372036854775807. */
7013 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7015 && LARGE_OFF_T % 2147483647 == 1)
7016 ? 1 : -1];
7018 main ()
7022 return 0;
7024 _ACEOF
7025 if ac_fn_c_try_compile "$LINENO"; then :
7026 ac_cv_sys_large_files=no; break
7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #define _LARGE_FILES 1
7032 #include <sys/types.h>
7033 /* Check that off_t can represent 2**63 - 1 correctly.
7034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7035 since some C++ compilers masquerading as C compilers
7036 incorrectly reject 9223372036854775807. */
7037 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7039 && LARGE_OFF_T % 2147483647 == 1)
7040 ? 1 : -1];
7042 main ()
7046 return 0;
7048 _ACEOF
7049 if ac_fn_c_try_compile "$LINENO"; then :
7050 ac_cv_sys_large_files=1; break
7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053 ac_cv_sys_large_files=unknown
7054 break
7055 done
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7058 $as_echo "$ac_cv_sys_large_files" >&6; }
7059 case $ac_cv_sys_large_files in #(
7060 no | unknown) ;;
7062 cat >>confdefs.h <<_ACEOF
7063 #define _LARGE_FILES $ac_cv_sys_large_files
7064 _ACEOF
7066 esac
7067 rm -rf conftest*
7074 ac_ext=c
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7081 # On Suns, sometimes $CPP names a directory.
7082 if test -n "$CPP" && test -d "$CPP"; then
7083 CPP=
7085 if test -z "$CPP"; then
7086 if ${ac_cv_prog_CPP+:} false; then :
7087 $as_echo_n "(cached) " >&6
7088 else
7089 # Double quotes because CPP needs to be expanded
7090 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7092 ac_preproc_ok=false
7093 for ac_c_preproc_warn_flag in '' yes
7095 # Use a header file that comes with gcc, so configuring glibc
7096 # with a fresh cross-compiler works.
7097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7098 # <limits.h> exists even on freestanding compilers.
7099 # On the NeXT, cc -E runs the code through the compiler's parser,
7100 # not just through cpp. "Syntax error" is here to catch this case.
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7103 #ifdef __STDC__
7104 # include <limits.h>
7105 #else
7106 # include <assert.h>
7107 #endif
7108 Syntax error
7109 _ACEOF
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7112 else
7113 # Broken: fails on valid input.
7114 continue
7116 rm -f conftest.err conftest.i conftest.$ac_ext
7118 # OK, works on sane cases. Now check whether nonexistent headers
7119 # can be detected and how.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <ac_nonexistent.h>
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7125 # Broken: success on invalid input.
7126 continue
7127 else
7128 # Passes both tests.
7129 ac_preproc_ok=:
7130 break
7132 rm -f conftest.err conftest.i conftest.$ac_ext
7134 done
7135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7136 rm -f conftest.i conftest.err conftest.$ac_ext
7137 if $ac_preproc_ok; then :
7138 break
7141 done
7142 ac_cv_prog_CPP=$CPP
7145 CPP=$ac_cv_prog_CPP
7146 else
7147 ac_cv_prog_CPP=$CPP
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7150 $as_echo "$CPP" >&6; }
7151 ac_preproc_ok=false
7152 for ac_c_preproc_warn_flag in '' yes
7154 # Use a header file that comes with gcc, so configuring glibc
7155 # with a fresh cross-compiler works.
7156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7157 # <limits.h> exists even on freestanding compilers.
7158 # On the NeXT, cc -E runs the code through the compiler's parser,
7159 # not just through cpp. "Syntax error" is here to catch this case.
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7162 #ifdef __STDC__
7163 # include <limits.h>
7164 #else
7165 # include <assert.h>
7166 #endif
7167 Syntax error
7168 _ACEOF
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7171 else
7172 # Broken: fails on valid input.
7173 continue
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 # OK, works on sane cases. Now check whether nonexistent headers
7178 # can be detected and how.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #include <ac_nonexistent.h>
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7184 # Broken: success on invalid input.
7185 continue
7186 else
7187 # Passes both tests.
7188 ac_preproc_ok=:
7189 break
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7193 done
7194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7195 rm -f conftest.i conftest.err conftest.$ac_ext
7196 if $ac_preproc_ok; then :
7198 else
7199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7201 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7202 See \`config.log' for more details" "$LINENO" 5; }
7205 ac_ext=c
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7213 $as_echo_n "checking for ANSI C header files... " >&6; }
7214 if ${ac_cv_header_stdc+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #include <stdlib.h>
7220 #include <stdarg.h>
7221 #include <string.h>
7222 #include <float.h>
7225 main ()
7229 return 0;
7231 _ACEOF
7232 if ac_fn_c_try_compile "$LINENO"; then :
7233 ac_cv_header_stdc=yes
7234 else
7235 ac_cv_header_stdc=no
7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7239 if test $ac_cv_header_stdc = yes; then
7240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #include <string.h>
7245 _ACEOF
7246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7247 $EGREP "memchr" >/dev/null 2>&1; then :
7249 else
7250 ac_cv_header_stdc=no
7252 rm -f conftest*
7256 if test $ac_cv_header_stdc = yes; then
7257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 #include <stdlib.h>
7262 _ACEOF
7263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7264 $EGREP "free" >/dev/null 2>&1; then :
7266 else
7267 ac_cv_header_stdc=no
7269 rm -f conftest*
7273 if test $ac_cv_header_stdc = yes; then
7274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7275 if test "$cross_compiling" = yes; then :
7277 else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7280 #include <ctype.h>
7281 #include <stdlib.h>
7282 #if ((' ' & 0x0FF) == 0x020)
7283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7285 #else
7286 # define ISLOWER(c) \
7287 (('a' <= (c) && (c) <= 'i') \
7288 || ('j' <= (c) && (c) <= 'r') \
7289 || ('s' <= (c) && (c) <= 'z'))
7290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7291 #endif
7293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7295 main ()
7297 int i;
7298 for (i = 0; i < 256; i++)
7299 if (XOR (islower (i), ISLOWER (i))
7300 || toupper (i) != TOUPPER (i))
7301 return 2;
7302 return 0;
7304 _ACEOF
7305 if ac_fn_c_try_run "$LINENO"; then :
7307 else
7308 ac_cv_header_stdc=no
7310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7311 conftest.$ac_objext conftest.beam conftest.$ac_ext
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7317 $as_echo "$ac_cv_header_stdc" >&6; }
7318 if test $ac_cv_header_stdc = yes; then
7320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7325 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7326 inttypes.h stdint.h unistd.h
7327 do :
7328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7334 _ACEOF
7338 done
7341 for ac_header in \
7342 AL/al.h \
7343 ApplicationServices/ApplicationServices.h \
7344 AudioToolbox/AudioConverter.h \
7345 AudioUnit/AudioUnit.h \
7346 AudioUnit/AudioComponent.h \
7347 CL/cl.h \
7348 Carbon/Carbon.h \
7349 CommonCrypto/CommonCryptor.h \
7350 CoreAudio/CoreAudio.h \
7351 CoreServices/CoreServices.h \
7352 DiskArbitration/DiskArbitration.h \
7353 EGL/egl.h \
7354 IOKit/IOKitLib.h \
7355 IOKit/hid/IOHIDLib.h \
7356 OpenAL/al.h \
7357 OpenCL/opencl.h \
7358 QuickTime/ImageCompression.h \
7359 Security/Security.h \
7360 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7361 SystemConfiguration/SCNetworkConfiguration.h \
7362 alias.h \
7363 arpa/inet.h \
7364 arpa/nameser.h \
7365 asm/types.h \
7366 asm/user.h \
7367 curses.h \
7368 dirent.h \
7369 dlfcn.h \
7370 elf.h \
7371 float.h \
7372 fnmatch.h \
7373 getopt.h \
7374 gettext-po.h \
7375 grp.h \
7376 gsm.h \
7377 gsm/gsm.h \
7378 ieeefp.h \
7379 inet/mib2.h \
7380 kstat.h \
7381 libproc.h \
7382 link.h \
7383 linux/cdrom.h \
7384 linux/compiler.h \
7385 linux/filter.h \
7386 linux/hdreg.h \
7387 linux/hidraw.h \
7388 linux/input.h \
7389 linux/ioctl.h \
7390 linux/joystick.h \
7391 linux/major.h \
7392 linux/param.h \
7393 linux/serial.h \
7394 linux/types.h \
7395 linux/ucdrom.h \
7396 lwp.h \
7397 mach-o/nlist.h \
7398 mach-o/loader.h \
7399 mach/mach.h \
7400 mach/machine.h \
7401 machine/cpu.h \
7402 machine/limits.h \
7403 machine/sysarch.h \
7404 mntent.h \
7405 ncurses.h \
7406 netdb.h \
7407 netinet/in.h \
7408 netinet/in_systm.h \
7409 netinet/tcp.h \
7410 netinet/tcp_fsm.h \
7411 pcap/pcap.h \
7412 poll.h \
7413 port.h \
7414 pthread.h \
7415 pwd.h \
7416 sasl/sasl.h \
7417 sched.h \
7418 scsi/scsi.h \
7419 scsi/scsi_ioctl.h \
7420 scsi/sg.h \
7421 stdbool.h \
7422 stdint.h \
7423 stropts.h \
7424 sys/attr.h \
7425 sys/auxv.h \
7426 sys/cdio.h \
7427 sys/epoll.h \
7428 sys/event.h \
7429 sys/filio.h \
7430 sys/ioctl.h \
7431 sys/ipc.h \
7432 sys/limits.h \
7433 sys/link.h \
7434 sys/mman.h \
7435 sys/modem.h \
7436 sys/msg.h \
7437 sys/mtio.h \
7438 sys/param.h \
7439 sys/poll.h \
7440 sys/prctl.h \
7441 sys/protosw.h \
7442 sys/ptrace.h \
7443 sys/queue.h \
7444 sys/resource.h \
7445 sys/scsiio.h \
7446 sys/shm.h \
7447 sys/signal.h \
7448 sys/socket.h \
7449 sys/socketvar.h \
7450 sys/sockio.h \
7451 sys/statvfs.h \
7452 sys/strtio.h \
7453 sys/syscall.h \
7454 sys/sysinfo.h \
7455 sys/tihdr.h \
7456 sys/time.h \
7457 sys/timeout.h \
7458 sys/times.h \
7459 sys/uio.h \
7460 sys/user.h \
7461 sys/utsname.h \
7462 sys/vnode.h \
7463 sys/wait.h \
7464 syscall.h \
7465 termios.h \
7466 unistd.h \
7467 utime.h \
7468 valgrind/memcheck.h \
7469 valgrind/valgrind.h
7471 do :
7472 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7474 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7475 cat >>confdefs.h <<_ACEOF
7476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7477 _ACEOF
7481 done
7483 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7484 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7486 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7491 if test $ac_cv_header_sys_mkdev_h = no; then
7492 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7493 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7495 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7502 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7503 if ${ac_cv_header_stat_broken+:} false; then :
7504 $as_echo_n "(cached) " >&6
7505 else
7506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h. */
7508 #include <sys/types.h>
7509 #include <sys/stat.h>
7511 #if defined S_ISBLK && defined S_IFDIR
7512 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7513 #endif
7515 #if defined S_ISBLK && defined S_IFCHR
7516 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7517 #endif
7519 #if defined S_ISLNK && defined S_IFREG
7520 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7521 #endif
7523 #if defined S_ISSOCK && defined S_IFREG
7524 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7525 #endif
7527 _ACEOF
7528 if ac_fn_c_try_compile "$LINENO"; then :
7529 ac_cv_header_stat_broken=no
7530 else
7531 ac_cv_header_stat_broken=yes
7533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7536 $as_echo "$ac_cv_header_stat_broken" >&6; }
7537 if test $ac_cv_header_stat_broken = yes; then
7539 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7545 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7546 do :
7547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7548 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7549 #ifdef HAVE_SYS_PARAM_H
7550 # include <sys/param.h>
7551 #endif
7553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7554 cat >>confdefs.h <<_ACEOF
7555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7556 _ACEOF
7560 done
7563 for ac_header in \
7564 netinet/ip.h \
7565 net/if.h \
7566 net/if_arp.h \
7567 net/if_dl.h \
7568 net/if_types.h \
7569 net/route.h \
7570 netinet/if_ether.h \
7571 netinet/if_inarp.h \
7572 netinet/in_pcb.h \
7573 netinet/ip_icmp.h \
7574 netinet/ip_var.h \
7575 netinet/udp.h \
7576 netipx/ipx.h \
7577 sys/un.h \
7579 do :
7580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7581 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7582 #ifdef HAVE_SYS_SOCKET_H
7583 # include <sys/socket.h>
7584 #endif
7585 #ifdef HAVE_SYS_SOCKETVAR_H
7586 # include <sys/socketvar.h>
7587 #endif
7588 #ifdef HAVE_NET_ROUTE_H
7589 # include <net/route.h>
7590 #endif
7591 #ifdef HAVE_NETINET_IN_H
7592 # include <netinet/in.h>
7593 #endif
7594 #ifdef HAVE_NETINET_IN_SYSTM_H
7595 # include <netinet/in_systm.h>
7596 #endif
7597 #ifdef HAVE_NET_IF_H
7598 # include <net/if.h>
7599 #endif
7600 #ifdef HAVE_NETINET_IP_H
7601 # include <netinet/ip.h>
7602 #endif
7604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7605 cat >>confdefs.h <<_ACEOF
7606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7607 _ACEOF
7611 done
7614 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7615 do :
7616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7618 #ifdef HAVE_ALIAS_H
7619 # include <alias.h>
7620 #endif
7621 #ifdef HAVE_SYS_SOCKET_H
7622 # include <sys/socket.h>
7623 #endif
7624 #ifdef HAVE_SYS_SOCKETVAR_H
7625 # include <sys/socketvar.h>
7626 #endif
7627 #ifdef HAVE_SYS_TIMEOUT_H
7628 # include <sys/timeout.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_H
7631 # include <netinet/in.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_SYSTM_H
7634 # include <netinet/in_systm.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IP_H
7637 # include <netinet/ip.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_VAR_H
7640 # include <netinet/ip_var.h>
7641 #endif
7642 #ifdef HAVE_NETINET_IP_ICMP_H
7643 # include <netinet/ip_icmp.h>
7644 #endif
7645 #ifdef HAVE_NETINET_UDP_H
7646 # include <netinet/udp.h>
7647 #endif
7648 #ifdef HAVE_NETINET_TCP_H
7649 # include <netinet/tcp.h>
7650 #endif
7651 #ifdef HAVE_NETINET_TCP_TIMER_H
7652 #include <netinet/tcp_timer.h>
7653 #endif
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7665 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7666 do :
7667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7668 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7669 #ifdef HAVE_ASM_TYPES_H
7670 # include <asm/types.h>
7671 #endif
7672 #ifdef HAVE_SYS_SOCKET_H
7673 # include <sys/socket.h>
7674 #endif
7675 #ifdef HAVE_LINUX_TYPES_H
7676 # include <linux/types.h>
7677 #endif
7679 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7680 cat >>confdefs.h <<_ACEOF
7681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7682 _ACEOF
7686 done
7689 for ac_header in resolv.h
7690 do :
7691 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7692 #ifdef HAVE_SYS_SOCKET_H
7693 # include <sys/socket.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IN_H
7696 # include <netinet/in.h>
7697 #endif
7698 #ifdef HAVE_ARPA_NAMESER_H
7699 # include <arpa/nameser.h>
7700 #endif
7702 if test "x$ac_cv_header_resolv_h" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_RESOLV_H 1
7705 _ACEOF
7709 done
7712 for ac_header in ifaddrs.h
7713 do :
7714 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7716 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_IFADDRS_H 1
7719 _ACEOF
7723 done
7726 for ac_header in sys/ucontext.h
7727 do :
7728 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7730 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7731 cat >>confdefs.h <<_ACEOF
7732 #define HAVE_SYS_UCONTEXT_H 1
7733 _ACEOF
7737 done
7740 for ac_header in sys/thr.h
7741 do :
7742 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7743 #ifdef HAVE_SYS_UCONTEXT_H
7744 #include <sys/ucontext.h>
7745 #endif
7747 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_SYS_THR_H 1
7750 _ACEOF
7754 done
7757 for ac_header in pthread_np.h
7758 do :
7759 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7760 #include <pthread.h>
7761 #endif
7763 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_PTHREAD_NP_H 1
7766 _ACEOF
7770 done
7773 for ac_header in linux/videodev2.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7776 #include <sys/time.h>
7777 #endif
7778 #include <sys/types.h>
7779 #ifdef HAVE_ASM_TYPES_H
7780 #include <asm/types.h>
7781 #endif
7783 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_LINUX_VIDEODEV2_H 1
7786 _ACEOF
7790 done
7793 for ac_header in libprocstat.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7796 #include <sys/param.h>
7797 #endif
7798 #ifdef HAVE_SYS_QUEUE_H
7799 #include <sys/queue.h>
7800 #endif
7801 #ifdef HAVE_SYS_SOCKET_H
7802 #include <sys/socket.h>
7803 #endif
7805 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7806 cat >>confdefs.h <<_ACEOF
7807 #define HAVE_LIBPROCSTAT_H 1
7808 _ACEOF
7812 done
7816 DLLFLAGS="-D_REENTRANT"
7818 LDRPATH_INSTALL=""
7820 LDRPATH_LOCAL=""
7822 LDDLLFLAGS=""
7824 LDEXECFLAGS=""
7826 TOP_INSTALL_LIB=""
7828 TOP_INSTALL_DEV=""
7830 WINELOADER_LDFLAGS=""
7832 WINEPRELOADER_LDFLAGS=""
7834 LIBEXT="so"
7835 DLLEXT=".so"
7836 # Extract the first word of "ldd", so it can be a program name with args.
7837 set dummy ldd; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7839 $as_echo_n "checking for $ac_word... " >&6; }
7840 if ${ac_cv_path_LDD+:} false; then :
7841 $as_echo_n "(cached) " >&6
7842 else
7843 case $LDD in
7844 [\\/]* | ?:[\\/]*)
7845 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 as_dummy="/sbin:/usr/sbin:$PATH"
7850 for as_dir in $as_dummy
7852 IFS=$as_save_IFS
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7856 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 break 2
7860 done
7861 done
7862 IFS=$as_save_IFS
7864 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7866 esac
7868 LDD=$ac_cv_path_LDD
7869 if test -n "$LDD"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7871 $as_echo "$LDD" >&6; }
7872 else
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7878 if test -n "$ac_tool_prefix"; then
7879 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7880 set dummy ${ac_tool_prefix}otool; ac_word=$2
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7882 $as_echo_n "checking for $ac_word... " >&6; }
7883 if ${ac_cv_prog_OTOOL+:} false; then :
7884 $as_echo_n "(cached) " >&6
7885 else
7886 if test -n "$OTOOL"; then
7887 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7888 else
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 for as_dir in $PATH
7892 IFS=$as_save_IFS
7893 test -z "$as_dir" && as_dir=.
7894 for ac_exec_ext in '' $ac_executable_extensions; do
7895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7896 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7898 break 2
7900 done
7901 done
7902 IFS=$as_save_IFS
7906 OTOOL=$ac_cv_prog_OTOOL
7907 if test -n "$OTOOL"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7909 $as_echo "$OTOOL" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7917 if test -z "$ac_cv_prog_OTOOL"; then
7918 ac_ct_OTOOL=$OTOOL
7919 # Extract the first word of "otool", so it can be a program name with args.
7920 set dummy otool; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7922 $as_echo_n "checking for $ac_word... " >&6; }
7923 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7924 $as_echo_n "(cached) " >&6
7925 else
7926 if test -n "$ac_ct_OTOOL"; then
7927 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7928 else
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 for as_dir in $PATH
7932 IFS=$as_save_IFS
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_prog_ac_ct_OTOOL="otool"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 break 2
7940 done
7941 done
7942 IFS=$as_save_IFS
7946 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7947 if test -n "$ac_ct_OTOOL"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7949 $as_echo "$ac_ct_OTOOL" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7955 if test "x$ac_ct_OTOOL" = x; then
7956 OTOOL="otool"
7957 else
7958 case $cross_compiling:$ac_tool_warned in
7959 yes:)
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7962 ac_tool_warned=yes ;;
7963 esac
7964 OTOOL=$ac_ct_OTOOL
7966 else
7967 OTOOL="$ac_cv_prog_OTOOL"
7970 if test -n "$ac_tool_prefix"; then
7971 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7972 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if ${ac_cv_prog_READELF+:} false; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 if test -n "$READELF"; then
7979 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7980 else
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 for as_dir in $PATH
7984 IFS=$as_save_IFS
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 break 2
7992 done
7993 done
7994 IFS=$as_save_IFS
7998 READELF=$ac_cv_prog_READELF
7999 if test -n "$READELF"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8001 $as_echo "$READELF" >&6; }
8002 else
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8009 if test -z "$ac_cv_prog_READELF"; then
8010 ac_ct_READELF=$READELF
8011 # Extract the first word of "readelf", so it can be a program name with args.
8012 set dummy readelf; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$ac_ct_READELF"; then
8019 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_ac_ct_READELF="readelf"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8039 if test -n "$ac_ct_READELF"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8041 $as_echo "$ac_ct_READELF" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8047 if test "x$ac_ct_READELF" = x; then
8048 READELF="true"
8049 else
8050 case $cross_compiling:$ac_tool_warned in
8051 yes:)
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8054 ac_tool_warned=yes ;;
8055 esac
8056 READELF=$ac_ct_READELF
8058 else
8059 READELF="$ac_cv_prog_READELF"
8062 wine_rules_file=conf$$rules.make
8063 rm -f $wine_rules_file
8064 SUBDIRS=""
8066 DISABLED_SUBDIRS=""
8068 CONFIGURE_TARGETS=""
8071 wine_fn_append_file ()
8073 as_fn_append $1 " \\$as_nl $2"
8076 wine_fn_append_rule ()
8078 $as_echo "$1" >>$wine_rules_file
8081 wine_fn_config_makefile ()
8083 wine_fn_append_file SUBDIRS $1
8084 if eval test \"x\$"$2"\" = x"no"; then :
8085 wine_fn_append_file DISABLED_SUBDIRS $1
8089 wine_fn_config_symlink ()
8091 ac_links=$@
8092 wine_fn_append_rule \
8093 "$ac_links:
8094 @./config.status \$@"
8095 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8098 wine_binary="wine"
8099 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8100 WINELOADER_PROGRAMS="$wine_binary"
8102 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8104 case $host_os in
8105 cygwin*|mingw32*)
8106 if test -n "$ac_tool_prefix"; then
8107 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_DLLTOOL+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 if test -n "$DLLTOOL"; then
8115 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8120 IFS=$as_save_IFS
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 break 2
8128 done
8129 done
8130 IFS=$as_save_IFS
8134 DLLTOOL=$ac_cv_prog_DLLTOOL
8135 if test -n "$DLLTOOL"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8137 $as_echo "$DLLTOOL" >&6; }
8138 else
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8145 if test -z "$ac_cv_prog_DLLTOOL"; then
8146 ac_ct_DLLTOOL=$DLLTOOL
8147 # Extract the first word of "dlltool", so it can be a program name with args.
8148 set dummy dlltool; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8152 $as_echo_n "(cached) " >&6
8153 else
8154 if test -n "$ac_ct_DLLTOOL"; then
8155 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8156 else
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 for as_dir in $PATH
8160 IFS=$as_save_IFS
8161 test -z "$as_dir" && as_dir=.
8162 for ac_exec_ext in '' $ac_executable_extensions; do
8163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 break 2
8168 done
8169 done
8170 IFS=$as_save_IFS
8174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8175 if test -n "$ac_ct_DLLTOOL"; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8177 $as_echo "$ac_ct_DLLTOOL" >&6; }
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8183 if test "x$ac_ct_DLLTOOL" = x; then
8184 DLLTOOL="false"
8185 else
8186 case $cross_compiling:$ac_tool_warned in
8187 yes:)
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8190 ac_tool_warned=yes ;;
8191 esac
8192 DLLTOOL=$ac_ct_DLLTOOL
8194 else
8195 DLLTOOL="$ac_cv_prog_DLLTOOL"
8198 LIBEXT="dll"
8199 DLLEXT=""
8200 case $host_cpu in
8201 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8202 esac
8203 enable_iphlpapi=${enable_iphlpapi:-no}
8204 enable_kernel32=${enable_kernel32:-no}
8205 enable_ntdll=${enable_ntdll:-no}
8206 enable_ws2_32=${enable_ws2_32:-no}
8207 enable_loader=${enable_loader:-no}
8208 enable_server=${enable_server:-no}
8209 with_x=${with_x:-no}
8210 with_pthread=${with_pthread:-no}
8213 darwin*|macosx*)
8214 ac_ext=m
8215 ac_cpp='$OBJCPP $CPPFLAGS'
8216 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8217 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8218 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8220 ac_ext=m
8221 ac_cpp='$OBJCPP $CPPFLAGS'
8222 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8223 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8224 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8225 if test -n "$ac_tool_prefix"; then
8226 for ac_prog in gcc objcc objc cc CC
8228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_OBJC+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 if test -n "$OBJC"; then
8236 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8249 done
8250 done
8251 IFS=$as_save_IFS
8255 OBJC=$ac_cv_prog_OBJC
8256 if test -n "$OBJC"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8258 $as_echo "$OBJC" >&6; }
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8265 test -n "$OBJC" && break
8266 done
8268 if test -z "$OBJC"; then
8269 ac_ct_OBJC=$OBJC
8270 for ac_prog in gcc objcc objc cc CC
8272 # Extract the first word of "$ac_prog", so it can be a program name with args.
8273 set dummy $ac_prog; ac_word=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8275 $as_echo_n "checking for $ac_word... " >&6; }
8276 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 if test -n "$ac_ct_OBJC"; then
8280 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8281 else
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 for as_dir in $PATH
8285 IFS=$as_save_IFS
8286 test -z "$as_dir" && as_dir=.
8287 for ac_exec_ext in '' $ac_executable_extensions; do
8288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8289 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8291 break 2
8293 done
8294 done
8295 IFS=$as_save_IFS
8299 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8300 if test -n "$ac_ct_OBJC"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8302 $as_echo "$ac_ct_OBJC" >&6; }
8303 else
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8309 test -n "$ac_ct_OBJC" && break
8310 done
8312 if test "x$ac_ct_OBJC" = x; then
8313 OBJC="gcc"
8314 else
8315 case $cross_compiling:$ac_tool_warned in
8316 yes:)
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8319 ac_tool_warned=yes ;;
8320 esac
8321 OBJC=$ac_ct_OBJC
8325 # Provide some information about the compiler.
8326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8327 set X $ac_compile
8328 ac_compiler=$2
8329 for ac_option in --version -v -V -qversion; do
8330 { { ac_try="$ac_compiler $ac_option >&5"
8331 case "(($ac_try" in
8332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8333 *) ac_try_echo=$ac_try;;
8334 esac
8335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8336 $as_echo "$ac_try_echo"; } >&5
8337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8338 ac_status=$?
8339 if test -s conftest.err; then
8340 sed '10a\
8341 ... rest of stderr output deleted ...
8342 10q' conftest.err >conftest.er1
8343 cat conftest.er1 >&5
8345 rm -f conftest.er1 conftest.err
8346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347 test $ac_status = 0; }
8348 done
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8351 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8352 if ${ac_cv_objc_compiler_gnu+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8359 main ()
8361 #ifndef __GNUC__
8362 choke me
8363 #endif
8366 return 0;
8368 _ACEOF
8369 if ac_fn_objc_try_compile "$LINENO"; then :
8370 ac_compiler_gnu=yes
8371 else
8372 ac_compiler_gnu=no
8374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8375 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8379 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8380 if test $ac_compiler_gnu = yes; then
8381 GOBJC=yes
8382 else
8383 GOBJC=
8385 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8386 ac_save_OBJCFLAGS=$OBJCFLAGS
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8388 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8389 if ${ac_cv_prog_objc_g+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 ac_save_objc_werror_flag=$ac_objc_werror_flag
8393 ac_objc_werror_flag=yes
8394 ac_cv_prog_objc_g=no
8395 OBJCFLAGS="-g"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8400 main ()
8404 return 0;
8406 _ACEOF
8407 if ac_fn_objc_try_compile "$LINENO"; then :
8408 ac_cv_prog_objc_g=yes
8409 else
8410 OBJCFLAGS=""
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8415 main ()
8419 return 0;
8421 _ACEOF
8422 if ac_fn_objc_try_compile "$LINENO"; then :
8424 else
8425 ac_objc_werror_flag=$ac_save_objc_werror_flag
8426 OBJCFLAGS="-g"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 if ac_fn_objc_try_compile "$LINENO"; then :
8439 ac_cv_prog_objc_g=yes
8441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 ac_objc_werror_flag=$ac_save_objc_werror_flag
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8449 $as_echo "$ac_cv_prog_objc_g" >&6; }
8450 if test "$ac_test_OBJCFLAGS" = set; then
8451 OBJCFLAGS=$ac_save_OBJCFLAGS
8452 elif test $ac_cv_prog_objc_g = yes; then
8453 if test "$GOBJC" = yes; then
8454 OBJCFLAGS="-g -O2"
8455 else
8456 OBJCFLAGS="-g"
8458 else
8459 if test "$GOBJC" = yes; then
8460 OBJCFLAGS="-O2"
8461 else
8462 OBJCFLAGS=
8465 ac_ext=m
8466 ac_cpp='$OBJCPP $CPPFLAGS'
8467 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8468 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8469 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8472 ac_ext=m
8473 ac_cpp='$OBJCPP $CPPFLAGS'
8474 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8475 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8476 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8478 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8479 if test -z "$OBJCPP"; then
8480 if ${ac_cv_prog_OBJCPP+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 # Double quotes because OBJCPP needs to be expanded
8484 for OBJCPP in "$OBJC -E" "/lib/cpp"
8486 ac_preproc_ok=false
8487 for ac_objc_preproc_warn_flag in '' yes
8489 # Use a header file that comes with gcc, so configuring glibc
8490 # with a fresh cross-compiler works.
8491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8492 # <limits.h> exists even on freestanding compilers.
8493 # On the NeXT, cc -E runs the code through the compiler's parser,
8494 # not just through cpp. "Syntax error" is here to catch this case.
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8497 #ifdef __STDC__
8498 # include <limits.h>
8499 #else
8500 # include <assert.h>
8501 #endif
8502 Syntax error
8503 _ACEOF
8504 if ac_fn_objc_try_cpp "$LINENO"; then :
8506 else
8507 # Broken: fails on valid input.
8508 continue
8510 rm -f conftest.err conftest.i conftest.$ac_ext
8512 # OK, works on sane cases. Now check whether nonexistent headers
8513 # can be detected and how.
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 #include <ac_nonexistent.h>
8517 _ACEOF
8518 if ac_fn_objc_try_cpp "$LINENO"; then :
8519 # Broken: success on invalid input.
8520 continue
8521 else
8522 # Passes both tests.
8523 ac_preproc_ok=:
8524 break
8526 rm -f conftest.err conftest.i conftest.$ac_ext
8528 done
8529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8530 rm -f conftest.i conftest.err conftest.$ac_ext
8531 if $ac_preproc_ok; then :
8532 break
8535 done
8536 ac_cv_prog_OBJCPP=$OBJCPP
8539 OBJCPP=$ac_cv_prog_OBJCPP
8540 else
8541 ac_cv_prog_OBJCPP=$OBJCPP
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8544 $as_echo "$OBJCPP" >&6; }
8545 ac_preproc_ok=false
8546 for ac_objc_preproc_warn_flag in '' yes
8548 # Use a header file that comes with gcc, so configuring glibc
8549 # with a fresh cross-compiler works.
8550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8551 # <limits.h> exists even on freestanding compilers.
8552 # On the NeXT, cc -E runs the code through the compiler's parser,
8553 # not just through cpp. "Syntax error" is here to catch this case.
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8556 #ifdef __STDC__
8557 # include <limits.h>
8558 #else
8559 # include <assert.h>
8560 #endif
8561 Syntax error
8562 _ACEOF
8563 if ac_fn_objc_try_cpp "$LINENO"; then :
8565 else
8566 # Broken: fails on valid input.
8567 continue
8569 rm -f conftest.err conftest.i conftest.$ac_ext
8571 # OK, works on sane cases. Now check whether nonexistent headers
8572 # can be detected and how.
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 #include <ac_nonexistent.h>
8576 _ACEOF
8577 if ac_fn_objc_try_cpp "$LINENO"; then :
8578 # Broken: success on invalid input.
8579 continue
8580 else
8581 # Passes both tests.
8582 ac_preproc_ok=:
8583 break
8585 rm -f conftest.err conftest.i conftest.$ac_ext
8587 done
8588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8589 rm -f conftest.i conftest.err conftest.$ac_ext
8590 if $ac_preproc_ok; then :
8592 else
8593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8595 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8596 See \`config.log' for more details" "$LINENO" 5; }
8599 ac_ext=m
8600 ac_cpp='$OBJCPP $CPPFLAGS'
8601 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8602 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8603 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8606 for ac_header in Metal/Metal.h
8607 do :
8608 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8609 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8610 cat >>confdefs.h <<_ACEOF
8611 #define HAVE_METAL_METAL_H 1
8612 _ACEOF
8616 done
8618 ac_ext=c
8619 ac_cpp='$CPP $CPPFLAGS'
8620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8624 LIBEXT="dylib"
8625 DLLFLAGS="$DLLFLAGS -fPIC"
8626 LDDLLFLAGS="-fPIC"
8627 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8628 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8629 COREFOUNDATION_LIBS="-framework CoreFoundation"
8631 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8633 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8635 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8637 CORESERVICES_LIBS="-framework CoreServices"
8639 APPKIT_LIBS="-framework AppKit"
8641 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8644 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8646 wine_can_build_preloader=yes
8647 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8650 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 ac_cv_cflags__Wl__no_new_main__e__main=yes
8661 else
8662 ac_cv_cflags__Wl__no_new_main__e__main=no
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8669 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8670 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8671 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8673 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8674 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 int main(int argc, char **argv) { return 0; }
8682 _ACEOF
8683 if ac_fn_c_try_link "$LINENO"; then :
8684 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8685 else
8686 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8688 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext
8690 CFLAGS=$ac_wine_try_cflags_saved
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8693 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8694 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8695 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8696 else
8697 { $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
8698 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8699 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8700 $as_echo_n "(cached) " >&6
8701 else
8702 ac_wine_try_cflags_saved=$CFLAGS
8703 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 int main(int argc, char **argv) { return 0; }
8707 _ACEOF
8708 if ac_fn_c_try_link "$LINENO"; then :
8709 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8710 else
8711 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8713 rm -f core conftest.err conftest.$ac_objext \
8714 conftest$ac_exeext conftest.$ac_ext
8715 CFLAGS=$ac_wine_try_cflags_saved
8717 { $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
8718 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8719 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8720 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8721 else
8722 wine_can_build_preloader=no
8725 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8727 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8728 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8739 else
8740 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8747 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8748 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8749 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8750 else
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8752 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8753 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8764 else
8765 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8772 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8773 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8774 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8775 else
8776 wine_can_build_preloader=no
8780 if test "$wine_can_build_preloader" = "yes"
8781 then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8783 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8784 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_wine_try_cflags_saved=$CFLAGS
8788 CFLAGS="$CFLAGS -Wl,-no_pie"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 int main(int argc, char **argv) { return 0; }
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_cflags__Wl__no_pie=yes
8795 else
8796 ac_cv_cflags__Wl__no_pie=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 CFLAGS=$ac_wine_try_cflags_saved
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8803 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8804 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8805 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8807 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8808 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8809 else
8810 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8813 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8814 then
8815 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8818 if test "$ac_cv_header_Security_Security_h" = "yes"
8819 then
8820 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8822 ac_save_LIBS="$LIBS"
8823 LIBS="$LIBS $SECURITY_LIBS"
8824 for ac_func in SSLCopyPeerCertificates
8825 do :
8826 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8827 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8828 cat >>confdefs.h <<_ACEOF
8829 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8830 _ACEOF
8833 done
8835 LIBS="$ac_save_LIBS"
8837 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8838 then
8839 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8840 then
8841 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8843 else
8844 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8847 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8848 ac_save_LIBS="$LIBS"
8849 LIBS="$LIBS $COREAUDIO_LIBS"
8850 for ac_func in AUGraphAddNode
8851 do :
8852 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8853 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8854 cat >>confdefs.h <<_ACEOF
8855 #define HAVE_AUGRAPHADDNODE 1
8856 _ACEOF
8859 done
8861 LIBS="$ac_save_LIBS"
8863 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8864 then
8865 OPENAL_LIBS="-framework OpenAL"
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_OPENAL 1
8870 _ACEOF
8872 ac_cv_lib_openal=yes
8874 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8875 then
8876 OPENCL_LIBS="-framework OpenCL"
8878 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8880 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8881 then
8882 ac_save_LIBS="$LIBS"
8883 LIBS="$LIBS $IOKIT_LIBS"
8884 for ac_func in IOHIDManagerCreate
8885 do :
8886 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8887 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8888 cat >>confdefs.h <<_ACEOF
8889 #define HAVE_IOHIDMANAGERCREATE 1
8890 _ACEOF
8893 done
8895 LIBS="$ac_save_LIBS"
8897 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8898 then
8899 ac_save_LIBS="$LIBS"
8900 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8902 $as_echo_n "checking for the QuickTime framework... " >&6; }
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8905 #include <QuickTime/ImageCompression.h>
8907 main ()
8909 CodecManagerVersion(NULL);
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8916 $as_echo "yes" >&6; }
8917 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8919 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8923 ac_cv_header_QuickTime_ImageCompression_h=no
8925 rm -f core conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8927 LIBS="$ac_save_LIBS"
8929 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8930 then
8931 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8933 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8934 then
8935 CARBON_LIBS="-framework Carbon"
8938 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8939 then
8940 METAL_LIBS="-framework Metal -framework QuartzCore"
8944 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8945 then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8947 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8948 ac_ext=m
8949 ac_cpp='$OBJCPP $CPPFLAGS'
8950 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8951 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8952 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8956 #include <Metal/Metal.h>
8958 main ()
8960 id<MTLDevice> device; device.registryID;
8962 return 0;
8964 _ACEOF
8965 if ac_fn_objc_try_compile "$LINENO"; then :
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8967 $as_echo "yes" >&6; }
8969 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8976 ac_ext=c
8977 ac_cpp='$CPP $CPPFLAGS'
8978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8984 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8985 then
8986 ac_save_LIBS="$LIBS"
8987 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8988 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8989 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8990 enable_winemac_drv=${enable_winemac_drv:-yes}
8993 LIBS="$ac_save_LIBS"
8996 if test "x$enable_win16" = "xyes"
8997 then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8999 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9000 if test "$cross_compiling" = yes; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9002 $as_echo "cross-compiling, assuming yes" >&6; }
9003 else
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9006 asm(".text\n"
9007 "bad:\tnop;nop\n"
9008 "good:\tnop;nop\n\t"
9009 ".globl _testfunc\n"
9010 "_testfunc:\tcallw good");
9011 extern void testfunc();
9013 main ()
9015 unsigned short *p = (unsigned short *)testfunc;
9016 return p[0] != 0xe866 || p[1] != 0xfffa
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_run "$LINENO"; then :
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9023 $as_echo "yes" >&6; }
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9027 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
9029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9030 conftest.$ac_objext conftest.beam conftest.$ac_ext
9035 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9037 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9039 WINELOADER_DEPENDS="wine_info.plist"
9041 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9042 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9045 linux-android*)
9046 DLLFLAGS="$DLLFLAGS -fPIC"
9047 LDDLLFLAGS="-fPIC"
9048 LDEXECFLAGS="-Wl,-pie"
9049 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9051 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9052 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 int main(int argc, char **argv) { return 0; }
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9063 else
9064 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9071 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9072 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9073 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9075 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9076 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9078 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9079 if eval \${$as_ac_var+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_wine_try_cflags_saved=$CFLAGS
9083 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 int main(int argc, char **argv) { return 0; }
9087 _ACEOF
9088 if ac_fn_c_try_link "$LINENO"; then :
9089 eval "$as_ac_var=yes"
9090 else
9091 eval "$as_ac_var=no"
9093 rm -f core conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 CFLAGS=$ac_wine_try_cflags_saved
9097 eval ac_res=\$$as_ac_var
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9099 $as_echo "$ac_res" >&6; }
9100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9101 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9102 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9103 else
9104 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9106 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9107 if eval \${$as_ac_var+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_wine_try_cflags_saved=$CFLAGS
9111 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 int main(int argc, char **argv) { return 0; }
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 eval "$as_ac_var=yes"
9118 else
9119 eval "$as_ac_var=no"
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 CFLAGS=$ac_wine_try_cflags_saved
9125 eval ac_res=\$$as_ac_var
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9127 $as_echo "$ac_res" >&6; }
9128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9129 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9130 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9134 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9135 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142 int main(int argc, char **argv) { return 0; }
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_cflags__Wl___enable_new_dtags=yes
9146 else
9147 ac_cv_cflags__Wl___enable_new_dtags=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9154 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9155 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9156 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9159 LIBWINE_SHAREDLIB="libwine.so"
9161 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9163 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9166 $as_echo_n "checking for -lEGL... " >&6; }
9167 if ${ac_cv_lib_soname_EGL+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_soname_save_LIBS=$LIBS
9171 LIBS="-lEGL $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char eglGetProcAddress ();
9183 main ()
9185 return eglGetProcAddress ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 case "$LIBEXT" in
9192 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9193 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'` ;;
9194 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9197 fi ;;
9198 esac
9199 else
9200 ac_cv_lib_soname_EGL=
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_soname_save_LIBS
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9208 $as_echo "not found" >&6; }
9210 else
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9212 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9214 cat >>confdefs.h <<_ACEOF
9215 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9216 _ACEOF
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9221 $as_echo_n "checking for -lGLESv2... " >&6; }
9222 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_soname_save_LIBS=$LIBS
9226 LIBS="-lGLESv2 $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char glFlush ();
9238 main ()
9240 return glFlush ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 case "$LIBEXT" in
9247 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9248 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'` ;;
9249 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9252 fi ;;
9253 esac
9254 else
9255 ac_cv_lib_soname_GLESv2=
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_soname_save_LIBS
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9267 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9269 cat >>confdefs.h <<_ACEOF
9270 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9271 _ACEOF
9276 if test "x$exec_prefix" = xNONE
9277 then
9278 case $host_cpu in
9279 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9280 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9281 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9282 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9283 esac
9288 case $host_cpu in
9289 *i[3456789]86*)
9290 DLLFLAGS="$DLLFLAGS -fno-PIC"
9291 LDDLLFLAGS="-fno-PIC" ;;
9293 DLLFLAGS="$DLLFLAGS -fPIC"
9294 LDDLLFLAGS="-fPIC" ;;
9295 esac
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9297 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9298 if ${ac_cv_c_dll_gnuelf+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_wine_try_cflags_saved=$CFLAGS
9302 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 void myfunc() {}
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9309 else
9310 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9315 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9316 ac_cv_c_dll_gnuelf="yes"
9317 else
9318 ac_cv_c_dll_gnuelf="no"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9322 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9323 if test "$ac_cv_c_dll_gnuelf" = "yes"
9324 then
9325 LIBWINE_LDFLAGS="-shared"
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9327 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9328 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9329 $as_echo_n "(cached) " >&6
9330 else
9331 ac_wine_try_cflags_saved=$CFLAGS
9332 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9335 int main(int argc, char **argv) { return 0; }
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9339 else
9340 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 CFLAGS=$ac_wine_try_cflags_saved
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9347 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9348 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9349 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9350 else
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9352 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9353 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_wine_try_cflags_saved=$CFLAGS
9357 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9360 int main(int argc, char **argv) { return 0; }
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9364 else
9365 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 CFLAGS=$ac_wine_try_cflags_saved
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9372 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9373 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9374 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9378 echo '{ global: *; };' >conftest.map
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9380 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9381 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_wine_try_cflags_saved=$CFLAGS
9385 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9388 int main(int argc, char **argv) { return 0; }
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9392 else
9393 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 CFLAGS=$ac_wine_try_cflags_saved
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9400 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9401 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9402 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9404 rm -f conftest.map
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9407 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9408 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__Wl___export_dynamic=yes
9419 else
9420 ac_cv_cflags__Wl___export_dynamic=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9427 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9428 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9429 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9431 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9433 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9436 if eval \${$as_ac_var+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 eval "$as_ac_var=yes"
9447 else
9448 eval "$as_ac_var=no"
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 eval ac_res=\$$as_ac_var
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9456 $as_echo "$ac_res" >&6; }
9457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9458 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9459 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9460 else
9461 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9463 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9464 if eval \${$as_ac_var+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 eval "$as_ac_var=yes"
9475 else
9476 eval "$as_ac_var=no"
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 eval ac_res=\$$as_ac_var
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9484 $as_echo "$ac_res" >&6; }
9485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9486 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9487 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9492 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9493 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_wine_try_cflags_saved=$CFLAGS
9497 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9500 int main(int argc, char **argv) { return 0; }
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_cflags__Wl___enable_new_dtags=yes
9504 else
9505 ac_cv_cflags__Wl___enable_new_dtags=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 CFLAGS=$ac_wine_try_cflags_saved
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9512 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9513 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9514 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9517 case $host_cpu in
9518 *i[3456789]86* | x86_64 | *aarch64*)
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9520 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9521 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 ac_wine_try_cflags_saved=$CFLAGS
9525 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9528 int main(int argc, char **argv) { return 0; }
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9532 else
9533 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9535 rm -f core conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9537 CFLAGS=$ac_wine_try_cflags_saved
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9540 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9541 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9542 case $host_os in
9543 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9544 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9545 esac
9546 else
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9548 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9549 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9550 $as_echo_n "(cached) " >&6
9551 else
9552 ac_wine_try_cflags_saved=$CFLAGS
9553 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9556 int main(int argc, char **argv) { return 0; }
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9560 else
9561 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 CFLAGS=$ac_wine_try_cflags_saved
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9568 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9569 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9570 case $host_os in
9571 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9572 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9573 esac
9575 # Extract the first word of "prelink", so it can be a program name with args.
9576 set dummy prelink; ac_word=$2
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 $as_echo_n "checking for $ac_word... " >&6; }
9579 if ${ac_cv_path_PRELINK+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 case $PRELINK in
9583 [\\/]* | ?:[\\/]*)
9584 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 for as_dir in /sbin /usr/sbin $PATH
9590 IFS=$as_save_IFS
9591 test -z "$as_dir" && as_dir=.
9592 for ac_exec_ext in '' $ac_executable_extensions; do
9593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9594 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9596 break 2
9598 done
9599 done
9600 IFS=$as_save_IFS
9602 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9604 esac
9606 PRELINK=$ac_cv_path_PRELINK
9607 if test -n "$PRELINK"; then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9609 $as_echo "$PRELINK" >&6; }
9610 else
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612 $as_echo "no" >&6; }
9616 if test "x$PRELINK" = xfalse
9617 then
9618 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9622 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9623 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 ac_wine_try_cflags_saved=$CFLAGS
9627 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9630 int main(int argc, char **argv) { return 0; }
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9633 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9634 else
9635 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9637 rm -f core conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 CFLAGS=$ac_wine_try_cflags_saved
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9642 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9643 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9644 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9647 esac
9649 else
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9651 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9652 if ${ac_cv_c_dll_unixware+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_wine_try_cflags_saved=$CFLAGS
9656 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9659 void myfunc() {}
9660 _ACEOF
9661 if ac_fn_c_try_link "$LINENO"; then :
9662 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9663 else
9664 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9666 rm -f core conftest.err conftest.$ac_objext \
9667 conftest$ac_exeext conftest.$ac_ext
9668 CFLAGS=$ac_wine_try_cflags_saved
9669 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9670 ac_cv_c_dll_unixware="yes"
9671 else
9672 ac_cv_c_dll_unixware="no"
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9676 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9677 if test "$ac_cv_c_dll_unixware" = "yes"
9678 then
9679 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9682 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9684 LIBWINE_DEPENDS="wine.map"
9686 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9687 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9689 esac
9691 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9692 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9693 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9694 enable_winemac_drv=${enable_winemac_drv:-no}
9695 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9697 CROSSTARGET=""
9699 if test "x$with_mingw" != xno
9700 then
9701 case "x$with_mingw" in
9702 x|xyes) case "$host_cpu" in
9703 aarch64*)
9704 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9705 arm*)
9706 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9707 i[3456789]86*)
9708 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
9709 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9710 mingw32-gcc" ;;
9711 x86_64)
9712 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
9713 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9715 ac_prefix_list="" ;;
9716 esac
9717 for ac_prog in $ac_prefix_list
9719 # Extract the first word of "$ac_prog", so it can be a program name with args.
9720 set dummy $ac_prog; ac_word=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9722 $as_echo_n "checking for $ac_word... " >&6; }
9723 if ${ac_cv_prog_CROSSCC+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 if test -n "$CROSSCC"; then
9727 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9728 else
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 for as_dir in $PATH
9732 IFS=$as_save_IFS
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9736 ac_cv_prog_CROSSCC="$ac_prog"
9737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9738 break 2
9740 done
9741 done
9742 IFS=$as_save_IFS
9746 CROSSCC=$ac_cv_prog_CROSSCC
9747 if test -n "$CROSSCC"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9749 $as_echo "$CROSSCC" >&6; }
9750 else
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 $as_echo "no" >&6; }
9756 test -n "$CROSSCC" && break
9757 done
9758 test -n "$CROSSCC" || CROSSCC="false"
9760 *) CROSSCC=$with_mingw ;;
9761 esac
9762 if test "$CROSSCC" != "false"
9763 then
9764 ac_save_CC="$CC"
9765 saved_CFLAGS=$CFLAGS
9766 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9768 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9772 CC="$CROSSCC"
9773 CFLAGS=$CROSSCFLAGS
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9775 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9776 if ${wine_cv_crosscc+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9783 main ()
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_compile "$LINENO"; then :
9791 wine_cv_crosscc=yes
9792 else
9793 wine_cv_crosscc=no
9795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9798 $as_echo "$wine_cv_crosscc" >&6; }
9799 if test $wine_cv_crosscc = yes
9800 then
9801 set x $CROSSCC
9802 shift
9803 while test $# -ge 1
9805 case "$1" in
9806 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9807 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9808 esac
9809 shift
9810 done
9812 llvm_target=$CROSSTARGET
9813 if test -z "$llvm_target"
9814 then
9815 case $host_cpu in
9816 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9817 *) llvm_target=$host_cpu-windows-gnu ;;
9818 esac
9820 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9822 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9823 if eval \${$as_ac_var+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_wine_try_cflags_saved=$CFLAGS
9827 ac_wine_try_cflags_saved_cc=$CC
9828 ac_wine_try_cflags_saved_exeext=$ac_exeext
9829 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9830 CC="$CROSSCC"
9831 ac_exeext=".exe"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9834 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 eval "$as_ac_var=yes"
9838 else
9839 eval "$as_ac_var=no"
9841 rm -f core conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 CFLAGS=$ac_wine_try_cflags_saved
9844 CC=$ac_wine_try_cflags_saved_cc
9845 ac_exeext=$ac_wine_try_cflags_saved_exeext
9847 eval ac_res=\$$as_ac_var
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9849 $as_echo "$ac_res" >&6; }
9850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9851 CROSSTARGET=$llvm_target
9852 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9853 CFLAGS="$CFLAGS -fuse-ld=lld"
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9857 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9858 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_wine_try_cflags_saved=$CFLAGS
9862 ac_wine_try_cflags_saved_cc=$CC
9863 ac_wine_try_cflags_saved_exeext=$ac_exeext
9864 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9865 CC="$CROSSCC"
9866 ac_exeext=".exe"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9869 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 ac_cv_crosscflags__fno_strict_aliasing=yes
9873 else
9874 ac_cv_crosscflags__fno_strict_aliasing=no
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 CFLAGS=$ac_wine_try_cflags_saved
9879 CC=$ac_wine_try_cflags_saved_cc
9880 ac_exeext=$ac_wine_try_cflags_saved_exeext
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9883 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9884 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9885 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9888 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9889 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 ac_wine_try_cflags_saved_cc=$CC
9894 ac_wine_try_cflags_saved_exeext=$ac_exeext
9895 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9896 CC="$CROSSCC"
9897 ac_exeext=".exe"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9904 else
9905 ac_cv_crosscflags__Werror_unknown_warning_option=no
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 CFLAGS=$ac_wine_try_cflags_saved
9910 CC=$ac_wine_try_cflags_saved_cc
9911 ac_exeext=$ac_wine_try_cflags_saved_exeext
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9914 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9915 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9916 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9919 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9920 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_wine_try_cflags_saved=$CFLAGS
9924 ac_wine_try_cflags_saved_cc=$CC
9925 ac_wine_try_cflags_saved_exeext=$ac_exeext
9926 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9927 CC="$CROSSCC"
9928 ac_exeext=".exe"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9931 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9935 else
9936 ac_cv_crosscflags__Wdeclaration_after_statement=no
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 CFLAGS=$ac_wine_try_cflags_saved
9941 CC=$ac_wine_try_cflags_saved_cc
9942 ac_exeext=$ac_wine_try_cflags_saved_exeext
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9945 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9946 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9947 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9950 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9951 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_wine_try_cflags_saved=$CFLAGS
9955 ac_wine_try_cflags_saved_cc=$CC
9956 ac_wine_try_cflags_saved_exeext=$ac_exeext
9957 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9958 CC="$CROSSCC"
9959 ac_exeext=".exe"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"; then :
9965 ac_cv_crosscflags__Wempty_body=yes
9966 else
9967 ac_cv_crosscflags__Wempty_body=no
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 CFLAGS=$ac_wine_try_cflags_saved
9972 CC=$ac_wine_try_cflags_saved_cc
9973 ac_exeext=$ac_wine_try_cflags_saved_exeext
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9976 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9977 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9978 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9981 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9982 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9983 $as_echo_n "(cached) " >&6
9984 else
9985 ac_wine_try_cflags_saved=$CFLAGS
9986 ac_wine_try_cflags_saved_cc=$CC
9987 ac_wine_try_cflags_saved_exeext=$ac_exeext
9988 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9989 CC="$CROSSCC"
9990 ac_exeext=".exe"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9993 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 ac_cv_crosscflags__Wignored_qualifiers=yes
9997 else
9998 ac_cv_crosscflags__Wignored_qualifiers=no
10000 rm -f core conftest.err conftest.$ac_objext \
10001 conftest$ac_exeext conftest.$ac_ext
10002 CFLAGS=$ac_wine_try_cflags_saved
10003 CC=$ac_wine_try_cflags_saved_cc
10004 ac_exeext=$ac_wine_try_cflags_saved_exeext
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10007 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10008 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10009 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10012 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10013 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10014 $as_echo_n "(cached) " >&6
10015 else
10016 ac_wine_try_cflags_saved=$CFLAGS
10017 ac_wine_try_cflags_saved_cc=$CC
10018 ac_wine_try_cflags_saved_exeext=$ac_exeext
10019 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10020 CC="$CROSSCC"
10021 ac_exeext=".exe"
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 ac_cv_crosscflags__Wpacked_not_aligned=yes
10028 else
10029 ac_cv_crosscflags__Wpacked_not_aligned=no
10031 rm -f core conftest.err conftest.$ac_objext \
10032 conftest$ac_exeext conftest.$ac_ext
10033 CFLAGS=$ac_wine_try_cflags_saved
10034 CC=$ac_wine_try_cflags_saved_cc
10035 ac_exeext=$ac_wine_try_cflags_saved_exeext
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10038 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10039 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10040 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10043 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10044 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_wine_try_cflags_saved=$CFLAGS
10048 ac_wine_try_cflags_saved_cc=$CC
10049 ac_wine_try_cflags_saved_exeext=$ac_exeext
10050 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10051 CC="$CROSSCC"
10052 ac_exeext=".exe"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10055 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"; then :
10058 ac_cv_crosscflags__Wpragma_pack=yes
10059 else
10060 ac_cv_crosscflags__Wpragma_pack=no
10062 rm -f core conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 CFLAGS=$ac_wine_try_cflags_saved
10065 CC=$ac_wine_try_cflags_saved_cc
10066 ac_exeext=$ac_wine_try_cflags_saved_exeext
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10069 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10070 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10071 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10074 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10075 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_wine_try_cflags_saved=$CFLAGS
10079 ac_wine_try_cflags_saved_cc=$CC
10080 ac_wine_try_cflags_saved_exeext=$ac_exeext
10081 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10082 CC="$CROSSCC"
10083 ac_exeext=".exe"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10086 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_crosscflags__Wshift_overflow_2=yes
10090 else
10091 ac_cv_crosscflags__Wshift_overflow_2=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 CFLAGS=$ac_wine_try_cflags_saved
10096 CC=$ac_wine_try_cflags_saved_cc
10097 ac_exeext=$ac_wine_try_cflags_saved_exeext
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10100 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10101 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10102 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10105 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10106 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 ac_wine_try_cflags_saved_cc=$CC
10111 ac_wine_try_cflags_saved_exeext=$ac_exeext
10112 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10113 CC="$CROSSCC"
10114 ac_exeext=".exe"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10117 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"; then :
10120 ac_cv_crosscflags__Wstrict_prototypes=yes
10121 else
10122 ac_cv_crosscflags__Wstrict_prototypes=no
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 CFLAGS=$ac_wine_try_cflags_saved
10127 CC=$ac_wine_try_cflags_saved_cc
10128 ac_exeext=$ac_wine_try_cflags_saved_exeext
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10131 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10132 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10133 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10136 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10137 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10138 $as_echo_n "(cached) " >&6
10139 else
10140 ac_wine_try_cflags_saved=$CFLAGS
10141 ac_wine_try_cflags_saved_cc=$CC
10142 ac_wine_try_cflags_saved_exeext=$ac_exeext
10143 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10144 CC="$CROSSCC"
10145 ac_exeext=".exe"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10148 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"; then :
10151 ac_cv_crosscflags__Wtype_limits=yes
10152 else
10153 ac_cv_crosscflags__Wtype_limits=no
10155 rm -f core conftest.err conftest.$ac_objext \
10156 conftest$ac_exeext conftest.$ac_ext
10157 CFLAGS=$ac_wine_try_cflags_saved
10158 CC=$ac_wine_try_cflags_saved_cc
10159 ac_exeext=$ac_wine_try_cflags_saved_exeext
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10162 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10163 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10164 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10167 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10168 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10169 $as_echo_n "(cached) " >&6
10170 else
10171 ac_wine_try_cflags_saved=$CFLAGS
10172 ac_wine_try_cflags_saved_cc=$CC
10173 ac_wine_try_cflags_saved_exeext=$ac_exeext
10174 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10175 CC="$CROSSCC"
10176 ac_exeext=".exe"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"; then :
10182 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10183 else
10184 ac_cv_crosscflags__Wunused_but_set_parameter=no
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 CFLAGS=$ac_wine_try_cflags_saved
10189 CC=$ac_wine_try_cflags_saved_cc
10190 ac_exeext=$ac_wine_try_cflags_saved_exeext
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10193 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10194 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10195 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10198 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10199 if ${ac_cv_crosscflags__Wvla+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_wine_try_cflags_saved=$CFLAGS
10203 ac_wine_try_cflags_saved_cc=$CC
10204 ac_wine_try_cflags_saved_exeext=$ac_exeext
10205 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10206 CC="$CROSSCC"
10207 ac_exeext=".exe"
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10210 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10211 _ACEOF
10212 if ac_fn_c_try_link "$LINENO"; then :
10213 ac_cv_crosscflags__Wvla=yes
10214 else
10215 ac_cv_crosscflags__Wvla=no
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 CFLAGS=$ac_wine_try_cflags_saved
10220 CC=$ac_wine_try_cflags_saved_cc
10221 ac_exeext=$ac_wine_try_cflags_saved_exeext
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10224 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10225 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10226 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10229 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10230 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_wine_try_cflags_saved=$CFLAGS
10234 ac_wine_try_cflags_saved_cc=$CC
10235 ac_wine_try_cflags_saved_exeext=$ac_exeext
10236 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10237 CC="$CROSSCC"
10238 ac_exeext=".exe"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10244 ac_cv_crosscflags__Wwrite_strings=yes
10245 else
10246 ac_cv_crosscflags__Wwrite_strings=no
10248 rm -f core conftest.err conftest.$ac_objext \
10249 conftest$ac_exeext conftest.$ac_ext
10250 CFLAGS=$ac_wine_try_cflags_saved
10251 CC=$ac_wine_try_cflags_saved_cc
10252 ac_exeext=$ac_wine_try_cflags_saved_exeext
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10255 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10256 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10257 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10260 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10261 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_wine_try_cflags_saved=$CFLAGS
10265 ac_wine_try_cflags_saved_cc=$CC
10266 ac_wine_try_cflags_saved_exeext=$ac_exeext
10267 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10268 CC="$CROSSCC"
10269 ac_exeext=".exe"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"; then :
10275 ac_cv_crosscflags__Wpointer_arith=yes
10276 else
10277 ac_cv_crosscflags__Wpointer_arith=no
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 CFLAGS=$ac_wine_try_cflags_saved
10282 CC=$ac_wine_try_cflags_saved_cc
10283 ac_exeext=$ac_wine_try_cflags_saved_exeext
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10286 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10287 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10288 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10291 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10292 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10293 $as_echo_n "(cached) " >&6
10294 else
10295 ac_wine_try_cflags_saved=$CFLAGS
10296 ac_wine_try_cflags_saved_cc=$CC
10297 ac_wine_try_cflags_saved_exeext=$ac_exeext
10298 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10299 CC="$CROSSCC"
10300 ac_exeext=".exe"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"; then :
10306 ac_cv_crosscflags__Wlogical_op=yes
10307 else
10308 ac_cv_crosscflags__Wlogical_op=no
10310 rm -f core conftest.err conftest.$ac_objext \
10311 conftest$ac_exeext conftest.$ac_ext
10312 CFLAGS=$ac_wine_try_cflags_saved
10313 CC=$ac_wine_try_cflags_saved_cc
10314 ac_exeext=$ac_wine_try_cflags_saved_exeext
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10317 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10318 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10319 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10322 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10323 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_wine_try_cflags_saved=$CFLAGS
10327 ac_wine_try_cflags_saved_cc=$CC
10328 ac_wine_try_cflags_saved_exeext=$ac_exeext
10329 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10330 CC="$CROSSCC"
10331 ac_exeext=".exe"
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10334 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10335 _ACEOF
10336 if ac_fn_c_try_link "$LINENO"; then :
10337 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10338 else
10339 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 CFLAGS=$ac_wine_try_cflags_saved
10344 CC=$ac_wine_try_cflags_saved_cc
10345 ac_exeext=$ac_wine_try_cflags_saved_exeext
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10348 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10349 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10350 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10353 case $host_cpu in
10354 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10355 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10356 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10357 $as_echo_n "(cached) " >&6
10358 else
10359 ac_wine_try_cflags_saved=$CFLAGS
10360 ac_wine_try_cflags_saved_cc=$CC
10361 ac_wine_try_cflags_saved_exeext=$ac_exeext
10362 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10363 CC="$CROSSCC"
10364 ac_exeext=".exe"
10365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10367 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10371 else
10372 ac_cv_crosscflags__fno_omit_frame_pointer=no
10374 rm -f core conftest.err conftest.$ac_objext \
10375 conftest$ac_exeext conftest.$ac_ext
10376 CFLAGS=$ac_wine_try_cflags_saved
10377 CC=$ac_wine_try_cflags_saved_cc
10378 ac_exeext=$ac_wine_try_cflags_saved_exeext
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10381 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10382 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10383 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10384 fi ;;
10385 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10386 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10387 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10388 $as_echo_n "(cached) " >&6
10389 else
10390 ac_wine_try_cflags_saved=$CFLAGS
10391 ac_wine_try_cflags_saved_cc=$CC
10392 ac_wine_try_cflags_saved_exeext=$ac_exeext
10393 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10394 CC="$CROSSCC"
10395 ac_exeext=".exe"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10399 _ACEOF
10400 if ac_fn_c_try_link "$LINENO"; then :
10401 ac_cv_crosscflags__Wno_format=yes
10402 else
10403 ac_cv_crosscflags__Wno_format=no
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 CFLAGS=$ac_wine_try_cflags_saved
10408 CC=$ac_wine_try_cflags_saved_cc
10409 ac_exeext=$ac_wine_try_cflags_saved_exeext
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10412 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10413 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10414 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10417 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10418 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10419 $as_echo_n "(cached) " >&6
10420 else
10421 ac_wine_try_cflags_saved=$CFLAGS
10422 ac_wine_try_cflags_saved_cc=$CC
10423 ac_wine_try_cflags_saved_exeext=$ac_exeext
10424 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10425 CC="$CROSSCC"
10426 ac_exeext=".exe"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"; then :
10432 ac_cv_crosscflags__Wformat_overflow=yes
10433 else
10434 ac_cv_crosscflags__Wformat_overflow=no
10436 rm -f core conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 CFLAGS=$ac_wine_try_cflags_saved
10439 CC=$ac_wine_try_cflags_saved_cc
10440 ac_exeext=$ac_wine_try_cflags_saved_exeext
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10443 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10444 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10445 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10448 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10449 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10450 $as_echo_n "(cached) " >&6
10451 else
10452 ac_wine_try_cflags_saved=$CFLAGS
10453 ac_wine_try_cflags_saved_cc=$CC
10454 ac_wine_try_cflags_saved_exeext=$ac_exeext
10455 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10456 CC="$CROSSCC"
10457 ac_exeext=".exe"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 ac_cv_crosscflags__Wnonnull=yes
10464 else
10465 ac_cv_crosscflags__Wnonnull=no
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 CFLAGS=$ac_wine_try_cflags_saved
10470 CC=$ac_wine_try_cflags_saved_cc
10471 ac_exeext=$ac_wine_try_cflags_saved_exeext
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10474 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10475 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10476 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10477 fi ;;
10478 esac
10480 for ac_flag in $CROSSCFLAGS; do
10481 case $ac_flag in
10482 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10483 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10484 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10485 $as_echo_n "(cached) " >&6
10486 else
10487 ac_wine_try_cflags_saved=$CFLAGS
10488 ac_wine_try_cflags_saved_cc=$CC
10489 ac_wine_try_cflags_saved_exeext=$ac_exeext
10490 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10491 CC="$CROSSCC"
10492 ac_exeext=".exe"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10495 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_crosscflags__gdwarf_2=yes
10499 else
10500 ac_cv_crosscflags__gdwarf_2=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 CFLAGS=$ac_wine_try_cflags_saved
10505 CC=$ac_wine_try_cflags_saved_cc
10506 ac_exeext=$ac_wine_try_cflags_saved_exeext
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10509 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10510 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10511 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10514 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10515 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_wine_try_cflags_saved=$CFLAGS
10519 ac_wine_try_cflags_saved_cc=$CC
10520 ac_wine_try_cflags_saved_exeext=$ac_exeext
10521 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10522 CC="$CROSSCC"
10523 ac_exeext=".exe"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10526 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_crosscflags__gstrict_dwarf=yes
10530 else
10531 ac_cv_crosscflags__gstrict_dwarf=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 CFLAGS=$ac_wine_try_cflags_saved
10536 CC=$ac_wine_try_cflags_saved_cc
10537 ac_exeext=$ac_wine_try_cflags_saved_exeext
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10540 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10541 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10542 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10543 fi ;;
10544 esac
10545 done
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10548 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10549 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10550 $as_echo_n "(cached) " >&6
10551 else
10552 ac_wine_try_cflags_saved=$CFLAGS
10553 ac_wine_try_cflags_saved_cc=$CC
10554 ac_wine_try_cflags_saved_exeext=$ac_exeext
10555 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10556 CC="$CROSSCC"
10557 ac_exeext=".exe"
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10560 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10561 _ACEOF
10562 if ac_fn_c_try_link "$LINENO"; then :
10563 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10564 else
10565 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10567 rm -f core conftest.err conftest.$ac_objext \
10568 conftest$ac_exeext conftest.$ac_ext
10569 CFLAGS=$ac_wine_try_cflags_saved
10570 CC=$ac_wine_try_cflags_saved_cc
10571 ac_exeext=$ac_wine_try_cflags_saved_exeext
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10574 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10575 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10576 DELAYLOADFLAG="-Wl,-delayload,"
10580 if test "x$enable_werror" = "xyes"
10581 then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10583 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10584 if ${ac_cv_crosscflags__Werror+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_wine_try_cflags_saved=$CFLAGS
10588 ac_wine_try_cflags_saved_cc=$CC
10589 ac_wine_try_cflags_saved_exeext=$ac_exeext
10590 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10591 CC="$CROSSCC"
10592 ac_exeext=".exe"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10595 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 ac_cv_crosscflags__Werror=yes
10599 else
10600 ac_cv_crosscflags__Werror=no
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 CFLAGS=$ac_wine_try_cflags_saved
10605 CC=$ac_wine_try_cflags_saved_cc
10606 ac_exeext=$ac_wine_try_cflags_saved_exeext
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10609 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10610 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10611 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10615 CFLAGS=$saved_CFLAGS
10616 CC="$ac_save_CC"
10619 if test "x$CROSSTARGET" = "x"; then :
10620 case "x$with_mingw" in
10621 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10624 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10625 esac
10630 if test "$ac_cv_header_pthread_h" = "yes"
10631 then
10632 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10633 if test "x$ac_cv_func_pthread_create" = xyes; then :
10635 else
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10637 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10638 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10639 $as_echo_n "(cached) " >&6
10640 else
10641 ac_check_lib_save_LIBS=$LIBS
10642 LIBS="-lpthread $LIBS"
10643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10646 /* Override any GCC internal prototype to avoid an error.
10647 Use char because int might match the return type of a GCC
10648 builtin and then its argument prototype would still apply. */
10649 #ifdef __cplusplus
10650 extern "C"
10651 #endif
10652 char pthread_create ();
10654 main ()
10656 return pthread_create ();
10658 return 0;
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 ac_cv_lib_pthread_pthread_create=yes
10663 else
10664 ac_cv_lib_pthread_pthread_create=no
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 LIBS=$ac_check_lib_save_LIBS
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10671 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10672 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10673 PTHREAD_LIBS="-lpthread"
10680 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10681 case "x$with_pthread" in
10682 xno) ;;
10683 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10684 Wine cannot support threads without libpthread.
10685 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10686 esac
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10692 $as_echo_n "checking for X... " >&6; }
10695 # Check whether --with-x was given.
10696 if test "${with_x+set}" = set; then :
10697 withval=$with_x;
10700 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10701 if test "x$with_x" = xno; then
10702 # The user explicitly disabled X.
10703 have_x=disabled
10704 else
10705 case $x_includes,$x_libraries in #(
10706 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10707 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10708 $as_echo_n "(cached) " >&6
10709 else
10710 # One or both of the vars are not set, and there is no cached value.
10711 ac_x_includes=no ac_x_libraries=no
10712 rm -f -r conftest.dir
10713 if mkdir conftest.dir; then
10714 cd conftest.dir
10715 cat >Imakefile <<'_ACEOF'
10716 incroot:
10717 @echo incroot='${INCROOT}'
10718 usrlibdir:
10719 @echo usrlibdir='${USRLIBDIR}'
10720 libdir:
10721 @echo libdir='${LIBDIR}'
10722 _ACEOF
10723 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10724 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10725 for ac_var in incroot usrlibdir libdir; do
10726 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10727 done
10728 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10729 for ac_extension in a so sl dylib la dll; do
10730 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10731 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10732 ac_im_usrlibdir=$ac_im_libdir; break
10734 done
10735 # Screen out bogus values from the imake configuration. They are
10736 # bogus both because they are the default anyway, and because
10737 # using them would break gcc on systems where it needs fixed includes.
10738 case $ac_im_incroot in
10739 /usr/include) ac_x_includes= ;;
10740 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10741 esac
10742 case $ac_im_usrlibdir in
10743 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10744 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10745 esac
10747 cd ..
10748 rm -f -r conftest.dir
10751 # Standard set of common directories for X headers.
10752 # Check X11 before X11Rn because it is often a symlink to the current release.
10753 ac_x_header_dirs='
10754 /usr/X11/include
10755 /usr/X11R7/include
10756 /usr/X11R6/include
10757 /usr/X11R5/include
10758 /usr/X11R4/include
10760 /usr/include/X11
10761 /usr/include/X11R7
10762 /usr/include/X11R6
10763 /usr/include/X11R5
10764 /usr/include/X11R4
10766 /usr/local/X11/include
10767 /usr/local/X11R7/include
10768 /usr/local/X11R6/include
10769 /usr/local/X11R5/include
10770 /usr/local/X11R4/include
10772 /usr/local/include/X11
10773 /usr/local/include/X11R7
10774 /usr/local/include/X11R6
10775 /usr/local/include/X11R5
10776 /usr/local/include/X11R4
10778 /usr/X386/include
10779 /usr/x386/include
10780 /usr/XFree86/include/X11
10782 /usr/include
10783 /usr/local/include
10784 /usr/unsupported/include
10785 /usr/athena/include
10786 /usr/local/x11r5/include
10787 /usr/lpp/Xamples/include
10789 /usr/openwin/include
10790 /usr/openwin/share/include'
10792 if test "$ac_x_includes" = no; then
10793 # Guess where to find include files, by looking for Xlib.h.
10794 # First, try using that file with no special directory specified.
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10797 #include <X11/Xlib.h>
10798 _ACEOF
10799 if ac_fn_c_try_cpp "$LINENO"; then :
10800 # We can compile using X headers with no special include directory.
10801 ac_x_includes=
10802 else
10803 for ac_dir in $ac_x_header_dirs; do
10804 if test -r "$ac_dir/X11/Xlib.h"; then
10805 ac_x_includes=$ac_dir
10806 break
10808 done
10810 rm -f conftest.err conftest.i conftest.$ac_ext
10811 fi # $ac_x_includes = no
10813 if test "$ac_x_libraries" = no; then
10814 # Check for the libraries.
10815 # See if we find them without any special options.
10816 # Don't add to $LIBS permanently.
10817 ac_save_LIBS=$LIBS
10818 LIBS="-lX11 $LIBS"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 #include <X11/Xlib.h>
10823 main ()
10825 XrmInitialize ()
10827 return 0;
10829 _ACEOF
10830 if ac_fn_c_try_link "$LINENO"; then :
10831 LIBS=$ac_save_LIBS
10832 # We can link X programs with no special library path.
10833 ac_x_libraries=
10834 else
10835 LIBS=$ac_save_LIBS
10836 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10838 # Don't even attempt the hair of trying to link an X program!
10839 for ac_extension in a so sl dylib la dll; do
10840 if test -r "$ac_dir/libX11.$ac_extension"; then
10841 ac_x_libraries=$ac_dir
10842 break 2
10844 done
10845 done
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 fi # $ac_x_libraries = no
10851 case $ac_x_includes,$ac_x_libraries in #(
10852 no,* | *,no | *\'*)
10853 # Didn't find X, or a directory has "'" in its name.
10854 ac_cv_have_x="have_x=no";; #(
10856 # Record where we found X for the cache.
10857 ac_cv_have_x="have_x=yes\
10858 ac_x_includes='$ac_x_includes'\
10859 ac_x_libraries='$ac_x_libraries'"
10860 esac
10862 ;; #(
10863 *) have_x=yes;;
10864 esac
10865 eval "$ac_cv_have_x"
10866 fi # $with_x != no
10868 if test "$have_x" != yes; then
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10870 $as_echo "$have_x" >&6; }
10871 no_x=yes
10872 else
10873 # If each of the values was on the command line, it overrides each guess.
10874 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10875 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10876 # Update the cache value to reflect the command line values.
10877 ac_cv_have_x="have_x=yes\
10878 ac_x_includes='$x_includes'\
10879 ac_x_libraries='$x_libraries'"
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10881 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10884 if test "$no_x" = yes; then
10885 # Not all programs may use this symbol, but it does not hurt to define it.
10887 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10889 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10890 else
10891 if test -n "$x_includes"; then
10892 X_CFLAGS="$X_CFLAGS -I$x_includes"
10895 # It would also be nice to do this for all -L options, not just this one.
10896 if test -n "$x_libraries"; then
10897 X_LIBS="$X_LIBS -L$x_libraries"
10898 # For Solaris; some versions of Sun CC require a space after -R and
10899 # others require no space. Words are not sufficient . . . .
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10901 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10902 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10903 ac_xsave_c_werror_flag=$ac_c_werror_flag
10904 ac_c_werror_flag=yes
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10909 main ()
10913 return 0;
10915 _ACEOF
10916 if ac_fn_c_try_link "$LINENO"; then :
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10918 $as_echo "no" >&6; }
10919 X_LIBS="$X_LIBS -R$x_libraries"
10920 else
10921 LIBS="$ac_xsave_LIBS -R $x_libraries"
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10926 main ()
10930 return 0;
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10935 $as_echo "yes" >&6; }
10936 X_LIBS="$X_LIBS -R $x_libraries"
10937 else
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10939 $as_echo "neither works" >&6; }
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 ac_c_werror_flag=$ac_xsave_c_werror_flag
10947 LIBS=$ac_xsave_LIBS
10950 # Check for system-dependent libraries X programs must link with.
10951 # Do this before checking for the system-independent R6 libraries
10952 # (-lICE), since we may need -lsocket or whatever for X linking.
10954 if test "$ISC" = yes; then
10955 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10956 else
10957 # Martyn Johnson says this is needed for Ultrix, if the X
10958 # libraries were built with DECnet support. And Karl Berry says
10959 # the Alpha needs dnet_stub (dnet does not exist).
10960 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
10972 main ()
10974 return XOpenDisplay ();
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10981 else
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10983 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10984 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10985 $as_echo_n "(cached) " >&6
10986 else
10987 ac_check_lib_save_LIBS=$LIBS
10988 LIBS="-ldnet $LIBS"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10992 /* Override any GCC internal prototype to avoid an error.
10993 Use char because int might match the return type of a GCC
10994 builtin and then its argument prototype would still apply. */
10995 #ifdef __cplusplus
10996 extern "C"
10997 #endif
10998 char dnet_ntoa ();
11000 main ()
11002 return dnet_ntoa ();
11004 return 0;
11006 _ACEOF
11007 if ac_fn_c_try_link "$LINENO"; then :
11008 ac_cv_lib_dnet_dnet_ntoa=yes
11009 else
11010 ac_cv_lib_dnet_dnet_ntoa=no
11012 rm -f core conftest.err conftest.$ac_objext \
11013 conftest$ac_exeext conftest.$ac_ext
11014 LIBS=$ac_check_lib_save_LIBS
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11017 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11018 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11019 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11022 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11024 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11025 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11026 $as_echo_n "(cached) " >&6
11027 else
11028 ac_check_lib_save_LIBS=$LIBS
11029 LIBS="-ldnet_stub $LIBS"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11036 #ifdef __cplusplus
11037 extern "C"
11038 #endif
11039 char dnet_ntoa ();
11041 main ()
11043 return dnet_ntoa ();
11045 return 0;
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"; then :
11049 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11050 else
11051 ac_cv_lib_dnet_stub_dnet_ntoa=no
11053 rm -f core conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_lib_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11058 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11059 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11060 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11065 rm -f core conftest.err conftest.$ac_objext \
11066 conftest$ac_exeext conftest.$ac_ext
11067 LIBS="$ac_xsave_LIBS"
11069 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11070 # to get the SysV transport functions.
11071 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11072 # needs -lnsl.
11073 # The nsl library prevents programs from opening the X display
11074 # on Irix 5.2, according to T.E. Dickey.
11075 # The functions gethostbyname, getservbyname, and inet_addr are
11076 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11077 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11078 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11082 if test $ac_cv_func_gethostbyname = no; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11084 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11085 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lnsl $LIBS"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11096 #ifdef __cplusplus
11097 extern "C"
11098 #endif
11099 char gethostbyname ();
11101 main ()
11103 return gethostbyname ();
11105 return 0;
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 ac_cv_lib_nsl_gethostbyname=yes
11110 else
11111 ac_cv_lib_nsl_gethostbyname=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11118 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11119 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11123 if test $ac_cv_lib_nsl_gethostbyname = no; then
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11125 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11126 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11127 $as_echo_n "(cached) " >&6
11128 else
11129 ac_check_lib_save_LIBS=$LIBS
11130 LIBS="-lbsd $LIBS"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11137 #ifdef __cplusplus
11138 extern "C"
11139 #endif
11140 char gethostbyname ();
11142 main ()
11144 return gethostbyname ();
11146 return 0;
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"; then :
11150 ac_cv_lib_bsd_gethostbyname=yes
11151 else
11152 ac_cv_lib_bsd_gethostbyname=no
11154 rm -f core conftest.err conftest.$ac_objext \
11155 conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11159 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11160 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11161 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11167 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11168 # socket/setsockopt and other routines are undefined under SCO ODT
11169 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11170 # on later versions), says Simon Leinen: it contains gethostby*
11171 # variants that don't use the name server (or something). -lsocket
11172 # must be given before -lnsl if both are needed. We assume that
11173 # if connect needs -lnsl, so does gethostbyname.
11174 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11175 if test "x$ac_cv_func_connect" = xyes; then :
11179 if test $ac_cv_func_connect = no; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11181 $as_echo_n "checking for connect in -lsocket... " >&6; }
11182 if ${ac_cv_lib_socket_connect+:} false; then :
11183 $as_echo_n "(cached) " >&6
11184 else
11185 ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11190 /* Override any GCC internal prototype to avoid an error.
11191 Use char because int might match the return type of a GCC
11192 builtin and then its argument prototype would still apply. */
11193 #ifdef __cplusplus
11194 extern "C"
11195 #endif
11196 char connect ();
11198 main ()
11200 return connect ();
11202 return 0;
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"; then :
11206 ac_cv_lib_socket_connect=yes
11207 else
11208 ac_cv_lib_socket_connect=no
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS=$ac_check_lib_save_LIBS
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11215 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11216 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11217 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11222 # Guillermo Gomez says -lposix is necessary on A/UX.
11223 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11224 if test "x$ac_cv_func_remove" = xyes; then :
11228 if test $ac_cv_func_remove = no; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11230 $as_echo_n "checking for remove in -lposix... " >&6; }
11231 if ${ac_cv_lib_posix_remove+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lposix $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char remove ();
11247 main ()
11249 return remove ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_posix_remove=yes
11256 else
11257 ac_cv_lib_posix_remove=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11264 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11265 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11271 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11272 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11273 if test "x$ac_cv_func_shmat" = xyes; then :
11277 if test $ac_cv_func_shmat = no; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11279 $as_echo_n "checking for shmat in -lipc... " >&6; }
11280 if ${ac_cv_lib_ipc_shmat+:} false; then :
11281 $as_echo_n "(cached) " >&6
11282 else
11283 ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lipc $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char shmat ();
11296 main ()
11298 return shmat ();
11300 return 0;
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 ac_cv_lib_ipc_shmat=yes
11305 else
11306 ac_cv_lib_ipc_shmat=no
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11313 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11314 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11321 # Check for libraries that X11R6 Xt/Xaw programs need.
11322 ac_save_LDFLAGS=$LDFLAGS
11323 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11324 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11325 # check for ICE first), but we must link in the order -lSM -lICE or
11326 # we get undefined symbols. So assume we have SM if we have ICE.
11327 # These have to be linked with before -lX11, unlike the other
11328 # libraries we check for below, so use a different variable.
11329 # John Interrante, Karl Berry
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11331 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11332 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11333 $as_echo_n "(cached) " >&6
11334 else
11335 ac_check_lib_save_LIBS=$LIBS
11336 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char IceConnectionNumber ();
11348 main ()
11350 return IceConnectionNumber ();
11352 return 0;
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_ICE_IceConnectionNumber=yes
11357 else
11358 ac_cv_lib_ICE_IceConnectionNumber=no
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11365 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11366 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11367 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11370 LDFLAGS=$ac_save_LDFLAGS
11375 if test "$have_x" = "yes"
11376 then
11377 ac_save_CPPFLAGS="$CPPFLAGS"
11378 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11381 $as_echo_n "checking for -lX11... " >&6; }
11382 if ${ac_cv_lib_soname_X11+:} false; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_soname_save_LIBS=$LIBS
11386 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char XCreateWindow ();
11398 main ()
11400 return XCreateWindow ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 case "$LIBEXT" in
11407 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11410 if ${ac_cv_lib_soname_X11:+false} :; then :
11411 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11412 fi ;;
11413 esac
11414 else
11415 ac_cv_lib_soname_X11=
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_X11:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11427 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11431 _ACEOF
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11436 $as_echo_n "checking for -lXext... " >&6; }
11437 if ${ac_cv_lib_soname_Xext+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_soname_save_LIBS=$LIBS
11441 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11448 #ifdef __cplusplus
11449 extern "C"
11450 #endif
11451 char XextCreateExtension ();
11453 main ()
11455 return XextCreateExtension ();
11457 return 0;
11459 _ACEOF
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 case "$LIBEXT" in
11462 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11463 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'` ;;
11464 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11465 if ${ac_cv_lib_soname_Xext:+false} :; then :
11466 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11467 fi ;;
11468 esac
11469 else
11470 ac_cv_lib_soname_Xext=
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_soname_save_LIBS
11476 if ${ac_cv_lib_soname_Xext:+false} :; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11478 $as_echo "not found" >&6; }
11480 else
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11482 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11484 cat >>confdefs.h <<_ACEOF
11485 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11486 _ACEOF
11488 X_LIBS="$X_LIBS -lXext"
11490 X_LIBS="$X_LIBS -lX11"
11492 for ac_header in X11/Xlib.h \
11493 X11/XKBlib.h \
11494 X11/Xutil.h \
11495 X11/Xcursor/Xcursor.h \
11496 X11/extensions/shape.h \
11497 X11/extensions/XInput.h \
11498 X11/extensions/XInput2.h \
11499 X11/extensions/XShm.h \
11500 X11/extensions/Xcomposite.h \
11501 X11/extensions/Xfixes.h \
11502 X11/extensions/Xinerama.h \
11503 X11/extensions/Xrandr.h \
11504 X11/extensions/Xrender.h \
11505 X11/extensions/xf86vmode.h \
11506 X11/extensions/xf86vmproto.h
11507 do :
11508 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11509 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11510 # include <X11/Xlib.h>
11511 #endif
11512 #ifdef HAVE_X11_XUTIL_H
11513 # include <X11/Xutil.h>
11514 #endif
11516 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11517 cat >>confdefs.h <<_ACEOF
11518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11519 _ACEOF
11523 done
11526 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11527 then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11529 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11530 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_lib_save_LIBS=$LIBS
11534 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char XkbQueryExtension ();
11546 main ()
11548 return XkbQueryExtension ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 ac_cv_lib_X11_XkbQueryExtension=yes
11555 else
11556 ac_cv_lib_X11_XkbQueryExtension=no
11558 rm -f core conftest.err conftest.$ac_objext \
11559 conftest$ac_exeext conftest.$ac_ext
11560 LIBS=$ac_check_lib_save_LIBS
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11563 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11564 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11566 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11572 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11573 then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11575 $as_echo_n "checking for -lXcursor... " >&6; }
11576 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11577 $as_echo_n "(cached) " >&6
11578 else
11579 ac_check_soname_save_LIBS=$LIBS
11580 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char XcursorImageLoadCursor ();
11592 main ()
11594 return XcursorImageLoadCursor ();
11596 return 0;
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 case "$LIBEXT" in
11601 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11604 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11605 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11606 fi ;;
11607 esac
11608 else
11609 ac_cv_lib_soname_Xcursor=
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11621 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11623 cat >>confdefs.h <<_ACEOF
11624 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11625 _ACEOF
11630 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11631 case "x$with_xcursor" in
11632 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11633 xno) ;;
11634 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11635 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11636 esac
11640 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11641 then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11643 $as_echo_n "checking for -lXi... " >&6; }
11644 if ${ac_cv_lib_soname_Xi+:} false; then :
11645 $as_echo_n "(cached) " >&6
11646 else
11647 ac_check_soname_save_LIBS=$LIBS
11648 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11652 /* Override any GCC internal prototype to avoid an error.
11653 Use char because int might match the return type of a GCC
11654 builtin and then its argument prototype would still apply. */
11655 #ifdef __cplusplus
11656 extern "C"
11657 #endif
11658 char XOpenDevice ();
11660 main ()
11662 return XOpenDevice ();
11664 return 0;
11666 _ACEOF
11667 if ac_fn_c_try_link "$LINENO"; then :
11668 case "$LIBEXT" in
11669 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11670 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'` ;;
11671 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11672 if ${ac_cv_lib_soname_Xi:+false} :; then :
11673 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11674 fi ;;
11675 esac
11676 else
11677 ac_cv_lib_soname_Xi=
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_Xi:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11687 else
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11689 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11691 cat >>confdefs.h <<_ACEOF
11692 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11693 _ACEOF
11698 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11699 case "x$with_xinput" in
11700 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11701 xno) ;;
11702 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11703 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11704 esac
11708 if test "x$ac_cv_lib_soname_Xi" != x
11709 then
11710 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11711 case "x$with_xinput2" in
11712 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11713 xno) ;;
11714 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11715 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11716 esac
11721 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11724 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11725 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_lib_save_LIBS=$LIBS
11729 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char XShmQueryExtension ();
11741 main ()
11743 return XShmQueryExtension ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 ac_cv_lib_Xext_XShmQueryExtension=yes
11750 else
11751 ac_cv_lib_Xext_XShmQueryExtension=no
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_lib_save_LIBS
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11758 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11759 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11761 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11766 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11767 case "x$with_xshm" in
11768 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11769 xno) ;;
11770 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11771 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11772 esac
11776 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11777 then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11779 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11780 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11781 $as_echo_n "(cached) " >&6
11782 else
11783 ac_check_lib_save_LIBS=$LIBS
11784 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11791 #ifdef __cplusplus
11792 extern "C"
11793 #endif
11794 char XShapeQueryExtension ();
11796 main ()
11798 return XShapeQueryExtension ();
11800 return 0;
11802 _ACEOF
11803 if ac_fn_c_try_link "$LINENO"; then :
11804 ac_cv_lib_Xext_XShapeQueryExtension=yes
11805 else
11806 ac_cv_lib_Xext_XShapeQueryExtension=no
11808 rm -f core conftest.err conftest.$ac_objext \
11809 conftest$ac_exeext conftest.$ac_ext
11810 LIBS=$ac_check_lib_save_LIBS
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11813 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11814 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11816 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11821 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11822 case "x$with_xshape" in
11823 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11824 xno) ;;
11825 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11826 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11827 esac
11831 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11832 then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11834 $as_echo_n "checking for -lXxf86vm... " >&6; }
11835 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11836 $as_echo_n "(cached) " >&6
11837 else
11838 ac_check_soname_save_LIBS=$LIBS
11839 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11846 #ifdef __cplusplus
11847 extern "C"
11848 #endif
11849 char XF86VidModeQueryExtension ();
11851 main ()
11853 return XF86VidModeQueryExtension ();
11855 return 0;
11857 _ACEOF
11858 if ac_fn_c_try_link "$LINENO"; then :
11859 case "$LIBEXT" in
11860 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11861 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'` ;;
11862 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11863 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11864 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11865 fi ;;
11866 esac
11867 else
11868 ac_cv_lib_soname_Xxf86vm=
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_soname_save_LIBS
11874 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11876 $as_echo "not found" >&6; }
11878 else
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11880 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11882 cat >>confdefs.h <<_ACEOF
11883 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11884 _ACEOF
11889 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11890 case "x$with_xxf86vm" in
11891 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11892 xno) ;;
11893 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11894 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11895 esac
11899 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11900 then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11902 $as_echo_n "checking for -lXrender... " >&6; }
11903 if ${ac_cv_lib_soname_Xrender+:} false; then :
11904 $as_echo_n "(cached) " >&6
11905 else
11906 ac_check_soname_save_LIBS=$LIBS
11907 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11914 #ifdef __cplusplus
11915 extern "C"
11916 #endif
11917 char XRenderQueryExtension ();
11919 main ()
11921 return XRenderQueryExtension ();
11923 return 0;
11925 _ACEOF
11926 if ac_fn_c_try_link "$LINENO"; then :
11927 case "$LIBEXT" in
11928 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11929 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'` ;;
11930 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11931 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11932 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11933 fi ;;
11934 esac
11935 else
11936 ac_cv_lib_soname_Xrender=
11938 rm -f core conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 LIBS=$ac_check_soname_save_LIBS
11942 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11944 $as_echo "not found" >&6; }
11946 else
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11948 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11950 cat >>confdefs.h <<_ACEOF
11951 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11952 _ACEOF
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11955 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11956 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11957 $as_echo_n "(cached) " >&6
11958 else
11959 ac_check_lib_save_LIBS=$LIBS
11960 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11964 /* Override any GCC internal prototype to avoid an error.
11965 Use char because int might match the return type of a GCC
11966 builtin and then its argument prototype would still apply. */
11967 #ifdef __cplusplus
11968 extern "C"
11969 #endif
11970 char XRenderSetPictureTransform ();
11972 main ()
11974 return XRenderSetPictureTransform ();
11976 return 0;
11978 _ACEOF
11979 if ac_fn_c_try_link "$LINENO"; then :
11980 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11981 else
11982 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11984 rm -f core conftest.err conftest.$ac_objext \
11985 conftest$ac_exeext conftest.$ac_ext
11986 LIBS=$ac_check_lib_save_LIBS
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11989 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11990 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11992 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11997 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11998 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11999 $as_echo_n "(cached) " >&6
12000 else
12001 ac_check_lib_save_LIBS=$LIBS
12002 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 #ifdef __cplusplus
12010 extern "C"
12011 #endif
12012 char XRenderCreateLinearGradient ();
12014 main ()
12016 return XRenderCreateLinearGradient ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"; then :
12022 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12023 else
12024 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12026 rm -f core conftest.err conftest.$ac_objext \
12027 conftest$ac_exeext conftest.$ac_ext
12028 LIBS=$ac_check_lib_save_LIBS
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12031 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12032 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12034 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12041 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12042 case "x$with_xrender" in
12043 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12044 xno) ;;
12045 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12046 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12047 esac
12051 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12052 then
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 #include <X11/Xlib.h>
12056 #include <X11/extensions/Xrandr.h>
12058 main ()
12060 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_compile "$LINENO"; then :
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12067 $as_echo_n "checking for -lXrandr... " >&6; }
12068 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 ac_check_soname_save_LIBS=$LIBS
12072 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char XRRQueryExtension ();
12084 main ()
12086 return XRRQueryExtension ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 case "$LIBEXT" in
12093 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12094 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'` ;;
12095 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12096 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12097 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12098 fi ;;
12099 esac
12100 else
12101 ac_cv_lib_soname_Xrandr=
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_soname_save_LIBS
12107 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12109 $as_echo "not found" >&6; }
12111 else
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12113 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12115 cat >>confdefs.h <<_ACEOF
12116 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12117 _ACEOF
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12121 #include <X11/Xlib.h>
12122 #include <X11/extensions/Xrandr.h>
12124 main ()
12126 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_compile "$LINENO"; then :
12133 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h. */
12139 #include <X11/Xlib.h>
12140 #include <X11/extensions/Xrandr.h>
12142 main ()
12144 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_compile "$LINENO"; then :
12151 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12153 else
12154 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12161 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12162 case "x$with_xrandr" in
12163 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12164 xno) ;;
12165 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12166 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12167 esac
12171 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12172 then
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12175 #include <X11/Xlib.h>
12176 #include <X11/extensions/Xfixes.h>
12178 main ()
12180 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_compile "$LINENO"; then :
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12187 $as_echo_n "checking for -lXfixes... " >&6; }
12188 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12189 $as_echo_n "(cached) " >&6
12190 else
12191 ac_check_soname_save_LIBS=$LIBS
12192 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 #ifdef __cplusplus
12200 extern "C"
12201 #endif
12202 char XFixesQueryVersion ();
12204 main ()
12206 return XFixesQueryVersion ();
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 case "$LIBEXT" in
12213 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12214 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'` ;;
12215 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12216 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12217 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12218 fi ;;
12219 esac
12220 else
12221 ac_cv_lib_soname_Xfixes=
12223 rm -f core conftest.err conftest.$ac_objext \
12224 conftest$ac_exeext conftest.$ac_ext
12225 LIBS=$ac_check_soname_save_LIBS
12227 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12229 $as_echo "not found" >&6; }
12231 else
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12233 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12235 cat >>confdefs.h <<_ACEOF
12236 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12237 _ACEOF
12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12244 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12245 case "x$with_xfixes" in
12246 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12247 xno) ;;
12248 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12249 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12250 esac
12254 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12255 then
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #include <X11/Xlib.h>
12259 #include <X11/extensions/Xinerama.h>
12261 main ()
12263 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_compile "$LINENO"; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12270 $as_echo_n "checking for -lXinerama... " >&6; }
12271 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12272 $as_echo_n "(cached) " >&6
12273 else
12274 ac_check_soname_save_LIBS=$LIBS
12275 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12282 #ifdef __cplusplus
12283 extern "C"
12284 #endif
12285 char XineramaQueryScreens ();
12287 main ()
12289 return XineramaQueryScreens ();
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 case "$LIBEXT" in
12296 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12297 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'` ;;
12298 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12299 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12300 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12301 fi ;;
12302 esac
12303 else
12304 ac_cv_lib_soname_Xinerama=
12306 rm -f core conftest.err conftest.$ac_objext \
12307 conftest$ac_exeext conftest.$ac_ext
12308 LIBS=$ac_check_soname_save_LIBS
12310 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12312 $as_echo "not found" >&6; }
12314 else
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12316 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12318 cat >>confdefs.h <<_ACEOF
12319 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12320 _ACEOF
12325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12327 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12328 case "x$with_xinerama" in
12329 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12330 xno) ;;
12331 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12332 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12333 esac
12337 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12338 then
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12340 $as_echo_n "checking for -lXcomposite... " >&6; }
12341 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12342 $as_echo_n "(cached) " >&6
12343 else
12344 ac_check_soname_save_LIBS=$LIBS
12345 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12352 #ifdef __cplusplus
12353 extern "C"
12354 #endif
12355 char XCompositeRedirectWindow ();
12357 main ()
12359 return XCompositeRedirectWindow ();
12361 return 0;
12363 _ACEOF
12364 if ac_fn_c_try_link "$LINENO"; then :
12365 case "$LIBEXT" in
12366 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12367 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'` ;;
12368 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12369 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12370 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12371 fi ;;
12372 esac
12373 else
12374 ac_cv_lib_soname_Xcomposite=
12376 rm -f core conftest.err conftest.$ac_objext \
12377 conftest$ac_exeext conftest.$ac_ext
12378 LIBS=$ac_check_soname_save_LIBS
12380 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12382 $as_echo "not found" >&6; }
12384 else
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12386 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12388 cat >>confdefs.h <<_ACEOF
12389 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12390 _ACEOF
12395 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12396 case "x$with_xcomposite" in
12397 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12398 xno) ;;
12399 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12400 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12401 esac
12405 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12406 #include <X11/Xlib.h>
12407 #endif
12409 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12411 cat >>confdefs.h <<_ACEOF
12412 #define HAVE_XICCALLBACK_CALLBACK 1
12413 _ACEOF
12417 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12418 #include <X11/Xlib.h>
12419 #endif
12421 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12423 cat >>confdefs.h <<_ACEOF
12424 #define HAVE_XEVENT_XCOOKIE 1
12425 _ACEOF
12432 opengl_msg=""
12433 if test "x$with_opengl" != "xno"
12434 then
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12436 $as_echo_n "checking for -lGL... " >&6; }
12437 if ${ac_cv_lib_soname_GL+:} false; then :
12438 $as_echo_n "(cached) " >&6
12439 else
12440 ac_check_soname_save_LIBS=$LIBS
12441 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 /* Override any GCC internal prototype to avoid an error.
12446 Use char because int might match the return type of a GCC
12447 builtin and then its argument prototype would still apply. */
12448 #ifdef __cplusplus
12449 extern "C"
12450 #endif
12451 char glXCreateContext ();
12453 main ()
12455 return glXCreateContext ();
12457 return 0;
12459 _ACEOF
12460 if ac_fn_c_try_link "$LINENO"; then :
12461 case "$LIBEXT" in
12462 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12463 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'` ;;
12464 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12465 if ${ac_cv_lib_soname_GL:+false} :; then :
12466 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12467 fi ;;
12468 esac
12469 else
12470 ac_cv_lib_soname_GL=
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_soname_save_LIBS
12476 if ${ac_cv_lib_soname_GL:+false} :; then :
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12478 $as_echo "not found" >&6; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12480 $as_echo_n "checking for -lGL... " >&6; }
12481 if ${ac_cv_lib_soname_GL+:} false; then :
12482 $as_echo_n "(cached) " >&6
12483 else
12484 ac_check_soname_save_LIBS=$LIBS
12485 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"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12492 #ifdef __cplusplus
12493 extern "C"
12494 #endif
12495 char glXCreateContext ();
12497 main ()
12499 return glXCreateContext ();
12501 return 0;
12503 _ACEOF
12504 if ac_fn_c_try_link "$LINENO"; then :
12505 case "$LIBEXT" in
12506 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12507 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'` ;;
12508 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12509 if ${ac_cv_lib_soname_GL:+false} :; then :
12510 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12511 fi ;;
12512 esac
12513 else
12514 ac_cv_lib_soname_GL=
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 LIBS=$ac_check_soname_save_LIBS
12520 if ${ac_cv_lib_soname_GL:+false} :; then :
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12522 $as_echo "not found" >&6; }
12523 if test -f /usr/X11R6/lib/libGL.a
12524 then
12525 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12526 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12527 else
12528 opengl_msg="No OpenGL library found on this system."
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12532 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12534 cat >>confdefs.h <<_ACEOF
12535 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12536 _ACEOF
12538 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"
12540 else
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12542 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12544 cat >>confdefs.h <<_ACEOF
12545 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12546 _ACEOF
12548 OPENGL_LIBS="-lGL"
12550 if test "x$with_glu" != "xno"
12551 then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12553 $as_echo_n "checking for -lGLU... " >&6; }
12554 if ${ac_cv_lib_soname_GLU+:} false; then :
12555 $as_echo_n "(cached) " >&6
12556 else
12557 ac_check_soname_save_LIBS=$LIBS
12558 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12565 #ifdef __cplusplus
12566 extern "C"
12567 #endif
12568 char gluLookAt ();
12570 main ()
12572 return gluLookAt ();
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_link "$LINENO"; then :
12578 case "$LIBEXT" in
12579 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12580 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'` ;;
12581 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12582 if ${ac_cv_lib_soname_GLU:+false} :; then :
12583 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12584 fi ;;
12585 esac
12586 else
12587 ac_cv_lib_soname_GLU=
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_soname_save_LIBS
12593 if ${ac_cv_lib_soname_GLU:+false} :; then :
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12595 $as_echo "not found" >&6; }
12597 else
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12599 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12601 cat >>confdefs.h <<_ACEOF
12602 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12603 _ACEOF
12607 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12608 case "x$with_glu" in
12609 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12610 xno) ;;
12611 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12612 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12613 esac
12618 if test "x$with_osmesa" != "xno"
12619 then
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12621 $as_echo_n "checking for -lOSMesa... " >&6; }
12622 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12623 $as_echo_n "(cached) " >&6
12624 else
12625 ac_check_soname_save_LIBS=$LIBS
12626 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12630 /* Override any GCC internal prototype to avoid an error.
12631 Use char because int might match the return type of a GCC
12632 builtin and then its argument prototype would still apply. */
12633 #ifdef __cplusplus
12634 extern "C"
12635 #endif
12636 char OSMesaGetProcAddress ();
12638 main ()
12640 return OSMesaGetProcAddress ();
12642 return 0;
12644 _ACEOF
12645 if ac_fn_c_try_link "$LINENO"; then :
12646 case "$LIBEXT" in
12647 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12648 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'` ;;
12649 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12650 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12651 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12652 fi ;;
12653 esac
12654 else
12655 ac_cv_lib_soname_OSMesa=
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_soname_save_LIBS
12661 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12663 $as_echo "not found" >&6; }
12665 else
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12667 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12669 cat >>confdefs.h <<_ACEOF
12670 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12671 _ACEOF
12675 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12676 case "x$with_osmesa" in
12677 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12678 xno) ;;
12679 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12680 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12681 esac
12686 if test -n "$opengl_msg"; then :
12687 case "x$with_opengl" in
12688 x) as_fn_append wine_warnings "|$opengl_msg
12689 OpenGL and Direct3D won't be supported." ;;
12690 xno) ;;
12691 *) as_fn_error $? "$opengl_msg
12692 OpenGL and Direct3D won't be supported.
12693 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12694 esac
12698 CPPFLAGS="$ac_save_CPPFLAGS"
12699 else
12700 X_CFLAGS=""
12701 X_LIBS=""
12704 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12705 then
12706 if test "x$X_LIBS" = "x"; then :
12707 case "x$with_x" in
12708 xno) ;;
12709 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12710 without X support, which probably isn't what you want. You will need
12711 to install ${notice_platform}development packages of Xlib at the very least.
12712 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12713 esac
12714 enable_winex11_drv=${enable_winex11_drv:-no}
12716 else
12717 if test "x$X_LIBS" = "x"; then :
12718 case "x$with_x" in
12719 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12720 xno) ;;
12721 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12722 This is an error since --with-x was requested." "$LINENO" 5 ;;
12723 esac
12724 enable_winex11_drv=${enable_winex11_drv:-no}
12728 if test "$ac_cv_header_CL_cl_h" = "yes"
12729 then
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12731 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12732 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12733 $as_echo_n "(cached) " >&6
12734 else
12735 ac_check_lib_save_LIBS=$LIBS
12736 LIBS="-lOpenCL $LIBS"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 /* Override any GCC internal prototype to avoid an error.
12741 Use char because int might match the return type of a GCC
12742 builtin and then its argument prototype would still apply. */
12743 #ifdef __cplusplus
12744 extern "C"
12745 #endif
12746 char clGetPlatformInfo ();
12748 main ()
12750 return clGetPlatformInfo ();
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"; then :
12756 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12757 else
12758 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12760 rm -f core conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12762 LIBS=$ac_check_lib_save_LIBS
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12765 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12766 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12767 OPENCL_LIBS="-lOpenCL"
12772 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12773 case "x$with_opencl" in
12774 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12775 xno) ;;
12776 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12777 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12778 esac
12779 enable_opencl=${enable_opencl:-no}
12782 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12783 then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12785 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12786 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 ac_check_lib_save_LIBS=$LIBS
12790 LIBS="-lpcap $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char pcap_create ();
12802 main ()
12804 return pcap_create ();
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_link "$LINENO"; then :
12810 ac_cv_lib_pcap_pcap_create=yes
12811 else
12812 ac_cv_lib_pcap_pcap_create=no
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_lib_save_LIBS
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12819 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12820 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12821 PCAP_LIBS="-lpcap"
12826 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12827 case "x$with_pcap" in
12828 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12829 xno) ;;
12830 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12831 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12832 esac
12833 enable_wpcap=${enable_wpcap:-no}
12837 if test "x$with_xml" != "xno"
12838 then
12839 if ${XML2_CFLAGS:+false} :; then :
12840 if ${PKG_CONFIG+:} false; then :
12841 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12844 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12845 if ${XML2_LIBS:+false} :; then :
12846 if ${PKG_CONFIG+:} false; then :
12847 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12850 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12851 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12852 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12853 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12854 ac_save_CPPFLAGS=$CPPFLAGS
12855 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12856 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12857 do :
12858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12859 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12861 cat >>confdefs.h <<_ACEOF
12862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12863 _ACEOF
12867 done
12869 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"
12870 then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12872 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12873 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_lib_save_LIBS=$LIBS
12877 LIBS="-lxml2 $XML2_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char xmlParseMemory ();
12889 main ()
12891 return xmlParseMemory ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 ac_cv_lib_xml2_xmlParseMemory=yes
12898 else
12899 ac_cv_lib_xml2_xmlParseMemory=no
12901 rm -f core conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_lib_save_LIBS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12906 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12907 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12909 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12911 else
12912 XML2_LIBS=""
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12916 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12917 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12918 $as_echo_n "(cached) " >&6
12919 else
12920 ac_check_lib_save_LIBS=$LIBS
12921 LIBS="-lxml2 $XML2_LIBS $LIBS"
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12925 /* Override any GCC internal prototype to avoid an error.
12926 Use char because int might match the return type of a GCC
12927 builtin and then its argument prototype would still apply. */
12928 #ifdef __cplusplus
12929 extern "C"
12930 #endif
12931 char xmlReadMemory ();
12933 main ()
12935 return xmlReadMemory ();
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_link "$LINENO"; then :
12941 ac_cv_lib_xml2_xmlReadMemory=yes
12942 else
12943 ac_cv_lib_xml2_xmlReadMemory=no
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12947 LIBS=$ac_check_lib_save_LIBS
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12950 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12951 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12953 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12958 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12959 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12960 $as_echo_n "(cached) " >&6
12961 else
12962 ac_check_lib_save_LIBS=$LIBS
12963 LIBS="-lxml2 $XML2_LIBS $LIBS"
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 /* Override any GCC internal prototype to avoid an error.
12968 Use char because int might match the return type of a GCC
12969 builtin and then its argument prototype would still apply. */
12970 #ifdef __cplusplus
12971 extern "C"
12972 #endif
12973 char xmlNewDocPI ();
12975 main ()
12977 return xmlNewDocPI ();
12979 return 0;
12981 _ACEOF
12982 if ac_fn_c_try_link "$LINENO"; then :
12983 ac_cv_lib_xml2_xmlNewDocPI=yes
12984 else
12985 ac_cv_lib_xml2_xmlNewDocPI=no
12987 rm -f core conftest.err conftest.$ac_objext \
12988 conftest$ac_exeext conftest.$ac_ext
12989 LIBS=$ac_check_lib_save_LIBS
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12992 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12993 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12995 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13000 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13001 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13002 $as_echo_n "(cached) " >&6
13003 else
13004 ac_check_lib_save_LIBS=$LIBS
13005 LIBS="-lxml2 $XML2_LIBS $LIBS"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13012 #ifdef __cplusplus
13013 extern "C"
13014 #endif
13015 char xmlSchemaSetParserStructuredErrors ();
13017 main ()
13019 return xmlSchemaSetParserStructuredErrors ();
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_link "$LINENO"; then :
13025 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13026 else
13027 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13029 rm -f core conftest.err conftest.$ac_objext \
13030 conftest$ac_exeext conftest.$ac_ext
13031 LIBS=$ac_check_lib_save_LIBS
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13034 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13035 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13037 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13042 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13043 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13044 $as_echo_n "(cached) " >&6
13045 else
13046 ac_check_lib_save_LIBS=$LIBS
13047 LIBS="-lxml2 $XML2_LIBS $LIBS"
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13051 /* Override any GCC internal prototype to avoid an error.
13052 Use char because int might match the return type of a GCC
13053 builtin and then its argument prototype would still apply. */
13054 #ifdef __cplusplus
13055 extern "C"
13056 #endif
13057 char xmlSchemaSetValidStructuredErrors ();
13059 main ()
13061 return xmlSchemaSetValidStructuredErrors ();
13063 return 0;
13065 _ACEOF
13066 if ac_fn_c_try_link "$LINENO"; then :
13067 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13068 else
13069 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13071 rm -f core conftest.err conftest.$ac_objext \
13072 conftest$ac_exeext conftest.$ac_ext
13073 LIBS=$ac_check_lib_save_LIBS
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13076 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13077 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13079 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13084 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13085 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13086 $as_echo_n "(cached) " >&6
13087 else
13088 ac_check_lib_save_LIBS=$LIBS
13089 LIBS="-lxml2 $XML2_LIBS $LIBS"
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13096 #ifdef __cplusplus
13097 extern "C"
13098 #endif
13099 char xmlFirstElementChild ();
13101 main ()
13103 return xmlFirstElementChild ();
13105 return 0;
13107 _ACEOF
13108 if ac_fn_c_try_link "$LINENO"; then :
13109 ac_cv_lib_xml2_xmlFirstElementChild=yes
13110 else
13111 ac_cv_lib_xml2_xmlFirstElementChild=no
13113 rm -f core conftest.err conftest.$ac_objext \
13114 conftest$ac_exeext conftest.$ac_ext
13115 LIBS=$ac_check_lib_save_LIBS
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13118 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13119 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13121 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13125 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13127 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13129 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13133 else
13134 XML2_CFLAGS=""
13135 XML2_LIBS=""
13137 CPPFLAGS=$ac_save_CPPFLAGS
13138 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13139 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13142 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13143 case "x$with_xml" in
13144 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13145 xno) ;;
13146 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13147 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13148 esac
13152 if test "x$with_xslt" != "xno"
13153 then
13154 if ${XSLT_CFLAGS:+false} :; then :
13155 if ${PKG_CONFIG+:} false; then :
13156 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13159 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13160 if ${XSLT_LIBS:+false} :; then :
13161 if ${PKG_CONFIG+:} false; then :
13162 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13165 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13166 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13167 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13168 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13169 ac_save_CPPFLAGS=$CPPFLAGS
13170 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13171 for ac_header in libxslt/pattern.h libxslt/transform.h
13172 do :
13173 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13174 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13175 # include <libxslt/pattern.h>
13176 #endif
13178 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13179 cat >>confdefs.h <<_ACEOF
13180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13181 _ACEOF
13185 done
13187 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13188 then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13190 $as_echo_n "checking for -lxslt... " >&6; }
13191 if ${ac_cv_lib_soname_xslt+:} false; then :
13192 $as_echo_n "(cached) " >&6
13193 else
13194 ac_check_soname_save_LIBS=$LIBS
13195 LIBS="-lxslt $XSLT_LIBS $LIBS"
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13199 /* Override any GCC internal prototype to avoid an error.
13200 Use char because int might match the return type of a GCC
13201 builtin and then its argument prototype would still apply. */
13202 #ifdef __cplusplus
13203 extern "C"
13204 #endif
13205 char xsltCompilePattern ();
13207 main ()
13209 return xsltCompilePattern ();
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_link "$LINENO"; then :
13215 case "$LIBEXT" in
13216 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13217 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'` ;;
13218 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13219 if ${ac_cv_lib_soname_xslt:+false} :; then :
13220 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13221 fi ;;
13222 esac
13223 else
13224 ac_cv_lib_soname_xslt=
13226 rm -f core conftest.err conftest.$ac_objext \
13227 conftest$ac_exeext conftest.$ac_ext
13228 LIBS=$ac_check_soname_save_LIBS
13230 if ${ac_cv_lib_soname_xslt:+false} :; then :
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13232 $as_echo "not found" >&6; }
13234 else
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13236 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13238 cat >>confdefs.h <<_ACEOF
13239 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13240 _ACEOF
13244 else
13245 XSLT_CFLAGS=""
13247 CPPFLAGS=$ac_save_CPPFLAGS
13248 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13249 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13252 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13253 case "x$with_xslt" in
13254 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13255 xno) ;;
13256 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13257 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13258 esac
13262 if test "x$with_inotify" != "xno"
13263 then
13264 if ${INOTIFY_CFLAGS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13270 if ${INOTIFY_LIBS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13277 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13278 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13281 for ac_header in sys/inotify.h
13282 do :
13283 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13284 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define HAVE_SYS_INOTIFY_H 1
13287 _ACEOF
13291 done
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13294 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13295 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13296 $as_echo_n "(cached) " >&6
13297 else
13298 ac_check_lib_save_LIBS=$LIBS
13299 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13303 /* Override any GCC internal prototype to avoid an error.
13304 Use char because int might match the return type of a GCC
13305 builtin and then its argument prototype would still apply. */
13306 #ifdef __cplusplus
13307 extern "C"
13308 #endif
13309 char inotify_add_watch ();
13311 main ()
13313 return inotify_add_watch ();
13315 return 0;
13317 _ACEOF
13318 if ac_fn_c_try_link "$LINENO"; then :
13319 ac_cv_lib_inotify_inotify_add_watch=yes
13320 else
13321 ac_cv_lib_inotify_inotify_add_watch=no
13323 rm -f core conftest.err conftest.$ac_objext \
13324 conftest$ac_exeext conftest.$ac_ext
13325 LIBS=$ac_check_lib_save_LIBS
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13328 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13329 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13331 else
13332 INOTIFY_LIBS=""
13335 CPPFLAGS=$ac_save_CPPFLAGS
13336 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13337 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13340 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13341 case "x$with_inotify" in
13342 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13343 xno) ;;
13344 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13345 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13346 esac
13350 if test "x$with_dbus" != "xno"
13351 then
13352 if ${DBUS_CFLAGS:+false} :; then :
13353 if ${PKG_CONFIG+:} false; then :
13354 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13358 if ${DBUS_LIBS:+false} :; then :
13359 if ${PKG_CONFIG+:} false; then :
13360 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13365 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13366 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13367 ac_save_CPPFLAGS=$CPPFLAGS
13368 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13369 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13370 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13372 $as_echo_n "checking for -ldbus-1... " >&6; }
13373 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13374 $as_echo_n "(cached) " >&6
13375 else
13376 ac_check_soname_save_LIBS=$LIBS
13377 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13381 /* Override any GCC internal prototype to avoid an error.
13382 Use char because int might match the return type of a GCC
13383 builtin and then its argument prototype would still apply. */
13384 #ifdef __cplusplus
13385 extern "C"
13386 #endif
13387 char dbus_connection_close ();
13389 main ()
13391 return dbus_connection_close ();
13393 return 0;
13395 _ACEOF
13396 if ac_fn_c_try_link "$LINENO"; then :
13397 case "$LIBEXT" in
13398 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13399 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'` ;;
13400 *) 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'`
13401 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13402 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13403 fi ;;
13404 esac
13405 else
13406 ac_cv_lib_soname_dbus_1=
13408 rm -f core conftest.err conftest.$ac_objext \
13409 conftest$ac_exeext conftest.$ac_ext
13410 LIBS=$ac_check_soname_save_LIBS
13412 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13414 $as_echo "not found" >&6; }
13415 DBUS_CFLAGS=""
13416 else
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13418 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13420 cat >>confdefs.h <<_ACEOF
13421 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13422 _ACEOF
13426 else
13427 DBUS_CFLAGS=""
13431 CPPFLAGS=$ac_save_CPPFLAGS
13432 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13433 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13436 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13437 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13438 case "x$with_dbus" in
13439 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13440 xno) ;;
13441 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13442 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13443 esac
13447 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13448 then
13449 if ${HAL_CFLAGS:+false} :; then :
13450 if ${PKG_CONFIG+:} false; then :
13451 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13455 if ${HAL_LIBS:+false} :; then :
13456 if ${PKG_CONFIG+:} false; then :
13457 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13461 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13462 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13464 ac_save_CPPFLAGS=$CPPFLAGS
13465 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13466 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13467 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13469 $as_echo_n "checking for -lhal... " >&6; }
13470 if ${ac_cv_lib_soname_hal+:} false; then :
13471 $as_echo_n "(cached) " >&6
13472 else
13473 ac_check_soname_save_LIBS=$LIBS
13474 LIBS="-lhal $HAL_LIBS $LIBS"
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13481 #ifdef __cplusplus
13482 extern "C"
13483 #endif
13484 char libhal_ctx_new ();
13486 main ()
13488 return libhal_ctx_new ();
13490 return 0;
13492 _ACEOF
13493 if ac_fn_c_try_link "$LINENO"; then :
13494 case "$LIBEXT" in
13495 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13496 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'` ;;
13497 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13498 if ${ac_cv_lib_soname_hal:+false} :; then :
13499 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13500 fi ;;
13501 esac
13502 else
13503 ac_cv_lib_soname_hal=
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 LIBS=$ac_check_soname_save_LIBS
13509 if ${ac_cv_lib_soname_hal:+false} :; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13511 $as_echo "not found" >&6; }
13512 HAL_CFLAGS=""
13513 else
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13515 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13517 cat >>confdefs.h <<_ACEOF
13518 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13519 _ACEOF
13523 else
13524 HAL_CFLAGS=""
13528 CPPFLAGS=$ac_save_CPPFLAGS
13529 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13530 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13532 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13533 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13534 case "x$with_hal" in
13535 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13536 xno) ;;
13537 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13538 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13539 esac
13544 if test "x$with_gnutls" != "xno"
13545 then
13546 if ${GNUTLS_CFLAGS:+false} :; then :
13547 if ${PKG_CONFIG+:} false; then :
13548 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13552 if ${GNUTLS_LIBS:+false} :; then :
13553 if ${PKG_CONFIG+:} false; then :
13554 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13559 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13561 ac_save_CPPFLAGS=$CPPFLAGS
13562 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13563 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13564 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #include <gnutls/gnutls.h>
13568 #include <gnutls/crypto.h>
13570 main ()
13572 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_compile "$LINENO"; then :
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13579 $as_echo_n "checking for -lgnutls... " >&6; }
13580 if ${ac_cv_lib_soname_gnutls+:} false; then :
13581 $as_echo_n "(cached) " >&6
13582 else
13583 ac_check_soname_save_LIBS=$LIBS
13584 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13588 /* Override any GCC internal prototype to avoid an error.
13589 Use char because int might match the return type of a GCC
13590 builtin and then its argument prototype would still apply. */
13591 #ifdef __cplusplus
13592 extern "C"
13593 #endif
13594 char gnutls_global_init ();
13596 main ()
13598 return gnutls_global_init ();
13600 return 0;
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 case "$LIBEXT" in
13605 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13606 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'` ;;
13607 *) 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'`
13608 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13609 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'`
13610 fi ;;
13611 esac
13612 else
13613 ac_cv_lib_soname_gnutls=
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 LIBS=$ac_check_soname_save_LIBS
13619 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13621 $as_echo "not found" >&6; }
13622 GNUTLS_CFLAGS=""
13623 else
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13625 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13627 cat >>confdefs.h <<_ACEOF
13628 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13629 _ACEOF
13633 ac_wine_check_funcs_save_LIBS="$LIBS"
13634 LIBS="$LIBS $GNUTLS_LIBS"
13635 for ac_func in gnutls_cipher_init
13636 do :
13637 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13638 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13639 cat >>confdefs.h <<_ACEOF
13640 #define HAVE_GNUTLS_CIPHER_INIT 1
13641 _ACEOF
13643 else
13644 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13646 done
13648 LIBS="$ac_wine_check_funcs_save_LIBS"
13650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13651 else
13652 GNUTLS_CFLAGS=""
13656 CPPFLAGS=$ac_save_CPPFLAGS
13657 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13658 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13661 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13662 case "x$with_gnutls" in
13663 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13664 xno) ;;
13665 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13666 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13667 esac
13671 CURSES_LIBS=""
13672 if test "$ac_cv_header_ncurses_h" = "yes"
13673 then
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13675 $as_echo_n "checking for -lncurses... " >&6; }
13676 if ${ac_cv_lib_soname_ncurses+:} false; then :
13677 $as_echo_n "(cached) " >&6
13678 else
13679 ac_check_soname_save_LIBS=$LIBS
13680 LIBS="-lncurses $LIBS"
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13687 #ifdef __cplusplus
13688 extern "C"
13689 #endif
13690 char waddch ();
13692 main ()
13694 return waddch ();
13696 return 0;
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 case "$LIBEXT" in
13701 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13702 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'` ;;
13703 *) 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'`
13704 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13705 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13706 fi ;;
13707 esac
13708 else
13709 ac_cv_lib_soname_ncurses=
13711 rm -f core conftest.err conftest.$ac_objext \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_soname_save_LIBS
13715 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13717 $as_echo "not found" >&6; }
13719 else
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13721 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13723 cat >>confdefs.h <<_ACEOF
13724 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13725 _ACEOF
13727 CURSES_LIBS="-lncurses"
13729 elif test "$ac_cv_header_curses_h" = "yes"
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13732 $as_echo_n "checking for -lcurses... " >&6; }
13733 if ${ac_cv_lib_soname_curses+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_check_soname_save_LIBS=$LIBS
13737 LIBS="-lcurses $LIBS"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char waddch ();
13749 main ()
13751 return waddch ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 case "$LIBEXT" in
13758 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13759 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'` ;;
13760 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13761 if ${ac_cv_lib_soname_curses:+false} :; then :
13762 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13763 fi ;;
13764 esac
13765 else
13766 ac_cv_lib_soname_curses=
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_soname_save_LIBS
13772 if ${ac_cv_lib_soname_curses:+false} :; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13774 $as_echo "not found" >&6; }
13776 else
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13778 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13780 cat >>confdefs.h <<_ACEOF
13781 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13782 _ACEOF
13784 CURSES_LIBS="-lcurses"
13787 ac_save_LIBS="$LIBS"
13788 LIBS="$LIBS $CURSES_LIBS"
13789 for ac_func in mousemask
13790 do :
13791 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13792 if test "x$ac_cv_func_mousemask" = xyes; then :
13793 cat >>confdefs.h <<_ACEOF
13794 #define HAVE_MOUSEMASK 1
13795 _ACEOF
13798 done
13800 LIBS="$ac_save_LIBS"
13801 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13802 case "x$with_curses" in
13803 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13804 xno) ;;
13805 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13806 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13807 esac
13811 if test "x$with_sane" != "xno"
13812 then
13813 if ${SANE_CFLAGS:+false} :; then :
13814 if ${PKG_CONFIG+:} false; then :
13815 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13818 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13819 if ${SANE_LIBS:+false} :; then :
13820 if ${PKG_CONFIG+:} false; then :
13821 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13824 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13826 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13828 ac_save_CPPFLAGS=$CPPFLAGS
13829 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13830 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13831 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13833 $as_echo_n "checking for -lsane... " >&6; }
13834 if ${ac_cv_lib_soname_sane+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 ac_check_soname_save_LIBS=$LIBS
13838 LIBS="-lsane $SANE_LIBS $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 #ifdef __cplusplus
13846 extern "C"
13847 #endif
13848 char sane_init ();
13850 main ()
13852 return sane_init ();
13854 return 0;
13856 _ACEOF
13857 if ac_fn_c_try_link "$LINENO"; then :
13858 case "$LIBEXT" in
13859 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13860 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'` ;;
13861 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13862 if ${ac_cv_lib_soname_sane:+false} :; then :
13863 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13864 fi ;;
13865 esac
13866 else
13867 ac_cv_lib_soname_sane=
13869 rm -f core conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_soname_save_LIBS
13873 if ${ac_cv_lib_soname_sane:+false} :; then :
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13875 $as_echo "not found" >&6; }
13876 SANE_CFLAGS=""
13877 else
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13879 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13881 cat >>confdefs.h <<_ACEOF
13882 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13883 _ACEOF
13887 else
13888 SANE_CFLAGS=""
13892 CPPFLAGS=$ac_save_CPPFLAGS
13893 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13894 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13897 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13898 case "x$with_sane" in
13899 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13900 xno) ;;
13901 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13902 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13903 esac
13907 if test "x$with_v4l2" != "xno"
13908 then
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13910 $as_echo_n "checking for -lv4l2... " >&6; }
13911 if ${ac_cv_lib_soname_v4l2+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 ac_check_soname_save_LIBS=$LIBS
13915 LIBS="-lv4l2 $LIBS"
13916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13919 /* Override any GCC internal prototype to avoid an error.
13920 Use char because int might match the return type of a GCC
13921 builtin and then its argument prototype would still apply. */
13922 #ifdef __cplusplus
13923 extern "C"
13924 #endif
13925 char v4l2_open ();
13927 main ()
13929 return v4l2_open ();
13931 return 0;
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 case "$LIBEXT" in
13936 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13937 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13938 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13939 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13940 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13941 fi ;;
13942 esac
13943 else
13944 ac_cv_lib_soname_v4l2=
13946 rm -f core conftest.err conftest.$ac_objext \
13947 conftest$ac_exeext conftest.$ac_ext
13948 LIBS=$ac_check_soname_save_LIBS
13950 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13952 $as_echo "not found" >&6; }
13954 else
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13956 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13958 cat >>confdefs.h <<_ACEOF
13959 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13960 _ACEOF
13965 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13966 case "x$with_v4l2" in
13967 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13968 xno) ;;
13969 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13970 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13971 esac
13975 if test "x$with_gphoto" != "xno"
13976 then
13977 if ${GPHOTO2_CFLAGS:+false} :; then :
13978 if ${PKG_CONFIG+:} false; then :
13979 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13982 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13983 if ${GPHOTO2_LIBS:+false} :; then :
13984 if ${PKG_CONFIG+:} false; then :
13985 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13988 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13989 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13990 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13992 ac_save_CPPFLAGS=$CPPFLAGS
13993 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13994 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13995 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13997 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13998 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 ac_check_lib_save_LIBS=$LIBS
14002 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14006 /* Override any GCC internal prototype to avoid an error.
14007 Use char because int might match the return type of a GCC
14008 builtin and then its argument prototype would still apply. */
14009 #ifdef __cplusplus
14010 extern "C"
14011 #endif
14012 char gp_camera_new ();
14014 main ()
14016 return gp_camera_new ();
14018 return 0;
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"; then :
14022 ac_cv_lib_gphoto2_gp_camera_new=yes
14023 else
14024 ac_cv_lib_gphoto2_gp_camera_new=no
14026 rm -f core conftest.err conftest.$ac_objext \
14027 conftest$ac_exeext conftest.$ac_ext
14028 LIBS=$ac_check_lib_save_LIBS
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14031 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14032 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14034 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14036 else
14037 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14040 else
14041 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14045 CPPFLAGS=$ac_save_CPPFLAGS
14046 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14047 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14049 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14050 if ${PKG_CONFIG+:} false; then :
14051 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14054 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14055 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14060 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14061 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14064 ac_save_CPPFLAGS=$CPPFLAGS
14065 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14066 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14067 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14069 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14070 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_check_lib_save_LIBS=$LIBS
14074 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14078 /* Override any GCC internal prototype to avoid an error.
14079 Use char because int might match the return type of a GCC
14080 builtin and then its argument prototype would still apply. */
14081 #ifdef __cplusplus
14082 extern "C"
14083 #endif
14084 char gp_port_info_list_new ();
14086 main ()
14088 return gp_port_info_list_new ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"; then :
14094 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14095 else
14096 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_lib_save_LIBS
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14103 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14104 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14106 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14108 else
14109 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14112 else
14113 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14117 CPPFLAGS=$ac_save_CPPFLAGS
14118 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14119 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14122 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14123 case "x$with_gphoto" in
14124 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14125 xno) ;;
14126 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14127 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14128 esac
14131 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14132 case "x$with_gphoto" in
14133 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14134 xno) ;;
14135 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14136 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14137 esac
14142 if test "$ac_cv_header_resolv_h" = "yes"
14143 then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14145 $as_echo_n "checking for resolver library... " >&6; }
14146 if ${ac_cv_have_resolv+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 ac_save_LIBS="$LIBS"
14150 for lib in '' -lresolv
14152 LIBS="$lib $ac_save_LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14155 #ifdef HAVE_NETINET_IN_H
14156 #include <netinet/in.h>
14157 #endif
14158 #include <resolv.h>
14160 main ()
14162 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14164 return 0;
14166 _ACEOF
14167 if ac_fn_c_try_link "$LINENO"; then :
14168 ac_cv_have_resolv=${lib:-"none required"}
14169 else
14170 ac_cv_have_resolv="not found"
14172 rm -f core conftest.err conftest.$ac_objext \
14173 conftest$ac_exeext conftest.$ac_ext
14174 test "x$ac_cv_have_resolv" = "xnot found" || break
14175 done
14176 LIBS="$ac_save_LIBS"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14179 $as_echo "$ac_cv_have_resolv" >&6; }
14181 case "$ac_cv_have_resolv" in
14182 "not found") ;;
14183 "none required")
14185 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14188 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14190 RESOLV_LIBS=$ac_cv_have_resolv
14192 esac
14194 if test "x$ac_cv_have_resolv" != "xnot found"
14195 then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14197 $as_echo_n "checking for res_getservers... " >&6; }
14198 if ${ac_cv_have_res_getservers+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 ac_save_LIBS="$LIBS"
14202 LIBS="$RESOLV_LIBS $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 #include <resolv.h>
14207 main ()
14209 res_getservers(NULL, NULL, 0);
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 ac_cv_have_res_getservers=yes
14216 else
14217 ac_cv_have_res_getservers=no
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS="$ac_save_LIBS"
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14224 $as_echo "$ac_cv_have_res_getservers" >&6; }
14225 if test "$ac_cv_have_res_getservers" = "yes"
14226 then
14228 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14234 if test "x$with_cms" != "xno"
14235 then
14236 if ${LCMS2_CFLAGS:+false} :; then :
14237 if ${PKG_CONFIG+:} false; then :
14238 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14242 if ${LCMS2_LIBS:+false} :; then :
14243 if ${PKG_CONFIG+:} false; then :
14244 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14248 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14249 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14250 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14251 ac_save_CPPFLAGS=$CPPFLAGS
14252 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14253 for ac_header in lcms2.h
14254 do :
14255 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14256 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14257 cat >>confdefs.h <<_ACEOF
14258 #define HAVE_LCMS2_H 1
14259 _ACEOF
14263 done
14265 if test "$ac_cv_header_lcms2_h" = "yes"
14266 then
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14268 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14269 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 ac_check_lib_save_LIBS=$LIBS
14273 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14277 /* Override any GCC internal prototype to avoid an error.
14278 Use char because int might match the return type of a GCC
14279 builtin and then its argument prototype would still apply. */
14280 #ifdef __cplusplus
14281 extern "C"
14282 #endif
14283 char cmsOpenProfileFromFile ();
14285 main ()
14287 return cmsOpenProfileFromFile ();
14289 return 0;
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14294 else
14295 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 LIBS=$ac_check_lib_save_LIBS
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14302 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14303 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14305 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14307 else
14308 LCMS2_LIBS=""
14311 else
14312 LCMS2_CFLAGS=""
14313 LCMS2_LIBS=""
14315 CPPFLAGS=$ac_save_CPPFLAGS
14316 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14317 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14320 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14321 case "x$with_cms" in
14322 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14323 xno) ;;
14324 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14325 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14326 esac
14330 if test "x$with_freetype" != "xno"
14331 then
14332 if ${FREETYPE_CFLAGS:+false} :; then :
14333 if ${PKG_CONFIG+:} false; then :
14334 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14337 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14338 if ${FREETYPE_LIBS:+false} :; then :
14339 if ${PKG_CONFIG+:} false; then :
14340 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14343 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14344 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14345 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14346 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14347 ac_save_CPPFLAGS=$CPPFLAGS
14348 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14349 for ac_header in ft2build.h
14350 do :
14351 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14352 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14353 cat >>confdefs.h <<_ACEOF
14354 #define HAVE_FT2BUILD_H 1
14355 _ACEOF
14359 done
14361 if test "$ac_cv_header_ft2build_h" = "yes"
14362 then
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14364 $as_echo_n "checking for -lfreetype... " >&6; }
14365 if ${ac_cv_lib_soname_freetype+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 ac_check_soname_save_LIBS=$LIBS
14369 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14373 /* Override any GCC internal prototype to avoid an error.
14374 Use char because int might match the return type of a GCC
14375 builtin and then its argument prototype would still apply. */
14376 #ifdef __cplusplus
14377 extern "C"
14378 #endif
14379 char FT_Init_FreeType ();
14381 main ()
14383 return FT_Init_FreeType ();
14385 return 0;
14387 _ACEOF
14388 if ac_fn_c_try_link "$LINENO"; then :
14389 case "$LIBEXT" in
14390 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14391 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'` ;;
14392 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14393 if ${ac_cv_lib_soname_freetype:+false} :; then :
14394 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14395 fi ;;
14396 esac
14397 else
14398 ac_cv_lib_soname_freetype=
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_soname_save_LIBS
14404 if ${ac_cv_lib_soname_freetype:+false} :; then :
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14406 $as_echo "not found" >&6; }
14407 FREETYPE_LIBS=""
14408 else
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14410 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14412 cat >>confdefs.h <<_ACEOF
14413 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14414 _ACEOF
14417 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14419 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14420 #include FT_MODULE_H
14422 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14424 cat >>confdefs.h <<_ACEOF
14425 #define HAVE_FT_TRUETYPEENGINETYPE 1
14426 _ACEOF
14432 else
14433 FREETYPE_CFLAGS=""
14434 FREETYPE_LIBS=""
14436 CPPFLAGS=$ac_save_CPPFLAGS
14437 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14438 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14441 if test "x$ac_cv_lib_soname_freetype" = x; then :
14442 case "x$with_freetype" in
14443 xno) ;;
14444 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14445 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14446 esac
14447 enable_fonts=${enable_fonts:-no}
14450 ac_wine_check_funcs_save_LIBS="$LIBS"
14451 LIBS="$LIBS $PTHREAD_LIBS"
14452 for ac_func in \
14453 pthread_getthreadid_np
14454 do :
14455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14460 _ACEOF
14463 done
14465 LIBS="$ac_wine_check_funcs_save_LIBS"
14467 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14468 then
14469 if test "$ac_cv_header_gettext_po_h" = "yes"
14470 then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14472 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14473 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 ac_check_lib_save_LIBS=$LIBS
14477 LIBS="-lgettextpo $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 #ifdef __cplusplus
14485 extern "C"
14486 #endif
14487 char po_message_msgctxt ();
14489 main ()
14491 return po_message_msgctxt ();
14493 return 0;
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14498 else
14499 ac_cv_lib_gettextpo_po_message_msgctxt=no
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 LIBS=$ac_check_lib_save_LIBS
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14506 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14507 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14509 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14511 GETTEXTPO_LIBS="-lgettextpo"
14516 if test "x$GETTEXTPO_LIBS" = "x"; then :
14517 case "x$with_gettextpo" in
14518 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14519 xno) ;;
14520 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14521 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14522 esac
14525 if test "$srcdir" != .; then :
14526 case "x$with_gettextpo" in
14527 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14528 xno) ;;
14529 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14530 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14531 esac
14536 if test "x$with_pulse" != "xno";
14537 then
14538 if ${PULSE_CFLAGS:+false} :; then :
14539 if ${PKG_CONFIG+:} false; then :
14540 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14544 if ${PULSE_LIBS:+false} :; then :
14545 if ${PKG_CONFIG+:} false; then :
14546 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14551 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14552 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14553 ac_save_CPPFLAGS=$CPPFLAGS
14554 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14555 for ac_header in pulse/pulseaudio.h
14556 do :
14557 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14558 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14559 cat >>confdefs.h <<_ACEOF
14560 #define HAVE_PULSE_PULSEAUDIO_H 1
14561 _ACEOF
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14563 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14564 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_check_lib_save_LIBS=$LIBS
14568 LIBS="-lpulse $PULSE_LIBS $LIBS"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14575 #ifdef __cplusplus
14576 extern "C"
14577 #endif
14578 char pa_stream_is_corked ();
14580 main ()
14582 return pa_stream_is_corked ();
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_lib_pulse_pa_stream_is_corked=yes
14589 else
14590 ac_cv_lib_pulse_pa_stream_is_corked=no
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14594 LIBS=$ac_check_lib_save_LIBS
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14597 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14598 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14600 else
14601 PULSE_LIBS=""
14604 else
14605 PULSE_LIBS=""
14608 done
14610 CPPFLAGS=$ac_save_CPPFLAGS
14611 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14612 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14615 if test -z "$PULSE_LIBS"; then :
14616 case "x$with_pulse" in
14617 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14618 xno) ;;
14619 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14620 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14621 esac
14622 enable_winepulse_drv=${enable_winepulse_drv:-no}
14625 if test "x$with_gstreamer" != "xno"
14626 then
14627 if ${GSTREAMER_CFLAGS:+false} :; then :
14628 if ${PKG_CONFIG+:} false; then :
14629 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14633 if ${GSTREAMER_LIBS:+false} :; then :
14634 if ${PKG_CONFIG+:} false; then :
14635 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14640 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14641 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14642 ac_save_CPPFLAGS=$CPPFLAGS
14643 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14644 ac_gst_incl=""
14645 for i in $GSTREAMER_CFLAGS
14647 case "$i" in
14648 -I*) ac_gst_incl="$ac_gst_incl $i";;
14649 esac
14650 done
14651 GSTREAMER_CFLAGS=$ac_gst_incl
14652 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14653 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14654 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14656 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 #include <gst/gst.h>
14661 main ()
14663 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_compile "$LINENO"; then :
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14670 $as_echo "yes" >&6; }
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14672 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14673 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14674 $as_echo_n "(cached) " >&6
14675 else
14676 ac_check_lib_save_LIBS=$LIBS
14677 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14681 /* Override any GCC internal prototype to avoid an error.
14682 Use char because int might match the return type of a GCC
14683 builtin and then its argument prototype would still apply. */
14684 #ifdef __cplusplus
14685 extern "C"
14686 #endif
14687 char gst_pad_new ();
14689 main ()
14691 return gst_pad_new ();
14693 return 0;
14695 _ACEOF
14696 if ac_fn_c_try_link "$LINENO"; then :
14697 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14698 else
14699 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14701 rm -f core conftest.err conftest.$ac_objext \
14702 conftest$ac_exeext conftest.$ac_ext
14703 LIBS=$ac_check_lib_save_LIBS
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14706 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14707 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14711 else
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14713 $as_echo "no" >&6; }
14714 ac_glib2_broken=yes
14715 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721 CPPFLAGS=$ac_save_CPPFLAGS
14722 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14723 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14726 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 :
14727 case "x$with_gstreamer" in
14728 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14729 xno) ;;
14730 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14731 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14732 esac
14735 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14737 ALSA_LIBS=""
14739 if test "x$with_alsa" != "xno"
14740 then
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14742 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14743 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14744 $as_echo_n "(cached) " >&6
14745 else
14746 ac_check_lib_save_LIBS=$LIBS
14747 LIBS="-lasound $LIBS"
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 #ifdef __cplusplus
14755 extern "C"
14756 #endif
14757 char snd_pcm_hw_params_get_access_mask ();
14759 main ()
14761 return snd_pcm_hw_params_get_access_mask ();
14763 return 0;
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14768 else
14769 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 LIBS=$ac_check_lib_save_LIBS
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14776 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14777 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14780 #include <alsa/asoundlib.h>
14782 main ()
14784 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14786 return 0;
14788 _ACEOF
14789 if ac_fn_c_try_compile "$LINENO"; then :
14790 ALSA_LIBS="-lasound"
14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14798 if test "x$with_oss" != xno
14799 then
14800 ac_save_CPPFLAGS="$CPPFLAGS"
14801 if test -f /etc/oss.conf
14802 then
14803 . /etc/oss.conf
14805 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14806 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14807 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14808 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14809 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14811 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14813 cat >>confdefs.h <<_ACEOF
14814 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14815 _ACEOF
14817 OSS4_CFLAGS="$ac_oss_incl"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14820 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14821 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 ac_check_lib_save_LIBS=$LIBS
14825 LIBS="-lossaudio $LIBS"
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14829 /* Override any GCC internal prototype to avoid an error.
14830 Use char because int might match the return type of a GCC
14831 builtin and then its argument prototype would still apply. */
14832 #ifdef __cplusplus
14833 extern "C"
14834 #endif
14835 char _oss_ioctl ();
14837 main ()
14839 return _oss_ioctl ();
14841 return 0;
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_lib_ossaudio__oss_ioctl=yes
14846 else
14847 ac_cv_lib_ossaudio__oss_ioctl=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 LIBS=$ac_check_lib_save_LIBS
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14854 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14855 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14856 OSS4_LIBS="-lossaudio"
14865 CPPFLAGS="$ac_save_CPPFLAGS"
14867 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14868 case "x$with_oss" in
14869 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14870 xno) ;;
14871 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14872 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14873 esac
14874 enable_wineoss_drv=${enable_wineoss_drv:-no}
14877 if test "x$with_udev" != "xno"
14878 then
14879 if ${UDEV_CFLAGS:+false} :; then :
14880 if ${PKG_CONFIG+:} false; then :
14881 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14885 if ${UDEV_LIBS:+false} :; then :
14886 if ${PKG_CONFIG+:} false; then :
14887 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14891 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14892 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14893 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14894 ac_save_CPPFLAGS=$CPPFLAGS
14895 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14896 for ac_header in libudev.h
14897 do :
14898 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14899 if test "x$ac_cv_header_libudev_h" = xyes; then :
14900 cat >>confdefs.h <<_ACEOF
14901 #define HAVE_LIBUDEV_H 1
14902 _ACEOF
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14904 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14905 if ${ac_cv_lib_udev_udev_new+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 ac_check_lib_save_LIBS=$LIBS
14909 LIBS="-ludev $UDEV_LIBS $LIBS"
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 #ifdef __cplusplus
14917 extern "C"
14918 #endif
14919 char udev_new ();
14921 main ()
14923 return udev_new ();
14925 return 0;
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 ac_cv_lib_udev_udev_new=yes
14930 else
14931 ac_cv_lib_udev_udev_new=no
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14935 LIBS=$ac_check_lib_save_LIBS
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14938 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14939 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14941 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14943 else
14944 UDEV_LIBS=""
14947 else
14948 UDEV_LIBS=""
14951 done
14953 CPPFLAGS=$ac_save_CPPFLAGS
14954 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14955 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14958 if test "x$UDEV_LIBS" = "x"; then :
14959 case "x$with_udev" in
14960 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14961 xno) ;;
14962 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14963 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14964 esac
14968 if test "x$with_unwind" != xno
14969 then
14970 if ${UNWIND_CFLAGS:+false} :; then :
14971 if ${PKG_CONFIG+:} false; then :
14972 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14976 if ${UNWIND_LIBS:+false} :; then :
14977 if ${PKG_CONFIG+:} false; then :
14978 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14982 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14983 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14984 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14985 ac_save_CPPFLAGS=$CPPFLAGS
14986 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14988 $as_echo_n "checking for unw_step... " >&6; }
14989 if ${wine_cv_have_unw_step+:} false; then :
14990 $as_echo_n "(cached) " >&6
14991 else
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14994 #define UNW_LOCAL_ONLY
14995 #include <libunwind.h>
14997 main ()
14999 unw_cursor_t cursor; unw_step( &cursor );
15001 return 0;
15003 _ACEOF
15004 if ac_fn_c_try_link "$LINENO"; then :
15005 wine_cv_have_unw_step="yes"
15006 else
15007 wine_cv_have_unw_step="no"
15009 rm -f core conftest.err conftest.$ac_objext \
15010 conftest$ac_exeext conftest.$ac_ext
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15013 $as_echo "$wine_cv_have_unw_step" >&6; }
15014 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15015 then
15016 save_libs=$LIBS
15017 LIBS="$UNWIND_LIBS $LIBS"
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15019 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15020 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15021 $as_echo_n "(cached) " >&6
15022 else
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15025 #define UNW_LOCAL_ONLY
15026 #include <libunwind.h>
15028 main ()
15030 unw_cursor_t cursor; unw_step( &cursor );
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 wine_cv_have_libunwind_unw_step="yes"
15037 else
15038 wine_cv_have_libunwind_unw_step="no"
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15044 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15045 LIBS=$save_libs
15047 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15048 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15049 then
15051 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15054 CPPFLAGS=$ac_save_CPPFLAGS
15055 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15056 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15059 case $host in
15060 aarch64*|*-darwin*)
15061 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15062 case "x$with_unwind" in
15063 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15064 xno) ;;
15065 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15066 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15067 esac
15069 fi ;;
15070 esac
15072 if test "x$with_sdl" != "xno"
15073 then
15074 if ${SDL2_CFLAGS:+false} :; then :
15075 if ${PKG_CONFIG+:} false; then :
15076 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15080 if ${SDL2_LIBS:+false} :; then :
15081 if ${PKG_CONFIG+:} false; then :
15082 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15086 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15087 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15088 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15089 ac_save_CPPFLAGS=$CPPFLAGS
15090 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15091 for ac_header in SDL2/SDL.h
15092 do :
15093 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15094 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15095 cat >>confdefs.h <<_ACEOF
15096 #define HAVE_SDL2_SDL_H 1
15097 _ACEOF
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15099 $as_echo_n "checking for -lSDL2... " >&6; }
15100 if ${ac_cv_lib_soname_SDL2+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 ac_check_soname_save_LIBS=$LIBS
15104 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15108 /* Override any GCC internal prototype to avoid an error.
15109 Use char because int might match the return type of a GCC
15110 builtin and then its argument prototype would still apply. */
15111 #ifdef __cplusplus
15112 extern "C"
15113 #endif
15114 char SDL_Init ();
15116 main ()
15118 return SDL_Init ();
15120 return 0;
15122 _ACEOF
15123 if ac_fn_c_try_link "$LINENO"; then :
15124 case "$LIBEXT" in
15125 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15126 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'` ;;
15127 *) 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'`
15128 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15129 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15130 fi ;;
15131 esac
15132 else
15133 ac_cv_lib_soname_SDL2=
15135 rm -f core conftest.err conftest.$ac_objext \
15136 conftest$ac_exeext conftest.$ac_ext
15137 LIBS=$ac_check_soname_save_LIBS
15139 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15141 $as_echo "not found" >&6; }
15143 else
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15145 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15147 cat >>confdefs.h <<_ACEOF
15148 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15149 _ACEOF
15155 done
15157 CPPFLAGS=$ac_save_CPPFLAGS
15158 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15159 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15162 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15163 case "x$with_sdl" in
15164 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15165 xno) ;;
15166 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15167 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15168 esac
15172 if test "x$with_faudio" != "xno"
15173 then
15174 if ${FAUDIO_CFLAGS:+false} :; then :
15175 if ${PKG_CONFIG+:} false; then :
15176 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15180 if ${FAUDIO_LIBS:+false} :; then :
15181 if ${PKG_CONFIG+:} false; then :
15182 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15186 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15187 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15188 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15189 ac_save_CPPFLAGS=$CPPFLAGS
15190 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15191 for ac_header in FAudio.h
15192 do :
15193 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15194 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15195 cat >>confdefs.h <<_ACEOF
15196 #define HAVE_FAUDIO_H 1
15197 _ACEOF
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15199 $as_echo_n "checking for -lFAudio... " >&6; }
15200 if ${ac_cv_lib_soname_FAudio+:} false; then :
15201 $as_echo_n "(cached) " >&6
15202 else
15203 ac_check_soname_save_LIBS=$LIBS
15204 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply. */
15211 #ifdef __cplusplus
15212 extern "C"
15213 #endif
15214 char FAudioCreate ();
15216 main ()
15218 return FAudioCreate ();
15220 return 0;
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 case "$LIBEXT" in
15225 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15226 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'` ;;
15227 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15228 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15229 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15230 fi ;;
15231 esac
15232 else
15233 ac_cv_lib_soname_FAudio=
15235 rm -f core conftest.err conftest.$ac_objext \
15236 conftest$ac_exeext conftest.$ac_ext
15237 LIBS=$ac_check_soname_save_LIBS
15239 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15241 $as_echo "not found" >&6; }
15243 else
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15245 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15247 cat >>confdefs.h <<_ACEOF
15248 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15249 _ACEOF
15255 done
15257 ac_wine_check_funcs_save_LIBS="$LIBS"
15258 LIBS="$LIBS $FAUDIO_LIBS"
15259 for ac_func in FAudio_CommitOperationSet \
15260 F3DAudioInitialize8 \
15261 FAudioLinkedVersion
15262 do :
15263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15265 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15266 cat >>confdefs.h <<_ACEOF
15267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15268 _ACEOF
15271 done
15273 LIBS="$ac_wine_check_funcs_save_LIBS"
15275 CPPFLAGS=$ac_save_CPPFLAGS
15276 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15277 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15280 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15281 case "x$with_faudio" in
15282 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15283 xno) ;;
15284 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15285 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15286 esac
15290 if test "x$with_capi" != "xno"
15291 then
15292 if ${CAPI20_CFLAGS:+false} :; then :
15293 if ${PKG_CONFIG+:} false; then :
15294 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15298 if ${CAPI20_LIBS:+false} :; then :
15299 if ${PKG_CONFIG+:} false; then :
15300 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15305 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15306 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15307 ac_save_CPPFLAGS=$CPPFLAGS
15308 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15309 for ac_header in capi20.h linux/capi.h
15310 do :
15311 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15312 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15314 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15315 cat >>confdefs.h <<_ACEOF
15316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15317 _ACEOF
15321 done
15323 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15324 then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15326 $as_echo_n "checking for -lcapi20... " >&6; }
15327 if ${ac_cv_lib_soname_capi20+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 ac_check_soname_save_LIBS=$LIBS
15331 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15335 /* Override any GCC internal prototype to avoid an error.
15336 Use char because int might match the return type of a GCC
15337 builtin and then its argument prototype would still apply. */
15338 #ifdef __cplusplus
15339 extern "C"
15340 #endif
15341 char capi20_register ();
15343 main ()
15345 return capi20_register ();
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_link "$LINENO"; then :
15351 case "$LIBEXT" in
15352 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15353 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'` ;;
15354 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15355 if ${ac_cv_lib_soname_capi20:+false} :; then :
15356 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15357 fi ;;
15358 esac
15359 else
15360 ac_cv_lib_soname_capi20=
15362 rm -f core conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15364 LIBS=$ac_check_soname_save_LIBS
15366 if ${ac_cv_lib_soname_capi20:+false} :; then :
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15368 $as_echo "not found" >&6; }
15370 else
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15372 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15374 cat >>confdefs.h <<_ACEOF
15375 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15376 _ACEOF
15381 CPPFLAGS=$ac_save_CPPFLAGS
15382 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15383 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15386 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15387 case "x$with_capi" in
15388 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15389 xno) ;;
15390 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15391 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15392 esac
15396 if test "x$with_cups" != "xno"
15397 then
15398 if ${CUPS_CFLAGS:+false} :; then :
15399 if ${PKG_CONFIG+:} false; then :
15400 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15403 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15404 if ${CUPS_LIBS:+false} :; then :
15405 if ${PKG_CONFIG+:} false; then :
15406 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15409 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15410 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15411 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15412 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15413 ac_save_CPPFLAGS=$CPPFLAGS
15414 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15415 for ac_header in cups/cups.h cups/ppd.h
15416 do :
15417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15418 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15422 _ACEOF
15426 done
15428 if test "$ac_cv_header_cups_cups_h" = "yes"
15429 then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15431 $as_echo_n "checking for -lcups... " >&6; }
15432 if ${ac_cv_lib_soname_cups+:} false; then :
15433 $as_echo_n "(cached) " >&6
15434 else
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lcups $CUPS_LIBS $LIBS"
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15440 /* Override any GCC internal prototype to avoid an error.
15441 Use char because int might match the return type of a GCC
15442 builtin and then its argument prototype would still apply. */
15443 #ifdef __cplusplus
15444 extern "C"
15445 #endif
15446 char cupsGetDefault ();
15448 main ()
15450 return cupsGetDefault ();
15452 return 0;
15454 _ACEOF
15455 if ac_fn_c_try_link "$LINENO"; then :
15456 case "$LIBEXT" in
15457 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_cups:+false} :; then :
15461 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15462 fi ;;
15463 esac
15464 else
15465 ac_cv_lib_soname_cups=
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext conftest.$ac_ext
15469 LIBS=$ac_check_soname_save_LIBS
15471 if ${ac_cv_lib_soname_cups:+false} :; then :
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15473 $as_echo "not found" >&6; }
15474 CUPS_LIBS=""
15475 else
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15477 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15479 cat >>confdefs.h <<_ACEOF
15480 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15481 _ACEOF
15485 else
15486 CUPS_CFLAGS=""
15487 CUPS_LIBS=""
15489 CPPFLAGS=$ac_save_CPPFLAGS
15490 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15491 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15494 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15495 case "x$with_cups" in
15496 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15497 xno) ;;
15498 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15499 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15500 esac
15504 if test "x$with_fontconfig" != "xno"
15505 then
15506 if ${FONTCONFIG_CFLAGS:+false} :; then :
15507 if ${PKG_CONFIG+:} false; then :
15508 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15511 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15512 if ${FONTCONFIG_LIBS:+false} :; then :
15513 if ${PKG_CONFIG+:} false; then :
15514 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15517 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15519 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15520 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15521 ac_save_CPPFLAGS=$CPPFLAGS
15522 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15523 for ac_header in fontconfig/fontconfig.h
15524 do :
15525 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15526 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15529 _ACEOF
15533 done
15535 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15536 then
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15538 $as_echo_n "checking for -lfontconfig... " >&6; }
15539 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15540 $as_echo_n "(cached) " >&6
15541 else
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 /* Override any GCC internal prototype to avoid an error.
15548 Use char because int might match the return type of a GCC
15549 builtin and then its argument prototype would still apply. */
15550 #ifdef __cplusplus
15551 extern "C"
15552 #endif
15553 char FcInit ();
15555 main ()
15557 return FcInit ();
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"; then :
15563 case "$LIBEXT" in
15564 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15565 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'` ;;
15566 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15567 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15568 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15569 fi ;;
15570 esac
15571 else
15572 ac_cv_lib_soname_fontconfig=
15574 rm -f core conftest.err conftest.$ac_objext \
15575 conftest$ac_exeext conftest.$ac_ext
15576 LIBS=$ac_check_soname_save_LIBS
15578 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15580 $as_echo "not found" >&6; }
15581 FONTCONFIG_CFLAGS=""
15582 else
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15584 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15586 cat >>confdefs.h <<_ACEOF
15587 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15588 _ACEOF
15592 else
15593 FONTCONFIG_CFLAGS=""
15595 CPPFLAGS=$ac_save_CPPFLAGS
15596 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15597 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15600 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15601 case "x$with_fontconfig" in
15602 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15603 xno) ;;
15604 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15605 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15606 esac
15610 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15611 then
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15613 $as_echo_n "checking for -lgsm... " >&6; }
15614 if ${ac_cv_lib_soname_gsm+:} false; then :
15615 $as_echo_n "(cached) " >&6
15616 else
15617 ac_check_soname_save_LIBS=$LIBS
15618 LIBS="-lgsm $LIBS"
15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15622 /* Override any GCC internal prototype to avoid an error.
15623 Use char because int might match the return type of a GCC
15624 builtin and then its argument prototype would still apply. */
15625 #ifdef __cplusplus
15626 extern "C"
15627 #endif
15628 char gsm_create ();
15630 main ()
15632 return gsm_create ();
15634 return 0;
15636 _ACEOF
15637 if ac_fn_c_try_link "$LINENO"; then :
15638 case "$LIBEXT" in
15639 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15640 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'` ;;
15641 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15642 if ${ac_cv_lib_soname_gsm:+false} :; then :
15643 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15644 fi ;;
15645 esac
15646 else
15647 ac_cv_lib_soname_gsm=
15649 rm -f core conftest.err conftest.$ac_objext \
15650 conftest$ac_exeext conftest.$ac_ext
15651 LIBS=$ac_check_soname_save_LIBS
15653 if ${ac_cv_lib_soname_gsm:+false} :; then :
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15655 $as_echo "not found" >&6; }
15657 else
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15659 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15661 cat >>confdefs.h <<_ACEOF
15662 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15663 _ACEOF
15668 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15669 case "x$with_gsm" in
15670 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15671 xno) ;;
15672 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15673 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15674 esac
15678 if test "x$with_krb5" != "xno"
15679 then
15680 if ${KRB5_CFLAGS:+false} :; then :
15681 if ${PKG_CONFIG+:} false; then :
15682 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15685 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15686 if ${KRB5_LIBS:+false} :; then :
15687 if ${PKG_CONFIG+:} false; then :
15688 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15691 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15693 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15694 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15695 ac_save_CPPFLAGS=$CPPFLAGS
15696 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15697 for ac_header in krb5/krb5.h
15698 do :
15699 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15700 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_KRB5_KRB5_H 1
15703 _ACEOF
15707 done
15709 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15710 then
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15712 $as_echo_n "checking for -lkrb5... " >&6; }
15713 if ${ac_cv_lib_soname_krb5+:} false; then :
15714 $as_echo_n "(cached) " >&6
15715 else
15716 ac_check_soname_save_LIBS=$LIBS
15717 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 /* Override any GCC internal prototype to avoid an error.
15722 Use char because int might match the return type of a GCC
15723 builtin and then its argument prototype would still apply. */
15724 #ifdef __cplusplus
15725 extern "C"
15726 #endif
15727 char krb5_is_config_principal ();
15729 main ()
15731 return krb5_is_config_principal ();
15733 return 0;
15735 _ACEOF
15736 if ac_fn_c_try_link "$LINENO"; then :
15737 case "$LIBEXT" in
15738 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15739 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'` ;;
15740 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15741 if ${ac_cv_lib_soname_krb5:+false} :; then :
15742 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15743 fi ;;
15744 esac
15745 else
15746 ac_cv_lib_soname_krb5=
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_soname_save_LIBS
15752 if ${ac_cv_lib_soname_krb5:+false} :; then :
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15754 $as_echo "not found" >&6; }
15755 KRB5_CFLAGS=""
15756 else
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15758 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15760 cat >>confdefs.h <<_ACEOF
15761 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15762 _ACEOF
15766 else
15767 KRB5_CFLAGS=""
15769 CPPFLAGS=$ac_save_CPPFLAGS
15770 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15771 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15774 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15775 case "x$with_krb5" in
15776 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15777 xno) ;;
15778 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15779 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15780 esac
15783 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15785 if test "x$with_gssapi" != "xno"
15786 then
15787 if ${GSSAPI_CFLAGS:+false} :; then :
15788 if ${PKG_CONFIG+:} false; then :
15789 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15792 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15793 if ${GSSAPI_LIBS:+false} :; then :
15794 if ${PKG_CONFIG+:} false; then :
15795 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15798 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15800 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15801 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15802 ac_save_CPPFLAGS=$CPPFLAGS
15803 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15804 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15805 do :
15806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15811 _ACEOF
15815 done
15817 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15818 then
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15820 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15821 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15822 $as_echo_n "(cached) " >&6
15823 else
15824 ac_check_soname_save_LIBS=$LIBS
15825 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15829 /* Override any GCC internal prototype to avoid an error.
15830 Use char because int might match the return type of a GCC
15831 builtin and then its argument prototype would still apply. */
15832 #ifdef __cplusplus
15833 extern "C"
15834 #endif
15835 char gss_init_sec_context ();
15837 main ()
15839 return gss_init_sec_context ();
15841 return 0;
15843 _ACEOF
15844 if ac_fn_c_try_link "$LINENO"; then :
15845 case "$LIBEXT" in
15846 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15847 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'` ;;
15848 *) 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'`
15849 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15850 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15851 fi ;;
15852 esac
15853 else
15854 ac_cv_lib_soname_gssapi_krb5=
15856 rm -f core conftest.err conftest.$ac_objext \
15857 conftest$ac_exeext conftest.$ac_ext
15858 LIBS=$ac_check_soname_save_LIBS
15860 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15862 $as_echo "not found" >&6; }
15863 GSSAPI_CFLAGS=""
15864 else
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15866 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15868 cat >>confdefs.h <<_ACEOF
15869 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15870 _ACEOF
15874 else
15875 GSSAPI_CFLAGS=""
15877 CPPFLAGS=$ac_save_CPPFLAGS
15878 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15879 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15882 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15883 case "x$with_gssapi" in
15884 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15885 xno) ;;
15886 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15887 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15888 esac
15892 if test "x$with_jpeg" != "xno"
15893 then
15894 if ${JPEG_CFLAGS:+false} :; then :
15895 if ${PKG_CONFIG+:} false; then :
15896 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15900 if ${JPEG_LIBS:+false} :; then :
15901 if ${PKG_CONFIG+:} false; then :
15902 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15907 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15908 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15909 ac_save_CPPFLAGS=$CPPFLAGS
15910 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15911 for ac_header in jpeglib.h
15912 do :
15913 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15914 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_JPEGLIB_H 1
15917 _ACEOF
15921 done
15923 if test "$ac_cv_header_jpeglib_h" = "yes"
15924 then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15926 $as_echo_n "checking for -ljpeg... " >&6; }
15927 if ${ac_cv_lib_soname_jpeg+:} false; then :
15928 $as_echo_n "(cached) " >&6
15929 else
15930 ac_check_soname_save_LIBS=$LIBS
15931 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 #ifdef __cplusplus
15939 extern "C"
15940 #endif
15941 char jpeg_start_decompress ();
15943 main ()
15945 return jpeg_start_decompress ();
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_link "$LINENO"; then :
15951 case "$LIBEXT" in
15952 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15953 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'` ;;
15954 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15955 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15956 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15957 fi ;;
15958 esac
15959 else
15960 ac_cv_lib_soname_jpeg=
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15964 LIBS=$ac_check_soname_save_LIBS
15966 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15968 $as_echo "not found" >&6; }
15969 JPEG_CFLAGS=""
15970 else
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15972 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15974 cat >>confdefs.h <<_ACEOF
15975 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15976 _ACEOF
15980 else
15981 JPEG_CFLAGS=""
15983 CPPFLAGS=$ac_save_CPPFLAGS
15984 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15985 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15988 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15989 case "x$with_jpeg" in
15990 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15991 xno) ;;
15992 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15993 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15994 esac
15998 if test "x$with_png" != "xno"
15999 then
16000 if ${PNG_CFLAGS:+false} :; then :
16001 if ${PKG_CONFIG+:} false; then :
16002 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16005 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16006 if ${PNG_LIBS:+false} :; then :
16007 if ${PKG_CONFIG+:} false; then :
16008 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16011 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16013 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16014 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16015 ac_save_CPPFLAGS=$CPPFLAGS
16016 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16017 for ac_header in png.h
16018 do :
16019 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16020 if test "x$ac_cv_header_png_h" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_PNG_H 1
16023 _ACEOF
16027 done
16029 if test "$ac_cv_header_png_h" = "yes"
16030 then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16032 $as_echo_n "checking for -lpng... " >&6; }
16033 if ${ac_cv_lib_soname_png+:} false; then :
16034 $as_echo_n "(cached) " >&6
16035 else
16036 ac_check_soname_save_LIBS=$LIBS
16037 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16041 /* Override any GCC internal prototype to avoid an error.
16042 Use char because int might match the return type of a GCC
16043 builtin and then its argument prototype would still apply. */
16044 #ifdef __cplusplus
16045 extern "C"
16046 #endif
16047 char png_create_read_struct ();
16049 main ()
16051 return png_create_read_struct ();
16053 return 0;
16055 _ACEOF
16056 if ac_fn_c_try_link "$LINENO"; then :
16057 case "$LIBEXT" in
16058 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16059 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'` ;;
16060 *) 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'`
16061 if ${ac_cv_lib_soname_png:+false} :; then :
16062 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16063 fi ;;
16064 esac
16065 else
16066 ac_cv_lib_soname_png=
16068 rm -f core conftest.err conftest.$ac_objext \
16069 conftest$ac_exeext conftest.$ac_ext
16070 LIBS=$ac_check_soname_save_LIBS
16072 if ${ac_cv_lib_soname_png:+false} :; then :
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16074 $as_echo "not found" >&6; }
16075 PNG_CFLAGS=""
16076 else
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16078 $as_echo "$ac_cv_lib_soname_png" >&6; }
16080 cat >>confdefs.h <<_ACEOF
16081 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16082 _ACEOF
16086 else
16087 PNG_CFLAGS=""
16089 CPPFLAGS=$ac_save_CPPFLAGS
16090 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16091 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16094 if test "x$ac_cv_lib_soname_png" = "x"; then :
16095 case "x$with_png" in
16096 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16097 xno) ;;
16098 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16099 This is an error since --with-png was requested." "$LINENO" 5 ;;
16100 esac
16104 if test "x$with_tiff" != "xno"
16105 then
16106 if ${TIFF_CFLAGS:+false} :; then :
16107 if ${PKG_CONFIG+:} false; then :
16108 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16112 if ${TIFF_LIBS:+false} :; then :
16113 if ${PKG_CONFIG+:} false; then :
16114 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16119 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16120 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16121 ac_save_CPPFLAGS=$CPPFLAGS
16122 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16123 for ac_header in tiffio.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_TIFFIO_H 1
16129 _ACEOF
16133 done
16135 if test "$ac_cv_header_tiffio_h" = "yes"
16136 then
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16138 $as_echo_n "checking for -ltiff... " >&6; }
16139 if ${ac_cv_lib_soname_tiff+:} false; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_check_soname_save_LIBS=$LIBS
16143 LIBS="-ltiff $TIFF_LIBS $LIBS"
16144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16145 /* end confdefs.h. */
16147 /* Override any GCC internal prototype to avoid an error.
16148 Use char because int might match the return type of a GCC
16149 builtin and then its argument prototype would still apply. */
16150 #ifdef __cplusplus
16151 extern "C"
16152 #endif
16153 char TIFFClientOpen ();
16155 main ()
16157 return TIFFClientOpen ();
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_link "$LINENO"; then :
16163 case "$LIBEXT" in
16164 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16165 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'` ;;
16166 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16167 if ${ac_cv_lib_soname_tiff:+false} :; then :
16168 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16169 fi ;;
16170 esac
16171 else
16172 ac_cv_lib_soname_tiff=
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext conftest.$ac_ext
16176 LIBS=$ac_check_soname_save_LIBS
16178 if ${ac_cv_lib_soname_tiff:+false} :; then :
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16180 $as_echo "not found" >&6; }
16182 else
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16184 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16186 cat >>confdefs.h <<_ACEOF
16187 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16188 _ACEOF
16193 CPPFLAGS=$ac_save_CPPFLAGS
16194 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16195 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16198 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16199 case "x$with_tiff" in
16200 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16201 xno) ;;
16202 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16203 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16204 esac
16208 if test "x$with_mpg123" != "xno"
16209 then
16210 if ${MPG123_CFLAGS:+false} :; then :
16211 if ${PKG_CONFIG+:} false; then :
16212 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16216 if ${MPG123_LIBS:+false} :; then :
16217 if ${PKG_CONFIG+:} false; then :
16218 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16222 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16223 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16224 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16225 ac_save_CPPFLAGS=$CPPFLAGS
16226 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16227 for ac_header in mpg123.h
16228 do :
16229 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16230 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16231 cat >>confdefs.h <<_ACEOF
16232 #define HAVE_MPG123_H 1
16233 _ACEOF
16237 done
16239 if test "$ac_cv_header_mpg123_h" = "yes"
16240 then
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16242 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16243 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16244 $as_echo_n "(cached) " >&6
16245 else
16246 ac_check_lib_save_LIBS=$LIBS
16247 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16251 /* Override any GCC internal prototype to avoid an error.
16252 Use char because int might match the return type of a GCC
16253 builtin and then its argument prototype would still apply. */
16254 #ifdef __cplusplus
16255 extern "C"
16256 #endif
16257 char mpg123_feed ();
16259 main ()
16261 return mpg123_feed ();
16263 return 0;
16265 _ACEOF
16266 if ac_fn_c_try_link "$LINENO"; then :
16267 ac_cv_lib_mpg123_mpg123_feed=yes
16268 else
16269 ac_cv_lib_mpg123_mpg123_feed=no
16271 rm -f core conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16273 LIBS=$ac_check_lib_save_LIBS
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16276 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16277 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16279 else
16280 MPG123_LIBS=""
16283 else
16284 MPG123_CFLAGS=""
16285 MPG123_LIBS=""
16287 CPPFLAGS=$ac_save_CPPFLAGS
16288 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16289 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16292 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16293 case "x$with_mpg123" in
16294 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16295 xno) ;;
16296 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16297 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16298 esac
16299 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16301 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16303 if test "$ac_cv_header_AL_al_h" = "yes"
16304 then
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16306 $as_echo_n "checking for -lopenal... " >&6; }
16307 if ${ac_cv_lib_soname_openal+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 ac_check_soname_save_LIBS=$LIBS
16311 LIBS="-lopenal $LIBS"
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16315 /* Override any GCC internal prototype to avoid an error.
16316 Use char because int might match the return type of a GCC
16317 builtin and then its argument prototype would still apply. */
16318 #ifdef __cplusplus
16319 extern "C"
16320 #endif
16321 char alGetSource3i ();
16323 main ()
16325 return alGetSource3i ();
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"; then :
16331 case "$LIBEXT" in
16332 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16333 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'` ;;
16334 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16335 if ${ac_cv_lib_soname_openal:+false} :; then :
16336 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16337 fi ;;
16338 esac
16339 else
16340 ac_cv_lib_soname_openal=
16342 rm -f core conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16344 LIBS=$ac_check_soname_save_LIBS
16346 if ${ac_cv_lib_soname_openal:+false} :; then :
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16348 $as_echo "not found" >&6; }
16350 else
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16352 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16354 cat >>confdefs.h <<_ACEOF
16355 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16356 _ACEOF
16358 OPENAL_LIBS="-lopenal"
16360 ac_cv_lib_openal=yes
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_OPENAL 1
16364 _ACEOF
16368 if test "x$ac_cv_lib_openal" != xyes; then :
16369 case "x$with_openal" in
16370 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16371 xno) ;;
16372 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16373 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16374 esac
16375 enable_openal32=${enable_openal32:-no}
16378 if test "x$ac_cv_lib_soname_FAudio" = "x"
16379 then
16380 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16381 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16382 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16383 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16384 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16385 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16386 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16387 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16388 enable_xapofx1_1=${enable_xapofx1_1:-no}
16389 enable_xapofx1_2=${enable_xapofx1_2:-no}
16390 enable_xapofx1_3=${enable_xapofx1_3:-no}
16391 enable_xapofx1_4=${enable_xapofx1_4:-no}
16392 enable_xapofx1_5=${enable_xapofx1_5:-no}
16393 enable_xaudio2_0=${enable_xaudio2_0:-no}
16394 enable_xaudio2_1=${enable_xaudio2_1:-no}
16395 enable_xaudio2_2=${enable_xaudio2_2:-no}
16396 enable_xaudio2_3=${enable_xaudio2_3:-no}
16397 enable_xaudio2_4=${enable_xaudio2_4:-no}
16398 enable_xaudio2_5=${enable_xaudio2_5:-no}
16399 enable_xaudio2_6=${enable_xaudio2_6:-no}
16400 enable_xaudio2_7=${enable_xaudio2_7:-no}
16401 enable_xaudio2_8=${enable_xaudio2_8:-no}
16402 enable_xaudio2_9=${enable_xaudio2_9:-no}
16405 if test "$ac_cv_header_kstat_h" = "yes"
16406 then
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16408 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16409 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16412 ac_check_lib_save_LIBS=$LIBS
16413 LIBS="-lkstat $LIBS"
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16417 /* Override any GCC internal prototype to avoid an error.
16418 Use char because int might match the return type of a GCC
16419 builtin and then its argument prototype would still apply. */
16420 #ifdef __cplusplus
16421 extern "C"
16422 #endif
16423 char kstat_open ();
16425 main ()
16427 return kstat_open ();
16429 return 0;
16431 _ACEOF
16432 if ac_fn_c_try_link "$LINENO"; then :
16433 ac_cv_lib_kstat_kstat_open=yes
16434 else
16435 ac_cv_lib_kstat_kstat_open=no
16437 rm -f core conftest.err conftest.$ac_objext \
16438 conftest$ac_exeext conftest.$ac_ext
16439 LIBS=$ac_check_lib_save_LIBS
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16442 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16443 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16445 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16447 KSTAT_LIBS="-lkstat"
16453 if test "$ac_cv_header_libprocstat_h" = "yes"
16454 then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16456 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16457 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 ac_check_lib_save_LIBS=$LIBS
16461 LIBS="-lprocstat $LIBS"
16462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16465 /* Override any GCC internal prototype to avoid an error.
16466 Use char because int might match the return type of a GCC
16467 builtin and then its argument prototype would still apply. */
16468 #ifdef __cplusplus
16469 extern "C"
16470 #endif
16471 char procstat_open_sysctl ();
16473 main ()
16475 return procstat_open_sysctl ();
16477 return 0;
16479 _ACEOF
16480 if ac_fn_c_try_link "$LINENO"; then :
16481 ac_cv_lib_procstat_procstat_open_sysctl=yes
16482 else
16483 ac_cv_lib_procstat_procstat_open_sysctl=no
16485 rm -f core conftest.err conftest.$ac_objext \
16486 conftest$ac_exeext conftest.$ac_ext
16487 LIBS=$ac_check_lib_save_LIBS
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16490 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16491 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16493 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16495 PROCSTAT_LIBS="-lprocstat"
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16502 $as_echo_n "checking for -lodbc... " >&6; }
16503 if ${ac_cv_lib_soname_odbc+:} false; then :
16504 $as_echo_n "(cached) " >&6
16505 else
16506 ac_check_soname_save_LIBS=$LIBS
16507 LIBS="-lodbc $LIBS"
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16511 /* Override any GCC internal prototype to avoid an error.
16512 Use char because int might match the return type of a GCC
16513 builtin and then its argument prototype would still apply. */
16514 #ifdef __cplusplus
16515 extern "C"
16516 #endif
16517 char SQLConnect ();
16519 main ()
16521 return SQLConnect ();
16523 return 0;
16525 _ACEOF
16526 if ac_fn_c_try_link "$LINENO"; then :
16527 case "$LIBEXT" in
16528 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16529 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'` ;;
16530 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16531 if ${ac_cv_lib_soname_odbc:+false} :; then :
16532 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16533 fi ;;
16534 esac
16535 else
16536 ac_cv_lib_soname_odbc=
16538 rm -f core conftest.err conftest.$ac_objext \
16539 conftest$ac_exeext conftest.$ac_ext
16540 LIBS=$ac_check_soname_save_LIBS
16542 if ${ac_cv_lib_soname_odbc:+false} :; then :
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16544 $as_echo "not found" >&6; }
16545 cat >>confdefs.h <<_ACEOF
16546 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16547 _ACEOF
16549 else
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16551 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16553 cat >>confdefs.h <<_ACEOF
16554 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16555 _ACEOF
16560 if test "x$with_netapi" != "xno"
16561 then
16562 if ${NETAPI_CFLAGS:+false} :; then :
16563 if ${PKG_CONFIG+:} false; then :
16564 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16568 if ${NETAPI_LIBS:+false} :; then :
16569 if ${PKG_CONFIG+:} false; then :
16570 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16575 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16576 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16577 ac_save_CPPFLAGS=$CPPFLAGS
16578 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16580 $as_echo_n "checking for -lnetapi... " >&6; }
16581 if ${ac_cv_lib_soname_netapi+:} false; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 ac_check_soname_save_LIBS=$LIBS
16585 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16589 /* Override any GCC internal prototype to avoid an error.
16590 Use char because int might match the return type of a GCC
16591 builtin and then its argument prototype would still apply. */
16592 #ifdef __cplusplus
16593 extern "C"
16594 #endif
16595 char libnetapi_init ();
16597 main ()
16599 return libnetapi_init ();
16601 return 0;
16603 _ACEOF
16604 if ac_fn_c_try_link "$LINENO"; then :
16605 case "$LIBEXT" in
16606 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16607 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'` ;;
16608 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16609 if ${ac_cv_lib_soname_netapi:+false} :; then :
16610 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16611 fi ;;
16612 esac
16613 else
16614 ac_cv_lib_soname_netapi=
16616 rm -f core conftest.err conftest.$ac_objext \
16617 conftest$ac_exeext conftest.$ac_ext
16618 LIBS=$ac_check_soname_save_LIBS
16620 if ${ac_cv_lib_soname_netapi:+false} :; then :
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16622 $as_echo "not found" >&6; }
16623 cat >>confdefs.h <<_ACEOF
16624 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16625 _ACEOF
16627 else
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16629 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16631 cat >>confdefs.h <<_ACEOF
16632 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16633 _ACEOF
16637 CPPFLAGS=$ac_save_CPPFLAGS
16638 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16639 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16643 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16644 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16645 then
16646 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16649 if test "x$with_vulkan" != "xno"
16650 then
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16652 $as_echo_n "checking for -lvulkan... " >&6; }
16653 if ${ac_cv_lib_soname_vulkan+:} false; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16656 ac_check_soname_save_LIBS=$LIBS
16657 LIBS="-lvulkan $LIBS"
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16661 /* Override any GCC internal prototype to avoid an error.
16662 Use char because int might match the return type of a GCC
16663 builtin and then its argument prototype would still apply. */
16664 #ifdef __cplusplus
16665 extern "C"
16666 #endif
16667 char vkGetInstanceProcAddr ();
16669 main ()
16671 return vkGetInstanceProcAddr ();
16673 return 0;
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"; then :
16677 case "$LIBEXT" in
16678 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16679 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'` ;;
16680 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16681 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16682 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16683 fi ;;
16684 esac
16685 else
16686 ac_cv_lib_soname_vulkan=
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16690 LIBS=$ac_check_soname_save_LIBS
16692 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16694 $as_echo "not found" >&6; }
16696 else
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16698 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16700 cat >>confdefs.h <<_ACEOF
16701 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16702 _ACEOF
16706 if test "x$ac_cv_lib_soname_vulkan" = "x"
16707 then
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16709 $as_echo_n "checking for -lMoltenVK... " >&6; }
16710 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 ac_check_soname_save_LIBS=$LIBS
16714 LIBS="-lMoltenVK $LIBS"
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16718 /* Override any GCC internal prototype to avoid an error.
16719 Use char because int might match the return type of a GCC
16720 builtin and then its argument prototype would still apply. */
16721 #ifdef __cplusplus
16722 extern "C"
16723 #endif
16724 char vkGetInstanceProcAddr ();
16726 main ()
16728 return vkGetInstanceProcAddr ();
16730 return 0;
16732 _ACEOF
16733 if ac_fn_c_try_link "$LINENO"; then :
16734 case "$LIBEXT" in
16735 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16736 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'` ;;
16737 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16738 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16739 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16740 fi ;;
16741 esac
16742 else
16743 ac_cv_lib_soname_MoltenVK=
16745 rm -f core conftest.err conftest.$ac_objext \
16746 conftest$ac_exeext conftest.$ac_ext
16747 LIBS=$ac_check_soname_save_LIBS
16749 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16751 $as_echo "not found" >&6; }
16753 else
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16755 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16757 cat >>confdefs.h <<_ACEOF
16758 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16759 _ACEOF
16765 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16766 case "x$with_vulkan" in
16767 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16768 xno) ;;
16769 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16770 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16771 esac
16775 if test "x$with_vkd3d" != "xno"
16776 then
16777 if ${VKD3D_CFLAGS:+false} :; then :
16778 if ${PKG_CONFIG+:} false; then :
16779 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16783 if ${VKD3D_LIBS:+false} :; then :
16784 if ${PKG_CONFIG+:} false; then :
16785 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16790 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16791 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16792 ac_save_CPPFLAGS=$CPPFLAGS
16793 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16795 $as_echo_n "checking for -lvkd3d... " >&6; }
16796 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16797 $as_echo_n "(cached) " >&6
16798 else
16799 ac_check_soname_save_LIBS=$LIBS
16800 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16804 /* Override any GCC internal prototype to avoid an error.
16805 Use char because int might match the return type of a GCC
16806 builtin and then its argument prototype would still apply. */
16807 #ifdef __cplusplus
16808 extern "C"
16809 #endif
16810 char vkd3d_get_dxgi_format ();
16812 main ()
16814 return vkd3d_get_dxgi_format ();
16816 return 0;
16818 _ACEOF
16819 if ac_fn_c_try_link "$LINENO"; then :
16820 case "$LIBEXT" in
16821 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16822 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'` ;;
16823 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16824 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16825 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16826 fi ;;
16827 esac
16828 else
16829 ac_cv_lib_soname_vkd3d=
16831 rm -f core conftest.err conftest.$ac_objext \
16832 conftest$ac_exeext conftest.$ac_ext
16833 LIBS=$ac_check_soname_save_LIBS
16835 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16837 $as_echo "not found" >&6; }
16839 else
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16841 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16843 cat >>confdefs.h <<_ACEOF
16844 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16845 _ACEOF
16849 CPPFLAGS=$ac_save_CPPFLAGS
16850 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16851 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16854 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16855 case "x$with_vkd3d" in
16856 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16857 xno) ;;
16858 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16859 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16860 esac
16863 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16866 EXTRACFLAGS=""
16868 if test "x${GCC}" = "xyes"
16869 then
16870 EXTRACFLAGS="-Wall -pipe"
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16873 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16874 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16875 $as_echo_n "(cached) " >&6
16876 else
16877 ac_wine_try_cflags_saved=$CFLAGS
16878 CFLAGS="$CFLAGS -fcf-protection=none"
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16881 int main(int argc, char **argv) { return 0; }
16882 _ACEOF
16883 if ac_fn_c_try_link "$LINENO"; then :
16884 ac_cv_cflags__fcf_protection_none=yes
16885 else
16886 ac_cv_cflags__fcf_protection_none=no
16888 rm -f core conftest.err conftest.$ac_objext \
16889 conftest$ac_exeext conftest.$ac_ext
16890 CFLAGS=$ac_wine_try_cflags_saved
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16893 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16894 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16895 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16898 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16899 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 ac_wine_try_cflags_saved=$CFLAGS
16903 CFLAGS="$CFLAGS -fno-stack-protector"
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 int main(int argc, char **argv) { return 0; }
16907 _ACEOF
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_cflags__fno_stack_protector=yes
16910 else
16911 ac_cv_cflags__fno_stack_protector=no
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 CFLAGS=$ac_wine_try_cflags_saved
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16918 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16919 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16920 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16923 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16924 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16927 ac_wine_try_cflags_saved=$CFLAGS
16928 CFLAGS="$CFLAGS -fno-strict-aliasing"
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 int main(int argc, char **argv) { return 0; }
16932 _ACEOF
16933 if ac_fn_c_try_link "$LINENO"; then :
16934 ac_cv_cflags__fno_strict_aliasing=yes
16935 else
16936 ac_cv_cflags__fno_strict_aliasing=no
16938 rm -f core conftest.err conftest.$ac_objext \
16939 conftest$ac_exeext conftest.$ac_ext
16940 CFLAGS=$ac_wine_try_cflags_saved
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16943 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16944 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16945 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16948 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16949 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 ac_wine_try_cflags_saved=$CFLAGS
16953 CFLAGS="$CFLAGS -fexcess-precision=standard"
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16956 int main(int argc, char **argv) { return 0; }
16957 _ACEOF
16958 if ac_fn_c_try_link "$LINENO"; then :
16959 ac_cv_cflags__fexcess_precision_standard=yes
16960 else
16961 ac_cv_cflags__fexcess_precision_standard=no
16963 rm -f core conftest.err conftest.$ac_objext \
16964 conftest$ac_exeext conftest.$ac_ext
16965 CFLAGS=$ac_wine_try_cflags_saved
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16968 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16969 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16970 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16973 saved_CFLAGS=$CFLAGS
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16975 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16976 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979 ac_wine_try_cflags_saved=$CFLAGS
16980 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 int main(int argc, char **argv) { return 0; }
16984 _ACEOF
16985 if ac_fn_c_try_link "$LINENO"; then :
16986 ac_cv_cflags__Werror_unknown_warning_option=yes
16987 else
16988 ac_cv_cflags__Werror_unknown_warning_option=no
16990 rm -f core conftest.err conftest.$ac_objext \
16991 conftest$ac_exeext conftest.$ac_ext
16992 CFLAGS=$ac_wine_try_cflags_saved
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16995 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16996 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16997 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17000 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17001 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 ac_wine_try_cflags_saved=$CFLAGS
17005 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 int main(int argc, char **argv) { return 0; }
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 ac_cv_cflags__Werror_unused_command_line_argument=yes
17012 else
17013 ac_cv_cflags__Werror_unused_command_line_argument=no
17015 rm -f core conftest.err conftest.$ac_objext \
17016 conftest$ac_exeext conftest.$ac_ext
17017 CFLAGS=$ac_wine_try_cflags_saved
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17020 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17021 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17022 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17025 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17026 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_wine_try_cflags_saved=$CFLAGS
17030 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 int main(int argc, char **argv) { return 0; }
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 ac_cv_cflags__Wdeclaration_after_statement=yes
17037 else
17038 ac_cv_cflags__Wdeclaration_after_statement=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17042 CFLAGS=$ac_wine_try_cflags_saved
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17045 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17046 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17047 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17050 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17051 if ${ac_cv_cflags__Wempty_body+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 ac_wine_try_cflags_saved=$CFLAGS
17055 CFLAGS="$CFLAGS -Wempty-body"
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 int main(int argc, char **argv) { return 0; }
17059 _ACEOF
17060 if ac_fn_c_try_link "$LINENO"; then :
17061 ac_cv_cflags__Wempty_body=yes
17062 else
17063 ac_cv_cflags__Wempty_body=no
17065 rm -f core conftest.err conftest.$ac_objext \
17066 conftest$ac_exeext conftest.$ac_ext
17067 CFLAGS=$ac_wine_try_cflags_saved
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17070 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17071 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17072 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17075 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17076 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17077 $as_echo_n "(cached) " >&6
17078 else
17079 ac_wine_try_cflags_saved=$CFLAGS
17080 CFLAGS="$CFLAGS -Wignored-qualifiers"
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083 int main(int argc, char **argv) { return 0; }
17084 _ACEOF
17085 if ac_fn_c_try_link "$LINENO"; then :
17086 ac_cv_cflags__Wignored_qualifiers=yes
17087 else
17088 ac_cv_cflags__Wignored_qualifiers=no
17090 rm -f core conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17092 CFLAGS=$ac_wine_try_cflags_saved
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17095 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17096 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17097 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17100 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17101 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 ac_wine_try_cflags_saved=$CFLAGS
17105 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 int main(int argc, char **argv) { return 0; }
17109 _ACEOF
17110 if ac_fn_c_try_link "$LINENO"; then :
17111 ac_cv_cflags__Wpacked_not_aligned=yes
17112 else
17113 ac_cv_cflags__Wpacked_not_aligned=no
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17117 CFLAGS=$ac_wine_try_cflags_saved
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17120 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17121 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17122 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17125 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17126 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 ac_wine_try_cflags_saved=$CFLAGS
17130 CFLAGS="$CFLAGS -Wpragma-pack"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 int main(int argc, char **argv) { return 0; }
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_cflags__Wpragma_pack=yes
17137 else
17138 ac_cv_cflags__Wpragma_pack=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 CFLAGS=$ac_wine_try_cflags_saved
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17145 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17146 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17147 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17150 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17151 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 ac_wine_try_cflags_saved=$CFLAGS
17155 CFLAGS="$CFLAGS -Wshift-overflow=2"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 int main(int argc, char **argv) { return 0; }
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_cflags__Wshift_overflow_2=yes
17162 else
17163 ac_cv_cflags__Wshift_overflow_2=no
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17167 CFLAGS=$ac_wine_try_cflags_saved
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17170 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17171 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17172 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17175 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17176 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17177 $as_echo_n "(cached) " >&6
17178 else
17179 ac_wine_try_cflags_saved=$CFLAGS
17180 CFLAGS="$CFLAGS -Wstrict-prototypes"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 int main(int argc, char **argv) { return 0; }
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_cflags__Wstrict_prototypes=yes
17187 else
17188 ac_cv_cflags__Wstrict_prototypes=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 CFLAGS=$ac_wine_try_cflags_saved
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17195 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17196 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17197 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17200 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17201 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 ac_wine_try_cflags_saved=$CFLAGS
17205 CFLAGS="$CFLAGS -Wtype-limits"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 int main(int argc, char **argv) { return 0; }
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_cflags__Wtype_limits=yes
17212 else
17213 ac_cv_cflags__Wtype_limits=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17217 CFLAGS=$ac_wine_try_cflags_saved
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17220 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17221 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17222 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17225 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17226 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_wine_try_cflags_saved=$CFLAGS
17230 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 int main(int argc, char **argv) { return 0; }
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 ac_cv_cflags__Wunused_but_set_parameter=yes
17237 else
17238 ac_cv_cflags__Wunused_but_set_parameter=no
17240 rm -f core conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17242 CFLAGS=$ac_wine_try_cflags_saved
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17245 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17246 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17247 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17250 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17251 if ${ac_cv_cflags__Wvla+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 ac_wine_try_cflags_saved=$CFLAGS
17255 CFLAGS="$CFLAGS -Wvla"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 int main(int argc, char **argv) { return 0; }
17259 _ACEOF
17260 if ac_fn_c_try_link "$LINENO"; then :
17261 ac_cv_cflags__Wvla=yes
17262 else
17263 ac_cv_cflags__Wvla=no
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 CFLAGS=$ac_wine_try_cflags_saved
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17270 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17271 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17272 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17275 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17276 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 ac_wine_try_cflags_saved=$CFLAGS
17280 CFLAGS="$CFLAGS -Wwrite-strings"
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17283 int main(int argc, char **argv) { return 0; }
17284 _ACEOF
17285 if ac_fn_c_try_link "$LINENO"; then :
17286 ac_cv_cflags__Wwrite_strings=yes
17287 else
17288 ac_cv_cflags__Wwrite_strings=no
17290 rm -f core conftest.err conftest.$ac_objext \
17291 conftest$ac_exeext conftest.$ac_ext
17292 CFLAGS=$ac_wine_try_cflags_saved
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17295 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17296 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17297 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17301 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17302 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wpointer-arith"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wpointer_arith=yes
17313 else
17314 ac_cv_cflags__Wpointer_arith=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17321 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17322 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17323 saved_string_h_CFLAGS=$CFLAGS
17324 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17326 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17327 if ${ac_cv_c_string_h_warnings+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #include <string.h>
17334 main ()
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_compile "$LINENO"; then :
17342 ac_cv_c_string_h_warnings=no
17343 else
17344 ac_cv_c_string_h_warnings=yes
17346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17349 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17350 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17351 CFLAGS=$saved_string_h_CFLAGS
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17355 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17356 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 ac_wine_try_cflags_saved=$CFLAGS
17360 CFLAGS="$CFLAGS -Wlogical-op"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363 int main(int argc, char **argv) { return 0; }
17364 _ACEOF
17365 if ac_fn_c_try_link "$LINENO"; then :
17366 ac_cv_cflags__Wlogical_op=yes
17367 else
17368 ac_cv_cflags__Wlogical_op=no
17370 rm -f core conftest.err conftest.$ac_objext \
17371 conftest$ac_exeext conftest.$ac_ext
17372 CFLAGS=$ac_wine_try_cflags_saved
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17375 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17376 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17377 saved_string_h_CFLAGS=$CFLAGS
17378 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17380 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17381 if ${ac_cv_c_logicalop_noisy+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #include <string.h>
17387 char*f(const char *h,char n) {return strchr(h,n);}
17389 main ()
17393 return 0;
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 ac_cv_c_logicalop_noisy=no
17398 else
17399 ac_cv_c_logicalop_noisy=yes
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17404 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17405 CFLAGS=$saved_string_h_CFLAGS
17406 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17409 for ac_flag in $CFLAGS; do
17410 case $ac_flag in
17411 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17412 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17413 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17414 $as_echo_n "(cached) " >&6
17415 else
17416 ac_wine_try_cflags_saved=$CFLAGS
17417 CFLAGS="$CFLAGS -gdwarf-2"
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 int main(int argc, char **argv) { return 0; }
17421 _ACEOF
17422 if ac_fn_c_try_link "$LINENO"; then :
17423 ac_cv_cflags__gdwarf_2=yes
17424 else
17425 ac_cv_cflags__gdwarf_2=no
17427 rm -f core conftest.err conftest.$ac_objext \
17428 conftest$ac_exeext conftest.$ac_ext
17429 CFLAGS=$ac_wine_try_cflags_saved
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17432 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17433 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17434 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17437 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17438 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17439 $as_echo_n "(cached) " >&6
17440 else
17441 ac_wine_try_cflags_saved=$CFLAGS
17442 CFLAGS="$CFLAGS -gstrict-dwarf"
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17445 int main(int argc, char **argv) { return 0; }
17446 _ACEOF
17447 if ac_fn_c_try_link "$LINENO"; then :
17448 ac_cv_cflags__gstrict_dwarf=yes
17449 else
17450 ac_cv_cflags__gstrict_dwarf=no
17452 rm -f core conftest.err conftest.$ac_objext \
17453 conftest$ac_exeext conftest.$ac_ext
17454 CFLAGS=$ac_wine_try_cflags_saved
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17457 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17458 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17459 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17460 fi ;;
17461 esac
17462 done
17464 MSVCRTFLAGS=""
17466 case $host_os in
17467 mingw32*) ;;
17468 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17469 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17470 if ${ac_cv_cflags__fno_builtin+:} false; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473 ac_wine_try_cflags_saved=$CFLAGS
17474 CFLAGS="$CFLAGS -fno-builtin"
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17477 int main(int argc, char **argv) { return 0; }
17478 _ACEOF
17479 if ac_fn_c_try_link "$LINENO"; then :
17480 ac_cv_cflags__fno_builtin=yes
17481 else
17482 ac_cv_cflags__fno_builtin=no
17484 rm -f core conftest.err conftest.$ac_objext \
17485 conftest$ac_exeext conftest.$ac_ext
17486 CFLAGS=$ac_wine_try_cflags_saved
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17489 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17490 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17491 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17494 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17495 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17498 ac_wine_try_cflags_saved=$CFLAGS
17499 CFLAGS="$CFLAGS -fshort-wchar"
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 int main(int argc, char **argv) { return 0; }
17503 _ACEOF
17504 if ac_fn_c_try_link "$LINENO"; then :
17505 ac_cv_cflags__fshort_wchar=yes
17506 else
17507 ac_cv_cflags__fshort_wchar=no
17509 rm -f core conftest.err conftest.$ac_objext \
17510 conftest$ac_exeext conftest.$ac_ext
17511 CFLAGS=$ac_wine_try_cflags_saved
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17514 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17515 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17516 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17517 fi ;;
17518 esac
17520 case $host_cpu in
17521 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17522 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17523 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526 ac_wine_try_cflags_saved=$CFLAGS
17527 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 int main(int argc, char **argv) { return 0; }
17531 _ACEOF
17532 if ac_fn_c_try_link "$LINENO"; then :
17533 ac_cv_cflags__fno_omit_frame_pointer=yes
17534 else
17535 ac_cv_cflags__fno_omit_frame_pointer=no
17537 rm -f core conftest.err conftest.$ac_objext \
17538 conftest$ac_exeext conftest.$ac_ext
17539 CFLAGS=$ac_wine_try_cflags_saved
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17542 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17543 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17544 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17545 fi ;;
17546 *x86_64*)
17547 case $host_os in
17548 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17549 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17550 if ${ac_cv_cflags__Wno_format+:} false; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553 ac_wine_try_cflags_saved=$CFLAGS
17554 CFLAGS="$CFLAGS -Wno-format"
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17557 int main(int argc, char **argv) { return 0; }
17558 _ACEOF
17559 if ac_fn_c_try_link "$LINENO"; then :
17560 ac_cv_cflags__Wno_format=yes
17561 else
17562 ac_cv_cflags__Wno_format=no
17564 rm -f core conftest.err conftest.$ac_objext \
17565 conftest$ac_exeext conftest.$ac_ext
17566 CFLAGS=$ac_wine_try_cflags_saved
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17569 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17570 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17571 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17572 fi ;;
17573 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17574 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17575 if ${ac_cv_cflags__mabi_ms+:} false; then :
17576 $as_echo_n "(cached) " >&6
17577 else
17578 ac_wine_try_cflags_saved=$CFLAGS
17579 CFLAGS="$CFLAGS -mabi=ms"
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17582 int main(int argc, char **argv) { return 0; }
17583 _ACEOF
17584 if ac_fn_c_try_link "$LINENO"; then :
17585 ac_cv_cflags__mabi_ms=yes
17586 else
17587 ac_cv_cflags__mabi_ms=no
17589 rm -f core conftest.err conftest.$ac_objext \
17590 conftest$ac_exeext conftest.$ac_ext
17591 CFLAGS=$ac_wine_try_cflags_saved
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17594 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17595 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17596 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17597 fi ;;
17598 esac ;;
17599 esac
17601 CFLAGS=$saved_CFLAGS
17603 if test "x$enable_werror" = "xyes"
17604 then
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17606 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17607 if ${ac_cv_cflags__Werror+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 ac_wine_try_cflags_saved=$CFLAGS
17611 CFLAGS="$CFLAGS -Werror"
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 int main(int argc, char **argv) { return 0; }
17615 _ACEOF
17616 if ac_fn_c_try_link "$LINENO"; then :
17617 ac_cv_cflags__Werror=yes
17618 else
17619 ac_cv_cflags__Werror=no
17621 rm -f core conftest.err conftest.$ac_objext \
17622 conftest$ac_exeext conftest.$ac_ext
17623 CFLAGS=$ac_wine_try_cflags_saved
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17626 $as_echo "$ac_cv_cflags__Werror" >&6; }
17627 if test "x$ac_cv_cflags__Werror" = xyes; then :
17628 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17635 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17636 if ${ac_cv_c_fortify_enabled+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <string.h>
17643 main ()
17645 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17646 #error Fortify enabled
17647 #endif
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653 ac_cv_c_fortify_enabled=no
17654 else
17655 ac_cv_c_fortify_enabled=yes
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17660 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17661 if test "$ac_cv_c_fortify_enabled" = yes
17662 then
17663 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17668 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17669 if ${ac_cv_c_cfi_support+:} false; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17676 main ()
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 ac_cv_c_cfi_support="yes"
17685 else
17686 ac_cv_c_cfi_support="no"
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17691 $as_echo "$ac_cv_c_cfi_support" >&6; }
17692 if test "$ac_cv_c_cfi_support" = "yes"
17693 then
17694 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17695 else
17696 if test "x$enable_win64" = "xyes"
17697 then
17698 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17703 case $build_os in
17704 cygwin*|mingw32*) TOOLSEXT=".exe"
17706 esac
17708 case $host_os in
17709 linux*)
17710 case $host_cpu in
17711 *i[3456789]86*|x86_64*|*aarch64*)
17712 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17713 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17715 esac
17717 esac
17720 ac_save_CFLAGS="$CFLAGS"
17721 CFLAGS="$CFLAGS $BUILTINFLAG"
17722 for ac_func in \
17723 __res_get_state \
17724 __res_getservers \
17725 _spawnvp \
17726 epoll_create \
17727 ffs \
17728 finitef \
17729 fnmatch \
17730 fork \
17731 fpclass \
17732 fstatfs \
17733 fstatvfs \
17734 futimens \
17735 futimes \
17736 futimesat \
17737 getattrlist \
17738 getauxval \
17739 getifaddrs \
17740 getopt_long_only \
17741 kqueue \
17742 lstat \
17743 mach_continuous_time \
17744 pipe2 \
17745 poll \
17746 port_create \
17747 prctl \
17748 pread \
17749 proc_pidinfo \
17750 pwrite \
17751 readdir \
17752 readlink \
17753 sched_yield \
17754 select \
17755 setproctitle \
17756 setprogname \
17757 settimeofday \
17758 sigprocmask \
17759 statfs \
17760 statvfs \
17761 strnlen \
17762 strtold \
17763 symlink \
17764 sysinfo \
17765 tcdrain \
17766 thr_kill2 \
17767 timegm \
17768 usleep
17770 do :
17771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17773 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17774 cat >>confdefs.h <<_ACEOF
17775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17776 _ACEOF
17779 done
17781 CFLAGS="$ac_save_CFLAGS"
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17784 $as_echo_n "checking for library containing dlopen... " >&6; }
17785 if ${ac_cv_search_dlopen+:} false; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788 ac_func_search_save_LIBS=$LIBS
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17792 /* Override any GCC internal prototype to avoid an error.
17793 Use char because int might match the return type of a GCC
17794 builtin and then its argument prototype would still apply. */
17795 #ifdef __cplusplus
17796 extern "C"
17797 #endif
17798 char dlopen ();
17800 main ()
17802 return dlopen ();
17804 return 0;
17806 _ACEOF
17807 for ac_lib in '' dl; do
17808 if test -z "$ac_lib"; then
17809 ac_res="none required"
17810 else
17811 ac_res=-l$ac_lib
17812 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17814 if ac_fn_c_try_link "$LINENO"; then :
17815 ac_cv_search_dlopen=$ac_res
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext
17819 if ${ac_cv_search_dlopen+:} false; then :
17820 break
17822 done
17823 if ${ac_cv_search_dlopen+:} false; then :
17825 else
17826 ac_cv_search_dlopen=no
17828 rm conftest.$ac_ext
17829 LIBS=$ac_func_search_save_LIBS
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17832 $as_echo "$ac_cv_search_dlopen" >&6; }
17833 ac_res=$ac_cv_search_dlopen
17834 if test "$ac_res" != no; then :
17835 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17839 ac_wine_check_funcs_save_LIBS="$LIBS"
17840 LIBS="$LIBS $DL_LIBS"
17841 for ac_func in dladdr
17842 do :
17843 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17844 if test "x$ac_cv_func_dladdr" = xyes; then :
17845 cat >>confdefs.h <<_ACEOF
17846 #define HAVE_DLADDR 1
17847 _ACEOF
17850 done
17852 LIBS="$ac_wine_check_funcs_save_LIBS"
17854 if test "$ac_cv_func_poll" = no
17855 then
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17857 $as_echo_n "checking for poll in -lpoll... " >&6; }
17858 if ${ac_cv_lib_poll_poll+:} false; then :
17859 $as_echo_n "(cached) " >&6
17860 else
17861 ac_check_lib_save_LIBS=$LIBS
17862 LIBS="-lpoll $LIBS"
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17869 #ifdef __cplusplus
17870 extern "C"
17871 #endif
17872 char poll ();
17874 main ()
17876 return poll ();
17878 return 0;
17880 _ACEOF
17881 if ac_fn_c_try_link "$LINENO"; then :
17882 ac_cv_lib_poll_poll=yes
17883 else
17884 ac_cv_lib_poll_poll=no
17886 rm -f core conftest.err conftest.$ac_objext \
17887 conftest$ac_exeext conftest.$ac_ext
17888 LIBS=$ac_check_lib_save_LIBS
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17891 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17892 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17893 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17894 POLL_LIBS="-lpoll"
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17901 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17902 if ${ac_cv_search_gethostbyname+:} false; then :
17903 $as_echo_n "(cached) " >&6
17904 else
17905 ac_func_search_save_LIBS=$LIBS
17906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17909 /* Override any GCC internal prototype to avoid an error.
17910 Use char because int might match the return type of a GCC
17911 builtin and then its argument prototype would still apply. */
17912 #ifdef __cplusplus
17913 extern "C"
17914 #endif
17915 char gethostbyname ();
17917 main ()
17919 return gethostbyname ();
17921 return 0;
17923 _ACEOF
17924 for ac_lib in '' nsl; do
17925 if test -z "$ac_lib"; then
17926 ac_res="none required"
17927 else
17928 ac_res=-l$ac_lib
17929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17931 if ac_fn_c_try_link "$LINENO"; then :
17932 ac_cv_search_gethostbyname=$ac_res
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext
17936 if ${ac_cv_search_gethostbyname+:} false; then :
17937 break
17939 done
17940 if ${ac_cv_search_gethostbyname+:} false; then :
17942 else
17943 ac_cv_search_gethostbyname=no
17945 rm conftest.$ac_ext
17946 LIBS=$ac_func_search_save_LIBS
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17949 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17950 ac_res=$ac_cv_search_gethostbyname
17951 if test "$ac_res" != no; then :
17952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17958 $as_echo_n "checking for library containing connect... " >&6; }
17959 if ${ac_cv_search_connect+:} false; then :
17960 $as_echo_n "(cached) " >&6
17961 else
17962 ac_func_search_save_LIBS=$LIBS
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17966 /* Override any GCC internal prototype to avoid an error.
17967 Use char because int might match the return type of a GCC
17968 builtin and then its argument prototype would still apply. */
17969 #ifdef __cplusplus
17970 extern "C"
17971 #endif
17972 char connect ();
17974 main ()
17976 return connect ();
17978 return 0;
17980 _ACEOF
17981 for ac_lib in '' socket; do
17982 if test -z "$ac_lib"; then
17983 ac_res="none required"
17984 else
17985 ac_res=-l$ac_lib
17986 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17988 if ac_fn_c_try_link "$LINENO"; then :
17989 ac_cv_search_connect=$ac_res
17991 rm -f core conftest.err conftest.$ac_objext \
17992 conftest$ac_exeext
17993 if ${ac_cv_search_connect+:} false; then :
17994 break
17996 done
17997 if ${ac_cv_search_connect+:} false; then :
17999 else
18000 ac_cv_search_connect=no
18002 rm conftest.$ac_ext
18003 LIBS=$ac_func_search_save_LIBS
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18006 $as_echo "$ac_cv_search_connect" >&6; }
18007 ac_res=$ac_cv_search_connect
18008 if test "$ac_res" != no; then :
18009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18015 $as_echo_n "checking for library containing inet_aton... " >&6; }
18016 if ${ac_cv_search_inet_aton+:} false; then :
18017 $as_echo_n "(cached) " >&6
18018 else
18019 ac_func_search_save_LIBS=$LIBS
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18023 /* Override any GCC internal prototype to avoid an error.
18024 Use char because int might match the return type of a GCC
18025 builtin and then its argument prototype would still apply. */
18026 #ifdef __cplusplus
18027 extern "C"
18028 #endif
18029 char inet_aton ();
18031 main ()
18033 return inet_aton ();
18035 return 0;
18037 _ACEOF
18038 for ac_lib in '' resolv; do
18039 if test -z "$ac_lib"; then
18040 ac_res="none required"
18041 else
18042 ac_res=-l$ac_lib
18043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18045 if ac_fn_c_try_link "$LINENO"; then :
18046 ac_cv_search_inet_aton=$ac_res
18048 rm -f core conftest.err conftest.$ac_objext \
18049 conftest$ac_exeext
18050 if ${ac_cv_search_inet_aton+:} false; then :
18051 break
18053 done
18054 if ${ac_cv_search_inet_aton+:} false; then :
18056 else
18057 ac_cv_search_inet_aton=no
18059 rm conftest.$ac_ext
18060 LIBS=$ac_func_search_save_LIBS
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18063 $as_echo "$ac_cv_search_inet_aton" >&6; }
18064 ac_res=$ac_cv_search_inet_aton
18065 if test "$ac_res" != no; then :
18066 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18071 for ac_func in \
18072 getaddrinfo \
18073 getnameinfo \
18074 getnetbyname \
18075 getprotobyname \
18076 getprotobynumber \
18077 getservbyport \
18078 inet_addr \
18079 inet_network \
18080 inet_ntop \
18081 inet_pton \
18083 do :
18084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18087 cat >>confdefs.h <<_ACEOF
18088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18089 _ACEOF
18092 done
18095 case $host_os in
18096 darwin*|macosx*) ;;
18097 *) ac_save_LIBS=$LIBS
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18099 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18100 if ${ac_cv_search_clock_gettime+:} false; then :
18101 $as_echo_n "(cached) " >&6
18102 else
18103 ac_func_search_save_LIBS=$LIBS
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 #ifdef __cplusplus
18111 extern "C"
18112 #endif
18113 char clock_gettime ();
18115 main ()
18117 return clock_gettime ();
18119 return 0;
18121 _ACEOF
18122 for ac_lib in '' rt; do
18123 if test -z "$ac_lib"; then
18124 ac_res="none required"
18125 else
18126 ac_res=-l$ac_lib
18127 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18129 if ac_fn_c_try_link "$LINENO"; then :
18130 ac_cv_search_clock_gettime=$ac_res
18132 rm -f core conftest.err conftest.$ac_objext \
18133 conftest$ac_exeext
18134 if ${ac_cv_search_clock_gettime+:} false; then :
18135 break
18137 done
18138 if ${ac_cv_search_clock_gettime+:} false; then :
18140 else
18141 ac_cv_search_clock_gettime=no
18143 rm conftest.$ac_ext
18144 LIBS=$ac_func_search_save_LIBS
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18147 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18148 ac_res=$ac_cv_search_clock_gettime
18149 if test "$ac_res" != no; then :
18150 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18152 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18154 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18158 LIBS=$ac_save_LIBS
18160 esac
18162 if test "x$with_ldap" != "xno"
18163 then
18164 if ${LDAP_CFLAGS:+false} :; then :
18165 if ${PKG_CONFIG+:} false; then :
18166 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18170 if ${LDAP_LIBS:+false} :; then :
18171 if ${PKG_CONFIG+:} false; then :
18172 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18176 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18177 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18178 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18179 ac_save_CPPFLAGS=$CPPFLAGS
18180 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18181 for ac_header in ldap.h lber.h
18182 do :
18183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18184 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18185 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18186 cat >>confdefs.h <<_ACEOF
18187 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18188 _ACEOF
18192 done
18194 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18195 then
18196 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18198 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18200 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18201 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18202 $as_echo_n "(cached) " >&6
18203 else
18204 ac_check_lib_save_LIBS=$LIBS
18205 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18209 /* Override any GCC internal prototype to avoid an error.
18210 Use char because int might match the return type of a GCC
18211 builtin and then its argument prototype would still apply. */
18212 #ifdef __cplusplus
18213 extern "C"
18214 #endif
18215 char ldap_initialize ();
18217 main ()
18219 return ldap_initialize ();
18221 return 0;
18223 _ACEOF
18224 if ac_fn_c_try_link "$LINENO"; then :
18225 ac_cv_lib_ldap_r_ldap_initialize=yes
18226 else
18227 ac_cv_lib_ldap_r_ldap_initialize=no
18229 rm -f core conftest.err conftest.$ac_objext \
18230 conftest$ac_exeext conftest.$ac_ext
18231 LIBS=$ac_check_lib_save_LIBS
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18234 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18235 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18237 $as_echo_n "checking for ber_init in -llber... " >&6; }
18238 if ${ac_cv_lib_lber_ber_init+:} false; then :
18239 $as_echo_n "(cached) " >&6
18240 else
18241 ac_check_lib_save_LIBS=$LIBS
18242 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18246 /* Override any GCC internal prototype to avoid an error.
18247 Use char because int might match the return type of a GCC
18248 builtin and then its argument prototype would still apply. */
18249 #ifdef __cplusplus
18250 extern "C"
18251 #endif
18252 char ber_init ();
18254 main ()
18256 return ber_init ();
18258 return 0;
18260 _ACEOF
18261 if ac_fn_c_try_link "$LINENO"; then :
18262 ac_cv_lib_lber_ber_init=yes
18263 else
18264 ac_cv_lib_lber_ber_init=no
18266 rm -f core conftest.err conftest.$ac_objext \
18267 conftest$ac_exeext conftest.$ac_ext
18268 LIBS=$ac_check_lib_save_LIBS
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18271 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18272 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18274 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18276 else
18277 LDAP_LIBS=""
18280 else
18281 LDAP_LIBS=""
18284 else
18285 LDAP_LIBS=""
18288 ac_wine_check_funcs_save_LIBS="$LIBS"
18289 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18290 for ac_func in \
18291 ldap_count_references \
18292 ldap_first_reference \
18293 ldap_next_reference \
18294 ldap_parse_reference \
18295 ldap_parse_sort_control \
18296 ldap_parse_sortresponse_control \
18297 ldap_parse_vlv_control \
18298 ldap_parse_vlvresponse_control
18299 do :
18300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18303 cat >>confdefs.h <<_ACEOF
18304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18305 _ACEOF
18308 done
18310 LIBS="$ac_wine_check_funcs_save_LIBS"
18311 else
18312 LDAP_LIBS=""
18314 CPPFLAGS=$ac_save_CPPFLAGS
18315 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18316 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18319 if test "x$LDAP_LIBS" = "x"; then :
18320 case "x$with_ldap" in
18321 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18322 xno) ;;
18323 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18324 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18325 esac
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18330 $as_echo_n "checking for sched_setaffinity... " >&6; }
18331 if ${wine_cv_have_sched_setaffinity+:} false; then :
18332 $as_echo_n "(cached) " >&6
18333 else
18334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18336 #define _GNU_SOURCE
18337 #include <sched.h>
18339 main ()
18341 sched_setaffinity(0, 0, 0);
18343 return 0;
18345 _ACEOF
18346 if ac_fn_c_try_link "$LINENO"; then :
18347 wine_cv_have_sched_setaffinity=yes
18348 else
18349 wine_cv_have_sched_setaffinity=no
18351 rm -f core conftest.err conftest.$ac_objext \
18352 conftest$ac_exeext conftest.$ac_ext
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18355 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18356 if test "$wine_cv_have_sched_setaffinity" = "yes"
18357 then
18359 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18364 $as_echo_n "checking for fallocate... " >&6; }
18365 if ${wine_cv_have_fallocate+:} false; then :
18366 $as_echo_n "(cached) " >&6
18367 else
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18370 #define _GNU_SOURCE
18371 #include <fcntl.h>
18373 main ()
18375 fallocate(-1, 0, 0, 0);
18377 return 0;
18379 _ACEOF
18380 if ac_fn_c_try_link "$LINENO"; then :
18381 wine_cv_have_fallocate=yes
18382 else
18383 wine_cv_have_fallocate=no
18385 rm -f core conftest.err conftest.$ac_objext \
18386 conftest$ac_exeext conftest.$ac_ext
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18389 $as_echo "$wine_cv_have_fallocate" >&6; }
18390 if test "$wine_cv_have_fallocate" = "yes"
18391 then
18393 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18399 $as_echo_n "checking for inline... " >&6; }
18400 if ${ac_cv_c_inline+:} false; then :
18401 $as_echo_n "(cached) " >&6
18402 else
18403 ac_cv_c_inline=no
18404 for ac_kw in inline __inline__ __inline; do
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #ifndef __cplusplus
18408 typedef int foo_t;
18409 static $ac_kw foo_t static_foo () {return 0; }
18410 $ac_kw foo_t foo () {return 0; }
18411 #endif
18413 _ACEOF
18414 if ac_fn_c_try_compile "$LINENO"; then :
18415 ac_cv_c_inline=$ac_kw
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 test "$ac_cv_c_inline" != no && break
18419 done
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18423 $as_echo "$ac_cv_c_inline" >&6; }
18425 case $ac_cv_c_inline in
18426 inline | yes) ;;
18428 case $ac_cv_c_inline in
18429 no) ac_val=;;
18430 *) ac_val=$ac_cv_c_inline;;
18431 esac
18432 cat >>confdefs.h <<_ACEOF
18433 #ifndef __cplusplus
18434 #define inline $ac_val
18435 #endif
18436 _ACEOF
18438 esac
18440 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18441 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18443 cat >>confdefs.h <<_ACEOF
18444 #define HAVE_FSBLKCNT_T 1
18445 _ACEOF
18449 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18450 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_FSFILCNT_T 1
18454 _ACEOF
18459 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18460 #include <signal.h>
18462 if test "x$ac_cv_type_sigset_t" = xyes; then :
18464 cat >>confdefs.h <<_ACEOF
18465 #define HAVE_SIGSET_T 1
18466 _ACEOF
18471 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18473 if test "x$ac_cv_type_request_sense" = xyes; then :
18475 cat >>confdefs.h <<_ACEOF
18476 #define HAVE_REQUEST_SENSE 1
18477 _ACEOF
18483 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18484 #ifdef HAVE_SYS_SOCKET_H
18485 #include <sys/socket.h>
18486 #endif
18487 #ifdef HAVE_SYS_SOCKETVAR_H
18488 #include <sys/socketvar.h>
18489 #endif
18490 #ifdef HAVE_NET_ROUTE_H
18491 #include <net/route.h>
18492 #endif
18493 #ifdef HAVE_NETINET_IN_H
18494 #include <netinet/in.h>
18495 #endif
18496 #ifdef HAVE_NETINET_IN_SYSTM_H
18497 #include <netinet/in_systm.h>
18498 #endif
18499 #ifdef HAVE_NETINET_IP_H
18500 #include <netinet/ip.h>
18501 #endif
18502 #ifdef HAVE_NETINET_IN_PCB_H
18503 #include <netinet/in_pcb.h>
18504 #endif
18506 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_STRUCT_XINPGEN 1
18510 _ACEOF
18516 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18517 #include <linux/input.h>
18518 #endif
18520 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18524 _ACEOF
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18531 $as_echo_n "checking for if_nameindex... " >&6; }
18532 if ${wine_cv_have_if_nameindex+:} false; then :
18533 $as_echo_n "(cached) " >&6
18534 else
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #ifdef HAVE_SYS_TYPES_H
18538 #include <sys/types.h>
18539 #endif
18540 #ifdef HAVE_SYS_SOCKET_H
18541 #include <sys/socket.h>
18542 #endif
18543 #ifdef HAVE_NET_IF_H
18544 # include <net/if.h>
18545 #endif
18547 main ()
18549 struct if_nameindex *p = if_nameindex(); return p->if_index;
18551 return 0;
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"; then :
18555 wine_cv_have_if_nameindex=yes
18556 else
18557 wine_cv_have_if_nameindex=no
18559 rm -f core conftest.err conftest.$ac_objext \
18560 conftest$ac_exeext conftest.$ac_ext
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18563 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18564 if test "$wine_cv_have_if_nameindex" = "yes"
18565 then
18567 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18572 $as_echo_n "checking for sigaddset... " >&6; }
18573 if ${wine_cv_have_sigaddset+:} false; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <signal.h>
18580 main ()
18582 sigset_t set; sigaddset(&set,SIGTERM);
18584 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"; then :
18588 wine_cv_have_sigaddset=yes
18589 else
18590 wine_cv_have_sigaddset=no
18592 rm -f core conftest.err conftest.$ac_objext \
18593 conftest$ac_exeext conftest.$ac_ext
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18596 $as_echo "$wine_cv_have_sigaddset" >&6; }
18597 if test "$wine_cv_have_sigaddset" = "yes"
18598 then
18600 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18606 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18607 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <netdb.h>
18614 main ()
18617 char *name=0;
18618 struct hostent he;
18619 struct hostent *result;
18620 char *buf=0;
18621 int bufsize=0;
18622 int errnr;
18623 char *addr=0;
18624 int addrlen=0;
18625 int addrtype=0;
18626 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18627 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18630 return 0;
18632 _ACEOF
18633 if ac_fn_c_try_link "$LINENO"; then :
18634 wine_cv_linux_gethostbyname_r_6=yes
18635 else
18636 wine_cv_linux_gethostbyname_r_6=no
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18644 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18645 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18646 then
18648 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18652 if test "$ac_cv_header_linux_joystick_h" = "yes"
18653 then
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18655 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18656 if ${wine_cv_linux_joystick_22_api+:} false; then :
18657 $as_echo_n "(cached) " >&6
18658 else
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18662 #include <sys/ioctl.h>
18663 #include <sys/types.h>
18664 #include <linux/joystick.h>
18666 struct js_event blub;
18667 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18668 #error "no 2.2 header"
18669 #endif
18672 main ()
18674 /*empty*/
18676 return 0;
18678 _ACEOF
18679 if ac_fn_c_try_compile "$LINENO"; then :
18680 wine_cv_linux_joystick_22_api=yes
18681 else
18682 wine_cv_linux_joystick_22_api=no
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18688 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18689 if test "$wine_cv_linux_joystick_22_api" = "yes"
18690 then
18692 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18698 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18699 #ifdef HAVE_SYS_PARAM_H
18700 # include <sys/param.h>
18701 #endif
18702 #ifdef HAVE_SYS_MOUNT_H
18703 # include <sys/mount.h>
18704 #endif
18705 #ifdef HAVE_SYS_VFS_H
18706 # include <sys/vfs.h>
18707 #endif
18708 #ifdef HAVE_SYS_STATFS_H
18709 # include <sys/statfs.h>
18710 #endif
18712 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18714 cat >>confdefs.h <<_ACEOF
18715 #define HAVE_STRUCT_STATFS_F_BFREE 1
18716 _ACEOF
18720 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18721 #ifdef HAVE_SYS_PARAM_H
18722 # include <sys/param.h>
18723 #endif
18724 #ifdef HAVE_SYS_MOUNT_H
18725 # include <sys/mount.h>
18726 #endif
18727 #ifdef HAVE_SYS_VFS_H
18728 # include <sys/vfs.h>
18729 #endif
18730 #ifdef HAVE_SYS_STATFS_H
18731 # include <sys/statfs.h>
18732 #endif
18734 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18738 _ACEOF
18742 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18743 #ifdef HAVE_SYS_PARAM_H
18744 # include <sys/param.h>
18745 #endif
18746 #ifdef HAVE_SYS_MOUNT_H
18747 # include <sys/mount.h>
18748 #endif
18749 #ifdef HAVE_SYS_VFS_H
18750 # include <sys/vfs.h>
18751 #endif
18752 #ifdef HAVE_SYS_STATFS_H
18753 # include <sys/statfs.h>
18754 #endif
18756 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18760 _ACEOF
18764 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18765 #ifdef HAVE_SYS_PARAM_H
18766 # include <sys/param.h>
18767 #endif
18768 #ifdef HAVE_SYS_MOUNT_H
18769 # include <sys/mount.h>
18770 #endif
18771 #ifdef HAVE_SYS_VFS_H
18772 # include <sys/vfs.h>
18773 #endif
18774 #ifdef HAVE_SYS_STATFS_H
18775 # include <sys/statfs.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_STATFS_F_FFREE 1
18782 _ACEOF
18786 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18787 #ifdef HAVE_SYS_PARAM_H
18788 # include <sys/param.h>
18789 #endif
18790 #ifdef HAVE_SYS_MOUNT_H
18791 # include <sys/mount.h>
18792 #endif
18793 #ifdef HAVE_SYS_VFS_H
18794 # include <sys/vfs.h>
18795 #endif
18796 #ifdef HAVE_SYS_STATFS_H
18797 # include <sys/statfs.h>
18798 #endif
18800 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18802 cat >>confdefs.h <<_ACEOF
18803 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18804 _ACEOF
18808 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18809 #ifdef HAVE_SYS_PARAM_H
18810 # include <sys/param.h>
18811 #endif
18812 #ifdef HAVE_SYS_MOUNT_H
18813 # include <sys/mount.h>
18814 #endif
18815 #ifdef HAVE_SYS_VFS_H
18816 # include <sys/vfs.h>
18817 #endif
18818 #ifdef HAVE_SYS_STATFS_H
18819 # include <sys/statfs.h>
18820 #endif
18822 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18826 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18833 #include <sys/statvfs.h>
18834 #endif
18836 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18838 cat >>confdefs.h <<_ACEOF
18839 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18840 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18847 #include <dirent.h>
18848 #endif
18850 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18854 _ACEOF
18860 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18861 #ifdef HAVE_SYS_SOCKET_H
18862 # include <sys/socket.h>
18863 #endif
18864 #ifdef HAVE_SYS_UN_H
18865 # include <sys/un.h>
18866 #endif
18868 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18872 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18877 #ifdef HAVE_SYS_SOCKET_H
18878 # include <sys/socket.h>
18879 #endif
18880 #ifdef HAVE_SYS_UN_H
18881 # include <sys/un.h>
18882 #endif
18884 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18886 cat >>confdefs.h <<_ACEOF
18887 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18888 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18893 #ifdef HAVE_SYS_SOCKET_H
18894 # include <sys/socket.h>
18895 #endif
18896 #ifdef HAVE_SYS_UN_H
18897 # include <sys/un.h>
18898 #endif
18900 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18902 cat >>confdefs.h <<_ACEOF
18903 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18904 _ACEOF
18910 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18911 #ifdef HAVE_SCSI_SG_H
18912 #include <scsi/sg.h>
18913 #endif
18915 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_SCSIREQ_T_CMD 1
18919 _ACEOF
18923 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>
18924 #ifdef HAVE_SCSI_SG_H
18925 #include <scsi/sg.h>
18926 #endif
18928 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18932 _ACEOF
18938 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18940 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_SIGINFO_T_SI_FD 1
18944 _ACEOF
18950 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18951 #ifdef HAVE_SYS_MTIO_H
18952 #include <sys/mtio.h>
18953 #endif
18955 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18959 _ACEOF
18963 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18964 #ifdef HAVE_SYS_MTIO_H
18965 #include <sys/mtio.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18972 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18977 #ifdef HAVE_SYS_MTIO_H
18978 #include <sys/mtio.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18985 _ACEOF
18991 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18992 #include <getopt.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_OPTION_NAME 1
18999 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19006 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19010 _ACEOF
19014 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19015 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_STRUCT_STAT_ST_MTIM 1
19019 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19024 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19028 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19033 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_STAT_ST_CTIM 1
19037 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19042 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19046 _ACEOF
19050 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19051 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_STRUCT_STAT_ST_ATIM 1
19055 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19060 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19064 _ACEOF
19068 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19069 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19078 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19082 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19087 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19091 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19096 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19100 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19109 _ACEOF
19115 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
19116 #include <sys/types.h>
19117 #endif
19118 #ifdef HAVE_NETINET_IN_H
19119 #include <netinet/in.h>
19120 #endif
19122 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19126 _ACEOF
19132 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19133 #include <sys/types.h>
19134 #endif
19135 #ifdef HAVE_NETINET_IN_H
19136 #include <netinet/in.h>
19137 #endif
19138 #ifdef HAVE_RESOLV_H
19139 #include <resolv.h>
19140 #endif
19142 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT___RES_STATE 1
19146 _ACEOF
19152 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
19153 #include <resolv.h>
19154 #endif
19156 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19160 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19167 #include <sys/types.h>
19168 #endif
19169 #ifdef HAVE_NETINET_IN_H
19170 # include <netinet/in.h>
19171 #endif
19172 #ifdef HAVE_ARPA_NAMESER_H
19173 # include <arpa/nameser.h>
19174 #endif
19176 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_NS_MSG__MSG_PTR 1
19180 _ACEOF
19186 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19187 #include <sys/types.h>
19188 #endif
19189 #ifdef HAVE_NETINET_IN_H
19190 #include <netinet/in.h>
19191 #endif
19192 #ifdef HAVE_NETINET_IP_H
19193 #include <netinet/ip.h>
19194 #endif
19195 #ifdef HAVE_NETINET_IP_ICMP_H
19196 #include <netinet/ip_icmp.h>
19197 #endif
19198 #ifdef HAVE_NETINET_ICMP_VAR_H
19199 #include <netinet/icmp_var.h>
19200 #endif
19202 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19206 _ACEOF
19212 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19213 #include <sys/types.h>
19214 #endif
19215 #ifdef HAVE_ALIAS_H
19216 #include <alias.h>
19217 #endif
19218 #ifdef HAVE_SYS_SOCKET_H
19219 #include <sys/socket.h>
19220 #endif
19221 #ifdef HAVE_SYS_SOCKETVAR_H
19222 #include <sys/socketvar.h>
19223 #endif
19224 #ifdef HAVE_SYS_TIMEOUT_H
19225 #include <sys/timeout.h>
19226 #endif
19227 #ifdef HAVE_NETINET_IN_H
19228 #include <netinet/in.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_SYSTM_H
19231 #include <netinet/in_systm.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_H
19234 #include <netinet/ip.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IP_VAR_H
19237 #include <netinet/ip_var.h>
19238 #endif
19239 #ifdef HAVE_NETINET_IP_ICMP_H
19240 #include <netinet/ip_icmp.h>
19241 #endif
19242 #ifdef HAVE_NETINET_ICMP_VAR_H
19243 #include <netinet/icmp_var.h>
19244 #endif
19246 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19250 _ACEOF
19256 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19257 #include <sys/types.h>
19258 #endif
19259 #ifdef HAVE_SYS_SOCKETVAR_H
19260 #include <sys/socketvar.h>
19261 #endif
19262 #ifdef HAVE_NETINET_IN_H
19263 #include <netinet/in.h>
19264 #endif
19265 #ifdef HAVE_NETINET_IP_VAR_H
19266 #include <netinet/ip_var.h>
19267 #endif
19269 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19273 _ACEOF
19279 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
19280 #include <netinet/ip_var.h>
19281 #endif
19283 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19285 cat >>confdefs.h <<_ACEOF
19286 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19287 _ACEOF
19293 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19294 #include <sys/types.h>
19295 #endif
19296 #ifdef HAVE_SYS_SOCKETVAR_H
19297 #include <sys/socketvar.h>
19298 #endif
19299 #ifdef HAVE_NETINET_IN_H
19300 #include <netinet/in.h>
19301 #endif
19302 #ifdef HAVE_NETINET_TCP_H
19303 #include <netinet/tcp.h>
19304 #endif
19305 #ifdef HAVE_NETINET_TCP_VAR_H
19306 #include <netinet/tcp_var.h>
19307 #endif
19309 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19311 cat >>confdefs.h <<_ACEOF
19312 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19313 _ACEOF
19319 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
19320 #include <netinet/tcp_var.h>
19321 #endif
19323 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19325 cat >>confdefs.h <<_ACEOF
19326 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19327 _ACEOF
19333 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19334 #include <sys/types.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IN_H
19337 #include <netinet/in.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IP_VAR_H
19340 #include <netinet/ip_var.h>
19341 #endif
19342 #ifdef HAVE_NETINET_UDP_H
19343 #include <netinet/udp.h>
19344 #endif
19345 #ifdef HAVE_NETINET_UDP_VAR_H
19346 #include <netinet/udp_var.h>
19347 #endif
19349 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19353 _ACEOF
19359 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19360 #include <sys/types.h>
19361 #endif
19362 #ifdef HAVE_NET_IF_H
19363 # include <net/if.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19370 _ACEOF
19376 ac_save_LIBS="$LIBS"
19377 LIBS="$LIBS -lm"
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19379 $as_echo_n "checking for isfinite... " >&6; }
19380 if ${ac_cv_have_isfinite+:} false; then :
19381 $as_echo_n "(cached) " >&6
19382 else
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 #define _GNU_SOURCE
19386 #include <math.h>
19388 main ()
19390 float f = 0.0; return isfinite(f)
19392 return 0;
19394 _ACEOF
19395 if ac_fn_c_try_link "$LINENO"; then :
19396 ac_cv_have_isfinite="yes"
19397 else
19398 ac_cv_have_isfinite="no"
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19404 $as_echo "$ac_cv_have_isfinite" >&6; }
19405 if test "$ac_cv_have_isfinite" = "yes"
19406 then
19408 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19413 $as_echo_n "checking for isinf... " >&6; }
19414 if ${ac_cv_have_isinf+:} false; then :
19415 $as_echo_n "(cached) " >&6
19416 else
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 #include <math.h>
19421 main ()
19423 float f = 0.0; return isinf(f)
19425 return 0;
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"; then :
19429 ac_cv_have_isinf="yes"
19430 else
19431 ac_cv_have_isinf="no"
19433 rm -f core conftest.err conftest.$ac_objext \
19434 conftest$ac_exeext conftest.$ac_ext
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19437 $as_echo "$ac_cv_have_isinf" >&6; }
19438 if test "$ac_cv_have_isinf" = "yes"
19439 then
19441 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19446 $as_echo_n "checking for isnan... " >&6; }
19447 if ${ac_cv_have_isnan+:} false; then :
19448 $as_echo_n "(cached) " >&6
19449 else
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 #include <math.h>
19454 main ()
19456 float f = 0.0; return isnan(f)
19458 return 0;
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"; then :
19462 ac_cv_have_isnan="yes"
19463 else
19464 ac_cv_have_isnan="no"
19466 rm -f core conftest.err conftest.$ac_objext \
19467 conftest$ac_exeext conftest.$ac_ext
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19470 $as_echo "$ac_cv_have_isnan" >&6; }
19471 if test "$ac_cv_have_isnan" = "yes"
19472 then
19474 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19478 for ac_func in \
19479 acosh \
19480 acoshf \
19481 asinh \
19482 asinhf \
19483 atanh \
19484 atanhf \
19485 cbrt \
19486 cbrtf \
19487 erf \
19488 erfc \
19489 erfcf \
19490 erff \
19491 exp2 \
19492 exp2f \
19493 expm1 \
19494 expm1f \
19495 fma \
19496 fmaf \
19497 ilogb \
19498 ilogbf \
19499 j0 \
19500 j1 \
19501 jn \
19502 lgamma \
19503 lgammaf \
19504 llrint \
19505 llrintf \
19506 llround \
19507 llroundf \
19508 log1p \
19509 log1pf \
19510 log2 \
19511 log2f \
19512 lrint \
19513 lrintf \
19514 lround \
19515 lroundf \
19516 nearbyint \
19517 nearbyintf \
19518 nexttoward \
19519 nexttowardf \
19520 remainder \
19521 remainderf \
19522 remquo \
19523 remquof \
19524 rint \
19525 rintf \
19526 round \
19527 roundf \
19528 tgamma \
19529 tgammaf \
19530 trunc \
19531 truncf \
19532 y0 \
19533 y1 \
19536 do :
19537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19540 cat >>confdefs.h <<_ACEOF
19541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19542 _ACEOF
19545 done
19547 LIBS="$ac_save_LIBS"
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19550 $as_echo_n "checking for __builtin_popcount... " >&6; }
19551 if ${ac_cv_have___builtin_popcount+:} false; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19558 main ()
19560 return __builtin_popcount(1)
19562 return 0;
19564 _ACEOF
19565 if ac_fn_c_try_link "$LINENO"; then :
19566 ac_cv_have___builtin_popcount="yes"
19567 else
19568 ac_cv_have___builtin_popcount="no"
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19574 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19575 if test "$ac_cv_have___builtin_popcount" = "yes"
19576 then
19578 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19583 $as_echo_n "checking for __clear_cache... " >&6; }
19584 if ${ac_cv_have___clear_cache+:} false; then :
19585 $as_echo_n "(cached) " >&6
19586 else
19587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19588 /* end confdefs.h. */
19591 main ()
19593 __clear_cache((void*)0, (void*)0); return 0;
19595 return 0;
19597 _ACEOF
19598 if ac_fn_c_try_link "$LINENO"; then :
19599 ac_cv_have___clear_cache="yes"
19600 else
19601 ac_cv_have___clear_cache="no"
19603 rm -f core conftest.err conftest.$ac_objext \
19604 conftest$ac_exeext conftest.$ac_ext
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19607 $as_echo "$ac_cv_have___clear_cache" >&6; }
19608 if test "$ac_cv_have___clear_cache" = "yes"
19609 then
19611 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19616 case $host_cpu in
19617 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19618 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19619 if ${ac_cv_cpp_def___i386__+:} false; then :
19620 $as_echo_n "(cached) " >&6
19621 else
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19624 #ifndef __i386__
19626 #endif
19627 _ACEOF
19628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19629 $EGREP "yes" >/dev/null 2>&1; then :
19630 ac_cv_cpp_def___i386__=yes
19631 else
19632 ac_cv_cpp_def___i386__=no
19634 rm -f conftest*
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19638 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19639 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19640 CFLAGS="$CFLAGS -D__i386__"
19641 LINTFLAGS="$LINTFLAGS -D__i386__"
19642 fi ;;
19643 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19644 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19645 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19646 $as_echo_n "(cached) " >&6
19647 else
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19650 #ifndef __x86_64__
19652 #endif
19653 _ACEOF
19654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19655 $EGREP "yes" >/dev/null 2>&1; then :
19656 ac_cv_cpp_def___x86_64__=yes
19657 else
19658 ac_cv_cpp_def___x86_64__=no
19660 rm -f conftest*
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19664 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19665 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19666 CFLAGS="$CFLAGS -D__x86_64__"
19667 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19668 fi ;;
19669 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19670 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19671 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19672 $as_echo_n "(cached) " >&6
19673 else
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676 #ifndef __sparc64__
19678 #endif
19679 _ACEOF
19680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19681 $EGREP "yes" >/dev/null 2>&1; then :
19682 ac_cv_cpp_def___sparc64__=yes
19683 else
19684 ac_cv_cpp_def___sparc64__=no
19686 rm -f conftest*
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19690 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19691 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19692 CFLAGS="$CFLAGS -D__sparc64__"
19693 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19694 fi ;;
19695 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19696 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19697 if ${ac_cv_cpp_def___sparc__+:} false; then :
19698 $as_echo_n "(cached) " >&6
19699 else
19700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701 /* end confdefs.h. */
19702 #ifndef __sparc__
19704 #endif
19705 _ACEOF
19706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19707 $EGREP "yes" >/dev/null 2>&1; then :
19708 ac_cv_cpp_def___sparc__=yes
19709 else
19710 ac_cv_cpp_def___sparc__=no
19712 rm -f conftest*
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19716 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19717 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19718 CFLAGS="$CFLAGS -D__sparc__"
19719 LINTFLAGS="$LINTFLAGS -D__sparc__"
19720 fi ;;
19721 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19722 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19723 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19724 $as_echo_n "(cached) " >&6
19725 else
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19728 #ifndef __powerpc64__
19730 #endif
19731 _ACEOF
19732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19733 $EGREP "yes" >/dev/null 2>&1; then :
19734 ac_cv_cpp_def___powerpc64__=yes
19735 else
19736 ac_cv_cpp_def___powerpc64__=no
19738 rm -f conftest*
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19742 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19743 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19744 CFLAGS="$CFLAGS -D__powerpc64__"
19745 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19746 fi ;;
19747 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19748 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19749 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19750 $as_echo_n "(cached) " >&6
19751 else
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19754 #ifndef __powerpc__
19756 #endif
19757 _ACEOF
19758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19759 $EGREP "yes" >/dev/null 2>&1; then :
19760 ac_cv_cpp_def___powerpc__=yes
19761 else
19762 ac_cv_cpp_def___powerpc__=no
19764 rm -f conftest*
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19768 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19769 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19770 CFLAGS="$CFLAGS -D__powerpc__"
19771 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19772 fi ;;
19773 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19774 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19775 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19776 $as_echo_n "(cached) " >&6
19777 else
19778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19779 /* end confdefs.h. */
19780 #ifndef __aarch64__
19782 #endif
19783 _ACEOF
19784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19785 $EGREP "yes" >/dev/null 2>&1; then :
19786 ac_cv_cpp_def___aarch64__=yes
19787 else
19788 ac_cv_cpp_def___aarch64__=no
19790 rm -f conftest*
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19794 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19795 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19796 CFLAGS="$CFLAGS -D__aarch64__"
19797 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19798 fi ;;
19799 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19800 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19801 if ${ac_cv_cpp_def___arm__+:} false; then :
19802 $as_echo_n "(cached) " >&6
19803 else
19804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805 /* end confdefs.h. */
19806 #ifndef __arm__
19808 #endif
19809 _ACEOF
19810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19811 $EGREP "yes" >/dev/null 2>&1; then :
19812 ac_cv_cpp_def___arm__=yes
19813 else
19814 ac_cv_cpp_def___arm__=no
19816 rm -f conftest*
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19820 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19821 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19822 CFLAGS="$CFLAGS -D__arm__"
19823 LINTFLAGS="$LINTFLAGS -D__arm__"
19824 fi ;;
19825 esac
19827 case $host_vendor in
19828 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19829 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19830 if ${ac_cv_cpp_def___sun__+:} false; then :
19831 $as_echo_n "(cached) " >&6
19832 else
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h. */
19835 #ifndef __sun__
19837 #endif
19838 _ACEOF
19839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19840 $EGREP "yes" >/dev/null 2>&1; then :
19841 ac_cv_cpp_def___sun__=yes
19842 else
19843 ac_cv_cpp_def___sun__=no
19845 rm -f conftest*
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19849 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19850 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19851 CFLAGS="$CFLAGS -D__sun__"
19852 LINTFLAGS="$LINTFLAGS -D__sun__"
19853 fi ;;
19854 esac
19860 ac_config_commands="$ac_config_commands include/stamp-h"
19862 $as_echo_n "creating Makefile rules..." >&6
19864 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19865 OPENGL_LIBS = $OPENGL_LIBS
19866 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19867 IOKIT_LIBS = $IOKIT_LIBS
19868 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19869 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19870 CORESERVICES_LIBS = $CORESERVICES_LIBS
19871 APPKIT_LIBS = $APPKIT_LIBS
19872 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19873 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19874 SECURITY_LIBS = $SECURITY_LIBS
19875 COREAUDIO_LIBS = $COREAUDIO_LIBS
19876 OPENAL_LIBS = $OPENAL_LIBS
19877 OPENCL_LIBS = $OPENCL_LIBS
19878 QUICKTIME_LIBS = $QUICKTIME_LIBS
19879 CARBON_LIBS = $CARBON_LIBS
19880 METAL_LIBS = $METAL_LIBS
19881 PTHREAD_LIBS = $PTHREAD_LIBS
19882 X_CFLAGS = $X_CFLAGS
19883 X_PRE_LIBS = $X_PRE_LIBS
19884 X_LIBS = $X_LIBS
19885 X_EXTRA_LIBS = $X_EXTRA_LIBS
19886 PCAP_LIBS = $PCAP_LIBS
19887 XML2_CFLAGS = $XML2_CFLAGS
19888 XML2_LIBS = $XML2_LIBS
19889 XSLT_CFLAGS = $XSLT_CFLAGS
19890 XSLT_LIBS = $XSLT_LIBS
19891 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19892 INOTIFY_LIBS = $INOTIFY_LIBS
19893 DBUS_CFLAGS = $DBUS_CFLAGS
19894 DBUS_LIBS = $DBUS_LIBS
19895 HAL_CFLAGS = $HAL_CFLAGS
19896 HAL_LIBS = $HAL_LIBS
19897 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19898 GNUTLS_LIBS = $GNUTLS_LIBS
19899 SANE_CFLAGS = $SANE_CFLAGS
19900 SANE_LIBS = $SANE_LIBS
19901 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19902 GPHOTO2_LIBS = $GPHOTO2_LIBS
19903 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19904 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19905 RESOLV_LIBS = $RESOLV_LIBS
19906 LCMS2_CFLAGS = $LCMS2_CFLAGS
19907 LCMS2_LIBS = $LCMS2_LIBS
19908 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19909 FREETYPE_LIBS = $FREETYPE_LIBS
19910 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19911 PULSE_CFLAGS = $PULSE_CFLAGS
19912 PULSE_LIBS = $PULSE_LIBS
19913 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19914 GSTREAMER_LIBS = $GSTREAMER_LIBS
19915 ALSA_LIBS = $ALSA_LIBS
19916 OSS4_CFLAGS = $OSS4_CFLAGS
19917 OSS4_LIBS = $OSS4_LIBS
19918 UDEV_CFLAGS = $UDEV_CFLAGS
19919 UDEV_LIBS = $UDEV_LIBS
19920 UNWIND_CFLAGS = $UNWIND_CFLAGS
19921 UNWIND_LIBS = $UNWIND_LIBS
19922 SDL2_CFLAGS = $SDL2_CFLAGS
19923 SDL2_LIBS = $SDL2_LIBS
19924 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19925 FAUDIO_LIBS = $FAUDIO_LIBS
19926 CAPI20_CFLAGS = $CAPI20_CFLAGS
19927 CAPI20_LIBS = $CAPI20_LIBS
19928 CUPS_CFLAGS = $CUPS_CFLAGS
19929 CUPS_LIBS = $CUPS_LIBS
19930 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19931 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19932 KRB5_CFLAGS = $KRB5_CFLAGS
19933 KRB5_LIBS = $KRB5_LIBS
19934 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19935 GSSAPI_LIBS = $GSSAPI_LIBS
19936 JPEG_CFLAGS = $JPEG_CFLAGS
19937 JPEG_LIBS = $JPEG_LIBS
19938 PNG_CFLAGS = $PNG_CFLAGS
19939 PNG_LIBS = $PNG_LIBS
19940 TIFF_CFLAGS = $TIFF_CFLAGS
19941 TIFF_LIBS = $TIFF_LIBS
19942 MPG123_CFLAGS = $MPG123_CFLAGS
19943 MPG123_LIBS = $MPG123_LIBS
19944 KSTAT_LIBS = $KSTAT_LIBS
19945 PROCSTAT_LIBS = $PROCSTAT_LIBS
19946 NETAPI_CFLAGS = $NETAPI_CFLAGS
19947 NETAPI_LIBS = $NETAPI_LIBS
19948 VKD3D_CFLAGS = $VKD3D_CFLAGS
19949 VKD3D_LIBS = $VKD3D_LIBS
19950 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19951 POLL_LIBS = $POLL_LIBS
19952 RT_LIBS = $RT_LIBS
19953 LDAP_CFLAGS = $LDAP_CFLAGS
19954 LDAP_LIBS = $LDAP_LIBS
19959 wine_fn_append_rule "
19960 # Rules automatically generated by configure
19962 .INIT: Makefile
19963 .MAKEFILEDEPS:
19964 all: Makefile
19965 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19966 @./config.status Make.tmp Makefile
19967 depend: \$(MAKEDEP) dummy
19968 \$(MAKEDEP)"
19970 ac_config_links="$ac_config_links wine:tools/winewrapper"
19971 wine_fn_config_symlink wine
19972 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19973 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19974 wine_fn_config_symlink wine64
19977 wine_fn_config_makefile dlls/acledit enable_acledit
19978 wine_fn_config_makefile dlls/aclui enable_aclui
19979 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19980 wine_fn_config_makefile dlls/activeds enable_activeds
19981 wine_fn_config_makefile dlls/activeds/tests enable_tests
19982 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19983 wine_fn_config_makefile dlls/adsiid enable_adsiid
19984 wine_fn_config_makefile dlls/adsldp enable_adsldp
19985 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19986 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19987 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19988 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19989 wine_fn_config_makefile dlls/advpack enable_advpack
19990 wine_fn_config_makefile dlls/advpack/tests enable_tests
19991 wine_fn_config_makefile dlls/amsi enable_amsi
19992 wine_fn_config_makefile dlls/amstream enable_amstream
19993 wine_fn_config_makefile dlls/amstream/tests enable_tests
19994 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19996 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19997 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19999 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20012 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20020 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20022 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20029 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20043 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20049 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20060 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20061 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20073 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20074 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20181 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20210 wine_fn_config_makefile dlls/apphelp enable_apphelp
20211 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20212 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20213 wine_fn_config_makefile dlls/atl enable_atl
20214 wine_fn_config_makefile dlls/atl/tests enable_tests
20215 wine_fn_config_makefile dlls/atl100 enable_atl100
20216 wine_fn_config_makefile dlls/atl100/tests enable_tests
20217 wine_fn_config_makefile dlls/atl110 enable_atl110
20218 wine_fn_config_makefile dlls/atl80 enable_atl80
20219 wine_fn_config_makefile dlls/atl80/tests enable_tests
20220 wine_fn_config_makefile dlls/atl90 enable_atl90
20221 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20222 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20223 wine_fn_config_makefile dlls/atmlib enable_atmlib
20224 wine_fn_config_makefile dlls/authz enable_authz
20225 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20226 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20227 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20228 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20229 wine_fn_config_makefile dlls/avrt enable_avrt
20230 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20231 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20232 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20233 wine_fn_config_makefile dlls/browseui enable_browseui
20234 wine_fn_config_makefile dlls/browseui/tests enable_tests
20235 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20236 wine_fn_config_makefile dlls/cabinet enable_cabinet
20237 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20238 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20239 wine_fn_config_makefile dlls/cards enable_cards
20240 wine_fn_config_makefile dlls/cdosys enable_cdosys
20241 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20242 wine_fn_config_makefile dlls/clusapi enable_clusapi
20243 wine_fn_config_makefile dlls/combase enable_combase
20244 wine_fn_config_makefile dlls/combase/tests enable_tests
20245 wine_fn_config_makefile dlls/comcat enable_comcat
20246 wine_fn_config_makefile dlls/comcat/tests enable_tests
20247 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20248 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20249 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20250 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20251 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20252 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20253 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20254 wine_fn_config_makefile dlls/compstui enable_compstui
20255 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20256 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20257 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20258 wine_fn_config_makefile dlls/connect enable_connect
20259 wine_fn_config_makefile dlls/credui enable_credui
20260 wine_fn_config_makefile dlls/credui/tests enable_tests
20261 wine_fn_config_makefile dlls/crtdll enable_crtdll
20262 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20263 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20264 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20265 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20266 wine_fn_config_makefile dlls/cryptext enable_cryptext
20267 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20268 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20269 wine_fn_config_makefile dlls/cryptui enable_cryptui
20270 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20271 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20272 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20273 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20274 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20275 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20276 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20277 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20278 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20279 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20280 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20281 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20282 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20283 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20284 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20285 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20286 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20287 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20288 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20289 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20290 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20291 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20292 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20293 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20294 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20295 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20296 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20297 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20298 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20299 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20300 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20301 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20302 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20303 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20304 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20305 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20306 wine_fn_config_makefile dlls/d3dim enable_d3dim
20307 wine_fn_config_makefile dlls/d3drm enable_d3drm
20308 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20309 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20310 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20311 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20312 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20313 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20314 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20315 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20316 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20317 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20318 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20319 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20320 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20321 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20322 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20323 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20324 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20325 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20326 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20327 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20328 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20329 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20330 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20331 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20332 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20333 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20334 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20335 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20336 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20337 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20338 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20339 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20340 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20341 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20342 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20343 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20344 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20345 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20346 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20347 wine_fn_config_makefile dlls/davclnt enable_davclnt
20348 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20349 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20350 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20351 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20352 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20353 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20354 wine_fn_config_makefile dlls/ddraw enable_ddraw
20355 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20356 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20357 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20358 wine_fn_config_makefile dlls/devenum enable_devenum
20359 wine_fn_config_makefile dlls/devenum/tests enable_tests
20360 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20361 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20362 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20363 wine_fn_config_makefile dlls/difxapi enable_difxapi
20364 wine_fn_config_makefile dlls/dinput enable_dinput
20365 wine_fn_config_makefile dlls/dinput/tests enable_tests
20366 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20367 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20368 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20369 wine_fn_config_makefile dlls/dispex enable_dispex
20370 wine_fn_config_makefile dlls/dispex/tests enable_tests
20371 wine_fn_config_makefile dlls/display.drv16 enable_win16
20372 wine_fn_config_makefile dlls/dmband enable_dmband
20373 wine_fn_config_makefile dlls/dmband/tests enable_tests
20374 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20375 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20376 wine_fn_config_makefile dlls/dmime enable_dmime
20377 wine_fn_config_makefile dlls/dmime/tests enable_tests
20378 wine_fn_config_makefile dlls/dmloader enable_dmloader
20379 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20380 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20381 wine_fn_config_makefile dlls/dmscript enable_dmscript
20382 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20383 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20384 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20385 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20386 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20387 wine_fn_config_makefile dlls/dmusic enable_dmusic
20388 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20389 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20390 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20391 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20392 wine_fn_config_makefile dlls/dplay enable_dplay
20393 wine_fn_config_makefile dlls/dplayx enable_dplayx
20394 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20395 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20396 wine_fn_config_makefile dlls/dpnet enable_dpnet
20397 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20398 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20399 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20400 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20401 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20402 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20403 wine_fn_config_makefile dlls/drmclien enable_drmclien
20404 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20405 wine_fn_config_makefile dlls/dsound enable_dsound
20406 wine_fn_config_makefile dlls/dsound/tests enable_tests
20407 wine_fn_config_makefile dlls/dsquery enable_dsquery
20408 wine_fn_config_makefile dlls/dssenh enable_dssenh
20409 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20410 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20411 wine_fn_config_makefile dlls/dswave enable_dswave
20412 wine_fn_config_makefile dlls/dswave/tests enable_tests
20413 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20414 wine_fn_config_makefile dlls/dwrite enable_dwrite
20415 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20416 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20417 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20418 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20419 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20420 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20421 wine_fn_config_makefile dlls/dxgi enable_dxgi
20422 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20423 wine_fn_config_makefile dlls/dxguid enable_dxguid
20424 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20425 wine_fn_config_makefile dlls/esent enable_esent
20426 wine_fn_config_makefile dlls/evr enable_evr
20427 wine_fn_config_makefile dlls/evr/tests enable_tests
20428 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20429 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20430 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20432 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20436 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20439 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20441 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20461 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20462 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20464 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20470 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
20471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20473 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20478 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20480 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20481 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20482 wine_fn_config_makefile dlls/faultrep enable_faultrep
20483 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20484 wine_fn_config_makefile dlls/feclient enable_feclient
20485 wine_fn_config_makefile dlls/fltlib enable_fltlib
20486 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20487 wine_fn_config_makefile dlls/fntcache enable_fntcache
20488 wine_fn_config_makefile dlls/fontsub enable_fontsub
20489 wine_fn_config_makefile dlls/fusion enable_fusion
20490 wine_fn_config_makefile dlls/fusion/tests enable_tests
20491 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20492 wine_fn_config_makefile dlls/gameux enable_gameux
20493 wine_fn_config_makefile dlls/gameux/tests enable_tests
20494 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20495 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20496 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20497 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20498 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20499 wine_fn_config_makefile dlls/glu32 enable_glu32
20500 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20501 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20502 wine_fn_config_makefile dlls/hal enable_hal
20503 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20504 wine_fn_config_makefile dlls/hid enable_hid
20505 wine_fn_config_makefile dlls/hid/tests enable_tests
20506 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20507 wine_fn_config_makefile dlls/hlink enable_hlink
20508 wine_fn_config_makefile dlls/hlink/tests enable_tests
20509 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20510 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20511 wine_fn_config_makefile dlls/http.sys enable_http_sys
20512 wine_fn_config_makefile dlls/httpapi enable_httpapi
20513 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20514 wine_fn_config_makefile dlls/iccvid enable_iccvid
20515 wine_fn_config_makefile dlls/icmp enable_icmp
20516 wine_fn_config_makefile dlls/ieframe enable_ieframe
20517 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20518 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20519 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20520 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20521 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20522 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20523 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20524 wine_fn_config_makefile dlls/imm32 enable_imm32
20525 wine_fn_config_makefile dlls/imm32/tests enable_tests
20526 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20527 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20528 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20529 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20530 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20531 wine_fn_config_makefile dlls/infosoft enable_infosoft
20532 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20533 wine_fn_config_makefile dlls/initpki enable_initpki
20534 wine_fn_config_makefile dlls/inkobj enable_inkobj
20535 wine_fn_config_makefile dlls/inseng enable_inseng
20536 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20537 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20538 wine_fn_config_makefile dlls/iprop enable_iprop
20539 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20540 wine_fn_config_makefile dlls/itircl enable_itircl
20541 wine_fn_config_makefile dlls/itss enable_itss
20542 wine_fn_config_makefile dlls/itss/tests enable_tests
20543 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20544 wine_fn_config_makefile dlls/jscript enable_jscript
20545 wine_fn_config_makefile dlls/jscript/tests enable_tests
20546 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20547 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20548 wine_fn_config_makefile dlls/kerberos enable_kerberos
20549 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20550 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20551 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20552 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20553 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20554 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20555 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20556 wine_fn_config_makefile dlls/ksuser enable_ksuser
20557 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20558 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20559 wine_fn_config_makefile dlls/loadperf enable_loadperf
20560 wine_fn_config_makefile dlls/localspl enable_localspl
20561 wine_fn_config_makefile dlls/localspl/tests enable_tests
20562 wine_fn_config_makefile dlls/localui enable_localui
20563 wine_fn_config_makefile dlls/localui/tests enable_tests
20564 wine_fn_config_makefile dlls/lz32 enable_lz32
20565 wine_fn_config_makefile dlls/lz32/tests enable_tests
20566 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20567 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20568 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20569 wine_fn_config_makefile dlls/mapistub enable_mapistub
20570 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20571 wine_fn_config_makefile dlls/mcicda enable_mcicda
20572 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20573 wine_fn_config_makefile dlls/mciseq enable_mciseq
20574 wine_fn_config_makefile dlls/mciwave enable_mciwave
20575 wine_fn_config_makefile dlls/mf enable_mf
20576 wine_fn_config_makefile dlls/mf/tests enable_tests
20577 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20578 wine_fn_config_makefile dlls/mferror enable_mferror
20579 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20580 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20581 wine_fn_config_makefile dlls/mfplat enable_mfplat
20582 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20583 wine_fn_config_makefile dlls/mfplay enable_mfplay
20584 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20585 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20586 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20587 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20588 wine_fn_config_makefile dlls/midimap enable_midimap
20589 wine_fn_config_makefile dlls/mlang enable_mlang
20590 wine_fn_config_makefile dlls/mlang/tests enable_tests
20591 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20592 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20593 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20594 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20595 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20596 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20597 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20598 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20599 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20600 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20601 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20602 wine_fn_config_makefile dlls/mpr enable_mpr
20603 wine_fn_config_makefile dlls/mpr/tests enable_tests
20604 wine_fn_config_makefile dlls/mprapi enable_mprapi
20605 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20606 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20607 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20608 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20609 wine_fn_config_makefile dlls/msado15 enable_msado15
20610 wine_fn_config_makefile dlls/msado15/tests enable_tests
20611 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20612 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20613 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20614 wine_fn_config_makefile dlls/mscms enable_mscms
20615 wine_fn_config_makefile dlls/mscms/tests enable_tests
20616 wine_fn_config_makefile dlls/mscoree enable_mscoree
20617 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20618 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20619 wine_fn_config_makefile dlls/msctf enable_msctf
20620 wine_fn_config_makefile dlls/msctf/tests enable_tests
20621 wine_fn_config_makefile dlls/msctfp enable_msctfp
20622 wine_fn_config_makefile dlls/msdaps enable_msdaps
20623 wine_fn_config_makefile dlls/msdelta enable_msdelta
20624 wine_fn_config_makefile dlls/msdmo enable_msdmo
20625 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20626 wine_fn_config_makefile dlls/msdrm enable_msdrm
20627 wine_fn_config_makefile dlls/msftedit enable_msftedit
20628 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20629 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20630 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20631 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20632 wine_fn_config_makefile dlls/mshtml enable_mshtml
20633 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20634 wine_fn_config_makefile dlls/msi enable_msi
20635 wine_fn_config_makefile dlls/msi/tests enable_tests
20636 wine_fn_config_makefile dlls/msident enable_msident
20637 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20638 wine_fn_config_makefile dlls/msimsg enable_msimsg
20639 wine_fn_config_makefile dlls/msimtf enable_msimtf
20640 wine_fn_config_makefile dlls/msisip enable_msisip
20641 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20642 wine_fn_config_makefile dlls/msls31 enable_msls31
20643 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20644 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20645 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20646 wine_fn_config_makefile dlls/msports enable_msports
20647 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20648 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20649 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20650 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20651 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20652 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20653 wine_fn_config_makefile dlls/mstask enable_mstask
20654 wine_fn_config_makefile dlls/mstask/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20656 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20657 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20658 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20659 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20660 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20661 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20662 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20663 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20664 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20665 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20666 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20667 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20668 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20669 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20670 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20671 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20672 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20673 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20674 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20675 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20676 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20677 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20678 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20679 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20680 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20681 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20682 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20683 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20684 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20685 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20686 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20687 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20688 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20689 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20690 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20691 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20692 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20693 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20694 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20695 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20696 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20697 wine_fn_config_makefile dlls/mswsock enable_mswsock
20698 wine_fn_config_makefile dlls/msxml enable_msxml
20699 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20700 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20701 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20702 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20703 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20704 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20705 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20706 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20707 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20708 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20709 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20710 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20711 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20712 wine_fn_config_makefile dlls/netprofm enable_netprofm
20713 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20714 wine_fn_config_makefile dlls/newdev enable_newdev
20715 wine_fn_config_makefile dlls/ninput enable_ninput
20716 wine_fn_config_makefile dlls/ninput/tests enable_tests
20717 wine_fn_config_makefile dlls/normaliz enable_normaliz
20718 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20719 wine_fn_config_makefile dlls/npptools enable_npptools
20720 wine_fn_config_makefile dlls/ntdll enable_ntdll
20721 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20722 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20723 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20724 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20725 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20726 wine_fn_config_makefile dlls/ntprint enable_ntprint
20727 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20728 wine_fn_config_makefile dlls/objsel enable_objsel
20729 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20730 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20731 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20732 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20733 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20734 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20735 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20737 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20738 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20739 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20740 wine_fn_config_makefile dlls/ole32 enable_ole32
20741 wine_fn_config_makefile dlls/ole32/tests enable_tests
20742 wine_fn_config_makefile dlls/oleacc enable_oleacc
20743 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20744 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20745 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20746 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20747 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20748 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20749 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20750 wine_fn_config_makefile dlls/oledlg enable_oledlg
20751 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20752 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20753 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20754 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20755 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20756 wine_fn_config_makefile dlls/opcservices enable_opcservices
20757 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20758 wine_fn_config_makefile dlls/openal32 enable_openal32
20759 wine_fn_config_makefile dlls/opencl enable_opencl
20760 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20761 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20762 wine_fn_config_makefile dlls/packager enable_packager
20763 wine_fn_config_makefile dlls/packager/tests enable_tests
20764 wine_fn_config_makefile dlls/pdh enable_pdh
20765 wine_fn_config_makefile dlls/pdh/tests enable_tests
20766 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20767 wine_fn_config_makefile dlls/pidgen enable_pidgen
20768 wine_fn_config_makefile dlls/powrprof enable_powrprof
20769 wine_fn_config_makefile dlls/printui enable_printui
20770 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20771 wine_fn_config_makefile dlls/propsys enable_propsys
20772 wine_fn_config_makefile dlls/propsys/tests enable_tests
20773 wine_fn_config_makefile dlls/psapi enable_psapi
20774 wine_fn_config_makefile dlls/psapi/tests enable_tests
20775 wine_fn_config_makefile dlls/pstorec enable_pstorec
20776 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20777 wine_fn_config_makefile dlls/qasf enable_qasf
20778 wine_fn_config_makefile dlls/qasf/tests enable_tests
20779 wine_fn_config_makefile dlls/qcap enable_qcap
20780 wine_fn_config_makefile dlls/qcap/tests enable_tests
20781 wine_fn_config_makefile dlls/qedit enable_qedit
20782 wine_fn_config_makefile dlls/qedit/tests enable_tests
20783 wine_fn_config_makefile dlls/qmgr enable_qmgr
20784 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20785 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20786 wine_fn_config_makefile dlls/quartz enable_quartz
20787 wine_fn_config_makefile dlls/quartz/tests enable_tests
20788 wine_fn_config_makefile dlls/query enable_query
20789 wine_fn_config_makefile dlls/qwave enable_qwave
20790 wine_fn_config_makefile dlls/qwave/tests enable_tests
20791 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20792 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20793 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20794 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20795 wine_fn_config_makefile dlls/regapi enable_regapi
20796 wine_fn_config_makefile dlls/resutils enable_resutils
20797 wine_fn_config_makefile dlls/riched20 enable_riched20
20798 wine_fn_config_makefile dlls/riched20/tests enable_tests
20799 wine_fn_config_makefile dlls/riched32 enable_riched32
20800 wine_fn_config_makefile dlls/riched32/tests enable_tests
20801 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20802 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20803 wine_fn_config_makefile dlls/rsabase enable_rsabase
20804 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20805 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20806 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20807 wine_fn_config_makefile dlls/rtutils enable_rtutils
20808 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20809 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20810 wine_fn_config_makefile dlls/samlib enable_samlib
20811 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20812 wine_fn_config_makefile dlls/sapi enable_sapi
20813 wine_fn_config_makefile dlls/sapi/tests enable_tests
20814 wine_fn_config_makefile dlls/sas enable_sas
20815 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20816 wine_fn_config_makefile dlls/sccbase enable_sccbase
20817 wine_fn_config_makefile dlls/schannel enable_schannel
20818 wine_fn_config_makefile dlls/schannel/tests enable_tests
20819 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20820 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20821 wine_fn_config_makefile dlls/scrobj enable_scrobj
20822 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20823 wine_fn_config_makefile dlls/scrrun enable_scrrun
20824 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20825 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20826 wine_fn_config_makefile dlls/secur32 enable_secur32
20827 wine_fn_config_makefile dlls/secur32/tests enable_tests
20828 wine_fn_config_makefile dlls/security enable_security
20829 wine_fn_config_makefile dlls/sensapi enable_sensapi
20830 wine_fn_config_makefile dlls/serialui enable_serialui
20831 wine_fn_config_makefile dlls/serialui/tests enable_tests
20832 wine_fn_config_makefile dlls/setupapi enable_setupapi
20833 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20834 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20835 wine_fn_config_makefile dlls/sfc enable_sfc
20836 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20837 wine_fn_config_makefile dlls/shcore enable_shcore
20838 wine_fn_config_makefile dlls/shcore/tests enable_tests
20839 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20840 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20841 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20842 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20843 wine_fn_config_makefile dlls/shell32 enable_shell32
20844 wine_fn_config_makefile dlls/shell32/tests enable_tests
20845 wine_fn_config_makefile dlls/shfolder enable_shfolder
20846 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20847 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20848 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20849 wine_fn_config_makefile dlls/slc enable_slc
20850 wine_fn_config_makefile dlls/slc/tests enable_tests
20851 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20852 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20853 wine_fn_config_makefile dlls/softpub enable_softpub
20854 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20855 wine_fn_config_makefile dlls/spoolss enable_spoolss
20856 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20857 wine_fn_config_makefile dlls/srclient enable_srclient
20858 wine_fn_config_makefile dlls/sspicli enable_sspicli
20859 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20860 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20861 wine_fn_config_makefile dlls/sti enable_sti
20862 wine_fn_config_makefile dlls/sti/tests enable_tests
20863 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20864 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20865 wine_fn_config_makefile dlls/strmbase enable_strmbase
20866 wine_fn_config_makefile dlls/strmdll enable_strmdll
20867 wine_fn_config_makefile dlls/strmiids enable_strmiids
20868 wine_fn_config_makefile dlls/svrapi enable_svrapi
20869 wine_fn_config_makefile dlls/sxs enable_sxs
20870 wine_fn_config_makefile dlls/sxs/tests enable_tests
20871 wine_fn_config_makefile dlls/system.drv16 enable_win16
20872 wine_fn_config_makefile dlls/t2embed enable_t2embed
20873 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20874 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20875 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20876 wine_fn_config_makefile dlls/taskschd enable_taskschd
20877 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20878 wine_fn_config_makefile dlls/tdh enable_tdh
20879 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20880 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20881 wine_fn_config_makefile dlls/traffic enable_traffic
20882 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20883 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20884 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20885 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20886 wine_fn_config_makefile dlls/tzres enable_tzres
20887 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20888 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20889 wine_fn_config_makefile dlls/uianimation enable_uianimation
20890 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20891 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20892 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20893 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20894 wine_fn_config_makefile dlls/unicows enable_unicows
20895 wine_fn_config_makefile dlls/updspapi enable_updspapi
20896 wine_fn_config_makefile dlls/url enable_url
20897 wine_fn_config_makefile dlls/urlmon enable_urlmon
20898 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20899 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20900 wine_fn_config_makefile dlls/user.exe16 enable_win16
20901 wine_fn_config_makefile dlls/user32 enable_user32
20902 wine_fn_config_makefile dlls/user32/tests enable_tests
20903 wine_fn_config_makefile dlls/userenv enable_userenv
20904 wine_fn_config_makefile dlls/userenv/tests enable_tests
20905 wine_fn_config_makefile dlls/usp10 enable_usp10
20906 wine_fn_config_makefile dlls/usp10/tests enable_tests
20907 wine_fn_config_makefile dlls/utildll enable_utildll
20908 wine_fn_config_makefile dlls/uuid enable_uuid
20909 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20910 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20911 wine_fn_config_makefile dlls/vbscript enable_vbscript
20912 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20913 wine_fn_config_makefile dlls/vcomp enable_vcomp
20914 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20915 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20916 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20917 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20918 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20919 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20920 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20921 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20922 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20923 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20924 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20925 wine_fn_config_makefile dlls/version enable_version
20926 wine_fn_config_makefile dlls/version/tests enable_tests
20927 wine_fn_config_makefile dlls/vga enable_vga
20928 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20929 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20930 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20931 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20932 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20933 wine_fn_config_makefile dlls/vssapi enable_vssapi
20934 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20935 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20936 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20937 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20938 wine_fn_config_makefile dlls/w32skrnl enable_win16
20939 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20940 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20941 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20942 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20943 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20944 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20945 wine_fn_config_makefile dlls/wdscore enable_wdscore
20946 wine_fn_config_makefile dlls/webservices enable_webservices
20947 wine_fn_config_makefile dlls/webservices/tests enable_tests
20948 wine_fn_config_makefile dlls/wer enable_wer
20949 wine_fn_config_makefile dlls/wer/tests enable_tests
20950 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20951 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20952 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20953 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20954 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20955 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20956 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20957 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20958 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20959 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20960 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20961 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20962 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20963 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20964 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20965 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20966 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20967 wine_fn_config_makefile dlls/wined3d enable_wined3d
20968 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20969 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20970 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20971 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20972 wine_fn_config_makefile dlls/winemapi enable_winemapi
20973 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20974 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20975 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20976 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20977 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20978 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20979 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20980 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20981 wine_fn_config_makefile dlls/wing32 enable_wing32
20982 wine_fn_config_makefile dlls/winhttp enable_winhttp
20983 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20984 wine_fn_config_makefile dlls/wininet enable_wininet
20985 wine_fn_config_makefile dlls/wininet/tests enable_tests
20986 wine_fn_config_makefile dlls/winmm enable_winmm
20987 wine_fn_config_makefile dlls/winmm/tests enable_tests
20988 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20989 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20990 wine_fn_config_makefile dlls/winscard enable_winscard
20991 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20992 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20993 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20994 wine_fn_config_makefile dlls/winsta enable_winsta
20995 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20996 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20997 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20998 wine_fn_config_makefile dlls/wintrust enable_wintrust
20999 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21000 wine_fn_config_makefile dlls/winusb enable_winusb
21001 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21002 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21003 wine_fn_config_makefile dlls/wlanui enable_wlanui
21004 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21005 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21006 wine_fn_config_makefile dlls/wmasf enable_wmasf
21007 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21008 wine_fn_config_makefile dlls/wmi enable_wmi
21009 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21010 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21011 wine_fn_config_makefile dlls/wmp enable_wmp
21012 wine_fn_config_makefile dlls/wmp/tests enable_tests
21013 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21014 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21015 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21016 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21017 wine_fn_config_makefile dlls/wow32 enable_win16
21018 wine_fn_config_makefile dlls/wpc enable_wpc
21019 wine_fn_config_makefile dlls/wpc/tests enable_tests
21020 wine_fn_config_makefile dlls/wpcap enable_wpcap
21021 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21022 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21023 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21024 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21025 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21026 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21027 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21028 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21029 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21030 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21031 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21032 wine_fn_config_makefile dlls/wuapi enable_wuapi
21033 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21034 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21035 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21036 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21037 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21038 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21039 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21040 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21041 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21042 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21043 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21044 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21045 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21046 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21047 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21048 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21049 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21050 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21051 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21052 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21053 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21054 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21055 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21056 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21057 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21058 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21059 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21060 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21061 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21062 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21063 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21064 wine_fn_config_makefile dlls/xmllite enable_xmllite
21065 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21066 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21067 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21068 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21069 wine_fn_config_makefile fonts enable_fonts
21070 wine_fn_config_makefile include enable_include
21071 wine_fn_config_makefile libs/port enable_port
21072 wine_fn_config_makefile libs/wine enable_wine
21073 wine_fn_config_makefile libs/wpp enable_wpp
21074 wine_fn_config_makefile loader enable_loader
21075 wine_fn_config_makefile nls enable_nls
21076 wine_fn_config_makefile po enable_po
21077 wine_fn_config_makefile programs/arp enable_arp
21078 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21079 wine_fn_config_makefile programs/attrib enable_attrib
21080 wine_fn_config_makefile programs/cabarc enable_cabarc
21081 wine_fn_config_makefile programs/cacls enable_cacls
21082 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21083 wine_fn_config_makefile programs/clock enable_clock
21084 wine_fn_config_makefile programs/cmd enable_cmd
21085 wine_fn_config_makefile programs/cmd/tests enable_tests
21086 wine_fn_config_makefile programs/conhost enable_conhost
21087 wine_fn_config_makefile programs/control enable_control
21088 wine_fn_config_makefile programs/cscript enable_cscript
21089 wine_fn_config_makefile programs/dism enable_dism
21090 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21091 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21092 wine_fn_config_makefile programs/eject enable_eject
21093 wine_fn_config_makefile programs/expand enable_expand
21094 wine_fn_config_makefile programs/explorer enable_explorer
21095 wine_fn_config_makefile programs/extrac32 enable_extrac32
21096 wine_fn_config_makefile programs/fc enable_fc
21097 wine_fn_config_makefile programs/find enable_find
21098 wine_fn_config_makefile programs/find/tests enable_tests
21099 wine_fn_config_makefile programs/findstr enable_findstr
21100 wine_fn_config_makefile programs/fsutil enable_fsutil
21101 wine_fn_config_makefile programs/hh enable_hh
21102 wine_fn_config_makefile programs/hostname enable_hostname
21103 wine_fn_config_makefile programs/icacls enable_icacls
21104 wine_fn_config_makefile programs/icinfo enable_icinfo
21105 wine_fn_config_makefile programs/iexplore enable_iexplore
21106 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21107 wine_fn_config_makefile programs/lodctr enable_lodctr
21108 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21109 wine_fn_config_makefile programs/mshta enable_mshta
21110 wine_fn_config_makefile programs/msidb enable_msidb
21111 wine_fn_config_makefile programs/msiexec enable_msiexec
21112 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21113 wine_fn_config_makefile programs/net enable_net
21114 wine_fn_config_makefile programs/netsh enable_netsh
21115 wine_fn_config_makefile programs/netstat enable_netstat
21116 wine_fn_config_makefile programs/ngen enable_ngen
21117 wine_fn_config_makefile programs/notepad enable_notepad
21118 wine_fn_config_makefile programs/oleview enable_oleview
21119 wine_fn_config_makefile programs/ping enable_ping
21120 wine_fn_config_makefile programs/plugplay enable_plugplay
21121 wine_fn_config_makefile programs/powershell enable_powershell
21122 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21123 wine_fn_config_makefile programs/progman enable_progman
21124 wine_fn_config_makefile programs/reg enable_reg
21125 wine_fn_config_makefile programs/reg/tests enable_tests
21126 wine_fn_config_makefile programs/regasm enable_regasm
21127 wine_fn_config_makefile programs/regedit enable_regedit
21128 wine_fn_config_makefile programs/regedit/tests enable_tests
21129 wine_fn_config_makefile programs/regini enable_regini
21130 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21131 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21132 wine_fn_config_makefile programs/rpcss enable_rpcss
21133 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21134 wine_fn_config_makefile programs/rundll32 enable_rundll32
21135 wine_fn_config_makefile programs/sc enable_sc
21136 wine_fn_config_makefile programs/schtasks enable_schtasks
21137 wine_fn_config_makefile programs/schtasks/tests enable_tests
21138 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21139 wine_fn_config_makefile programs/secedit enable_secedit
21140 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21141 wine_fn_config_makefile programs/services enable_services
21142 wine_fn_config_makefile programs/services/tests enable_tests
21143 wine_fn_config_makefile programs/shutdown enable_shutdown
21144 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21145 wine_fn_config_makefile programs/start enable_start
21146 wine_fn_config_makefile programs/subst enable_subst
21147 wine_fn_config_makefile programs/svchost enable_svchost
21148 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21149 wine_fn_config_makefile programs/taskkill enable_taskkill
21150 wine_fn_config_makefile programs/tasklist enable_tasklist
21151 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21152 wine_fn_config_makefile programs/termsv enable_termsv
21153 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21154 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21155 wine_fn_config_makefile programs/view enable_view
21156 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21157 wine_fn_config_makefile programs/whoami enable_whoami
21158 wine_fn_config_makefile programs/wineboot enable_wineboot
21159 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21160 wine_fn_config_makefile programs/winecfg enable_winecfg
21161 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21162 wine_fn_config_makefile programs/winedbg enable_winedbg
21163 wine_fn_config_makefile programs/winedevice enable_winedevice
21164 wine_fn_config_makefile programs/winefile enable_winefile
21165 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21166 wine_fn_config_makefile programs/winemine enable_winemine
21167 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21168 wine_fn_config_makefile programs/winepath enable_winepath
21169 wine_fn_config_makefile programs/winetest enable_winetest
21170 wine_fn_config_makefile programs/winevdm enable_win16
21171 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21172 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21173 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21174 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21175 wine_fn_config_makefile programs/winver enable_winver
21176 wine_fn_config_makefile programs/wmic enable_wmic
21177 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21178 wine_fn_config_makefile programs/wordpad enable_wordpad
21179 wine_fn_config_makefile programs/write enable_write
21180 wine_fn_config_makefile programs/wscript enable_wscript
21181 wine_fn_config_makefile programs/wscript/tests enable_tests
21182 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21183 wine_fn_config_makefile programs/wusa enable_wusa
21184 wine_fn_config_makefile programs/xcopy enable_xcopy
21185 wine_fn_config_makefile programs/xcopy/tests enable_tests
21186 wine_fn_config_makefile server enable_server
21187 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21188 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21190 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21191 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21192 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21195 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21198 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21199 wine_fn_append_file CONFIGURE_TARGETS "tags"
21200 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21201 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21202 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21203 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21204 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21205 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21207 if test "x$enable_tools" != xno
21208 then
21209 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21210 ac_config_commands="$ac_config_commands tools/makedep"
21214 ac_config_commands="$ac_config_commands Makefile"
21217 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21221 if test "x$enable_maintainer_mode" = xyes
21222 then
21223 wine_fn_append_rule "configure: configure.ac aclocal.m4
21224 autoconf --warnings=all
21225 include/config.h.in: include/stamp-h.in
21226 include/stamp-h.in: configure.ac aclocal.m4
21227 autoheader --warnings=all
21228 @echo timestamp > \$@"
21231 if test "x$enable_tools" != xno
21232 then
21233 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21234 @./config.status tools/makedep
21235 Makefile: tools/makedep$ac_exeext
21236 fonts: tools/sfnt2fon
21237 include: tools tools/widl"
21238 else
21239 wine_fn_append_rule "\$(MAKEDEP):
21240 @echo \"You need to run make in $TOOLSDIR first\" && false"
21243 if test -n "$with_wine64"
21244 then
21245 case "$with_wine64" in
21246 /*) reldir="" ;;
21247 *) reldir="../" ;;
21248 esac
21249 rm -f fonts server 2>/dev/null
21250 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21251 loader/wine64 loader/wine64-preloader:
21252 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21253 $with_wine64/loader/wine:
21254 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21255 $with_wine64/loader/wine-preloader:
21256 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21257 clean::
21258 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21259 else
21260 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21261 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21262 fonts \
21263 loader/wine.inf \
21264 loader/winebus.inf \
21265 loader/winehid.inf \
21266 nls \
21267 programs/msidb/msidb \
21268 programs/msiexec/msiexec \
21269 programs/notepad/notepad \
21270 programs/regedit/regedit \
21271 programs/regsvr32/regsvr32 \
21272 programs/wineboot/wineboot \
21273 programs/winecfg/winecfg \
21274 programs/wineconsole/wineconsole \
21275 programs/winedbg/winedbg \
21276 programs/winefile/winefile \
21277 programs/winemine/winemine \
21278 programs/winepath/winepath \
21279 server/wineserver"
21281 case $host_os in
21282 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21283 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21284 esac
21287 $as_echo " done" >&6
21288 cat >confcache <<\_ACEOF
21289 # This file is a shell script that caches the results of configure
21290 # tests run on this system so they can be shared between configure
21291 # scripts and configure runs, see configure's option --config-cache.
21292 # It is not useful on other systems. If it contains results you don't
21293 # want to keep, you may remove or edit it.
21295 # config.status only pays attention to the cache file if you give it
21296 # the --recheck option to rerun configure.
21298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21300 # following values.
21302 _ACEOF
21304 # The following way of writing the cache mishandles newlines in values,
21305 # but we know of no workaround that is simple, portable, and efficient.
21306 # So, we kill variables containing newlines.
21307 # Ultrix sh set writes to stderr and can't be redirected directly,
21308 # and sets the high bit in the cache file unless we assign to the vars.
21310 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21311 eval ac_val=\$$ac_var
21312 case $ac_val in #(
21313 *${as_nl}*)
21314 case $ac_var in #(
21315 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21316 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21317 esac
21318 case $ac_var in #(
21319 _ | IFS | as_nl) ;; #(
21320 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21321 *) { eval $ac_var=; unset $ac_var;} ;;
21322 esac ;;
21323 esac
21324 done
21326 (set) 2>&1 |
21327 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21328 *${as_nl}ac_space=\ *)
21329 # `set' does not quote correctly, so add quotes: double-quote
21330 # substitution turns \\\\ into \\, and sed turns \\ into \.
21331 sed -n \
21332 "s/'/'\\\\''/g;
21333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21334 ;; #(
21336 # `set' quotes correctly as required by POSIX, so do not add quotes.
21337 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21339 esac |
21340 sort
21342 sed '
21343 /^ac_cv_env_/b end
21344 t clear
21345 :clear
21346 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21347 t end
21348 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21349 :end' >>confcache
21350 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21351 if test -w "$cache_file"; then
21352 if test "x$cache_file" != "x/dev/null"; then
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21354 $as_echo "$as_me: updating cache $cache_file" >&6;}
21355 if test ! -f "$cache_file" || test -h "$cache_file"; then
21356 cat confcache >"$cache_file"
21357 else
21358 case $cache_file in #(
21359 */* | ?:*)
21360 mv -f confcache "$cache_file"$$ &&
21361 mv -f "$cache_file"$$ "$cache_file" ;; #(
21363 mv -f confcache "$cache_file" ;;
21364 esac
21367 else
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21369 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21372 rm -f confcache
21374 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21375 # Let make expand exec_prefix.
21376 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21378 DEFS=-DHAVE_CONFIG_H
21380 ac_libobjs=
21381 ac_ltlibobjs=
21383 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21384 # 1. Remove the extension, and $U if already installed.
21385 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21386 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21387 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21388 # will be set to the directory where LIBOBJS objects are built.
21389 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21390 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21391 done
21392 LIBOBJS=$ac_libobjs
21394 LTLIBOBJS=$ac_ltlibobjs
21398 : "${CONFIG_STATUS=./config.status}"
21399 ac_write_fail=0
21400 ac_clean_files_save=$ac_clean_files
21401 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21403 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21404 as_write_fail=0
21405 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21406 #! $SHELL
21407 # Generated by $as_me.
21408 # Run this file to recreate the current configuration.
21409 # Compiler output produced by configure, useful for debugging
21410 # configure, is in config.log if it exists.
21412 debug=false
21413 ac_cs_recheck=false
21414 ac_cs_silent=false
21416 SHELL=\${CONFIG_SHELL-$SHELL}
21417 export SHELL
21418 _ASEOF
21419 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21420 ## -------------------- ##
21421 ## M4sh Initialization. ##
21422 ## -------------------- ##
21424 # Be more Bourne compatible
21425 DUALCASE=1; export DUALCASE # for MKS sh
21426 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21427 emulate sh
21428 NULLCMD=:
21429 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21430 # is contrary to our usage. Disable this feature.
21431 alias -g '${1+"$@"}'='"$@"'
21432 setopt NO_GLOB_SUBST
21433 else
21434 case `(set -o) 2>/dev/null` in #(
21435 *posix*) :
21436 set -o posix ;; #(
21437 *) :
21439 esac
21443 as_nl='
21445 export as_nl
21446 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21447 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21449 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21450 # Prefer a ksh shell builtin over an external printf program on Solaris,
21451 # but without wasting forks for bash or zsh.
21452 if test -z "$BASH_VERSION$ZSH_VERSION" \
21453 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21454 as_echo='print -r --'
21455 as_echo_n='print -rn --'
21456 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21457 as_echo='printf %s\n'
21458 as_echo_n='printf %s'
21459 else
21460 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21461 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21462 as_echo_n='/usr/ucb/echo -n'
21463 else
21464 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21465 as_echo_n_body='eval
21466 arg=$1;
21467 case $arg in #(
21468 *"$as_nl"*)
21469 expr "X$arg" : "X\\(.*\\)$as_nl";
21470 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21471 esac;
21472 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21474 export as_echo_n_body
21475 as_echo_n='sh -c $as_echo_n_body as_echo'
21477 export as_echo_body
21478 as_echo='sh -c $as_echo_body as_echo'
21481 # The user is always right.
21482 if test "${PATH_SEPARATOR+set}" != set; then
21483 PATH_SEPARATOR=:
21484 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21485 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21486 PATH_SEPARATOR=';'
21491 # IFS
21492 # We need space, tab and new line, in precisely that order. Quoting is
21493 # there to prevent editors from complaining about space-tab.
21494 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21495 # splitting by setting IFS to empty value.)
21496 IFS=" "" $as_nl"
21498 # Find who we are. Look in the path if we contain no directory separator.
21499 as_myself=
21500 case $0 in #((
21501 *[\\/]* ) as_myself=$0 ;;
21502 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21503 for as_dir in $PATH
21505 IFS=$as_save_IFS
21506 test -z "$as_dir" && as_dir=.
21507 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21508 done
21509 IFS=$as_save_IFS
21512 esac
21513 # We did not find ourselves, most probably we were run as `sh COMMAND'
21514 # in which case we are not to be found in the path.
21515 if test "x$as_myself" = x; then
21516 as_myself=$0
21518 if test ! -f "$as_myself"; then
21519 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21520 exit 1
21523 # Unset variables that we do not need and which cause bugs (e.g. in
21524 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21525 # suppresses any "Segmentation fault" message there. '((' could
21526 # trigger a bug in pdksh 5.2.14.
21527 for as_var in BASH_ENV ENV MAIL MAILPATH
21528 do eval test x\${$as_var+set} = xset \
21529 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21530 done
21531 PS1='$ '
21532 PS2='> '
21533 PS4='+ '
21535 # NLS nuisances.
21536 LC_ALL=C
21537 export LC_ALL
21538 LANGUAGE=C
21539 export LANGUAGE
21541 # CDPATH.
21542 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21545 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21546 # ----------------------------------------
21547 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21548 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21549 # script with STATUS, using 1 if that was 0.
21550 as_fn_error ()
21552 as_status=$1; test $as_status -eq 0 && as_status=1
21553 if test "$4"; then
21554 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21555 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21557 $as_echo "$as_me: error: $2" >&2
21558 as_fn_exit $as_status
21559 } # as_fn_error
21562 # as_fn_set_status STATUS
21563 # -----------------------
21564 # Set $? to STATUS, without forking.
21565 as_fn_set_status ()
21567 return $1
21568 } # as_fn_set_status
21570 # as_fn_exit STATUS
21571 # -----------------
21572 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21573 as_fn_exit ()
21575 set +e
21576 as_fn_set_status $1
21577 exit $1
21578 } # as_fn_exit
21580 # as_fn_unset VAR
21581 # ---------------
21582 # Portably unset VAR.
21583 as_fn_unset ()
21585 { eval $1=; unset $1;}
21587 as_unset=as_fn_unset
21588 # as_fn_append VAR VALUE
21589 # ----------------------
21590 # Append the text in VALUE to the end of the definition contained in VAR. Take
21591 # advantage of any shell optimizations that allow amortized linear growth over
21592 # repeated appends, instead of the typical quadratic growth present in naive
21593 # implementations.
21594 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21595 eval 'as_fn_append ()
21597 eval $1+=\$2
21599 else
21600 as_fn_append ()
21602 eval $1=\$$1\$2
21604 fi # as_fn_append
21606 # as_fn_arith ARG...
21607 # ------------------
21608 # Perform arithmetic evaluation on the ARGs, and store the result in the
21609 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21610 # must be portable across $(()) and expr.
21611 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21612 eval 'as_fn_arith ()
21614 as_val=$(( $* ))
21616 else
21617 as_fn_arith ()
21619 as_val=`expr "$@" || test $? -eq 1`
21621 fi # as_fn_arith
21624 if expr a : '\(a\)' >/dev/null 2>&1 &&
21625 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21626 as_expr=expr
21627 else
21628 as_expr=false
21631 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21632 as_basename=basename
21633 else
21634 as_basename=false
21637 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21638 as_dirname=dirname
21639 else
21640 as_dirname=false
21643 as_me=`$as_basename -- "$0" ||
21644 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21645 X"$0" : 'X\(//\)$' \| \
21646 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21647 $as_echo X/"$0" |
21648 sed '/^.*\/\([^/][^/]*\)\/*$/{
21649 s//\1/
21652 /^X\/\(\/\/\)$/{
21653 s//\1/
21656 /^X\/\(\/\).*/{
21657 s//\1/
21660 s/.*/./; q'`
21662 # Avoid depending upon Character Ranges.
21663 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21664 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21665 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21666 as_cr_digits='0123456789'
21667 as_cr_alnum=$as_cr_Letters$as_cr_digits
21669 ECHO_C= ECHO_N= ECHO_T=
21670 case `echo -n x` in #(((((
21671 -n*)
21672 case `echo 'xy\c'` in
21673 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21674 xy) ECHO_C='\c';;
21675 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21676 ECHO_T=' ';;
21677 esac;;
21679 ECHO_N='-n';;
21680 esac
21682 rm -f conf$$ conf$$.exe conf$$.file
21683 if test -d conf$$.dir; then
21684 rm -f conf$$.dir/conf$$.file
21685 else
21686 rm -f conf$$.dir
21687 mkdir conf$$.dir 2>/dev/null
21689 if (echo >conf$$.file) 2>/dev/null; then
21690 if ln -s conf$$.file conf$$ 2>/dev/null; then
21691 as_ln_s='ln -s'
21692 # ... but there are two gotchas:
21693 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21694 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21695 # In both cases, we have to default to `cp -pR'.
21696 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21697 as_ln_s='cp -pR'
21698 elif ln conf$$.file conf$$ 2>/dev/null; then
21699 as_ln_s=ln
21700 else
21701 as_ln_s='cp -pR'
21703 else
21704 as_ln_s='cp -pR'
21706 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21707 rmdir conf$$.dir 2>/dev/null
21710 # as_fn_mkdir_p
21711 # -------------
21712 # Create "$as_dir" as a directory, including parents if necessary.
21713 as_fn_mkdir_p ()
21716 case $as_dir in #(
21717 -*) as_dir=./$as_dir;;
21718 esac
21719 test -d "$as_dir" || eval $as_mkdir_p || {
21720 as_dirs=
21721 while :; do
21722 case $as_dir in #(
21723 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21724 *) as_qdir=$as_dir;;
21725 esac
21726 as_dirs="'$as_qdir' $as_dirs"
21727 as_dir=`$as_dirname -- "$as_dir" ||
21728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21729 X"$as_dir" : 'X\(//\)[^/]' \| \
21730 X"$as_dir" : 'X\(//\)$' \| \
21731 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21732 $as_echo X"$as_dir" |
21733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21734 s//\1/
21737 /^X\(\/\/\)[^/].*/{
21738 s//\1/
21741 /^X\(\/\/\)$/{
21742 s//\1/
21745 /^X\(\/\).*/{
21746 s//\1/
21749 s/.*/./; q'`
21750 test -d "$as_dir" && break
21751 done
21752 test -z "$as_dirs" || eval "mkdir $as_dirs"
21753 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21756 } # as_fn_mkdir_p
21757 if mkdir -p . 2>/dev/null; then
21758 as_mkdir_p='mkdir -p "$as_dir"'
21759 else
21760 test -d ./-p && rmdir ./-p
21761 as_mkdir_p=false
21765 # as_fn_executable_p FILE
21766 # -----------------------
21767 # Test if FILE is an executable regular file.
21768 as_fn_executable_p ()
21770 test -f "$1" && test -x "$1"
21771 } # as_fn_executable_p
21772 as_test_x='test -x'
21773 as_executable_p=as_fn_executable_p
21775 # Sed expression to map a string onto a valid CPP name.
21776 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21778 # Sed expression to map a string onto a valid variable name.
21779 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21782 exec 6>&1
21783 ## ----------------------------------- ##
21784 ## Main body of $CONFIG_STATUS script. ##
21785 ## ----------------------------------- ##
21786 _ASEOF
21787 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21790 # Save the log message, to keep $0 and so on meaningful, and to
21791 # report actual input values of CONFIG_FILES etc. instead of their
21792 # values after options handling.
21793 ac_log="
21794 This file was extended by Wine $as_me 5.5, which was
21795 generated by GNU Autoconf 2.69. Invocation command line was
21797 CONFIG_FILES = $CONFIG_FILES
21798 CONFIG_HEADERS = $CONFIG_HEADERS
21799 CONFIG_LINKS = $CONFIG_LINKS
21800 CONFIG_COMMANDS = $CONFIG_COMMANDS
21801 $ $0 $@
21803 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21806 _ACEOF
21808 case $ac_config_files in *"
21809 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21810 esac
21812 case $ac_config_headers in *"
21813 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21814 esac
21817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21818 # Files that config.status was made for.
21819 config_files="$ac_config_files"
21820 config_headers="$ac_config_headers"
21821 config_links="$ac_config_links"
21822 config_commands="$ac_config_commands"
21824 _ACEOF
21826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21827 ac_cs_usage="\
21828 \`$as_me' instantiates files and other configuration actions
21829 from templates according to the current configuration. Unless the files
21830 and actions are specified as TAGs, all are instantiated by default.
21832 Usage: $0 [OPTION]... [TAG]...
21834 -h, --help print this help, then exit
21835 -V, --version print version number and configuration settings, then exit
21836 --config print configuration, then exit
21837 -q, --quiet, --silent
21838 do not print progress messages
21839 -d, --debug don't remove temporary files
21840 --recheck update $as_me by reconfiguring in the same conditions
21841 --file=FILE[:TEMPLATE]
21842 instantiate the configuration file FILE
21843 --header=FILE[:TEMPLATE]
21844 instantiate the configuration header FILE
21846 Configuration files:
21847 $config_files
21849 Configuration headers:
21850 $config_headers
21852 Configuration links:
21853 $config_links
21855 Configuration commands:
21856 $config_commands
21858 Report bugs to <wine-devel@winehq.org>.
21859 Wine home page: <https://www.winehq.org>."
21861 _ACEOF
21862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21863 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21864 ac_cs_version="\\
21865 Wine config.status 5.5
21866 configured by $0, generated by GNU Autoconf 2.69,
21867 with options \\"\$ac_cs_config\\"
21869 Copyright (C) 2012 Free Software Foundation, Inc.
21870 This config.status script is free software; the Free Software Foundation
21871 gives unlimited permission to copy, distribute and modify it."
21873 ac_pwd='$ac_pwd'
21874 srcdir='$srcdir'
21875 test -n "\$AWK" || AWK=awk
21876 _ACEOF
21878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21879 # The default lists apply if the user does not specify any file.
21880 ac_need_defaults=:
21881 while test $# != 0
21883 case $1 in
21884 --*=?*)
21885 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21886 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21887 ac_shift=:
21889 --*=)
21890 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21891 ac_optarg=
21892 ac_shift=:
21895 ac_option=$1
21896 ac_optarg=$2
21897 ac_shift=shift
21899 esac
21901 case $ac_option in
21902 # Handling of the options.
21903 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21904 ac_cs_recheck=: ;;
21905 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21906 $as_echo "$ac_cs_version"; exit ;;
21907 --config | --confi | --conf | --con | --co | --c )
21908 $as_echo "$ac_cs_config"; exit ;;
21909 --debug | --debu | --deb | --de | --d | -d )
21910 debug=: ;;
21911 --file | --fil | --fi | --f )
21912 $ac_shift
21913 case $ac_optarg in
21914 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21915 '') as_fn_error $? "missing file argument" ;;
21916 esac
21917 as_fn_append CONFIG_FILES " '$ac_optarg'"
21918 ac_need_defaults=false;;
21919 --header | --heade | --head | --hea )
21920 $ac_shift
21921 case $ac_optarg in
21922 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21923 esac
21924 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21925 ac_need_defaults=false;;
21926 --he | --h)
21927 # Conflict between --help and --header
21928 as_fn_error $? "ambiguous option: \`$1'
21929 Try \`$0 --help' for more information.";;
21930 --help | --hel | -h )
21931 $as_echo "$ac_cs_usage"; exit ;;
21932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21933 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21934 ac_cs_silent=: ;;
21936 # This is an error.
21937 -*) as_fn_error $? "unrecognized option: \`$1'
21938 Try \`$0 --help' for more information." ;;
21940 *) as_fn_append ac_config_targets " $1"
21941 ac_need_defaults=false ;;
21943 esac
21944 shift
21945 done
21947 ac_configure_extra_args=
21949 if $ac_cs_silent; then
21950 exec 6>/dev/null
21951 ac_configure_extra_args="$ac_configure_extra_args --silent"
21954 _ACEOF
21955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21956 if \$ac_cs_recheck; then
21957 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21958 shift
21959 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21960 CONFIG_SHELL='$SHELL'
21961 export CONFIG_SHELL
21962 exec "\$@"
21965 _ACEOF
21966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21967 exec 5>>config.log
21969 echo
21970 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21971 ## Running $as_me. ##
21972 _ASBOX
21973 $as_echo "$ac_log"
21974 } >&5
21976 _ACEOF
21977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21979 # INIT-COMMANDS
21981 wine_fn_output_makedep ()
21983 as_dir=tools; as_fn_mkdir_p
21984 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21986 wine_fn_output_makefile ()
21988 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21989 `cat $wine_rules_file`
21990 _WINE_EOF
21991 as_fn_error $? "could not create Makefile" "$LINENO" 5
21994 _ACEOF
21996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21998 # Handling of arguments.
21999 for ac_config_target in $ac_config_targets
22001 case $ac_config_target in
22002 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22003 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22004 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22005 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22006 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22007 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22008 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22010 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22011 esac
22012 done
22015 # If the user did not use the arguments to specify the items to instantiate,
22016 # then the envvar interface is used. Set only those that are not.
22017 # We use the long form for the default assignment because of an extremely
22018 # bizarre bug on SunOS 4.1.3.
22019 if $ac_need_defaults; then
22020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22021 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22022 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22023 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22026 # Have a temporary directory for convenience. Make it in the build tree
22027 # simply because there is no reason against having it here, and in addition,
22028 # creating and moving files from /tmp can sometimes cause problems.
22029 # Hook for its removal unless debugging.
22030 # Note that there is a small window in which the directory will not be cleaned:
22031 # after its creation but before its name has been assigned to `$tmp'.
22032 $debug ||
22034 tmp= ac_tmp=
22035 trap 'exit_status=$?
22036 : "${ac_tmp:=$tmp}"
22037 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22039 trap 'as_fn_exit 1' 1 2 13 15
22041 # Create a (secure) tmp directory for tmp files.
22044 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22045 test -d "$tmp"
22046 } ||
22048 tmp=./conf$$-$RANDOM
22049 (umask 077 && mkdir "$tmp")
22050 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22051 ac_tmp=$tmp
22053 # Set up the scripts for CONFIG_FILES section.
22054 # No need to generate them if there are no CONFIG_FILES.
22055 # This happens for instance with `./config.status config.h'.
22056 if test -n "$CONFIG_FILES"; then
22059 ac_cr=`echo X | tr X '\015'`
22060 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22061 # But we know of no other shell where ac_cr would be empty at this
22062 # point, so we can use a bashism as a fallback.
22063 if test "x$ac_cr" = x; then
22064 eval ac_cr=\$\'\\r\'
22066 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22067 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22068 ac_cs_awk_cr='\\r'
22069 else
22070 ac_cs_awk_cr=$ac_cr
22073 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22074 _ACEOF
22078 echo "cat >conf$$subs.awk <<_ACEOF" &&
22079 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22080 echo "_ACEOF"
22081 } >conf$$subs.sh ||
22082 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22083 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22084 ac_delim='%!_!# '
22085 for ac_last_try in false false false false false :; do
22086 . ./conf$$subs.sh ||
22087 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22089 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22090 if test $ac_delim_n = $ac_delim_num; then
22091 break
22092 elif $ac_last_try; then
22093 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22094 else
22095 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22097 done
22098 rm -f conf$$subs.sh
22100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22101 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22102 _ACEOF
22103 sed -n '
22105 s/^/S["/; s/!.*/"]=/
22108 s/^[^!]*!//
22109 :repl
22110 t repl
22111 s/'"$ac_delim"'$//
22112 t delim
22115 s/\(.\{148\}\)..*/\1/
22116 t more1
22117 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22120 b repl
22121 :more1
22122 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22125 s/.\{148\}//
22126 t nl
22127 :delim
22129 s/\(.\{148\}\)..*/\1/
22130 t more2
22131 s/["\\]/\\&/g; s/^/"/; s/$/"/
22134 :more2
22135 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22138 s/.\{148\}//
22139 t delim
22140 ' <conf$$subs.awk | sed '
22141 /^[^""]/{
22143 s/\n//
22145 ' >>$CONFIG_STATUS || ac_write_fail=1
22146 rm -f conf$$subs.awk
22147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22148 _ACAWK
22149 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22150 for (key in S) S_is_set[key] = 1
22151 FS = "\a"
22155 line = $ 0
22156 nfields = split(line, field, "@")
22157 substed = 0
22158 len = length(field[1])
22159 for (i = 2; i < nfields; i++) {
22160 key = field[i]
22161 keylen = length(key)
22162 if (S_is_set[key]) {
22163 value = S[key]
22164 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22165 len += length(value) + length(field[++i])
22166 substed = 1
22167 } else
22168 len += 1 + keylen
22171 print line
22174 _ACAWK
22175 _ACEOF
22176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22177 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22178 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22179 else
22181 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22182 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22183 _ACEOF
22185 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22186 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22187 # trailing colons and then remove the whole line if VPATH becomes empty
22188 # (actually we leave an empty line to preserve line numbers).
22189 if test "x$srcdir" = x.; then
22190 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22192 s///
22193 s/^/:/
22194 s/[ ]*$/:/
22195 s/:\$(srcdir):/:/g
22196 s/:\${srcdir}:/:/g
22197 s/:@srcdir@:/:/g
22198 s/^:*//
22199 s/:*$//
22201 s/\(=[ ]*\).*/\1/
22203 s/\n//
22204 s/^[^=]*=[ ]*$//
22208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22209 fi # test -n "$CONFIG_FILES"
22211 # Set up the scripts for CONFIG_HEADERS section.
22212 # No need to generate them if there are no CONFIG_HEADERS.
22213 # This happens for instance with `./config.status Makefile'.
22214 if test -n "$CONFIG_HEADERS"; then
22215 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22216 BEGIN {
22217 _ACEOF
22219 # Transform confdefs.h into an awk script `defines.awk', embedded as
22220 # here-document in config.status, that substitutes the proper values into
22221 # config.h.in to produce config.h.
22223 # Create a delimiter string that does not exist in confdefs.h, to ease
22224 # handling of long lines.
22225 ac_delim='%!_!# '
22226 for ac_last_try in false false :; do
22227 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22228 if test -z "$ac_tt"; then
22229 break
22230 elif $ac_last_try; then
22231 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22232 else
22233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22235 done
22237 # For the awk script, D is an array of macro values keyed by name,
22238 # likewise P contains macro parameters if any. Preserve backslash
22239 # newline sequences.
22241 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22242 sed -n '
22243 s/.\{148\}/&'"$ac_delim"'/g
22244 t rset
22245 :rset
22246 s/^[ ]*#[ ]*define[ ][ ]*/ /
22247 t def
22249 :def
22250 s/\\$//
22251 t bsnl
22252 s/["\\]/\\&/g
22253 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22254 D["\1"]=" \3"/p
22255 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22257 :bsnl
22258 s/["\\]/\\&/g
22259 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22260 D["\1"]=" \3\\\\\\n"\\/p
22261 t cont
22262 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22263 t cont
22265 :cont
22267 s/.\{148\}/&'"$ac_delim"'/g
22268 t clear
22269 :clear
22270 s/\\$//
22271 t bsnlc
22272 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22274 :bsnlc
22275 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22276 b cont
22277 ' <confdefs.h | sed '
22278 s/'"$ac_delim"'/"\\\
22279 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22282 for (key in D) D_is_set[key] = 1
22283 FS = "\a"
22285 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22286 line = \$ 0
22287 split(line, arg, " ")
22288 if (arg[1] == "#") {
22289 defundef = arg[2]
22290 mac1 = arg[3]
22291 } else {
22292 defundef = substr(arg[1], 2)
22293 mac1 = arg[2]
22295 split(mac1, mac2, "(") #)
22296 macro = mac2[1]
22297 prefix = substr(line, 1, index(line, defundef) - 1)
22298 if (D_is_set[macro]) {
22299 # Preserve the white space surrounding the "#".
22300 print prefix "define", macro P[macro] D[macro]
22301 next
22302 } else {
22303 # Replace #undef with comments. This is necessary, for example,
22304 # in the case of _POSIX_SOURCE, which is predefined and required
22305 # on some systems where configure will not decide to define it.
22306 if (defundef == "undef") {
22307 print "/*", prefix defundef, macro, "*/"
22308 next
22312 { print }
22313 _ACAWK
22314 _ACEOF
22315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22316 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22317 fi # test -n "$CONFIG_HEADERS"
22320 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22321 shift
22322 for ac_tag
22324 case $ac_tag in
22325 :[FHLC]) ac_mode=$ac_tag; continue;;
22326 esac
22327 case $ac_mode$ac_tag in
22328 :[FHL]*:*);;
22329 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22330 :[FH]-) ac_tag=-:-;;
22331 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22332 esac
22333 ac_save_IFS=$IFS
22334 IFS=:
22335 set x $ac_tag
22336 IFS=$ac_save_IFS
22337 shift
22338 ac_file=$1
22339 shift
22341 case $ac_mode in
22342 :L) ac_source=$1;;
22343 :[FH])
22344 ac_file_inputs=
22345 for ac_f
22347 case $ac_f in
22348 -) ac_f="$ac_tmp/stdin";;
22349 *) # Look for the file first in the build tree, then in the source tree
22350 # (if the path is not absolute). The absolute path cannot be DOS-style,
22351 # because $ac_f cannot contain `:'.
22352 test -f "$ac_f" ||
22353 case $ac_f in
22354 [\\/$]*) false;;
22355 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22356 esac ||
22357 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22358 esac
22359 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22360 as_fn_append ac_file_inputs " '$ac_f'"
22361 done
22363 # Let's still pretend it is `configure' which instantiates (i.e., don't
22364 # use $as_me), people would be surprised to read:
22365 # /* config.h. Generated by config.status. */
22366 configure_input='Generated from '`
22367 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22368 `' by configure.'
22369 if test x"$ac_file" != x-; then
22370 configure_input="$ac_file. $configure_input"
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22372 $as_echo "$as_me: creating $ac_file" >&6;}
22374 # Neutralize special characters interpreted by sed in replacement strings.
22375 case $configure_input in #(
22376 *\&* | *\|* | *\\* )
22377 ac_sed_conf_input=`$as_echo "$configure_input" |
22378 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22379 *) ac_sed_conf_input=$configure_input;;
22380 esac
22382 case $ac_tag in
22383 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22385 esac
22387 esac
22389 ac_dir=`$as_dirname -- "$ac_file" ||
22390 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22391 X"$ac_file" : 'X\(//\)[^/]' \| \
22392 X"$ac_file" : 'X\(//\)$' \| \
22393 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22394 $as_echo X"$ac_file" |
22395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22396 s//\1/
22399 /^X\(\/\/\)[^/].*/{
22400 s//\1/
22403 /^X\(\/\/\)$/{
22404 s//\1/
22407 /^X\(\/\).*/{
22408 s//\1/
22411 s/.*/./; q'`
22412 as_dir="$ac_dir"; as_fn_mkdir_p
22413 ac_builddir=.
22415 case "$ac_dir" in
22416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22418 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22419 # A ".." for each directory in $ac_dir_suffix.
22420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22421 case $ac_top_builddir_sub in
22422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22424 esac ;;
22425 esac
22426 ac_abs_top_builddir=$ac_pwd
22427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22428 # for backward compatibility:
22429 ac_top_builddir=$ac_top_build_prefix
22431 case $srcdir in
22432 .) # We are building in place.
22433 ac_srcdir=.
22434 ac_top_srcdir=$ac_top_builddir_sub
22435 ac_abs_top_srcdir=$ac_pwd ;;
22436 [\\/]* | ?:[\\/]* ) # Absolute name.
22437 ac_srcdir=$srcdir$ac_dir_suffix;
22438 ac_top_srcdir=$srcdir
22439 ac_abs_top_srcdir=$srcdir ;;
22440 *) # Relative name.
22441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22442 ac_top_srcdir=$ac_top_build_prefix$srcdir
22443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22444 esac
22445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22448 case $ac_mode in
22451 # CONFIG_FILE
22454 _ACEOF
22456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22457 # If the template does not know about datarootdir, expand it.
22458 # FIXME: This hack should be removed a few years after 2.60.
22459 ac_datarootdir_hack=; ac_datarootdir_seen=
22460 ac_sed_dataroot='
22461 /datarootdir/ {
22465 /@datadir@/p
22466 /@docdir@/p
22467 /@infodir@/p
22468 /@localedir@/p
22469 /@mandir@/p'
22470 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22471 *datarootdir*) ac_datarootdir_seen=yes;;
22472 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22474 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22475 _ACEOF
22476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22477 ac_datarootdir_hack='
22478 s&@datadir@&$datadir&g
22479 s&@docdir@&$docdir&g
22480 s&@infodir@&$infodir&g
22481 s&@localedir@&$localedir&g
22482 s&@mandir@&$mandir&g
22483 s&\\\${datarootdir}&$datarootdir&g' ;;
22484 esac
22485 _ACEOF
22487 # Neutralize VPATH when `$srcdir' = `.'.
22488 # Shell code in configure.ac might set extrasub.
22489 # FIXME: do we really want to maintain this feature?
22490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22491 ac_sed_extra="$ac_vpsub
22492 $extrasub
22493 _ACEOF
22494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22497 s|@configure_input@|$ac_sed_conf_input|;t t
22498 s&@top_builddir@&$ac_top_builddir_sub&;t t
22499 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22500 s&@srcdir@&$ac_srcdir&;t t
22501 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22502 s&@top_srcdir@&$ac_top_srcdir&;t t
22503 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22504 s&@builddir@&$ac_builddir&;t t
22505 s&@abs_builddir@&$ac_abs_builddir&;t t
22506 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22507 $ac_datarootdir_hack
22509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22510 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22512 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22513 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22514 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22515 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22517 which seems to be undefined. Please make sure it is defined" >&5
22518 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22519 which seems to be undefined. Please make sure it is defined" >&2;}
22521 rm -f "$ac_tmp/stdin"
22522 case $ac_file in
22523 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22524 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22525 esac \
22526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22530 # CONFIG_HEADER
22532 if test x"$ac_file" != x-; then
22534 $as_echo "/* $configure_input */" \
22535 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22536 } >"$ac_tmp/config.h" \
22537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22538 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22540 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22541 else
22542 rm -f "$ac_file"
22543 mv "$ac_tmp/config.h" "$ac_file" \
22544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22546 else
22547 $as_echo "/* $configure_input */" \
22548 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22549 || as_fn_error $? "could not create -" "$LINENO" 5
22554 # CONFIG_LINK
22557 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22559 else
22560 # Prefer the file from the source tree if names are identical.
22561 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22562 ac_source=$srcdir/$ac_source
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22566 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22568 if test ! -r "$ac_source"; then
22569 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22571 rm -f "$ac_file"
22573 # Try a relative symlink, then a hard link, then a copy.
22574 case $ac_source in
22575 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22576 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22577 esac
22578 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22579 ln "$ac_source" "$ac_file" 2>/dev/null ||
22580 cp -p "$ac_source" "$ac_file" ||
22581 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22584 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22585 $as_echo "$as_me: executing $ac_file commands" >&6;}
22587 esac
22590 case $ac_file$ac_mode in
22591 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22592 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22593 "Makefile":C) wine_fn_output_makefile Makefile ;;
22595 esac
22596 done # for ac_tag
22599 as_fn_exit 0
22600 _ACEOF
22601 ac_clean_files=$ac_clean_files_save
22603 test $ac_write_fail = 0 ||
22604 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22607 # configure is writing to config.log, and then calls config.status.
22608 # config.status does its own redirection, appending to config.log.
22609 # Unfortunately, on DOS this fails, as config.log is still kept open
22610 # by configure, so config.status won't be able to write to it; its
22611 # output is simply discarded. So we exec the FD to /dev/null,
22612 # effectively closing config.log, so it can be properly (re)opened and
22613 # appended to by config.status. When coming back to configure, we
22614 # need to make the FD available again.
22615 if test "$no_create" != yes; then
22616 ac_cs_success=:
22617 ac_config_status_args=
22618 test "$silent" = yes &&
22619 ac_config_status_args="$ac_config_status_args --quiet"
22620 exec 5>/dev/null
22621 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22622 exec 5>>config.log
22623 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22624 # would make configure fail if this is the last instruction.
22625 $ac_cs_success || as_fn_exit 1
22627 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22629 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22633 if test "$no_create" = "yes"
22634 then
22635 exit 0
22638 ac_save_IFS="$IFS"
22639 if test "x$wine_notices" != x; then
22640 echo >&6
22641 IFS="|"
22642 for msg in $wine_notices; do
22643 IFS="$ac_save_IFS"
22644 if ${msg:+false} :; then :
22646 else
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22648 $as_echo "$as_me: $msg" >&6;}
22650 done
22652 IFS="|"
22653 for msg in $wine_warnings; do
22654 IFS="$ac_save_IFS"
22655 if ${msg:+false} :; then :
22657 else
22658 echo >&2
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22660 $as_echo "$as_me: WARNING: $msg" >&2;}
22662 done
22663 IFS="$ac_save_IFS"
22665 $as_echo "
22666 $as_me: Finished. Do '${ac_make}' to compile Wine.
22667 " >&6