ntdll: Initial version of the ntdll.so Unix library.
[wine.git] / configure
blobf85e18b77f75352a830eacbe771f2cf09a495afe
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.8.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.8'
584 PACKAGE_STRING='Wine 5.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 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 USB_LIBS
686 USB_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dsuiext
1271 enable_dswave
1272 enable_dwmapi
1273 enable_dwrite
1274 enable_dx8vb
1275 enable_dxdiagn
1276 enable_dxerr8
1277 enable_dxerr9
1278 enable_dxgi
1279 enable_dxguid
1280 enable_dxva2
1281 enable_esent
1282 enable_evr
1283 enable_explorerframe
1284 enable_ext_ms_win_authz_context_l1_1_0
1285 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1286 enable_ext_ms_win_dwmapi_ext_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_0
1288 enable_ext_ms_win_gdi_dc_create_l1_1_1
1289 enable_ext_ms_win_gdi_dc_l1_2_0
1290 enable_ext_ms_win_gdi_devcaps_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_0
1292 enable_ext_ms_win_gdi_draw_l1_1_1
1293 enable_ext_ms_win_gdi_font_l1_1_0
1294 enable_ext_ms_win_gdi_font_l1_1_1
1295 enable_ext_ms_win_gdi_render_l1_1_0
1296 enable_ext_ms_win_kernel32_package_current_l1_1_0
1297 enable_ext_ms_win_kernel32_package_l1_1_1
1298 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1299 enable_ext_ms_win_ntuser_draw_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_1_0
1301 enable_ext_ms_win_ntuser_gui_l1_3_0
1302 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1303 enable_ext_ms_win_ntuser_message_l1_1_0
1304 enable_ext_ms_win_ntuser_message_l1_1_1
1305 enable_ext_ms_win_ntuser_misc_l1_1_0
1306 enable_ext_ms_win_ntuser_misc_l1_2_0
1307 enable_ext_ms_win_ntuser_misc_l1_5_1
1308 enable_ext_ms_win_ntuser_mouse_l1_1_0
1309 enable_ext_ms_win_ntuser_private_l1_1_1
1310 enable_ext_ms_win_ntuser_private_l1_3_1
1311 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_0
1314 enable_ext_ms_win_ntuser_window_l1_1_1
1315 enable_ext_ms_win_ntuser_window_l1_1_4
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1317 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1318 enable_ext_ms_win_oleacc_l1_1_0
1319 enable_ext_ms_win_ras_rasapi32_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1322 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1327 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1330 enable_ext_ms_win_security_credui_l1_1_0
1331 enable_ext_ms_win_security_cryptui_l1_1_0
1332 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1333 enable_ext_ms_win_shell_comdlg32_l1_1_0
1334 enable_ext_ms_win_shell_shell32_l1_2_0
1335 enable_ext_ms_win_uxtheme_themes_l1_1_0
1336 enable_faultrep
1337 enable_feclient
1338 enable_fltlib
1339 enable_fltmgr_sys
1340 enable_fntcache
1341 enable_fontsub
1342 enable_fusion
1343 enable_fwpuclnt
1344 enable_gameux
1345 enable_gdi32
1346 enable_gdiplus
1347 enable_glu32
1348 enable_gphoto2_ds
1349 enable_gpkcsp
1350 enable_hal
1351 enable_hhctrl_ocx
1352 enable_hid
1353 enable_hidclass_sys
1354 enable_hlink
1355 enable_hnetcfg
1356 enable_http_sys
1357 enable_httpapi
1358 enable_iccvid
1359 enable_icmp
1360 enable_ieframe
1361 enable_ieproxy
1362 enable_imaadp32_acm
1363 enable_imagehlp
1364 enable_imm32
1365 enable_inetcomm
1366 enable_inetcpl_cpl
1367 enable_inetmib1
1368 enable_infosoft
1369 enable_initpki
1370 enable_inkobj
1371 enable_inseng
1372 enable_iphlpapi
1373 enable_iprop
1374 enable_irprops_cpl
1375 enable_itircl
1376 enable_itss
1377 enable_joy_cpl
1378 enable_jscript
1379 enable_jsproxy
1380 enable_kerberos
1381 enable_kernel32
1382 enable_kernelbase
1383 enable_ksecdd_sys
1384 enable_ksproxy_ax
1385 enable_ksuser
1386 enable_ktmw32
1387 enable_l3codeca_acm
1388 enable_loadperf
1389 enable_localspl
1390 enable_localui
1391 enable_lz32
1392 enable_mapi32
1393 enable_mapistub
1394 enable_mciavi32
1395 enable_mcicda
1396 enable_mciqtz32
1397 enable_mciseq
1398 enable_mciwave
1399 enable_mf
1400 enable_mf3216
1401 enable_mferror
1402 enable_mfmediaengine
1403 enable_mfplat
1404 enable_mfplay
1405 enable_mfreadwrite
1406 enable_mfuuid
1407 enable_mgmtapi
1408 enable_midimap
1409 enable_mlang
1410 enable_mmcndmgr
1411 enable_mmdevapi
1412 enable_mountmgr_sys
1413 enable_mp3dmod
1414 enable_mpr
1415 enable_mprapi
1416 enable_msacm32_drv
1417 enable_msacm32
1418 enable_msado15
1419 enable_msadp32_acm
1420 enable_msasn1
1421 enable_mscat32
1422 enable_mscms
1423 enable_mscoree
1424 enable_mscorwks
1425 enable_msctf
1426 enable_msctfp
1427 enable_msdaps
1428 enable_msdelta
1429 enable_msdmo
1430 enable_msdrm
1431 enable_msftedit
1432 enable_msg711_acm
1433 enable_msgsm32_acm
1434 enable_mshtml_tlb
1435 enable_mshtml
1436 enable_msi
1437 enable_msident
1438 enable_msimg32
1439 enable_msimsg
1440 enable_msimtf
1441 enable_msisip
1442 enable_msisys_ocx
1443 enable_msls31
1444 enable_msnet32
1445 enable_mspatcha
1446 enable_msports
1447 enable_msrle32
1448 enable_msscript_ocx
1449 enable_mssign32
1450 enable_mssip32
1451 enable_mstask
1452 enable_msvcirt
1453 enable_msvcm80
1454 enable_msvcm90
1455 enable_msvcp100
1456 enable_msvcp110
1457 enable_msvcp120
1458 enable_msvcp120_app
1459 enable_msvcp140
1460 enable_msvcp60
1461 enable_msvcp70
1462 enable_msvcp71
1463 enable_msvcp80
1464 enable_msvcp90
1465 enable_msvcr100
1466 enable_msvcr110
1467 enable_msvcr120
1468 enable_msvcr120_app
1469 enable_msvcr70
1470 enable_msvcr71
1471 enable_msvcr80
1472 enable_msvcr90
1473 enable_msvcrt
1474 enable_msvcrt20
1475 enable_msvcrt40
1476 enable_msvcrtd
1477 enable_msvfw32
1478 enable_msvidc32
1479 enable_mswsock
1480 enable_msxml
1481 enable_msxml2
1482 enable_msxml3
1483 enable_msxml4
1484 enable_msxml6
1485 enable_mtxdm
1486 enable_ncrypt
1487 enable_nddeapi
1488 enable_ndis_sys
1489 enable_netapi32
1490 enable_netcfgx
1491 enable_netprofm
1492 enable_newdev
1493 enable_ninput
1494 enable_normaliz
1495 enable_npmshtml
1496 enable_npptools
1497 enable_ntdll
1498 enable_ntdsapi
1499 enable_ntoskrnl_exe
1500 enable_ntprint
1501 enable_objsel
1502 enable_odbc32
1503 enable_odbcbcp
1504 enable_odbccp32
1505 enable_odbccu32
1506 enable_ole32
1507 enable_oleacc
1508 enable_oleaut32
1509 enable_olecli32
1510 enable_oledb32
1511 enable_oledlg
1512 enable_olepro32
1513 enable_olesvr32
1514 enable_olethk32
1515 enable_opcservices
1516 enable_openal32
1517 enable_opencl
1518 enable_opengl32
1519 enable_packager
1520 enable_pdh
1521 enable_photometadatahandler
1522 enable_pidgen
1523 enable_powrprof
1524 enable_printui
1525 enable_prntvpt
1526 enable_propsys
1527 enable_psapi
1528 enable_pstorec
1529 enable_qasf
1530 enable_qcap
1531 enable_qdvd
1532 enable_qedit
1533 enable_qmgr
1534 enable_qmgrprxy
1535 enable_quartz
1536 enable_query
1537 enable_qwave
1538 enable_rasapi32
1539 enable_rasdlg
1540 enable_regapi
1541 enable_resutils
1542 enable_riched20
1543 enable_riched32
1544 enable_rpcrt4
1545 enable_rsabase
1546 enable_rsaenh
1547 enable_rstrtmgr
1548 enable_rtutils
1549 enable_rtworkq
1550 enable_samlib
1551 enable_sane_ds
1552 enable_sapi
1553 enable_sas
1554 enable_scarddlg
1555 enable_sccbase
1556 enable_schannel
1557 enable_schedsvc
1558 enable_scrobj
1559 enable_scrrun
1560 enable_scsiport_sys
1561 enable_sechost
1562 enable_secur32
1563 enable_security
1564 enable_sensapi
1565 enable_serialui
1566 enable_setupapi
1567 enable_sfc
1568 enable_sfc_os
1569 enable_shcore
1570 enable_shdoclc
1571 enable_shdocvw
1572 enable_shell32
1573 enable_shfolder
1574 enable_shlwapi
1575 enable_slbcsp
1576 enable_slc
1577 enable_snmpapi
1578 enable_softpub
1579 enable_spoolss
1580 enable_srclient
1581 enable_sspicli
1582 enable_stdole2_tlb
1583 enable_stdole32_tlb
1584 enable_sti
1585 enable_strmbase
1586 enable_strmdll
1587 enable_strmiids
1588 enable_svrapi
1589 enable_sxs
1590 enable_t2embed
1591 enable_tapi32
1592 enable_taskschd
1593 enable_tdh
1594 enable_tdi_sys
1595 enable_traffic
1596 enable_twain_32
1597 enable_tzres
1598 enable_ucrtbase
1599 enable_uianimation
1600 enable_uiautomationcore
1601 enable_uiribbon
1602 enable_unicows
1603 enable_updspapi
1604 enable_url
1605 enable_urlmon
1606 enable_usbd_sys
1607 enable_user32
1608 enable_userenv
1609 enable_usp10
1610 enable_utildll
1611 enable_uuid
1612 enable_uxtheme
1613 enable_vbscript
1614 enable_vcomp
1615 enable_vcomp100
1616 enable_vcomp110
1617 enable_vcomp120
1618 enable_vcomp140
1619 enable_vcomp90
1620 enable_vcruntime140
1621 enable_vcruntime140_1
1622 enable_vdmdbg
1623 enable_version
1624 enable_vga
1625 enable_virtdisk
1626 enable_vssapi
1627 enable_vulkan_1
1628 enable_wbemdisp
1629 enable_wbemprox
1630 enable_wbemuuid
1631 enable_wdscore
1632 enable_webservices
1633 enable_wer
1634 enable_wevtapi
1635 enable_wiaservc
1636 enable_wimgapi
1637 enable_windowscodecs
1638 enable_windowscodecsext
1639 enable_winealsa_drv
1640 enable_wineandroid_drv
1641 enable_winebus_sys
1642 enable_winecoreaudio_drv
1643 enable_winecrt0
1644 enable_wined3d
1645 enable_winegstreamer
1646 enable_winehid_sys
1647 enable_winejoystick_drv
1648 enable_winemac_drv
1649 enable_winemapi
1650 enable_wineoss_drv
1651 enable_wineps_drv
1652 enable_winepulse_drv
1653 enable_wineqtdecoder
1654 enable_wineusb_sys
1655 enable_winevulkan
1656 enable_winex11_drv
1657 enable_wing32
1658 enable_winhttp
1659 enable_wininet
1660 enable_winmm
1661 enable_winnls32
1662 enable_winscard
1663 enable_winspool_drv
1664 enable_winsta
1665 enable_wintab32
1666 enable_wintrust
1667 enable_winusb
1668 enable_wlanapi
1669 enable_wlanui
1670 enable_wldap32
1671 enable_wmasf
1672 enable_wmcodecdspuuid
1673 enable_wmi
1674 enable_wmiutils
1675 enable_wmp
1676 enable_wmphoto
1677 enable_wmvcore
1678 enable_wnaspi32
1679 enable_wpc
1680 enable_wpcap
1681 enable_ws2_32
1682 enable_wsdapi
1683 enable_wshom_ocx
1684 enable_wsnmp32
1685 enable_wsock32
1686 enable_wtsapi32
1687 enable_wuapi
1688 enable_wuaueng
1689 enable_x3daudio1_0
1690 enable_x3daudio1_1
1691 enable_x3daudio1_2
1692 enable_x3daudio1_3
1693 enable_x3daudio1_4
1694 enable_x3daudio1_5
1695 enable_x3daudio1_6
1696 enable_x3daudio1_7
1697 enable_xapofx1_1
1698 enable_xapofx1_2
1699 enable_xapofx1_3
1700 enable_xapofx1_4
1701 enable_xapofx1_5
1702 enable_xaudio2_0
1703 enable_xaudio2_1
1704 enable_xaudio2_2
1705 enable_xaudio2_3
1706 enable_xaudio2_4
1707 enable_xaudio2_5
1708 enable_xaudio2_6
1709 enable_xaudio2_7
1710 enable_xaudio2_8
1711 enable_xaudio2_9
1712 enable_xinput1_1
1713 enable_xinput1_2
1714 enable_xinput1_3
1715 enable_xinput1_4
1716 enable_xinput9_1_0
1717 enable_xmllite
1718 enable_xolehlp
1719 enable_xpsprint
1720 enable_xpssvcs
1721 enable_fonts
1722 enable_include
1723 enable_port
1724 enable_wine
1725 enable_wpp
1726 enable_loader
1727 enable_nls
1728 enable_po
1729 enable_arp
1730 enable_aspnet_regiis
1731 enable_attrib
1732 enable_cabarc
1733 enable_cacls
1734 enable_chcp_com
1735 enable_clock
1736 enable_cmd
1737 enable_conhost
1738 enable_control
1739 enable_cscript
1740 enable_dism
1741 enable_dpnsvr
1742 enable_dxdiag
1743 enable_eject
1744 enable_expand
1745 enable_explorer
1746 enable_extrac32
1747 enable_fc
1748 enable_find
1749 enable_findstr
1750 enable_fsutil
1751 enable_hh
1752 enable_hostname
1753 enable_icacls
1754 enable_icinfo
1755 enable_iexplore
1756 enable_ipconfig
1757 enable_lodctr
1758 enable_mofcomp
1759 enable_mshta
1760 enable_msidb
1761 enable_msiexec
1762 enable_msinfo32
1763 enable_net
1764 enable_netsh
1765 enable_netstat
1766 enable_ngen
1767 enable_notepad
1768 enable_oleview
1769 enable_ping
1770 enable_plugplay
1771 enable_powershell
1772 enable_presentationfontcache
1773 enable_progman
1774 enable_reg
1775 enable_regasm
1776 enable_regedit
1777 enable_regini
1778 enable_regsvcs
1779 enable_regsvr32
1780 enable_rpcss
1781 enable_rundll32
1782 enable_sc
1783 enable_schtasks
1784 enable_sdbinst
1785 enable_secedit
1786 enable_servicemodelreg
1787 enable_services
1788 enable_shutdown
1789 enable_spoolsv
1790 enable_start
1791 enable_subst
1792 enable_svchost
1793 enable_systeminfo
1794 enable_taskkill
1795 enable_tasklist
1796 enable_taskmgr
1797 enable_termsv
1798 enable_uninstaller
1799 enable_unlodctr
1800 enable_view
1801 enable_wevtutil
1802 enable_whoami
1803 enable_wineboot
1804 enable_winebrowser
1805 enable_winecfg
1806 enable_wineconsole
1807 enable_winedbg
1808 enable_winedevice
1809 enable_winefile
1810 enable_winemenubuilder
1811 enable_winemine
1812 enable_winemsibuilder
1813 enable_winepath
1814 enable_winetest
1815 enable_winhlp32
1816 enable_winmgmt
1817 enable_winver
1818 enable_wmic
1819 enable_wmplayer
1820 enable_wordpad
1821 enable_write
1822 enable_wscript
1823 enable_wuauserv
1824 enable_wusa
1825 enable_xcopy
1826 enable_server
1827 enable_tools
1828 enable_sfnt2fon
1829 enable_widl
1830 enable_winebuild
1831 enable_winedump
1832 enable_winegcc
1833 enable_winemaker
1834 enable_wmc
1835 enable_wrc
1837 ac_precious_vars='build_alias
1838 host_alias
1839 target_alias
1841 CFLAGS
1842 LDFLAGS
1843 LIBS
1844 CPPFLAGS
1846 CXXFLAGS
1849 OBJC
1850 OBJCFLAGS
1851 OBJCPP
1852 XMKMF
1853 XML2_CFLAGS
1854 XML2_LIBS
1855 XSLT_CFLAGS
1856 XSLT_LIBS
1857 INOTIFY_CFLAGS
1858 INOTIFY_LIBS
1859 DBUS_CFLAGS
1860 DBUS_LIBS
1861 HAL_CFLAGS
1862 HAL_LIBS
1863 GNUTLS_CFLAGS
1864 GNUTLS_LIBS
1865 SANE_CFLAGS
1866 SANE_LIBS
1867 USB_CFLAGS
1868 USB_LIBS
1869 GPHOTO2_CFLAGS
1870 GPHOTO2_LIBS
1871 GPHOTO2_PORT_CFLAGS
1872 GPHOTO2_PORT_LIBS
1873 LCMS2_CFLAGS
1874 LCMS2_LIBS
1875 FREETYPE_CFLAGS
1876 FREETYPE_LIBS
1877 PULSE_CFLAGS
1878 PULSE_LIBS
1879 GSTREAMER_CFLAGS
1880 GSTREAMER_LIBS
1881 UDEV_CFLAGS
1882 UDEV_LIBS
1883 UNWIND_CFLAGS
1884 UNWIND_LIBS
1885 SDL2_CFLAGS
1886 SDL2_LIBS
1887 FAUDIO_CFLAGS
1888 FAUDIO_LIBS
1889 CAPI20_CFLAGS
1890 CAPI20_LIBS
1891 CUPS_CFLAGS
1892 CUPS_LIBS
1893 FONTCONFIG_CFLAGS
1894 FONTCONFIG_LIBS
1895 KRB5_CFLAGS
1896 KRB5_LIBS
1897 GSSAPI_CFLAGS
1898 GSSAPI_LIBS
1899 JPEG_CFLAGS
1900 JPEG_LIBS
1901 PNG_CFLAGS
1902 PNG_LIBS
1903 TIFF_CFLAGS
1904 TIFF_LIBS
1905 MPG123_CFLAGS
1906 MPG123_LIBS
1907 NETAPI_CFLAGS
1908 NETAPI_LIBS
1909 VKD3D_CFLAGS
1910 VKD3D_LIBS
1911 LDAP_CFLAGS
1912 LDAP_LIBS'
1915 # Initialize some variables set by options.
1916 ac_init_help=
1917 ac_init_version=false
1918 ac_unrecognized_opts=
1919 ac_unrecognized_sep=
1920 # The variables have the same names as the options, with
1921 # dashes changed to underlines.
1922 cache_file=/dev/null
1923 exec_prefix=NONE
1924 no_create=
1925 no_recursion=
1926 prefix=NONE
1927 program_prefix=NONE
1928 program_suffix=NONE
1929 program_transform_name=s,x,x,
1930 silent=
1931 site=
1932 srcdir=
1933 verbose=
1934 x_includes=NONE
1935 x_libraries=NONE
1937 # Installation directory options.
1938 # These are left unexpanded so users can "make install exec_prefix=/foo"
1939 # and all the variables that are supposed to be based on exec_prefix
1940 # by default will actually change.
1941 # Use braces instead of parens because sh, perl, etc. also accept them.
1942 # (The list follows the same order as the GNU Coding Standards.)
1943 bindir='${exec_prefix}/bin'
1944 sbindir='${exec_prefix}/sbin'
1945 libexecdir='${exec_prefix}/libexec'
1946 datarootdir='${prefix}/share'
1947 datadir='${datarootdir}'
1948 sysconfdir='${prefix}/etc'
1949 sharedstatedir='${prefix}/com'
1950 localstatedir='${prefix}/var'
1951 runstatedir='${localstatedir}/run'
1952 includedir='${prefix}/include'
1953 oldincludedir='/usr/include'
1954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1955 infodir='${datarootdir}/info'
1956 htmldir='${docdir}'
1957 dvidir='${docdir}'
1958 pdfdir='${docdir}'
1959 psdir='${docdir}'
1960 libdir='${exec_prefix}/lib'
1961 localedir='${datarootdir}/locale'
1962 mandir='${datarootdir}/man'
1964 ac_prev=
1965 ac_dashdash=
1966 for ac_option
1968 # If the previous option needs an argument, assign it.
1969 if test -n "$ac_prev"; then
1970 eval $ac_prev=\$ac_option
1971 ac_prev=
1972 continue
1975 case $ac_option in
1976 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1977 *=) ac_optarg= ;;
1978 *) ac_optarg=yes ;;
1979 esac
1981 # Accept the important Cygnus configure options, so we can diagnose typos.
1983 case $ac_dashdash$ac_option in
1985 ac_dashdash=yes ;;
1987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1988 ac_prev=bindir ;;
1989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1990 bindir=$ac_optarg ;;
1992 -build | --build | --buil | --bui | --bu)
1993 ac_prev=build_alias ;;
1994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1995 build_alias=$ac_optarg ;;
1997 -cache-file | --cache-file | --cache-fil | --cache-fi \
1998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1999 ac_prev=cache_file ;;
2000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2002 cache_file=$ac_optarg ;;
2004 --config-cache | -C)
2005 cache_file=config.cache ;;
2007 -datadir | --datadir | --datadi | --datad)
2008 ac_prev=datadir ;;
2009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2010 datadir=$ac_optarg ;;
2012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2013 | --dataroo | --dataro | --datar)
2014 ac_prev=datarootdir ;;
2015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2017 datarootdir=$ac_optarg ;;
2019 -disable-* | --disable-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid feature name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "enable_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval enable_$ac_useropt=no ;;
2035 -docdir | --docdir | --docdi | --doc | --do)
2036 ac_prev=docdir ;;
2037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2038 docdir=$ac_optarg ;;
2040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2041 ac_prev=dvidir ;;
2042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2043 dvidir=$ac_optarg ;;
2045 -enable-* | --enable-*)
2046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2047 # Reject names that are not valid shell variable names.
2048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2049 as_fn_error $? "invalid feature name: $ac_useropt"
2050 ac_useropt_orig=$ac_useropt
2051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2052 case $ac_user_opts in
2054 "enable_$ac_useropt"
2055 "*) ;;
2056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2057 ac_unrecognized_sep=', ';;
2058 esac
2059 eval enable_$ac_useropt=\$ac_optarg ;;
2061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2063 | --exec | --exe | --ex)
2064 ac_prev=exec_prefix ;;
2065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2067 | --exec=* | --exe=* | --ex=*)
2068 exec_prefix=$ac_optarg ;;
2070 -gas | --gas | --ga | --g)
2071 # Obsolete; use --with-gas.
2072 with_gas=yes ;;
2074 -help | --help | --hel | --he | -h)
2075 ac_init_help=long ;;
2076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2077 ac_init_help=recursive ;;
2078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2079 ac_init_help=short ;;
2081 -host | --host | --hos | --ho)
2082 ac_prev=host_alias ;;
2083 -host=* | --host=* | --hos=* | --ho=*)
2084 host_alias=$ac_optarg ;;
2086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2087 ac_prev=htmldir ;;
2088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2089 | --ht=*)
2090 htmldir=$ac_optarg ;;
2092 -includedir | --includedir | --includedi | --included | --include \
2093 | --includ | --inclu | --incl | --inc)
2094 ac_prev=includedir ;;
2095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2096 | --includ=* | --inclu=* | --incl=* | --inc=*)
2097 includedir=$ac_optarg ;;
2099 -infodir | --infodir | --infodi | --infod | --info | --inf)
2100 ac_prev=infodir ;;
2101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2102 infodir=$ac_optarg ;;
2104 -libdir | --libdir | --libdi | --libd)
2105 ac_prev=libdir ;;
2106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2107 libdir=$ac_optarg ;;
2109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2110 | --libexe | --libex | --libe)
2111 ac_prev=libexecdir ;;
2112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2113 | --libexe=* | --libex=* | --libe=*)
2114 libexecdir=$ac_optarg ;;
2116 -localedir | --localedir | --localedi | --localed | --locale)
2117 ac_prev=localedir ;;
2118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2119 localedir=$ac_optarg ;;
2121 -localstatedir | --localstatedir | --localstatedi | --localstated \
2122 | --localstate | --localstat | --localsta | --localst | --locals)
2123 ac_prev=localstatedir ;;
2124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2126 localstatedir=$ac_optarg ;;
2128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2129 ac_prev=mandir ;;
2130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2131 mandir=$ac_optarg ;;
2133 -nfp | --nfp | --nf)
2134 # Obsolete; use --without-fp.
2135 with_fp=no ;;
2137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2138 | --no-cr | --no-c | -n)
2139 no_create=yes ;;
2141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2143 no_recursion=yes ;;
2145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2147 | --oldin | --oldi | --old | --ol | --o)
2148 ac_prev=oldincludedir ;;
2149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2152 oldincludedir=$ac_optarg ;;
2154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2155 ac_prev=prefix ;;
2156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2157 prefix=$ac_optarg ;;
2159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2160 | --program-pre | --program-pr | --program-p)
2161 ac_prev=program_prefix ;;
2162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2164 program_prefix=$ac_optarg ;;
2166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2167 | --program-suf | --program-su | --program-s)
2168 ac_prev=program_suffix ;;
2169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2171 program_suffix=$ac_optarg ;;
2173 -program-transform-name | --program-transform-name \
2174 | --program-transform-nam | --program-transform-na \
2175 | --program-transform-n | --program-transform- \
2176 | --program-transform | --program-transfor \
2177 | --program-transfo | --program-transf \
2178 | --program-trans | --program-tran \
2179 | --progr-tra | --program-tr | --program-t)
2180 ac_prev=program_transform_name ;;
2181 -program-transform-name=* | --program-transform-name=* \
2182 | --program-transform-nam=* | --program-transform-na=* \
2183 | --program-transform-n=* | --program-transform-=* \
2184 | --program-transform=* | --program-transfor=* \
2185 | --program-transfo=* | --program-transf=* \
2186 | --program-trans=* | --program-tran=* \
2187 | --progr-tra=* | --program-tr=* | --program-t=*)
2188 program_transform_name=$ac_optarg ;;
2190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2191 ac_prev=pdfdir ;;
2192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2193 pdfdir=$ac_optarg ;;
2195 -psdir | --psdir | --psdi | --psd | --ps)
2196 ac_prev=psdir ;;
2197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2198 psdir=$ac_optarg ;;
2200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2201 | -silent | --silent | --silen | --sile | --sil)
2202 silent=yes ;;
2204 -runstatedir | --runstatedir | --runstatedi | --runstated \
2205 | --runstate | --runstat | --runsta | --runst | --runs \
2206 | --run | --ru | --r)
2207 ac_prev=runstatedir ;;
2208 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2209 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2210 | --run=* | --ru=* | --r=*)
2211 runstatedir=$ac_optarg ;;
2213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2214 ac_prev=sbindir ;;
2215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2216 | --sbi=* | --sb=*)
2217 sbindir=$ac_optarg ;;
2219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2221 | --sharedst | --shareds | --shared | --share | --shar \
2222 | --sha | --sh)
2223 ac_prev=sharedstatedir ;;
2224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2227 | --sha=* | --sh=*)
2228 sharedstatedir=$ac_optarg ;;
2230 -site | --site | --sit)
2231 ac_prev=site ;;
2232 -site=* | --site=* | --sit=*)
2233 site=$ac_optarg ;;
2235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2236 ac_prev=srcdir ;;
2237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2238 srcdir=$ac_optarg ;;
2240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2241 | --syscon | --sysco | --sysc | --sys | --sy)
2242 ac_prev=sysconfdir ;;
2243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2245 sysconfdir=$ac_optarg ;;
2247 -target | --target | --targe | --targ | --tar | --ta | --t)
2248 ac_prev=target_alias ;;
2249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2250 target_alias=$ac_optarg ;;
2252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2253 verbose=yes ;;
2255 -version | --version | --versio | --versi | --vers | -V)
2256 ac_init_version=: ;;
2258 -with-* | --with-*)
2259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2260 # Reject names that are not valid shell variable names.
2261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2262 as_fn_error $? "invalid package name: $ac_useropt"
2263 ac_useropt_orig=$ac_useropt
2264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2265 case $ac_user_opts in
2267 "with_$ac_useropt"
2268 "*) ;;
2269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2270 ac_unrecognized_sep=', ';;
2271 esac
2272 eval with_$ac_useropt=\$ac_optarg ;;
2274 -without-* | --without-*)
2275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2276 # Reject names that are not valid shell variable names.
2277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2278 as_fn_error $? "invalid package name: $ac_useropt"
2279 ac_useropt_orig=$ac_useropt
2280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2281 case $ac_user_opts in
2283 "with_$ac_useropt"
2284 "*) ;;
2285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2286 ac_unrecognized_sep=', ';;
2287 esac
2288 eval with_$ac_useropt=no ;;
2290 --x)
2291 # Obsolete; use --with-x.
2292 with_x=yes ;;
2294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2295 | --x-incl | --x-inc | --x-in | --x-i)
2296 ac_prev=x_includes ;;
2297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2299 x_includes=$ac_optarg ;;
2301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2303 ac_prev=x_libraries ;;
2304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2306 x_libraries=$ac_optarg ;;
2308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2309 Try \`$0 --help' for more information"
2312 *=*)
2313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2314 # Reject names that are not valid shell variable names.
2315 case $ac_envvar in #(
2316 '' | [0-9]* | *[!_$as_cr_alnum]* )
2317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2318 esac
2319 eval $ac_envvar=\$ac_optarg
2320 export $ac_envvar ;;
2323 # FIXME: should be removed in autoconf 3.0.
2324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2330 esac
2331 done
2333 if test -n "$ac_prev"; then
2334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2335 as_fn_error $? "missing argument to $ac_option"
2338 if test -n "$ac_unrecognized_opts"; then
2339 case $enable_option_checking in
2340 no) ;;
2341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2343 esac
2346 # Check all directory arguments for consistency.
2347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2348 datadir sysconfdir sharedstatedir localstatedir includedir \
2349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2350 libdir localedir mandir runstatedir
2352 eval ac_val=\$$ac_var
2353 # Remove trailing slashes.
2354 case $ac_val in
2355 */ )
2356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2357 eval $ac_var=\$ac_val;;
2358 esac
2359 # Be sure to have absolute directory names.
2360 case $ac_val in
2361 [\\/$]* | ?:[\\/]* ) continue;;
2362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2363 esac
2364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2365 done
2367 # There might be people who depend on the old broken behavior: `$host'
2368 # used to hold the argument of --host etc.
2369 # FIXME: To remove some day.
2370 build=$build_alias
2371 host=$host_alias
2372 target=$target_alias
2374 # FIXME: To remove some day.
2375 if test "x$host_alias" != x; then
2376 if test "x$build_alias" = x; then
2377 cross_compiling=maybe
2378 elif test "x$build_alias" != "x$host_alias"; then
2379 cross_compiling=yes
2383 ac_tool_prefix=
2384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2386 test "$silent" = yes && exec 6>/dev/null
2389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2390 ac_ls_di=`ls -di .` &&
2391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2392 as_fn_error $? "working directory cannot be determined"
2393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2394 as_fn_error $? "pwd does not report name of working directory"
2397 # Find the source files, if location was not specified.
2398 if test -z "$srcdir"; then
2399 ac_srcdir_defaulted=yes
2400 # Try the directory containing this script, then the parent directory.
2401 ac_confdir=`$as_dirname -- "$as_myself" ||
2402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2403 X"$as_myself" : 'X\(//\)[^/]' \| \
2404 X"$as_myself" : 'X\(//\)$' \| \
2405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2406 $as_echo X"$as_myself" |
2407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2408 s//\1/
2411 /^X\(\/\/\)[^/].*/{
2412 s//\1/
2415 /^X\(\/\/\)$/{
2416 s//\1/
2419 /^X\(\/\).*/{
2420 s//\1/
2423 s/.*/./; q'`
2424 srcdir=$ac_confdir
2425 if test ! -r "$srcdir/$ac_unique_file"; then
2426 srcdir=..
2428 else
2429 ac_srcdir_defaulted=no
2431 if test ! -r "$srcdir/$ac_unique_file"; then
2432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2436 ac_abs_confdir=`(
2437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2438 pwd)`
2439 # When building in place, set srcdir=.
2440 if test "$ac_abs_confdir" = "$ac_pwd"; then
2441 srcdir=.
2443 # Remove unnecessary trailing slashes from srcdir.
2444 # Double slashes in file names in object file debugging info
2445 # mess up M-x gdb in Emacs.
2446 case $srcdir in
2447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2448 esac
2449 for ac_var in $ac_precious_vars; do
2450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2451 eval ac_env_${ac_var}_value=\$${ac_var}
2452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2454 done
2457 # Report the --help message.
2459 if test "$ac_init_help" = "long"; then
2460 # Omit some internal or obsolete options to make the list less imposing.
2461 # This message is too long to be a string in the A/UX 3.1 sh.
2462 cat <<_ACEOF
2463 \`configure' configures Wine 5.8 to adapt to many kinds of systems.
2465 Usage: $0 [OPTION]... [VAR=VALUE]...
2467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2468 VAR=VALUE. See below for descriptions of some of the useful variables.
2470 Defaults for the options are specified in brackets.
2472 Configuration:
2473 -h, --help display this help and exit
2474 --help=short display options specific to this package
2475 --help=recursive display the short help of all the included packages
2476 -V, --version display version information and exit
2477 -q, --quiet, --silent do not print \`checking ...' messages
2478 --cache-file=FILE cache test results in FILE [disabled]
2479 -C, --config-cache alias for \`--cache-file=config.cache'
2480 -n, --no-create do not create output files
2481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2483 Installation directories:
2484 --prefix=PREFIX install architecture-independent files in PREFIX
2485 [$ac_default_prefix]
2486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2487 [PREFIX]
2489 By default, \`make install' will install all the files in
2490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2492 for instance \`--prefix=\$HOME'.
2494 For better control, use the options below.
2496 Fine tuning of the installation directories:
2497 --bindir=DIR user executables [EPREFIX/bin]
2498 --sbindir=DIR system admin executables [EPREFIX/sbin]
2499 --libexecdir=DIR program executables [EPREFIX/libexec]
2500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2503 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2504 --libdir=DIR object code libraries [EPREFIX/lib]
2505 --includedir=DIR C header files [PREFIX/include]
2506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2509 --infodir=DIR info documentation [DATAROOTDIR/info]
2510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2511 --mandir=DIR man documentation [DATAROOTDIR/man]
2512 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2513 --htmldir=DIR html documentation [DOCDIR]
2514 --dvidir=DIR dvi documentation [DOCDIR]
2515 --pdfdir=DIR pdf documentation [DOCDIR]
2516 --psdir=DIR ps documentation [DOCDIR]
2517 _ACEOF
2519 cat <<\_ACEOF
2521 X features:
2522 --x-includes=DIR X include files are in DIR
2523 --x-libraries=DIR X library files are in DIR
2525 System types:
2526 --build=BUILD configure for building on BUILD [guessed]
2527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2528 _ACEOF
2531 if test -n "$ac_init_help"; then
2532 case $ac_init_help in
2533 short | recursive ) echo "Configuration of Wine 5.8:";;
2534 esac
2535 cat <<\_ACEOF
2537 Optional Features:
2538 --disable-option-checking ignore unrecognized --enable/--with options
2539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2541 --disable-win16 do not include Win16 support
2542 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2543 binaries)
2544 --disable-tests do not build the regression tests
2545 --enable-maintainer-mode
2546 enable maintainer-specific build rules
2547 --enable-werror treat compilation warnings as errors
2548 --disable-largefile omit support for large files
2550 Optional Packages:
2551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2553 --without-alsa do not use the Alsa sound support
2554 --without-capi do not use CAPI (ISDN support)
2555 --without-cms do not use CMS (color management support)
2556 --without-coreaudio do not use the CoreAudio sound support
2557 --without-cups do not use CUPS
2558 --without-curses do not use (n)curses
2559 --without-dbus do not use DBus (dynamic device support)
2560 --without-faudio do not use FAudio (XAudio2 support)
2561 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2562 --without-fontconfig do not use fontconfig
2563 --without-freetype do not use the FreeType library
2564 --without-gettext do not use gettext
2565 --with-gettextpo use the GetTextPO library to rebuild po files
2566 --without-gphoto do not use gphoto (Digital Camera support)
2567 --without-glu do not use the GLU library
2568 --without-gnutls do not use GnuTLS (schannel support)
2569 --without-gsm do not use libgsm (GSM 06.10 codec support)
2570 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2571 --without-gstreamer do not use GStreamer (codecs support)
2572 --without-hal do not use HAL (dynamic device support)
2573 --without-inotify do not use inotify (filesystem change notifications)
2574 --without-jpeg do not use JPEG
2575 --without-krb5 do not use krb5 (Kerberos)
2576 --without-ldap do not use LDAP
2577 --without-mingw do not use the MinGW cross-compiler
2578 --without-mpg123 do not use the mpg123 library
2579 --without-netapi do not use the Samba NetAPI library
2580 --without-openal do not use OpenAL
2581 --without-opencl do not use OpenCL
2582 --without-opengl do not use OpenGL
2583 --without-osmesa do not use the OSMesa library
2584 --without-oss do not use the OSS sound support
2585 --without-pcap do not use the Packet Capture library
2586 --without-png do not use PNG
2587 --without-pthread do not use the pthread library
2588 --without-pulse do not use PulseAudio sound support
2589 --without-sane do not use SANE (scanner support)
2590 --without-sdl do not use SDL
2591 --without-tiff do not use TIFF
2592 --without-udev do not use udev (plug and play support)
2593 --without-unwind do not use the libunwind library (exception
2594 handling)
2595 --without-usb do not use the libusb library
2596 --without-v4l2 do not use v4l2 (video capture)
2597 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2598 --without-vulkan do not use Vulkan
2599 --without-xcomposite do not use the Xcomposite extension
2600 --without-xcursor do not use the Xcursor extension
2601 --without-xfixes do not use Xfixes for clipboard change notifications
2602 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2603 --without-xinput do not use the Xinput extension
2604 --without-xinput2 do not use the Xinput 2 extension
2605 --without-xml do not use XML
2606 --without-xrandr do not use Xrandr (multi-monitor support)
2607 --without-xrender do not use the Xrender extension
2608 --without-xshape do not use the Xshape extension
2609 --without-xshm do not use XShm (shared memory extension)
2610 --without-xslt do not use XSLT
2611 --without-xxf86vm do not use XFree video mode extension
2612 --with-wine-tools=DIR use Wine tools from directory DIR
2613 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2614 --with-x use the X Window System
2616 Some influential environment variables:
2617 CC C compiler command
2618 CFLAGS C compiler flags
2619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2620 nonstandard directory <lib dir>
2621 LIBS libraries to pass to the linker, e.g. -l<library>
2622 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2623 you have headers in a nonstandard directory <include dir>
2624 CXX C++ compiler command
2625 CXXFLAGS C++ compiler flags
2626 CPP C preprocessor
2627 OBJC Objective C compiler command
2628 OBJCFLAGS Objective C compiler flags
2629 OBJCPP Objective C preprocessor
2630 XMKMF Path to xmkmf, Makefile generator for X Window System
2631 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2632 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2633 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2634 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2635 INOTIFY_CFLAGS
2636 C compiler flags for libinotify, overriding pkg-config
2637 INOTIFY_LIBS
2638 Linker flags for libinotify, overriding pkg-config
2639 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2640 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2641 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2642 HAL_LIBS Linker flags for hal, overriding pkg-config
2643 GNUTLS_CFLAGS
2644 C compiler flags for gnutls, overriding pkg-config
2645 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2646 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2647 SANE_LIBS Linker flags for libsane, overriding pkg-config
2648 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2649 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2650 GPHOTO2_CFLAGS
2651 C compiler flags for libgphoto2, overriding pkg-config
2652 GPHOTO2_LIBS
2653 Linker flags for libgphoto2, overriding pkg-config
2654 GPHOTO2_PORT_CFLAGS
2655 C compiler flags for libgphoto2_port, overriding pkg-config
2656 GPHOTO2_PORT_LIBS
2657 Linker flags for libgphoto2_port, overriding pkg-config
2658 LCMS2_CFLAGS
2659 C compiler flags for lcms2, overriding pkg-config
2660 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2661 FREETYPE_CFLAGS
2662 C compiler flags for freetype2, overriding pkg-config
2663 FREETYPE_LIBS
2664 Linker flags for freetype2, overriding pkg-config
2665 PULSE_CFLAGS
2666 C compiler flags for libpulse, overriding pkg-config
2667 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2668 GSTREAMER_CFLAGS
2669 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2670 gstreamer-audio-1.0, overriding pkg-config
2671 GSTREAMER_LIBS
2672 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2673 gstreamer-audio-1.0, overriding pkg-config
2674 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2675 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2676 UNWIND_CFLAGS
2677 C compiler flags for libunwind, overriding pkg-config
2678 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2679 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2680 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2681 FAUDIO_CFLAGS
2682 C compiler flags for faudio, overriding pkg-config
2683 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2684 CAPI20_CFLAGS
2685 C compiler flags for capi20, overriding pkg-config
2686 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2687 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2688 CUPS_LIBS Linker flags for cups, overriding pkg-config
2689 FONTCONFIG_CFLAGS
2690 C compiler flags for fontconfig, overriding pkg-config
2691 FONTCONFIG_LIBS
2692 Linker flags for fontconfig, overriding pkg-config
2693 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2694 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2695 GSSAPI_CFLAGS
2696 C compiler flags for krb5-gssapi, overriding pkg-config
2697 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2698 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2699 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2700 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2701 PNG_LIBS Linker flags for libpng, overriding pkg-config
2702 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2703 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2704 MPG123_CFLAGS
2705 C compiler flags for libmpg123, overriding pkg-config
2706 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2707 NETAPI_CFLAGS
2708 C compiler flags for netapi, overriding pkg-config
2709 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2710 VKD3D_CFLAGS
2711 C compiler flags for libvkd3d, overriding pkg-config
2712 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2713 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2714 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2716 Use these variables to override the choices made by `configure' or to help
2717 it to find libraries and programs with nonstandard names/locations.
2719 Report bugs to <wine-devel@winehq.org>.
2720 Wine home page: <https://www.winehq.org>.
2721 _ACEOF
2722 ac_status=$?
2725 if test "$ac_init_help" = "recursive"; then
2726 # If there are subdirs, report their specific --help.
2727 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2728 test -d "$ac_dir" ||
2729 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2730 continue
2731 ac_builddir=.
2733 case "$ac_dir" in
2734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2737 # A ".." for each directory in $ac_dir_suffix.
2738 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2739 case $ac_top_builddir_sub in
2740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2742 esac ;;
2743 esac
2744 ac_abs_top_builddir=$ac_pwd
2745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2746 # for backward compatibility:
2747 ac_top_builddir=$ac_top_build_prefix
2749 case $srcdir in
2750 .) # We are building in place.
2751 ac_srcdir=.
2752 ac_top_srcdir=$ac_top_builddir_sub
2753 ac_abs_top_srcdir=$ac_pwd ;;
2754 [\\/]* | ?:[\\/]* ) # Absolute name.
2755 ac_srcdir=$srcdir$ac_dir_suffix;
2756 ac_top_srcdir=$srcdir
2757 ac_abs_top_srcdir=$srcdir ;;
2758 *) # Relative name.
2759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2760 ac_top_srcdir=$ac_top_build_prefix$srcdir
2761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2762 esac
2763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2765 cd "$ac_dir" || { ac_status=$?; continue; }
2766 # Check for guested configure.
2767 if test -f "$ac_srcdir/configure.gnu"; then
2768 echo &&
2769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2770 elif test -f "$ac_srcdir/configure"; then
2771 echo &&
2772 $SHELL "$ac_srcdir/configure" --help=recursive
2773 else
2774 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2775 fi || ac_status=$?
2776 cd "$ac_pwd" || { ac_status=$?; break; }
2777 done
2780 test -n "$ac_init_help" && exit $ac_status
2781 if $ac_init_version; then
2782 cat <<\_ACEOF
2783 Wine configure 5.8
2784 generated by GNU Autoconf 2.69
2786 Copyright (C) 2012 Free Software Foundation, Inc.
2787 This configure script is free software; the Free Software Foundation
2788 gives unlimited permission to copy, distribute and modify it.
2789 _ACEOF
2790 exit
2793 ## ------------------------ ##
2794 ## Autoconf initialization. ##
2795 ## ------------------------ ##
2797 # ac_fn_c_try_compile LINENO
2798 # --------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then :
2823 ac_retval=0
2824 else
2825 $as_echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_c_try_compile
2835 # ac_fn_cxx_try_compile LINENO
2836 # ----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_cxx_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext
2842 if { { ac_try="$ac_compile"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2850 ac_status=$?
2851 if test -s conftest.err; then
2852 grep -v '^ *+' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2854 mv -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then :
2861 ac_retval=0
2862 else
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_cxx_try_compile
2873 # ac_fn_c_try_link LINENO
2874 # -----------------------
2875 # Try to link conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_c_try_link ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext conftest$ac_exeext
2880 if { { ac_try="$ac_link"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_link") 2>conftest.err
2888 ac_status=$?
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest$ac_exeext && {
2899 test "$cross_compiling" = yes ||
2900 test -x conftest$ac_exeext
2901 }; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2910 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2911 # interfere with the next link command; also delete a directory that is
2912 # left behind by Apple's compiler. We do this before executing the actions.
2913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status $ac_retval
2917 } # ac_fn_c_try_link
2919 # ac_fn_c_try_cpp LINENO
2920 # ----------------------
2921 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2922 ac_fn_c_try_cpp ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 if { { ac_try="$ac_cpp conftest.$ac_ext"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } > conftest.i && {
2941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 }; then :
2944 ac_retval=0
2945 else
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 ac_retval=1
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 as_fn_set_status $ac_retval
2954 } # ac_fn_c_try_cpp
2956 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2957 # -------------------------------------------------------
2958 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2959 # the include files in INCLUDES and setting the cache variable VAR
2960 # accordingly.
2961 ac_fn_c_check_header_mongrel ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if eval \${$3+:} false; then :
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2966 $as_echo_n "checking for $2... " >&6; }
2967 if eval \${$3+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 eval ac_res=\$$3
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 else
2974 # Is the header compilable?
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2976 $as_echo_n "checking $2 usability... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 ac_header_compiler=yes
2984 else
2985 ac_header_compiler=no
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2989 $as_echo "$ac_header_compiler" >&6; }
2991 # Is the header present?
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2993 $as_echo_n "checking $2 presence... " >&6; }
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2996 #include <$2>
2997 _ACEOF
2998 if ac_fn_c_try_cpp "$LINENO"; then :
2999 ac_header_preproc=yes
3000 else
3001 ac_header_preproc=no
3003 rm -f conftest.err conftest.i conftest.$ac_ext
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3005 $as_echo "$ac_header_preproc" >&6; }
3007 # So? What about this header?
3008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3009 yes:no: )
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3011 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3015 no:yes:* )
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3017 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3019 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3021 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3023 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3025 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3026 ( $as_echo "## ------------------------------------ ##
3027 ## Report this to wine-devel@winehq.org ##
3028 ## ------------------------------------ ##"
3029 ) | sed "s/^/$as_me: WARNING: /" >&2
3031 esac
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3033 $as_echo_n "checking for $2... " >&6; }
3034 if eval \${$3+:} false; then :
3035 $as_echo_n "(cached) " >&6
3036 else
3037 eval "$3=\$ac_header_compiler"
3039 eval ac_res=\$$3
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 $as_echo "$ac_res" >&6; }
3043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3045 } # ac_fn_c_check_header_mongrel
3047 # ac_fn_c_try_run LINENO
3048 # ----------------------
3049 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3050 # that executables *can* be run.
3051 ac_fn_c_try_run ()
3053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3054 if { { ac_try="$ac_link"
3055 case "(($ac_try" in
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3058 esac
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link") 2>&5
3062 ac_status=$?
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then :
3075 ac_retval=0
3076 else
3077 $as_echo "$as_me: program exited with status $ac_status" >&5
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 ac_retval=$ac_status
3083 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 as_fn_set_status $ac_retval
3087 } # ac_fn_c_try_run
3089 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3090 # -------------------------------------------------------
3091 # Tests whether HEADER exists and can be compiled using the include files in
3092 # INCLUDES, setting the cache variable VAR accordingly.
3093 ac_fn_c_check_header_compile ()
3095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3097 $as_echo_n "checking for $2... " >&6; }
3098 if eval \${$3+:} false; then :
3099 $as_echo_n "(cached) " >&6
3100 else
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 #include <$2>
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 eval "$3=yes"
3108 else
3109 eval "$3=no"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 $as_echo "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_header_compile
3120 # ac_fn_objc_try_compile LINENO
3121 # -----------------------------
3122 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3123 ac_fn_objc_try_compile ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 rm -f conftest.$ac_objext
3127 if { { ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_compile") 2>conftest.err
3135 ac_status=$?
3136 if test -s conftest.err; then
3137 grep -v '^ *+' conftest.err >conftest.er1
3138 cat conftest.er1 >&5
3139 mv -f conftest.er1 conftest.err
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; } && {
3143 test -z "$ac_objc_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then :
3146 ac_retval=0
3147 else
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_retval=1
3153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 as_fn_set_status $ac_retval
3156 } # ac_fn_objc_try_compile
3158 # ac_fn_objc_try_cpp LINENO
3159 # -------------------------
3160 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3161 ac_fn_objc_try_cpp ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 if { { ac_try="$ac_cpp conftest.$ac_ext"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3172 ac_status=$?
3173 if test -s conftest.err; then
3174 grep -v '^ *+' conftest.err >conftest.er1
3175 cat conftest.er1 >&5
3176 mv -f conftest.er1 conftest.err
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; } > conftest.i && {
3180 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3181 test ! -s conftest.err
3182 }; then :
3183 ac_retval=0
3184 else
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 ac_retval=1
3190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191 as_fn_set_status $ac_retval
3193 } # ac_fn_objc_try_cpp
3195 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3196 # ----------------------------------------------------------
3197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3198 # the include files in INCLUDES and setting the cache variable VAR
3199 # accordingly.
3200 ac_fn_objc_check_header_mongrel ()
3202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203 if eval \${$3+:} false; then :
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 eval ac_res=\$$3
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3211 $as_echo "$ac_res" >&6; }
3212 else
3213 # Is the header compilable?
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3215 $as_echo_n "checking $2 usability... " >&6; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3219 #include <$2>
3220 _ACEOF
3221 if ac_fn_objc_try_compile "$LINENO"; then :
3222 ac_header_compiler=yes
3223 else
3224 ac_header_compiler=no
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3228 $as_echo "$ac_header_compiler" >&6; }
3230 # Is the header present?
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3232 $as_echo_n "checking $2 presence... " >&6; }
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3235 #include <$2>
3236 _ACEOF
3237 if ac_fn_objc_try_cpp "$LINENO"; then :
3238 ac_header_preproc=yes
3239 else
3240 ac_header_preproc=no
3242 rm -f conftest.err conftest.i conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3244 $as_echo "$ac_header_preproc" >&6; }
3246 # So? What about this header?
3247 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3248 yes:no: )
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3254 no:yes:* )
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3258 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3262 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3265 ( $as_echo "## ------------------------------------ ##
3266 ## Report this to wine-devel@winehq.org ##
3267 ## ------------------------------------ ##"
3268 ) | sed "s/^/$as_me: WARNING: /" >&2
3270 esac
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 eval "$3=\$ac_header_compiler"
3278 eval ac_res=\$$3
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3280 $as_echo "$ac_res" >&6; }
3282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3284 } # ac_fn_objc_check_header_mongrel
3286 # ac_fn_c_check_func LINENO FUNC VAR
3287 # ----------------------------------
3288 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3289 ac_fn_c_check_func ()
3291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3293 $as_echo_n "checking for $2... " >&6; }
3294 if eval \${$3+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3299 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3301 #define $2 innocuous_$2
3303 /* System header to define __stub macros and hopefully few prototypes,
3304 which can conflict with char $2 (); below.
3305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3306 <limits.h> exists even on freestanding compilers. */
3308 #ifdef __STDC__
3309 # include <limits.h>
3310 #else
3311 # include <assert.h>
3312 #endif
3314 #undef $2
3316 /* Override any GCC internal prototype to avoid an error.
3317 Use char because int might match the return type of a GCC
3318 builtin and then its argument prototype would still apply. */
3319 #ifdef __cplusplus
3320 extern "C"
3321 #endif
3322 char $2 ();
3323 /* The GNU C library defines this for functions which it implements
3324 to always fail with ENOSYS. Some functions are actually named
3325 something starting with __ and the normal name is an alias. */
3326 #if defined __stub_$2 || defined __stub___$2
3327 choke me
3328 #endif
3331 main ()
3333 return $2 ();
3335 return 0;
3337 _ACEOF
3338 if ac_fn_c_try_link "$LINENO"; then :
3339 eval "$3=yes"
3340 else
3341 eval "$3=no"
3343 rm -f core conftest.err conftest.$ac_objext \
3344 conftest$ac_exeext conftest.$ac_ext
3346 eval ac_res=\$$3
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3348 $as_echo "$ac_res" >&6; }
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 } # ac_fn_c_check_func
3353 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3354 # ----------------------------------------------------
3355 # Tries to find if the field MEMBER exists in type AGGR, after including
3356 # INCLUDES, setting cache variable VAR accordingly.
3357 ac_fn_c_check_member ()
3359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3361 $as_echo_n "checking for $2.$3... " >&6; }
3362 if eval \${$4+:} false; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3371 static $2 ac_aggr;
3372 if (ac_aggr.$3)
3373 return 0;
3375 return 0;
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 eval "$4=yes"
3380 else
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 main ()
3387 static $2 ac_aggr;
3388 if (sizeof ac_aggr.$3)
3389 return 0;
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 eval "$4=yes"
3396 else
3397 eval "$4=no"
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 eval ac_res=\$$4
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3405 $as_echo "$ac_res" >&6; }
3406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3408 } # ac_fn_c_check_member
3410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3411 # -------------------------------------------
3412 # Tests whether TYPE exists after having included INCLUDES, setting cache
3413 # variable VAR accordingly.
3414 ac_fn_c_check_type ()
3416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3418 $as_echo_n "checking for $2... " >&6; }
3419 if eval \${$3+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 eval "$3=no"
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 :
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3442 if (sizeof (($2)))
3443 return 0;
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3450 else
3451 eval "$3=yes"
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 eval ac_res=\$$3
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3459 $as_echo "$ac_res" >&6; }
3460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3462 } # ac_fn_c_check_type
3463 cat >config.log <<_ACEOF
3464 This file contains any messages produced by compilers while
3465 running configure, to aid debugging if configure makes a mistake.
3467 It was created by Wine $as_me 5.8, which was
3468 generated by GNU Autoconf 2.69. Invocation command line was
3470 $ $0 $@
3472 _ACEOF
3473 exec 5>>config.log
3475 cat <<_ASUNAME
3476 ## --------- ##
3477 ## Platform. ##
3478 ## --------- ##
3480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3497 _ASUNAME
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 $as_echo "PATH: $as_dir"
3505 done
3506 IFS=$as_save_IFS
3508 } >&5
3510 cat >&5 <<_ACEOF
3513 ## ----------- ##
3514 ## Core tests. ##
3515 ## ----------- ##
3517 _ACEOF
3520 # Keep a trace of the command line.
3521 # Strip out --no-create and --no-recursion so they do not pile up.
3522 # Strip out --silent because we don't want to record it for future runs.
3523 # Also quote any args containing shell meta-characters.
3524 # Make two passes to allow for proper duplicate-argument suppression.
3525 ac_configure_args=
3526 ac_configure_args0=
3527 ac_configure_args1=
3528 ac_must_keep_next=false
3529 for ac_pass in 1 2
3531 for ac_arg
3533 case $ac_arg in
3534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3536 | -silent | --silent | --silen | --sile | --sil)
3537 continue ;;
3538 *\'*)
3539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3540 esac
3541 case $ac_pass in
3542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3544 as_fn_append ac_configure_args1 " '$ac_arg'"
3545 if test $ac_must_keep_next = true; then
3546 ac_must_keep_next=false # Got value, back to normal.
3547 else
3548 case $ac_arg in
3549 *=* | --config-cache | -C | -disable-* | --disable-* \
3550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3552 | -with-* | --with-* | -without-* | --without-* | --x)
3553 case "$ac_configure_args0 " in
3554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3555 esac
3557 -* ) ac_must_keep_next=true ;;
3558 esac
3560 as_fn_append ac_configure_args " '$ac_arg'"
3562 esac
3563 done
3564 done
3565 { ac_configure_args0=; unset ac_configure_args0;}
3566 { ac_configure_args1=; unset ac_configure_args1;}
3568 # When interrupted or exit'd, cleanup temporary files, and complete
3569 # config.log. We remove comments because anyway the quotes in there
3570 # would cause problems or look ugly.
3571 # WARNING: Use '\'' to represent an apostrophe within the trap.
3572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3573 trap 'exit_status=$?
3574 # Save into config.log some information that might help in debugging.
3576 echo
3578 $as_echo "## ---------------- ##
3579 ## Cache variables. ##
3580 ## ---------------- ##"
3581 echo
3582 # The following way of writing the cache mishandles newlines in values,
3584 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3585 eval ac_val=\$$ac_var
3586 case $ac_val in #(
3587 *${as_nl}*)
3588 case $ac_var in #(
3589 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3591 esac
3592 case $ac_var in #(
3593 _ | IFS | as_nl) ;; #(
3594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3595 *) { eval $ac_var=; unset $ac_var;} ;;
3596 esac ;;
3597 esac
3598 done
3599 (set) 2>&1 |
3600 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3601 *${as_nl}ac_space=\ *)
3602 sed -n \
3603 "s/'\''/'\''\\\\'\'''\''/g;
3604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3605 ;; #(
3607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3609 esac |
3610 sort
3612 echo
3614 $as_echo "## ----------------- ##
3615 ## Output variables. ##
3616 ## ----------------- ##"
3617 echo
3618 for ac_var in $ac_subst_vars
3620 eval ac_val=\$$ac_var
3621 case $ac_val in
3622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3623 esac
3624 $as_echo "$ac_var='\''$ac_val'\''"
3625 done | sort
3626 echo
3628 if test -n "$ac_subst_files"; then
3629 $as_echo "## ------------------- ##
3630 ## File substitutions. ##
3631 ## ------------------- ##"
3632 echo
3633 for ac_var in $ac_subst_files
3635 eval ac_val=\$$ac_var
3636 case $ac_val in
3637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3638 esac
3639 $as_echo "$ac_var='\''$ac_val'\''"
3640 done | sort
3641 echo
3644 if test -s confdefs.h; then
3645 $as_echo "## ----------- ##
3646 ## confdefs.h. ##
3647 ## ----------- ##"
3648 echo
3649 cat confdefs.h
3650 echo
3652 test "$ac_signal" != 0 &&
3653 $as_echo "$as_me: caught signal $ac_signal"
3654 $as_echo "$as_me: exit $exit_status"
3655 } >&5
3656 rm -f core *.core core.conftest.* &&
3657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3658 exit $exit_status
3660 for ac_signal in 1 2 13 15; do
3661 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3662 done
3663 ac_signal=0
3665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3666 rm -f -r conftest* confdefs.h
3668 $as_echo "/* confdefs.h */" > confdefs.h
3670 # Predefined preprocessor variables.
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_NAME "$PACKAGE_NAME"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3682 _ACEOF
3684 cat >>confdefs.h <<_ACEOF
3685 #define PACKAGE_STRING "$PACKAGE_STRING"
3686 _ACEOF
3688 cat >>confdefs.h <<_ACEOF
3689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3690 _ACEOF
3692 cat >>confdefs.h <<_ACEOF
3693 #define PACKAGE_URL "$PACKAGE_URL"
3694 _ACEOF
3697 # Let the site file select an alternate cache file if it wants to.
3698 # Prefer an explicitly selected file to automatically selected ones.
3699 ac_site_file1=NONE
3700 ac_site_file2=NONE
3701 if test -n "$CONFIG_SITE"; then
3702 # We do not want a PATH search for config.site.
3703 case $CONFIG_SITE in #((
3704 -*) ac_site_file1=./$CONFIG_SITE;;
3705 */*) ac_site_file1=$CONFIG_SITE;;
3706 *) ac_site_file1=./$CONFIG_SITE;;
3707 esac
3708 elif test "x$prefix" != xNONE; then
3709 ac_site_file1=$prefix/share/config.site
3710 ac_site_file2=$prefix/etc/config.site
3711 else
3712 ac_site_file1=$ac_default_prefix/share/config.site
3713 ac_site_file2=$ac_default_prefix/etc/config.site
3715 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3717 test "x$ac_site_file" = xNONE && continue
3718 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3720 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3721 sed 's/^/| /' "$ac_site_file" >&5
3722 . "$ac_site_file" \
3723 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3725 as_fn_error $? "failed to load site script $ac_site_file
3726 See \`config.log' for more details" "$LINENO" 5; }
3728 done
3730 if test -r "$cache_file"; then
3731 # Some versions of bash will fail to source /dev/null (special files
3732 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3733 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3735 $as_echo "$as_me: loading cache $cache_file" >&6;}
3736 case $cache_file in
3737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3738 *) . "./$cache_file";;
3739 esac
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3743 $as_echo "$as_me: creating cache $cache_file" >&6;}
3744 >$cache_file
3747 # Check that the precious variables saved in the cache have kept the same
3748 # value.
3749 ac_cache_corrupted=false
3750 for ac_var in $ac_precious_vars; do
3751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3752 eval ac_new_set=\$ac_env_${ac_var}_set
3753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3754 eval ac_new_val=\$ac_env_${ac_var}_value
3755 case $ac_old_set,$ac_new_set in
3756 set,)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3759 ac_cache_corrupted=: ;;
3760 ,set)
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3763 ac_cache_corrupted=: ;;
3764 ,);;
3766 if test "x$ac_old_val" != "x$ac_new_val"; then
3767 # differences in whitespace do not lead to failure.
3768 ac_old_val_w=`echo x $ac_old_val`
3769 ac_new_val_w=`echo x $ac_new_val`
3770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3773 ac_cache_corrupted=:
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3777 eval $ac_var=\$ac_old_val
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3783 fi;;
3784 esac
3785 # Pass precious variables to config.status.
3786 if test "$ac_new_set" = set; then
3787 case $ac_new_val in
3788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3789 *) ac_arg=$ac_var=$ac_new_val ;;
3790 esac
3791 case " $ac_configure_args " in
3792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3794 esac
3796 done
3797 if $ac_cache_corrupted; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3802 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3804 ## -------------------- ##
3805 ## Main body of script. ##
3806 ## -------------------- ##
3808 ac_ext=c
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 ac_config_headers="$ac_config_headers include/config.h"
3818 ac_aux_dir=
3819 for ac_dir in tools "$srcdir"/tools; do
3820 if test -f "$ac_dir/install-sh"; then
3821 ac_aux_dir=$ac_dir
3822 ac_install_sh="$ac_aux_dir/install-sh -c"
3823 break
3824 elif test -f "$ac_dir/install.sh"; then
3825 ac_aux_dir=$ac_dir
3826 ac_install_sh="$ac_aux_dir/install.sh -c"
3827 break
3828 elif test -f "$ac_dir/shtool"; then
3829 ac_aux_dir=$ac_dir
3830 ac_install_sh="$ac_aux_dir/shtool install -c"
3831 break
3833 done
3834 if test -z "$ac_aux_dir"; then
3835 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3838 # These three variables are undocumented and unsupported,
3839 # and are intended to be withdrawn in a future Autoconf release.
3840 # They can cause serious problems if a builder's source tree is in a directory
3841 # whose full name contains unusual characters.
3842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3848 libwine_version="1.0"
3852 # Check whether --enable-win16 was given.
3853 if test "${enable_win16+set}" = set; then :
3854 enableval=$enable_win16;
3857 # Check whether --enable-win64 was given.
3858 if test "${enable_win64+set}" = set; then :
3859 enableval=$enable_win64;
3862 # Check whether --enable-tests was given.
3863 if test "${enable_tests+set}" = set; then :
3864 enableval=$enable_tests;
3867 # Check whether --enable-maintainer-mode was given.
3868 if test "${enable_maintainer_mode+set}" = set; then :
3869 enableval=$enable_maintainer_mode;
3872 # Check whether --enable-werror was given.
3873 if test "${enable_werror+set}" = set; then :
3874 enableval=$enable_werror;
3879 # Check whether --with-alsa was given.
3880 if test "${with_alsa+set}" = set; then :
3881 withval=$with_alsa;
3885 # Check whether --with-capi was given.
3886 if test "${with_capi+set}" = set; then :
3887 withval=$with_capi;
3891 # Check whether --with-cms was given.
3892 if test "${with_cms+set}" = set; then :
3893 withval=$with_cms;
3897 # Check whether --with-coreaudio was given.
3898 if test "${with_coreaudio+set}" = set; then :
3899 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3903 # Check whether --with-cups was given.
3904 if test "${with_cups+set}" = set; then :
3905 withval=$with_cups;
3909 # Check whether --with-curses was given.
3910 if test "${with_curses+set}" = set; then :
3911 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3915 # Check whether --with-dbus was given.
3916 if test "${with_dbus+set}" = set; then :
3917 withval=$with_dbus;
3921 # Check whether --with-faudio was given.
3922 if test "${with_faudio+set}" = set; then :
3923 withval=$with_faudio;
3927 # Check whether --with-float-abi was given.
3928 if test "${with_float_abi+set}" = set; then :
3929 withval=$with_float_abi;
3933 # Check whether --with-fontconfig was given.
3934 if test "${with_fontconfig+set}" = set; then :
3935 withval=$with_fontconfig;
3939 # Check whether --with-freetype was given.
3940 if test "${with_freetype+set}" = set; then :
3941 withval=$with_freetype;
3945 # Check whether --with-gettext was given.
3946 if test "${with_gettext+set}" = set; then :
3947 withval=$with_gettext;
3951 # Check whether --with-gettextpo was given.
3952 if test "${with_gettextpo+set}" = set; then :
3953 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3957 # Check whether --with-gphoto was given.
3958 if test "${with_gphoto+set}" = set; then :
3959 withval=$with_gphoto;
3963 # Check whether --with-glu was given.
3964 if test "${with_glu+set}" = set; then :
3965 withval=$with_glu;
3969 # Check whether --with-gnutls was given.
3970 if test "${with_gnutls+set}" = set; then :
3971 withval=$with_gnutls;
3975 # Check whether --with-gsm was given.
3976 if test "${with_gsm+set}" = set; then :
3977 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3981 # Check whether --with-gssapi was given.
3982 if test "${with_gssapi+set}" = set; then :
3983 withval=$with_gssapi;
3987 # Check whether --with-gstreamer was given.
3988 if test "${with_gstreamer+set}" = set; then :
3989 withval=$with_gstreamer;
3993 # Check whether --with-hal was given.
3994 if test "${with_hal+set}" = set; then :
3995 withval=$with_hal;
3999 # Check whether --with-inotify was given.
4000 if test "${with_inotify+set}" = set; then :
4001 withval=$with_inotify;
4005 # Check whether --with-jpeg was given.
4006 if test "${with_jpeg+set}" = set; then :
4007 withval=$with_jpeg;
4011 # Check whether --with-krb5 was given.
4012 if test "${with_krb5+set}" = set; then :
4013 withval=$with_krb5;
4017 # Check whether --with-ldap was given.
4018 if test "${with_ldap+set}" = set; then :
4019 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4023 # Check whether --with-mingw was given.
4024 if test "${with_mingw+set}" = set; then :
4025 withval=$with_mingw;
4029 # Check whether --with-mpg123 was given.
4030 if test "${with_mpg123+set}" = set; then :
4031 withval=$with_mpg123;
4035 # Check whether --with-netapi was given.
4036 if test "${with_netapi+set}" = set; then :
4037 withval=$with_netapi;
4041 # Check whether --with-openal was given.
4042 if test "${with_openal+set}" = set; then :
4043 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4047 # Check whether --with-opencl was given.
4048 if test "${with_opencl+set}" = set; then :
4049 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4053 # Check whether --with-opengl was given.
4054 if test "${with_opengl+set}" = set; then :
4055 withval=$with_opengl;
4059 # Check whether --with-osmesa was given.
4060 if test "${with_osmesa+set}" = set; then :
4061 withval=$with_osmesa;
4065 # Check whether --with-oss was given.
4066 if test "${with_oss+set}" = set; then :
4067 withval=$with_oss;
4071 # Check whether --with-pcap was given.
4072 if test "${with_pcap+set}" = set; then :
4073 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4077 # Check whether --with-png was given.
4078 if test "${with_png+set}" = set; then :
4079 withval=$with_png;
4083 # Check whether --with-pthread was given.
4084 if test "${with_pthread+set}" = set; then :
4085 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4089 # Check whether --with-pulse was given.
4090 if test "${with_pulse+set}" = set; then :
4091 withval=$with_pulse;
4095 # Check whether --with-sane was given.
4096 if test "${with_sane+set}" = set; then :
4097 withval=$with_sane;
4101 # Check whether --with-sdl was given.
4102 if test "${with_sdl+set}" = set; then :
4103 withval=$with_sdl;
4107 # Check whether --with-tiff was given.
4108 if test "${with_tiff+set}" = set; then :
4109 withval=$with_tiff;
4113 # Check whether --with-udev was given.
4114 if test "${with_udev+set}" = set; then :
4115 withval=$with_udev;
4119 # Check whether --with-unwind was given.
4120 if test "${with_unwind+set}" = set; then :
4121 withval=$with_unwind;
4125 # Check whether --with-usb was given.
4126 if test "${with_usb+set}" = set; then :
4127 withval=$with_usb;
4131 # Check whether --with-v4l2 was given.
4132 if test "${with_v4l2+set}" = set; then :
4133 withval=$with_v4l2;
4137 # Check whether --with-vkd3d was given.
4138 if test "${with_vkd3d+set}" = set; then :
4139 withval=$with_vkd3d;
4143 # Check whether --with-vulkan was given.
4144 if test "${with_vulkan+set}" = set; then :
4145 withval=$with_vulkan;
4149 # Check whether --with-xcomposite was given.
4150 if test "${with_xcomposite+set}" = set; then :
4151 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4155 # Check whether --with-xcursor was given.
4156 if test "${with_xcursor+set}" = set; then :
4157 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4161 # Check whether --with-xfixes was given.
4162 if test "${with_xfixes+set}" = set; then :
4163 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4167 # Check whether --with-xinerama was given.
4168 if test "${with_xinerama+set}" = set; then :
4169 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4173 # Check whether --with-xinput was given.
4174 if test "${with_xinput+set}" = set; then :
4175 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4179 # Check whether --with-xinput2 was given.
4180 if test "${with_xinput2+set}" = set; then :
4181 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4185 # Check whether --with-xml was given.
4186 if test "${with_xml+set}" = set; then :
4187 withval=$with_xml;
4191 # Check whether --with-xrandr was given.
4192 if test "${with_xrandr+set}" = set; then :
4193 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4197 # Check whether --with-xrender was given.
4198 if test "${with_xrender+set}" = set; then :
4199 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4203 # Check whether --with-xshape was given.
4204 if test "${with_xshape+set}" = set; then :
4205 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4209 # Check whether --with-xshm was given.
4210 if test "${with_xshm+set}" = set; then :
4211 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4215 # Check whether --with-xslt was given.
4216 if test "${with_xslt+set}" = set; then :
4217 withval=$with_xslt;
4221 # Check whether --with-xxf86vm was given.
4222 if test "${with_xxf86vm+set}" = set; then :
4223 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
4228 # Check whether --with-wine-tools was given.
4229 if test "${with_wine_tools+set}" = set; then :
4230 withval=$with_wine_tools;
4234 # Check whether --with-wine64 was given.
4235 if test "${with_wine64+set}" = set; then :
4236 withval=$with_wine64;
4240 # Make sure we can run config.sub.
4241 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4242 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4245 $as_echo_n "checking build system type... " >&6; }
4246 if ${ac_cv_build+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_build_alias=$build_alias
4250 test "x$ac_build_alias" = x &&
4251 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4252 test "x$ac_build_alias" = x &&
4253 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4254 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4255 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4259 $as_echo "$ac_cv_build" >&6; }
4260 case $ac_cv_build in
4261 *-*-*) ;;
4262 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4263 esac
4264 build=$ac_cv_build
4265 ac_save_IFS=$IFS; IFS='-'
4266 set x $ac_cv_build
4267 shift
4268 build_cpu=$1
4269 build_vendor=$2
4270 shift; shift
4271 # Remember, the first character of IFS is used to create $*,
4272 # except with old shells:
4273 build_os=$*
4274 IFS=$ac_save_IFS
4275 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4279 $as_echo_n "checking host system type... " >&6; }
4280 if ${ac_cv_host+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test "x$host_alias" = x; then
4284 ac_cv_host=$ac_cv_build
4285 else
4286 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4287 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4292 $as_echo "$ac_cv_host" >&6; }
4293 case $ac_cv_host in
4294 *-*-*) ;;
4295 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4296 esac
4297 host=$ac_cv_host
4298 ac_save_IFS=$IFS; IFS='-'
4299 set x $ac_cv_host
4300 shift
4301 host_cpu=$1
4302 host_vendor=$2
4303 shift; shift
4304 # Remember, the first character of IFS is used to create $*,
4305 # except with old shells:
4306 host_os=$*
4307 IFS=$ac_save_IFS
4308 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4314 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4315 set x ${MAKE-make}
4316 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4317 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat >conftest.make <<\_ACEOF
4321 SHELL = /bin/sh
4322 all:
4323 @echo '@@@%%%=$(MAKE)=@@@%%%'
4324 _ACEOF
4325 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4326 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4327 *@@@%%%=?*=@@@%%%*)
4328 eval ac_cv_prog_make_${ac_make}_set=yes;;
4330 eval ac_cv_prog_make_${ac_make}_set=no;;
4331 esac
4332 rm -f conftest.make
4334 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4336 $as_echo "yes" >&6; }
4337 SET_MAKE=
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4341 SET_MAKE="MAKE=${MAKE-make}"
4344 ac_ext=c
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 if test -n "$ac_tool_prefix"; then
4350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4351 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_CC+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CC"; then
4358 ac_cv_prog_CC="$CC" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CC=$ac_cv_prog_CC
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$ac_cv_prog_CC"; then
4389 ac_ct_CC=$CC
4390 # Extract the first word of "gcc", so it can be a program name with args.
4391 set dummy gcc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$ac_ct_CC"; then
4398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CC="gcc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4418 if test -n "$ac_ct_CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4420 $as_echo "$ac_ct_CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4426 if test "x$ac_ct_CC" = x; then
4427 CC=""
4428 else
4429 case $cross_compiling:$ac_tool_warned in
4430 yes:)
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4434 esac
4435 CC=$ac_ct_CC
4437 else
4438 CC="$ac_cv_prog_CC"
4441 if test -z "$CC"; then
4442 if test -n "$ac_tool_prefix"; then
4443 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4444 set dummy ${ac_tool_prefix}cc; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_CC+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CC"; then
4451 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_CC="${ac_tool_prefix}cc"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CC=$ac_cv_prog_CC
4471 if test -n "$CC"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4473 $as_echo "$CC" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4482 if test -z "$CC"; then
4483 # Extract the first word of "cc", so it can be a program name with args.
4484 set dummy cc; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_CC+:} false; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4492 else
4493 ac_prog_rejected=no
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH
4497 IFS=$as_save_IFS
4498 test -z "$as_dir" && as_dir=.
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4502 ac_prog_rejected=yes
4503 continue
4505 ac_cv_prog_CC="cc"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4509 done
4510 done
4511 IFS=$as_save_IFS
4513 if test $ac_prog_rejected = yes; then
4514 # We found a bogon in the path, so make sure we never use it.
4515 set dummy $ac_cv_prog_CC
4516 shift
4517 if test $# != 0; then
4518 # We chose a different compiler from the bogus one.
4519 # However, it has the same basename, so the bogon will be chosen
4520 # first if we set CC to just the basename; use the full file name.
4521 shift
4522 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4527 CC=$ac_cv_prog_CC
4528 if test -n "$CC"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4530 $as_echo "$CC" >&6; }
4531 else
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4538 if test -z "$CC"; then
4539 if test -n "$ac_tool_prefix"; then
4540 for ac_prog in cl.exe
4542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_CC+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$CC"; then
4550 ac_cv_prog_CC="$CC" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 CC=$ac_cv_prog_CC
4570 if test -n "$CC"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4572 $as_echo "$CC" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$CC" && break
4580 done
4582 if test -z "$CC"; then
4583 ac_ct_CC=$CC
4584 for ac_prog in cl.exe
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 if test -n "$ac_ct_CC"; then
4594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CC="$ac_prog"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4609 IFS=$as_save_IFS
4613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4614 if test -n "$ac_ct_CC"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4616 $as_echo "$ac_ct_CC" >&6; }
4617 else
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4623 test -n "$ac_ct_CC" && break
4624 done
4626 if test "x$ac_ct_CC" = x; then
4627 CC=""
4628 else
4629 case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635 CC=$ac_ct_CC
4642 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error $? "no acceptable C compiler found in \$PATH
4645 See \`config.log' for more details" "$LINENO" 5; }
4647 # Provide some information about the compiler.
4648 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4649 set X $ac_compile
4650 ac_compiler=$2
4651 for ac_option in --version -v -V -qversion; do
4652 { { ac_try="$ac_compiler $ac_option >&5"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4660 ac_status=$?
4661 if test -s conftest.err; then
4662 sed '10a\
4663 ... rest of stderr output deleted ...
4664 10q' conftest.err >conftest.er1
4665 cat conftest.er1 >&5
4667 rm -f conftest.er1 conftest.err
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }
4670 done
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 ac_clean_files_save=$ac_clean_files
4684 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4685 # Try to create an executable without -o first, disregard a.out.
4686 # It will help us diagnose broken compilers, and finding out an intuition
4687 # of exeext.
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4689 $as_echo_n "checking whether the C compiler works... " >&6; }
4690 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4692 # The possible output files:
4693 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4695 ac_rmfiles=
4696 for ac_file in $ac_files
4698 case $ac_file in
4699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4700 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4701 esac
4702 done
4703 rm -f $ac_rmfiles
4705 if { { ac_try="$ac_link_default"
4706 case "(($ac_try" in
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4709 esac
4710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_link_default") 2>&5
4713 ac_status=$?
4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4715 test $ac_status = 0; }; then :
4716 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4717 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4718 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4719 # so that the user can short-circuit this test for compilers unknown to
4720 # Autoconf.
4721 for ac_file in $ac_files ''
4723 test -f "$ac_file" || continue
4724 case $ac_file in
4725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4727 [ab].out )
4728 # We found the default executable, but exeext='' is most
4729 # certainly right.
4730 break;;
4731 *.* )
4732 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4733 then :; else
4734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4736 # We set ac_cv_exeext here because the later test for it is not
4737 # safe: cross compilers may not add the suffix if given an `-o'
4738 # argument, so we may need to know it at that point already.
4739 # Even if this section looks crufty: it has the advantage of
4740 # actually working.
4741 break;;
4743 break;;
4744 esac
4745 done
4746 test "$ac_cv_exeext" = no && ac_cv_exeext=
4748 else
4749 ac_file=''
4751 if test -z "$ac_file"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4754 $as_echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4759 as_fn_error 77 "C compiler cannot create executables
4760 See \`config.log' for more details" "$LINENO" 5; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4766 $as_echo_n "checking for C compiler default output file name... " >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4768 $as_echo "$ac_file" >&6; }
4769 ac_exeext=$ac_cv_exeext
4771 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4772 ac_clean_files=$ac_clean_files_save
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4774 $as_echo_n "checking for suffix of executables... " >&6; }
4775 if { { ac_try="$ac_link"
4776 case "(($ac_try" in
4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4779 esac
4780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781 $as_echo "$ac_try_echo"; } >&5
4782 (eval "$ac_link") 2>&5
4783 ac_status=$?
4784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785 test $ac_status = 0; }; then :
4786 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4787 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4788 # work properly (i.e., refer to `conftest.exe'), while it won't with
4789 # `rm'.
4790 for ac_file in conftest.exe conftest conftest.*; do
4791 test -f "$ac_file" || continue
4792 case $ac_file in
4793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4794 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4795 break;;
4796 * ) break;;
4797 esac
4798 done
4799 else
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest conftest$ac_cv_exeext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4807 $as_echo "$ac_cv_exeext" >&6; }
4809 rm -f conftest.$ac_ext
4810 EXEEXT=$ac_cv_exeext
4811 ac_exeext=$EXEEXT
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 #include <stdio.h>
4816 main ()
4818 FILE *f = fopen ("conftest.out", "w");
4819 return ferror (f) || fclose (f) != 0;
4822 return 0;
4824 _ACEOF
4825 ac_clean_files="$ac_clean_files conftest.out"
4826 # Check that the compiler produces executables we can run. If not, either
4827 # the compiler is broken, or we cross compile.
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4829 $as_echo_n "checking whether we are cross compiling... " >&6; }
4830 if test "$cross_compiling" != yes; then
4831 { { ac_try="$ac_link"
4832 case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4835 esac
4836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4837 $as_echo "$ac_try_echo"; } >&5
4838 (eval "$ac_link") 2>&5
4839 ac_status=$?
4840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4841 test $ac_status = 0; }
4842 if { ac_try='./conftest$ac_cv_exeext'
4843 { { case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4848 $as_echo "$ac_try_echo"; } >&5
4849 (eval "$ac_try") 2>&5
4850 ac_status=$?
4851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4852 test $ac_status = 0; }; }; then
4853 cross_compiling=no
4854 else
4855 if test "$cross_compiling" = maybe; then
4856 cross_compiling=yes
4857 else
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot run C compiled programs.
4861 If you meant to cross compile, use \`--host'.
4862 See \`config.log' for more details" "$LINENO" 5; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4867 $as_echo "$cross_compiling" >&6; }
4869 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4870 ac_clean_files=$ac_clean_files_save
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4872 $as_echo_n "checking for suffix of object files... " >&6; }
4873 if ${ac_cv_objext+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 rm -f conftest.o conftest.obj
4888 if { { ac_try="$ac_compile"
4889 case "(($ac_try" in
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 *) ac_try_echo=$ac_try;;
4892 esac
4893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4894 $as_echo "$ac_try_echo"; } >&5
4895 (eval "$ac_compile") 2>&5
4896 ac_status=$?
4897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4898 test $ac_status = 0; }; then :
4899 for ac_file in conftest.o conftest.obj conftest.*; do
4900 test -f "$ac_file" || continue;
4901 case $ac_file in
4902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4903 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4904 break;;
4905 esac
4906 done
4907 else
4908 $as_echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4913 as_fn_error $? "cannot compute suffix of object files: cannot compile
4914 See \`config.log' for more details" "$LINENO" 5; }
4916 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4919 $as_echo "$ac_cv_objext" >&6; }
4920 OBJEXT=$ac_cv_objext
4921 ac_objext=$OBJEXT
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4923 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4924 if ${ac_cv_c_compiler_gnu+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4933 #ifndef __GNUC__
4934 choke me
4935 #endif
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_compiler_gnu=yes
4943 else
4944 ac_compiler_gnu=no
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4951 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4952 if test $ac_compiler_gnu = yes; then
4953 GCC=yes
4954 else
4955 GCC=
4957 ac_test_CFLAGS=${CFLAGS+set}
4958 ac_save_CFLAGS=$CFLAGS
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4960 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4961 if ${ac_cv_prog_cc_g+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 ac_save_c_werror_flag=$ac_c_werror_flag
4965 ac_c_werror_flag=yes
4966 ac_cv_prog_cc_g=no
4967 CFLAGS="-g"
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_compile "$LINENO"; then :
4980 ac_cv_prog_cc_g=yes
4981 else
4982 CFLAGS=""
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4996 else
4997 ac_c_werror_flag=$ac_save_c_werror_flag
4998 CFLAGS="-g"
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_compile "$LINENO"; then :
5011 ac_cv_prog_cc_g=yes
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_c_werror_flag=$ac_save_c_werror_flag
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5021 $as_echo "$ac_cv_prog_cc_g" >&6; }
5022 if test "$ac_test_CFLAGS" = set; then
5023 CFLAGS=$ac_save_CFLAGS
5024 elif test $ac_cv_prog_cc_g = yes; then
5025 if test "$GCC" = yes; then
5026 CFLAGS="-g -O2"
5027 else
5028 CFLAGS="-g"
5030 else
5031 if test "$GCC" = yes; then
5032 CFLAGS="-O2"
5033 else
5034 CFLAGS=
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5038 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5039 if ${ac_cv_prog_cc_c89+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 ac_cv_prog_cc_c89=no
5043 ac_save_CC=$CC
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 #include <stdarg.h>
5047 #include <stdio.h>
5048 struct stat;
5049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5050 struct buf { int x; };
5051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5052 static char *e (p, i)
5053 char **p;
5054 int i;
5056 return p[i];
5058 static char *f (char * (*g) (char **, int), char **p, ...)
5060 char *s;
5061 va_list v;
5062 va_start (v,p);
5063 s = g (p, va_arg (v,int));
5064 va_end (v);
5065 return s;
5068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5069 function prototypes and stuff, but not '\xHH' hex character constants.
5070 These don't provoke an error unfortunately, instead are silently treated
5071 as 'x'. The following induces an error, until -std is added to get
5072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5073 array size at least. It's necessary to write '\x00'==0 to get something
5074 that's true only with -std. */
5075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5077 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5078 inside strings and character constants. */
5079 #define FOO(x) 'x'
5080 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5082 int test (int i, double x);
5083 struct s1 {int (*f) (int a);};
5084 struct s2 {int (*f) (double a);};
5085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5086 int argc;
5087 char **argv;
5089 main ()
5091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5093 return 0;
5095 _ACEOF
5096 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5097 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5099 CC="$ac_save_CC $ac_arg"
5100 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_cv_prog_cc_c89=$ac_arg
5103 rm -f core conftest.err conftest.$ac_objext
5104 test "x$ac_cv_prog_cc_c89" != "xno" && break
5105 done
5106 rm -f conftest.$ac_ext
5107 CC=$ac_save_CC
5110 # AC_CACHE_VAL
5111 case "x$ac_cv_prog_cc_c89" in
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5114 $as_echo "none needed" >&6; } ;;
5115 xno)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5117 $as_echo "unsupported" >&6; } ;;
5119 CC="$CC $ac_cv_prog_cc_c89"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5121 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5122 esac
5123 if test "x$ac_cv_prog_cc_c89" != xno; then :
5127 ac_ext=c
5128 ac_cpp='$CPP $CPPFLAGS'
5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133 ac_ext=cpp
5134 ac_cpp='$CXXCPP $CPPFLAGS'
5135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5138 if test -z "$CXX"; then
5139 if test -n "$CCC"; then
5140 CXX=$CCC
5141 else
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_CXX+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$CXX"; then
5153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 CXX=$ac_cv_prog_CXX
5173 if test -n "$CXX"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5175 $as_echo "$CXX" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$CXX" && break
5183 done
5185 if test -z "$CXX"; then
5186 ac_ct_CXX=$CXX
5187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy $ac_prog; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$ac_ct_CXX"; then
5197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ac_ct_CXX="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5217 if test -n "$ac_ct_CXX"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5219 $as_echo "$ac_ct_CXX" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$ac_ct_CXX" && break
5227 done
5229 if test "x$ac_ct_CXX" = x; then
5230 CXX="g++"
5231 else
5232 case $cross_compiling:$ac_tool_warned in
5233 yes:)
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned=yes ;;
5237 esac
5238 CXX=$ac_ct_CXX
5244 # Provide some information about the compiler.
5245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5246 set X $ac_compile
5247 ac_compiler=$2
5248 for ac_option in --version -v -V -qversion; do
5249 { { ac_try="$ac_compiler $ac_option >&5"
5250 case "(($ac_try" in
5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252 *) ac_try_echo=$ac_try;;
5253 esac
5254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5255 $as_echo "$ac_try_echo"; } >&5
5256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5257 ac_status=$?
5258 if test -s conftest.err; then
5259 sed '10a\
5260 ... rest of stderr output deleted ...
5261 10q' conftest.err >conftest.er1
5262 cat conftest.er1 >&5
5264 rm -f conftest.er1 conftest.err
5265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5266 test $ac_status = 0; }
5267 done
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5270 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5271 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5278 main ()
5280 #ifndef __GNUC__
5281 choke me
5282 #endif
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_compiler_gnu=yes
5290 else
5291 ac_compiler_gnu=no
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5298 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5299 if test $ac_compiler_gnu = yes; then
5300 GXX=yes
5301 else
5302 GXX=
5304 ac_test_CXXFLAGS=${CXXFLAGS+set}
5305 ac_save_CXXFLAGS=$CXXFLAGS
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5307 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5308 if ${ac_cv_prog_cxx_g+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5312 ac_cxx_werror_flag=yes
5313 ac_cv_prog_cxx_g=no
5314 CXXFLAGS="-g"
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main ()
5323 return 0;
5325 _ACEOF
5326 if ac_fn_cxx_try_compile "$LINENO"; then :
5327 ac_cv_prog_cxx_g=yes
5328 else
5329 CXXFLAGS=""
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5343 else
5344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5345 CXXFLAGS="-g"
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5354 return 0;
5356 _ACEOF
5357 if ac_fn_cxx_try_compile "$LINENO"; then :
5358 ac_cv_prog_cxx_g=yes
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5369 if test "$ac_test_CXXFLAGS" = set; then
5370 CXXFLAGS=$ac_save_CXXFLAGS
5371 elif test $ac_cv_prog_cxx_g = yes; then
5372 if test "$GXX" = yes; then
5373 CXXFLAGS="-g -O2"
5374 else
5375 CXXFLAGS="-g"
5377 else
5378 if test "$GXX" = yes; then
5379 CXXFLAGS="-O2"
5380 else
5381 CXXFLAGS=
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_CPPBIN+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$CPPBIN"; then
5399 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 CPPBIN=$ac_cv_prog_CPPBIN
5419 if test -n "$CPPBIN"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5421 $as_echo "$CPPBIN" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5429 if test -z "$ac_cv_prog_CPPBIN"; then
5430 ac_ct_CPPBIN=$CPPBIN
5431 # Extract the first word of "cpp", so it can be a program name with args.
5432 set dummy cpp; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$ac_ct_CPPBIN"; then
5439 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_ac_ct_CPPBIN="cpp"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5459 if test -n "$ac_ct_CPPBIN"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5461 $as_echo "$ac_ct_CPPBIN" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5467 if test "x$ac_ct_CPPBIN" = x; then
5468 CPPBIN="cpp"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474 ac_tool_warned=yes ;;
5475 esac
5476 CPPBIN=$ac_ct_CPPBIN
5478 else
5479 CPPBIN="$ac_cv_prog_CPPBIN"
5483 cat >>confdefs.h <<_ACEOF
5484 #define EXEEXT "$ac_exeext"
5485 _ACEOF
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ld; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_LD+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$LD"; then
5496 ac_cv_prog_LD="$LD" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_LD="${ac_tool_prefix}ld"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 LD=$ac_cv_prog_LD
5516 if test -n "$LD"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5518 $as_echo "$LD" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_LD"; then
5527 ac_ct_LD=$LD
5528 # Extract the first word of "ld", so it can be a program name with args.
5529 set dummy ld; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$ac_ct_LD"; then
5536 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_LD="ld"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5556 if test -n "$ac_ct_LD"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5558 $as_echo "$ac_ct_LD" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_LD" = x; then
5565 LD=""
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573 LD=$ac_ct_LD
5575 else
5576 LD="$ac_cv_prog_LD"
5580 case $host in
5581 *-darwin*)
5582 with_fontconfig=${with_fontconfig:-no}
5584 *-mingw32*|*-cygwin*)
5585 enable_win16=${enable_win16:-no}
5586 with_mingw=${with_mingw:-no}
5587 CFLAGS="$CFLAGS -D_WIN32"
5589 esac
5591 case $host in
5592 x86_64*|amd64*)
5593 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5594 then
5595 CC="$CC -m32"
5596 CXX="$CXX -m32"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5599 $as_echo_n "checking whether $CC works... " >&6; }
5600 if ${wine_cv_cc_m32+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5607 main ()
5611 return 0;
5613 _ACEOF
5614 if ac_fn_c_try_link "$LINENO"; then :
5615 wine_cv_cc_m32=yes
5616 else
5617 wine_cv_cc_m32=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5623 $as_echo "$wine_cv_cc_m32" >&6; }
5624 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
5625 host_cpu="i386"
5626 notice_platform="32-bit "
5627 TARGETFLAGS="-m32"
5629 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5630 export PKG_CONFIG_PATH
5631 enable_win16=${enable_win16:-yes}
5632 with_unwind=${with_unwind:-no}
5633 else
5634 if test "x${GCC}" = "xyes"
5635 then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5637 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5638 if ${wine_cv_builtin_ms_va_list+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #include <stdarg.h>
5645 main ()
5647 void func(__builtin_ms_va_list *args);
5649 return 0;
5651 _ACEOF
5652 if ac_fn_c_try_compile "$LINENO"; then :
5653 wine_cv_builtin_ms_va_list=yes
5654 else
5655 wine_cv_builtin_ms_va_list=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5660 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5661 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
5663 CC="$CC -m64"
5664 CXX="$CXX -m64"
5665 host_cpu="x86_64"
5666 notice_platform="64-bit "
5667 TARGETFLAGS="-m64"
5671 arm*)
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5673 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5674 if ${wine_cv_thumb+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 int ac_test(int i) { return i; }
5681 main ()
5683 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_link "$LINENO"; then :
5689 wine_cv_thumb=yes
5690 else
5691 wine_cv_thumb=no
5693 rm -f core conftest.err conftest.$ac_objext \
5694 conftest$ac_exeext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5697 $as_echo "$wine_cv_thumb" >&6; }
5698 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5699 case $with_float_abi in
5700 soft|softfp|hard)
5701 float_abi=$with_float_abi ;;
5703 case $host_os in
5704 *eabihf)
5705 float_abi=hard ;;
5707 float_abi=softfp
5708 saved_CFLAGS=$CFLAGS
5709 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5711 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5712 if ${wine_cv_float_abi+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5719 main ()
5721 asm("vmrs r2,fpscr");
5723 return 0;
5725 _ACEOF
5726 if ac_fn_c_try_link "$LINENO"; then :
5727 wine_cv_float_abi=yes
5728 else
5729 wine_cv_float_abi=no
5731 rm -f core conftest.err conftest.$ac_objext \
5732 conftest$ac_exeext conftest.$ac_ext
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5735 $as_echo "$wine_cv_float_abi" >&6; }
5736 if test $wine_cv_float_abi = no
5737 then
5738 float_abi=soft
5739 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5741 CFLAGS=$saved_CFLAGS
5742 esac
5744 esac
5745 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5746 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5749 aarch64*)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5751 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5752 if ${wine_cv_builtin_ms_va_list+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5757 #include <stdarg.h>
5759 main ()
5761 void func(__builtin_ms_va_list *args);
5763 return 0;
5765 _ACEOF
5766 if ac_fn_c_try_compile "$LINENO"; then :
5767 wine_cv_builtin_ms_va_list=yes
5768 else
5769 wine_cv_builtin_ms_va_list=no
5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5774 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5775 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5777 i[3456789]86*)
5778 enable_win16=${enable_win16:-yes}
5779 with_unwind=${with_unwind:-no}
5781 esac
5783 enable_win16=${enable_win16:-no}
5784 enable_win64=${enable_win64:-no}
5786 enable_winetest=${enable_winetest:-$enable_tests}
5788 if test "x$enable_win64" = "xyes"
5789 then
5790 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5791 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5792 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5796 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5797 if ${wine_cv_toolsdir+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 wine_cv_toolsdir="$with_wine_tools"
5801 if test -z "$with_wine_tools"; then
5802 if test "$cross_compiling" = "yes"; then
5803 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5804 elif test -n "$with_wine64"; then
5805 wine_cv_toolsdir="$with_wine64"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5810 $as_echo "$wine_cv_toolsdir" >&6; }
5811 if test -z "$wine_cv_toolsdir"; then
5812 wine_makedep=tools/makedep
5813 TOOLSDIR="\$(top_builddir)"
5815 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5816 wine_makedep=$wine_cv_toolsdir/tools/makedep
5817 case "$wine_cv_toolsdir" in
5818 /*) TOOLSDIR=$wine_cv_toolsdir
5820 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5822 esac
5823 enable_tools=${enable_tools:-no}
5824 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5825 else
5826 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5828 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5829 then
5830 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5834 for ac_prog in flex
5836 # Extract the first word of "$ac_prog", so it can be a program name with args.
5837 set dummy $ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_FLEX+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$FLEX"; then
5844 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_FLEX="$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 FLEX=$ac_cv_prog_FLEX
5864 if test -n "$FLEX"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5866 $as_echo "$FLEX" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$FLEX" && break
5874 done
5875 test -n "$FLEX" || FLEX="none"
5877 if test "$FLEX" = "none"
5878 then
5879 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5882 $as_echo_n "checking whether flex is recent enough... " >&6; }
5883 if ${wine_cv_recent_flex+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 cat >conftest.l <<EOF
5887 %top{
5888 #include "prediluvian.h"
5892 if $FLEX -t conftest.l >/dev/null 2>&5
5893 then
5894 wine_cv_recent_flex=yes
5895 else
5896 wine_cv_recent_flex=no
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5900 $as_echo "$wine_cv_recent_flex" >&6; }
5901 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
5903 for ac_prog in bison
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_BISON+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$BISON"; then
5913 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_BISON="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 BISON=$ac_cv_prog_BISON
5933 if test -n "$BISON"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5935 $as_echo "$BISON" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$BISON" && break
5943 done
5944 test -n "$BISON" || BISON="none"
5946 if test "$BISON" = "none"
5947 then
5948 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5951 $as_echo_n "checking whether bison is recent enough... " >&6; }
5952 if ${wine_cv_recent_bison+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 cat >conftest.y <<EOF
5956 %define parse.error verbose
5958 empty: ;
5960 if $BISON conftest.y >/dev/null 2>&5
5961 then
5962 wine_cv_recent_bison=yes
5963 else
5964 wine_cv_recent_bison=no
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5968 $as_echo "$wine_cv_recent_bison" >&6; }
5969 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
5971 if test -n "$ac_tool_prefix"; then
5972 for ac_prog in ar gar
5974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_AR+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$AR"; then
5982 ac_cv_prog_AR="$AR" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 AR=$ac_cv_prog_AR
6002 if test -n "$AR"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6004 $as_echo "$AR" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$AR" && break
6012 done
6014 if test -z "$AR"; then
6015 ac_ct_AR=$AR
6016 for ac_prog in ar gar
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$ac_ct_AR"; then
6026 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_ac_ct_AR="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6046 if test -n "$ac_ct_AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6048 $as_echo "$ac_ct_AR" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$ac_ct_AR" && break
6056 done
6058 if test "x$ac_ct_AR" = x; then
6059 AR="ar"
6060 else
6061 case $cross_compiling:$ac_tool_warned in
6062 yes:)
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned=yes ;;
6066 esac
6067 AR=$ac_ct_AR
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}strip; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_STRIP+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$STRIP"; then
6080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 STRIP=$ac_cv_prog_STRIP
6100 if test -n "$STRIP"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6102 $as_echo "$STRIP" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 if test -z "$ac_cv_prog_STRIP"; then
6111 ac_ct_STRIP=$STRIP
6112 # Extract the first word of "strip", so it can be a program name with args.
6113 set dummy strip; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_STRIP"; then
6120 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_STRIP="strip"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6140 if test -n "$ac_ct_STRIP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6142 $as_echo "$ac_ct_STRIP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6148 if test "x$ac_ct_STRIP" = x; then
6149 STRIP="strip"
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 STRIP=$ac_ct_STRIP
6159 else
6160 STRIP="$ac_cv_prog_STRIP"
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_RANLIB+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$RANLIB"; then
6172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 RANLIB=$ac_cv_prog_RANLIB
6192 if test -n "$RANLIB"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6194 $as_echo "$RANLIB" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6202 if test -z "$ac_cv_prog_RANLIB"; then
6203 ac_ct_RANLIB=$RANLIB
6204 # Extract the first word of "ranlib", so it can be a program name with args.
6205 set dummy ranlib; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$ac_ct_RANLIB"; then
6212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_ac_ct_RANLIB="ranlib"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6232 if test -n "$ac_ct_RANLIB"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6234 $as_echo "$ac_ct_RANLIB" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6240 if test "x$ac_ct_RANLIB" = x; then
6241 RANLIB=":"
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 RANLIB=$ac_ct_RANLIB
6251 else
6252 RANLIB="$ac_cv_prog_RANLIB"
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6256 $as_echo_n "checking whether ln -s works... " >&6; }
6257 LN_S=$as_ln_s
6258 if test "$LN_S" = "ln -s"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6260 $as_echo "yes" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6263 $as_echo "no, using $LN_S" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6267 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6268 if ${ac_cv_path_GREP+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 if test -z "$GREP"; then
6272 ac_path_GREP_found=false
6273 # Loop through the user's path and test for each of PROGNAME-LIST
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6277 IFS=$as_save_IFS
6278 test -z "$as_dir" && as_dir=.
6279 for ac_prog in grep ggrep; do
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6282 as_fn_executable_p "$ac_path_GREP" || continue
6283 # Check for GNU ac_path_GREP and select it if it is found.
6284 # Check for GNU $ac_path_GREP
6285 case `"$ac_path_GREP" --version 2>&1` in
6286 *GNU*)
6287 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6289 ac_count=0
6290 $as_echo_n 0123456789 >"conftest.in"
6291 while :
6293 cat "conftest.in" "conftest.in" >"conftest.tmp"
6294 mv "conftest.tmp" "conftest.in"
6295 cp "conftest.in" "conftest.nl"
6296 $as_echo 'GREP' >> "conftest.nl"
6297 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6298 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6299 as_fn_arith $ac_count + 1 && ac_count=$as_val
6300 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6301 # Best one so far, save it but keep looking for a better one
6302 ac_cv_path_GREP="$ac_path_GREP"
6303 ac_path_GREP_max=$ac_count
6305 # 10*(2^10) chars as input seems more than enough
6306 test $ac_count -gt 10 && break
6307 done
6308 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6309 esac
6311 $ac_path_GREP_found && break 3
6312 done
6313 done
6314 done
6315 IFS=$as_save_IFS
6316 if test -z "$ac_cv_path_GREP"; then
6317 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6319 else
6320 ac_cv_path_GREP=$GREP
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6325 $as_echo "$ac_cv_path_GREP" >&6; }
6326 GREP="$ac_cv_path_GREP"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6330 $as_echo_n "checking for egrep... " >&6; }
6331 if ${ac_cv_path_EGREP+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6335 then ac_cv_path_EGREP="$GREP -E"
6336 else
6337 if test -z "$EGREP"; then
6338 ac_path_EGREP_found=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_prog in egrep; do
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6348 as_fn_executable_p "$ac_path_EGREP" || continue
6349 # Check for GNU ac_path_EGREP and select it if it is found.
6350 # Check for GNU $ac_path_EGREP
6351 case `"$ac_path_EGREP" --version 2>&1` in
6352 *GNU*)
6353 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6355 ac_count=0
6356 $as_echo_n 0123456789 >"conftest.in"
6357 while :
6359 cat "conftest.in" "conftest.in" >"conftest.tmp"
6360 mv "conftest.tmp" "conftest.in"
6361 cp "conftest.in" "conftest.nl"
6362 $as_echo 'EGREP' >> "conftest.nl"
6363 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6364 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6365 as_fn_arith $ac_count + 1 && ac_count=$as_val
6366 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_EGREP="$ac_path_EGREP"
6369 ac_path_EGREP_max=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6373 done
6374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 esac
6377 $ac_path_EGREP_found && break 3
6378 done
6379 done
6380 done
6381 IFS=$as_save_IFS
6382 if test -z "$ac_cv_path_EGREP"; then
6383 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6385 else
6386 ac_cv_path_EGREP=$EGREP
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6392 $as_echo "$ac_cv_path_EGREP" >&6; }
6393 EGREP="$ac_cv_path_EGREP"
6396 # Extract the first word of "ldconfig", so it can be a program name with args.
6397 set dummy ldconfig; ac_word=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_path_LDCONFIG+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 case $LDCONFIG in
6404 [\\/]* | ?:[\\/]*)
6405 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in /sbin /usr/sbin $PATH
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 break 2
6419 done
6420 done
6421 IFS=$as_save_IFS
6423 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6425 esac
6427 LDCONFIG=$ac_cv_path_LDCONFIG
6428 if test -n "$LDCONFIG"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6430 $as_echo "$LDCONFIG" >&6; }
6431 else
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6437 for ac_prog in msgfmt
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy $ac_prog; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_MSGFMT+:} false; then :
6444 $as_echo_n "(cached) " >&6
6445 else
6446 if test -n "$MSGFMT"; then
6447 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6448 else
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH
6452 IFS=$as_save_IFS
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_MSGFMT="$ac_prog"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 break 2
6460 done
6461 done
6462 IFS=$as_save_IFS
6466 MSGFMT=$ac_cv_prog_MSGFMT
6467 if test -n "$MSGFMT"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6469 $as_echo "$MSGFMT" >&6; }
6470 else
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6476 test -n "$MSGFMT" && break
6477 done
6478 test -n "$MSGFMT" || MSGFMT="false"
6480 if ${ac_tool_prefix+:} false; then :
6481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if test -n "$PKG_CONFIG"; then
6489 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6494 IFS=$as_save_IFS
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6502 done
6503 done
6504 IFS=$as_save_IFS
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6509 if test -n "$PKG_CONFIG"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6511 $as_echo "$PKG_CONFIG" >&6; }
6512 else
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6519 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6520 if test "x$cross_compiling" = xyes; then :
6522 else
6523 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6524 # Extract the first word of "pkg-config", so it can be a program name with args.
6525 set dummy pkg-config; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 if test -n "$PKG_CONFIG"; then
6532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6537 IFS=$as_save_IFS
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_PKG_CONFIG="pkg-config"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 break 2
6545 done
6546 done
6547 IFS=$as_save_IFS
6551 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test -n "$PKG_CONFIG"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6554 $as_echo "$PKG_CONFIG" >&6; }
6555 else
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6562 else
6563 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6566 if test "x$enable_maintainer_mode" != "xyes"
6567 then
6568 FONTFORGE=""
6569 RSVG=""
6570 CONVERT=""
6571 ICOTOOL=""
6572 else
6573 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6574 for ac_prog in fontforge
6576 # Extract the first word of "$ac_prog", so it can be a program name with args.
6577 set dummy $ac_prog; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_FONTFORGE+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$FONTFORGE"; then
6584 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_FONTFORGE="$ac_prog"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 FONTFORGE=$ac_cv_prog_FONTFORGE
6604 if test -n "$FONTFORGE"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6606 $as_echo "$FONTFORGE" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6613 test -n "$FONTFORGE" && break
6614 done
6615 test -n "$FONTFORGE" || FONTFORGE="false"
6617 for ac_prog in rsvg-convert rsvg
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_RSVG+:} false; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$RSVG"; then
6627 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_RSVG="$ac_prog"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 RSVG=$ac_cv_prog_RSVG
6647 if test -n "$RSVG"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6649 $as_echo "$RSVG" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6656 test -n "$RSVG" && break
6657 done
6658 test -n "$RSVG" || RSVG="false"
6660 for ac_prog in convert
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_CONVERT+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 if test -n "$CONVERT"; then
6670 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_CONVERT="$ac_prog"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 CONVERT=$ac_cv_prog_CONVERT
6690 if test -n "$CONVERT"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6692 $as_echo "$CONVERT" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6699 test -n "$CONVERT" && break
6700 done
6701 test -n "$CONVERT" || CONVERT="false"
6703 for ac_prog in icotool
6705 # Extract the first word of "$ac_prog", so it can be a program name with args.
6706 set dummy $ac_prog; ac_word=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_prog_ICOTOOL+:} false; then :
6710 $as_echo_n "(cached) " >&6
6711 else
6712 if test -n "$ICOTOOL"; then
6713 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6718 IFS=$as_save_IFS
6719 test -z "$as_dir" && as_dir=.
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_ICOTOOL="$ac_prog"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 IFS=$as_save_IFS
6732 ICOTOOL=$ac_cv_prog_ICOTOOL
6733 if test -n "$ICOTOOL"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6735 $as_echo "$ICOTOOL" >&6; }
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6742 test -n "$ICOTOOL" && break
6743 done
6744 test -n "$ICOTOOL" || ICOTOOL="false"
6746 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6747 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6749 if test "$CONVERT" = false
6750 then
6751 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6754 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6755 convert_version=`convert --version | head -n1`
6756 if test "x$convert_version" != "x"
6757 then
6758 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6759 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6760 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6761 then
6762 CONVERT=false
6765 if test "$CONVERT" = false
6766 then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6768 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6769 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6770 else
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6772 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6776 if test "$ICOTOOL" = false
6777 then
6778 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6781 $as_echo_n "checking for recent enough icotool... " >&6; }
6782 icotool_version=`icotool --version | head -n1`
6783 if test "x$icotool_version" != "x"
6784 then
6785 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6786 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6787 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6788 then
6789 ICOTOOL=false
6790 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6793 if test "$ICOTOOL" = false
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6796 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6797 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6800 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6804 with_gettext=yes
6805 with_gettextpo=yes
6807 enable_werror=yes
6810 test "x$with_gettext" != xno || MSGFMT=false
6811 if test "$MSGFMT" != "false"
6812 then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6814 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6815 if ${wine_cv_msgfmt_contexts+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 cat >conftest.po <<EOF
6819 # comment
6820 msgctxt "ctxt"
6821 msgid "id"
6822 msgstr "str"
6824 if $MSGFMT -o /dev/null conftest.po 2>&5
6825 then
6826 wine_cv_msgfmt_contexts=yes
6827 else
6828 wine_cv_msgfmt_contexts=no
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6832 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6833 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6835 if test "$MSGFMT" = false; then :
6836 case "x$with_gettext" in
6837 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6838 xno) ;;
6839 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6840 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6841 esac
6842 enable_po=${enable_po:-no}
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6847 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6848 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6849 $as_echo_n "(cached) " >&6
6850 else
6851 ac_check_lib_save_LIBS=$LIBS
6852 LIBS="-li386 $LIBS"
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6856 /* Override any GCC internal prototype to avoid an error.
6857 Use char because int might match the return type of a GCC
6858 builtin and then its argument prototype would still apply. */
6859 #ifdef __cplusplus
6860 extern "C"
6861 #endif
6862 char i386_set_ldt ();
6864 main ()
6866 return i386_set_ldt ();
6868 return 0;
6870 _ACEOF
6871 if ac_fn_c_try_link "$LINENO"; then :
6872 ac_cv_lib_i386_i386_set_ldt=yes
6873 else
6874 ac_cv_lib_i386_i386_set_ldt=no
6876 rm -f core conftest.err conftest.$ac_objext \
6877 conftest$ac_exeext conftest.$ac_ext
6878 LIBS=$ac_check_lib_save_LIBS
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6881 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6882 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6883 I386_LIBS="-li386"
6888 OPENGL_LIBS=""
6892 # Check whether --enable-largefile was given.
6893 if test "${enable_largefile+set}" = set; then :
6894 enableval=$enable_largefile;
6897 if test "$enable_largefile" != no; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6900 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6901 if ${ac_cv_sys_largefile_CC+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 ac_cv_sys_largefile_CC=no
6905 if test "$GCC" != yes; then
6906 ac_save_CC=$CC
6907 while :; do
6908 # IRIX 6.2 and later do not support large files by default,
6909 # so use the C compiler's -n32 option if that helps.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <sys/types.h>
6913 /* Check that off_t can represent 2**63 - 1 correctly.
6914 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6915 since some C++ compilers masquerading as C compilers
6916 incorrectly reject 9223372036854775807. */
6917 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6918 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6919 && LARGE_OFF_T % 2147483647 == 1)
6920 ? 1 : -1];
6922 main ()
6926 return 0;
6928 _ACEOF
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 break
6932 rm -f core conftest.err conftest.$ac_objext
6933 CC="$CC -n32"
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_sys_largefile_CC=' -n32'; break
6937 rm -f core conftest.err conftest.$ac_objext
6938 break
6939 done
6940 CC=$ac_save_CC
6941 rm -f conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6945 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6946 if test "$ac_cv_sys_largefile_CC" != no; then
6947 CC=$CC$ac_cv_sys_largefile_CC
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6951 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6952 if ${ac_cv_sys_file_offset_bits+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 while :; do
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6959 /* Check that off_t can represent 2**63 - 1 correctly.
6960 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6961 since some C++ compilers masquerading as C compilers
6962 incorrectly reject 9223372036854775807. */
6963 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6964 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6965 && LARGE_OFF_T % 2147483647 == 1)
6966 ? 1 : -1];
6968 main ()
6972 return 0;
6974 _ACEOF
6975 if ac_fn_c_try_compile "$LINENO"; then :
6976 ac_cv_sys_file_offset_bits=no; break
6978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #define _FILE_OFFSET_BITS 64
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=64; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 ac_cv_sys_file_offset_bits=unknown
7004 break
7005 done
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7008 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7009 case $ac_cv_sys_file_offset_bits in #(
7010 no | unknown) ;;
7012 cat >>confdefs.h <<_ACEOF
7013 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7014 _ACEOF
7016 esac
7017 rm -rf conftest*
7018 if test $ac_cv_sys_file_offset_bits = unknown; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7020 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7021 if ${ac_cv_sys_large_files+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 while :; do
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 /* Check that off_t can represent 2**63 - 1 correctly.
7029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7030 since some C++ compilers masquerading as C compilers
7031 incorrectly reject 9223372036854775807. */
7032 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7034 && LARGE_OFF_T % 2147483647 == 1)
7035 ? 1 : -1];
7037 main ()
7041 return 0;
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_large_files=no; break
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #define _LARGE_FILES 1
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=1; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 ac_cv_sys_large_files=unknown
7073 break
7074 done
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7077 $as_echo "$ac_cv_sys_large_files" >&6; }
7078 case $ac_cv_sys_large_files in #(
7079 no | unknown) ;;
7081 cat >>confdefs.h <<_ACEOF
7082 #define _LARGE_FILES $ac_cv_sys_large_files
7083 _ACEOF
7085 esac
7086 rm -rf conftest*
7093 ac_ext=c
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7102 CPP=
7104 if test -z "$CPP"; then
7105 if ${ac_cv_prog_CPP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7111 ac_preproc_ok=false
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #ifdef __STDC__
7123 # include <limits.h>
7124 #else
7125 # include <assert.h>
7126 #endif
7127 Syntax error
7128 _ACEOF
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7131 else
7132 # Broken: fails on valid input.
7133 continue
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7142 _ACEOF
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7145 continue
7146 else
7147 # Passes both tests.
7148 ac_preproc_ok=:
7149 break
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 done
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7157 break
7160 done
7161 ac_cv_prog_CPP=$CPP
7164 CPP=$ac_cv_prog_CPP
7165 else
7166 ac_cv_prog_CPP=$CPP
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7170 ac_preproc_ok=false
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #ifdef __STDC__
7182 # include <limits.h>
7183 #else
7184 # include <assert.h>
7185 #endif
7186 Syntax error
7187 _ACEOF
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7190 else
7191 # Broken: fails on valid input.
7192 continue
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7204 continue
7205 else
7206 # Passes both tests.
7207 ac_preproc_ok=:
7208 break
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 done
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7217 else
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5; }
7224 ac_ext=c
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if ${ac_cv_header_stdc+:} false; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <stdlib.h>
7239 #include <stdarg.h>
7240 #include <string.h>
7241 #include <float.h>
7244 main ()
7248 return 0;
7250 _ACEOF
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <string.h>
7264 _ACEOF
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f conftest*
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <stdlib.h>
7281 _ACEOF
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7285 else
7286 ac_cv_header_stdc=no
7288 rm -f conftest*
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7296 else
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ctype.h>
7300 #include <stdlib.h>
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7304 #else
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7310 #endif
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7314 main ()
7316 int i;
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7320 return 2;
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_run "$LINENO"; then :
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 _ACEOF
7357 done
7360 for ac_header in \
7361 AL/al.h \
7362 ApplicationServices/ApplicationServices.h \
7363 AudioToolbox/AudioConverter.h \
7364 AudioUnit/AudioUnit.h \
7365 AudioUnit/AudioComponent.h \
7366 CL/cl.h \
7367 Carbon/Carbon.h \
7368 CommonCrypto/CommonCryptor.h \
7369 CoreAudio/CoreAudio.h \
7370 CoreServices/CoreServices.h \
7371 DiskArbitration/DiskArbitration.h \
7372 EGL/egl.h \
7373 IOKit/IOKitLib.h \
7374 IOKit/hid/IOHIDLib.h \
7375 OpenAL/al.h \
7376 OpenCL/opencl.h \
7377 QuickTime/ImageCompression.h \
7378 Security/Security.h \
7379 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7380 SystemConfiguration/SCNetworkConfiguration.h \
7381 alias.h \
7382 arpa/inet.h \
7383 arpa/nameser.h \
7384 asm/types.h \
7385 asm/user.h \
7386 curses.h \
7387 dirent.h \
7388 dlfcn.h \
7389 elf.h \
7390 float.h \
7391 fnmatch.h \
7392 getopt.h \
7393 gettext-po.h \
7394 grp.h \
7395 gsm.h \
7396 gsm/gsm.h \
7397 ieeefp.h \
7398 inet/mib2.h \
7399 kstat.h \
7400 libproc.h \
7401 link.h \
7402 linux/cdrom.h \
7403 linux/compiler.h \
7404 linux/filter.h \
7405 linux/hdreg.h \
7406 linux/hidraw.h \
7407 linux/input.h \
7408 linux/ioctl.h \
7409 linux/joystick.h \
7410 linux/major.h \
7411 linux/param.h \
7412 linux/serial.h \
7413 linux/types.h \
7414 linux/ucdrom.h \
7415 lwp.h \
7416 mach-o/nlist.h \
7417 mach-o/loader.h \
7418 mach/mach.h \
7419 mach/machine.h \
7420 machine/cpu.h \
7421 machine/limits.h \
7422 machine/sysarch.h \
7423 mntent.h \
7424 ncurses.h \
7425 netdb.h \
7426 netinet/in.h \
7427 netinet/in_systm.h \
7428 netinet/tcp.h \
7429 netinet/tcp_fsm.h \
7430 pcap/pcap.h \
7431 poll.h \
7432 port.h \
7433 pthread.h \
7434 pwd.h \
7435 sasl/sasl.h \
7436 sched.h \
7437 scsi/scsi.h \
7438 scsi/scsi_ioctl.h \
7439 scsi/sg.h \
7440 stdbool.h \
7441 stdint.h \
7442 stropts.h \
7443 sys/attr.h \
7444 sys/auxv.h \
7445 sys/cdio.h \
7446 sys/epoll.h \
7447 sys/event.h \
7448 sys/filio.h \
7449 sys/ioctl.h \
7450 sys/ipc.h \
7451 sys/limits.h \
7452 sys/link.h \
7453 sys/mman.h \
7454 sys/modem.h \
7455 sys/msg.h \
7456 sys/mtio.h \
7457 sys/param.h \
7458 sys/poll.h \
7459 sys/prctl.h \
7460 sys/protosw.h \
7461 sys/ptrace.h \
7462 sys/queue.h \
7463 sys/resource.h \
7464 sys/scsiio.h \
7465 sys/shm.h \
7466 sys/signal.h \
7467 sys/socket.h \
7468 sys/socketvar.h \
7469 sys/sockio.h \
7470 sys/statvfs.h \
7471 sys/strtio.h \
7472 sys/syscall.h \
7473 sys/sysinfo.h \
7474 sys/tihdr.h \
7475 sys/time.h \
7476 sys/timeout.h \
7477 sys/times.h \
7478 sys/uio.h \
7479 sys/user.h \
7480 sys/utsname.h \
7481 sys/vnode.h \
7482 sys/wait.h \
7483 syscall.h \
7484 termios.h \
7485 unistd.h \
7486 utime.h \
7487 valgrind/memcheck.h \
7488 valgrind/valgrind.h
7490 do :
7491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7502 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7503 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7505 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7510 if test $ac_cv_header_sys_mkdev_h = no; then
7511 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7512 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7514 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7521 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7522 if ${ac_cv_header_stat_broken+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <sys/stat.h>
7530 #if defined S_ISBLK && defined S_IFDIR
7531 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7532 #endif
7534 #if defined S_ISBLK && defined S_IFCHR
7535 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7536 #endif
7538 #if defined S_ISLNK && defined S_IFREG
7539 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7540 #endif
7542 #if defined S_ISSOCK && defined S_IFREG
7543 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7544 #endif
7546 _ACEOF
7547 if ac_fn_c_try_compile "$LINENO"; then :
7548 ac_cv_header_stat_broken=no
7549 else
7550 ac_cv_header_stat_broken=yes
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7555 $as_echo "$ac_cv_header_stat_broken" >&6; }
7556 if test $ac_cv_header_stat_broken = yes; then
7558 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7564 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7565 do :
7566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7568 #ifdef HAVE_SYS_PARAM_H
7569 # include <sys/param.h>
7570 #endif
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7582 saved_sysctl_h_CFLAGS=$CFLAGS
7583 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7584 for ac_header in sys/sysctl.h
7585 do :
7586 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7587 #ifdef HAVE_SYS_PARAM_H
7588 # include <sys/param.h>
7589 #endif
7591 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define HAVE_SYS_SYSCTL_H 1
7594 _ACEOF
7598 done
7600 CFLAGS=$saved_sysctl_h_CFLAGS
7602 for ac_header in \
7603 netinet/ip.h \
7604 net/if.h \
7605 net/if_arp.h \
7606 net/if_dl.h \
7607 net/if_types.h \
7608 net/route.h \
7609 netinet/if_ether.h \
7610 netinet/if_inarp.h \
7611 netinet/in_pcb.h \
7612 netinet/ip_icmp.h \
7613 netinet/ip_var.h \
7614 netinet/udp.h \
7615 netipx/ipx.h \
7616 sys/un.h \
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
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_NET_ROUTE_H
7628 # include <net/route.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_NET_IF_H
7637 # include <net/if.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_H
7640 # include <netinet/ip.h>
7641 #endif
7643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7646 _ACEOF
7650 done
7653 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7654 do :
7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7657 #ifdef HAVE_ALIAS_H
7658 # include <alias.h>
7659 #endif
7660 #ifdef HAVE_SYS_SOCKET_H
7661 # include <sys/socket.h>
7662 #endif
7663 #ifdef HAVE_SYS_SOCKETVAR_H
7664 # include <sys/socketvar.h>
7665 #endif
7666 #ifdef HAVE_SYS_TIMEOUT_H
7667 # include <sys/timeout.h>
7668 #endif
7669 #ifdef HAVE_NETINET_IN_H
7670 # include <netinet/in.h>
7671 #endif
7672 #ifdef HAVE_NETINET_IN_SYSTM_H
7673 # include <netinet/in_systm.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IP_H
7676 # include <netinet/ip.h>
7677 #endif
7678 #ifdef HAVE_NETINET_IP_VAR_H
7679 # include <netinet/ip_var.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IP_ICMP_H
7682 # include <netinet/ip_icmp.h>
7683 #endif
7684 #ifdef HAVE_NETINET_UDP_H
7685 # include <netinet/udp.h>
7686 #endif
7687 #ifdef HAVE_NETINET_TCP_H
7688 # include <netinet/tcp.h>
7689 #endif
7690 #ifdef HAVE_NETINET_TCP_TIMER_H
7691 #include <netinet/tcp_timer.h>
7692 #endif
7694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 _ACEOF
7701 done
7704 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7705 do :
7706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7708 #ifdef HAVE_ASM_TYPES_H
7709 # include <asm/types.h>
7710 #endif
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7713 #endif
7714 #ifdef HAVE_LINUX_TYPES_H
7715 # include <linux/types.h>
7716 #endif
7718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7728 for ac_header in resolv.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7731 #ifdef HAVE_SYS_SOCKET_H
7732 # include <sys/socket.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IN_H
7735 # include <netinet/in.h>
7736 #endif
7737 #ifdef HAVE_ARPA_NAMESER_H
7738 # include <arpa/nameser.h>
7739 #endif
7741 if test "x$ac_cv_header_resolv_h" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_RESOLV_H 1
7744 _ACEOF
7748 done
7751 for ac_header in ifaddrs.h
7752 do :
7753 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7755 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_IFADDRS_H 1
7758 _ACEOF
7762 done
7765 for ac_header in sys/ucontext.h
7766 do :
7767 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7769 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_SYS_UCONTEXT_H 1
7772 _ACEOF
7776 done
7779 for ac_header in sys/thr.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7782 #ifdef HAVE_SYS_UCONTEXT_H
7783 #include <sys/ucontext.h>
7784 #endif
7786 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7787 cat >>confdefs.h <<_ACEOF
7788 #define HAVE_SYS_THR_H 1
7789 _ACEOF
7793 done
7796 for ac_header in pthread_np.h
7797 do :
7798 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7799 #include <pthread.h>
7800 #endif
7802 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_PTHREAD_NP_H 1
7805 _ACEOF
7809 done
7812 for ac_header in linux/videodev2.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7815 #include <sys/time.h>
7816 #endif
7817 #include <sys/types.h>
7818 #ifdef HAVE_ASM_TYPES_H
7819 #include <asm/types.h>
7820 #endif
7822 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_LINUX_VIDEODEV2_H 1
7825 _ACEOF
7829 done
7832 for ac_header in libprocstat.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7835 #include <sys/param.h>
7836 #endif
7837 #ifdef HAVE_SYS_QUEUE_H
7838 #include <sys/queue.h>
7839 #endif
7840 #ifdef HAVE_SYS_SOCKET_H
7841 #include <sys/socket.h>
7842 #endif
7844 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_LIBPROCSTAT_H 1
7847 _ACEOF
7851 done
7855 DLLFLAGS="-D_REENTRANT"
7857 LDRPATH_INSTALL=""
7859 LDRPATH_LOCAL=""
7861 LDDLLFLAGS=""
7863 LDEXECFLAGS=""
7865 TOP_INSTALL_LIB=""
7867 TOP_INSTALL_DEV=""
7869 WINELOADER_LDFLAGS=""
7871 WINEPRELOADER_LDFLAGS=""
7873 LIBEXT="so"
7874 DLLEXT=".so"
7875 # Extract the first word of "ldd", so it can be a program name with args.
7876 set dummy ldd; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_path_LDD+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 case $LDD in
7883 [\\/]* | ?:[\\/]*)
7884 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 as_dummy="/sbin:/usr/sbin:$PATH"
7889 for as_dir in $as_dummy
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7903 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7905 esac
7907 LDD=$ac_cv_path_LDD
7908 if test -n "$LDD"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7910 $as_echo "$LDD" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7917 if test -n "$ac_tool_prefix"; then
7918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7919 set dummy ${ac_tool_prefix}otool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_OTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 if test -n "$OTOOL"; then
7926 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7927 else
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7945 OTOOL=$ac_cv_prog_OTOOL
7946 if test -n "$OTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7948 $as_echo "$OTOOL" >&6; }
7949 else
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7956 if test -z "$ac_cv_prog_OTOOL"; then
7957 ac_ct_OTOOL=$OTOOL
7958 # Extract the first word of "otool", so it can be a program name with args.
7959 set dummy otool; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$ac_ct_OTOOL"; then
7966 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_ac_ct_OTOOL="otool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7986 if test -n "$ac_ct_OTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7988 $as_echo "$ac_ct_OTOOL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7994 if test "x$ac_ct_OTOOL" = x; then
7995 OTOOL="otool"
7996 else
7997 case $cross_compiling:$ac_tool_warned in
7998 yes:)
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8001 ac_tool_warned=yes ;;
8002 esac
8003 OTOOL=$ac_ct_OTOOL
8005 else
8006 OTOOL="$ac_cv_prog_OTOOL"
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8011 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_READELF+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$READELF"; then
8018 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 READELF=$ac_cv_prog_READELF
8038 if test -n "$READELF"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8040 $as_echo "$READELF" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_READELF"; then
8049 ac_ct_READELF=$READELF
8050 # Extract the first word of "readelf", so it can be a program name with args.
8051 set dummy readelf; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$ac_ct_READELF"; then
8058 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_READELF="readelf"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8078 if test -n "$ac_ct_READELF"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8080 $as_echo "$ac_ct_READELF" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_READELF" = x; then
8087 READELF="true"
8088 else
8089 case $cross_compiling:$ac_tool_warned in
8090 yes:)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 READELF=$ac_ct_READELF
8097 else
8098 READELF="$ac_cv_prog_READELF"
8101 wine_rules_file=conf$$rules.make
8102 rm -f $wine_rules_file
8103 SUBDIRS=""
8105 DISABLED_SUBDIRS=""
8107 CONFIGURE_TARGETS=""
8110 wine_fn_append_file ()
8112 as_fn_append $1 " \\$as_nl $2"
8115 wine_fn_append_rule ()
8117 $as_echo "$1" >>$wine_rules_file
8120 wine_fn_config_makefile ()
8122 wine_fn_append_file SUBDIRS $1
8123 if eval test \"x\$"$2"\" = x"no"; then :
8124 wine_fn_append_file DISABLED_SUBDIRS $1
8128 wine_fn_config_symlink ()
8130 ac_links=$@
8131 wine_fn_append_rule \
8132 "$ac_links:
8133 @./config.status \$@"
8134 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8137 wine_binary="wine"
8138 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8139 WINELOADER_PROGRAMS="$wine_binary"
8141 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8143 case $host_os in
8144 cygwin*|mingw32*)
8145 if test -n "$ac_tool_prefix"; then
8146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_DLLTOOL+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$DLLTOOL"; then
8154 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 DLLTOOL=$ac_cv_prog_DLLTOOL
8174 if test -n "$DLLTOOL"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8176 $as_echo "$DLLTOOL" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8184 if test -z "$ac_cv_prog_DLLTOOL"; then
8185 ac_ct_DLLTOOL=$DLLTOOL
8186 # Extract the first word of "dlltool", so it can be a program name with args.
8187 set dummy dlltool; ac_word=$2
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189 $as_echo_n "checking for $ac_word... " >&6; }
8190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 if test -n "$ac_ct_DLLTOOL"; then
8194 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8195 else
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 for as_dir in $PATH
8199 IFS=$as_save_IFS
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8203 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 break 2
8207 done
8208 done
8209 IFS=$as_save_IFS
8213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8214 if test -n "$ac_ct_DLLTOOL"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8216 $as_echo "$ac_ct_DLLTOOL" >&6; }
8217 else
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8222 if test "x$ac_ct_DLLTOOL" = x; then
8223 DLLTOOL="false"
8224 else
8225 case $cross_compiling:$ac_tool_warned in
8226 yes:)
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8229 ac_tool_warned=yes ;;
8230 esac
8231 DLLTOOL=$ac_ct_DLLTOOL
8233 else
8234 DLLTOOL="$ac_cv_prog_DLLTOOL"
8237 LIBEXT="dll"
8238 DLLEXT=""
8239 case $host_cpu in
8240 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8241 esac
8242 enable_iphlpapi=${enable_iphlpapi:-no}
8243 enable_kernel32=${enable_kernel32:-no}
8244 enable_ntdll=${enable_ntdll:-no}
8245 enable_ws2_32=${enable_ws2_32:-no}
8246 enable_loader=${enable_loader:-no}
8247 enable_server=${enable_server:-no}
8248 with_x=${with_x:-no}
8249 with_pthread=${with_pthread:-no}
8252 darwin*|macosx*)
8253 ac_ext=m
8254 ac_cpp='$OBJCPP $CPPFLAGS'
8255 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8256 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8257 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8259 ac_ext=m
8260 ac_cpp='$OBJCPP $CPPFLAGS'
8261 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8262 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8263 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8264 if test -n "$ac_tool_prefix"; then
8265 for ac_prog in gcc objcc objc cc CC
8267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270 $as_echo_n "checking for $ac_word... " >&6; }
8271 if ${ac_cv_prog_OBJC+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 if test -n "$OBJC"; then
8275 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8276 else
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 for as_dir in $PATH
8280 IFS=$as_save_IFS
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 break 2
8288 done
8289 done
8290 IFS=$as_save_IFS
8294 OBJC=$ac_cv_prog_OBJC
8295 if test -n "$OBJC"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8297 $as_echo "$OBJC" >&6; }
8298 else
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300 $as_echo "no" >&6; }
8304 test -n "$OBJC" && break
8305 done
8307 if test -z "$OBJC"; then
8308 ac_ct_OBJC=$OBJC
8309 for ac_prog in gcc objcc objc cc CC
8311 # Extract the first word of "$ac_prog", so it can be a program name with args.
8312 set dummy $ac_prog; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8314 $as_echo_n "checking for $ac_word... " >&6; }
8315 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 if test -n "$ac_ct_OBJC"; then
8319 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8320 else
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 for as_dir in $PATH
8324 IFS=$as_save_IFS
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8328 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 break 2
8332 done
8333 done
8334 IFS=$as_save_IFS
8338 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8339 if test -n "$ac_ct_OBJC"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8341 $as_echo "$ac_ct_OBJC" >&6; }
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8348 test -n "$ac_ct_OBJC" && break
8349 done
8351 if test "x$ac_ct_OBJC" = x; then
8352 OBJC="gcc"
8353 else
8354 case $cross_compiling:$ac_tool_warned in
8355 yes:)
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8358 ac_tool_warned=yes ;;
8359 esac
8360 OBJC=$ac_ct_OBJC
8364 # Provide some information about the compiler.
8365 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8366 set X $ac_compile
8367 ac_compiler=$2
8368 for ac_option in --version -v -V -qversion; do
8369 { { ac_try="$ac_compiler $ac_option >&5"
8370 case "(($ac_try" in
8371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8372 *) ac_try_echo=$ac_try;;
8373 esac
8374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8375 $as_echo "$ac_try_echo"; } >&5
8376 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8377 ac_status=$?
8378 if test -s conftest.err; then
8379 sed '10a\
8380 ... rest of stderr output deleted ...
8381 10q' conftest.err >conftest.er1
8382 cat conftest.er1 >&5
8384 rm -f conftest.er1 conftest.err
8385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8386 test $ac_status = 0; }
8387 done
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8390 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8391 if ${ac_cv_objc_compiler_gnu+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8398 main ()
8400 #ifndef __GNUC__
8401 choke me
8402 #endif
8405 return 0;
8407 _ACEOF
8408 if ac_fn_objc_try_compile "$LINENO"; then :
8409 ac_compiler_gnu=yes
8410 else
8411 ac_compiler_gnu=no
8413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8414 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8418 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8419 if test $ac_compiler_gnu = yes; then
8420 GOBJC=yes
8421 else
8422 GOBJC=
8424 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8425 ac_save_OBJCFLAGS=$OBJCFLAGS
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8427 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8428 if ${ac_cv_prog_objc_g+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_save_objc_werror_flag=$ac_objc_werror_flag
8432 ac_objc_werror_flag=yes
8433 ac_cv_prog_objc_g=no
8434 OBJCFLAGS="-g"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8439 main ()
8443 return 0;
8445 _ACEOF
8446 if ac_fn_objc_try_compile "$LINENO"; then :
8447 ac_cv_prog_objc_g=yes
8448 else
8449 OBJCFLAGS=""
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8454 main ()
8458 return 0;
8460 _ACEOF
8461 if ac_fn_objc_try_compile "$LINENO"; then :
8463 else
8464 ac_objc_werror_flag=$ac_save_objc_werror_flag
8465 OBJCFLAGS="-g"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8470 main ()
8474 return 0;
8476 _ACEOF
8477 if ac_fn_objc_try_compile "$LINENO"; then :
8478 ac_cv_prog_objc_g=yes
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8485 ac_objc_werror_flag=$ac_save_objc_werror_flag
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8488 $as_echo "$ac_cv_prog_objc_g" >&6; }
8489 if test "$ac_test_OBJCFLAGS" = set; then
8490 OBJCFLAGS=$ac_save_OBJCFLAGS
8491 elif test $ac_cv_prog_objc_g = yes; then
8492 if test "$GOBJC" = yes; then
8493 OBJCFLAGS="-g -O2"
8494 else
8495 OBJCFLAGS="-g"
8497 else
8498 if test "$GOBJC" = yes; then
8499 OBJCFLAGS="-O2"
8500 else
8501 OBJCFLAGS=
8504 ac_ext=m
8505 ac_cpp='$OBJCPP $CPPFLAGS'
8506 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8507 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8508 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8511 ac_ext=m
8512 ac_cpp='$OBJCPP $CPPFLAGS'
8513 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8514 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8515 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8517 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8518 if test -z "$OBJCPP"; then
8519 if ${ac_cv_prog_OBJCPP+:} false; then :
8520 $as_echo_n "(cached) " >&6
8521 else
8522 # Double quotes because OBJCPP needs to be expanded
8523 for OBJCPP in "$OBJC -E" "/lib/cpp"
8525 ac_preproc_ok=false
8526 for ac_objc_preproc_warn_flag in '' yes
8528 # Use a header file that comes with gcc, so configuring glibc
8529 # with a fresh cross-compiler works.
8530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8531 # <limits.h> exists even on freestanding compilers.
8532 # On the NeXT, cc -E runs the code through the compiler's parser,
8533 # not just through cpp. "Syntax error" is here to catch this case.
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 #ifdef __STDC__
8537 # include <limits.h>
8538 #else
8539 # include <assert.h>
8540 #endif
8541 Syntax error
8542 _ACEOF
8543 if ac_fn_objc_try_cpp "$LINENO"; then :
8545 else
8546 # Broken: fails on valid input.
8547 continue
8549 rm -f conftest.err conftest.i conftest.$ac_ext
8551 # OK, works on sane cases. Now check whether nonexistent headers
8552 # can be detected and how.
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 #include <ac_nonexistent.h>
8556 _ACEOF
8557 if ac_fn_objc_try_cpp "$LINENO"; then :
8558 # Broken: success on invalid input.
8559 continue
8560 else
8561 # Passes both tests.
8562 ac_preproc_ok=:
8563 break
8565 rm -f conftest.err conftest.i conftest.$ac_ext
8567 done
8568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8569 rm -f conftest.i conftest.err conftest.$ac_ext
8570 if $ac_preproc_ok; then :
8571 break
8574 done
8575 ac_cv_prog_OBJCPP=$OBJCPP
8578 OBJCPP=$ac_cv_prog_OBJCPP
8579 else
8580 ac_cv_prog_OBJCPP=$OBJCPP
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8583 $as_echo "$OBJCPP" >&6; }
8584 ac_preproc_ok=false
8585 for ac_objc_preproc_warn_flag in '' yes
8587 # Use a header file that comes with gcc, so configuring glibc
8588 # with a fresh cross-compiler works.
8589 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8590 # <limits.h> exists even on freestanding compilers.
8591 # On the NeXT, cc -E runs the code through the compiler's parser,
8592 # not just through cpp. "Syntax error" is here to catch this case.
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 #ifdef __STDC__
8596 # include <limits.h>
8597 #else
8598 # include <assert.h>
8599 #endif
8600 Syntax error
8601 _ACEOF
8602 if ac_fn_objc_try_cpp "$LINENO"; then :
8604 else
8605 # Broken: fails on valid input.
8606 continue
8608 rm -f conftest.err conftest.i conftest.$ac_ext
8610 # OK, works on sane cases. Now check whether nonexistent headers
8611 # can be detected and how.
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 #include <ac_nonexistent.h>
8615 _ACEOF
8616 if ac_fn_objc_try_cpp "$LINENO"; then :
8617 # Broken: success on invalid input.
8618 continue
8619 else
8620 # Passes both tests.
8621 ac_preproc_ok=:
8622 break
8624 rm -f conftest.err conftest.i conftest.$ac_ext
8626 done
8627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8628 rm -f conftest.i conftest.err conftest.$ac_ext
8629 if $ac_preproc_ok; then :
8631 else
8632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8634 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8635 See \`config.log' for more details" "$LINENO" 5; }
8638 ac_ext=m
8639 ac_cpp='$OBJCPP $CPPFLAGS'
8640 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8641 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8642 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8645 for ac_header in Metal/Metal.h
8646 do :
8647 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8648 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8649 cat >>confdefs.h <<_ACEOF
8650 #define HAVE_METAL_METAL_H 1
8651 _ACEOF
8655 done
8657 ac_ext=c
8658 ac_cpp='$CPP $CPPFLAGS'
8659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8663 LIBEXT="dylib"
8664 DLLFLAGS="$DLLFLAGS -fPIC"
8665 LDDLLFLAGS="-fPIC"
8666 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8667 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8668 COREFOUNDATION_LIBS="-framework CoreFoundation"
8670 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8672 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8674 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8676 CORESERVICES_LIBS="-framework CoreServices"
8678 APPKIT_LIBS="-framework AppKit"
8680 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8683 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8685 wine_can_build_preloader=yes
8686 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8688 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8689 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_cflags__Wl__no_new_main__e__main=yes
8700 else
8701 ac_cv_cflags__Wl__no_new_main__e__main=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8708 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8709 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8710 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8734 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8735 else
8736 { $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
8737 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8738 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 int main(int argc, char **argv) { return 0; }
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8749 else
8750 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $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
8757 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8758 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8759 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8760 else
8761 wine_can_build_preloader=no
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8766 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8767 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8778 else
8779 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8786 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8787 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8788 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8789 else
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8791 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8792 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8793 $as_echo_n "(cached) " >&6
8794 else
8795 ac_wine_try_cflags_saved=$CFLAGS
8796 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8799 int main(int argc, char **argv) { return 0; }
8800 _ACEOF
8801 if ac_fn_c_try_link "$LINENO"; then :
8802 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8803 else
8804 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8806 rm -f core conftest.err conftest.$ac_objext \
8807 conftest$ac_exeext conftest.$ac_ext
8808 CFLAGS=$ac_wine_try_cflags_saved
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8811 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8812 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8813 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8814 else
8815 wine_can_build_preloader=no
8819 if test "$wine_can_build_preloader" = "yes"
8820 then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8822 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8823 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8824 $as_echo_n "(cached) " >&6
8825 else
8826 ac_wine_try_cflags_saved=$CFLAGS
8827 CFLAGS="$CFLAGS -Wl,-no_pie"
8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8830 int main(int argc, char **argv) { return 0; }
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 ac_cv_cflags__Wl__no_pie=yes
8834 else
8835 ac_cv_cflags__Wl__no_pie=no
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 CFLAGS=$ac_wine_try_cflags_saved
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8842 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8843 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8844 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8846 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8847 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8848 else
8849 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8852 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8853 then
8854 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8857 if test "$ac_cv_header_Security_Security_h" = "yes"
8858 then
8859 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8861 ac_save_LIBS="$LIBS"
8862 LIBS="$LIBS $SECURITY_LIBS"
8863 for ac_func in SSLCopyPeerCertificates
8864 do :
8865 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8866 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8867 cat >>confdefs.h <<_ACEOF
8868 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8869 _ACEOF
8872 done
8874 LIBS="$ac_save_LIBS"
8876 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8877 then
8878 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8879 then
8880 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8882 else
8883 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8886 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8887 ac_save_LIBS="$LIBS"
8888 LIBS="$LIBS $COREAUDIO_LIBS"
8889 for ac_func in AUGraphAddNode
8890 do :
8891 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8892 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8893 cat >>confdefs.h <<_ACEOF
8894 #define HAVE_AUGRAPHADDNODE 1
8895 _ACEOF
8898 done
8900 LIBS="$ac_save_LIBS"
8902 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8903 then
8904 OPENAL_LIBS="-framework OpenAL"
8907 cat >>confdefs.h <<_ACEOF
8908 #define HAVE_OPENAL 1
8909 _ACEOF
8911 ac_cv_lib_openal=yes
8913 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8914 then
8915 OPENCL_LIBS="-framework OpenCL"
8917 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8919 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8920 then
8921 ac_save_LIBS="$LIBS"
8922 LIBS="$LIBS $IOKIT_LIBS"
8923 for ac_func in IOHIDManagerCreate
8924 do :
8925 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8926 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8927 cat >>confdefs.h <<_ACEOF
8928 #define HAVE_IOHIDMANAGERCREATE 1
8929 _ACEOF
8932 done
8934 LIBS="$ac_save_LIBS"
8936 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8937 then
8938 ac_save_LIBS="$LIBS"
8939 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8941 $as_echo_n "checking for the QuickTime framework... " >&6; }
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8944 #include <QuickTime/ImageCompression.h>
8946 main ()
8948 CodecManagerVersion(NULL);
8950 return 0;
8952 _ACEOF
8953 if ac_fn_c_try_link "$LINENO"; then :
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8955 $as_echo "yes" >&6; }
8956 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8958 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8959 else
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8961 $as_echo "no" >&6; }
8962 ac_cv_header_QuickTime_ImageCompression_h=no
8964 rm -f core conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8966 LIBS="$ac_save_LIBS"
8968 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8969 then
8970 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8972 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8973 then
8974 CARBON_LIBS="-framework Carbon"
8977 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8978 then
8979 METAL_LIBS="-framework Metal -framework QuartzCore"
8983 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8984 then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8986 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8987 ac_ext=m
8988 ac_cpp='$OBJCPP $CPPFLAGS'
8989 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8990 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8991 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8995 #include <Metal/Metal.h>
8997 main ()
8999 id<MTLDevice> device; device.registryID;
9001 return 0;
9003 _ACEOF
9004 if ac_fn_objc_try_compile "$LINENO"; then :
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9006 $as_echo "yes" >&6; }
9008 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9010 else
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9015 ac_ext=c
9016 ac_cpp='$CPP $CPPFLAGS'
9017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9023 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9024 then
9025 ac_save_LIBS="$LIBS"
9026 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9027 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9028 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9029 enable_winemac_drv=${enable_winemac_drv:-yes}
9032 LIBS="$ac_save_LIBS"
9035 if test "x$enable_win16" = "xyes"
9036 then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9038 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9039 if test "$cross_compiling" = yes; then :
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9041 $as_echo "cross-compiling, assuming yes" >&6; }
9042 else
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 asm(".text\n"
9046 "bad:\tnop;nop\n"
9047 "good:\tnop;nop\n\t"
9048 ".globl _testfunc\n"
9049 "_testfunc:\tcallw good");
9050 extern void testfunc();
9052 main ()
9054 unsigned short *p = (unsigned short *)testfunc;
9055 return p[0] != 0xe866 || p[1] != 0xfffa
9057 return 0;
9059 _ACEOF
9060 if ac_fn_c_try_run "$LINENO"; then :
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9062 $as_echo "yes" >&6; }
9063 else
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9065 $as_echo "no" >&6; }
9066 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
9068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9069 conftest.$ac_objext conftest.beam conftest.$ac_ext
9074 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9076 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9078 WINELOADER_DEPENDS="wine_info.plist"
9080 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9081 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9084 linux-android*)
9085 DLLFLAGS="$DLLFLAGS -fPIC"
9086 LDDLLFLAGS="-fPIC"
9087 LDEXECFLAGS="-Wl,-pie"
9088 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9090 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9091 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 ac_wine_try_cflags_saved=$CFLAGS
9095 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9098 int main(int argc, char **argv) { return 0; }
9099 _ACEOF
9100 if ac_fn_c_try_link "$LINENO"; then :
9101 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9102 else
9103 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9105 rm -f core conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 CFLAGS=$ac_wine_try_cflags_saved
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9110 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9111 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9112 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9114 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9115 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9117 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9118 if eval \${$as_ac_var+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 ac_wine_try_cflags_saved=$CFLAGS
9122 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9125 int main(int argc, char **argv) { return 0; }
9126 _ACEOF
9127 if ac_fn_c_try_link "$LINENO"; then :
9128 eval "$as_ac_var=yes"
9129 else
9130 eval "$as_ac_var=no"
9132 rm -f core conftest.err conftest.$ac_objext \
9133 conftest$ac_exeext conftest.$ac_ext
9134 CFLAGS=$ac_wine_try_cflags_saved
9136 eval ac_res=\$$as_ac_var
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9138 $as_echo "$ac_res" >&6; }
9139 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9140 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9141 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9142 else
9143 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9145 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9146 if eval \${$as_ac_var+:} false; then :
9147 $as_echo_n "(cached) " >&6
9148 else
9149 ac_wine_try_cflags_saved=$CFLAGS
9150 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9153 int main(int argc, char **argv) { return 0; }
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 eval "$as_ac_var=yes"
9157 else
9158 eval "$as_ac_var=no"
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 CFLAGS=$ac_wine_try_cflags_saved
9164 eval ac_res=\$$as_ac_var
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9166 $as_echo "$ac_res" >&6; }
9167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9168 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9169 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9173 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9174 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9175 $as_echo_n "(cached) " >&6
9176 else
9177 ac_wine_try_cflags_saved=$CFLAGS
9178 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9181 int main(int argc, char **argv) { return 0; }
9182 _ACEOF
9183 if ac_fn_c_try_link "$LINENO"; then :
9184 ac_cv_cflags__Wl___enable_new_dtags=yes
9185 else
9186 ac_cv_cflags__Wl___enable_new_dtags=no
9188 rm -f core conftest.err conftest.$ac_objext \
9189 conftest$ac_exeext conftest.$ac_ext
9190 CFLAGS=$ac_wine_try_cflags_saved
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9193 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9194 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9195 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9198 LIBWINE_SHAREDLIB="libwine.so"
9200 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9202 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9205 $as_echo_n "checking for -lEGL... " >&6; }
9206 if ${ac_cv_lib_soname_EGL+:} false; then :
9207 $as_echo_n "(cached) " >&6
9208 else
9209 ac_check_soname_save_LIBS=$LIBS
9210 LIBS="-lEGL $LIBS"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9214 /* Override any GCC internal prototype to avoid an error.
9215 Use char because int might match the return type of a GCC
9216 builtin and then its argument prototype would still apply. */
9217 #ifdef __cplusplus
9218 extern "C"
9219 #endif
9220 char eglGetProcAddress ();
9222 main ()
9224 return eglGetProcAddress ();
9226 return 0;
9228 _ACEOF
9229 if ac_fn_c_try_link "$LINENO"; then :
9230 case "$LIBEXT" in
9231 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9232 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'` ;;
9233 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9234 if ${ac_cv_lib_soname_EGL:+false} :; then :
9235 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9236 fi ;;
9237 esac
9238 else
9239 ac_cv_lib_soname_EGL=
9241 rm -f core conftest.err conftest.$ac_objext \
9242 conftest$ac_exeext conftest.$ac_ext
9243 LIBS=$ac_check_soname_save_LIBS
9245 if ${ac_cv_lib_soname_EGL:+false} :; then :
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9247 $as_echo "not found" >&6; }
9249 else
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9251 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9253 cat >>confdefs.h <<_ACEOF
9254 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9255 _ACEOF
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9260 $as_echo_n "checking for -lGLESv2... " >&6; }
9261 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9262 $as_echo_n "(cached) " >&6
9263 else
9264 ac_check_soname_save_LIBS=$LIBS
9265 LIBS="-lGLESv2 $LIBS"
9266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9267 /* end confdefs.h. */
9269 /* Override any GCC internal prototype to avoid an error.
9270 Use char because int might match the return type of a GCC
9271 builtin and then its argument prototype would still apply. */
9272 #ifdef __cplusplus
9273 extern "C"
9274 #endif
9275 char glFlush ();
9277 main ()
9279 return glFlush ();
9281 return 0;
9283 _ACEOF
9284 if ac_fn_c_try_link "$LINENO"; then :
9285 case "$LIBEXT" in
9286 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9287 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'` ;;
9288 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9289 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9290 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9291 fi ;;
9292 esac
9293 else
9294 ac_cv_lib_soname_GLESv2=
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_soname_save_LIBS
9300 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9302 $as_echo "not found" >&6; }
9304 else
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9306 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9308 cat >>confdefs.h <<_ACEOF
9309 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9310 _ACEOF
9315 if test "x$exec_prefix" = xNONE
9316 then
9317 case $host_cpu in
9318 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9319 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9320 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9321 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9322 esac
9327 case $host_cpu in
9328 *i[3456789]86*)
9329 DLLFLAGS="$DLLFLAGS -fno-PIC"
9330 LDDLLFLAGS="-fno-PIC" ;;
9332 DLLFLAGS="$DLLFLAGS -fPIC"
9333 LDDLLFLAGS="-fPIC" ;;
9334 esac
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9336 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9337 if ${ac_cv_c_dll_gnuelf+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_wine_try_cflags_saved=$CFLAGS
9341 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9344 void myfunc() {}
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9348 else
9349 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 CFLAGS=$ac_wine_try_cflags_saved
9354 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9355 ac_cv_c_dll_gnuelf="yes"
9356 else
9357 ac_cv_c_dll_gnuelf="no"
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9361 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9362 if test "$ac_cv_c_dll_gnuelf" = "yes"
9363 then
9364 LIBWINE_LDFLAGS="-shared"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9366 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9367 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_wine_try_cflags_saved=$CFLAGS
9371 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9374 int main(int argc, char **argv) { return 0; }
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9378 else
9379 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 CFLAGS=$ac_wine_try_cflags_saved
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9386 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9387 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9388 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9389 else
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9391 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9392 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9393 $as_echo_n "(cached) " >&6
9394 else
9395 ac_wine_try_cflags_saved=$CFLAGS
9396 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9399 int main(int argc, char **argv) { return 0; }
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9403 else
9404 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 CFLAGS=$ac_wine_try_cflags_saved
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9411 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9412 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9413 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9417 echo '{ global: *; };' >conftest.map
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9419 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9420 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 ac_wine_try_cflags_saved=$CFLAGS
9424 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9427 int main(int argc, char **argv) { return 0; }
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9431 else
9432 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 CFLAGS=$ac_wine_try_cflags_saved
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9439 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9440 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9441 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9443 rm -f conftest.map
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9446 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9447 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 ac_wine_try_cflags_saved=$CFLAGS
9451 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9454 int main(int argc, char **argv) { return 0; }
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9457 ac_cv_cflags__Wl___export_dynamic=yes
9458 else
9459 ac_cv_cflags__Wl___export_dynamic=no
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 CFLAGS=$ac_wine_try_cflags_saved
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9466 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9467 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9468 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9470 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9472 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9474 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9475 if eval \${$as_ac_var+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 ac_wine_try_cflags_saved=$CFLAGS
9479 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9482 int main(int argc, char **argv) { return 0; }
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 eval "$as_ac_var=yes"
9486 else
9487 eval "$as_ac_var=no"
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 CFLAGS=$ac_wine_try_cflags_saved
9493 eval ac_res=\$$as_ac_var
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9495 $as_echo "$ac_res" >&6; }
9496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9497 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9498 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9499 else
9500 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9502 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9503 if eval \${$as_ac_var+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_wine_try_cflags_saved=$CFLAGS
9507 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9510 int main(int argc, char **argv) { return 0; }
9511 _ACEOF
9512 if ac_fn_c_try_link "$LINENO"; then :
9513 eval "$as_ac_var=yes"
9514 else
9515 eval "$as_ac_var=no"
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 CFLAGS=$ac_wine_try_cflags_saved
9521 eval ac_res=\$$as_ac_var
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9523 $as_echo "$ac_res" >&6; }
9524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9525 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9526 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9531 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9532 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_wine_try_cflags_saved=$CFLAGS
9536 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9539 int main(int argc, char **argv) { return 0; }
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 ac_cv_cflags__Wl___enable_new_dtags=yes
9543 else
9544 ac_cv_cflags__Wl___enable_new_dtags=no
9546 rm -f core conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 CFLAGS=$ac_wine_try_cflags_saved
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9551 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9552 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9553 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9556 case $host_cpu in
9557 *i[3456789]86* | x86_64 | *aarch64*)
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9559 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9560 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 ac_wine_try_cflags_saved=$CFLAGS
9564 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9567 int main(int argc, char **argv) { return 0; }
9568 _ACEOF
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9571 else
9572 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 CFLAGS=$ac_wine_try_cflags_saved
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9579 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9580 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9581 case $host_os in
9582 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9583 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9584 esac
9585 else
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9587 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9588 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9589 $as_echo_n "(cached) " >&6
9590 else
9591 ac_wine_try_cflags_saved=$CFLAGS
9592 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9595 int main(int argc, char **argv) { return 0; }
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"; then :
9598 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9599 else
9600 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 CFLAGS=$ac_wine_try_cflags_saved
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9607 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9608 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9609 case $host_os in
9610 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9611 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9612 esac
9614 # Extract the first word of "prelink", so it can be a program name with args.
9615 set dummy prelink; ac_word=$2
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9617 $as_echo_n "checking for $ac_word... " >&6; }
9618 if ${ac_cv_path_PRELINK+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 case $PRELINK in
9622 [\\/]* | ?:[\\/]*)
9623 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9627 for as_dir in /sbin /usr/sbin $PATH
9629 IFS=$as_save_IFS
9630 test -z "$as_dir" && as_dir=.
9631 for ac_exec_ext in '' $ac_executable_extensions; do
9632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9633 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9635 break 2
9637 done
9638 done
9639 IFS=$as_save_IFS
9641 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9643 esac
9645 PRELINK=$ac_cv_path_PRELINK
9646 if test -n "$PRELINK"; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9648 $as_echo "$PRELINK" >&6; }
9649 else
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 $as_echo "no" >&6; }
9655 if test "x$PRELINK" = xfalse
9656 then
9657 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9661 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9662 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_wine_try_cflags_saved=$CFLAGS
9666 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9669 int main(int argc, char **argv) { return 0; }
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9673 else
9674 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 CFLAGS=$ac_wine_try_cflags_saved
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9681 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9682 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9683 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9686 esac
9688 else
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9690 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9691 if ${ac_cv_c_dll_unixware+:} false; then :
9692 $as_echo_n "(cached) " >&6
9693 else
9694 ac_wine_try_cflags_saved=$CFLAGS
9695 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9698 void myfunc() {}
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9702 else
9703 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 CFLAGS=$ac_wine_try_cflags_saved
9708 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9709 ac_cv_c_dll_unixware="yes"
9710 else
9711 ac_cv_c_dll_unixware="no"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9715 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9716 if test "$ac_cv_c_dll_unixware" = "yes"
9717 then
9718 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9721 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9723 LIBWINE_DEPENDS="wine.map"
9725 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9726 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9728 esac
9730 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9731 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9732 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9733 enable_winemac_drv=${enable_winemac_drv:-no}
9734 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9737 if test "x$with_mingw" != xno
9738 then
9739 case "x$with_mingw" in
9740 x|xyes) case "$host_cpu" in
9741 aarch64*)
9742 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9743 arm*)
9744 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9745 i[3456789]86*)
9746 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
9747 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9748 mingw32-gcc" ;;
9749 x86_64)
9750 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
9751 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9753 ac_prefix_list="" ;;
9754 esac
9755 for ac_prog in $ac_prefix_list
9757 # Extract the first word of "$ac_prog", so it can be a program name with args.
9758 set dummy $ac_prog; ac_word=$2
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9760 $as_echo_n "checking for $ac_word... " >&6; }
9761 if ${ac_cv_prog_CROSSCC+:} false; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 if test -n "$CROSSCC"; then
9765 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9766 else
9767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9768 for as_dir in $PATH
9770 IFS=$as_save_IFS
9771 test -z "$as_dir" && as_dir=.
9772 for ac_exec_ext in '' $ac_executable_extensions; do
9773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9774 ac_cv_prog_CROSSCC="$ac_prog"
9775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9776 break 2
9778 done
9779 done
9780 IFS=$as_save_IFS
9784 CROSSCC=$ac_cv_prog_CROSSCC
9785 if test -n "$CROSSCC"; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9787 $as_echo "$CROSSCC" >&6; }
9788 else
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "no" >&6; }
9794 test -n "$CROSSCC" && break
9795 done
9796 test -n "$CROSSCC" || CROSSCC="false"
9798 *) CROSSCC=$with_mingw ;;
9799 esac
9800 if test "$CROSSCC" != "false"
9801 then
9802 ac_save_CC="$CC"
9803 saved_CFLAGS=$CFLAGS
9804 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9806 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9810 CC="$CROSSCC"
9811 CFLAGS=$CROSSCFLAGS
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9813 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9814 if ${wine_cv_crosscc+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9821 main ()
9825 return 0;
9827 _ACEOF
9828 if ac_fn_c_try_compile "$LINENO"; then :
9829 wine_cv_crosscc=yes
9830 else
9831 wine_cv_crosscc=no
9833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9836 $as_echo "$wine_cv_crosscc" >&6; }
9837 if test $wine_cv_crosscc = yes
9838 then
9839 set x $CROSSCC
9840 shift
9841 while test $# -ge 1
9843 case "$1" in
9844 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9845 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9846 esac
9847 shift
9848 done
9850 llvm_target=$CROSSTARGET
9851 llvm_cflags="-fuse-ld=lld"
9852 if test -z "$llvm_target"
9853 then
9854 case $host_cpu in
9855 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9856 *) llvm_target=$host_cpu-windows-gnu ;;
9857 esac
9859 case $llvm_target in
9860 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9861 esac
9862 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9864 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9865 if eval \${$as_ac_var+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_wine_try_cflags_saved=$CFLAGS
9869 ac_wine_try_cflags_saved_cc=$CC
9870 ac_wine_try_cflags_saved_exeext=$ac_exeext
9871 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9872 CC="$CROSSCC"
9873 ac_exeext=".exe"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int __cdecl mainCRTStartup(void) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 eval "$as_ac_var=yes"
9880 else
9881 eval "$as_ac_var=no"
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 CFLAGS=$ac_wine_try_cflags_saved
9886 CC=$ac_wine_try_cflags_saved_cc
9887 ac_exeext=$ac_wine_try_cflags_saved_exeext
9889 eval ac_res=\$$as_ac_var
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9891 $as_echo "$ac_res" >&6; }
9892 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9893 CROSSTARGET=$llvm_target
9894 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9895 DELAYLOADFLAG="-Wl,-delayload,"
9897 CFLAGS="$CFLAGS $llvm_cflags"
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9901 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9902 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 ac_wine_try_cflags_saved_cc=$CC
9907 ac_wine_try_cflags_saved_exeext=$ac_exeext
9908 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9909 CC="$CROSSCC"
9910 ac_exeext=".exe"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 int __cdecl mainCRTStartup(void) { return 0; }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_crosscflags__fno_strict_aliasing=yes
9917 else
9918 ac_cv_crosscflags__fno_strict_aliasing=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9923 CC=$ac_wine_try_cflags_saved_cc
9924 ac_exeext=$ac_wine_try_cflags_saved_exeext
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9927 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9928 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9929 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9932 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9933 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_wine_try_cflags_saved=$CFLAGS
9937 ac_wine_try_cflags_saved_cc=$CC
9938 ac_wine_try_cflags_saved_exeext=$ac_exeext
9939 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9940 CC="$CROSSCC"
9941 ac_exeext=".exe"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 int __cdecl mainCRTStartup(void) { return 0; }
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9948 else
9949 ac_cv_crosscflags__Werror_unknown_warning_option=no
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9954 CC=$ac_wine_try_cflags_saved_cc
9955 ac_exeext=$ac_wine_try_cflags_saved_exeext
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9958 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9959 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9960 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9963 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9964 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 ac_wine_try_cflags_saved_cc=$CC
9969 ac_wine_try_cflags_saved_exeext=$ac_exeext
9970 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9971 CC="$CROSSCC"
9972 ac_exeext=".exe"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int __cdecl mainCRTStartup(void) { return 0; }
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9979 else
9980 ac_cv_crosscflags__Wdeclaration_after_statement=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9985 CC=$ac_wine_try_cflags_saved_cc
9986 ac_exeext=$ac_wine_try_cflags_saved_exeext
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9989 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9990 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9991 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9994 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9995 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 ac_wine_try_cflags_saved_cc=$CC
10000 ac_wine_try_cflags_saved_exeext=$ac_exeext
10001 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10002 CC="$CROSSCC"
10003 ac_exeext=".exe"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 int __cdecl mainCRTStartup(void) { return 0; }
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 ac_cv_crosscflags__Wempty_body=yes
10010 else
10011 ac_cv_crosscflags__Wempty_body=no
10013 rm -f core conftest.err conftest.$ac_objext \
10014 conftest$ac_exeext conftest.$ac_ext
10015 CFLAGS=$ac_wine_try_cflags_saved
10016 CC=$ac_wine_try_cflags_saved_cc
10017 ac_exeext=$ac_wine_try_cflags_saved_exeext
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10020 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10021 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10022 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10025 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10026 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_wine_try_cflags_saved=$CFLAGS
10030 ac_wine_try_cflags_saved_cc=$CC
10031 ac_wine_try_cflags_saved_exeext=$ac_exeext
10032 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10033 CC="$CROSSCC"
10034 ac_exeext=".exe"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 int __cdecl mainCRTStartup(void) { return 0; }
10038 _ACEOF
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_crosscflags__Wignored_qualifiers=yes
10041 else
10042 ac_cv_crosscflags__Wignored_qualifiers=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 CFLAGS=$ac_wine_try_cflags_saved
10047 CC=$ac_wine_try_cflags_saved_cc
10048 ac_exeext=$ac_wine_try_cflags_saved_exeext
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10051 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10052 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10053 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10056 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10057 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_wine_try_cflags_saved=$CFLAGS
10061 ac_wine_try_cflags_saved_cc=$CC
10062 ac_wine_try_cflags_saved_exeext=$ac_exeext
10063 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10064 CC="$CROSSCC"
10065 ac_exeext=".exe"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 int __cdecl mainCRTStartup(void) { return 0; }
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_crosscflags__Wpacked_not_aligned=yes
10072 else
10073 ac_cv_crosscflags__Wpacked_not_aligned=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 CFLAGS=$ac_wine_try_cflags_saved
10078 CC=$ac_wine_try_cflags_saved_cc
10079 ac_exeext=$ac_wine_try_cflags_saved_exeext
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10082 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10083 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10087 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10088 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 ac_wine_try_cflags_saved_cc=$CC
10093 ac_wine_try_cflags_saved_exeext=$ac_exeext
10094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10095 CC="$CROSSCC"
10096 ac_exeext=".exe"
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 int __cdecl mainCRTStartup(void) { return 0; }
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 ac_cv_crosscflags__Wpragma_pack=yes
10103 else
10104 ac_cv_crosscflags__Wpragma_pack=no
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 CFLAGS=$ac_wine_try_cflags_saved
10109 CC=$ac_wine_try_cflags_saved_cc
10110 ac_exeext=$ac_wine_try_cflags_saved_exeext
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10113 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10114 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10115 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10118 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10119 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_wine_try_cflags_saved=$CFLAGS
10123 ac_wine_try_cflags_saved_cc=$CC
10124 ac_wine_try_cflags_saved_exeext=$ac_exeext
10125 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10126 CC="$CROSSCC"
10127 ac_exeext=".exe"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 int __cdecl mainCRTStartup(void) { return 0; }
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 ac_cv_crosscflags__Wshift_overflow_2=yes
10134 else
10135 ac_cv_crosscflags__Wshift_overflow_2=no
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_wine_try_cflags_saved
10140 CC=$ac_wine_try_cflags_saved_cc
10141 ac_exeext=$ac_wine_try_cflags_saved_exeext
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10144 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10145 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10146 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10149 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10150 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 ac_wine_try_cflags_saved_cc=$CC
10155 ac_wine_try_cflags_saved_exeext=$ac_exeext
10156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10157 CC="$CROSSCC"
10158 ac_exeext=".exe"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int __cdecl mainCRTStartup(void) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_crosscflags__Wstrict_prototypes=yes
10165 else
10166 ac_cv_crosscflags__Wstrict_prototypes=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 CFLAGS=$ac_wine_try_cflags_saved
10171 CC=$ac_wine_try_cflags_saved_cc
10172 ac_exeext=$ac_wine_try_cflags_saved_exeext
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10175 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10176 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10180 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10181 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 ac_wine_try_cflags_saved_cc=$CC
10186 ac_wine_try_cflags_saved_exeext=$ac_exeext
10187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10188 CC="$CROSSCC"
10189 ac_exeext=".exe"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 int __cdecl mainCRTStartup(void) { return 0; }
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 ac_cv_crosscflags__Wtype_limits=yes
10196 else
10197 ac_cv_crosscflags__Wtype_limits=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10202 CC=$ac_wine_try_cflags_saved_cc
10203 ac_exeext=$ac_wine_try_cflags_saved_exeext
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10206 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10207 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10208 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10211 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10212 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_wine_try_cflags_saved=$CFLAGS
10216 ac_wine_try_cflags_saved_cc=$CC
10217 ac_wine_try_cflags_saved_exeext=$ac_exeext
10218 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10219 CC="$CROSSCC"
10220 ac_exeext=".exe"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int __cdecl mainCRTStartup(void) { return 0; }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10227 else
10228 ac_cv_crosscflags__Wunused_but_set_parameter=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10233 CC=$ac_wine_try_cflags_saved_cc
10234 ac_exeext=$ac_wine_try_cflags_saved_exeext
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10237 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10238 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10239 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10242 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10243 if ${ac_cv_crosscflags__Wvla+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 ac_wine_try_cflags_saved_cc=$CC
10248 ac_wine_try_cflags_saved_exeext=$ac_exeext
10249 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10250 CC="$CROSSCC"
10251 ac_exeext=".exe"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 int __cdecl mainCRTStartup(void) { return 0; }
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_crosscflags__Wvla=yes
10258 else
10259 ac_cv_crosscflags__Wvla=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 CFLAGS=$ac_wine_try_cflags_saved
10264 CC=$ac_wine_try_cflags_saved_cc
10265 ac_exeext=$ac_wine_try_cflags_saved_exeext
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10268 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10269 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10270 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10273 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10274 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_wine_try_cflags_saved=$CFLAGS
10278 ac_wine_try_cflags_saved_cc=$CC
10279 ac_wine_try_cflags_saved_exeext=$ac_exeext
10280 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10281 CC="$CROSSCC"
10282 ac_exeext=".exe"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10285 int __cdecl mainCRTStartup(void) { return 0; }
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_crosscflags__Wwrite_strings=yes
10289 else
10290 ac_cv_crosscflags__Wwrite_strings=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 CFLAGS=$ac_wine_try_cflags_saved
10295 CC=$ac_wine_try_cflags_saved_cc
10296 ac_exeext=$ac_wine_try_cflags_saved_exeext
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10299 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10300 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10301 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10304 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10305 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_wine_try_cflags_saved=$CFLAGS
10309 ac_wine_try_cflags_saved_cc=$CC
10310 ac_wine_try_cflags_saved_exeext=$ac_exeext
10311 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10312 CC="$CROSSCC"
10313 ac_exeext=".exe"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10316 int __cdecl mainCRTStartup(void) { return 0; }
10317 _ACEOF
10318 if ac_fn_c_try_link "$LINENO"; then :
10319 ac_cv_crosscflags__Wpointer_arith=yes
10320 else
10321 ac_cv_crosscflags__Wpointer_arith=no
10323 rm -f core conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 CFLAGS=$ac_wine_try_cflags_saved
10326 CC=$ac_wine_try_cflags_saved_cc
10327 ac_exeext=$ac_wine_try_cflags_saved_exeext
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10330 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10331 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10332 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10335 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10336 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 ac_wine_try_cflags_saved_cc=$CC
10341 ac_wine_try_cflags_saved_exeext=$ac_exeext
10342 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10343 CC="$CROSSCC"
10344 ac_exeext=".exe"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 int __cdecl mainCRTStartup(void) { return 0; }
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 ac_cv_crosscflags__Wlogical_op=yes
10351 else
10352 ac_cv_crosscflags__Wlogical_op=no
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10357 CC=$ac_wine_try_cflags_saved_cc
10358 ac_exeext=$ac_wine_try_cflags_saved_exeext
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10361 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10362 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10363 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10367 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int __cdecl mainCRTStartup(void) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10382 else
10383 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10392 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10393 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10397 case $host_cpu in
10398 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10399 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10400 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_wine_try_cflags_saved=$CFLAGS
10404 ac_wine_try_cflags_saved_cc=$CC
10405 ac_wine_try_cflags_saved_exeext=$ac_exeext
10406 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10407 CC="$CROSSCC"
10408 ac_exeext=".exe"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10411 int __cdecl mainCRTStartup(void) { return 0; }
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10415 else
10416 ac_cv_crosscflags__fno_omit_frame_pointer=no
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 CFLAGS=$ac_wine_try_cflags_saved
10421 CC=$ac_wine_try_cflags_saved_cc
10422 ac_exeext=$ac_wine_try_cflags_saved_exeext
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10425 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10426 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10427 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10428 fi ;;
10429 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10430 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10431 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 ac_wine_try_cflags_saved_cc=$CC
10436 ac_wine_try_cflags_saved_exeext=$ac_exeext
10437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10438 CC="$CROSSCC"
10439 ac_exeext=".exe"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10442 int __cdecl mainCRTStartup(void) { return 0; }
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_crosscflags__Wno_format=yes
10446 else
10447 ac_cv_crosscflags__Wno_format=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 CFLAGS=$ac_wine_try_cflags_saved
10452 CC=$ac_wine_try_cflags_saved_cc
10453 ac_exeext=$ac_wine_try_cflags_saved_exeext
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10456 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10457 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10461 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10462 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_wine_try_cflags_saved=$CFLAGS
10466 ac_wine_try_cflags_saved_cc=$CC
10467 ac_wine_try_cflags_saved_exeext=$ac_exeext
10468 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10469 CC="$CROSSCC"
10470 ac_exeext=".exe"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 int __cdecl mainCRTStartup(void) { return 0; }
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 ac_cv_crosscflags__Wformat_overflow=yes
10477 else
10478 ac_cv_crosscflags__Wformat_overflow=no
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 CFLAGS=$ac_wine_try_cflags_saved
10483 CC=$ac_wine_try_cflags_saved_cc
10484 ac_exeext=$ac_wine_try_cflags_saved_exeext
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10487 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10488 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10489 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10492 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10493 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10494 $as_echo_n "(cached) " >&6
10495 else
10496 ac_wine_try_cflags_saved=$CFLAGS
10497 ac_wine_try_cflags_saved_cc=$CC
10498 ac_wine_try_cflags_saved_exeext=$ac_exeext
10499 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10500 CC="$CROSSCC"
10501 ac_exeext=".exe"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10504 int __cdecl mainCRTStartup(void) { return 0; }
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"; then :
10507 ac_cv_crosscflags__Wnonnull=yes
10508 else
10509 ac_cv_crosscflags__Wnonnull=no
10511 rm -f core conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10513 CFLAGS=$ac_wine_try_cflags_saved
10514 CC=$ac_wine_try_cflags_saved_cc
10515 ac_exeext=$ac_wine_try_cflags_saved_exeext
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10518 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10519 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10520 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10521 fi ;;
10522 esac
10525 if test -z "$CROSSDEBUG"
10526 then
10527 for ac_flag in $CROSSCFLAGS; do
10528 case $ac_flag in
10529 -gdwarf*) CROSSDEBUG=dwarf ;;
10530 -gcodeview) CROSSDEBUG=pdb ;;
10531 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10532 esac
10533 done
10535 case $CROSSDEBUG in
10536 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10537 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10538 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10539 $as_echo_n "(cached) " >&6
10540 else
10541 ac_wine_try_cflags_saved=$CFLAGS
10542 ac_wine_try_cflags_saved_cc=$CC
10543 ac_wine_try_cflags_saved_exeext=$ac_exeext
10544 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10545 CC="$CROSSCC"
10546 ac_exeext=".exe"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10549 int __cdecl mainCRTStartup(void) { return 0; }
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 ac_cv_crosscflags__gdwarf_2=yes
10553 else
10554 ac_cv_crosscflags__gdwarf_2=no
10556 rm -f core conftest.err conftest.$ac_objext \
10557 conftest$ac_exeext conftest.$ac_ext
10558 CFLAGS=$ac_wine_try_cflags_saved
10559 CC=$ac_wine_try_cflags_saved_cc
10560 ac_exeext=$ac_wine_try_cflags_saved_exeext
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10563 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10564 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10565 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10568 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10569 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10570 $as_echo_n "(cached) " >&6
10571 else
10572 ac_wine_try_cflags_saved=$CFLAGS
10573 ac_wine_try_cflags_saved_cc=$CC
10574 ac_wine_try_cflags_saved_exeext=$ac_exeext
10575 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10576 CC="$CROSSCC"
10577 ac_exeext=".exe"
10578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10580 int __cdecl mainCRTStartup(void) { return 0; }
10581 _ACEOF
10582 if ac_fn_c_try_link "$LINENO"; then :
10583 ac_cv_crosscflags__gstrict_dwarf=yes
10584 else
10585 ac_cv_crosscflags__gstrict_dwarf=no
10587 rm -f core conftest.err conftest.$ac_objext \
10588 conftest$ac_exeext conftest.$ac_ext
10589 CFLAGS=$ac_wine_try_cflags_saved
10590 CC=$ac_wine_try_cflags_saved_cc
10591 ac_exeext=$ac_wine_try_cflags_saved_exeext
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10594 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10595 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10596 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10597 fi ;;
10598 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10599 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10600 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10601 $as_echo_n "(cached) " >&6
10602 else
10603 ac_wine_try_cflags_saved=$CFLAGS
10604 ac_wine_try_cflags_saved_cc=$CC
10605 ac_wine_try_cflags_saved_exeext=$ac_exeext
10606 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10607 CC="$CROSSCC"
10608 ac_exeext=".exe"
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10611 int __cdecl mainCRTStartup(void) { return 0; }
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 ac_cv_crosscflags__gcodeview=yes
10615 else
10616 ac_cv_crosscflags__gcodeview=no
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 CFLAGS=$ac_wine_try_cflags_saved
10621 CC=$ac_wine_try_cflags_saved_cc
10622 ac_exeext=$ac_wine_try_cflags_saved_exeext
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10625 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10626 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10627 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10628 fi ;;
10629 esac
10631 if test "x$enable_werror" = "xyes"
10632 then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10634 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10635 if ${ac_cv_crosscflags__Werror+:} false; then :
10636 $as_echo_n "(cached) " >&6
10637 else
10638 ac_wine_try_cflags_saved=$CFLAGS
10639 ac_wine_try_cflags_saved_cc=$CC
10640 ac_wine_try_cflags_saved_exeext=$ac_exeext
10641 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10642 CC="$CROSSCC"
10643 ac_exeext=".exe"
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10646 int __cdecl mainCRTStartup(void) { return 0; }
10647 _ACEOF
10648 if ac_fn_c_try_link "$LINENO"; then :
10649 ac_cv_crosscflags__Werror=yes
10650 else
10651 ac_cv_crosscflags__Werror=no
10653 rm -f core conftest.err conftest.$ac_objext \
10654 conftest$ac_exeext conftest.$ac_ext
10655 CFLAGS=$ac_wine_try_cflags_saved
10656 CC=$ac_wine_try_cflags_saved_cc
10657 ac_exeext=$ac_wine_try_cflags_saved_exeext
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10660 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10661 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10662 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10666 CFLAGS=$saved_CFLAGS
10667 CC="$ac_save_CC"
10670 if test "x$CROSSTARGET" = "x"; then :
10671 case "x$with_mingw" in
10672 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10673 xno) ;;
10674 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10675 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10676 esac
10681 if test "$ac_cv_header_pthread_h" = "yes"
10682 then
10683 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10684 if test "x$ac_cv_func_pthread_create" = xyes; then :
10686 else
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10688 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10689 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10690 $as_echo_n "(cached) " >&6
10691 else
10692 ac_check_lib_save_LIBS=$LIBS
10693 LIBS="-lpthread $LIBS"
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10700 #ifdef __cplusplus
10701 extern "C"
10702 #endif
10703 char pthread_create ();
10705 main ()
10707 return pthread_create ();
10709 return 0;
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 ac_cv_lib_pthread_pthread_create=yes
10714 else
10715 ac_cv_lib_pthread_pthread_create=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10722 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10723 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10724 PTHREAD_LIBS="-lpthread"
10731 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10732 case "x$with_pthread" in
10733 xno) ;;
10734 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10735 Wine cannot support threads without libpthread.
10736 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10737 esac
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10743 $as_echo_n "checking for X... " >&6; }
10746 # Check whether --with-x was given.
10747 if test "${with_x+set}" = set; then :
10748 withval=$with_x;
10751 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10752 if test "x$with_x" = xno; then
10753 # The user explicitly disabled X.
10754 have_x=disabled
10755 else
10756 case $x_includes,$x_libraries in #(
10757 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10758 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10759 $as_echo_n "(cached) " >&6
10760 else
10761 # One or both of the vars are not set, and there is no cached value.
10762 ac_x_includes=no ac_x_libraries=no
10763 rm -f -r conftest.dir
10764 if mkdir conftest.dir; then
10765 cd conftest.dir
10766 cat >Imakefile <<'_ACEOF'
10767 incroot:
10768 @echo incroot='${INCROOT}'
10769 usrlibdir:
10770 @echo usrlibdir='${USRLIBDIR}'
10771 libdir:
10772 @echo libdir='${LIBDIR}'
10773 _ACEOF
10774 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10775 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10776 for ac_var in incroot usrlibdir libdir; do
10777 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10778 done
10779 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10780 for ac_extension in a so sl dylib la dll; do
10781 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10782 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10783 ac_im_usrlibdir=$ac_im_libdir; break
10785 done
10786 # Screen out bogus values from the imake configuration. They are
10787 # bogus both because they are the default anyway, and because
10788 # using them would break gcc on systems where it needs fixed includes.
10789 case $ac_im_incroot in
10790 /usr/include) ac_x_includes= ;;
10791 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10792 esac
10793 case $ac_im_usrlibdir in
10794 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10795 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10796 esac
10798 cd ..
10799 rm -f -r conftest.dir
10802 # Standard set of common directories for X headers.
10803 # Check X11 before X11Rn because it is often a symlink to the current release.
10804 ac_x_header_dirs='
10805 /usr/X11/include
10806 /usr/X11R7/include
10807 /usr/X11R6/include
10808 /usr/X11R5/include
10809 /usr/X11R4/include
10811 /usr/include/X11
10812 /usr/include/X11R7
10813 /usr/include/X11R6
10814 /usr/include/X11R5
10815 /usr/include/X11R4
10817 /usr/local/X11/include
10818 /usr/local/X11R7/include
10819 /usr/local/X11R6/include
10820 /usr/local/X11R5/include
10821 /usr/local/X11R4/include
10823 /usr/local/include/X11
10824 /usr/local/include/X11R7
10825 /usr/local/include/X11R6
10826 /usr/local/include/X11R5
10827 /usr/local/include/X11R4
10829 /usr/X386/include
10830 /usr/x386/include
10831 /usr/XFree86/include/X11
10833 /usr/include
10834 /usr/local/include
10835 /usr/unsupported/include
10836 /usr/athena/include
10837 /usr/local/x11r5/include
10838 /usr/lpp/Xamples/include
10840 /usr/openwin/include
10841 /usr/openwin/share/include'
10843 if test "$ac_x_includes" = no; then
10844 # Guess where to find include files, by looking for Xlib.h.
10845 # First, try using that file with no special directory specified.
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10848 #include <X11/Xlib.h>
10849 _ACEOF
10850 if ac_fn_c_try_cpp "$LINENO"; then :
10851 # We can compile using X headers with no special include directory.
10852 ac_x_includes=
10853 else
10854 for ac_dir in $ac_x_header_dirs; do
10855 if test -r "$ac_dir/X11/Xlib.h"; then
10856 ac_x_includes=$ac_dir
10857 break
10859 done
10861 rm -f conftest.err conftest.i conftest.$ac_ext
10862 fi # $ac_x_includes = no
10864 if test "$ac_x_libraries" = no; then
10865 # Check for the libraries.
10866 # See if we find them without any special options.
10867 # Don't add to $LIBS permanently.
10868 ac_save_LIBS=$LIBS
10869 LIBS="-lX11 $LIBS"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 #include <X11/Xlib.h>
10874 main ()
10876 XrmInitialize ()
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 LIBS=$ac_save_LIBS
10883 # We can link X programs with no special library path.
10884 ac_x_libraries=
10885 else
10886 LIBS=$ac_save_LIBS
10887 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10889 # Don't even attempt the hair of trying to link an X program!
10890 for ac_extension in a so sl dylib la dll; do
10891 if test -r "$ac_dir/libX11.$ac_extension"; then
10892 ac_x_libraries=$ac_dir
10893 break 2
10895 done
10896 done
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 fi # $ac_x_libraries = no
10902 case $ac_x_includes,$ac_x_libraries in #(
10903 no,* | *,no | *\'*)
10904 # Didn't find X, or a directory has "'" in its name.
10905 ac_cv_have_x="have_x=no";; #(
10907 # Record where we found X for the cache.
10908 ac_cv_have_x="have_x=yes\
10909 ac_x_includes='$ac_x_includes'\
10910 ac_x_libraries='$ac_x_libraries'"
10911 esac
10913 ;; #(
10914 *) have_x=yes;;
10915 esac
10916 eval "$ac_cv_have_x"
10917 fi # $with_x != no
10919 if test "$have_x" != yes; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10921 $as_echo "$have_x" >&6; }
10922 no_x=yes
10923 else
10924 # If each of the values was on the command line, it overrides each guess.
10925 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10926 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10927 # Update the cache value to reflect the command line values.
10928 ac_cv_have_x="have_x=yes\
10929 ac_x_includes='$x_includes'\
10930 ac_x_libraries='$x_libraries'"
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10932 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10935 if test "$no_x" = yes; then
10936 # Not all programs may use this symbol, but it does not hurt to define it.
10938 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10940 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10941 else
10942 if test -n "$x_includes"; then
10943 X_CFLAGS="$X_CFLAGS -I$x_includes"
10946 # It would also be nice to do this for all -L options, not just this one.
10947 if test -n "$x_libraries"; then
10948 X_LIBS="$X_LIBS -L$x_libraries"
10949 # For Solaris; some versions of Sun CC require a space after -R and
10950 # others require no space. Words are not sufficient . . . .
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10952 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10953 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10954 ac_xsave_c_werror_flag=$ac_c_werror_flag
10955 ac_c_werror_flag=yes
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10960 main ()
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10969 $as_echo "no" >&6; }
10970 X_LIBS="$X_LIBS -R$x_libraries"
10971 else
10972 LIBS="$ac_xsave_LIBS -R $x_libraries"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10977 main ()
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10986 $as_echo "yes" >&6; }
10987 X_LIBS="$X_LIBS -R $x_libraries"
10988 else
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10990 $as_echo "neither works" >&6; }
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 ac_c_werror_flag=$ac_xsave_c_werror_flag
10998 LIBS=$ac_xsave_LIBS
11001 # Check for system-dependent libraries X programs must link with.
11002 # Do this before checking for the system-independent R6 libraries
11003 # (-lICE), since we may need -lsocket or whatever for X linking.
11005 if test "$ISC" = yes; then
11006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11007 else
11008 # Martyn Johnson says this is needed for Ultrix, if the X
11009 # libraries were built with DECnet support. And Karl Berry says
11010 # the Alpha needs dnet_stub (dnet does not exist).
11011 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char XOpenDisplay ();
11023 main ()
11025 return XOpenDisplay ();
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11032 else
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11034 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11035 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11036 $as_echo_n "(cached) " >&6
11037 else
11038 ac_check_lib_save_LIBS=$LIBS
11039 LIBS="-ldnet $LIBS"
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11046 #ifdef __cplusplus
11047 extern "C"
11048 #endif
11049 char dnet_ntoa ();
11051 main ()
11053 return dnet_ntoa ();
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 ac_cv_lib_dnet_dnet_ntoa=yes
11060 else
11061 ac_cv_lib_dnet_dnet_ntoa=no
11063 rm -f core conftest.err conftest.$ac_objext \
11064 conftest$ac_exeext conftest.$ac_ext
11065 LIBS=$ac_check_lib_save_LIBS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11068 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11069 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11070 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11073 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11075 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11076 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11077 $as_echo_n "(cached) " >&6
11078 else
11079 ac_check_lib_save_LIBS=$LIBS
11080 LIBS="-ldnet_stub $LIBS"
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11087 #ifdef __cplusplus
11088 extern "C"
11089 #endif
11090 char dnet_ntoa ();
11092 main ()
11094 return dnet_ntoa ();
11096 return 0;
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11101 else
11102 ac_cv_lib_dnet_stub_dnet_ntoa=no
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_lib_save_LIBS
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11109 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11110 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11111 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS="$ac_xsave_LIBS"
11120 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11121 # to get the SysV transport functions.
11122 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11123 # needs -lnsl.
11124 # The nsl library prevents programs from opening the X display
11125 # on Irix 5.2, according to T.E. Dickey.
11126 # The functions gethostbyname, getservbyname, and inet_addr are
11127 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11128 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11129 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11133 if test $ac_cv_func_gethostbyname = no; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11135 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11136 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_lib_save_LIBS=$LIBS
11140 LIBS="-lnsl $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char gethostbyname ();
11152 main ()
11154 return gethostbyname ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 ac_cv_lib_nsl_gethostbyname=yes
11161 else
11162 ac_cv_lib_nsl_gethostbyname=no
11164 rm -f core conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11169 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11170 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11174 if test $ac_cv_lib_nsl_gethostbyname = no; then
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11176 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11177 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11178 $as_echo_n "(cached) " >&6
11179 else
11180 ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-lbsd $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char gethostbyname ();
11193 main ()
11195 return gethostbyname ();
11197 return 0;
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_bsd_gethostbyname=yes
11202 else
11203 ac_cv_lib_bsd_gethostbyname=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11210 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11211 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11218 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11219 # socket/setsockopt and other routines are undefined under SCO ODT
11220 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11221 # on later versions), says Simon Leinen: it contains gethostby*
11222 # variants that don't use the name server (or something). -lsocket
11223 # must be given before -lnsl if both are needed. We assume that
11224 # if connect needs -lnsl, so does gethostbyname.
11225 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11226 if test "x$ac_cv_func_connect" = xyes; then :
11230 if test $ac_cv_func_connect = no; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11232 $as_echo_n "checking for connect in -lsocket... " >&6; }
11233 if ${ac_cv_lib_socket_connect+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char connect ();
11249 main ()
11251 return connect ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_socket_connect=yes
11258 else
11259 ac_cv_lib_socket_connect=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11266 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11267 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11268 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11273 # Guillermo Gomez says -lposix is necessary on A/UX.
11274 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11275 if test "x$ac_cv_func_remove" = xyes; then :
11279 if test $ac_cv_func_remove = no; then
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11281 $as_echo_n "checking for remove in -lposix... " >&6; }
11282 if ${ac_cv_lib_posix_remove+:} false; then :
11283 $as_echo_n "(cached) " >&6
11284 else
11285 ac_check_lib_save_LIBS=$LIBS
11286 LIBS="-lposix $LIBS"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11290 /* Override any GCC internal prototype to avoid an error.
11291 Use char because int might match the return type of a GCC
11292 builtin and then its argument prototype would still apply. */
11293 #ifdef __cplusplus
11294 extern "C"
11295 #endif
11296 char remove ();
11298 main ()
11300 return remove ();
11302 return 0;
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"; then :
11306 ac_cv_lib_posix_remove=yes
11307 else
11308 ac_cv_lib_posix_remove=no
11310 rm -f core conftest.err conftest.$ac_objext \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_lib_save_LIBS
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11315 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11316 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11322 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11323 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11324 if test "x$ac_cv_func_shmat" = xyes; then :
11328 if test $ac_cv_func_shmat = no; then
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11330 $as_echo_n "checking for shmat in -lipc... " >&6; }
11331 if ${ac_cv_lib_ipc_shmat+:} false; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-lipc $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char shmat ();
11347 main ()
11349 return shmat ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_ipc_shmat=yes
11356 else
11357 ac_cv_lib_ipc_shmat=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11364 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11365 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11366 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11372 # Check for libraries that X11R6 Xt/Xaw programs need.
11373 ac_save_LDFLAGS=$LDFLAGS
11374 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11375 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11376 # check for ICE first), but we must link in the order -lSM -lICE or
11377 # we get undefined symbols. So assume we have SM if we have ICE.
11378 # These have to be linked with before -lX11, unlike the other
11379 # libraries we check for below, so use a different variable.
11380 # John Interrante, Karl Berry
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11382 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11383 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_lib_save_LIBS=$LIBS
11387 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char IceConnectionNumber ();
11399 main ()
11401 return IceConnectionNumber ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_ICE_IceConnectionNumber=yes
11408 else
11409 ac_cv_lib_ICE_IceConnectionNumber=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11416 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11417 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11418 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11421 LDFLAGS=$ac_save_LDFLAGS
11426 if test "$have_x" = "yes"
11427 then
11428 ac_save_CPPFLAGS="$CPPFLAGS"
11429 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11432 $as_echo_n "checking for -lX11... " >&6; }
11433 if ${ac_cv_lib_soname_X11+:} false; then :
11434 $as_echo_n "(cached) " >&6
11435 else
11436 ac_check_soname_save_LIBS=$LIBS
11437 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 char XCreateWindow ();
11449 main ()
11451 return XCreateWindow ();
11453 return 0;
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"; then :
11457 case "$LIBEXT" in
11458 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11459 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'` ;;
11460 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11461 if ${ac_cv_lib_soname_X11:+false} :; then :
11462 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11463 fi ;;
11464 esac
11465 else
11466 ac_cv_lib_soname_X11=
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_soname_save_LIBS
11472 if ${ac_cv_lib_soname_X11:+false} :; then :
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11474 $as_echo "not found" >&6; }
11476 else
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11478 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11480 cat >>confdefs.h <<_ACEOF
11481 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11482 _ACEOF
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11487 $as_echo_n "checking for -lXext... " >&6; }
11488 if ${ac_cv_lib_soname_Xext+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_soname_save_LIBS=$LIBS
11492 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char XextCreateExtension ();
11504 main ()
11506 return XextCreateExtension ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 case "$LIBEXT" in
11513 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11516 if ${ac_cv_lib_soname_Xext:+false} :; then :
11517 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 fi ;;
11519 esac
11520 else
11521 ac_cv_lib_soname_Xext=
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_soname_save_LIBS
11527 if ${ac_cv_lib_soname_Xext:+false} :; then :
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11529 $as_echo "not found" >&6; }
11531 else
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11533 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11535 cat >>confdefs.h <<_ACEOF
11536 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11537 _ACEOF
11539 X_LIBS="$X_LIBS -lXext"
11541 X_LIBS="$X_LIBS -lX11"
11543 for ac_header in X11/Xlib.h \
11544 X11/XKBlib.h \
11545 X11/Xutil.h \
11546 X11/Xcursor/Xcursor.h \
11547 X11/extensions/shape.h \
11548 X11/extensions/XInput.h \
11549 X11/extensions/XInput2.h \
11550 X11/extensions/XShm.h \
11551 X11/extensions/Xcomposite.h \
11552 X11/extensions/Xfixes.h \
11553 X11/extensions/Xinerama.h \
11554 X11/extensions/Xrandr.h \
11555 X11/extensions/Xrender.h \
11556 X11/extensions/xf86vmode.h \
11557 X11/extensions/xf86vmproto.h
11558 do :
11559 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11560 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11561 # include <X11/Xlib.h>
11562 #endif
11563 #ifdef HAVE_X11_XUTIL_H
11564 # include <X11/Xutil.h>
11565 #endif
11567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11568 cat >>confdefs.h <<_ACEOF
11569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11570 _ACEOF
11574 done
11577 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11578 then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11580 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11581 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_lib_save_LIBS=$LIBS
11585 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char XkbQueryExtension ();
11597 main ()
11599 return XkbQueryExtension ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 ac_cv_lib_X11_XkbQueryExtension=yes
11606 else
11607 ac_cv_lib_X11_XkbQueryExtension=no
11609 rm -f core conftest.err conftest.$ac_objext \
11610 conftest$ac_exeext conftest.$ac_ext
11611 LIBS=$ac_check_lib_save_LIBS
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11614 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11615 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11617 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11623 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11624 then
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11626 $as_echo_n "checking for -lXcursor... " >&6; }
11627 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11628 $as_echo_n "(cached) " >&6
11629 else
11630 ac_check_soname_save_LIBS=$LIBS
11631 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11638 #ifdef __cplusplus
11639 extern "C"
11640 #endif
11641 char XcursorImageLoadCursor ();
11643 main ()
11645 return XcursorImageLoadCursor ();
11647 return 0;
11649 _ACEOF
11650 if ac_fn_c_try_link "$LINENO"; then :
11651 case "$LIBEXT" in
11652 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11653 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'` ;;
11654 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11655 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11656 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11657 fi ;;
11658 esac
11659 else
11660 ac_cv_lib_soname_Xcursor=
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11670 else
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11672 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11674 cat >>confdefs.h <<_ACEOF
11675 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11676 _ACEOF
11681 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11682 case "x$with_xcursor" in
11683 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11684 xno) ;;
11685 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11686 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11687 esac
11691 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11692 then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11694 $as_echo_n "checking for -lXi... " >&6; }
11695 if ${ac_cv_lib_soname_Xi+:} false; then :
11696 $as_echo_n "(cached) " >&6
11697 else
11698 ac_check_soname_save_LIBS=$LIBS
11699 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11706 #ifdef __cplusplus
11707 extern "C"
11708 #endif
11709 char XOpenDevice ();
11711 main ()
11713 return XOpenDevice ();
11715 return 0;
11717 _ACEOF
11718 if ac_fn_c_try_link "$LINENO"; then :
11719 case "$LIBEXT" in
11720 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11721 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'` ;;
11722 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11723 if ${ac_cv_lib_soname_Xi:+false} :; then :
11724 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11725 fi ;;
11726 esac
11727 else
11728 ac_cv_lib_soname_Xi=
11730 rm -f core conftest.err conftest.$ac_objext \
11731 conftest$ac_exeext conftest.$ac_ext
11732 LIBS=$ac_check_soname_save_LIBS
11734 if ${ac_cv_lib_soname_Xi:+false} :; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11736 $as_echo "not found" >&6; }
11738 else
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11740 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11742 cat >>confdefs.h <<_ACEOF
11743 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11744 _ACEOF
11749 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11750 case "x$with_xinput" in
11751 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11752 xno) ;;
11753 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11754 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11755 esac
11759 if test "x$ac_cv_lib_soname_Xi" != x
11760 then
11761 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11762 case "x$with_xinput2" in
11763 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11764 xno) ;;
11765 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11766 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11767 esac
11772 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11773 then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11775 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11776 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 ac_check_lib_save_LIBS=$LIBS
11780 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char XShmQueryExtension ();
11792 main ()
11794 return XShmQueryExtension ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"; then :
11800 ac_cv_lib_Xext_XShmQueryExtension=yes
11801 else
11802 ac_cv_lib_Xext_XShmQueryExtension=no
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11809 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11810 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11812 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11817 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11818 case "x$with_xshm" in
11819 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11820 xno) ;;
11821 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11822 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11823 esac
11827 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11828 then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11830 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11831 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_lib_save_LIBS=$LIBS
11835 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char XShapeQueryExtension ();
11847 main ()
11849 return XShapeQueryExtension ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 ac_cv_lib_Xext_XShapeQueryExtension=yes
11856 else
11857 ac_cv_lib_Xext_XShapeQueryExtension=no
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11864 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11865 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11867 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11872 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11873 case "x$with_xshape" in
11874 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11875 xno) ;;
11876 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11877 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11878 esac
11882 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11885 $as_echo_n "checking for -lXxf86vm... " >&6; }
11886 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_soname_save_LIBS=$LIBS
11890 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char XF86VidModeQueryExtension ();
11902 main ()
11904 return XF86VidModeQueryExtension ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 case "$LIBEXT" in
11911 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11912 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'` ;;
11913 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11914 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11915 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11916 fi ;;
11917 esac
11918 else
11919 ac_cv_lib_soname_Xxf86vm=
11921 rm -f core conftest.err conftest.$ac_objext \
11922 conftest$ac_exeext conftest.$ac_ext
11923 LIBS=$ac_check_soname_save_LIBS
11925 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11927 $as_echo "not found" >&6; }
11929 else
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11931 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11933 cat >>confdefs.h <<_ACEOF
11934 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11935 _ACEOF
11940 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11941 case "x$with_xxf86vm" in
11942 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11943 xno) ;;
11944 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11945 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11946 esac
11950 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11951 then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11953 $as_echo_n "checking for -lXrender... " >&6; }
11954 if ${ac_cv_lib_soname_Xrender+:} false; then :
11955 $as_echo_n "(cached) " >&6
11956 else
11957 ac_check_soname_save_LIBS=$LIBS
11958 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11965 #ifdef __cplusplus
11966 extern "C"
11967 #endif
11968 char XRenderQueryExtension ();
11970 main ()
11972 return XRenderQueryExtension ();
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 case "$LIBEXT" in
11979 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11980 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'` ;;
11981 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11982 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11983 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11984 fi ;;
11985 esac
11986 else
11987 ac_cv_lib_soname_Xrender=
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_soname_save_LIBS
11993 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11995 $as_echo "not found" >&6; }
11997 else
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11999 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12001 cat >>confdefs.h <<_ACEOF
12002 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12003 _ACEOF
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12006 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12007 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12008 $as_echo_n "(cached) " >&6
12009 else
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char XRenderSetPictureTransform ();
12023 main ()
12025 return XRenderSetPictureTransform ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12032 else
12033 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12040 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12041 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12043 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12048 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12049 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 ac_check_lib_save_LIBS=$LIBS
12053 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char XRenderCreateLinearGradient ();
12065 main ()
12067 return XRenderCreateLinearGradient ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12074 else
12075 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12082 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12083 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12085 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12092 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12093 case "x$with_xrender" in
12094 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12095 xno) ;;
12096 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12097 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12098 esac
12102 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12103 then
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12106 #include <X11/Xlib.h>
12107 #include <X11/extensions/Xrandr.h>
12109 main ()
12111 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12113 return 0;
12115 _ACEOF
12116 if ac_fn_c_try_compile "$LINENO"; then :
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12118 $as_echo_n "checking for -lXrandr... " >&6; }
12119 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12120 $as_echo_n "(cached) " >&6
12121 else
12122 ac_check_soname_save_LIBS=$LIBS
12123 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 char XRRQueryExtension ();
12135 main ()
12137 return XRRQueryExtension ();
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_link "$LINENO"; then :
12143 case "$LIBEXT" in
12144 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12145 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'` ;;
12146 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12147 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12148 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12149 fi ;;
12150 esac
12151 else
12152 ac_cv_lib_soname_Xrandr=
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_soname_save_LIBS
12158 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12160 $as_echo "not found" >&6; }
12162 else
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12164 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12166 cat >>confdefs.h <<_ACEOF
12167 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12168 _ACEOF
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12172 #include <X11/Xlib.h>
12173 #include <X11/extensions/Xrandr.h>
12175 main ()
12177 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_compile "$LINENO"; then :
12184 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12190 #include <X11/Xlib.h>
12191 #include <X11/extensions/Xrandr.h>
12193 main ()
12195 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_compile "$LINENO"; then :
12202 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12204 else
12205 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12212 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12213 case "x$with_xrandr" in
12214 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12215 xno) ;;
12216 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12217 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12218 esac
12222 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12223 then
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #include <X11/Xlib.h>
12227 #include <X11/extensions/Xfixes.h>
12229 main ()
12231 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_compile "$LINENO"; then :
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12238 $as_echo_n "checking for -lXfixes... " >&6; }
12239 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 ac_check_soname_save_LIBS=$LIBS
12243 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 char XFixesQueryVersion ();
12255 main ()
12257 return XFixesQueryVersion ();
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_link "$LINENO"; then :
12263 case "$LIBEXT" in
12264 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12265 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'` ;;
12266 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12267 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12268 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12269 fi ;;
12270 esac
12271 else
12272 ac_cv_lib_soname_Xfixes=
12274 rm -f core conftest.err conftest.$ac_objext \
12275 conftest$ac_exeext conftest.$ac_ext
12276 LIBS=$ac_check_soname_save_LIBS
12278 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12280 $as_echo "not found" >&6; }
12282 else
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12284 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12286 cat >>confdefs.h <<_ACEOF
12287 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12288 _ACEOF
12293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12295 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12296 case "x$with_xfixes" in
12297 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12298 xno) ;;
12299 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12300 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12301 esac
12305 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12306 then
12307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12309 #include <X11/Xlib.h>
12310 #include <X11/extensions/Xinerama.h>
12312 main ()
12314 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_compile "$LINENO"; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12321 $as_echo_n "checking for -lXinerama... " >&6; }
12322 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_soname_save_LIBS=$LIBS
12326 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char XineramaQueryScreens ();
12338 main ()
12340 return XineramaQueryScreens ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 case "$LIBEXT" in
12347 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12350 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12351 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12352 fi ;;
12353 esac
12354 else
12355 ac_cv_lib_soname_Xinerama=
12357 rm -f core conftest.err conftest.$ac_objext \
12358 conftest$ac_exeext conftest.$ac_ext
12359 LIBS=$ac_check_soname_save_LIBS
12361 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12363 $as_echo "not found" >&6; }
12365 else
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12367 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12369 cat >>confdefs.h <<_ACEOF
12370 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12371 _ACEOF
12376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12378 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12379 case "x$with_xinerama" in
12380 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12381 xno) ;;
12382 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12383 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12384 esac
12388 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12389 then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12391 $as_echo_n "checking for -lXcomposite... " >&6; }
12392 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12393 $as_echo_n "(cached) " >&6
12394 else
12395 ac_check_soname_save_LIBS=$LIBS
12396 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char XCompositeRedirectWindow ();
12408 main ()
12410 return XCompositeRedirectWindow ();
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_link "$LINENO"; then :
12416 case "$LIBEXT" in
12417 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12418 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'` ;;
12419 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12420 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12421 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12422 fi ;;
12423 esac
12424 else
12425 ac_cv_lib_soname_Xcomposite=
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 LIBS=$ac_check_soname_save_LIBS
12431 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12433 $as_echo "not found" >&6; }
12435 else
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12437 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12439 cat >>confdefs.h <<_ACEOF
12440 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12441 _ACEOF
12446 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12447 case "x$with_xcomposite" in
12448 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12449 xno) ;;
12450 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12451 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12452 esac
12456 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12457 #include <X11/Xlib.h>
12458 #endif
12460 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12462 cat >>confdefs.h <<_ACEOF
12463 #define HAVE_XICCALLBACK_CALLBACK 1
12464 _ACEOF
12468 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12469 #include <X11/Xlib.h>
12470 #endif
12472 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12474 cat >>confdefs.h <<_ACEOF
12475 #define HAVE_XEVENT_XCOOKIE 1
12476 _ACEOF
12483 opengl_msg=""
12484 if test "x$with_opengl" != "xno"
12485 then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12487 $as_echo_n "checking for -lGL... " >&6; }
12488 if ${ac_cv_lib_soname_GL+:} false; then :
12489 $as_echo_n "(cached) " >&6
12490 else
12491 ac_check_soname_save_LIBS=$LIBS
12492 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 #ifdef __cplusplus
12500 extern "C"
12501 #endif
12502 char glXCreateContext ();
12504 main ()
12506 return glXCreateContext ();
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 case "$LIBEXT" in
12513 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12514 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'` ;;
12515 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12516 if ${ac_cv_lib_soname_GL:+false} :; then :
12517 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12518 fi ;;
12519 esac
12520 else
12521 ac_cv_lib_soname_GL=
12523 rm -f core conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12525 LIBS=$ac_check_soname_save_LIBS
12527 if ${ac_cv_lib_soname_GL:+false} :; then :
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12529 $as_echo "not found" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12531 $as_echo_n "checking for -lGL... " >&6; }
12532 if ${ac_cv_lib_soname_GL+:} false; then :
12533 $as_echo_n "(cached) " >&6
12534 else
12535 ac_check_soname_save_LIBS=$LIBS
12536 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"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char glXCreateContext ();
12548 main ()
12550 return glXCreateContext ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 case "$LIBEXT" in
12557 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12558 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'` ;;
12559 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12560 if ${ac_cv_lib_soname_GL:+false} :; then :
12561 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12562 fi ;;
12563 esac
12564 else
12565 ac_cv_lib_soname_GL=
12567 rm -f core conftest.err conftest.$ac_objext \
12568 conftest$ac_exeext conftest.$ac_ext
12569 LIBS=$ac_check_soname_save_LIBS
12571 if ${ac_cv_lib_soname_GL:+false} :; then :
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12573 $as_echo "not found" >&6; }
12574 if test -f /usr/X11R6/lib/libGL.a
12575 then
12576 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12577 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12578 else
12579 opengl_msg="No OpenGL library found on this system."
12581 else
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12583 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12585 cat >>confdefs.h <<_ACEOF
12586 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12587 _ACEOF
12589 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"
12591 else
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12593 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12595 cat >>confdefs.h <<_ACEOF
12596 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12597 _ACEOF
12599 OPENGL_LIBS="-lGL"
12601 if test "x$with_glu" != "xno"
12602 then
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12604 $as_echo_n "checking for -lGLU... " >&6; }
12605 if ${ac_cv_lib_soname_GLU+:} false; then :
12606 $as_echo_n "(cached) " >&6
12607 else
12608 ac_check_soname_save_LIBS=$LIBS
12609 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char gluLookAt ();
12621 main ()
12623 return gluLookAt ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 case "$LIBEXT" in
12630 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12631 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'` ;;
12632 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12633 if ${ac_cv_lib_soname_GLU:+false} :; then :
12634 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12635 fi ;;
12636 esac
12637 else
12638 ac_cv_lib_soname_GLU=
12640 rm -f core conftest.err conftest.$ac_objext \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_soname_save_LIBS
12644 if ${ac_cv_lib_soname_GLU:+false} :; then :
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12646 $as_echo "not found" >&6; }
12648 else
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12650 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12652 cat >>confdefs.h <<_ACEOF
12653 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12654 _ACEOF
12658 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12659 case "x$with_glu" in
12660 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12661 xno) ;;
12662 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12663 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12664 esac
12669 if test "x$with_osmesa" != "xno"
12670 then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12672 $as_echo_n "checking for -lOSMesa... " >&6; }
12673 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12674 $as_echo_n "(cached) " >&6
12675 else
12676 ac_check_soname_save_LIBS=$LIBS
12677 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12684 #ifdef __cplusplus
12685 extern "C"
12686 #endif
12687 char OSMesaGetProcAddress ();
12689 main ()
12691 return OSMesaGetProcAddress ();
12693 return 0;
12695 _ACEOF
12696 if ac_fn_c_try_link "$LINENO"; then :
12697 case "$LIBEXT" in
12698 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12699 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'` ;;
12700 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12701 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12702 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12703 fi ;;
12704 esac
12705 else
12706 ac_cv_lib_soname_OSMesa=
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_soname_save_LIBS
12712 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12714 $as_echo "not found" >&6; }
12716 else
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12718 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12720 cat >>confdefs.h <<_ACEOF
12721 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12722 _ACEOF
12726 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12727 case "x$with_osmesa" in
12728 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12729 xno) ;;
12730 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12731 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12732 esac
12737 if test -n "$opengl_msg"; then :
12738 case "x$with_opengl" in
12739 x) as_fn_append wine_warnings "|$opengl_msg
12740 OpenGL and Direct3D won't be supported." ;;
12741 xno) ;;
12742 *) as_fn_error $? "$opengl_msg
12743 OpenGL and Direct3D won't be supported.
12744 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12745 esac
12749 CPPFLAGS="$ac_save_CPPFLAGS"
12750 else
12751 X_CFLAGS=""
12752 X_LIBS=""
12755 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12756 then
12757 if test "x$X_LIBS" = "x"; then :
12758 case "x$with_x" in
12759 xno) ;;
12760 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12761 without X support, which probably isn't what you want. You will need
12762 to install ${notice_platform}development packages of Xlib at the very least.
12763 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12764 esac
12765 enable_winex11_drv=${enable_winex11_drv:-no}
12767 else
12768 if test "x$X_LIBS" = "x"; then :
12769 case "x$with_x" in
12770 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12771 xno) ;;
12772 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12773 This is an error since --with-x was requested." "$LINENO" 5 ;;
12774 esac
12775 enable_winex11_drv=${enable_winex11_drv:-no}
12779 if test "$ac_cv_header_CL_cl_h" = "yes"
12780 then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12782 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12783 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12784 $as_echo_n "(cached) " >&6
12785 else
12786 ac_check_lib_save_LIBS=$LIBS
12787 LIBS="-lOpenCL $LIBS"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12794 #ifdef __cplusplus
12795 extern "C"
12796 #endif
12797 char clGetPlatformInfo ();
12799 main ()
12801 return clGetPlatformInfo ();
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_link "$LINENO"; then :
12807 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12808 else
12809 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12811 rm -f core conftest.err conftest.$ac_objext \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LIBS=$ac_check_lib_save_LIBS
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12816 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12817 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12818 OPENCL_LIBS="-lOpenCL"
12823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12824 case "x$with_opencl" in
12825 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12826 xno) ;;
12827 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12828 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12829 esac
12830 enable_opencl=${enable_opencl:-no}
12833 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12834 then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12836 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12837 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12838 $as_echo_n "(cached) " >&6
12839 else
12840 ac_check_lib_save_LIBS=$LIBS
12841 LIBS="-lpcap $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 #ifdef __cplusplus
12849 extern "C"
12850 #endif
12851 char pcap_create ();
12853 main ()
12855 return pcap_create ();
12857 return 0;
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 ac_cv_lib_pcap_pcap_create=yes
12862 else
12863 ac_cv_lib_pcap_pcap_create=no
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 LIBS=$ac_check_lib_save_LIBS
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12870 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12871 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12872 PCAP_LIBS="-lpcap"
12877 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12878 case "x$with_pcap" in
12879 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12880 xno) ;;
12881 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12882 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12883 esac
12884 enable_wpcap=${enable_wpcap:-no}
12888 if test "x$with_xml" != "xno"
12889 then
12890 if ${XML2_CFLAGS:+false} :; then :
12891 if ${PKG_CONFIG+:} false; then :
12892 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12895 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12896 if ${XML2_LIBS:+false} :; then :
12897 if ${PKG_CONFIG+:} false; then :
12898 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12901 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12902 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12903 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12904 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12905 ac_save_CPPFLAGS=$CPPFLAGS
12906 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12907 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12908 do :
12909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12910 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12912 cat >>confdefs.h <<_ACEOF
12913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12914 _ACEOF
12918 done
12920 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"
12921 then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12923 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12924 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12925 $as_echo_n "(cached) " >&6
12926 else
12927 ac_check_lib_save_LIBS=$LIBS
12928 LIBS="-lxml2 $XML2_LIBS $LIBS"
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12935 #ifdef __cplusplus
12936 extern "C"
12937 #endif
12938 char xmlParseMemory ();
12940 main ()
12942 return xmlParseMemory ();
12944 return 0;
12946 _ACEOF
12947 if ac_fn_c_try_link "$LINENO"; then :
12948 ac_cv_lib_xml2_xmlParseMemory=yes
12949 else
12950 ac_cv_lib_xml2_xmlParseMemory=no
12952 rm -f core conftest.err conftest.$ac_objext \
12953 conftest$ac_exeext conftest.$ac_ext
12954 LIBS=$ac_check_lib_save_LIBS
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12957 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12958 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12960 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12962 else
12963 XML2_LIBS=""
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12967 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12968 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12969 $as_echo_n "(cached) " >&6
12970 else
12971 ac_check_lib_save_LIBS=$LIBS
12972 LIBS="-lxml2 $XML2_LIBS $LIBS"
12973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12979 #ifdef __cplusplus
12980 extern "C"
12981 #endif
12982 char xmlReadMemory ();
12984 main ()
12986 return xmlReadMemory ();
12988 return 0;
12990 _ACEOF
12991 if ac_fn_c_try_link "$LINENO"; then :
12992 ac_cv_lib_xml2_xmlReadMemory=yes
12993 else
12994 ac_cv_lib_xml2_xmlReadMemory=no
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_lib_save_LIBS
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13001 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13002 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13004 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13009 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13010 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 ac_check_lib_save_LIBS=$LIBS
13014 LIBS="-lxml2 $XML2_LIBS $LIBS"
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13021 #ifdef __cplusplus
13022 extern "C"
13023 #endif
13024 char xmlNewDocPI ();
13026 main ()
13028 return xmlNewDocPI ();
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_link "$LINENO"; then :
13034 ac_cv_lib_xml2_xmlNewDocPI=yes
13035 else
13036 ac_cv_lib_xml2_xmlNewDocPI=no
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_lib_save_LIBS
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13043 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13044 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13046 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13051 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13052 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13053 $as_echo_n "(cached) " >&6
13054 else
13055 ac_check_lib_save_LIBS=$LIBS
13056 LIBS="-lxml2 $XML2_LIBS $LIBS"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13063 #ifdef __cplusplus
13064 extern "C"
13065 #endif
13066 char xmlSchemaSetParserStructuredErrors ();
13068 main ()
13070 return xmlSchemaSetParserStructuredErrors ();
13072 return 0;
13074 _ACEOF
13075 if ac_fn_c_try_link "$LINENO"; then :
13076 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13077 else
13078 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13080 rm -f core conftest.err conftest.$ac_objext \
13081 conftest$ac_exeext conftest.$ac_ext
13082 LIBS=$ac_check_lib_save_LIBS
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13085 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13086 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13088 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13093 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13094 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13095 $as_echo_n "(cached) " >&6
13096 else
13097 ac_check_lib_save_LIBS=$LIBS
13098 LIBS="-lxml2 $XML2_LIBS $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 #ifdef __cplusplus
13106 extern "C"
13107 #endif
13108 char xmlSchemaSetValidStructuredErrors ();
13110 main ()
13112 return xmlSchemaSetValidStructuredErrors ();
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_link "$LINENO"; then :
13118 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13119 else
13120 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13122 rm -f core conftest.err conftest.$ac_objext \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_lib_save_LIBS
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13127 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13128 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13130 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13135 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13136 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13137 $as_echo_n "(cached) " >&6
13138 else
13139 ac_check_lib_save_LIBS=$LIBS
13140 LIBS="-lxml2 $XML2_LIBS $LIBS"
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13147 #ifdef __cplusplus
13148 extern "C"
13149 #endif
13150 char xmlFirstElementChild ();
13152 main ()
13154 return xmlFirstElementChild ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"; then :
13160 ac_cv_lib_xml2_xmlFirstElementChild=yes
13161 else
13162 ac_cv_lib_xml2_xmlFirstElementChild=no
13164 rm -f core conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_lib_save_LIBS
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13169 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13170 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13172 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13176 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13178 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13180 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13184 else
13185 XML2_CFLAGS=""
13186 XML2_LIBS=""
13188 CPPFLAGS=$ac_save_CPPFLAGS
13189 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13190 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13193 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13194 case "x$with_xml" in
13195 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13196 xno) ;;
13197 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13198 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13199 esac
13203 if test "x$with_xslt" != "xno"
13204 then
13205 if ${XSLT_CFLAGS:+false} :; then :
13206 if ${PKG_CONFIG+:} false; then :
13207 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13210 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13211 if ${XSLT_LIBS:+false} :; then :
13212 if ${PKG_CONFIG+:} false; then :
13213 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13216 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13217 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13219 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13220 ac_save_CPPFLAGS=$CPPFLAGS
13221 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13222 for ac_header in libxslt/pattern.h libxslt/transform.h
13223 do :
13224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13225 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13226 # include <libxslt/pattern.h>
13227 #endif
13229 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13230 cat >>confdefs.h <<_ACEOF
13231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13232 _ACEOF
13236 done
13238 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13239 then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13241 $as_echo_n "checking for -lxslt... " >&6; }
13242 if ${ac_cv_lib_soname_xslt+:} false; then :
13243 $as_echo_n "(cached) " >&6
13244 else
13245 ac_check_soname_save_LIBS=$LIBS
13246 LIBS="-lxslt $XSLT_LIBS $LIBS"
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 /* Override any GCC internal prototype to avoid an error.
13251 Use char because int might match the return type of a GCC
13252 builtin and then its argument prototype would still apply. */
13253 #ifdef __cplusplus
13254 extern "C"
13255 #endif
13256 char xsltCompilePattern ();
13258 main ()
13260 return xsltCompilePattern ();
13262 return 0;
13264 _ACEOF
13265 if ac_fn_c_try_link "$LINENO"; then :
13266 case "$LIBEXT" in
13267 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13268 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'` ;;
13269 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13270 if ${ac_cv_lib_soname_xslt:+false} :; then :
13271 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13272 fi ;;
13273 esac
13274 else
13275 ac_cv_lib_soname_xslt=
13277 rm -f core conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 LIBS=$ac_check_soname_save_LIBS
13281 if ${ac_cv_lib_soname_xslt:+false} :; then :
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13283 $as_echo "not found" >&6; }
13285 else
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13287 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13289 cat >>confdefs.h <<_ACEOF
13290 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13291 _ACEOF
13295 else
13296 XSLT_CFLAGS=""
13298 CPPFLAGS=$ac_save_CPPFLAGS
13299 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13300 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13303 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13304 case "x$with_xslt" in
13305 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13306 xno) ;;
13307 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13308 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13309 esac
13313 if test "x$with_inotify" != "xno"
13314 then
13315 if ${INOTIFY_CFLAGS:+false} :; then :
13316 if ${PKG_CONFIG+:} false; then :
13317 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13321 if ${INOTIFY_LIBS:+false} :; then :
13322 if ${PKG_CONFIG+:} false; then :
13323 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13328 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13329 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13330 ac_save_CPPFLAGS=$CPPFLAGS
13331 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13332 for ac_header in sys/inotify.h
13333 do :
13334 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13335 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13336 cat >>confdefs.h <<_ACEOF
13337 #define HAVE_SYS_INOTIFY_H 1
13338 _ACEOF
13342 done
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13345 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13346 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_lib_save_LIBS=$LIBS
13350 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char inotify_add_watch ();
13362 main ()
13364 return inotify_add_watch ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 ac_cv_lib_inotify_inotify_add_watch=yes
13371 else
13372 ac_cv_lib_inotify_inotify_add_watch=no
13374 rm -f core conftest.err conftest.$ac_objext \
13375 conftest$ac_exeext conftest.$ac_ext
13376 LIBS=$ac_check_lib_save_LIBS
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13379 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13380 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13382 else
13383 INOTIFY_LIBS=""
13386 CPPFLAGS=$ac_save_CPPFLAGS
13387 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13388 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13391 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13392 case "x$with_inotify" in
13393 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13396 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13397 esac
13401 if test "x$with_dbus" != "xno"
13402 then
13403 if ${DBUS_CFLAGS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13409 if ${DBUS_LIBS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13416 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13417 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13418 ac_save_CPPFLAGS=$CPPFLAGS
13419 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13420 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13421 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13423 $as_echo_n "checking for -ldbus-1... " >&6; }
13424 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13425 $as_echo_n "(cached) " >&6
13426 else
13427 ac_check_soname_save_LIBS=$LIBS
13428 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13432 /* Override any GCC internal prototype to avoid an error.
13433 Use char because int might match the return type of a GCC
13434 builtin and then its argument prototype would still apply. */
13435 #ifdef __cplusplus
13436 extern "C"
13437 #endif
13438 char dbus_connection_close ();
13440 main ()
13442 return dbus_connection_close ();
13444 return 0;
13446 _ACEOF
13447 if ac_fn_c_try_link "$LINENO"; then :
13448 case "$LIBEXT" in
13449 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13450 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'` ;;
13451 *) 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'`
13452 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13453 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13454 fi ;;
13455 esac
13456 else
13457 ac_cv_lib_soname_dbus_1=
13459 rm -f core conftest.err conftest.$ac_objext \
13460 conftest$ac_exeext conftest.$ac_ext
13461 LIBS=$ac_check_soname_save_LIBS
13463 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13465 $as_echo "not found" >&6; }
13466 DBUS_CFLAGS=""
13467 else
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13469 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13471 cat >>confdefs.h <<_ACEOF
13472 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13473 _ACEOF
13477 else
13478 DBUS_CFLAGS=""
13482 CPPFLAGS=$ac_save_CPPFLAGS
13483 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13484 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13487 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13488 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13489 case "x$with_dbus" in
13490 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13491 xno) ;;
13492 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13493 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13494 esac
13498 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13499 then
13500 if ${HAL_CFLAGS:+false} :; then :
13501 if ${PKG_CONFIG+:} false; then :
13502 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13506 if ${HAL_LIBS:+false} :; then :
13507 if ${PKG_CONFIG+:} false; then :
13508 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13512 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13513 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13514 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13515 ac_save_CPPFLAGS=$CPPFLAGS
13516 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13517 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13518 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13520 $as_echo_n "checking for -lhal... " >&6; }
13521 if ${ac_cv_lib_soname_hal+:} false; then :
13522 $as_echo_n "(cached) " >&6
13523 else
13524 ac_check_soname_save_LIBS=$LIBS
13525 LIBS="-lhal $HAL_LIBS $LIBS"
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13529 /* Override any GCC internal prototype to avoid an error.
13530 Use char because int might match the return type of a GCC
13531 builtin and then its argument prototype would still apply. */
13532 #ifdef __cplusplus
13533 extern "C"
13534 #endif
13535 char libhal_ctx_new ();
13537 main ()
13539 return libhal_ctx_new ();
13541 return 0;
13543 _ACEOF
13544 if ac_fn_c_try_link "$LINENO"; then :
13545 case "$LIBEXT" in
13546 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13547 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'` ;;
13548 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13549 if ${ac_cv_lib_soname_hal:+false} :; then :
13550 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13551 fi ;;
13552 esac
13553 else
13554 ac_cv_lib_soname_hal=
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 LIBS=$ac_check_soname_save_LIBS
13560 if ${ac_cv_lib_soname_hal:+false} :; then :
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13562 $as_echo "not found" >&6; }
13563 HAL_CFLAGS=""
13564 else
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13566 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13568 cat >>confdefs.h <<_ACEOF
13569 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13570 _ACEOF
13574 else
13575 HAL_CFLAGS=""
13579 CPPFLAGS=$ac_save_CPPFLAGS
13580 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13581 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13583 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13584 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13585 case "x$with_hal" in
13586 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13587 xno) ;;
13588 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13589 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13590 esac
13595 if test "x$with_gnutls" != "xno"
13596 then
13597 if ${GNUTLS_CFLAGS:+false} :; then :
13598 if ${PKG_CONFIG+:} false; then :
13599 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13603 if ${GNUTLS_LIBS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13609 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13612 ac_save_CPPFLAGS=$CPPFLAGS
13613 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13614 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13615 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 #include <gnutls/gnutls.h>
13619 #include <gnutls/crypto.h>
13621 main ()
13623 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13625 return 0;
13627 _ACEOF
13628 if ac_fn_c_try_compile "$LINENO"; then :
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13630 $as_echo_n "checking for -lgnutls... " >&6; }
13631 if ${ac_cv_lib_soname_gnutls+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_soname_save_LIBS=$LIBS
13635 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char gnutls_global_init ();
13647 main ()
13649 return gnutls_global_init ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 case "$LIBEXT" in
13656 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13657 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'` ;;
13658 *) 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'`
13659 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13660 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'`
13661 fi ;;
13662 esac
13663 else
13664 ac_cv_lib_soname_gnutls=
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_soname_save_LIBS
13670 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13672 $as_echo "not found" >&6; }
13673 GNUTLS_CFLAGS=""
13674 else
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13676 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13678 cat >>confdefs.h <<_ACEOF
13679 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13680 _ACEOF
13684 ac_wine_check_funcs_save_LIBS="$LIBS"
13685 LIBS="$LIBS $GNUTLS_LIBS"
13686 for ac_func in gnutls_cipher_init
13687 do :
13688 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13689 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13690 cat >>confdefs.h <<_ACEOF
13691 #define HAVE_GNUTLS_CIPHER_INIT 1
13692 _ACEOF
13694 else
13695 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13697 done
13699 LIBS="$ac_wine_check_funcs_save_LIBS"
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 else
13703 GNUTLS_CFLAGS=""
13707 CPPFLAGS=$ac_save_CPPFLAGS
13708 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13709 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13712 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13713 case "x$with_gnutls" in
13714 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13715 xno) ;;
13716 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13717 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13718 esac
13722 CURSES_LIBS=""
13723 if test "$ac_cv_header_ncurses_h" = "yes"
13724 then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13726 $as_echo_n "checking for -lncurses... " >&6; }
13727 if ${ac_cv_lib_soname_ncurses+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_soname_save_LIBS=$LIBS
13731 LIBS="-lncurses $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char waddch ();
13743 main ()
13745 return waddch ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 case "$LIBEXT" in
13752 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13753 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'` ;;
13754 *) 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'`
13755 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13756 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13757 fi ;;
13758 esac
13759 else
13760 ac_cv_lib_soname_ncurses=
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_soname_save_LIBS
13766 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13768 $as_echo "not found" >&6; }
13770 else
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13772 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13774 cat >>confdefs.h <<_ACEOF
13775 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13776 _ACEOF
13778 CURSES_LIBS="-lncurses"
13780 elif test "$ac_cv_header_curses_h" = "yes"
13781 then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13783 $as_echo_n "checking for -lcurses... " >&6; }
13784 if ${ac_cv_lib_soname_curses+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_check_soname_save_LIBS=$LIBS
13788 LIBS="-lcurses $LIBS"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 /* Override any GCC internal prototype to avoid an error.
13793 Use char because int might match the return type of a GCC
13794 builtin and then its argument prototype would still apply. */
13795 #ifdef __cplusplus
13796 extern "C"
13797 #endif
13798 char waddch ();
13800 main ()
13802 return waddch ();
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"; then :
13808 case "$LIBEXT" in
13809 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13810 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'` ;;
13811 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13812 if ${ac_cv_lib_soname_curses:+false} :; then :
13813 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13814 fi ;;
13815 esac
13816 else
13817 ac_cv_lib_soname_curses=
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_soname_save_LIBS
13823 if ${ac_cv_lib_soname_curses:+false} :; then :
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13825 $as_echo "not found" >&6; }
13827 else
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13829 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13831 cat >>confdefs.h <<_ACEOF
13832 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13833 _ACEOF
13835 CURSES_LIBS="-lcurses"
13838 ac_save_LIBS="$LIBS"
13839 LIBS="$LIBS $CURSES_LIBS"
13840 for ac_func in mousemask
13841 do :
13842 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13843 if test "x$ac_cv_func_mousemask" = xyes; then :
13844 cat >>confdefs.h <<_ACEOF
13845 #define HAVE_MOUSEMASK 1
13846 _ACEOF
13849 done
13851 LIBS="$ac_save_LIBS"
13852 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13853 case "x$with_curses" in
13854 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13855 xno) ;;
13856 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13857 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13858 esac
13862 if test "x$with_sane" != "xno"
13863 then
13864 if ${SANE_CFLAGS:+false} :; then :
13865 if ${PKG_CONFIG+:} false; then :
13866 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13869 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13870 if ${SANE_LIBS:+false} :; then :
13871 if ${PKG_CONFIG+:} false; then :
13872 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13875 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13877 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13878 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13879 ac_save_CPPFLAGS=$CPPFLAGS
13880 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13881 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13882 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13884 $as_echo_n "checking for -lsane... " >&6; }
13885 if ${ac_cv_lib_soname_sane+:} false; then :
13886 $as_echo_n "(cached) " >&6
13887 else
13888 ac_check_soname_save_LIBS=$LIBS
13889 LIBS="-lsane $SANE_LIBS $LIBS"
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13893 /* Override any GCC internal prototype to avoid an error.
13894 Use char because int might match the return type of a GCC
13895 builtin and then its argument prototype would still apply. */
13896 #ifdef __cplusplus
13897 extern "C"
13898 #endif
13899 char sane_init ();
13901 main ()
13903 return sane_init ();
13905 return 0;
13907 _ACEOF
13908 if ac_fn_c_try_link "$LINENO"; then :
13909 case "$LIBEXT" in
13910 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13911 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'` ;;
13912 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13913 if ${ac_cv_lib_soname_sane:+false} :; then :
13914 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13915 fi ;;
13916 esac
13917 else
13918 ac_cv_lib_soname_sane=
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_soname_save_LIBS
13924 if ${ac_cv_lib_soname_sane:+false} :; then :
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13926 $as_echo "not found" >&6; }
13927 SANE_CFLAGS=""
13928 else
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13930 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13932 cat >>confdefs.h <<_ACEOF
13933 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13934 _ACEOF
13938 else
13939 SANE_CFLAGS=""
13943 CPPFLAGS=$ac_save_CPPFLAGS
13944 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13945 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13948 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13949 case "x$with_sane" in
13950 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13951 xno) ;;
13952 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13953 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13954 esac
13958 if test "x$with_usb" != "xno"
13959 then
13960 if ${USB_CFLAGS:+false} :; then :
13961 if ${PKG_CONFIG+:} false; then :
13962 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13966 if ${USB_LIBS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13972 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13974 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13975 ac_save_CPPFLAGS=$CPPFLAGS
13976 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13977 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13978 if test "x$ac_cv_header_libusb_h" = xyes; then :
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13980 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13981 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_check_lib_save_LIBS=$LIBS
13985 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 char libusb_interrupt_event_handler ();
13997 main ()
13999 return libusb_interrupt_event_handler ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14006 else
14007 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_lib_save_LIBS
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14014 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14015 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14017 else
14018 USB_LIBS=""
14021 else
14022 USB_LIBS=""
14026 CPPFLAGS=$ac_save_CPPFLAGS
14027 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14028 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14031 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14032 case "x$with_usb" in
14033 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14034 xno) ;;
14035 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14036 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14037 esac
14038 enable_wineusb_sys=${enable_wineusb_sys:-no}
14041 if test "x$with_v4l2" != "xno"
14042 then
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14044 $as_echo_n "checking for -lv4l2... " >&6; }
14045 if ${ac_cv_lib_soname_v4l2+:} false; then :
14046 $as_echo_n "(cached) " >&6
14047 else
14048 ac_check_soname_save_LIBS=$LIBS
14049 LIBS="-lv4l2 $LIBS"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14056 #ifdef __cplusplus
14057 extern "C"
14058 #endif
14059 char v4l2_open ();
14061 main ()
14063 return v4l2_open ();
14065 return 0;
14067 _ACEOF
14068 if ac_fn_c_try_link "$LINENO"; then :
14069 case "$LIBEXT" in
14070 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14071 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'` ;;
14072 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14073 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14074 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14075 fi ;;
14076 esac
14077 else
14078 ac_cv_lib_soname_v4l2=
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_soname_save_LIBS
14084 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14086 $as_echo "not found" >&6; }
14088 else
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14090 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14092 cat >>confdefs.h <<_ACEOF
14093 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14094 _ACEOF
14099 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14100 case "x$with_v4l2" in
14101 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14102 xno) ;;
14103 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14104 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14105 esac
14109 if test "x$with_gphoto" != "xno"
14110 then
14111 if ${GPHOTO2_CFLAGS:+false} :; then :
14112 if ${PKG_CONFIG+:} false; then :
14113 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14116 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14117 if ${GPHOTO2_LIBS:+false} :; then :
14118 if ${PKG_CONFIG+:} false; then :
14119 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14122 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14123 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14124 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14125 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14126 ac_save_CPPFLAGS=$CPPFLAGS
14127 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14128 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14129 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14131 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14132 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_check_lib_save_LIBS=$LIBS
14136 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14140 /* Override any GCC internal prototype to avoid an error.
14141 Use char because int might match the return type of a GCC
14142 builtin and then its argument prototype would still apply. */
14143 #ifdef __cplusplus
14144 extern "C"
14145 #endif
14146 char gp_camera_new ();
14148 main ()
14150 return gp_camera_new ();
14152 return 0;
14154 _ACEOF
14155 if ac_fn_c_try_link "$LINENO"; then :
14156 ac_cv_lib_gphoto2_gp_camera_new=yes
14157 else
14158 ac_cv_lib_gphoto2_gp_camera_new=no
14160 rm -f core conftest.err conftest.$ac_objext \
14161 conftest$ac_exeext conftest.$ac_ext
14162 LIBS=$ac_check_lib_save_LIBS
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14165 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14166 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14168 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14170 else
14171 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14174 else
14175 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14179 CPPFLAGS=$ac_save_CPPFLAGS
14180 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14181 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14183 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14184 if ${PKG_CONFIG+:} false; then :
14185 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14188 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14189 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14190 if ${PKG_CONFIG+:} false; then :
14191 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14194 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14195 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14196 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14197 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14198 ac_save_CPPFLAGS=$CPPFLAGS
14199 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14200 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14201 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14203 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14204 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 ac_check_lib_save_LIBS=$LIBS
14208 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 /* Override any GCC internal prototype to avoid an error.
14213 Use char because int might match the return type of a GCC
14214 builtin and then its argument prototype would still apply. */
14215 #ifdef __cplusplus
14216 extern "C"
14217 #endif
14218 char gp_port_info_list_new ();
14220 main ()
14222 return gp_port_info_list_new ();
14224 return 0;
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14228 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14229 else
14230 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14232 rm -f core conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 LIBS=$ac_check_lib_save_LIBS
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14237 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14238 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14240 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14242 else
14243 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14246 else
14247 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14251 CPPFLAGS=$ac_save_CPPFLAGS
14252 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14253 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14256 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14257 case "x$with_gphoto" in
14258 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14259 xno) ;;
14260 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14261 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14262 esac
14265 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14266 case "x$with_gphoto" in
14267 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14268 xno) ;;
14269 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14270 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14271 esac
14276 if test "$ac_cv_header_resolv_h" = "yes"
14277 then
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14279 $as_echo_n "checking for resolver library... " >&6; }
14280 if ${ac_cv_have_resolv+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_save_LIBS="$LIBS"
14284 for lib in '' -lresolv
14286 LIBS="$lib $ac_save_LIBS"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 #ifdef HAVE_NETINET_IN_H
14290 #include <netinet/in.h>
14291 #endif
14292 #include <resolv.h>
14294 main ()
14296 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"; then :
14302 ac_cv_have_resolv=${lib:-"none required"}
14303 else
14304 ac_cv_have_resolv="not found"
14306 rm -f core conftest.err conftest.$ac_objext \
14307 conftest$ac_exeext conftest.$ac_ext
14308 test "x$ac_cv_have_resolv" = "xnot found" || break
14309 done
14310 LIBS="$ac_save_LIBS"
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14313 $as_echo "$ac_cv_have_resolv" >&6; }
14315 case "$ac_cv_have_resolv" in
14316 "not found") ;;
14317 "none required")
14319 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14322 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14324 RESOLV_LIBS=$ac_cv_have_resolv
14326 esac
14328 if test "x$ac_cv_have_resolv" != "xnot found"
14329 then
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14331 $as_echo_n "checking for res_getservers... " >&6; }
14332 if ${ac_cv_have_res_getservers+:} false; then :
14333 $as_echo_n "(cached) " >&6
14334 else
14335 ac_save_LIBS="$LIBS"
14336 LIBS="$RESOLV_LIBS $LIBS"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <resolv.h>
14341 main ()
14343 res_getservers(NULL, NULL, 0);
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_have_res_getservers=yes
14350 else
14351 ac_cv_have_res_getservers=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 LIBS="$ac_save_LIBS"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14358 $as_echo "$ac_cv_have_res_getservers" >&6; }
14359 if test "$ac_cv_have_res_getservers" = "yes"
14360 then
14362 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14368 if test "x$with_cms" != "xno"
14369 then
14370 if ${LCMS2_CFLAGS:+false} :; then :
14371 if ${PKG_CONFIG+:} false; then :
14372 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14376 if ${LCMS2_LIBS:+false} :; then :
14377 if ${PKG_CONFIG+:} false; then :
14378 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14382 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14383 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14384 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14385 ac_save_CPPFLAGS=$CPPFLAGS
14386 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14387 for ac_header in lcms2.h
14388 do :
14389 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14390 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14391 cat >>confdefs.h <<_ACEOF
14392 #define HAVE_LCMS2_H 1
14393 _ACEOF
14397 done
14399 if test "$ac_cv_header_lcms2_h" = "yes"
14400 then
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14402 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14403 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_check_lib_save_LIBS=$LIBS
14407 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 /* Override any GCC internal prototype to avoid an error.
14412 Use char because int might match the return type of a GCC
14413 builtin and then its argument prototype would still apply. */
14414 #ifdef __cplusplus
14415 extern "C"
14416 #endif
14417 char cmsOpenProfileFromFile ();
14419 main ()
14421 return cmsOpenProfileFromFile ();
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14428 else
14429 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 LIBS=$ac_check_lib_save_LIBS
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14436 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14437 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14439 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14441 else
14442 LCMS2_LIBS=""
14445 else
14446 LCMS2_CFLAGS=""
14447 LCMS2_LIBS=""
14449 CPPFLAGS=$ac_save_CPPFLAGS
14450 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14451 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14454 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14455 case "x$with_cms" in
14456 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14457 xno) ;;
14458 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14459 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14460 esac
14464 if test "x$with_freetype" != "xno"
14465 then
14466 if ${FREETYPE_CFLAGS:+false} :; then :
14467 if ${PKG_CONFIG+:} false; then :
14468 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14471 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14472 if ${FREETYPE_LIBS:+false} :; then :
14473 if ${PKG_CONFIG+:} false; then :
14474 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14477 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14478 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14479 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14480 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14481 ac_save_CPPFLAGS=$CPPFLAGS
14482 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14483 for ac_header in ft2build.h
14484 do :
14485 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14486 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14487 cat >>confdefs.h <<_ACEOF
14488 #define HAVE_FT2BUILD_H 1
14489 _ACEOF
14493 done
14495 if test "$ac_cv_header_ft2build_h" = "yes"
14496 then
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14498 $as_echo_n "checking for -lfreetype... " >&6; }
14499 if ${ac_cv_lib_soname_freetype+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_check_soname_save_LIBS=$LIBS
14503 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 #ifdef __cplusplus
14511 extern "C"
14512 #endif
14513 char FT_Init_FreeType ();
14515 main ()
14517 return FT_Init_FreeType ();
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"; then :
14523 case "$LIBEXT" in
14524 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14525 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'` ;;
14526 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14527 if ${ac_cv_lib_soname_freetype:+false} :; then :
14528 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14529 fi ;;
14530 esac
14531 else
14532 ac_cv_lib_soname_freetype=
14534 rm -f core conftest.err conftest.$ac_objext \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_check_soname_save_LIBS
14538 if ${ac_cv_lib_soname_freetype:+false} :; then :
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14540 $as_echo "not found" >&6; }
14541 FREETYPE_LIBS=""
14542 else
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14544 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14546 cat >>confdefs.h <<_ACEOF
14547 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14548 _ACEOF
14551 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14553 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14554 #include FT_MODULE_H
14556 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14558 cat >>confdefs.h <<_ACEOF
14559 #define HAVE_FT_TRUETYPEENGINETYPE 1
14560 _ACEOF
14566 else
14567 FREETYPE_CFLAGS=""
14568 FREETYPE_LIBS=""
14570 CPPFLAGS=$ac_save_CPPFLAGS
14571 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14572 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14575 if test "x$ac_cv_lib_soname_freetype" = x; then :
14576 case "x$with_freetype" in
14577 xno) ;;
14578 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14579 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14580 esac
14581 enable_fonts=${enable_fonts:-no}
14584 ac_wine_check_funcs_save_LIBS="$LIBS"
14585 LIBS="$LIBS $PTHREAD_LIBS"
14586 for ac_func in \
14587 pthread_getthreadid_np
14588 do :
14589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14592 cat >>confdefs.h <<_ACEOF
14593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14594 _ACEOF
14597 done
14599 LIBS="$ac_wine_check_funcs_save_LIBS"
14601 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14602 then
14603 if test "$ac_cv_header_gettext_po_h" = "yes"
14604 then
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14606 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14607 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14608 $as_echo_n "(cached) " >&6
14609 else
14610 ac_check_lib_save_LIBS=$LIBS
14611 LIBS="-lgettextpo $LIBS"
14612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14615 /* Override any GCC internal prototype to avoid an error.
14616 Use char because int might match the return type of a GCC
14617 builtin and then its argument prototype would still apply. */
14618 #ifdef __cplusplus
14619 extern "C"
14620 #endif
14621 char po_message_msgctxt ();
14623 main ()
14625 return po_message_msgctxt ();
14627 return 0;
14629 _ACEOF
14630 if ac_fn_c_try_link "$LINENO"; then :
14631 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14632 else
14633 ac_cv_lib_gettextpo_po_message_msgctxt=no
14635 rm -f core conftest.err conftest.$ac_objext \
14636 conftest$ac_exeext conftest.$ac_ext
14637 LIBS=$ac_check_lib_save_LIBS
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14640 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14641 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14643 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14645 GETTEXTPO_LIBS="-lgettextpo"
14650 if test "x$GETTEXTPO_LIBS" = "x"; then :
14651 case "x$with_gettextpo" in
14652 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14653 xno) ;;
14654 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14655 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14656 esac
14659 if test "$srcdir" != .; then :
14660 case "x$with_gettextpo" in
14661 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14662 xno) ;;
14663 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14664 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14665 esac
14670 if test "x$with_pulse" != "xno";
14671 then
14672 if ${PULSE_CFLAGS:+false} :; then :
14673 if ${PKG_CONFIG+:} false; then :
14674 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14678 if ${PULSE_LIBS:+false} :; then :
14679 if ${PKG_CONFIG+:} false; then :
14680 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14685 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14686 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14687 ac_save_CPPFLAGS=$CPPFLAGS
14688 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14689 for ac_header in pulse/pulseaudio.h
14690 do :
14691 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14692 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14693 cat >>confdefs.h <<_ACEOF
14694 #define HAVE_PULSE_PULSEAUDIO_H 1
14695 _ACEOF
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14697 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14698 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_check_lib_save_LIBS=$LIBS
14702 LIBS="-lpulse $PULSE_LIBS $LIBS"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14706 /* Override any GCC internal prototype to avoid an error.
14707 Use char because int might match the return type of a GCC
14708 builtin and then its argument prototype would still apply. */
14709 #ifdef __cplusplus
14710 extern "C"
14711 #endif
14712 char pa_stream_is_corked ();
14714 main ()
14716 return pa_stream_is_corked ();
14718 return 0;
14720 _ACEOF
14721 if ac_fn_c_try_link "$LINENO"; then :
14722 ac_cv_lib_pulse_pa_stream_is_corked=yes
14723 else
14724 ac_cv_lib_pulse_pa_stream_is_corked=no
14726 rm -f core conftest.err conftest.$ac_objext \
14727 conftest$ac_exeext conftest.$ac_ext
14728 LIBS=$ac_check_lib_save_LIBS
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14731 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14732 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14734 else
14735 PULSE_LIBS=""
14738 else
14739 PULSE_LIBS=""
14742 done
14744 CPPFLAGS=$ac_save_CPPFLAGS
14745 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14746 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14749 if test -z "$PULSE_LIBS"; then :
14750 case "x$with_pulse" in
14751 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14752 xno) ;;
14753 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14754 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14755 esac
14756 enable_winepulse_drv=${enable_winepulse_drv:-no}
14759 if test "x$with_gstreamer" != "xno"
14760 then
14761 if ${GSTREAMER_CFLAGS:+false} :; then :
14762 if ${PKG_CONFIG+:} false; then :
14763 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14767 if ${GSTREAMER_LIBS:+false} :; then :
14768 if ${PKG_CONFIG+:} false; then :
14769 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14774 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14775 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14776 ac_save_CPPFLAGS=$CPPFLAGS
14777 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14778 ac_gst_incl=""
14779 for i in $GSTREAMER_CFLAGS
14781 case "$i" in
14782 -I*) ac_gst_incl="$ac_gst_incl $i";;
14783 esac
14784 done
14785 GSTREAMER_CFLAGS=$ac_gst_incl
14786 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14787 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14788 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14790 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14793 #include <gst/gst.h>
14795 main ()
14797 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_compile "$LINENO"; then :
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14804 $as_echo "yes" >&6; }
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14806 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14807 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_check_lib_save_LIBS=$LIBS
14811 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 #ifdef __cplusplus
14819 extern "C"
14820 #endif
14821 char gst_pad_new ();
14823 main ()
14825 return gst_pad_new ();
14827 return 0;
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"; then :
14831 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14832 else
14833 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 LIBS=$ac_check_lib_save_LIBS
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14840 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14841 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14845 else
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14847 $as_echo "no" >&6; }
14848 ac_glib2_broken=yes
14849 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14855 CPPFLAGS=$ac_save_CPPFLAGS
14856 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14857 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14860 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 :
14861 case "x$with_gstreamer" in
14862 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14863 xno) ;;
14864 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14865 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14866 esac
14869 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14871 ALSA_LIBS=""
14873 if test "x$with_alsa" != "xno"
14874 then
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14876 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14877 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 ac_check_lib_save_LIBS=$LIBS
14881 LIBS="-lasound $LIBS"
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14888 #ifdef __cplusplus
14889 extern "C"
14890 #endif
14891 char snd_pcm_hw_params_get_access_mask ();
14893 main ()
14895 return snd_pcm_hw_params_get_access_mask ();
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14902 else
14903 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_lib_save_LIBS
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14910 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14911 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 #include <alsa/asoundlib.h>
14916 main ()
14918 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_compile "$LINENO"; then :
14924 ALSA_LIBS="-lasound"
14926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14930 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14932 if test "x$with_oss" != xno
14933 then
14934 ac_save_CPPFLAGS="$CPPFLAGS"
14935 if test -f /etc/oss.conf
14936 then
14937 . /etc/oss.conf
14939 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14940 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14941 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14942 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14943 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14945 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14947 cat >>confdefs.h <<_ACEOF
14948 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14949 _ACEOF
14951 OSS4_CFLAGS="$ac_oss_incl"
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14954 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14955 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14956 $as_echo_n "(cached) " >&6
14957 else
14958 ac_check_lib_save_LIBS=$LIBS
14959 LIBS="-lossaudio $LIBS"
14960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14963 /* Override any GCC internal prototype to avoid an error.
14964 Use char because int might match the return type of a GCC
14965 builtin and then its argument prototype would still apply. */
14966 #ifdef __cplusplus
14967 extern "C"
14968 #endif
14969 char _oss_ioctl ();
14971 main ()
14973 return _oss_ioctl ();
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 ac_cv_lib_ossaudio__oss_ioctl=yes
14980 else
14981 ac_cv_lib_ossaudio__oss_ioctl=no
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext conftest.$ac_ext
14985 LIBS=$ac_check_lib_save_LIBS
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14988 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14989 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14990 OSS4_LIBS="-lossaudio"
14999 CPPFLAGS="$ac_save_CPPFLAGS"
15001 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15002 case "x$with_oss" in
15003 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15004 xno) ;;
15005 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15006 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15007 esac
15008 enable_wineoss_drv=${enable_wineoss_drv:-no}
15011 if test "x$with_udev" != "xno"
15012 then
15013 if ${UDEV_CFLAGS:+false} :; then :
15014 if ${PKG_CONFIG+:} false; then :
15015 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15019 if ${UDEV_LIBS:+false} :; then :
15020 if ${PKG_CONFIG+:} false; then :
15021 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15025 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15026 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15027 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15028 ac_save_CPPFLAGS=$CPPFLAGS
15029 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15030 for ac_header in libudev.h
15031 do :
15032 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15033 if test "x$ac_cv_header_libudev_h" = xyes; then :
15034 cat >>confdefs.h <<_ACEOF
15035 #define HAVE_LIBUDEV_H 1
15036 _ACEOF
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15038 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15039 if ${ac_cv_lib_udev_udev_new+:} false; then :
15040 $as_echo_n "(cached) " >&6
15041 else
15042 ac_check_lib_save_LIBS=$LIBS
15043 LIBS="-ludev $UDEV_LIBS $LIBS"
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15050 #ifdef __cplusplus
15051 extern "C"
15052 #endif
15053 char udev_new ();
15055 main ()
15057 return udev_new ();
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_lib_udev_udev_new=yes
15064 else
15065 ac_cv_lib_udev_udev_new=no
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15069 LIBS=$ac_check_lib_save_LIBS
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15072 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15073 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15075 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15077 else
15078 UDEV_LIBS=""
15081 else
15082 UDEV_LIBS=""
15085 done
15087 CPPFLAGS=$ac_save_CPPFLAGS
15088 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15089 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15092 if test "x$UDEV_LIBS" = "x"; then :
15093 case "x$with_udev" in
15094 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15095 xno) ;;
15096 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15097 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15098 esac
15102 if test "x$with_unwind" != xno
15103 then
15104 if ${UNWIND_CFLAGS:+false} :; then :
15105 if ${PKG_CONFIG+:} false; then :
15106 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15110 if ${UNWIND_LIBS:+false} :; then :
15111 if ${PKG_CONFIG+:} false; then :
15112 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15116 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15117 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15118 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15119 ac_save_CPPFLAGS=$CPPFLAGS
15120 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15122 $as_echo_n "checking for unw_step... " >&6; }
15123 if ${wine_cv_have_unw_step+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #define UNW_LOCAL_ONLY
15129 #include <libunwind.h>
15131 main ()
15133 unw_cursor_t cursor; unw_step( &cursor );
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 wine_cv_have_unw_step="yes"
15140 else
15141 wine_cv_have_unw_step="no"
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15147 $as_echo "$wine_cv_have_unw_step" >&6; }
15148 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15149 then
15150 save_libs=$LIBS
15151 LIBS="$UNWIND_LIBS $LIBS"
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15153 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15154 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15155 $as_echo_n "(cached) " >&6
15156 else
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #define UNW_LOCAL_ONLY
15160 #include <libunwind.h>
15162 main ()
15164 unw_cursor_t cursor; unw_step( &cursor );
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_link "$LINENO"; then :
15170 wine_cv_have_libunwind_unw_step="yes"
15171 else
15172 wine_cv_have_libunwind_unw_step="no"
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15178 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15179 LIBS=$save_libs
15181 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15182 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15183 then
15185 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15188 CPPFLAGS=$ac_save_CPPFLAGS
15189 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15190 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15193 case $host in
15194 aarch64*|*-darwin*)
15195 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15196 case "x$with_unwind" in
15197 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15198 xno) ;;
15199 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15200 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15201 esac
15203 fi ;;
15204 esac
15206 if test "x$with_sdl" != "xno"
15207 then
15208 if ${SDL2_CFLAGS:+false} :; then :
15209 if ${PKG_CONFIG+:} false; then :
15210 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15214 if ${SDL2_LIBS:+false} :; then :
15215 if ${PKG_CONFIG+:} false; then :
15216 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15220 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15221 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15222 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15223 ac_save_CPPFLAGS=$CPPFLAGS
15224 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15225 for ac_header in SDL2/SDL.h
15226 do :
15227 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15228 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define HAVE_SDL2_SDL_H 1
15231 _ACEOF
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15233 $as_echo_n "checking for -lSDL2... " >&6; }
15234 if ${ac_cv_lib_soname_SDL2+:} false; then :
15235 $as_echo_n "(cached) " >&6
15236 else
15237 ac_check_soname_save_LIBS=$LIBS
15238 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15242 /* Override any GCC internal prototype to avoid an error.
15243 Use char because int might match the return type of a GCC
15244 builtin and then its argument prototype would still apply. */
15245 #ifdef __cplusplus
15246 extern "C"
15247 #endif
15248 char SDL_Init ();
15250 main ()
15252 return SDL_Init ();
15254 return 0;
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 case "$LIBEXT" in
15259 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15260 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'` ;;
15261 *) 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'`
15262 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15263 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15264 fi ;;
15265 esac
15266 else
15267 ac_cv_lib_soname_SDL2=
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext conftest.$ac_ext
15271 LIBS=$ac_check_soname_save_LIBS
15273 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15275 $as_echo "not found" >&6; }
15277 else
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15279 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15281 cat >>confdefs.h <<_ACEOF
15282 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15283 _ACEOF
15289 done
15291 CPPFLAGS=$ac_save_CPPFLAGS
15292 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15293 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15296 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15297 case "x$with_sdl" in
15298 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15299 xno) ;;
15300 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15301 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15302 esac
15306 if test "x$with_faudio" != "xno"
15307 then
15308 if ${FAUDIO_CFLAGS:+false} :; then :
15309 if ${PKG_CONFIG+:} false; then :
15310 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15314 if ${FAUDIO_LIBS:+false} :; then :
15315 if ${PKG_CONFIG+:} false; then :
15316 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15320 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15321 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15322 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15323 ac_save_CPPFLAGS=$CPPFLAGS
15324 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15325 for ac_header in FAudio.h
15326 do :
15327 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15328 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15329 cat >>confdefs.h <<_ACEOF
15330 #define HAVE_FAUDIO_H 1
15331 _ACEOF
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15333 $as_echo_n "checking for -lFAudio... " >&6; }
15334 if ${ac_cv_lib_soname_FAudio+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 ac_check_soname_save_LIBS=$LIBS
15338 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15345 #ifdef __cplusplus
15346 extern "C"
15347 #endif
15348 char FAudioCreate ();
15350 main ()
15352 return FAudioCreate ();
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_link "$LINENO"; then :
15358 case "$LIBEXT" in
15359 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15360 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'` ;;
15361 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15362 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15363 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15364 fi ;;
15365 esac
15366 else
15367 ac_cv_lib_soname_FAudio=
15369 rm -f core conftest.err conftest.$ac_objext \
15370 conftest$ac_exeext conftest.$ac_ext
15371 LIBS=$ac_check_soname_save_LIBS
15373 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15375 $as_echo "not found" >&6; }
15377 else
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15379 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15381 cat >>confdefs.h <<_ACEOF
15382 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15383 _ACEOF
15389 done
15391 ac_wine_check_funcs_save_LIBS="$LIBS"
15392 LIBS="$LIBS $FAUDIO_LIBS"
15393 for ac_func in FAudio_CommitOperationSet \
15394 F3DAudioInitialize8 \
15395 FAudioLinkedVersion
15396 do :
15397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15399 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15400 cat >>confdefs.h <<_ACEOF
15401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15402 _ACEOF
15405 done
15407 LIBS="$ac_wine_check_funcs_save_LIBS"
15409 CPPFLAGS=$ac_save_CPPFLAGS
15410 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15411 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15414 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15415 case "x$with_faudio" in
15416 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15417 xno) ;;
15418 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15419 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15420 esac
15424 if test "x$with_capi" != "xno"
15425 then
15426 if ${CAPI20_CFLAGS:+false} :; then :
15427 if ${PKG_CONFIG+:} false; then :
15428 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15432 if ${CAPI20_LIBS:+false} :; then :
15433 if ${PKG_CONFIG+:} false; then :
15434 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15439 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15440 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15441 ac_save_CPPFLAGS=$CPPFLAGS
15442 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15443 for ac_header in capi20.h linux/capi.h
15444 do :
15445 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15446 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15448 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15451 _ACEOF
15455 done
15457 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15458 then
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15460 $as_echo_n "checking for -lcapi20... " >&6; }
15461 if ${ac_cv_lib_soname_capi20+:} false; then :
15462 $as_echo_n "(cached) " >&6
15463 else
15464 ac_check_soname_save_LIBS=$LIBS
15465 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15469 /* Override any GCC internal prototype to avoid an error.
15470 Use char because int might match the return type of a GCC
15471 builtin and then its argument prototype would still apply. */
15472 #ifdef __cplusplus
15473 extern "C"
15474 #endif
15475 char capi20_register ();
15477 main ()
15479 return capi20_register ();
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 case "$LIBEXT" in
15486 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15487 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'` ;;
15488 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15489 if ${ac_cv_lib_soname_capi20:+false} :; then :
15490 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15491 fi ;;
15492 esac
15493 else
15494 ac_cv_lib_soname_capi20=
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498 LIBS=$ac_check_soname_save_LIBS
15500 if ${ac_cv_lib_soname_capi20:+false} :; then :
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15502 $as_echo "not found" >&6; }
15504 else
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15506 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15508 cat >>confdefs.h <<_ACEOF
15509 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15510 _ACEOF
15515 CPPFLAGS=$ac_save_CPPFLAGS
15516 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15517 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15520 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15521 case "x$with_capi" in
15522 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15523 xno) ;;
15524 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15525 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15526 esac
15530 if test "x$with_cups" != "xno"
15531 then
15532 if ${CUPS_CFLAGS:+false} :; then :
15533 if ${PKG_CONFIG+:} false; then :
15534 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15537 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15538 if ${CUPS_LIBS:+false} :; then :
15539 if ${PKG_CONFIG+:} false; then :
15540 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15543 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15544 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15545 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15546 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15547 ac_save_CPPFLAGS=$CPPFLAGS
15548 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15549 for ac_header in cups/cups.h cups/ppd.h
15550 do :
15551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15552 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15554 cat >>confdefs.h <<_ACEOF
15555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15556 _ACEOF
15560 done
15562 if test "$ac_cv_header_cups_cups_h" = "yes"
15563 then
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15565 $as_echo_n "checking for -lcups... " >&6; }
15566 if ${ac_cv_lib_soname_cups+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 ac_check_soname_save_LIBS=$LIBS
15570 LIBS="-lcups $CUPS_LIBS $LIBS"
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15574 /* Override any GCC internal prototype to avoid an error.
15575 Use char because int might match the return type of a GCC
15576 builtin and then its argument prototype would still apply. */
15577 #ifdef __cplusplus
15578 extern "C"
15579 #endif
15580 char cupsGetDefault ();
15582 main ()
15584 return cupsGetDefault ();
15586 return 0;
15588 _ACEOF
15589 if ac_fn_c_try_link "$LINENO"; then :
15590 case "$LIBEXT" in
15591 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15592 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'` ;;
15593 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15594 if ${ac_cv_lib_soname_cups:+false} :; then :
15595 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15596 fi ;;
15597 esac
15598 else
15599 ac_cv_lib_soname_cups=
15601 rm -f core conftest.err conftest.$ac_objext \
15602 conftest$ac_exeext conftest.$ac_ext
15603 LIBS=$ac_check_soname_save_LIBS
15605 if ${ac_cv_lib_soname_cups:+false} :; then :
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15607 $as_echo "not found" >&6; }
15608 CUPS_LIBS=""
15609 else
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15611 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15613 cat >>confdefs.h <<_ACEOF
15614 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15615 _ACEOF
15619 else
15620 CUPS_CFLAGS=""
15621 CUPS_LIBS=""
15623 CPPFLAGS=$ac_save_CPPFLAGS
15624 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15625 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15628 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15629 case "x$with_cups" in
15630 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15631 xno) ;;
15632 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15633 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15634 esac
15638 if test "x$with_fontconfig" != "xno"
15639 then
15640 if ${FONTCONFIG_CFLAGS:+false} :; then :
15641 if ${PKG_CONFIG+:} false; then :
15642 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15645 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15646 if ${FONTCONFIG_LIBS:+false} :; then :
15647 if ${PKG_CONFIG+:} false; then :
15648 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15651 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15653 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15654 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15655 ac_save_CPPFLAGS=$CPPFLAGS
15656 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15657 for ac_header in fontconfig/fontconfig.h
15658 do :
15659 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15660 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15663 _ACEOF
15667 done
15669 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15670 then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15672 $as_echo_n "checking for -lfontconfig... " >&6; }
15673 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15674 $as_echo_n "(cached) " >&6
15675 else
15676 ac_check_soname_save_LIBS=$LIBS
15677 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15681 /* Override any GCC internal prototype to avoid an error.
15682 Use char because int might match the return type of a GCC
15683 builtin and then its argument prototype would still apply. */
15684 #ifdef __cplusplus
15685 extern "C"
15686 #endif
15687 char FcInit ();
15689 main ()
15691 return FcInit ();
15693 return 0;
15695 _ACEOF
15696 if ac_fn_c_try_link "$LINENO"; then :
15697 case "$LIBEXT" in
15698 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15699 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'` ;;
15700 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15701 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15702 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15703 fi ;;
15704 esac
15705 else
15706 ac_cv_lib_soname_fontconfig=
15708 rm -f core conftest.err conftest.$ac_objext \
15709 conftest$ac_exeext conftest.$ac_ext
15710 LIBS=$ac_check_soname_save_LIBS
15712 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15714 $as_echo "not found" >&6; }
15715 FONTCONFIG_CFLAGS=""
15716 else
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15718 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15720 cat >>confdefs.h <<_ACEOF
15721 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15722 _ACEOF
15726 else
15727 FONTCONFIG_CFLAGS=""
15729 CPPFLAGS=$ac_save_CPPFLAGS
15730 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15731 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15734 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15735 case "x$with_fontconfig" in
15736 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15737 xno) ;;
15738 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15739 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15740 esac
15744 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15745 then
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15747 $as_echo_n "checking for -lgsm... " >&6; }
15748 if ${ac_cv_lib_soname_gsm+:} false; then :
15749 $as_echo_n "(cached) " >&6
15750 else
15751 ac_check_soname_save_LIBS=$LIBS
15752 LIBS="-lgsm $LIBS"
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h. */
15756 /* Override any GCC internal prototype to avoid an error.
15757 Use char because int might match the return type of a GCC
15758 builtin and then its argument prototype would still apply. */
15759 #ifdef __cplusplus
15760 extern "C"
15761 #endif
15762 char gsm_create ();
15764 main ()
15766 return gsm_create ();
15768 return 0;
15770 _ACEOF
15771 if ac_fn_c_try_link "$LINENO"; then :
15772 case "$LIBEXT" in
15773 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15774 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'` ;;
15775 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15776 if ${ac_cv_lib_soname_gsm:+false} :; then :
15777 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15778 fi ;;
15779 esac
15780 else
15781 ac_cv_lib_soname_gsm=
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 LIBS=$ac_check_soname_save_LIBS
15787 if ${ac_cv_lib_soname_gsm:+false} :; then :
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15789 $as_echo "not found" >&6; }
15791 else
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15793 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15795 cat >>confdefs.h <<_ACEOF
15796 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15797 _ACEOF
15802 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15803 case "x$with_gsm" in
15804 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15805 xno) ;;
15806 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15807 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15808 esac
15812 if test "x$with_krb5" != "xno"
15813 then
15814 if ${KRB5_CFLAGS:+false} :; then :
15815 if ${PKG_CONFIG+:} false; then :
15816 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15819 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15820 if ${KRB5_LIBS:+false} :; then :
15821 if ${PKG_CONFIG+:} false; then :
15822 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15825 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15827 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15828 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15829 ac_save_CPPFLAGS=$CPPFLAGS
15830 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15831 for ac_header in krb5/krb5.h
15832 do :
15833 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15834 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_KRB5_KRB5_H 1
15837 _ACEOF
15841 done
15843 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15844 then
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15846 $as_echo_n "checking for -lkrb5... " >&6; }
15847 if ${ac_cv_lib_soname_krb5+:} false; then :
15848 $as_echo_n "(cached) " >&6
15849 else
15850 ac_check_soname_save_LIBS=$LIBS
15851 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h. */
15855 /* Override any GCC internal prototype to avoid an error.
15856 Use char because int might match the return type of a GCC
15857 builtin and then its argument prototype would still apply. */
15858 #ifdef __cplusplus
15859 extern "C"
15860 #endif
15861 char krb5_is_config_principal ();
15863 main ()
15865 return krb5_is_config_principal ();
15867 return 0;
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 case "$LIBEXT" in
15872 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15873 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'` ;;
15874 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15875 if ${ac_cv_lib_soname_krb5:+false} :; then :
15876 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15877 fi ;;
15878 esac
15879 else
15880 ac_cv_lib_soname_krb5=
15882 rm -f core conftest.err conftest.$ac_objext \
15883 conftest$ac_exeext conftest.$ac_ext
15884 LIBS=$ac_check_soname_save_LIBS
15886 if ${ac_cv_lib_soname_krb5:+false} :; then :
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15888 $as_echo "not found" >&6; }
15889 KRB5_CFLAGS=""
15890 else
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15892 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15894 cat >>confdefs.h <<_ACEOF
15895 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15896 _ACEOF
15900 else
15901 KRB5_CFLAGS=""
15903 CPPFLAGS=$ac_save_CPPFLAGS
15904 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15905 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15908 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15909 case "x$with_krb5" in
15910 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15911 xno) ;;
15912 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15913 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15914 esac
15917 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15919 if test "x$with_gssapi" != "xno"
15920 then
15921 if ${GSSAPI_CFLAGS:+false} :; then :
15922 if ${PKG_CONFIG+:} false; then :
15923 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15926 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15927 if ${GSSAPI_LIBS:+false} :; then :
15928 if ${PKG_CONFIG+:} false; then :
15929 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15932 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15934 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15935 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15936 ac_save_CPPFLAGS=$CPPFLAGS
15937 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15938 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15939 do :
15940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15941 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15945 _ACEOF
15949 done
15951 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15952 then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15954 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15955 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15956 $as_echo_n "(cached) " >&6
15957 else
15958 ac_check_soname_save_LIBS=$LIBS
15959 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15966 #ifdef __cplusplus
15967 extern "C"
15968 #endif
15969 char gss_init_sec_context ();
15971 main ()
15973 return gss_init_sec_context ();
15975 return 0;
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"; then :
15979 case "$LIBEXT" in
15980 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15981 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'` ;;
15982 *) 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'`
15983 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15984 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15985 fi ;;
15986 esac
15987 else
15988 ac_cv_lib_soname_gssapi_krb5=
15990 rm -f core conftest.err conftest.$ac_objext \
15991 conftest$ac_exeext conftest.$ac_ext
15992 LIBS=$ac_check_soname_save_LIBS
15994 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15996 $as_echo "not found" >&6; }
15997 GSSAPI_CFLAGS=""
15998 else
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16000 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16002 cat >>confdefs.h <<_ACEOF
16003 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16004 _ACEOF
16008 else
16009 GSSAPI_CFLAGS=""
16011 CPPFLAGS=$ac_save_CPPFLAGS
16012 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16013 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16016 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16017 case "x$with_gssapi" in
16018 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16019 xno) ;;
16020 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16021 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16022 esac
16026 if test "x$with_jpeg" != "xno"
16027 then
16028 if ${JPEG_CFLAGS:+false} :; then :
16029 if ${PKG_CONFIG+:} false; then :
16030 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16034 if ${JPEG_LIBS:+false} :; then :
16035 if ${PKG_CONFIG+:} false; then :
16036 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16041 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16042 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16043 ac_save_CPPFLAGS=$CPPFLAGS
16044 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16045 for ac_header in jpeglib.h
16046 do :
16047 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16048 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_JPEGLIB_H 1
16051 _ACEOF
16055 done
16057 if test "$ac_cv_header_jpeglib_h" = "yes"
16058 then
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16060 $as_echo_n "checking for -ljpeg... " >&6; }
16061 if ${ac_cv_lib_soname_jpeg+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 ac_check_soname_save_LIBS=$LIBS
16065 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16069 /* Override any GCC internal prototype to avoid an error.
16070 Use char because int might match the return type of a GCC
16071 builtin and then its argument prototype would still apply. */
16072 #ifdef __cplusplus
16073 extern "C"
16074 #endif
16075 char jpeg_start_decompress ();
16077 main ()
16079 return jpeg_start_decompress ();
16081 return 0;
16083 _ACEOF
16084 if ac_fn_c_try_link "$LINENO"; then :
16085 case "$LIBEXT" in
16086 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16087 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'` ;;
16088 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16089 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16090 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16091 fi ;;
16092 esac
16093 else
16094 ac_cv_lib_soname_jpeg=
16096 rm -f core conftest.err conftest.$ac_objext \
16097 conftest$ac_exeext conftest.$ac_ext
16098 LIBS=$ac_check_soname_save_LIBS
16100 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16102 $as_echo "not found" >&6; }
16103 JPEG_CFLAGS=""
16104 else
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16106 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16108 cat >>confdefs.h <<_ACEOF
16109 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16110 _ACEOF
16114 else
16115 JPEG_CFLAGS=""
16117 CPPFLAGS=$ac_save_CPPFLAGS
16118 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16119 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16122 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16123 case "x$with_jpeg" in
16124 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16125 xno) ;;
16126 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16127 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16128 esac
16132 if test "x$with_png" != "xno"
16133 then
16134 if ${PNG_CFLAGS:+false} :; then :
16135 if ${PKG_CONFIG+:} false; then :
16136 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16139 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16140 if ${PNG_LIBS:+false} :; then :
16141 if ${PKG_CONFIG+:} false; then :
16142 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16145 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16147 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16148 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16149 ac_save_CPPFLAGS=$CPPFLAGS
16150 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16151 for ac_header in png.h
16152 do :
16153 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16154 if test "x$ac_cv_header_png_h" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_PNG_H 1
16157 _ACEOF
16161 done
16163 if test "$ac_cv_header_png_h" = "yes"
16164 then
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16166 $as_echo_n "checking for -lpng... " >&6; }
16167 if ${ac_cv_lib_soname_png+:} false; then :
16168 $as_echo_n "(cached) " >&6
16169 else
16170 ac_check_soname_save_LIBS=$LIBS
16171 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16175 /* Override any GCC internal prototype to avoid an error.
16176 Use char because int might match the return type of a GCC
16177 builtin and then its argument prototype would still apply. */
16178 #ifdef __cplusplus
16179 extern "C"
16180 #endif
16181 char png_create_read_struct ();
16183 main ()
16185 return png_create_read_struct ();
16187 return 0;
16189 _ACEOF
16190 if ac_fn_c_try_link "$LINENO"; then :
16191 case "$LIBEXT" in
16192 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16193 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'` ;;
16194 *) 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'`
16195 if ${ac_cv_lib_soname_png:+false} :; then :
16196 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16197 fi ;;
16198 esac
16199 else
16200 ac_cv_lib_soname_png=
16202 rm -f core conftest.err conftest.$ac_objext \
16203 conftest$ac_exeext conftest.$ac_ext
16204 LIBS=$ac_check_soname_save_LIBS
16206 if ${ac_cv_lib_soname_png:+false} :; then :
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16208 $as_echo "not found" >&6; }
16209 PNG_CFLAGS=""
16210 else
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16212 $as_echo "$ac_cv_lib_soname_png" >&6; }
16214 cat >>confdefs.h <<_ACEOF
16215 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16216 _ACEOF
16220 else
16221 PNG_CFLAGS=""
16223 CPPFLAGS=$ac_save_CPPFLAGS
16224 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16225 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16228 if test "x$ac_cv_lib_soname_png" = "x"; then :
16229 case "x$with_png" in
16230 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16231 xno) ;;
16232 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16233 This is an error since --with-png was requested." "$LINENO" 5 ;;
16234 esac
16238 if test "x$with_tiff" != "xno"
16239 then
16240 if ${TIFF_CFLAGS:+false} :; then :
16241 if ${PKG_CONFIG+:} false; then :
16242 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16246 if ${TIFF_LIBS:+false} :; then :
16247 if ${PKG_CONFIG+:} false; then :
16248 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16253 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16254 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16255 ac_save_CPPFLAGS=$CPPFLAGS
16256 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16257 for ac_header in tiffio.h
16258 do :
16259 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16260 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_TIFFIO_H 1
16263 _ACEOF
16267 done
16269 if test "$ac_cv_header_tiffio_h" = "yes"
16270 then
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16272 $as_echo_n "checking for -ltiff... " >&6; }
16273 if ${ac_cv_lib_soname_tiff+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 ac_check_soname_save_LIBS=$LIBS
16277 LIBS="-ltiff $TIFF_LIBS $LIBS"
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16281 /* Override any GCC internal prototype to avoid an error.
16282 Use char because int might match the return type of a GCC
16283 builtin and then its argument prototype would still apply. */
16284 #ifdef __cplusplus
16285 extern "C"
16286 #endif
16287 char TIFFClientOpen ();
16289 main ()
16291 return TIFFClientOpen ();
16293 return 0;
16295 _ACEOF
16296 if ac_fn_c_try_link "$LINENO"; then :
16297 case "$LIBEXT" in
16298 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16299 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'` ;;
16300 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16301 if ${ac_cv_lib_soname_tiff:+false} :; then :
16302 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16303 fi ;;
16304 esac
16305 else
16306 ac_cv_lib_soname_tiff=
16308 rm -f core conftest.err conftest.$ac_objext \
16309 conftest$ac_exeext conftest.$ac_ext
16310 LIBS=$ac_check_soname_save_LIBS
16312 if ${ac_cv_lib_soname_tiff:+false} :; then :
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16314 $as_echo "not found" >&6; }
16316 else
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16318 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16320 cat >>confdefs.h <<_ACEOF
16321 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16322 _ACEOF
16327 CPPFLAGS=$ac_save_CPPFLAGS
16328 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16329 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16332 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16333 case "x$with_tiff" in
16334 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16335 xno) ;;
16336 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16337 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16338 esac
16342 if test "x$with_mpg123" != "xno"
16343 then
16344 if ${MPG123_CFLAGS:+false} :; then :
16345 if ${PKG_CONFIG+:} false; then :
16346 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16350 if ${MPG123_LIBS:+false} :; then :
16351 if ${PKG_CONFIG+:} false; then :
16352 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16356 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16357 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16358 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16359 ac_save_CPPFLAGS=$CPPFLAGS
16360 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16361 for ac_header in mpg123.h
16362 do :
16363 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16364 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_MPG123_H 1
16367 _ACEOF
16371 done
16373 if test "$ac_cv_header_mpg123_h" = "yes"
16374 then
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16376 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16377 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16378 $as_echo_n "(cached) " >&6
16379 else
16380 ac_check_lib_save_LIBS=$LIBS
16381 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16385 /* Override any GCC internal prototype to avoid an error.
16386 Use char because int might match the return type of a GCC
16387 builtin and then its argument prototype would still apply. */
16388 #ifdef __cplusplus
16389 extern "C"
16390 #endif
16391 char mpg123_feed ();
16393 main ()
16395 return mpg123_feed ();
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"; then :
16401 ac_cv_lib_mpg123_mpg123_feed=yes
16402 else
16403 ac_cv_lib_mpg123_mpg123_feed=no
16405 rm -f core conftest.err conftest.$ac_objext \
16406 conftest$ac_exeext conftest.$ac_ext
16407 LIBS=$ac_check_lib_save_LIBS
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16410 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16411 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16413 else
16414 MPG123_LIBS=""
16417 else
16418 MPG123_CFLAGS=""
16419 MPG123_LIBS=""
16421 CPPFLAGS=$ac_save_CPPFLAGS
16422 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16423 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16426 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16427 case "x$with_mpg123" in
16428 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16429 xno) ;;
16430 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16431 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16432 esac
16433 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16435 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16437 if test "$ac_cv_header_AL_al_h" = "yes"
16438 then
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16440 $as_echo_n "checking for -lopenal... " >&6; }
16441 if ${ac_cv_lib_soname_openal+:} false; then :
16442 $as_echo_n "(cached) " >&6
16443 else
16444 ac_check_soname_save_LIBS=$LIBS
16445 LIBS="-lopenal $LIBS"
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16449 /* Override any GCC internal prototype to avoid an error.
16450 Use char because int might match the return type of a GCC
16451 builtin and then its argument prototype would still apply. */
16452 #ifdef __cplusplus
16453 extern "C"
16454 #endif
16455 char alGetSource3i ();
16457 main ()
16459 return alGetSource3i ();
16461 return 0;
16463 _ACEOF
16464 if ac_fn_c_try_link "$LINENO"; then :
16465 case "$LIBEXT" in
16466 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16467 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'` ;;
16468 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16469 if ${ac_cv_lib_soname_openal:+false} :; then :
16470 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16471 fi ;;
16472 esac
16473 else
16474 ac_cv_lib_soname_openal=
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16478 LIBS=$ac_check_soname_save_LIBS
16480 if ${ac_cv_lib_soname_openal:+false} :; then :
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16482 $as_echo "not found" >&6; }
16484 else
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16486 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16488 cat >>confdefs.h <<_ACEOF
16489 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16490 _ACEOF
16492 OPENAL_LIBS="-lopenal"
16494 ac_cv_lib_openal=yes
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_OPENAL 1
16498 _ACEOF
16502 if test "x$ac_cv_lib_openal" != xyes; then :
16503 case "x$with_openal" in
16504 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16505 xno) ;;
16506 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16507 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16508 esac
16509 enable_openal32=${enable_openal32:-no}
16512 if test "x$ac_cv_lib_soname_FAudio" = "x"
16513 then
16514 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16515 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16516 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16517 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16518 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16519 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16520 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16521 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16522 enable_xapofx1_1=${enable_xapofx1_1:-no}
16523 enable_xapofx1_2=${enable_xapofx1_2:-no}
16524 enable_xapofx1_3=${enable_xapofx1_3:-no}
16525 enable_xapofx1_4=${enable_xapofx1_4:-no}
16526 enable_xapofx1_5=${enable_xapofx1_5:-no}
16527 enable_xaudio2_0=${enable_xaudio2_0:-no}
16528 enable_xaudio2_1=${enable_xaudio2_1:-no}
16529 enable_xaudio2_2=${enable_xaudio2_2:-no}
16530 enable_xaudio2_3=${enable_xaudio2_3:-no}
16531 enable_xaudio2_4=${enable_xaudio2_4:-no}
16532 enable_xaudio2_5=${enable_xaudio2_5:-no}
16533 enable_xaudio2_6=${enable_xaudio2_6:-no}
16534 enable_xaudio2_7=${enable_xaudio2_7:-no}
16535 enable_xaudio2_8=${enable_xaudio2_8:-no}
16536 enable_xaudio2_9=${enable_xaudio2_9:-no}
16539 if test "$ac_cv_header_kstat_h" = "yes"
16540 then
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16542 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16543 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16544 $as_echo_n "(cached) " >&6
16545 else
16546 ac_check_lib_save_LIBS=$LIBS
16547 LIBS="-lkstat $LIBS"
16548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16549 /* end confdefs.h. */
16551 /* Override any GCC internal prototype to avoid an error.
16552 Use char because int might match the return type of a GCC
16553 builtin and then its argument prototype would still apply. */
16554 #ifdef __cplusplus
16555 extern "C"
16556 #endif
16557 char kstat_open ();
16559 main ()
16561 return kstat_open ();
16563 return 0;
16565 _ACEOF
16566 if ac_fn_c_try_link "$LINENO"; then :
16567 ac_cv_lib_kstat_kstat_open=yes
16568 else
16569 ac_cv_lib_kstat_kstat_open=no
16571 rm -f core conftest.err conftest.$ac_objext \
16572 conftest$ac_exeext conftest.$ac_ext
16573 LIBS=$ac_check_lib_save_LIBS
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16576 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16577 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16579 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16581 KSTAT_LIBS="-lkstat"
16587 if test "$ac_cv_header_libprocstat_h" = "yes"
16588 then
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16590 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16591 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16592 $as_echo_n "(cached) " >&6
16593 else
16594 ac_check_lib_save_LIBS=$LIBS
16595 LIBS="-lprocstat $LIBS"
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16599 /* Override any GCC internal prototype to avoid an error.
16600 Use char because int might match the return type of a GCC
16601 builtin and then its argument prototype would still apply. */
16602 #ifdef __cplusplus
16603 extern "C"
16604 #endif
16605 char procstat_open_sysctl ();
16607 main ()
16609 return procstat_open_sysctl ();
16611 return 0;
16613 _ACEOF
16614 if ac_fn_c_try_link "$LINENO"; then :
16615 ac_cv_lib_procstat_procstat_open_sysctl=yes
16616 else
16617 ac_cv_lib_procstat_procstat_open_sysctl=no
16619 rm -f core conftest.err conftest.$ac_objext \
16620 conftest$ac_exeext conftest.$ac_ext
16621 LIBS=$ac_check_lib_save_LIBS
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16624 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16625 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16627 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16629 PROCSTAT_LIBS="-lprocstat"
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16636 $as_echo_n "checking for -lodbc... " >&6; }
16637 if ${ac_cv_lib_soname_odbc+:} false; then :
16638 $as_echo_n "(cached) " >&6
16639 else
16640 ac_check_soname_save_LIBS=$LIBS
16641 LIBS="-lodbc $LIBS"
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16645 /* Override any GCC internal prototype to avoid an error.
16646 Use char because int might match the return type of a GCC
16647 builtin and then its argument prototype would still apply. */
16648 #ifdef __cplusplus
16649 extern "C"
16650 #endif
16651 char SQLConnect ();
16653 main ()
16655 return SQLConnect ();
16657 return 0;
16659 _ACEOF
16660 if ac_fn_c_try_link "$LINENO"; then :
16661 case "$LIBEXT" in
16662 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16663 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'` ;;
16664 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16665 if ${ac_cv_lib_soname_odbc:+false} :; then :
16666 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16667 fi ;;
16668 esac
16669 else
16670 ac_cv_lib_soname_odbc=
16672 rm -f core conftest.err conftest.$ac_objext \
16673 conftest$ac_exeext conftest.$ac_ext
16674 LIBS=$ac_check_soname_save_LIBS
16676 if ${ac_cv_lib_soname_odbc:+false} :; then :
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16678 $as_echo "not found" >&6; }
16679 cat >>confdefs.h <<_ACEOF
16680 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16681 _ACEOF
16683 else
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16685 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16687 cat >>confdefs.h <<_ACEOF
16688 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16689 _ACEOF
16694 if test "x$with_netapi" != "xno"
16695 then
16696 if ${NETAPI_CFLAGS:+false} :; then :
16697 if ${PKG_CONFIG+:} false; then :
16698 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16702 if ${NETAPI_LIBS:+false} :; then :
16703 if ${PKG_CONFIG+:} false; then :
16704 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16709 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16710 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16711 ac_save_CPPFLAGS=$CPPFLAGS
16712 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16714 $as_echo_n "checking for -lnetapi... " >&6; }
16715 if ${ac_cv_lib_soname_netapi+:} false; then :
16716 $as_echo_n "(cached) " >&6
16717 else
16718 ac_check_soname_save_LIBS=$LIBS
16719 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16726 #ifdef __cplusplus
16727 extern "C"
16728 #endif
16729 char libnetapi_init ();
16731 main ()
16733 return libnetapi_init ();
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 case "$LIBEXT" in
16740 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16741 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'` ;;
16742 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16743 if ${ac_cv_lib_soname_netapi:+false} :; then :
16744 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16745 fi ;;
16746 esac
16747 else
16748 ac_cv_lib_soname_netapi=
16750 rm -f core conftest.err conftest.$ac_objext \
16751 conftest$ac_exeext conftest.$ac_ext
16752 LIBS=$ac_check_soname_save_LIBS
16754 if ${ac_cv_lib_soname_netapi:+false} :; then :
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16756 $as_echo "not found" >&6; }
16757 cat >>confdefs.h <<_ACEOF
16758 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16759 _ACEOF
16761 else
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16763 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16765 cat >>confdefs.h <<_ACEOF
16766 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16767 _ACEOF
16771 CPPFLAGS=$ac_save_CPPFLAGS
16772 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16773 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16777 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16778 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16779 then
16780 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16783 if test "x$with_vulkan" != "xno"
16784 then
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16786 $as_echo_n "checking for -lvulkan... " >&6; }
16787 if ${ac_cv_lib_soname_vulkan+:} false; then :
16788 $as_echo_n "(cached) " >&6
16789 else
16790 ac_check_soname_save_LIBS=$LIBS
16791 LIBS="-lvulkan $LIBS"
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16795 /* Override any GCC internal prototype to avoid an error.
16796 Use char because int might match the return type of a GCC
16797 builtin and then its argument prototype would still apply. */
16798 #ifdef __cplusplus
16799 extern "C"
16800 #endif
16801 char vkGetInstanceProcAddr ();
16803 main ()
16805 return vkGetInstanceProcAddr ();
16807 return 0;
16809 _ACEOF
16810 if ac_fn_c_try_link "$LINENO"; then :
16811 case "$LIBEXT" in
16812 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16813 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'` ;;
16814 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16815 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16816 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16817 fi ;;
16818 esac
16819 else
16820 ac_cv_lib_soname_vulkan=
16822 rm -f core conftest.err conftest.$ac_objext \
16823 conftest$ac_exeext conftest.$ac_ext
16824 LIBS=$ac_check_soname_save_LIBS
16826 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16828 $as_echo "not found" >&6; }
16830 else
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16832 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16834 cat >>confdefs.h <<_ACEOF
16835 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16836 _ACEOF
16840 if test "x$ac_cv_lib_soname_vulkan" = "x"
16841 then
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16843 $as_echo_n "checking for -lMoltenVK... " >&6; }
16844 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16845 $as_echo_n "(cached) " >&6
16846 else
16847 ac_check_soname_save_LIBS=$LIBS
16848 LIBS="-lMoltenVK $LIBS"
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16852 /* Override any GCC internal prototype to avoid an error.
16853 Use char because int might match the return type of a GCC
16854 builtin and then its argument prototype would still apply. */
16855 #ifdef __cplusplus
16856 extern "C"
16857 #endif
16858 char vkGetInstanceProcAddr ();
16860 main ()
16862 return vkGetInstanceProcAddr ();
16864 return 0;
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 case "$LIBEXT" in
16869 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16870 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'` ;;
16871 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16872 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16873 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16874 fi ;;
16875 esac
16876 else
16877 ac_cv_lib_soname_MoltenVK=
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 LIBS=$ac_check_soname_save_LIBS
16883 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16885 $as_echo "not found" >&6; }
16887 else
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16889 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16891 cat >>confdefs.h <<_ACEOF
16892 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16893 _ACEOF
16899 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16900 case "x$with_vulkan" in
16901 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16902 xno) ;;
16903 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16904 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16905 esac
16909 if test "x$with_vkd3d" != "xno"
16910 then
16911 if ${VKD3D_CFLAGS:+false} :; then :
16912 if ${PKG_CONFIG+:} false; then :
16913 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16917 if ${VKD3D_LIBS:+false} :; then :
16918 if ${PKG_CONFIG+:} false; then :
16919 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16924 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16925 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16926 ac_save_CPPFLAGS=$CPPFLAGS
16927 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16929 $as_echo_n "checking for -lvkd3d... " >&6; }
16930 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 ac_check_soname_save_LIBS=$LIBS
16934 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16938 /* Override any GCC internal prototype to avoid an error.
16939 Use char because int might match the return type of a GCC
16940 builtin and then its argument prototype would still apply. */
16941 #ifdef __cplusplus
16942 extern "C"
16943 #endif
16944 char vkd3d_get_dxgi_format ();
16946 main ()
16948 return vkd3d_get_dxgi_format ();
16950 return 0;
16952 _ACEOF
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 case "$LIBEXT" in
16955 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16956 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'` ;;
16957 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16958 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16959 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16960 fi ;;
16961 esac
16962 else
16963 ac_cv_lib_soname_vkd3d=
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 LIBS=$ac_check_soname_save_LIBS
16969 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16971 $as_echo "not found" >&6; }
16973 else
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16975 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16977 cat >>confdefs.h <<_ACEOF
16978 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16979 _ACEOF
16983 CPPFLAGS=$ac_save_CPPFLAGS
16984 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16985 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16988 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16989 case "x$with_vkd3d" in
16990 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16991 xno) ;;
16992 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16993 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16994 esac
16997 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17000 EXTRACFLAGS=""
17002 if test "x${GCC}" = "xyes"
17003 then
17004 EXTRACFLAGS="-Wall -pipe"
17006 saved_CFLAGS=$CFLAGS
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17008 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17009 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_wine_try_cflags_saved=$CFLAGS
17013 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 int main(int argc, char **argv) { return 0; }
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_cflags__Werror_unknown_warning_option=yes
17020 else
17021 ac_cv_cflags__Werror_unknown_warning_option=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 CFLAGS=$ac_wine_try_cflags_saved
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17028 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17029 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17030 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17033 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17034 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 int main(int argc, char **argv) { return 0; }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_cflags__Werror_unused_command_line_argument=yes
17045 else
17046 ac_cv_cflags__Werror_unused_command_line_argument=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 CFLAGS=$ac_wine_try_cflags_saved
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17053 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17054 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17055 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17058 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17059 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 int main(int argc, char **argv) { return 0; }
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17070 else
17071 ac_cv_cflags__Werror_ignored_optimization_argument=no
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17078 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17079 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17080 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17083 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17084 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -fcf-protection=none"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 int main(int argc, char **argv) { return 0; }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_cflags__fcf_protection_none=yes
17095 else
17096 ac_cv_cflags__fcf_protection_none=no
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 CFLAGS=$ac_wine_try_cflags_saved
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17103 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17104 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17108 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17109 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_wine_try_cflags_saved=$CFLAGS
17113 CFLAGS="$CFLAGS -fno-stack-protector"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 int main(int argc, char **argv) { return 0; }
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_cflags__fno_stack_protector=yes
17120 else
17121 ac_cv_cflags__fno_stack_protector=no
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17125 CFLAGS=$ac_wine_try_cflags_saved
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17128 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17129 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17130 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17133 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17134 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 ac_wine_try_cflags_saved=$CFLAGS
17138 CFLAGS="$CFLAGS -fno-strict-aliasing"
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 int main(int argc, char **argv) { return 0; }
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_cflags__fno_strict_aliasing=yes
17145 else
17146 ac_cv_cflags__fno_strict_aliasing=no
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17150 CFLAGS=$ac_wine_try_cflags_saved
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17153 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17154 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17155 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17158 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17159 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_wine_try_cflags_saved=$CFLAGS
17163 CFLAGS="$CFLAGS -fexcess-precision=standard"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 int main(int argc, char **argv) { return 0; }
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_cflags__fexcess_precision_standard=yes
17170 else
17171 ac_cv_cflags__fexcess_precision_standard=no
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17175 CFLAGS=$ac_wine_try_cflags_saved
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17178 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17179 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17180 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17184 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17185 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 ac_wine_try_cflags_saved=$CFLAGS
17189 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 int main(int argc, char **argv) { return 0; }
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_cflags__Wdeclaration_after_statement=yes
17196 else
17197 ac_cv_cflags__Wdeclaration_after_statement=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 CFLAGS=$ac_wine_try_cflags_saved
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17204 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17205 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17206 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17209 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17210 if ${ac_cv_cflags__Wempty_body+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 ac_wine_try_cflags_saved=$CFLAGS
17214 CFLAGS="$CFLAGS -Wempty-body"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 int main(int argc, char **argv) { return 0; }
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_cflags__Wempty_body=yes
17221 else
17222 ac_cv_cflags__Wempty_body=no
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17226 CFLAGS=$ac_wine_try_cflags_saved
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17229 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17230 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17231 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17234 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17235 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17236 $as_echo_n "(cached) " >&6
17237 else
17238 ac_wine_try_cflags_saved=$CFLAGS
17239 CFLAGS="$CFLAGS -Wignored-qualifiers"
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17242 int main(int argc, char **argv) { return 0; }
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"; then :
17245 ac_cv_cflags__Wignored_qualifiers=yes
17246 else
17247 ac_cv_cflags__Wignored_qualifiers=no
17249 rm -f core conftest.err conftest.$ac_objext \
17250 conftest$ac_exeext conftest.$ac_ext
17251 CFLAGS=$ac_wine_try_cflags_saved
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17254 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17255 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17256 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17259 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17260 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17261 $as_echo_n "(cached) " >&6
17262 else
17263 ac_wine_try_cflags_saved=$CFLAGS
17264 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 int main(int argc, char **argv) { return 0; }
17268 _ACEOF
17269 if ac_fn_c_try_link "$LINENO"; then :
17270 ac_cv_cflags__Wpacked_not_aligned=yes
17271 else
17272 ac_cv_cflags__Wpacked_not_aligned=no
17274 rm -f core conftest.err conftest.$ac_objext \
17275 conftest$ac_exeext conftest.$ac_ext
17276 CFLAGS=$ac_wine_try_cflags_saved
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17279 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17280 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17281 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17284 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17285 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17288 ac_wine_try_cflags_saved=$CFLAGS
17289 CFLAGS="$CFLAGS -Wpragma-pack"
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 int main(int argc, char **argv) { return 0; }
17293 _ACEOF
17294 if ac_fn_c_try_link "$LINENO"; then :
17295 ac_cv_cflags__Wpragma_pack=yes
17296 else
17297 ac_cv_cflags__Wpragma_pack=no
17299 rm -f core conftest.err conftest.$ac_objext \
17300 conftest$ac_exeext conftest.$ac_ext
17301 CFLAGS=$ac_wine_try_cflags_saved
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17304 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17305 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17306 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17309 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17310 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 ac_wine_try_cflags_saved=$CFLAGS
17314 CFLAGS="$CFLAGS -Wshift-overflow=2"
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 int main(int argc, char **argv) { return 0; }
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 ac_cv_cflags__Wshift_overflow_2=yes
17321 else
17322 ac_cv_cflags__Wshift_overflow_2=no
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17326 CFLAGS=$ac_wine_try_cflags_saved
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17329 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17330 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17331 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17334 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17335 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 ac_wine_try_cflags_saved=$CFLAGS
17339 CFLAGS="$CFLAGS -Wstrict-prototypes"
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 int main(int argc, char **argv) { return 0; }
17343 _ACEOF
17344 if ac_fn_c_try_link "$LINENO"; then :
17345 ac_cv_cflags__Wstrict_prototypes=yes
17346 else
17347 ac_cv_cflags__Wstrict_prototypes=no
17349 rm -f core conftest.err conftest.$ac_objext \
17350 conftest$ac_exeext conftest.$ac_ext
17351 CFLAGS=$ac_wine_try_cflags_saved
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17354 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17355 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17356 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17359 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17360 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 ac_wine_try_cflags_saved=$CFLAGS
17364 CFLAGS="$CFLAGS -Wtype-limits"
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 int main(int argc, char **argv) { return 0; }
17368 _ACEOF
17369 if ac_fn_c_try_link "$LINENO"; then :
17370 ac_cv_cflags__Wtype_limits=yes
17371 else
17372 ac_cv_cflags__Wtype_limits=no
17374 rm -f core conftest.err conftest.$ac_objext \
17375 conftest$ac_exeext conftest.$ac_ext
17376 CFLAGS=$ac_wine_try_cflags_saved
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17379 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17380 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17381 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17384 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17385 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 ac_wine_try_cflags_saved=$CFLAGS
17389 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 int main(int argc, char **argv) { return 0; }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 ac_cv_cflags__Wunused_but_set_parameter=yes
17396 else
17397 ac_cv_cflags__Wunused_but_set_parameter=no
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 CFLAGS=$ac_wine_try_cflags_saved
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17404 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17405 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17406 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17409 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17410 if ${ac_cv_cflags__Wvla+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_wine_try_cflags_saved=$CFLAGS
17414 CFLAGS="$CFLAGS -Wvla"
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 int main(int argc, char **argv) { return 0; }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_cflags__Wvla=yes
17421 else
17422 ac_cv_cflags__Wvla=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 CFLAGS=$ac_wine_try_cflags_saved
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17429 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17430 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17431 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17434 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17435 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 ac_wine_try_cflags_saved=$CFLAGS
17439 CFLAGS="$CFLAGS -Wwrite-strings"
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 int main(int argc, char **argv) { return 0; }
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_cflags__Wwrite_strings=yes
17446 else
17447 ac_cv_cflags__Wwrite_strings=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 CFLAGS=$ac_wine_try_cflags_saved
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17454 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17455 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17456 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17460 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17461 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 ac_wine_try_cflags_saved=$CFLAGS
17465 CFLAGS="$CFLAGS -Wpointer-arith"
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468 int main(int argc, char **argv) { return 0; }
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"; then :
17471 ac_cv_cflags__Wpointer_arith=yes
17472 else
17473 ac_cv_cflags__Wpointer_arith=no
17475 rm -f core conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17477 CFLAGS=$ac_wine_try_cflags_saved
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17480 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17481 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17482 saved_string_h_CFLAGS=$CFLAGS
17483 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17485 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17486 if ${ac_cv_c_string_h_warnings+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 #include <string.h>
17493 main ()
17497 return 0;
17499 _ACEOF
17500 if ac_fn_c_try_compile "$LINENO"; then :
17501 ac_cv_c_string_h_warnings=no
17502 else
17503 ac_cv_c_string_h_warnings=yes
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17508 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17509 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17510 CFLAGS=$saved_string_h_CFLAGS
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17514 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17515 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17516 $as_echo_n "(cached) " >&6
17517 else
17518 ac_wine_try_cflags_saved=$CFLAGS
17519 CFLAGS="$CFLAGS -Wlogical-op"
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17522 int main(int argc, char **argv) { return 0; }
17523 _ACEOF
17524 if ac_fn_c_try_link "$LINENO"; then :
17525 ac_cv_cflags__Wlogical_op=yes
17526 else
17527 ac_cv_cflags__Wlogical_op=no
17529 rm -f core conftest.err conftest.$ac_objext \
17530 conftest$ac_exeext conftest.$ac_ext
17531 CFLAGS=$ac_wine_try_cflags_saved
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17534 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17535 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17536 saved_string_h_CFLAGS=$CFLAGS
17537 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17539 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17540 if ${ac_cv_c_logicalop_noisy+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17545 #include <string.h>
17546 char*f(const char *h,char n) {return strchr(h,n);}
17548 main ()
17552 return 0;
17554 _ACEOF
17555 if ac_fn_c_try_compile "$LINENO"; then :
17556 ac_cv_c_logicalop_noisy=no
17557 else
17558 ac_cv_c_logicalop_noisy=yes
17560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17563 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17564 CFLAGS=$saved_string_h_CFLAGS
17565 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17568 for ac_flag in $CFLAGS; do
17569 case $ac_flag in
17570 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17571 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17572 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 ac_wine_try_cflags_saved=$CFLAGS
17576 CFLAGS="$CFLAGS -gdwarf-2"
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 int main(int argc, char **argv) { return 0; }
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_cflags__gdwarf_2=yes
17583 else
17584 ac_cv_cflags__gdwarf_2=no
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17588 CFLAGS=$ac_wine_try_cflags_saved
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17591 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17592 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17593 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17596 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17597 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 ac_wine_try_cflags_saved=$CFLAGS
17601 CFLAGS="$CFLAGS -gstrict-dwarf"
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 int main(int argc, char **argv) { return 0; }
17605 _ACEOF
17606 if ac_fn_c_try_link "$LINENO"; then :
17607 ac_cv_cflags__gstrict_dwarf=yes
17608 else
17609 ac_cv_cflags__gstrict_dwarf=no
17611 rm -f core conftest.err conftest.$ac_objext \
17612 conftest$ac_exeext conftest.$ac_ext
17613 CFLAGS=$ac_wine_try_cflags_saved
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17616 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17617 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17618 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17619 fi ;;
17620 esac
17621 done
17623 MSVCRTFLAGS=""
17625 case $host_os in
17626 mingw32*) ;;
17627 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17628 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17629 if ${ac_cv_cflags__fno_builtin+:} false; then :
17630 $as_echo_n "(cached) " >&6
17631 else
17632 ac_wine_try_cflags_saved=$CFLAGS
17633 CFLAGS="$CFLAGS -fno-builtin"
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17636 int main(int argc, char **argv) { return 0; }
17637 _ACEOF
17638 if ac_fn_c_try_link "$LINENO"; then :
17639 ac_cv_cflags__fno_builtin=yes
17640 else
17641 ac_cv_cflags__fno_builtin=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 CFLAGS=$ac_wine_try_cflags_saved
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17648 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17649 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17650 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17653 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17654 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17657 ac_wine_try_cflags_saved=$CFLAGS
17658 CFLAGS="$CFLAGS -fshort-wchar"
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17661 int main(int argc, char **argv) { return 0; }
17662 _ACEOF
17663 if ac_fn_c_try_link "$LINENO"; then :
17664 ac_cv_cflags__fshort_wchar=yes
17665 else
17666 ac_cv_cflags__fshort_wchar=no
17668 rm -f core conftest.err conftest.$ac_objext \
17669 conftest$ac_exeext conftest.$ac_ext
17670 CFLAGS=$ac_wine_try_cflags_saved
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17673 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17674 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17675 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17676 fi ;;
17677 esac
17679 case $host_cpu in
17680 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17681 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17682 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685 ac_wine_try_cflags_saved=$CFLAGS
17686 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17689 int main(int argc, char **argv) { return 0; }
17690 _ACEOF
17691 if ac_fn_c_try_link "$LINENO"; then :
17692 ac_cv_cflags__fno_omit_frame_pointer=yes
17693 else
17694 ac_cv_cflags__fno_omit_frame_pointer=no
17696 rm -f core conftest.err conftest.$ac_objext \
17697 conftest$ac_exeext conftest.$ac_ext
17698 CFLAGS=$ac_wine_try_cflags_saved
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17701 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17702 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17703 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17704 fi ;;
17705 *x86_64*)
17706 case $host_os in
17707 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17708 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17709 if ${ac_cv_cflags__Wno_format+:} false; then :
17710 $as_echo_n "(cached) " >&6
17711 else
17712 ac_wine_try_cflags_saved=$CFLAGS
17713 CFLAGS="$CFLAGS -Wno-format"
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17716 int main(int argc, char **argv) { return 0; }
17717 _ACEOF
17718 if ac_fn_c_try_link "$LINENO"; then :
17719 ac_cv_cflags__Wno_format=yes
17720 else
17721 ac_cv_cflags__Wno_format=no
17723 rm -f core conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17725 CFLAGS=$ac_wine_try_cflags_saved
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17728 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17729 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17730 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17731 fi ;;
17732 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17733 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17734 if ${ac_cv_cflags__mabi_ms+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 ac_wine_try_cflags_saved=$CFLAGS
17738 CFLAGS="$CFLAGS -mabi=ms"
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 int main(int argc, char **argv) { return 0; }
17742 _ACEOF
17743 if ac_fn_c_try_link "$LINENO"; then :
17744 ac_cv_cflags__mabi_ms=yes
17745 else
17746 ac_cv_cflags__mabi_ms=no
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext conftest.$ac_ext
17750 CFLAGS=$ac_wine_try_cflags_saved
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17753 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17754 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17755 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17756 fi ;;
17757 esac ;;
17758 esac
17760 CFLAGS=$saved_CFLAGS
17762 if test "x$enable_werror" = "xyes"
17763 then
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17765 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17766 if ${ac_cv_cflags__Werror+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 ac_wine_try_cflags_saved=$CFLAGS
17770 CFLAGS="$CFLAGS -Werror"
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 int main(int argc, char **argv) { return 0; }
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_cflags__Werror=yes
17777 else
17778 ac_cv_cflags__Werror=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17782 CFLAGS=$ac_wine_try_cflags_saved
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17785 $as_echo "$ac_cv_cflags__Werror" >&6; }
17786 if test "x$ac_cv_cflags__Werror" = xyes; then :
17787 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17794 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17795 if ${ac_cv_c_fortify_enabled+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 #include <string.h>
17802 main ()
17804 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17805 #error Fortify enabled
17806 #endif
17808 return 0;
17810 _ACEOF
17811 if ac_fn_c_try_compile "$LINENO"; then :
17812 ac_cv_c_fortify_enabled=no
17813 else
17814 ac_cv_c_fortify_enabled=yes
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17819 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17820 if test "$ac_cv_c_fortify_enabled" = yes
17821 then
17822 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17827 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17828 if ${ac_cv_c_cfi_support+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17835 main ()
17839 return 0;
17841 _ACEOF
17842 if ac_fn_c_try_compile "$LINENO"; then :
17843 ac_cv_c_cfi_support="yes"
17844 else
17845 ac_cv_c_cfi_support="no"
17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17850 $as_echo "$ac_cv_c_cfi_support" >&6; }
17851 if test "$ac_cv_c_cfi_support" = "yes"
17852 then
17853 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17854 else
17855 if test "x$enable_win64" = "xyes"
17856 then
17857 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17862 case $build_os in
17863 cygwin*|mingw32*) TOOLSEXT=".exe"
17865 esac
17867 case $host_os in
17868 linux*)
17869 case $host_cpu in
17870 *i[3456789]86*|x86_64*|*aarch64*)
17871 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17872 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17874 esac
17876 esac
17879 ac_save_CFLAGS="$CFLAGS"
17880 CFLAGS="$CFLAGS $BUILTINFLAG"
17881 for ac_func in \
17882 __res_get_state \
17883 __res_getservers \
17884 _spawnvp \
17885 epoll_create \
17886 ffs \
17887 finitef \
17888 fnmatch \
17889 fork \
17890 fpclass \
17891 fstatfs \
17892 fstatvfs \
17893 futimens \
17894 futimes \
17895 futimesat \
17896 getattrlist \
17897 getauxval \
17898 getifaddrs \
17899 getopt_long_only \
17900 kqueue \
17901 lstat \
17902 mach_continuous_time \
17903 pipe2 \
17904 poll \
17905 port_create \
17906 prctl \
17907 pread \
17908 proc_pidinfo \
17909 pwrite \
17910 readdir \
17911 readlink \
17912 sched_yield \
17913 select \
17914 setproctitle \
17915 setprogname \
17916 settimeofday \
17917 sigprocmask \
17918 statfs \
17919 statvfs \
17920 strnlen \
17921 strtold \
17922 symlink \
17923 sysinfo \
17924 tcdrain \
17925 thr_kill2 \
17926 timegm \
17927 usleep
17929 do :
17930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17933 cat >>confdefs.h <<_ACEOF
17934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17935 _ACEOF
17938 done
17940 CFLAGS="$ac_save_CFLAGS"
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17943 $as_echo_n "checking for library containing dlopen... " >&6; }
17944 if ${ac_cv_search_dlopen+:} false; then :
17945 $as_echo_n "(cached) " >&6
17946 else
17947 ac_func_search_save_LIBS=$LIBS
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17951 /* Override any GCC internal prototype to avoid an error.
17952 Use char because int might match the return type of a GCC
17953 builtin and then its argument prototype would still apply. */
17954 #ifdef __cplusplus
17955 extern "C"
17956 #endif
17957 char dlopen ();
17959 main ()
17961 return dlopen ();
17963 return 0;
17965 _ACEOF
17966 for ac_lib in '' dl; do
17967 if test -z "$ac_lib"; then
17968 ac_res="none required"
17969 else
17970 ac_res=-l$ac_lib
17971 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17973 if ac_fn_c_try_link "$LINENO"; then :
17974 ac_cv_search_dlopen=$ac_res
17976 rm -f core conftest.err conftest.$ac_objext \
17977 conftest$ac_exeext
17978 if ${ac_cv_search_dlopen+:} false; then :
17979 break
17981 done
17982 if ${ac_cv_search_dlopen+:} false; then :
17984 else
17985 ac_cv_search_dlopen=no
17987 rm conftest.$ac_ext
17988 LIBS=$ac_func_search_save_LIBS
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17991 $as_echo "$ac_cv_search_dlopen" >&6; }
17992 ac_res=$ac_cv_search_dlopen
17993 if test "$ac_res" != no; then :
17994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17998 ac_wine_check_funcs_save_LIBS="$LIBS"
17999 LIBS="$LIBS $DL_LIBS"
18000 for ac_func in dladdr dlinfo
18001 do :
18002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18005 cat >>confdefs.h <<_ACEOF
18006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18007 _ACEOF
18010 done
18012 LIBS="$ac_wine_check_funcs_save_LIBS"
18014 if test "$ac_cv_func_poll" = no
18015 then
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18017 $as_echo_n "checking for poll in -lpoll... " >&6; }
18018 if ${ac_cv_lib_poll_poll+:} false; then :
18019 $as_echo_n "(cached) " >&6
18020 else
18021 ac_check_lib_save_LIBS=$LIBS
18022 LIBS="-lpoll $LIBS"
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 /* Override any GCC internal prototype to avoid an error.
18027 Use char because int might match the return type of a GCC
18028 builtin and then its argument prototype would still apply. */
18029 #ifdef __cplusplus
18030 extern "C"
18031 #endif
18032 char poll ();
18034 main ()
18036 return poll ();
18038 return 0;
18040 _ACEOF
18041 if ac_fn_c_try_link "$LINENO"; then :
18042 ac_cv_lib_poll_poll=yes
18043 else
18044 ac_cv_lib_poll_poll=no
18046 rm -f core conftest.err conftest.$ac_objext \
18047 conftest$ac_exeext conftest.$ac_ext
18048 LIBS=$ac_check_lib_save_LIBS
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18051 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18052 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18053 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18054 POLL_LIBS="-lpoll"
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18061 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18062 if ${ac_cv_search_gethostbyname+:} false; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065 ac_func_search_save_LIBS=$LIBS
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18069 /* Override any GCC internal prototype to avoid an error.
18070 Use char because int might match the return type of a GCC
18071 builtin and then its argument prototype would still apply. */
18072 #ifdef __cplusplus
18073 extern "C"
18074 #endif
18075 char gethostbyname ();
18077 main ()
18079 return gethostbyname ();
18081 return 0;
18083 _ACEOF
18084 for ac_lib in '' nsl; do
18085 if test -z "$ac_lib"; then
18086 ac_res="none required"
18087 else
18088 ac_res=-l$ac_lib
18089 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18091 if ac_fn_c_try_link "$LINENO"; then :
18092 ac_cv_search_gethostbyname=$ac_res
18094 rm -f core conftest.err conftest.$ac_objext \
18095 conftest$ac_exeext
18096 if ${ac_cv_search_gethostbyname+:} false; then :
18097 break
18099 done
18100 if ${ac_cv_search_gethostbyname+:} false; then :
18102 else
18103 ac_cv_search_gethostbyname=no
18105 rm conftest.$ac_ext
18106 LIBS=$ac_func_search_save_LIBS
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18109 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18110 ac_res=$ac_cv_search_gethostbyname
18111 if test "$ac_res" != no; then :
18112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18118 $as_echo_n "checking for library containing connect... " >&6; }
18119 if ${ac_cv_search_connect+:} false; then :
18120 $as_echo_n "(cached) " >&6
18121 else
18122 ac_func_search_save_LIBS=$LIBS
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18126 /* Override any GCC internal prototype to avoid an error.
18127 Use char because int might match the return type of a GCC
18128 builtin and then its argument prototype would still apply. */
18129 #ifdef __cplusplus
18130 extern "C"
18131 #endif
18132 char connect ();
18134 main ()
18136 return connect ();
18138 return 0;
18140 _ACEOF
18141 for ac_lib in '' socket; do
18142 if test -z "$ac_lib"; then
18143 ac_res="none required"
18144 else
18145 ac_res=-l$ac_lib
18146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18148 if ac_fn_c_try_link "$LINENO"; then :
18149 ac_cv_search_connect=$ac_res
18151 rm -f core conftest.err conftest.$ac_objext \
18152 conftest$ac_exeext
18153 if ${ac_cv_search_connect+:} false; then :
18154 break
18156 done
18157 if ${ac_cv_search_connect+:} false; then :
18159 else
18160 ac_cv_search_connect=no
18162 rm conftest.$ac_ext
18163 LIBS=$ac_func_search_save_LIBS
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18166 $as_echo "$ac_cv_search_connect" >&6; }
18167 ac_res=$ac_cv_search_connect
18168 if test "$ac_res" != no; then :
18169 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18175 $as_echo_n "checking for library containing inet_aton... " >&6; }
18176 if ${ac_cv_search_inet_aton+:} false; then :
18177 $as_echo_n "(cached) " >&6
18178 else
18179 ac_func_search_save_LIBS=$LIBS
18180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181 /* end confdefs.h. */
18183 /* Override any GCC internal prototype to avoid an error.
18184 Use char because int might match the return type of a GCC
18185 builtin and then its argument prototype would still apply. */
18186 #ifdef __cplusplus
18187 extern "C"
18188 #endif
18189 char inet_aton ();
18191 main ()
18193 return inet_aton ();
18195 return 0;
18197 _ACEOF
18198 for ac_lib in '' resolv; do
18199 if test -z "$ac_lib"; then
18200 ac_res="none required"
18201 else
18202 ac_res=-l$ac_lib
18203 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18205 if ac_fn_c_try_link "$LINENO"; then :
18206 ac_cv_search_inet_aton=$ac_res
18208 rm -f core conftest.err conftest.$ac_objext \
18209 conftest$ac_exeext
18210 if ${ac_cv_search_inet_aton+:} false; then :
18211 break
18213 done
18214 if ${ac_cv_search_inet_aton+:} false; then :
18216 else
18217 ac_cv_search_inet_aton=no
18219 rm conftest.$ac_ext
18220 LIBS=$ac_func_search_save_LIBS
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18223 $as_echo "$ac_cv_search_inet_aton" >&6; }
18224 ac_res=$ac_cv_search_inet_aton
18225 if test "$ac_res" != no; then :
18226 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18231 for ac_func in \
18232 getaddrinfo \
18233 getnameinfo \
18234 getnetbyname \
18235 getprotobyname \
18236 getprotobynumber \
18237 getservbyport \
18238 inet_addr \
18239 inet_network \
18240 inet_ntop \
18241 inet_pton \
18243 do :
18244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18247 cat >>confdefs.h <<_ACEOF
18248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18249 _ACEOF
18252 done
18255 case $host_os in
18256 darwin*|macosx*) ;;
18257 *) ac_save_LIBS=$LIBS
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18259 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18260 if ${ac_cv_search_clock_gettime+:} false; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263 ac_func_search_save_LIBS=$LIBS
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18267 /* Override any GCC internal prototype to avoid an error.
18268 Use char because int might match the return type of a GCC
18269 builtin and then its argument prototype would still apply. */
18270 #ifdef __cplusplus
18271 extern "C"
18272 #endif
18273 char clock_gettime ();
18275 main ()
18277 return clock_gettime ();
18279 return 0;
18281 _ACEOF
18282 for ac_lib in '' rt; do
18283 if test -z "$ac_lib"; then
18284 ac_res="none required"
18285 else
18286 ac_res=-l$ac_lib
18287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18289 if ac_fn_c_try_link "$LINENO"; then :
18290 ac_cv_search_clock_gettime=$ac_res
18292 rm -f core conftest.err conftest.$ac_objext \
18293 conftest$ac_exeext
18294 if ${ac_cv_search_clock_gettime+:} false; then :
18295 break
18297 done
18298 if ${ac_cv_search_clock_gettime+:} false; then :
18300 else
18301 ac_cv_search_clock_gettime=no
18303 rm conftest.$ac_ext
18304 LIBS=$ac_func_search_save_LIBS
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18307 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18308 ac_res=$ac_cv_search_clock_gettime
18309 if test "$ac_res" != no; then :
18310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18312 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18314 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18318 LIBS=$ac_save_LIBS
18320 esac
18322 if test "x$with_ldap" != "xno"
18323 then
18324 if ${LDAP_CFLAGS:+false} :; then :
18325 if ${PKG_CONFIG+:} false; then :
18326 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18330 if ${LDAP_LIBS:+false} :; then :
18331 if ${PKG_CONFIG+:} false; then :
18332 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18336 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18337 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18338 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18339 ac_save_CPPFLAGS=$CPPFLAGS
18340 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18341 for ac_header in ldap.h lber.h
18342 do :
18343 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18344 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18346 cat >>confdefs.h <<_ACEOF
18347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18348 _ACEOF
18352 done
18354 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18355 then
18356 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18358 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18360 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18361 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364 ac_check_lib_save_LIBS=$LIBS
18365 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18369 /* Override any GCC internal prototype to avoid an error.
18370 Use char because int might match the return type of a GCC
18371 builtin and then its argument prototype would still apply. */
18372 #ifdef __cplusplus
18373 extern "C"
18374 #endif
18375 char ldap_initialize ();
18377 main ()
18379 return ldap_initialize ();
18381 return 0;
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"; then :
18385 ac_cv_lib_ldap_r_ldap_initialize=yes
18386 else
18387 ac_cv_lib_ldap_r_ldap_initialize=no
18389 rm -f core conftest.err conftest.$ac_objext \
18390 conftest$ac_exeext conftest.$ac_ext
18391 LIBS=$ac_check_lib_save_LIBS
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18394 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18395 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18397 $as_echo_n "checking for ber_init in -llber... " >&6; }
18398 if ${ac_cv_lib_lber_ber_init+:} false; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18401 ac_check_lib_save_LIBS=$LIBS
18402 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18406 /* Override any GCC internal prototype to avoid an error.
18407 Use char because int might match the return type of a GCC
18408 builtin and then its argument prototype would still apply. */
18409 #ifdef __cplusplus
18410 extern "C"
18411 #endif
18412 char ber_init ();
18414 main ()
18416 return ber_init ();
18418 return 0;
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"; then :
18422 ac_cv_lib_lber_ber_init=yes
18423 else
18424 ac_cv_lib_lber_ber_init=no
18426 rm -f core conftest.err conftest.$ac_objext \
18427 conftest$ac_exeext conftest.$ac_ext
18428 LIBS=$ac_check_lib_save_LIBS
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18431 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18432 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18434 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18436 else
18437 LDAP_LIBS=""
18440 else
18441 LDAP_LIBS=""
18444 else
18445 LDAP_LIBS=""
18448 ac_wine_check_funcs_save_LIBS="$LIBS"
18449 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18450 for ac_func in \
18451 ldap_count_references \
18452 ldap_first_reference \
18453 ldap_next_reference \
18454 ldap_parse_reference \
18455 ldap_parse_sort_control \
18456 ldap_parse_sortresponse_control \
18457 ldap_parse_vlv_control \
18458 ldap_parse_vlvresponse_control
18459 do :
18460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18463 cat >>confdefs.h <<_ACEOF
18464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18465 _ACEOF
18468 done
18470 LIBS="$ac_wine_check_funcs_save_LIBS"
18471 else
18472 LDAP_LIBS=""
18474 CPPFLAGS=$ac_save_CPPFLAGS
18475 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18476 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18479 if test "x$LDAP_LIBS" = "x"; then :
18480 case "x$with_ldap" in
18481 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18482 xno) ;;
18483 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18484 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18485 esac
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18490 $as_echo_n "checking for sched_setaffinity... " >&6; }
18491 if ${wine_cv_have_sched_setaffinity+:} false; then :
18492 $as_echo_n "(cached) " >&6
18493 else
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #define _GNU_SOURCE
18497 #include <sched.h>
18499 main ()
18501 sched_setaffinity(0, 0, 0);
18503 return 0;
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"; then :
18507 wine_cv_have_sched_setaffinity=yes
18508 else
18509 wine_cv_have_sched_setaffinity=no
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18515 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18516 if test "$wine_cv_have_sched_setaffinity" = "yes"
18517 then
18519 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18524 $as_echo_n "checking for fallocate... " >&6; }
18525 if ${wine_cv_have_fallocate+:} false; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18530 #define _GNU_SOURCE
18531 #include <fcntl.h>
18533 main ()
18535 fallocate(-1, 0, 0, 0);
18537 return 0;
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"; then :
18541 wine_cv_have_fallocate=yes
18542 else
18543 wine_cv_have_fallocate=no
18545 rm -f core conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18549 $as_echo "$wine_cv_have_fallocate" >&6; }
18550 if test "$wine_cv_have_fallocate" = "yes"
18551 then
18553 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18559 $as_echo_n "checking for inline... " >&6; }
18560 if ${ac_cv_c_inline+:} false; then :
18561 $as_echo_n "(cached) " >&6
18562 else
18563 ac_cv_c_inline=no
18564 for ac_kw in inline __inline__ __inline; do
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18567 #ifndef __cplusplus
18568 typedef int foo_t;
18569 static $ac_kw foo_t static_foo () {return 0; }
18570 $ac_kw foo_t foo () {return 0; }
18571 #endif
18573 _ACEOF
18574 if ac_fn_c_try_compile "$LINENO"; then :
18575 ac_cv_c_inline=$ac_kw
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 test "$ac_cv_c_inline" != no && break
18579 done
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18583 $as_echo "$ac_cv_c_inline" >&6; }
18585 case $ac_cv_c_inline in
18586 inline | yes) ;;
18588 case $ac_cv_c_inline in
18589 no) ac_val=;;
18590 *) ac_val=$ac_cv_c_inline;;
18591 esac
18592 cat >>confdefs.h <<_ACEOF
18593 #ifndef __cplusplus
18594 #define inline $ac_val
18595 #endif
18596 _ACEOF
18598 esac
18600 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18601 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18603 cat >>confdefs.h <<_ACEOF
18604 #define HAVE_FSBLKCNT_T 1
18605 _ACEOF
18609 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18610 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_FSFILCNT_T 1
18614 _ACEOF
18619 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18620 #include <signal.h>
18622 if test "x$ac_cv_type_sigset_t" = xyes; then :
18624 cat >>confdefs.h <<_ACEOF
18625 #define HAVE_SIGSET_T 1
18626 _ACEOF
18631 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18633 if test "x$ac_cv_type_request_sense" = xyes; then :
18635 cat >>confdefs.h <<_ACEOF
18636 #define HAVE_REQUEST_SENSE 1
18637 _ACEOF
18643 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18644 #ifdef HAVE_SYS_SOCKET_H
18645 #include <sys/socket.h>
18646 #endif
18647 #ifdef HAVE_SYS_SOCKETVAR_H
18648 #include <sys/socketvar.h>
18649 #endif
18650 #ifdef HAVE_NET_ROUTE_H
18651 #include <net/route.h>
18652 #endif
18653 #ifdef HAVE_NETINET_IN_H
18654 #include <netinet/in.h>
18655 #endif
18656 #ifdef HAVE_NETINET_IN_SYSTM_H
18657 #include <netinet/in_systm.h>
18658 #endif
18659 #ifdef HAVE_NETINET_IP_H
18660 #include <netinet/ip.h>
18661 #endif
18662 #ifdef HAVE_NETINET_IN_PCB_H
18663 #include <netinet/in_pcb.h>
18664 #endif
18666 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_STRUCT_XINPGEN 1
18670 _ACEOF
18676 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18677 #include <linux/input.h>
18678 #endif
18680 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18682 cat >>confdefs.h <<_ACEOF
18683 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18684 _ACEOF
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18691 $as_echo_n "checking for if_nameindex... " >&6; }
18692 if ${wine_cv_have_if_nameindex+:} false; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 #ifdef HAVE_SYS_TYPES_H
18698 #include <sys/types.h>
18699 #endif
18700 #ifdef HAVE_SYS_SOCKET_H
18701 #include <sys/socket.h>
18702 #endif
18703 #ifdef HAVE_NET_IF_H
18704 # include <net/if.h>
18705 #endif
18707 main ()
18709 struct if_nameindex *p = if_nameindex(); return p->if_index;
18711 return 0;
18713 _ACEOF
18714 if ac_fn_c_try_link "$LINENO"; then :
18715 wine_cv_have_if_nameindex=yes
18716 else
18717 wine_cv_have_if_nameindex=no
18719 rm -f core conftest.err conftest.$ac_objext \
18720 conftest$ac_exeext conftest.$ac_ext
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18723 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18724 if test "$wine_cv_have_if_nameindex" = "yes"
18725 then
18727 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18732 $as_echo_n "checking for sigaddset... " >&6; }
18733 if ${wine_cv_have_sigaddset+:} false; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 #include <signal.h>
18740 main ()
18742 sigset_t set; sigaddset(&set,SIGTERM);
18744 return 0;
18746 _ACEOF
18747 if ac_fn_c_try_link "$LINENO"; then :
18748 wine_cv_have_sigaddset=yes
18749 else
18750 wine_cv_have_sigaddset=no
18752 rm -f core conftest.err conftest.$ac_objext \
18753 conftest$ac_exeext conftest.$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18756 $as_echo "$wine_cv_have_sigaddset" >&6; }
18757 if test "$wine_cv_have_sigaddset" = "yes"
18758 then
18760 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18766 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18767 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18768 $as_echo_n "(cached) " >&6
18769 else
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 #include <netdb.h>
18774 main ()
18777 char *name=0;
18778 struct hostent he;
18779 struct hostent *result;
18780 char *buf=0;
18781 int bufsize=0;
18782 int errnr;
18783 char *addr=0;
18784 int addrlen=0;
18785 int addrtype=0;
18786 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18787 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18790 return 0;
18792 _ACEOF
18793 if ac_fn_c_try_link "$LINENO"; then :
18794 wine_cv_linux_gethostbyname_r_6=yes
18795 else
18796 wine_cv_linux_gethostbyname_r_6=no
18799 rm -f core conftest.err conftest.$ac_objext \
18800 conftest$ac_exeext conftest.$ac_ext
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18804 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18805 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18806 then
18808 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18812 if test "$ac_cv_header_linux_joystick_h" = "yes"
18813 then
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18815 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18816 if ${wine_cv_linux_joystick_22_api+:} false; then :
18817 $as_echo_n "(cached) " >&6
18818 else
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18822 #include <sys/ioctl.h>
18823 #include <sys/types.h>
18824 #include <linux/joystick.h>
18826 struct js_event blub;
18827 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18828 #error "no 2.2 header"
18829 #endif
18832 main ()
18834 /*empty*/
18836 return 0;
18838 _ACEOF
18839 if ac_fn_c_try_compile "$LINENO"; then :
18840 wine_cv_linux_joystick_22_api=yes
18841 else
18842 wine_cv_linux_joystick_22_api=no
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18848 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18849 if test "$wine_cv_linux_joystick_22_api" = "yes"
18850 then
18852 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18858 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18859 #ifdef HAVE_SYS_PARAM_H
18860 # include <sys/param.h>
18861 #endif
18862 #ifdef HAVE_SYS_MOUNT_H
18863 # include <sys/mount.h>
18864 #endif
18865 #ifdef HAVE_SYS_VFS_H
18866 # include <sys/vfs.h>
18867 #endif
18868 #ifdef HAVE_SYS_STATFS_H
18869 # include <sys/statfs.h>
18870 #endif
18872 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18874 cat >>confdefs.h <<_ACEOF
18875 #define HAVE_STRUCT_STATFS_F_BFREE 1
18876 _ACEOF
18880 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18881 #ifdef HAVE_SYS_PARAM_H
18882 # include <sys/param.h>
18883 #endif
18884 #ifdef HAVE_SYS_MOUNT_H
18885 # include <sys/mount.h>
18886 #endif
18887 #ifdef HAVE_SYS_VFS_H
18888 # include <sys/vfs.h>
18889 #endif
18890 #ifdef HAVE_SYS_STATFS_H
18891 # include <sys/statfs.h>
18892 #endif
18894 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18896 cat >>confdefs.h <<_ACEOF
18897 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18898 _ACEOF
18902 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18903 #ifdef HAVE_SYS_PARAM_H
18904 # include <sys/param.h>
18905 #endif
18906 #ifdef HAVE_SYS_MOUNT_H
18907 # include <sys/mount.h>
18908 #endif
18909 #ifdef HAVE_SYS_VFS_H
18910 # include <sys/vfs.h>
18911 #endif
18912 #ifdef HAVE_SYS_STATFS_H
18913 # include <sys/statfs.h>
18914 #endif
18916 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18920 _ACEOF
18924 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18925 #ifdef HAVE_SYS_PARAM_H
18926 # include <sys/param.h>
18927 #endif
18928 #ifdef HAVE_SYS_MOUNT_H
18929 # include <sys/mount.h>
18930 #endif
18931 #ifdef HAVE_SYS_VFS_H
18932 # include <sys/vfs.h>
18933 #endif
18934 #ifdef HAVE_SYS_STATFS_H
18935 # include <sys/statfs.h>
18936 #endif
18938 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_STATFS_F_FFREE 1
18942 _ACEOF
18946 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18947 #ifdef HAVE_SYS_PARAM_H
18948 # include <sys/param.h>
18949 #endif
18950 #ifdef HAVE_SYS_MOUNT_H
18951 # include <sys/mount.h>
18952 #endif
18953 #ifdef HAVE_SYS_VFS_H
18954 # include <sys/vfs.h>
18955 #endif
18956 #ifdef HAVE_SYS_STATFS_H
18957 # include <sys/statfs.h>
18958 #endif
18960 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18962 cat >>confdefs.h <<_ACEOF
18963 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18964 _ACEOF
18968 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18969 #ifdef HAVE_SYS_PARAM_H
18970 # include <sys/param.h>
18971 #endif
18972 #ifdef HAVE_SYS_MOUNT_H
18973 # include <sys/mount.h>
18974 #endif
18975 #ifdef HAVE_SYS_VFS_H
18976 # include <sys/vfs.h>
18977 #endif
18978 #ifdef HAVE_SYS_STATFS_H
18979 # include <sys/statfs.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18986 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18993 #include <sys/statvfs.h>
18994 #endif
18996 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19007 #include <dirent.h>
19008 #endif
19010 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19012 cat >>confdefs.h <<_ACEOF
19013 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19014 _ACEOF
19020 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19021 #ifdef HAVE_SYS_SOCKET_H
19022 # include <sys/socket.h>
19023 #endif
19024 #ifdef HAVE_SYS_UN_H
19025 # include <sys/un.h>
19026 #endif
19028 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19032 _ACEOF
19036 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19037 #ifdef HAVE_SYS_SOCKET_H
19038 # include <sys/socket.h>
19039 #endif
19040 #ifdef HAVE_SYS_UN_H
19041 # include <sys/un.h>
19042 #endif
19044 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19048 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19053 #ifdef HAVE_SYS_SOCKET_H
19054 # include <sys/socket.h>
19055 #endif
19056 #ifdef HAVE_SYS_UN_H
19057 # include <sys/un.h>
19058 #endif
19060 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19064 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19071 #ifdef HAVE_SCSI_SG_H
19072 #include <scsi/sg.h>
19073 #endif
19075 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_SCSIREQ_T_CMD 1
19079 _ACEOF
19083 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>
19084 #ifdef HAVE_SCSI_SG_H
19085 #include <scsi/sg.h>
19086 #endif
19088 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19092 _ACEOF
19098 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19100 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_SIGINFO_T_SI_FD 1
19104 _ACEOF
19110 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19111 #ifdef HAVE_SYS_MTIO_H
19112 #include <sys/mtio.h>
19113 #endif
19115 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19119 _ACEOF
19123 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19124 #ifdef HAVE_SYS_MTIO_H
19125 #include <sys/mtio.h>
19126 #endif
19128 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19137 #ifdef HAVE_SYS_MTIO_H
19138 #include <sys/mtio.h>
19139 #endif
19141 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19145 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19152 #include <getopt.h>
19153 #endif
19155 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_OPTION_NAME 1
19159 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19166 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19170 _ACEOF
19174 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19175 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_STAT_ST_MTIM 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19184 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19188 _ACEOF
19192 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19193 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_STAT_ST_CTIM 1
19197 _ACEOF
19201 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19202 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19206 _ACEOF
19210 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19211 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_STRUCT_STAT_ST_ATIM 1
19215 _ACEOF
19219 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19220 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19222 cat >>confdefs.h <<_ACEOF
19223 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19224 _ACEOF
19228 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19229 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19233 _ACEOF
19237 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19238 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19242 _ACEOF
19246 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19247 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19251 _ACEOF
19255 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19256 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19260 _ACEOF
19264 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19265 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19269 _ACEOF
19275 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
19276 #include <sys/types.h>
19277 #endif
19278 #ifdef HAVE_NETINET_IN_H
19279 #include <netinet/in.h>
19280 #endif
19282 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19284 cat >>confdefs.h <<_ACEOF
19285 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19286 _ACEOF
19292 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19293 #include <sys/types.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IN_H
19296 #include <netinet/in.h>
19297 #endif
19298 #ifdef HAVE_RESOLV_H
19299 #include <resolv.h>
19300 #endif
19302 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT___RES_STATE 1
19306 _ACEOF
19312 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
19313 #include <resolv.h>
19314 #endif
19316 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19320 _ACEOF
19326 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19327 #include <sys/types.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_H
19330 # include <netinet/in.h>
19331 #endif
19332 #ifdef HAVE_ARPA_NAMESER_H
19333 # include <arpa/nameser.h>
19334 #endif
19336 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_NS_MSG__MSG_PTR 1
19340 _ACEOF
19346 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19347 #include <sys/types.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IN_H
19350 #include <netinet/in.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_H
19353 #include <netinet/ip.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IP_ICMP_H
19356 #include <netinet/ip_icmp.h>
19357 #endif
19358 #ifdef HAVE_NETINET_ICMP_VAR_H
19359 #include <netinet/icmp_var.h>
19360 #endif
19362 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19366 _ACEOF
19372 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19373 #include <sys/types.h>
19374 #endif
19375 #ifdef HAVE_ALIAS_H
19376 #include <alias.h>
19377 #endif
19378 #ifdef HAVE_SYS_SOCKET_H
19379 #include <sys/socket.h>
19380 #endif
19381 #ifdef HAVE_SYS_SOCKETVAR_H
19382 #include <sys/socketvar.h>
19383 #endif
19384 #ifdef HAVE_SYS_TIMEOUT_H
19385 #include <sys/timeout.h>
19386 #endif
19387 #ifdef HAVE_NETINET_IN_H
19388 #include <netinet/in.h>
19389 #endif
19390 #ifdef HAVE_NETINET_IN_SYSTM_H
19391 #include <netinet/in_systm.h>
19392 #endif
19393 #ifdef HAVE_NETINET_IP_H
19394 #include <netinet/ip.h>
19395 #endif
19396 #ifdef HAVE_NETINET_IP_VAR_H
19397 #include <netinet/ip_var.h>
19398 #endif
19399 #ifdef HAVE_NETINET_IP_ICMP_H
19400 #include <netinet/ip_icmp.h>
19401 #endif
19402 #ifdef HAVE_NETINET_ICMP_VAR_H
19403 #include <netinet/icmp_var.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19410 _ACEOF
19416 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19417 #include <sys/types.h>
19418 #endif
19419 #ifdef HAVE_SYS_SOCKETVAR_H
19420 #include <sys/socketvar.h>
19421 #endif
19422 #ifdef HAVE_NETINET_IN_H
19423 #include <netinet/in.h>
19424 #endif
19425 #ifdef HAVE_NETINET_IP_VAR_H
19426 #include <netinet/ip_var.h>
19427 #endif
19429 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19433 _ACEOF
19439 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
19440 #include <netinet/ip_var.h>
19441 #endif
19443 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19445 cat >>confdefs.h <<_ACEOF
19446 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19447 _ACEOF
19453 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19454 #include <sys/types.h>
19455 #endif
19456 #ifdef HAVE_SYS_SOCKETVAR_H
19457 #include <sys/socketvar.h>
19458 #endif
19459 #ifdef HAVE_NETINET_IN_H
19460 #include <netinet/in.h>
19461 #endif
19462 #ifdef HAVE_NETINET_TCP_H
19463 #include <netinet/tcp.h>
19464 #endif
19465 #ifdef HAVE_NETINET_TCP_VAR_H
19466 #include <netinet/tcp_var.h>
19467 #endif
19469 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19473 _ACEOF
19479 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
19480 #include <netinet/tcp_var.h>
19481 #endif
19483 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19485 cat >>confdefs.h <<_ACEOF
19486 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19487 _ACEOF
19493 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19494 #include <sys/types.h>
19495 #endif
19496 #ifdef HAVE_NETINET_IN_H
19497 #include <netinet/in.h>
19498 #endif
19499 #ifdef HAVE_NETINET_IP_VAR_H
19500 #include <netinet/ip_var.h>
19501 #endif
19502 #ifdef HAVE_NETINET_UDP_H
19503 #include <netinet/udp.h>
19504 #endif
19505 #ifdef HAVE_NETINET_UDP_VAR_H
19506 #include <netinet/udp_var.h>
19507 #endif
19509 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19513 _ACEOF
19519 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19520 #include <sys/types.h>
19521 #endif
19522 #ifdef HAVE_NET_IF_H
19523 # include <net/if.h>
19524 #endif
19526 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19528 cat >>confdefs.h <<_ACEOF
19529 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19530 _ACEOF
19536 ac_save_LIBS="$LIBS"
19537 LIBS="$LIBS -lm"
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19539 $as_echo_n "checking for isfinite... " >&6; }
19540 if ${ac_cv_have_isfinite+:} false; then :
19541 $as_echo_n "(cached) " >&6
19542 else
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #define _GNU_SOURCE
19546 #include <math.h>
19548 main ()
19550 float f = 0.0; return isfinite(f)
19552 return 0;
19554 _ACEOF
19555 if ac_fn_c_try_link "$LINENO"; then :
19556 ac_cv_have_isfinite="yes"
19557 else
19558 ac_cv_have_isfinite="no"
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19564 $as_echo "$ac_cv_have_isfinite" >&6; }
19565 if test "$ac_cv_have_isfinite" = "yes"
19566 then
19568 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19573 $as_echo_n "checking for isinf... " >&6; }
19574 if ${ac_cv_have_isinf+:} false; then :
19575 $as_echo_n "(cached) " >&6
19576 else
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 #include <math.h>
19581 main ()
19583 float f = 0.0; return isinf(f)
19585 return 0;
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"; then :
19589 ac_cv_have_isinf="yes"
19590 else
19591 ac_cv_have_isinf="no"
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19597 $as_echo "$ac_cv_have_isinf" >&6; }
19598 if test "$ac_cv_have_isinf" = "yes"
19599 then
19601 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19606 $as_echo_n "checking for isnan... " >&6; }
19607 if ${ac_cv_have_isnan+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19612 #include <math.h>
19614 main ()
19616 float f = 0.0; return isnan(f)
19618 return 0;
19620 _ACEOF
19621 if ac_fn_c_try_link "$LINENO"; then :
19622 ac_cv_have_isnan="yes"
19623 else
19624 ac_cv_have_isnan="no"
19626 rm -f core conftest.err conftest.$ac_objext \
19627 conftest$ac_exeext conftest.$ac_ext
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19630 $as_echo "$ac_cv_have_isnan" >&6; }
19631 if test "$ac_cv_have_isnan" = "yes"
19632 then
19634 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19638 for ac_func in \
19639 acosh \
19640 acoshf \
19641 asinh \
19642 asinhf \
19643 atanh \
19644 atanhf \
19645 cbrt \
19646 cbrtf \
19647 erf \
19648 erfc \
19649 erfcf \
19650 erff \
19651 exp2 \
19652 exp2f \
19653 expm1 \
19654 expm1f \
19655 fma \
19656 fmaf \
19657 ilogb \
19658 ilogbf \
19659 j0 \
19660 j1 \
19661 jn \
19662 lgamma \
19663 lgammaf \
19664 llrint \
19665 llrintf \
19666 llround \
19667 llroundf \
19668 log1p \
19669 log1pf \
19670 log2 \
19671 log2f \
19672 lrint \
19673 lrintf \
19674 lround \
19675 lroundf \
19676 nearbyint \
19677 nearbyintf \
19678 nexttoward \
19679 nexttowardf \
19680 remainder \
19681 remainderf \
19682 remquo \
19683 remquof \
19684 rint \
19685 rintf \
19686 round \
19687 roundf \
19688 tgamma \
19689 tgammaf \
19690 trunc \
19691 truncf \
19692 y0 \
19693 y1 \
19696 do :
19697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19699 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19700 cat >>confdefs.h <<_ACEOF
19701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19702 _ACEOF
19705 done
19707 LIBS="$ac_save_LIBS"
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19710 $as_echo_n "checking for __builtin_popcount... " >&6; }
19711 if ${ac_cv_have___builtin_popcount+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19718 main ()
19720 return __builtin_popcount(1)
19722 return 0;
19724 _ACEOF
19725 if ac_fn_c_try_link "$LINENO"; then :
19726 ac_cv_have___builtin_popcount="yes"
19727 else
19728 ac_cv_have___builtin_popcount="no"
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext conftest.$ac_ext
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19734 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19735 if test "$ac_cv_have___builtin_popcount" = "yes"
19736 then
19738 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19743 $as_echo_n "checking for __clear_cache... " >&6; }
19744 if ${ac_cv_have___clear_cache+:} false; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19751 main ()
19753 __clear_cache((void*)0, (void*)0); return 0;
19755 return 0;
19757 _ACEOF
19758 if ac_fn_c_try_link "$LINENO"; then :
19759 ac_cv_have___clear_cache="yes"
19760 else
19761 ac_cv_have___clear_cache="no"
19763 rm -f core conftest.err conftest.$ac_objext \
19764 conftest$ac_exeext conftest.$ac_ext
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19767 $as_echo "$ac_cv_have___clear_cache" >&6; }
19768 if test "$ac_cv_have___clear_cache" = "yes"
19769 then
19771 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19776 case $host_cpu in
19777 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19778 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19779 if ${ac_cv_cpp_def___i386__+:} false; then :
19780 $as_echo_n "(cached) " >&6
19781 else
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19784 #ifndef __i386__
19786 #endif
19787 _ACEOF
19788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19789 $EGREP "yes" >/dev/null 2>&1; then :
19790 ac_cv_cpp_def___i386__=yes
19791 else
19792 ac_cv_cpp_def___i386__=no
19794 rm -f conftest*
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19798 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19799 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19800 CFLAGS="$CFLAGS -D__i386__"
19801 LINTFLAGS="$LINTFLAGS -D__i386__"
19802 fi ;;
19803 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19804 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19805 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19806 $as_echo_n "(cached) " >&6
19807 else
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #ifndef __x86_64__
19812 #endif
19813 _ACEOF
19814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19815 $EGREP "yes" >/dev/null 2>&1; then :
19816 ac_cv_cpp_def___x86_64__=yes
19817 else
19818 ac_cv_cpp_def___x86_64__=no
19820 rm -f conftest*
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19824 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19825 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19826 CFLAGS="$CFLAGS -D__x86_64__"
19827 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19828 fi ;;
19829 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19830 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19831 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19832 $as_echo_n "(cached) " >&6
19833 else
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 #ifndef __sparc64__
19838 #endif
19839 _ACEOF
19840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19841 $EGREP "yes" >/dev/null 2>&1; then :
19842 ac_cv_cpp_def___sparc64__=yes
19843 else
19844 ac_cv_cpp_def___sparc64__=no
19846 rm -f conftest*
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19850 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19851 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19852 CFLAGS="$CFLAGS -D__sparc64__"
19853 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19854 fi ;;
19855 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19856 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19857 if ${ac_cv_cpp_def___sparc__+:} false; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 #ifndef __sparc__
19864 #endif
19865 _ACEOF
19866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19867 $EGREP "yes" >/dev/null 2>&1; then :
19868 ac_cv_cpp_def___sparc__=yes
19869 else
19870 ac_cv_cpp_def___sparc__=no
19872 rm -f conftest*
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19876 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19877 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19878 CFLAGS="$CFLAGS -D__sparc__"
19879 LINTFLAGS="$LINTFLAGS -D__sparc__"
19880 fi ;;
19881 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19882 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19883 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19884 $as_echo_n "(cached) " >&6
19885 else
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19888 #ifndef __powerpc64__
19890 #endif
19891 _ACEOF
19892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19893 $EGREP "yes" >/dev/null 2>&1; then :
19894 ac_cv_cpp_def___powerpc64__=yes
19895 else
19896 ac_cv_cpp_def___powerpc64__=no
19898 rm -f conftest*
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19902 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19903 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19904 CFLAGS="$CFLAGS -D__powerpc64__"
19905 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19906 fi ;;
19907 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19908 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19909 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19910 $as_echo_n "(cached) " >&6
19911 else
19912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19913 /* end confdefs.h. */
19914 #ifndef __powerpc__
19916 #endif
19917 _ACEOF
19918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19919 $EGREP "yes" >/dev/null 2>&1; then :
19920 ac_cv_cpp_def___powerpc__=yes
19921 else
19922 ac_cv_cpp_def___powerpc__=no
19924 rm -f conftest*
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19928 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19929 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19930 CFLAGS="$CFLAGS -D__powerpc__"
19931 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19932 fi ;;
19933 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19934 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19935 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19936 $as_echo_n "(cached) " >&6
19937 else
19938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19939 /* end confdefs.h. */
19940 #ifndef __aarch64__
19942 #endif
19943 _ACEOF
19944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19945 $EGREP "yes" >/dev/null 2>&1; then :
19946 ac_cv_cpp_def___aarch64__=yes
19947 else
19948 ac_cv_cpp_def___aarch64__=no
19950 rm -f conftest*
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19954 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19955 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19956 CFLAGS="$CFLAGS -D__aarch64__"
19957 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19958 fi ;;
19959 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19960 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19961 if ${ac_cv_cpp_def___arm__+:} false; then :
19962 $as_echo_n "(cached) " >&6
19963 else
19964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19965 /* end confdefs.h. */
19966 #ifndef __arm__
19968 #endif
19969 _ACEOF
19970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19971 $EGREP "yes" >/dev/null 2>&1; then :
19972 ac_cv_cpp_def___arm__=yes
19973 else
19974 ac_cv_cpp_def___arm__=no
19976 rm -f conftest*
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19980 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19981 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19982 CFLAGS="$CFLAGS -D__arm__"
19983 LINTFLAGS="$LINTFLAGS -D__arm__"
19984 fi ;;
19985 esac
19987 case $host_vendor in
19988 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19989 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19990 if ${ac_cv_cpp_def___sun__+:} false; then :
19991 $as_echo_n "(cached) " >&6
19992 else
19993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19994 /* end confdefs.h. */
19995 #ifndef __sun__
19997 #endif
19998 _ACEOF
19999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20000 $EGREP "yes" >/dev/null 2>&1; then :
20001 ac_cv_cpp_def___sun__=yes
20002 else
20003 ac_cv_cpp_def___sun__=no
20005 rm -f conftest*
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20009 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20010 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20011 CFLAGS="$CFLAGS -D__sun__"
20012 LINTFLAGS="$LINTFLAGS -D__sun__"
20013 fi ;;
20014 esac
20020 ac_config_commands="$ac_config_commands include/stamp-h"
20022 $as_echo_n "creating Makefile rules..." >&6
20024 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20025 OPENGL_LIBS = $OPENGL_LIBS
20026 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20027 IOKIT_LIBS = $IOKIT_LIBS
20028 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20029 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20030 CORESERVICES_LIBS = $CORESERVICES_LIBS
20031 APPKIT_LIBS = $APPKIT_LIBS
20032 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20033 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20034 SECURITY_LIBS = $SECURITY_LIBS
20035 COREAUDIO_LIBS = $COREAUDIO_LIBS
20036 OPENAL_LIBS = $OPENAL_LIBS
20037 OPENCL_LIBS = $OPENCL_LIBS
20038 QUICKTIME_LIBS = $QUICKTIME_LIBS
20039 CARBON_LIBS = $CARBON_LIBS
20040 METAL_LIBS = $METAL_LIBS
20041 PTHREAD_LIBS = $PTHREAD_LIBS
20042 X_CFLAGS = $X_CFLAGS
20043 X_PRE_LIBS = $X_PRE_LIBS
20044 X_LIBS = $X_LIBS
20045 X_EXTRA_LIBS = $X_EXTRA_LIBS
20046 PCAP_LIBS = $PCAP_LIBS
20047 XML2_CFLAGS = $XML2_CFLAGS
20048 XML2_LIBS = $XML2_LIBS
20049 XSLT_CFLAGS = $XSLT_CFLAGS
20050 XSLT_LIBS = $XSLT_LIBS
20051 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20052 INOTIFY_LIBS = $INOTIFY_LIBS
20053 DBUS_CFLAGS = $DBUS_CFLAGS
20054 DBUS_LIBS = $DBUS_LIBS
20055 HAL_CFLAGS = $HAL_CFLAGS
20056 HAL_LIBS = $HAL_LIBS
20057 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20058 GNUTLS_LIBS = $GNUTLS_LIBS
20059 SANE_CFLAGS = $SANE_CFLAGS
20060 SANE_LIBS = $SANE_LIBS
20061 USB_CFLAGS = $USB_CFLAGS
20062 USB_LIBS = $USB_LIBS
20063 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20064 GPHOTO2_LIBS = $GPHOTO2_LIBS
20065 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20066 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20067 RESOLV_LIBS = $RESOLV_LIBS
20068 LCMS2_CFLAGS = $LCMS2_CFLAGS
20069 LCMS2_LIBS = $LCMS2_LIBS
20070 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20071 FREETYPE_LIBS = $FREETYPE_LIBS
20072 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20073 PULSE_CFLAGS = $PULSE_CFLAGS
20074 PULSE_LIBS = $PULSE_LIBS
20075 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20076 GSTREAMER_LIBS = $GSTREAMER_LIBS
20077 ALSA_LIBS = $ALSA_LIBS
20078 OSS4_CFLAGS = $OSS4_CFLAGS
20079 OSS4_LIBS = $OSS4_LIBS
20080 UDEV_CFLAGS = $UDEV_CFLAGS
20081 UDEV_LIBS = $UDEV_LIBS
20082 UNWIND_CFLAGS = $UNWIND_CFLAGS
20083 UNWIND_LIBS = $UNWIND_LIBS
20084 SDL2_CFLAGS = $SDL2_CFLAGS
20085 SDL2_LIBS = $SDL2_LIBS
20086 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20087 FAUDIO_LIBS = $FAUDIO_LIBS
20088 CAPI20_CFLAGS = $CAPI20_CFLAGS
20089 CAPI20_LIBS = $CAPI20_LIBS
20090 CUPS_CFLAGS = $CUPS_CFLAGS
20091 CUPS_LIBS = $CUPS_LIBS
20092 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20093 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20094 KRB5_CFLAGS = $KRB5_CFLAGS
20095 KRB5_LIBS = $KRB5_LIBS
20096 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20097 GSSAPI_LIBS = $GSSAPI_LIBS
20098 JPEG_CFLAGS = $JPEG_CFLAGS
20099 JPEG_LIBS = $JPEG_LIBS
20100 PNG_CFLAGS = $PNG_CFLAGS
20101 PNG_LIBS = $PNG_LIBS
20102 TIFF_CFLAGS = $TIFF_CFLAGS
20103 TIFF_LIBS = $TIFF_LIBS
20104 MPG123_CFLAGS = $MPG123_CFLAGS
20105 MPG123_LIBS = $MPG123_LIBS
20106 KSTAT_LIBS = $KSTAT_LIBS
20107 PROCSTAT_LIBS = $PROCSTAT_LIBS
20108 NETAPI_CFLAGS = $NETAPI_CFLAGS
20109 NETAPI_LIBS = $NETAPI_LIBS
20110 VKD3D_CFLAGS = $VKD3D_CFLAGS
20111 VKD3D_LIBS = $VKD3D_LIBS
20112 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20113 POLL_LIBS = $POLL_LIBS
20114 RT_LIBS = $RT_LIBS
20115 LDAP_CFLAGS = $LDAP_CFLAGS
20116 LDAP_LIBS = $LDAP_LIBS
20121 wine_fn_append_rule "
20122 # Rules automatically generated by configure
20124 .INIT: Makefile
20125 .MAKEFILEDEPS:
20126 all: Makefile
20127 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20128 @./config.status Make.tmp Makefile
20129 depend: \$(MAKEDEP) dummy
20130 \$(MAKEDEP)"
20132 ac_config_links="$ac_config_links wine:tools/winewrapper"
20133 wine_fn_config_symlink wine
20134 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20135 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20136 wine_fn_config_symlink wine64
20139 wine_fn_config_makefile dlls/acledit enable_acledit
20140 wine_fn_config_makefile dlls/aclui enable_aclui
20141 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20142 wine_fn_config_makefile dlls/activeds enable_activeds
20143 wine_fn_config_makefile dlls/activeds/tests enable_tests
20144 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20145 wine_fn_config_makefile dlls/adsiid enable_adsiid
20146 wine_fn_config_makefile dlls/adsldp enable_adsldp
20147 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20148 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20149 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20150 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20151 wine_fn_config_makefile dlls/advpack enable_advpack
20152 wine_fn_config_makefile dlls/advpack/tests enable_tests
20153 wine_fn_config_makefile dlls/amsi enable_amsi
20154 wine_fn_config_makefile dlls/amstream enable_amstream
20155 wine_fn_config_makefile dlls/amstream/tests enable_tests
20156 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20158 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20159 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20181 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20182 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20188 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20191 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20211 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20223 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20235 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20236 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20263 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20281 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20282 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20308 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20309 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20339 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20343 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20345 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20347 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20348 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20353 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20355 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20361 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20364 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20366 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20368 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20372 wine_fn_config_makefile dlls/apphelp enable_apphelp
20373 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20374 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20375 wine_fn_config_makefile dlls/atl enable_atl
20376 wine_fn_config_makefile dlls/atl/tests enable_tests
20377 wine_fn_config_makefile dlls/atl100 enable_atl100
20378 wine_fn_config_makefile dlls/atl100/tests enable_tests
20379 wine_fn_config_makefile dlls/atl110 enable_atl110
20380 wine_fn_config_makefile dlls/atl80 enable_atl80
20381 wine_fn_config_makefile dlls/atl80/tests enable_tests
20382 wine_fn_config_makefile dlls/atl90 enable_atl90
20383 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20384 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20385 wine_fn_config_makefile dlls/atmlib enable_atmlib
20386 wine_fn_config_makefile dlls/authz enable_authz
20387 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20388 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20389 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20390 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20391 wine_fn_config_makefile dlls/avrt enable_avrt
20392 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20393 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20394 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20395 wine_fn_config_makefile dlls/browseui enable_browseui
20396 wine_fn_config_makefile dlls/browseui/tests enable_tests
20397 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20398 wine_fn_config_makefile dlls/cabinet enable_cabinet
20399 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20400 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20401 wine_fn_config_makefile dlls/cards enable_cards
20402 wine_fn_config_makefile dlls/cdosys enable_cdosys
20403 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20404 wine_fn_config_makefile dlls/clusapi enable_clusapi
20405 wine_fn_config_makefile dlls/combase enable_combase
20406 wine_fn_config_makefile dlls/combase/tests enable_tests
20407 wine_fn_config_makefile dlls/comcat enable_comcat
20408 wine_fn_config_makefile dlls/comcat/tests enable_tests
20409 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20410 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20411 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20412 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20413 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20414 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20415 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20416 wine_fn_config_makefile dlls/compstui enable_compstui
20417 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20418 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20419 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20420 wine_fn_config_makefile dlls/connect enable_connect
20421 wine_fn_config_makefile dlls/credui enable_credui
20422 wine_fn_config_makefile dlls/credui/tests enable_tests
20423 wine_fn_config_makefile dlls/crtdll enable_crtdll
20424 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20425 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20426 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20427 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20428 wine_fn_config_makefile dlls/cryptext enable_cryptext
20429 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20430 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20431 wine_fn_config_makefile dlls/cryptui enable_cryptui
20432 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20433 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20434 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20435 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20436 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20437 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20438 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20439 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20440 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20441 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20442 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20443 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20444 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20445 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20446 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20447 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20448 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20449 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20450 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20451 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20452 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20453 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20454 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20455 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20456 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20457 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20458 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20459 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20460 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20461 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20462 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20463 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20464 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20465 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20466 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20467 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20468 wine_fn_config_makefile dlls/d3dim enable_d3dim
20469 wine_fn_config_makefile dlls/d3drm enable_d3drm
20470 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20471 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20472 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20473 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20474 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20475 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20476 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20477 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20478 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20479 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20480 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20481 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20482 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20483 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20484 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20485 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20486 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20487 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20488 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20489 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20490 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20491 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20492 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20493 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20494 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20495 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20496 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20497 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20498 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20499 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20500 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20501 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20502 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20503 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20504 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20505 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20506 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20507 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20508 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20509 wine_fn_config_makefile dlls/davclnt enable_davclnt
20510 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20511 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20512 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20513 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20514 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20515 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20516 wine_fn_config_makefile dlls/ddraw enable_ddraw
20517 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20518 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20519 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20520 wine_fn_config_makefile dlls/devenum enable_devenum
20521 wine_fn_config_makefile dlls/devenum/tests enable_tests
20522 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20523 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20524 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20525 wine_fn_config_makefile dlls/difxapi enable_difxapi
20526 wine_fn_config_makefile dlls/dinput enable_dinput
20527 wine_fn_config_makefile dlls/dinput/tests enable_tests
20528 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20529 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20530 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20531 wine_fn_config_makefile dlls/dispex enable_dispex
20532 wine_fn_config_makefile dlls/dispex/tests enable_tests
20533 wine_fn_config_makefile dlls/display.drv16 enable_win16
20534 wine_fn_config_makefile dlls/dmband enable_dmband
20535 wine_fn_config_makefile dlls/dmband/tests enable_tests
20536 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20537 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20538 wine_fn_config_makefile dlls/dmime enable_dmime
20539 wine_fn_config_makefile dlls/dmime/tests enable_tests
20540 wine_fn_config_makefile dlls/dmloader enable_dmloader
20541 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20542 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20543 wine_fn_config_makefile dlls/dmscript enable_dmscript
20544 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20545 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20546 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20547 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20548 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20549 wine_fn_config_makefile dlls/dmusic enable_dmusic
20550 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20551 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20552 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20553 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20554 wine_fn_config_makefile dlls/dplay enable_dplay
20555 wine_fn_config_makefile dlls/dplayx enable_dplayx
20556 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20557 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20558 wine_fn_config_makefile dlls/dpnet enable_dpnet
20559 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20560 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20561 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20562 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20563 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20564 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20565 wine_fn_config_makefile dlls/drmclien enable_drmclien
20566 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20567 wine_fn_config_makefile dlls/dsound enable_dsound
20568 wine_fn_config_makefile dlls/dsound/tests enable_tests
20569 wine_fn_config_makefile dlls/dsquery enable_dsquery
20570 wine_fn_config_makefile dlls/dssenh enable_dssenh
20571 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20572 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20573 wine_fn_config_makefile dlls/dswave enable_dswave
20574 wine_fn_config_makefile dlls/dswave/tests enable_tests
20575 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20576 wine_fn_config_makefile dlls/dwrite enable_dwrite
20577 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20578 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20579 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20580 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20581 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20582 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20583 wine_fn_config_makefile dlls/dxgi enable_dxgi
20584 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20585 wine_fn_config_makefile dlls/dxguid enable_dxguid
20586 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20587 wine_fn_config_makefile dlls/esent enable_esent
20588 wine_fn_config_makefile dlls/evr enable_evr
20589 wine_fn_config_makefile dlls/evr/tests enable_tests
20590 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20591 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20592 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20597 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20598 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20601 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20603 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20619 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20623 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20624 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20626 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20632 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
20633 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20635 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20637 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20638 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20639 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20640 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20641 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20642 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20643 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20644 wine_fn_config_makefile dlls/faultrep enable_faultrep
20645 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20646 wine_fn_config_makefile dlls/feclient enable_feclient
20647 wine_fn_config_makefile dlls/fltlib enable_fltlib
20648 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20649 wine_fn_config_makefile dlls/fntcache enable_fntcache
20650 wine_fn_config_makefile dlls/fontsub enable_fontsub
20651 wine_fn_config_makefile dlls/fusion enable_fusion
20652 wine_fn_config_makefile dlls/fusion/tests enable_tests
20653 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20654 wine_fn_config_makefile dlls/gameux enable_gameux
20655 wine_fn_config_makefile dlls/gameux/tests enable_tests
20656 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20657 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20658 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20659 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20660 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20661 wine_fn_config_makefile dlls/glu32 enable_glu32
20662 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20663 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20664 wine_fn_config_makefile dlls/hal enable_hal
20665 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20666 wine_fn_config_makefile dlls/hid enable_hid
20667 wine_fn_config_makefile dlls/hid/tests enable_tests
20668 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20669 wine_fn_config_makefile dlls/hlink enable_hlink
20670 wine_fn_config_makefile dlls/hlink/tests enable_tests
20671 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20672 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20673 wine_fn_config_makefile dlls/http.sys enable_http_sys
20674 wine_fn_config_makefile dlls/httpapi enable_httpapi
20675 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20676 wine_fn_config_makefile dlls/iccvid enable_iccvid
20677 wine_fn_config_makefile dlls/icmp enable_icmp
20678 wine_fn_config_makefile dlls/ieframe enable_ieframe
20679 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20680 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20681 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20682 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20683 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20684 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20685 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20686 wine_fn_config_makefile dlls/imm32 enable_imm32
20687 wine_fn_config_makefile dlls/imm32/tests enable_tests
20688 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20689 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20690 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20691 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20692 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20693 wine_fn_config_makefile dlls/infosoft enable_infosoft
20694 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20695 wine_fn_config_makefile dlls/initpki enable_initpki
20696 wine_fn_config_makefile dlls/inkobj enable_inkobj
20697 wine_fn_config_makefile dlls/inseng enable_inseng
20698 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20699 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20700 wine_fn_config_makefile dlls/iprop enable_iprop
20701 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20702 wine_fn_config_makefile dlls/itircl enable_itircl
20703 wine_fn_config_makefile dlls/itss enable_itss
20704 wine_fn_config_makefile dlls/itss/tests enable_tests
20705 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20706 wine_fn_config_makefile dlls/jscript enable_jscript
20707 wine_fn_config_makefile dlls/jscript/tests enable_tests
20708 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20709 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20710 wine_fn_config_makefile dlls/kerberos enable_kerberos
20711 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20712 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20713 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20714 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20715 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20716 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20717 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20718 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20719 wine_fn_config_makefile dlls/ksuser enable_ksuser
20720 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20721 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20722 wine_fn_config_makefile dlls/loadperf enable_loadperf
20723 wine_fn_config_makefile dlls/localspl enable_localspl
20724 wine_fn_config_makefile dlls/localspl/tests enable_tests
20725 wine_fn_config_makefile dlls/localui enable_localui
20726 wine_fn_config_makefile dlls/localui/tests enable_tests
20727 wine_fn_config_makefile dlls/lz32 enable_lz32
20728 wine_fn_config_makefile dlls/lz32/tests enable_tests
20729 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20730 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20731 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20732 wine_fn_config_makefile dlls/mapistub enable_mapistub
20733 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20734 wine_fn_config_makefile dlls/mcicda enable_mcicda
20735 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20736 wine_fn_config_makefile dlls/mciseq enable_mciseq
20737 wine_fn_config_makefile dlls/mciwave enable_mciwave
20738 wine_fn_config_makefile dlls/mf enable_mf
20739 wine_fn_config_makefile dlls/mf/tests enable_tests
20740 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20741 wine_fn_config_makefile dlls/mferror enable_mferror
20742 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20743 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20744 wine_fn_config_makefile dlls/mfplat enable_mfplat
20745 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20746 wine_fn_config_makefile dlls/mfplay enable_mfplay
20747 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20748 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20749 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20750 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20751 wine_fn_config_makefile dlls/midimap enable_midimap
20752 wine_fn_config_makefile dlls/mlang enable_mlang
20753 wine_fn_config_makefile dlls/mlang/tests enable_tests
20754 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20755 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20756 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20757 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20758 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20759 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20760 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20761 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20762 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20763 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20764 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20765 wine_fn_config_makefile dlls/mpr enable_mpr
20766 wine_fn_config_makefile dlls/mpr/tests enable_tests
20767 wine_fn_config_makefile dlls/mprapi enable_mprapi
20768 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20769 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20770 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20771 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20772 wine_fn_config_makefile dlls/msado15 enable_msado15
20773 wine_fn_config_makefile dlls/msado15/tests enable_tests
20774 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20775 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20776 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20777 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20778 wine_fn_config_makefile dlls/mscms enable_mscms
20779 wine_fn_config_makefile dlls/mscms/tests enable_tests
20780 wine_fn_config_makefile dlls/mscoree enable_mscoree
20781 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20782 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20783 wine_fn_config_makefile dlls/msctf enable_msctf
20784 wine_fn_config_makefile dlls/msctf/tests enable_tests
20785 wine_fn_config_makefile dlls/msctfp enable_msctfp
20786 wine_fn_config_makefile dlls/msdaps enable_msdaps
20787 wine_fn_config_makefile dlls/msdelta enable_msdelta
20788 wine_fn_config_makefile dlls/msdmo enable_msdmo
20789 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20790 wine_fn_config_makefile dlls/msdrm enable_msdrm
20791 wine_fn_config_makefile dlls/msftedit enable_msftedit
20792 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20793 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20794 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20795 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20796 wine_fn_config_makefile dlls/mshtml enable_mshtml
20797 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20798 wine_fn_config_makefile dlls/msi enable_msi
20799 wine_fn_config_makefile dlls/msi/tests enable_tests
20800 wine_fn_config_makefile dlls/msident enable_msident
20801 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20802 wine_fn_config_makefile dlls/msimsg enable_msimsg
20803 wine_fn_config_makefile dlls/msimtf enable_msimtf
20804 wine_fn_config_makefile dlls/msisip enable_msisip
20805 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20806 wine_fn_config_makefile dlls/msls31 enable_msls31
20807 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20808 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20809 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20810 wine_fn_config_makefile dlls/msports enable_msports
20811 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20812 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20813 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20814 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20815 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20816 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20817 wine_fn_config_makefile dlls/mstask enable_mstask
20818 wine_fn_config_makefile dlls/mstask/tests enable_tests
20819 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20820 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20821 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20822 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20823 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20824 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20826 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20828 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20830 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20831 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20832 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20833 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20835 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20836 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20837 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20838 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20839 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20840 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20841 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20842 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20843 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20844 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20845 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20846 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20847 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20848 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20849 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20850 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20851 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20852 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20853 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20854 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20855 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20856 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20857 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20858 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20859 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20860 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20861 wine_fn_config_makefile dlls/mswsock enable_mswsock
20862 wine_fn_config_makefile dlls/msxml enable_msxml
20863 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20864 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20865 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20866 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20867 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20868 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20869 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20870 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20871 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20872 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20873 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20874 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20875 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20876 wine_fn_config_makefile dlls/netprofm enable_netprofm
20877 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20878 wine_fn_config_makefile dlls/newdev enable_newdev
20879 wine_fn_config_makefile dlls/ninput enable_ninput
20880 wine_fn_config_makefile dlls/ninput/tests enable_tests
20881 wine_fn_config_makefile dlls/normaliz enable_normaliz
20882 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20883 wine_fn_config_makefile dlls/npptools enable_npptools
20884 wine_fn_config_makefile dlls/ntdll enable_ntdll
20885 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20886 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20887 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20888 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20889 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20890 wine_fn_config_makefile dlls/ntprint enable_ntprint
20891 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20892 wine_fn_config_makefile dlls/objsel enable_objsel
20893 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20894 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20895 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20896 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20897 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20898 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20901 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20902 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20903 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20904 wine_fn_config_makefile dlls/ole32 enable_ole32
20905 wine_fn_config_makefile dlls/ole32/tests enable_tests
20906 wine_fn_config_makefile dlls/oleacc enable_oleacc
20907 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20908 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20909 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20910 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20911 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20912 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20913 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20914 wine_fn_config_makefile dlls/oledlg enable_oledlg
20915 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20916 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20917 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20918 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20919 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20920 wine_fn_config_makefile dlls/opcservices enable_opcservices
20921 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20922 wine_fn_config_makefile dlls/openal32 enable_openal32
20923 wine_fn_config_makefile dlls/opencl enable_opencl
20924 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20925 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20926 wine_fn_config_makefile dlls/packager enable_packager
20927 wine_fn_config_makefile dlls/packager/tests enable_tests
20928 wine_fn_config_makefile dlls/pdh enable_pdh
20929 wine_fn_config_makefile dlls/pdh/tests enable_tests
20930 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20931 wine_fn_config_makefile dlls/pidgen enable_pidgen
20932 wine_fn_config_makefile dlls/powrprof enable_powrprof
20933 wine_fn_config_makefile dlls/printui enable_printui
20934 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20935 wine_fn_config_makefile dlls/propsys enable_propsys
20936 wine_fn_config_makefile dlls/propsys/tests enable_tests
20937 wine_fn_config_makefile dlls/psapi enable_psapi
20938 wine_fn_config_makefile dlls/psapi/tests enable_tests
20939 wine_fn_config_makefile dlls/pstorec enable_pstorec
20940 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20941 wine_fn_config_makefile dlls/qasf enable_qasf
20942 wine_fn_config_makefile dlls/qasf/tests enable_tests
20943 wine_fn_config_makefile dlls/qcap enable_qcap
20944 wine_fn_config_makefile dlls/qcap/tests enable_tests
20945 wine_fn_config_makefile dlls/qdvd enable_qdvd
20946 wine_fn_config_makefile dlls/qedit enable_qedit
20947 wine_fn_config_makefile dlls/qedit/tests enable_tests
20948 wine_fn_config_makefile dlls/qmgr enable_qmgr
20949 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20950 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20951 wine_fn_config_makefile dlls/quartz enable_quartz
20952 wine_fn_config_makefile dlls/quartz/tests enable_tests
20953 wine_fn_config_makefile dlls/query enable_query
20954 wine_fn_config_makefile dlls/qwave enable_qwave
20955 wine_fn_config_makefile dlls/qwave/tests enable_tests
20956 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20957 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20958 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20959 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20960 wine_fn_config_makefile dlls/regapi enable_regapi
20961 wine_fn_config_makefile dlls/resutils enable_resutils
20962 wine_fn_config_makefile dlls/riched20 enable_riched20
20963 wine_fn_config_makefile dlls/riched20/tests enable_tests
20964 wine_fn_config_makefile dlls/riched32 enable_riched32
20965 wine_fn_config_makefile dlls/riched32/tests enable_tests
20966 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20967 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20968 wine_fn_config_makefile dlls/rsabase enable_rsabase
20969 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20970 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20971 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20972 wine_fn_config_makefile dlls/rtutils enable_rtutils
20973 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20974 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20975 wine_fn_config_makefile dlls/samlib enable_samlib
20976 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20977 wine_fn_config_makefile dlls/sapi enable_sapi
20978 wine_fn_config_makefile dlls/sapi/tests enable_tests
20979 wine_fn_config_makefile dlls/sas enable_sas
20980 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20981 wine_fn_config_makefile dlls/sccbase enable_sccbase
20982 wine_fn_config_makefile dlls/schannel enable_schannel
20983 wine_fn_config_makefile dlls/schannel/tests enable_tests
20984 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20985 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20986 wine_fn_config_makefile dlls/scrobj enable_scrobj
20987 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20988 wine_fn_config_makefile dlls/scrrun enable_scrrun
20989 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20990 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20991 wine_fn_config_makefile dlls/sechost enable_sechost
20992 wine_fn_config_makefile dlls/secur32 enable_secur32
20993 wine_fn_config_makefile dlls/secur32/tests enable_tests
20994 wine_fn_config_makefile dlls/security enable_security
20995 wine_fn_config_makefile dlls/sensapi enable_sensapi
20996 wine_fn_config_makefile dlls/serialui enable_serialui
20997 wine_fn_config_makefile dlls/serialui/tests enable_tests
20998 wine_fn_config_makefile dlls/setupapi enable_setupapi
20999 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21000 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21001 wine_fn_config_makefile dlls/sfc enable_sfc
21002 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21003 wine_fn_config_makefile dlls/shcore enable_shcore
21004 wine_fn_config_makefile dlls/shcore/tests enable_tests
21005 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21006 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21007 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21008 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21009 wine_fn_config_makefile dlls/shell32 enable_shell32
21010 wine_fn_config_makefile dlls/shell32/tests enable_tests
21011 wine_fn_config_makefile dlls/shfolder enable_shfolder
21012 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21013 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21014 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21015 wine_fn_config_makefile dlls/slc enable_slc
21016 wine_fn_config_makefile dlls/slc/tests enable_tests
21017 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21018 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21019 wine_fn_config_makefile dlls/softpub enable_softpub
21020 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21021 wine_fn_config_makefile dlls/spoolss enable_spoolss
21022 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21023 wine_fn_config_makefile dlls/srclient enable_srclient
21024 wine_fn_config_makefile dlls/sspicli enable_sspicli
21025 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21026 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21027 wine_fn_config_makefile dlls/sti enable_sti
21028 wine_fn_config_makefile dlls/sti/tests enable_tests
21029 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21030 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21031 wine_fn_config_makefile dlls/strmbase enable_strmbase
21032 wine_fn_config_makefile dlls/strmdll enable_strmdll
21033 wine_fn_config_makefile dlls/strmiids enable_strmiids
21034 wine_fn_config_makefile dlls/svrapi enable_svrapi
21035 wine_fn_config_makefile dlls/sxs enable_sxs
21036 wine_fn_config_makefile dlls/sxs/tests enable_tests
21037 wine_fn_config_makefile dlls/system.drv16 enable_win16
21038 wine_fn_config_makefile dlls/t2embed enable_t2embed
21039 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21040 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21041 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21042 wine_fn_config_makefile dlls/taskschd enable_taskschd
21043 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21044 wine_fn_config_makefile dlls/tdh enable_tdh
21045 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21046 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21047 wine_fn_config_makefile dlls/traffic enable_traffic
21048 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21049 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21050 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21051 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21052 wine_fn_config_makefile dlls/tzres enable_tzres
21053 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21054 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21055 wine_fn_config_makefile dlls/uianimation enable_uianimation
21056 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21057 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21058 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21059 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21060 wine_fn_config_makefile dlls/unicows enable_unicows
21061 wine_fn_config_makefile dlls/updspapi enable_updspapi
21062 wine_fn_config_makefile dlls/url enable_url
21063 wine_fn_config_makefile dlls/urlmon enable_urlmon
21064 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21065 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21066 wine_fn_config_makefile dlls/user.exe16 enable_win16
21067 wine_fn_config_makefile dlls/user32 enable_user32
21068 wine_fn_config_makefile dlls/user32/tests enable_tests
21069 wine_fn_config_makefile dlls/userenv enable_userenv
21070 wine_fn_config_makefile dlls/userenv/tests enable_tests
21071 wine_fn_config_makefile dlls/usp10 enable_usp10
21072 wine_fn_config_makefile dlls/usp10/tests enable_tests
21073 wine_fn_config_makefile dlls/utildll enable_utildll
21074 wine_fn_config_makefile dlls/uuid enable_uuid
21075 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21076 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21077 wine_fn_config_makefile dlls/vbscript enable_vbscript
21078 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21079 wine_fn_config_makefile dlls/vcomp enable_vcomp
21080 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21081 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21082 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21083 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21084 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21085 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21086 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21087 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21088 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21089 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21090 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21091 wine_fn_config_makefile dlls/version enable_version
21092 wine_fn_config_makefile dlls/version/tests enable_tests
21093 wine_fn_config_makefile dlls/vga enable_vga
21094 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21095 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21096 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21097 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21098 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21099 wine_fn_config_makefile dlls/vssapi enable_vssapi
21100 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21101 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21102 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21103 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21104 wine_fn_config_makefile dlls/w32skrnl enable_win16
21105 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21106 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21107 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21108 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21109 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21110 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21111 wine_fn_config_makefile dlls/wdscore enable_wdscore
21112 wine_fn_config_makefile dlls/webservices enable_webservices
21113 wine_fn_config_makefile dlls/webservices/tests enable_tests
21114 wine_fn_config_makefile dlls/wer enable_wer
21115 wine_fn_config_makefile dlls/wer/tests enable_tests
21116 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21117 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21118 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21119 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21120 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21121 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21122 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21123 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21124 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21125 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21126 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21127 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21128 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21129 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21130 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21131 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21132 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21133 wine_fn_config_makefile dlls/wined3d enable_wined3d
21134 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21135 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21136 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21137 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21138 wine_fn_config_makefile dlls/winemapi enable_winemapi
21139 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21140 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21141 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21142 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21143 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21144 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21145 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21146 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21147 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21148 wine_fn_config_makefile dlls/wing32 enable_wing32
21149 wine_fn_config_makefile dlls/winhttp enable_winhttp
21150 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21151 wine_fn_config_makefile dlls/wininet enable_wininet
21152 wine_fn_config_makefile dlls/wininet/tests enable_tests
21153 wine_fn_config_makefile dlls/winmm enable_winmm
21154 wine_fn_config_makefile dlls/winmm/tests enable_tests
21155 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21156 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21157 wine_fn_config_makefile dlls/winscard enable_winscard
21158 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21159 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21160 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21161 wine_fn_config_makefile dlls/winsta enable_winsta
21162 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21163 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21164 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21165 wine_fn_config_makefile dlls/wintrust enable_wintrust
21166 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21167 wine_fn_config_makefile dlls/winusb enable_winusb
21168 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21169 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21170 wine_fn_config_makefile dlls/wlanui enable_wlanui
21171 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21172 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21173 wine_fn_config_makefile dlls/wmasf enable_wmasf
21174 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21175 wine_fn_config_makefile dlls/wmi enable_wmi
21176 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21177 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21178 wine_fn_config_makefile dlls/wmp enable_wmp
21179 wine_fn_config_makefile dlls/wmp/tests enable_tests
21180 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21181 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21182 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21183 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21184 wine_fn_config_makefile dlls/wow32 enable_win16
21185 wine_fn_config_makefile dlls/wpc enable_wpc
21186 wine_fn_config_makefile dlls/wpc/tests enable_tests
21187 wine_fn_config_makefile dlls/wpcap enable_wpcap
21188 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21189 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21190 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21191 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21192 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21193 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21194 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21195 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21196 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21197 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21198 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21199 wine_fn_config_makefile dlls/wuapi enable_wuapi
21200 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21201 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21202 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21203 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21204 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21205 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21206 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21207 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21208 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21209 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21210 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21211 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21212 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21213 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21214 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21215 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21216 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21217 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21218 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21219 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21220 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21221 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21222 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21223 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21224 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21225 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21226 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21227 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21228 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21229 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21230 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21231 wine_fn_config_makefile dlls/xmllite enable_xmllite
21232 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21233 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21234 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21235 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21236 wine_fn_config_makefile fonts enable_fonts
21237 wine_fn_config_makefile include enable_include
21238 wine_fn_config_makefile libs/port enable_port
21239 wine_fn_config_makefile libs/wine enable_wine
21240 wine_fn_config_makefile libs/wpp enable_wpp
21241 wine_fn_config_makefile loader enable_loader
21242 wine_fn_config_makefile nls enable_nls
21243 wine_fn_config_makefile po enable_po
21244 wine_fn_config_makefile programs/arp enable_arp
21245 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21246 wine_fn_config_makefile programs/attrib enable_attrib
21247 wine_fn_config_makefile programs/cabarc enable_cabarc
21248 wine_fn_config_makefile programs/cacls enable_cacls
21249 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21250 wine_fn_config_makefile programs/clock enable_clock
21251 wine_fn_config_makefile programs/cmd enable_cmd
21252 wine_fn_config_makefile programs/cmd/tests enable_tests
21253 wine_fn_config_makefile programs/conhost enable_conhost
21254 wine_fn_config_makefile programs/control enable_control
21255 wine_fn_config_makefile programs/cscript enable_cscript
21256 wine_fn_config_makefile programs/dism enable_dism
21257 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21258 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21259 wine_fn_config_makefile programs/eject enable_eject
21260 wine_fn_config_makefile programs/expand enable_expand
21261 wine_fn_config_makefile programs/explorer enable_explorer
21262 wine_fn_config_makefile programs/extrac32 enable_extrac32
21263 wine_fn_config_makefile programs/fc enable_fc
21264 wine_fn_config_makefile programs/find enable_find
21265 wine_fn_config_makefile programs/find/tests enable_tests
21266 wine_fn_config_makefile programs/findstr enable_findstr
21267 wine_fn_config_makefile programs/fsutil enable_fsutil
21268 wine_fn_config_makefile programs/hh enable_hh
21269 wine_fn_config_makefile programs/hostname enable_hostname
21270 wine_fn_config_makefile programs/icacls enable_icacls
21271 wine_fn_config_makefile programs/icinfo enable_icinfo
21272 wine_fn_config_makefile programs/iexplore enable_iexplore
21273 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21274 wine_fn_config_makefile programs/lodctr enable_lodctr
21275 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21276 wine_fn_config_makefile programs/mshta enable_mshta
21277 wine_fn_config_makefile programs/msidb enable_msidb
21278 wine_fn_config_makefile programs/msiexec enable_msiexec
21279 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21280 wine_fn_config_makefile programs/net enable_net
21281 wine_fn_config_makefile programs/netsh enable_netsh
21282 wine_fn_config_makefile programs/netstat enable_netstat
21283 wine_fn_config_makefile programs/ngen enable_ngen
21284 wine_fn_config_makefile programs/notepad enable_notepad
21285 wine_fn_config_makefile programs/oleview enable_oleview
21286 wine_fn_config_makefile programs/ping enable_ping
21287 wine_fn_config_makefile programs/plugplay enable_plugplay
21288 wine_fn_config_makefile programs/powershell enable_powershell
21289 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21290 wine_fn_config_makefile programs/progman enable_progman
21291 wine_fn_config_makefile programs/reg enable_reg
21292 wine_fn_config_makefile programs/reg/tests enable_tests
21293 wine_fn_config_makefile programs/regasm enable_regasm
21294 wine_fn_config_makefile programs/regedit enable_regedit
21295 wine_fn_config_makefile programs/regedit/tests enable_tests
21296 wine_fn_config_makefile programs/regini enable_regini
21297 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21298 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21299 wine_fn_config_makefile programs/rpcss enable_rpcss
21300 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21301 wine_fn_config_makefile programs/rundll32 enable_rundll32
21302 wine_fn_config_makefile programs/sc enable_sc
21303 wine_fn_config_makefile programs/schtasks enable_schtasks
21304 wine_fn_config_makefile programs/schtasks/tests enable_tests
21305 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21306 wine_fn_config_makefile programs/secedit enable_secedit
21307 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21308 wine_fn_config_makefile programs/services enable_services
21309 wine_fn_config_makefile programs/services/tests enable_tests
21310 wine_fn_config_makefile programs/shutdown enable_shutdown
21311 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21312 wine_fn_config_makefile programs/start enable_start
21313 wine_fn_config_makefile programs/subst enable_subst
21314 wine_fn_config_makefile programs/svchost enable_svchost
21315 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21316 wine_fn_config_makefile programs/taskkill enable_taskkill
21317 wine_fn_config_makefile programs/tasklist enable_tasklist
21318 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21319 wine_fn_config_makefile programs/termsv enable_termsv
21320 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21321 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21322 wine_fn_config_makefile programs/view enable_view
21323 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21324 wine_fn_config_makefile programs/whoami enable_whoami
21325 wine_fn_config_makefile programs/wineboot enable_wineboot
21326 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21327 wine_fn_config_makefile programs/winecfg enable_winecfg
21328 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21329 wine_fn_config_makefile programs/winedbg enable_winedbg
21330 wine_fn_config_makefile programs/winedevice enable_winedevice
21331 wine_fn_config_makefile programs/winefile enable_winefile
21332 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21333 wine_fn_config_makefile programs/winemine enable_winemine
21334 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21335 wine_fn_config_makefile programs/winepath enable_winepath
21336 wine_fn_config_makefile programs/winetest enable_winetest
21337 wine_fn_config_makefile programs/winevdm enable_win16
21338 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21339 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21340 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21341 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21342 wine_fn_config_makefile programs/winver enable_winver
21343 wine_fn_config_makefile programs/wmic enable_wmic
21344 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21345 wine_fn_config_makefile programs/wordpad enable_wordpad
21346 wine_fn_config_makefile programs/write enable_write
21347 wine_fn_config_makefile programs/wscript enable_wscript
21348 wine_fn_config_makefile programs/wscript/tests enable_tests
21349 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21350 wine_fn_config_makefile programs/wusa enable_wusa
21351 wine_fn_config_makefile programs/xcopy enable_xcopy
21352 wine_fn_config_makefile programs/xcopy/tests enable_tests
21353 wine_fn_config_makefile server enable_server
21354 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21355 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21356 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21357 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21358 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21359 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21360 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21361 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21362 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21365 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21366 wine_fn_append_file CONFIGURE_TARGETS "tags"
21367 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21368 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21369 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21370 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21371 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21372 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21374 if test "x$enable_tools" != xno
21375 then
21376 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21377 ac_config_commands="$ac_config_commands tools/makedep"
21381 ac_config_commands="$ac_config_commands Makefile"
21384 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21388 if test "x$enable_maintainer_mode" = xyes
21389 then
21390 wine_fn_append_rule "configure: configure.ac aclocal.m4
21391 autoconf --warnings=all
21392 include/config.h.in: include/stamp-h.in
21393 include/stamp-h.in: configure.ac aclocal.m4
21394 autoheader --warnings=all
21395 @echo timestamp > \$@"
21398 if test "x$enable_tools" != xno
21399 then
21400 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21401 @./config.status tools/makedep
21402 Makefile: tools/makedep$ac_exeext
21403 fonts: tools/sfnt2fon
21404 include: tools tools/widl"
21405 else
21406 wine_fn_append_rule "\$(MAKEDEP):
21407 @echo \"You need to run make in $TOOLSDIR first\" && false"
21410 if test -n "$with_wine64"
21411 then
21412 case "$with_wine64" in
21413 /*) reldir="" ;;
21414 *) reldir="../" ;;
21415 esac
21416 rm -f fonts server 2>/dev/null
21417 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21418 loader/wine64 loader/wine64-preloader:
21419 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21420 $with_wine64/loader/wine:
21421 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21422 $with_wine64/loader/wine-preloader:
21423 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21424 clean::
21425 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21426 else
21427 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21428 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21429 fonts \
21430 loader/wine.inf \
21431 loader/winebus.inf \
21432 loader/winehid.inf \
21433 loader/wineusb.inf \
21434 nls \
21435 programs/msidb/msidb \
21436 programs/msiexec/msiexec \
21437 programs/notepad/notepad \
21438 programs/regedit/regedit \
21439 programs/regsvr32/regsvr32 \
21440 programs/wineboot/wineboot \
21441 programs/winecfg/winecfg \
21442 programs/wineconsole/wineconsole \
21443 programs/winedbg/winedbg \
21444 programs/winefile/winefile \
21445 programs/winemine/winemine \
21446 programs/winepath/winepath \
21447 server/wineserver"
21449 case $host_os in
21450 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21451 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21452 esac
21455 $as_echo " done" >&6
21456 cat >confcache <<\_ACEOF
21457 # This file is a shell script that caches the results of configure
21458 # tests run on this system so they can be shared between configure
21459 # scripts and configure runs, see configure's option --config-cache.
21460 # It is not useful on other systems. If it contains results you don't
21461 # want to keep, you may remove or edit it.
21463 # config.status only pays attention to the cache file if you give it
21464 # the --recheck option to rerun configure.
21466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21468 # following values.
21470 _ACEOF
21472 # The following way of writing the cache mishandles newlines in values,
21473 # but we know of no workaround that is simple, portable, and efficient.
21474 # So, we kill variables containing newlines.
21475 # Ultrix sh set writes to stderr and can't be redirected directly,
21476 # and sets the high bit in the cache file unless we assign to the vars.
21478 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21479 eval ac_val=\$$ac_var
21480 case $ac_val in #(
21481 *${as_nl}*)
21482 case $ac_var in #(
21483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21485 esac
21486 case $ac_var in #(
21487 _ | IFS | as_nl) ;; #(
21488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21489 *) { eval $ac_var=; unset $ac_var;} ;;
21490 esac ;;
21491 esac
21492 done
21494 (set) 2>&1 |
21495 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21496 *${as_nl}ac_space=\ *)
21497 # `set' does not quote correctly, so add quotes: double-quote
21498 # substitution turns \\\\ into \\, and sed turns \\ into \.
21499 sed -n \
21500 "s/'/'\\\\''/g;
21501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21502 ;; #(
21504 # `set' quotes correctly as required by POSIX, so do not add quotes.
21505 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21507 esac |
21508 sort
21510 sed '
21511 /^ac_cv_env_/b end
21512 t clear
21513 :clear
21514 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21515 t end
21516 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21517 :end' >>confcache
21518 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21519 if test -w "$cache_file"; then
21520 if test "x$cache_file" != "x/dev/null"; then
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21522 $as_echo "$as_me: updating cache $cache_file" >&6;}
21523 if test ! -f "$cache_file" || test -h "$cache_file"; then
21524 cat confcache >"$cache_file"
21525 else
21526 case $cache_file in #(
21527 */* | ?:*)
21528 mv -f confcache "$cache_file"$$ &&
21529 mv -f "$cache_file"$$ "$cache_file" ;; #(
21531 mv -f confcache "$cache_file" ;;
21532 esac
21535 else
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21537 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21540 rm -f confcache
21542 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21543 # Let make expand exec_prefix.
21544 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21546 DEFS=-DHAVE_CONFIG_H
21548 ac_libobjs=
21549 ac_ltlibobjs=
21551 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21552 # 1. Remove the extension, and $U if already installed.
21553 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21554 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21555 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21556 # will be set to the directory where LIBOBJS objects are built.
21557 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21558 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21559 done
21560 LIBOBJS=$ac_libobjs
21562 LTLIBOBJS=$ac_ltlibobjs
21566 : "${CONFIG_STATUS=./config.status}"
21567 ac_write_fail=0
21568 ac_clean_files_save=$ac_clean_files
21569 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21571 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21572 as_write_fail=0
21573 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21574 #! $SHELL
21575 # Generated by $as_me.
21576 # Run this file to recreate the current configuration.
21577 # Compiler output produced by configure, useful for debugging
21578 # configure, is in config.log if it exists.
21580 debug=false
21581 ac_cs_recheck=false
21582 ac_cs_silent=false
21584 SHELL=\${CONFIG_SHELL-$SHELL}
21585 export SHELL
21586 _ASEOF
21587 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21588 ## -------------------- ##
21589 ## M4sh Initialization. ##
21590 ## -------------------- ##
21592 # Be more Bourne compatible
21593 DUALCASE=1; export DUALCASE # for MKS sh
21594 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21595 emulate sh
21596 NULLCMD=:
21597 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21598 # is contrary to our usage. Disable this feature.
21599 alias -g '${1+"$@"}'='"$@"'
21600 setopt NO_GLOB_SUBST
21601 else
21602 case `(set -o) 2>/dev/null` in #(
21603 *posix*) :
21604 set -o posix ;; #(
21605 *) :
21607 esac
21611 as_nl='
21613 export as_nl
21614 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21615 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21618 # Prefer a ksh shell builtin over an external printf program on Solaris,
21619 # but without wasting forks for bash or zsh.
21620 if test -z "$BASH_VERSION$ZSH_VERSION" \
21621 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21622 as_echo='print -r --'
21623 as_echo_n='print -rn --'
21624 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21625 as_echo='printf %s\n'
21626 as_echo_n='printf %s'
21627 else
21628 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21629 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21630 as_echo_n='/usr/ucb/echo -n'
21631 else
21632 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21633 as_echo_n_body='eval
21634 arg=$1;
21635 case $arg in #(
21636 *"$as_nl"*)
21637 expr "X$arg" : "X\\(.*\\)$as_nl";
21638 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21639 esac;
21640 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21642 export as_echo_n_body
21643 as_echo_n='sh -c $as_echo_n_body as_echo'
21645 export as_echo_body
21646 as_echo='sh -c $as_echo_body as_echo'
21649 # The user is always right.
21650 if test "${PATH_SEPARATOR+set}" != set; then
21651 PATH_SEPARATOR=:
21652 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21653 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21654 PATH_SEPARATOR=';'
21659 # IFS
21660 # We need space, tab and new line, in precisely that order. Quoting is
21661 # there to prevent editors from complaining about space-tab.
21662 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21663 # splitting by setting IFS to empty value.)
21664 IFS=" "" $as_nl"
21666 # Find who we are. Look in the path if we contain no directory separator.
21667 as_myself=
21668 case $0 in #((
21669 *[\\/]* ) as_myself=$0 ;;
21670 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21671 for as_dir in $PATH
21673 IFS=$as_save_IFS
21674 test -z "$as_dir" && as_dir=.
21675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21676 done
21677 IFS=$as_save_IFS
21680 esac
21681 # We did not find ourselves, most probably we were run as `sh COMMAND'
21682 # in which case we are not to be found in the path.
21683 if test "x$as_myself" = x; then
21684 as_myself=$0
21686 if test ! -f "$as_myself"; then
21687 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21688 exit 1
21691 # Unset variables that we do not need and which cause bugs (e.g. in
21692 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21693 # suppresses any "Segmentation fault" message there. '((' could
21694 # trigger a bug in pdksh 5.2.14.
21695 for as_var in BASH_ENV ENV MAIL MAILPATH
21696 do eval test x\${$as_var+set} = xset \
21697 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21698 done
21699 PS1='$ '
21700 PS2='> '
21701 PS4='+ '
21703 # NLS nuisances.
21704 LC_ALL=C
21705 export LC_ALL
21706 LANGUAGE=C
21707 export LANGUAGE
21709 # CDPATH.
21710 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21713 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21714 # ----------------------------------------
21715 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21716 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21717 # script with STATUS, using 1 if that was 0.
21718 as_fn_error ()
21720 as_status=$1; test $as_status -eq 0 && as_status=1
21721 if test "$4"; then
21722 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21723 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21725 $as_echo "$as_me: error: $2" >&2
21726 as_fn_exit $as_status
21727 } # as_fn_error
21730 # as_fn_set_status STATUS
21731 # -----------------------
21732 # Set $? to STATUS, without forking.
21733 as_fn_set_status ()
21735 return $1
21736 } # as_fn_set_status
21738 # as_fn_exit STATUS
21739 # -----------------
21740 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21741 as_fn_exit ()
21743 set +e
21744 as_fn_set_status $1
21745 exit $1
21746 } # as_fn_exit
21748 # as_fn_unset VAR
21749 # ---------------
21750 # Portably unset VAR.
21751 as_fn_unset ()
21753 { eval $1=; unset $1;}
21755 as_unset=as_fn_unset
21756 # as_fn_append VAR VALUE
21757 # ----------------------
21758 # Append the text in VALUE to the end of the definition contained in VAR. Take
21759 # advantage of any shell optimizations that allow amortized linear growth over
21760 # repeated appends, instead of the typical quadratic growth present in naive
21761 # implementations.
21762 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21763 eval 'as_fn_append ()
21765 eval $1+=\$2
21767 else
21768 as_fn_append ()
21770 eval $1=\$$1\$2
21772 fi # as_fn_append
21774 # as_fn_arith ARG...
21775 # ------------------
21776 # Perform arithmetic evaluation on the ARGs, and store the result in the
21777 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21778 # must be portable across $(()) and expr.
21779 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21780 eval 'as_fn_arith ()
21782 as_val=$(( $* ))
21784 else
21785 as_fn_arith ()
21787 as_val=`expr "$@" || test $? -eq 1`
21789 fi # as_fn_arith
21792 if expr a : '\(a\)' >/dev/null 2>&1 &&
21793 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21794 as_expr=expr
21795 else
21796 as_expr=false
21799 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21800 as_basename=basename
21801 else
21802 as_basename=false
21805 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21806 as_dirname=dirname
21807 else
21808 as_dirname=false
21811 as_me=`$as_basename -- "$0" ||
21812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21813 X"$0" : 'X\(//\)$' \| \
21814 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21815 $as_echo X/"$0" |
21816 sed '/^.*\/\([^/][^/]*\)\/*$/{
21817 s//\1/
21820 /^X\/\(\/\/\)$/{
21821 s//\1/
21824 /^X\/\(\/\).*/{
21825 s//\1/
21828 s/.*/./; q'`
21830 # Avoid depending upon Character Ranges.
21831 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21832 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21833 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21834 as_cr_digits='0123456789'
21835 as_cr_alnum=$as_cr_Letters$as_cr_digits
21837 ECHO_C= ECHO_N= ECHO_T=
21838 case `echo -n x` in #(((((
21839 -n*)
21840 case `echo 'xy\c'` in
21841 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21842 xy) ECHO_C='\c';;
21843 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21844 ECHO_T=' ';;
21845 esac;;
21847 ECHO_N='-n';;
21848 esac
21850 rm -f conf$$ conf$$.exe conf$$.file
21851 if test -d conf$$.dir; then
21852 rm -f conf$$.dir/conf$$.file
21853 else
21854 rm -f conf$$.dir
21855 mkdir conf$$.dir 2>/dev/null
21857 if (echo >conf$$.file) 2>/dev/null; then
21858 if ln -s conf$$.file conf$$ 2>/dev/null; then
21859 as_ln_s='ln -s'
21860 # ... but there are two gotchas:
21861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21863 # In both cases, we have to default to `cp -pR'.
21864 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21865 as_ln_s='cp -pR'
21866 elif ln conf$$.file conf$$ 2>/dev/null; then
21867 as_ln_s=ln
21868 else
21869 as_ln_s='cp -pR'
21871 else
21872 as_ln_s='cp -pR'
21874 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21875 rmdir conf$$.dir 2>/dev/null
21878 # as_fn_mkdir_p
21879 # -------------
21880 # Create "$as_dir" as a directory, including parents if necessary.
21881 as_fn_mkdir_p ()
21884 case $as_dir in #(
21885 -*) as_dir=./$as_dir;;
21886 esac
21887 test -d "$as_dir" || eval $as_mkdir_p || {
21888 as_dirs=
21889 while :; do
21890 case $as_dir in #(
21891 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21892 *) as_qdir=$as_dir;;
21893 esac
21894 as_dirs="'$as_qdir' $as_dirs"
21895 as_dir=`$as_dirname -- "$as_dir" ||
21896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21897 X"$as_dir" : 'X\(//\)[^/]' \| \
21898 X"$as_dir" : 'X\(//\)$' \| \
21899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21900 $as_echo X"$as_dir" |
21901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21902 s//\1/
21905 /^X\(\/\/\)[^/].*/{
21906 s//\1/
21909 /^X\(\/\/\)$/{
21910 s//\1/
21913 /^X\(\/\).*/{
21914 s//\1/
21917 s/.*/./; q'`
21918 test -d "$as_dir" && break
21919 done
21920 test -z "$as_dirs" || eval "mkdir $as_dirs"
21921 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21924 } # as_fn_mkdir_p
21925 if mkdir -p . 2>/dev/null; then
21926 as_mkdir_p='mkdir -p "$as_dir"'
21927 else
21928 test -d ./-p && rmdir ./-p
21929 as_mkdir_p=false
21933 # as_fn_executable_p FILE
21934 # -----------------------
21935 # Test if FILE is an executable regular file.
21936 as_fn_executable_p ()
21938 test -f "$1" && test -x "$1"
21939 } # as_fn_executable_p
21940 as_test_x='test -x'
21941 as_executable_p=as_fn_executable_p
21943 # Sed expression to map a string onto a valid CPP name.
21944 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21946 # Sed expression to map a string onto a valid variable name.
21947 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21950 exec 6>&1
21951 ## ----------------------------------- ##
21952 ## Main body of $CONFIG_STATUS script. ##
21953 ## ----------------------------------- ##
21954 _ASEOF
21955 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21958 # Save the log message, to keep $0 and so on meaningful, and to
21959 # report actual input values of CONFIG_FILES etc. instead of their
21960 # values after options handling.
21961 ac_log="
21962 This file was extended by Wine $as_me 5.8, which was
21963 generated by GNU Autoconf 2.69. Invocation command line was
21965 CONFIG_FILES = $CONFIG_FILES
21966 CONFIG_HEADERS = $CONFIG_HEADERS
21967 CONFIG_LINKS = $CONFIG_LINKS
21968 CONFIG_COMMANDS = $CONFIG_COMMANDS
21969 $ $0 $@
21971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21974 _ACEOF
21976 case $ac_config_files in *"
21977 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21978 esac
21980 case $ac_config_headers in *"
21981 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21982 esac
21985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21986 # Files that config.status was made for.
21987 config_files="$ac_config_files"
21988 config_headers="$ac_config_headers"
21989 config_links="$ac_config_links"
21990 config_commands="$ac_config_commands"
21992 _ACEOF
21994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21995 ac_cs_usage="\
21996 \`$as_me' instantiates files and other configuration actions
21997 from templates according to the current configuration. Unless the files
21998 and actions are specified as TAGs, all are instantiated by default.
22000 Usage: $0 [OPTION]... [TAG]...
22002 -h, --help print this help, then exit
22003 -V, --version print version number and configuration settings, then exit
22004 --config print configuration, then exit
22005 -q, --quiet, --silent
22006 do not print progress messages
22007 -d, --debug don't remove temporary files
22008 --recheck update $as_me by reconfiguring in the same conditions
22009 --file=FILE[:TEMPLATE]
22010 instantiate the configuration file FILE
22011 --header=FILE[:TEMPLATE]
22012 instantiate the configuration header FILE
22014 Configuration files:
22015 $config_files
22017 Configuration headers:
22018 $config_headers
22020 Configuration links:
22021 $config_links
22023 Configuration commands:
22024 $config_commands
22026 Report bugs to <wine-devel@winehq.org>.
22027 Wine home page: <https://www.winehq.org>."
22029 _ACEOF
22030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22031 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22032 ac_cs_version="\\
22033 Wine config.status 5.8
22034 configured by $0, generated by GNU Autoconf 2.69,
22035 with options \\"\$ac_cs_config\\"
22037 Copyright (C) 2012 Free Software Foundation, Inc.
22038 This config.status script is free software; the Free Software Foundation
22039 gives unlimited permission to copy, distribute and modify it."
22041 ac_pwd='$ac_pwd'
22042 srcdir='$srcdir'
22043 test -n "\$AWK" || AWK=awk
22044 _ACEOF
22046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22047 # The default lists apply if the user does not specify any file.
22048 ac_need_defaults=:
22049 while test $# != 0
22051 case $1 in
22052 --*=?*)
22053 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22054 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22055 ac_shift=:
22057 --*=)
22058 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22059 ac_optarg=
22060 ac_shift=:
22063 ac_option=$1
22064 ac_optarg=$2
22065 ac_shift=shift
22067 esac
22069 case $ac_option in
22070 # Handling of the options.
22071 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22072 ac_cs_recheck=: ;;
22073 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22074 $as_echo "$ac_cs_version"; exit ;;
22075 --config | --confi | --conf | --con | --co | --c )
22076 $as_echo "$ac_cs_config"; exit ;;
22077 --debug | --debu | --deb | --de | --d | -d )
22078 debug=: ;;
22079 --file | --fil | --fi | --f )
22080 $ac_shift
22081 case $ac_optarg in
22082 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22083 '') as_fn_error $? "missing file argument" ;;
22084 esac
22085 as_fn_append CONFIG_FILES " '$ac_optarg'"
22086 ac_need_defaults=false;;
22087 --header | --heade | --head | --hea )
22088 $ac_shift
22089 case $ac_optarg in
22090 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22091 esac
22092 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22093 ac_need_defaults=false;;
22094 --he | --h)
22095 # Conflict between --help and --header
22096 as_fn_error $? "ambiguous option: \`$1'
22097 Try \`$0 --help' for more information.";;
22098 --help | --hel | -h )
22099 $as_echo "$ac_cs_usage"; exit ;;
22100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22101 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22102 ac_cs_silent=: ;;
22104 # This is an error.
22105 -*) as_fn_error $? "unrecognized option: \`$1'
22106 Try \`$0 --help' for more information." ;;
22108 *) as_fn_append ac_config_targets " $1"
22109 ac_need_defaults=false ;;
22111 esac
22112 shift
22113 done
22115 ac_configure_extra_args=
22117 if $ac_cs_silent; then
22118 exec 6>/dev/null
22119 ac_configure_extra_args="$ac_configure_extra_args --silent"
22122 _ACEOF
22123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22124 if \$ac_cs_recheck; then
22125 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22126 shift
22127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22128 CONFIG_SHELL='$SHELL'
22129 export CONFIG_SHELL
22130 exec "\$@"
22133 _ACEOF
22134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22135 exec 5>>config.log
22137 echo
22138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22139 ## Running $as_me. ##
22140 _ASBOX
22141 $as_echo "$ac_log"
22142 } >&5
22144 _ACEOF
22145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22147 # INIT-COMMANDS
22149 wine_fn_output_makedep ()
22151 as_dir=tools; as_fn_mkdir_p
22152 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22154 wine_fn_output_makefile ()
22156 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22157 `cat $wine_rules_file`
22158 _WINE_EOF
22159 as_fn_error $? "could not create Makefile" "$LINENO" 5
22162 _ACEOF
22164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22166 # Handling of arguments.
22167 for ac_config_target in $ac_config_targets
22169 case $ac_config_target in
22170 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22171 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22172 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22173 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22174 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22175 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22176 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22178 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22179 esac
22180 done
22183 # If the user did not use the arguments to specify the items to instantiate,
22184 # then the envvar interface is used. Set only those that are not.
22185 # We use the long form for the default assignment because of an extremely
22186 # bizarre bug on SunOS 4.1.3.
22187 if $ac_need_defaults; then
22188 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22189 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22190 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22191 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22194 # Have a temporary directory for convenience. Make it in the build tree
22195 # simply because there is no reason against having it here, and in addition,
22196 # creating and moving files from /tmp can sometimes cause problems.
22197 # Hook for its removal unless debugging.
22198 # Note that there is a small window in which the directory will not be cleaned:
22199 # after its creation but before its name has been assigned to `$tmp'.
22200 $debug ||
22202 tmp= ac_tmp=
22203 trap 'exit_status=$?
22204 : "${ac_tmp:=$tmp}"
22205 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22207 trap 'as_fn_exit 1' 1 2 13 15
22209 # Create a (secure) tmp directory for tmp files.
22212 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22213 test -d "$tmp"
22214 } ||
22216 tmp=./conf$$-$RANDOM
22217 (umask 077 && mkdir "$tmp")
22218 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22219 ac_tmp=$tmp
22221 # Set up the scripts for CONFIG_FILES section.
22222 # No need to generate them if there are no CONFIG_FILES.
22223 # This happens for instance with `./config.status config.h'.
22224 if test -n "$CONFIG_FILES"; then
22227 ac_cr=`echo X | tr X '\015'`
22228 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22229 # But we know of no other shell where ac_cr would be empty at this
22230 # point, so we can use a bashism as a fallback.
22231 if test "x$ac_cr" = x; then
22232 eval ac_cr=\$\'\\r\'
22234 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22235 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22236 ac_cs_awk_cr='\\r'
22237 else
22238 ac_cs_awk_cr=$ac_cr
22241 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22242 _ACEOF
22246 echo "cat >conf$$subs.awk <<_ACEOF" &&
22247 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22248 echo "_ACEOF"
22249 } >conf$$subs.sh ||
22250 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22251 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22252 ac_delim='%!_!# '
22253 for ac_last_try in false false false false false :; do
22254 . ./conf$$subs.sh ||
22255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22257 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22258 if test $ac_delim_n = $ac_delim_num; then
22259 break
22260 elif $ac_last_try; then
22261 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22262 else
22263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22265 done
22266 rm -f conf$$subs.sh
22268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22269 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22270 _ACEOF
22271 sed -n '
22273 s/^/S["/; s/!.*/"]=/
22276 s/^[^!]*!//
22277 :repl
22278 t repl
22279 s/'"$ac_delim"'$//
22280 t delim
22283 s/\(.\{148\}\)..*/\1/
22284 t more1
22285 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22288 b repl
22289 :more1
22290 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22293 s/.\{148\}//
22294 t nl
22295 :delim
22297 s/\(.\{148\}\)..*/\1/
22298 t more2
22299 s/["\\]/\\&/g; s/^/"/; s/$/"/
22302 :more2
22303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22306 s/.\{148\}//
22307 t delim
22308 ' <conf$$subs.awk | sed '
22309 /^[^""]/{
22311 s/\n//
22313 ' >>$CONFIG_STATUS || ac_write_fail=1
22314 rm -f conf$$subs.awk
22315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22316 _ACAWK
22317 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22318 for (key in S) S_is_set[key] = 1
22319 FS = "\a"
22323 line = $ 0
22324 nfields = split(line, field, "@")
22325 substed = 0
22326 len = length(field[1])
22327 for (i = 2; i < nfields; i++) {
22328 key = field[i]
22329 keylen = length(key)
22330 if (S_is_set[key]) {
22331 value = S[key]
22332 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22333 len += length(value) + length(field[++i])
22334 substed = 1
22335 } else
22336 len += 1 + keylen
22339 print line
22342 _ACAWK
22343 _ACEOF
22344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22345 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22346 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22347 else
22349 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22350 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22351 _ACEOF
22353 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22354 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22355 # trailing colons and then remove the whole line if VPATH becomes empty
22356 # (actually we leave an empty line to preserve line numbers).
22357 if test "x$srcdir" = x.; then
22358 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22360 s///
22361 s/^/:/
22362 s/[ ]*$/:/
22363 s/:\$(srcdir):/:/g
22364 s/:\${srcdir}:/:/g
22365 s/:@srcdir@:/:/g
22366 s/^:*//
22367 s/:*$//
22369 s/\(=[ ]*\).*/\1/
22371 s/\n//
22372 s/^[^=]*=[ ]*$//
22376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22377 fi # test -n "$CONFIG_FILES"
22379 # Set up the scripts for CONFIG_HEADERS section.
22380 # No need to generate them if there are no CONFIG_HEADERS.
22381 # This happens for instance with `./config.status Makefile'.
22382 if test -n "$CONFIG_HEADERS"; then
22383 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22384 BEGIN {
22385 _ACEOF
22387 # Transform confdefs.h into an awk script `defines.awk', embedded as
22388 # here-document in config.status, that substitutes the proper values into
22389 # config.h.in to produce config.h.
22391 # Create a delimiter string that does not exist in confdefs.h, to ease
22392 # handling of long lines.
22393 ac_delim='%!_!# '
22394 for ac_last_try in false false :; do
22395 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22396 if test -z "$ac_tt"; then
22397 break
22398 elif $ac_last_try; then
22399 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22400 else
22401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22403 done
22405 # For the awk script, D is an array of macro values keyed by name,
22406 # likewise P contains macro parameters if any. Preserve backslash
22407 # newline sequences.
22409 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22410 sed -n '
22411 s/.\{148\}/&'"$ac_delim"'/g
22412 t rset
22413 :rset
22414 s/^[ ]*#[ ]*define[ ][ ]*/ /
22415 t def
22417 :def
22418 s/\\$//
22419 t bsnl
22420 s/["\\]/\\&/g
22421 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22422 D["\1"]=" \3"/p
22423 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22425 :bsnl
22426 s/["\\]/\\&/g
22427 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22428 D["\1"]=" \3\\\\\\n"\\/p
22429 t cont
22430 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22431 t cont
22433 :cont
22435 s/.\{148\}/&'"$ac_delim"'/g
22436 t clear
22437 :clear
22438 s/\\$//
22439 t bsnlc
22440 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22442 :bsnlc
22443 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22444 b cont
22445 ' <confdefs.h | sed '
22446 s/'"$ac_delim"'/"\\\
22447 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22450 for (key in D) D_is_set[key] = 1
22451 FS = "\a"
22453 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22454 line = \$ 0
22455 split(line, arg, " ")
22456 if (arg[1] == "#") {
22457 defundef = arg[2]
22458 mac1 = arg[3]
22459 } else {
22460 defundef = substr(arg[1], 2)
22461 mac1 = arg[2]
22463 split(mac1, mac2, "(") #)
22464 macro = mac2[1]
22465 prefix = substr(line, 1, index(line, defundef) - 1)
22466 if (D_is_set[macro]) {
22467 # Preserve the white space surrounding the "#".
22468 print prefix "define", macro P[macro] D[macro]
22469 next
22470 } else {
22471 # Replace #undef with comments. This is necessary, for example,
22472 # in the case of _POSIX_SOURCE, which is predefined and required
22473 # on some systems where configure will not decide to define it.
22474 if (defundef == "undef") {
22475 print "/*", prefix defundef, macro, "*/"
22476 next
22480 { print }
22481 _ACAWK
22482 _ACEOF
22483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22484 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22485 fi # test -n "$CONFIG_HEADERS"
22488 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22489 shift
22490 for ac_tag
22492 case $ac_tag in
22493 :[FHLC]) ac_mode=$ac_tag; continue;;
22494 esac
22495 case $ac_mode$ac_tag in
22496 :[FHL]*:*);;
22497 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22498 :[FH]-) ac_tag=-:-;;
22499 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22500 esac
22501 ac_save_IFS=$IFS
22502 IFS=:
22503 set x $ac_tag
22504 IFS=$ac_save_IFS
22505 shift
22506 ac_file=$1
22507 shift
22509 case $ac_mode in
22510 :L) ac_source=$1;;
22511 :[FH])
22512 ac_file_inputs=
22513 for ac_f
22515 case $ac_f in
22516 -) ac_f="$ac_tmp/stdin";;
22517 *) # Look for the file first in the build tree, then in the source tree
22518 # (if the path is not absolute). The absolute path cannot be DOS-style,
22519 # because $ac_f cannot contain `:'.
22520 test -f "$ac_f" ||
22521 case $ac_f in
22522 [\\/$]*) false;;
22523 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22524 esac ||
22525 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22526 esac
22527 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22528 as_fn_append ac_file_inputs " '$ac_f'"
22529 done
22531 # Let's still pretend it is `configure' which instantiates (i.e., don't
22532 # use $as_me), people would be surprised to read:
22533 # /* config.h. Generated by config.status. */
22534 configure_input='Generated from '`
22535 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22536 `' by configure.'
22537 if test x"$ac_file" != x-; then
22538 configure_input="$ac_file. $configure_input"
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22540 $as_echo "$as_me: creating $ac_file" >&6;}
22542 # Neutralize special characters interpreted by sed in replacement strings.
22543 case $configure_input in #(
22544 *\&* | *\|* | *\\* )
22545 ac_sed_conf_input=`$as_echo "$configure_input" |
22546 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22547 *) ac_sed_conf_input=$configure_input;;
22548 esac
22550 case $ac_tag in
22551 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22553 esac
22555 esac
22557 ac_dir=`$as_dirname -- "$ac_file" ||
22558 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22559 X"$ac_file" : 'X\(//\)[^/]' \| \
22560 X"$ac_file" : 'X\(//\)$' \| \
22561 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22562 $as_echo X"$ac_file" |
22563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22564 s//\1/
22567 /^X\(\/\/\)[^/].*/{
22568 s//\1/
22571 /^X\(\/\/\)$/{
22572 s//\1/
22575 /^X\(\/\).*/{
22576 s//\1/
22579 s/.*/./; q'`
22580 as_dir="$ac_dir"; as_fn_mkdir_p
22581 ac_builddir=.
22583 case "$ac_dir" in
22584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22587 # A ".." for each directory in $ac_dir_suffix.
22588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22589 case $ac_top_builddir_sub in
22590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22592 esac ;;
22593 esac
22594 ac_abs_top_builddir=$ac_pwd
22595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22596 # for backward compatibility:
22597 ac_top_builddir=$ac_top_build_prefix
22599 case $srcdir in
22600 .) # We are building in place.
22601 ac_srcdir=.
22602 ac_top_srcdir=$ac_top_builddir_sub
22603 ac_abs_top_srcdir=$ac_pwd ;;
22604 [\\/]* | ?:[\\/]* ) # Absolute name.
22605 ac_srcdir=$srcdir$ac_dir_suffix;
22606 ac_top_srcdir=$srcdir
22607 ac_abs_top_srcdir=$srcdir ;;
22608 *) # Relative name.
22609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22610 ac_top_srcdir=$ac_top_build_prefix$srcdir
22611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22612 esac
22613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22616 case $ac_mode in
22619 # CONFIG_FILE
22622 _ACEOF
22624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22625 # If the template does not know about datarootdir, expand it.
22626 # FIXME: This hack should be removed a few years after 2.60.
22627 ac_datarootdir_hack=; ac_datarootdir_seen=
22628 ac_sed_dataroot='
22629 /datarootdir/ {
22633 /@datadir@/p
22634 /@docdir@/p
22635 /@infodir@/p
22636 /@localedir@/p
22637 /@mandir@/p'
22638 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22639 *datarootdir*) ac_datarootdir_seen=yes;;
22640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22642 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22643 _ACEOF
22644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22645 ac_datarootdir_hack='
22646 s&@datadir@&$datadir&g
22647 s&@docdir@&$docdir&g
22648 s&@infodir@&$infodir&g
22649 s&@localedir@&$localedir&g
22650 s&@mandir@&$mandir&g
22651 s&\\\${datarootdir}&$datarootdir&g' ;;
22652 esac
22653 _ACEOF
22655 # Neutralize VPATH when `$srcdir' = `.'.
22656 # Shell code in configure.ac might set extrasub.
22657 # FIXME: do we really want to maintain this feature?
22658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22659 ac_sed_extra="$ac_vpsub
22660 $extrasub
22661 _ACEOF
22662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22665 s|@configure_input@|$ac_sed_conf_input|;t t
22666 s&@top_builddir@&$ac_top_builddir_sub&;t t
22667 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22668 s&@srcdir@&$ac_srcdir&;t t
22669 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22670 s&@top_srcdir@&$ac_top_srcdir&;t t
22671 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22672 s&@builddir@&$ac_builddir&;t t
22673 s&@abs_builddir@&$ac_abs_builddir&;t t
22674 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22675 $ac_datarootdir_hack
22677 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22678 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22680 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22681 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22682 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22683 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22685 which seems to be undefined. Please make sure it is defined" >&5
22686 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22687 which seems to be undefined. Please make sure it is defined" >&2;}
22689 rm -f "$ac_tmp/stdin"
22690 case $ac_file in
22691 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22692 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22693 esac \
22694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22698 # CONFIG_HEADER
22700 if test x"$ac_file" != x-; then
22702 $as_echo "/* $configure_input */" \
22703 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22704 } >"$ac_tmp/config.h" \
22705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22706 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22708 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22709 else
22710 rm -f "$ac_file"
22711 mv "$ac_tmp/config.h" "$ac_file" \
22712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22714 else
22715 $as_echo "/* $configure_input */" \
22716 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22717 || as_fn_error $? "could not create -" "$LINENO" 5
22722 # CONFIG_LINK
22725 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22727 else
22728 # Prefer the file from the source tree if names are identical.
22729 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22730 ac_source=$srcdir/$ac_source
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22734 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22736 if test ! -r "$ac_source"; then
22737 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22739 rm -f "$ac_file"
22741 # Try a relative symlink, then a hard link, then a copy.
22742 case $ac_source in
22743 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22744 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22745 esac
22746 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22747 ln "$ac_source" "$ac_file" 2>/dev/null ||
22748 cp -p "$ac_source" "$ac_file" ||
22749 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22752 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22753 $as_echo "$as_me: executing $ac_file commands" >&6;}
22755 esac
22758 case $ac_file$ac_mode in
22759 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22760 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22761 "Makefile":C) wine_fn_output_makefile Makefile ;;
22763 esac
22764 done # for ac_tag
22767 as_fn_exit 0
22768 _ACEOF
22769 ac_clean_files=$ac_clean_files_save
22771 test $ac_write_fail = 0 ||
22772 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22775 # configure is writing to config.log, and then calls config.status.
22776 # config.status does its own redirection, appending to config.log.
22777 # Unfortunately, on DOS this fails, as config.log is still kept open
22778 # by configure, so config.status won't be able to write to it; its
22779 # output is simply discarded. So we exec the FD to /dev/null,
22780 # effectively closing config.log, so it can be properly (re)opened and
22781 # appended to by config.status. When coming back to configure, we
22782 # need to make the FD available again.
22783 if test "$no_create" != yes; then
22784 ac_cs_success=:
22785 ac_config_status_args=
22786 test "$silent" = yes &&
22787 ac_config_status_args="$ac_config_status_args --quiet"
22788 exec 5>/dev/null
22789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22790 exec 5>>config.log
22791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22792 # would make configure fail if this is the last instruction.
22793 $ac_cs_success || as_fn_exit 1
22795 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22797 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22801 if test "$no_create" = "yes"
22802 then
22803 exit 0
22806 ac_save_IFS="$IFS"
22807 if test "x$wine_notices" != x; then
22808 echo >&6
22809 IFS="|"
22810 for msg in $wine_notices; do
22811 IFS="$ac_save_IFS"
22812 if ${msg:+false} :; then :
22814 else
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22816 $as_echo "$as_me: $msg" >&6;}
22818 done
22820 IFS="|"
22821 for msg in $wine_warnings; do
22822 IFS="$ac_save_IFS"
22823 if ${msg:+false} :; then :
22825 else
22826 echo >&2
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22828 $as_echo "$as_me: WARNING: $msg" >&2;}
22830 done
22831 IFS="$ac_save_IFS"
22833 $as_echo "
22834 $as_me: Finished. Do '${ac_make}' to compile Wine.
22835 " >&6