d3dx10: Fix a prototype mismatch.
[wine.git] / configure
blobb6d22f896ea365e34654a5955a38cd8742f5d4a7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='7.0'
615 PACKAGE_STRING='Wine 7.0'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 DBUS_LIBS
704 DBUS_CFLAGS
705 INOTIFY_LIBS
706 INOTIFY_CFLAGS
707 PCAP_LIBS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZLIB_PE_LIBS
716 ZLIB_PE_CFLAGS
717 XSLT_PE_LIBS
718 XSLT_PE_CFLAGS
719 XML2_PE_LIBS
720 XML2_PE_CFLAGS
721 TIFF_PE_LIBS
722 TIFF_PE_CFLAGS
723 PNG_PE_LIBS
724 PNG_PE_CFLAGS
725 MPG123_PE_LIBS
726 MPG123_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 EXCESS_PRECISION_CFLAGS
739 CROSSDEBUG
740 DELAYLOADFLAG
741 CROSSLDFLAGS
742 EXTRACROSSCFLAGS
743 CROSSCFLAGS
744 CROSSCC
745 CROSSTARGET
746 LIBWINE_DEPENDS
747 PRELINK
748 WINELOADER_DEPENDS
749 LIBWINE_LDFLAGS
750 LIBWINE_SHAREDLIB
751 METAL_LIBS
752 CARBON_LIBS
753 OPENCL_LIBS
754 OPENAL_LIBS
755 COREAUDIO_LIBS
756 SECURITY_LIBS
757 DISKARBITRATION_LIBS
758 SYSTEMCONFIGURATION_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 IOKIT_LIBS
763 COREFOUNDATION_LIBS
764 ac_ct_OBJC
765 OBJCFLAGS
766 OBJC
767 DLLTOOL
768 WINELOADER_PROGRAMS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 WINEPRELOADER_LDFLAGS
776 WINELOADER_LDFLAGS
777 TOP_INSTALL_DEV
778 TOP_INSTALL_LIB
779 UNIXLDFLAGS
780 UNIXDLLFLAGS
781 EXTRACFLAGS
782 LDEXECFLAGS
783 LDDLLFLAGS
784 DLLFLAGS
785 OPENGL_LIBS
786 I386_LIBS
787 ICOTOOL
788 CONVERT
789 RSVG
790 FONTFORGE
791 PKG_CONFIG
792 MSGFMT
793 LDCONFIG
794 EGREP
795 GREP
796 LN_S
797 RANLIB
798 STRIP
799 ac_ct_AR
801 BISON
802 FLEX
803 SED_CMD
804 RUNTESTFLAGS
805 MAKEDEP
806 toolsdir
807 toolsext
808 TARGETFLAGS
810 CPPBIN
811 ac_ct_CXX
812 CXXFLAGS
814 OBJEXT
815 EXEEXT
816 ac_ct_CC
817 CPPFLAGS
818 LDFLAGS
819 CFLAGS
821 SET_MAKE
822 srcdir
823 nlsdir
824 fontdir
825 dlldir
826 host_os
827 host_vendor
828 host_cpu
829 host
830 build_os
831 build_vendor
832 build_cpu
833 build
834 system_dllpath
835 target_alias
836 host_alias
837 build_alias
838 LIBS
839 ECHO_T
840 ECHO_N
841 ECHO_C
842 DEFS
843 mandir
844 localedir
845 libdir
846 psdir
847 pdfdir
848 dvidir
849 htmldir
850 infodir
851 docdir
852 oldincludedir
853 includedir
854 runstatedir
855 localstatedir
856 sharedstatedir
857 sysconfdir
858 datadir
859 datarootdir
860 libexecdir
861 sbindir
862 bindir
863 program_transform_name
864 prefix
865 exec_prefix
866 PACKAGE_URL
867 PACKAGE_BUGREPORT
868 PACKAGE_STRING
869 PACKAGE_VERSION
870 PACKAGE_TARNAME
871 PACKAGE_NAME
872 PATH_SEPARATOR
873 SHELL'
874 ac_subst_files=''
875 ac_user_opts='
876 enable_option_checking
877 enable_win16
878 enable_win64
879 enable_tests
880 enable_build_id
881 enable_maintainer_mode
882 enable_silent_rules
883 enable_werror
884 with_alsa
885 with_capi
886 with_coreaudio
887 with_cups
888 with_dbus
889 with_float_abi
890 with_fontconfig
891 with_freetype
892 with_gettext
893 with_gettextpo
894 with_gphoto
895 with_gnutls
896 with_gssapi
897 with_gstreamer
898 with_inotify
899 with_krb5
900 with_ldap
901 with_mingw
902 with_netapi
903 with_openal
904 with_opencl
905 with_opengl
906 with_osmesa
907 with_oss
908 with_pcap
909 with_pthread
910 with_pulse
911 with_sane
912 with_sdl
913 with_udev
914 with_unwind
915 with_usb
916 with_v4l2
917 with_vkd3d
918 with_vulkan
919 with_xcomposite
920 with_xcursor
921 with_xfixes
922 with_xinerama
923 with_xinput
924 with_xinput2
925 with_xrandr
926 with_xrender
927 with_xshape
928 with_xshm
929 with_xxf86vm
930 with_system_dllpath
931 with_wine_tools
932 with_wine64
933 enable_largefile
934 with_x
935 enable_acledit
936 enable_aclui
937 enable_activeds_tlb
938 enable_activeds
939 enable_actxprxy
940 enable_adsldp
941 enable_adsldpc
942 enable_advapi32
943 enable_advpack
944 enable_amsi
945 enable_amstream
946 enable_api_ms_win_appmodel_identity_l1_1_0
947 enable_api_ms_win_appmodel_runtime_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_1
949 enable_api_ms_win_appmodel_runtime_l1_1_2
950 enable_api_ms_win_core_apiquery_l1_1_0
951 enable_api_ms_win_core_appcompat_l1_1_1
952 enable_api_ms_win_core_appinit_l1_1_0
953 enable_api_ms_win_core_atoms_l1_1_0
954 enable_api_ms_win_core_bem_l1_1_0
955 enable_api_ms_win_core_com_l1_1_0
956 enable_api_ms_win_core_com_l1_1_1
957 enable_api_ms_win_core_com_private_l1_1_0
958 enable_api_ms_win_core_comm_l1_1_0
959 enable_api_ms_win_core_console_l1_1_0
960 enable_api_ms_win_core_console_l1_2_0
961 enable_api_ms_win_core_console_l2_1_0
962 enable_api_ms_win_core_console_l3_2_0
963 enable_api_ms_win_core_crt_l1_1_0
964 enable_api_ms_win_core_crt_l2_1_0
965 enable_api_ms_win_core_datetime_l1_1_0
966 enable_api_ms_win_core_datetime_l1_1_1
967 enable_api_ms_win_core_debug_l1_1_0
968 enable_api_ms_win_core_debug_l1_1_1
969 enable_api_ms_win_core_delayload_l1_1_0
970 enable_api_ms_win_core_delayload_l1_1_1
971 enable_api_ms_win_core_errorhandling_l1_1_0
972 enable_api_ms_win_core_errorhandling_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_2
974 enable_api_ms_win_core_errorhandling_l1_1_3
975 enable_api_ms_win_core_featurestaging_l1_1_0
976 enable_api_ms_win_core_fibers_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_1
978 enable_api_ms_win_core_file_ansi_l2_1_0
979 enable_api_ms_win_core_file_fromapp_l1_1_0
980 enable_api_ms_win_core_file_l1_1_0
981 enable_api_ms_win_core_file_l1_2_0
982 enable_api_ms_win_core_file_l1_2_1
983 enable_api_ms_win_core_file_l1_2_2
984 enable_api_ms_win_core_file_l2_1_0
985 enable_api_ms_win_core_file_l2_1_1
986 enable_api_ms_win_core_file_l2_1_2
987 enable_api_ms_win_core_handle_l1_1_0
988 enable_api_ms_win_core_heap_l1_1_0
989 enable_api_ms_win_core_heap_l1_2_0
990 enable_api_ms_win_core_heap_l2_1_0
991 enable_api_ms_win_core_heap_obsolete_l1_1_0
992 enable_api_ms_win_core_interlocked_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_2_0
994 enable_api_ms_win_core_io_l1_1_0
995 enable_api_ms_win_core_io_l1_1_1
996 enable_api_ms_win_core_job_l1_1_0
997 enable_api_ms_win_core_job_l2_1_0
998 enable_api_ms_win_core_kernel32_legacy_l1_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1002 enable_api_ms_win_core_kernel32_private_l1_1_1
1003 enable_api_ms_win_core_largeinteger_l1_1_0
1004 enable_api_ms_win_core_libraryloader_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_1
1006 enable_api_ms_win_core_libraryloader_l1_2_0
1007 enable_api_ms_win_core_libraryloader_l1_2_1
1008 enable_api_ms_win_core_libraryloader_l1_2_2
1009 enable_api_ms_win_core_libraryloader_l2_1_0
1010 enable_api_ms_win_core_localization_l1_1_0
1011 enable_api_ms_win_core_localization_l1_2_0
1012 enable_api_ms_win_core_localization_l1_2_1
1013 enable_api_ms_win_core_localization_l1_2_2
1014 enable_api_ms_win_core_localization_l2_1_0
1015 enable_api_ms_win_core_localization_obsolete_l1_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_2_0
1017 enable_api_ms_win_core_localization_obsolete_l1_3_0
1018 enable_api_ms_win_core_localization_private_l1_1_0
1019 enable_api_ms_win_core_localregistry_l1_1_0
1020 enable_api_ms_win_core_memory_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_1
1022 enable_api_ms_win_core_memory_l1_1_2
1023 enable_api_ms_win_core_memory_l1_1_3
1024 enable_api_ms_win_core_memory_l1_1_4
1025 enable_api_ms_win_core_misc_l1_1_0
1026 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1027 enable_api_ms_win_core_namedpipe_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_2_0
1029 enable_api_ms_win_core_namespace_l1_1_0
1030 enable_api_ms_win_core_normalization_l1_1_0
1031 enable_api_ms_win_core_path_l1_1_0
1032 enable_api_ms_win_core_privateprofile_l1_1_1
1033 enable_api_ms_win_core_processenvironment_l1_1_0
1034 enable_api_ms_win_core_processenvironment_l1_2_0
1035 enable_api_ms_win_core_processthreads_l1_1_0
1036 enable_api_ms_win_core_processthreads_l1_1_1
1037 enable_api_ms_win_core_processthreads_l1_1_2
1038 enable_api_ms_win_core_processthreads_l1_1_3
1039 enable_api_ms_win_core_processtopology_l1_1_0
1040 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1041 enable_api_ms_win_core_profile_l1_1_0
1042 enable_api_ms_win_core_psapi_ansi_l1_1_0
1043 enable_api_ms_win_core_psapi_l1_1_0
1044 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1045 enable_api_ms_win_core_psm_appnotify_l1_1_0
1046 enable_api_ms_win_core_quirks_l1_1_0
1047 enable_api_ms_win_core_realtime_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_1
1049 enable_api_ms_win_core_registry_l1_1_0
1050 enable_api_ms_win_core_registry_l2_1_0
1051 enable_api_ms_win_core_registry_l2_2_0
1052 enable_api_ms_win_core_registryuserspecific_l1_1_0
1053 enable_api_ms_win_core_rtlsupport_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_2_0
1055 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1056 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1058 enable_api_ms_win_core_shutdown_l1_1_0
1059 enable_api_ms_win_core_sidebyside_l1_1_0
1060 enable_api_ms_win_core_string_l1_1_0
1061 enable_api_ms_win_core_string_l2_1_0
1062 enable_api_ms_win_core_string_obsolete_l1_1_0
1063 enable_api_ms_win_core_stringansi_l1_1_0
1064 enable_api_ms_win_core_stringloader_l1_1_1
1065 enable_api_ms_win_core_synch_ansi_l1_1_0
1066 enable_api_ms_win_core_synch_l1_1_0
1067 enable_api_ms_win_core_synch_l1_2_0
1068 enable_api_ms_win_core_synch_l1_2_1
1069 enable_api_ms_win_core_sysinfo_l1_1_0
1070 enable_api_ms_win_core_sysinfo_l1_2_0
1071 enable_api_ms_win_core_sysinfo_l1_2_1
1072 enable_api_ms_win_core_systemtopology_l1_1_0
1073 enable_api_ms_win_core_threadpool_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_2_0
1075 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1076 enable_api_ms_win_core_threadpool_private_l1_1_0
1077 enable_api_ms_win_core_timezone_l1_1_0
1078 enable_api_ms_win_core_toolhelp_l1_1_0
1079 enable_api_ms_win_core_url_l1_1_0
1080 enable_api_ms_win_core_util_l1_1_0
1081 enable_api_ms_win_core_version_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_1
1083 enable_api_ms_win_core_version_private_l1_1_0
1084 enable_api_ms_win_core_versionansi_l1_1_0
1085 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_1
1087 enable_api_ms_win_core_winrt_error_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_1
1089 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1090 enable_api_ms_win_core_winrt_l1_1_0
1091 enable_api_ms_win_core_winrt_registration_l1_1_0
1092 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1093 enable_api_ms_win_core_winrt_string_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_1
1095 enable_api_ms_win_core_wow64_l1_1_0
1096 enable_api_ms_win_core_wow64_l1_1_1
1097 enable_api_ms_win_core_xstate_l1_1_0
1098 enable_api_ms_win_core_xstate_l2_1_0
1099 enable_api_ms_win_crt_conio_l1_1_0
1100 enable_api_ms_win_crt_convert_l1_1_0
1101 enable_api_ms_win_crt_environment_l1_1_0
1102 enable_api_ms_win_crt_filesystem_l1_1_0
1103 enable_api_ms_win_crt_heap_l1_1_0
1104 enable_api_ms_win_crt_locale_l1_1_0
1105 enable_api_ms_win_crt_math_l1_1_0
1106 enable_api_ms_win_crt_multibyte_l1_1_0
1107 enable_api_ms_win_crt_private_l1_1_0
1108 enable_api_ms_win_crt_process_l1_1_0
1109 enable_api_ms_win_crt_runtime_l1_1_0
1110 enable_api_ms_win_crt_stdio_l1_1_0
1111 enable_api_ms_win_crt_string_l1_1_0
1112 enable_api_ms_win_crt_time_l1_1_0
1113 enable_api_ms_win_crt_utility_l1_1_0
1114 enable_api_ms_win_devices_config_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_1
1116 enable_api_ms_win_devices_query_l1_1_1
1117 enable_api_ms_win_downlevel_advapi32_l1_1_0
1118 enable_api_ms_win_downlevel_advapi32_l2_1_0
1119 enable_api_ms_win_downlevel_kernel32_l2_1_0
1120 enable_api_ms_win_downlevel_normaliz_l1_1_0
1121 enable_api_ms_win_downlevel_ole32_l1_1_0
1122 enable_api_ms_win_downlevel_shell32_l1_1_0
1123 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1125 enable_api_ms_win_downlevel_user32_l1_1_0
1126 enable_api_ms_win_downlevel_version_l1_1_0
1127 enable_api_ms_win_dx_d3dkmt_l1_1_0
1128 enable_api_ms_win_eventing_classicprovider_l1_1_0
1129 enable_api_ms_win_eventing_consumer_l1_1_0
1130 enable_api_ms_win_eventing_controller_l1_1_0
1131 enable_api_ms_win_eventing_legacy_l1_1_0
1132 enable_api_ms_win_eventing_provider_l1_1_0
1133 enable_api_ms_win_eventlog_legacy_l1_1_0
1134 enable_api_ms_win_gaming_tcui_l1_1_0
1135 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1136 enable_api_ms_win_mm_joystick_l1_1_0
1137 enable_api_ms_win_mm_misc_l1_1_1
1138 enable_api_ms_win_mm_mme_l1_1_0
1139 enable_api_ms_win_mm_time_l1_1_0
1140 enable_api_ms_win_ntuser_dc_access_l1_1_0
1141 enable_api_ms_win_ntuser_rectangle_l1_1_0
1142 enable_api_ms_win_ntuser_sysparams_l1_1_0
1143 enable_api_ms_win_perf_legacy_l1_1_0
1144 enable_api_ms_win_power_base_l1_1_0
1145 enable_api_ms_win_power_setting_l1_1_0
1146 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1149 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1153 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1154 enable_api_ms_win_security_audit_l1_1_1
1155 enable_api_ms_win_security_base_l1_1_0
1156 enable_api_ms_win_security_base_l1_2_0
1157 enable_api_ms_win_security_base_private_l1_1_1
1158 enable_api_ms_win_security_credentials_l1_1_0
1159 enable_api_ms_win_security_cryptoapi_l1_1_0
1160 enable_api_ms_win_security_grouppolicy_l1_1_0
1161 enable_api_ms_win_security_lsalookup_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_1
1163 enable_api_ms_win_security_lsalookup_l2_1_0
1164 enable_api_ms_win_security_lsalookup_l2_1_1
1165 enable_api_ms_win_security_lsapolicy_l1_1_0
1166 enable_api_ms_win_security_provider_l1_1_0
1167 enable_api_ms_win_security_sddl_l1_1_0
1168 enable_api_ms_win_security_systemfunctions_l1_1_0
1169 enable_api_ms_win_service_core_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_1
1171 enable_api_ms_win_service_management_l1_1_0
1172 enable_api_ms_win_service_management_l2_1_0
1173 enable_api_ms_win_service_private_l1_1_1
1174 enable_api_ms_win_service_winsvc_l1_1_0
1175 enable_api_ms_win_service_winsvc_l1_2_0
1176 enable_api_ms_win_shcore_obsolete_l1_1_0
1177 enable_api_ms_win_shcore_scaling_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_1
1179 enable_api_ms_win_shcore_stream_l1_1_0
1180 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1181 enable_api_ms_win_shcore_thread_l1_1_0
1182 enable_api_ms_win_shell_shellcom_l1_1_0
1183 enable_api_ms_win_shell_shellfolders_l1_1_0
1184 enable_apphelp
1185 enable_appwiz_cpl
1186 enable_atl
1187 enable_atl100
1188 enable_atl110
1189 enable_atl80
1190 enable_atl90
1191 enable_atlthunk
1192 enable_atmlib
1193 enable_authz
1194 enable_avicap32
1195 enable_avifil32
1196 enable_avrt
1197 enable_bcrypt
1198 enable_bluetoothapis
1199 enable_browseui
1200 enable_bthprops_cpl
1201 enable_cabinet
1202 enable_capi2032
1203 enable_cards
1204 enable_cdosys
1205 enable_cfgmgr32
1206 enable_clusapi
1207 enable_cng_sys
1208 enable_combase
1209 enable_comcat
1210 enable_comctl32
1211 enable_comdlg32
1212 enable_compstui
1213 enable_comsvcs
1214 enable_concrt140
1215 enable_connect
1216 enable_credui
1217 enable_crtdll
1218 enable_crypt32
1219 enable_cryptdlg
1220 enable_cryptdll
1221 enable_cryptext
1222 enable_cryptnet
1223 enable_cryptsp
1224 enable_cryptui
1225 enable_ctapi32
1226 enable_ctl3d32
1227 enable_d2d1
1228 enable_d3d10
1229 enable_d3d10_1
1230 enable_d3d10core
1231 enable_d3d11
1232 enable_d3d12
1233 enable_d3d8
1234 enable_d3d8thk
1235 enable_d3d9
1236 enable_d3dcompiler_33
1237 enable_d3dcompiler_34
1238 enable_d3dcompiler_35
1239 enable_d3dcompiler_36
1240 enable_d3dcompiler_37
1241 enable_d3dcompiler_38
1242 enable_d3dcompiler_39
1243 enable_d3dcompiler_40
1244 enable_d3dcompiler_41
1245 enable_d3dcompiler_42
1246 enable_d3dcompiler_43
1247 enable_d3dcompiler_46
1248 enable_d3dcompiler_47
1249 enable_d3dim
1250 enable_d3dim700
1251 enable_d3drm
1252 enable_d3dx10_33
1253 enable_d3dx10_34
1254 enable_d3dx10_35
1255 enable_d3dx10_36
1256 enable_d3dx10_37
1257 enable_d3dx10_38
1258 enable_d3dx10_39
1259 enable_d3dx10_40
1260 enable_d3dx10_41
1261 enable_d3dx10_42
1262 enable_d3dx10_43
1263 enable_d3dx11_42
1264 enable_d3dx11_43
1265 enable_d3dx9_24
1266 enable_d3dx9_25
1267 enable_d3dx9_26
1268 enable_d3dx9_27
1269 enable_d3dx9_28
1270 enable_d3dx9_29
1271 enable_d3dx9_30
1272 enable_d3dx9_31
1273 enable_d3dx9_32
1274 enable_d3dx9_33
1275 enable_d3dx9_34
1276 enable_d3dx9_35
1277 enable_d3dx9_36
1278 enable_d3dx9_37
1279 enable_d3dx9_38
1280 enable_d3dx9_39
1281 enable_d3dx9_40
1282 enable_d3dx9_41
1283 enable_d3dx9_42
1284 enable_d3dx9_43
1285 enable_d3dxof
1286 enable_davclnt
1287 enable_dbgeng
1288 enable_dbghelp
1289 enable_dciman32
1290 enable_dcomp
1291 enable_ddraw
1292 enable_ddrawex
1293 enable_devenum
1294 enable_dhcpcsvc
1295 enable_dhcpcsvc6
1296 enable_dhtmled_ocx
1297 enable_difxapi
1298 enable_dinput
1299 enable_dinput8
1300 enable_directmanipulation
1301 enable_dispex
1302 enable_dmband
1303 enable_dmcompos
1304 enable_dmime
1305 enable_dmloader
1306 enable_dmscript
1307 enable_dmstyle
1308 enable_dmsynth
1309 enable_dmusic
1310 enable_dmusic32
1311 enable_dnsapi
1312 enable_dplay
1313 enable_dplayx
1314 enable_dpnaddr
1315 enable_dpnet
1316 enable_dpnhpast
1317 enable_dpnhupnp
1318 enable_dpnlobby
1319 enable_dpvoice
1320 enable_dpwsockx
1321 enable_drmclien
1322 enable_dsdmo
1323 enable_dsound
1324 enable_dsquery
1325 enable_dssenh
1326 enable_dsuiext
1327 enable_dswave
1328 enable_dwmapi
1329 enable_dwrite
1330 enable_dx8vb
1331 enable_dxdiagn
1332 enable_dxgi
1333 enable_dxtrans
1334 enable_dxva2
1335 enable_esent
1336 enable_evr
1337 enable_explorerframe
1338 enable_ext_ms_win_authz_context_l1_1_0
1339 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1340 enable_ext_ms_win_dwmapi_ext_l1_1_0
1341 enable_ext_ms_win_gdi_dc_create_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_1
1343 enable_ext_ms_win_gdi_dc_l1_2_0
1344 enable_ext_ms_win_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_gdi_draw_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_1
1347 enable_ext_ms_win_gdi_font_l1_1_0
1348 enable_ext_ms_win_gdi_font_l1_1_1
1349 enable_ext_ms_win_gdi_render_l1_1_0
1350 enable_ext_ms_win_kernel32_package_current_l1_1_0
1351 enable_ext_ms_win_kernel32_package_l1_1_1
1352 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1353 enable_ext_ms_win_ntuser_draw_l1_1_0
1354 enable_ext_ms_win_ntuser_gui_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_3_0
1356 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1357 enable_ext_ms_win_ntuser_message_l1_1_0
1358 enable_ext_ms_win_ntuser_message_l1_1_1
1359 enable_ext_ms_win_ntuser_misc_l1_1_0
1360 enable_ext_ms_win_ntuser_misc_l1_2_0
1361 enable_ext_ms_win_ntuser_misc_l1_5_1
1362 enable_ext_ms_win_ntuser_mouse_l1_1_0
1363 enable_ext_ms_win_ntuser_private_l1_1_1
1364 enable_ext_ms_win_ntuser_private_l1_3_1
1365 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1366 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_window_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_1
1369 enable_ext_ms_win_ntuser_window_l1_1_4
1370 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1372 enable_ext_ms_win_oleacc_l1_1_0
1373 enable_ext_ms_win_ras_rasapi32_l1_1_0
1374 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1377 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1381 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1384 enable_ext_ms_win_security_credui_l1_1_0
1385 enable_ext_ms_win_security_cryptui_l1_1_0
1386 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1387 enable_ext_ms_win_shell_comdlg32_l1_1_0
1388 enable_ext_ms_win_shell_shell32_l1_2_0
1389 enable_ext_ms_win_uxtheme_themes_l1_1_0
1390 enable_faultrep
1391 enable_feclient
1392 enable_fltlib
1393 enable_fltmgr_sys
1394 enable_fntcache
1395 enable_fontsub
1396 enable_fusion
1397 enable_fwpuclnt
1398 enable_gameux
1399 enable_gamingtcui
1400 enable_gdi32
1401 enable_gdiplus
1402 enable_glu32
1403 enable_gphoto2_ds
1404 enable_gpkcsp
1405 enable_hal
1406 enable_hhctrl_ocx
1407 enable_hid
1408 enable_hidclass_sys
1409 enable_hidparse_sys
1410 enable_hlink
1411 enable_hnetcfg
1412 enable_http_sys
1413 enable_httpapi
1414 enable_iccvid
1415 enable_icmp
1416 enable_ieframe
1417 enable_ieproxy
1418 enable_imaadp32_acm
1419 enable_imagehlp
1420 enable_imm32
1421 enable_inetcomm
1422 enable_inetcpl_cpl
1423 enable_inetmib1
1424 enable_infosoft
1425 enable_initpki
1426 enable_inkobj
1427 enable_inseng
1428 enable_iphlpapi
1429 enable_iprop
1430 enable_irprops_cpl
1431 enable_itircl
1432 enable_itss
1433 enable_joy_cpl
1434 enable_jscript
1435 enable_jsproxy
1436 enable_kerberos
1437 enable_kernel32
1438 enable_kernelbase
1439 enable_ksecdd_sys
1440 enable_ksproxy_ax
1441 enable_ksuser
1442 enable_ktmw32
1443 enable_l3codeca_acm
1444 enable_light_msstyles
1445 enable_loadperf
1446 enable_localspl
1447 enable_localui
1448 enable_lz32
1449 enable_mapi32
1450 enable_mapistub
1451 enable_mciavi32
1452 enable_mcicda
1453 enable_mciqtz32
1454 enable_mciseq
1455 enable_mciwave
1456 enable_mf
1457 enable_mf3216
1458 enable_mferror
1459 enable_mfmediaengine
1460 enable_mfplat
1461 enable_mfplay
1462 enable_mfreadwrite
1463 enable_mgmtapi
1464 enable_midimap
1465 enable_mlang
1466 enable_mmcndmgr
1467 enable_mmdevapi
1468 enable_mountmgr_sys
1469 enable_mp3dmod
1470 enable_mpr
1471 enable_mprapi
1472 enable_msacm32_drv
1473 enable_msacm32
1474 enable_msado15
1475 enable_msadp32_acm
1476 enable_msasn1
1477 enable_mscat32
1478 enable_mscms
1479 enable_mscoree
1480 enable_mscorwks
1481 enable_msctf
1482 enable_msctfmonitor
1483 enable_msctfp
1484 enable_msdaps
1485 enable_msdasql
1486 enable_msdelta
1487 enable_msdmo
1488 enable_msdrm
1489 enable_msftedit
1490 enable_msg711_acm
1491 enable_msgsm32_acm
1492 enable_mshtml_tlb
1493 enable_mshtml
1494 enable_msi
1495 enable_msident
1496 enable_msimg32
1497 enable_msimsg
1498 enable_msimtf
1499 enable_msisip
1500 enable_msisys_ocx
1501 enable_msls31
1502 enable_msnet32
1503 enable_mspatcha
1504 enable_msports
1505 enable_msrle32
1506 enable_msscript_ocx
1507 enable_mssign32
1508 enable_mssip32
1509 enable_mstask
1510 enable_msv1_0
1511 enable_msvcirt
1512 enable_msvcm80
1513 enable_msvcm90
1514 enable_msvcp100
1515 enable_msvcp110
1516 enable_msvcp120
1517 enable_msvcp120_app
1518 enable_msvcp140
1519 enable_msvcp140_1
1520 enable_msvcp60
1521 enable_msvcp70
1522 enable_msvcp71
1523 enable_msvcp80
1524 enable_msvcp90
1525 enable_msvcp_win
1526 enable_msvcr100
1527 enable_msvcr110
1528 enable_msvcr120
1529 enable_msvcr120_app
1530 enable_msvcr70
1531 enable_msvcr71
1532 enable_msvcr80
1533 enable_msvcr90
1534 enable_msvcrt
1535 enable_msvcrt20
1536 enable_msvcrt40
1537 enable_msvcrtd
1538 enable_msvfw32
1539 enable_msvidc32
1540 enable_mswsock
1541 enable_msxml
1542 enable_msxml2
1543 enable_msxml3
1544 enable_msxml4
1545 enable_msxml6
1546 enable_mtxdm
1547 enable_ncrypt
1548 enable_nddeapi
1549 enable_ndis_sys
1550 enable_netapi32
1551 enable_netcfgx
1552 enable_netio_sys
1553 enable_netprofm
1554 enable_netutils
1555 enable_newdev
1556 enable_ninput
1557 enable_normaliz
1558 enable_npmshtml
1559 enable_npptools
1560 enable_nsi
1561 enable_nsiproxy_sys
1562 enable_ntdll
1563 enable_ntdsapi
1564 enable_ntoskrnl_exe
1565 enable_ntprint
1566 enable_objsel
1567 enable_odbc32
1568 enable_odbcbcp
1569 enable_odbccp32
1570 enable_odbccu32
1571 enable_ole32
1572 enable_oleacc
1573 enable_oleaut32
1574 enable_olecli32
1575 enable_oledb32
1576 enable_oledlg
1577 enable_olepro32
1578 enable_olesvr32
1579 enable_olethk32
1580 enable_opcservices
1581 enable_openal32
1582 enable_opencl
1583 enable_opengl32
1584 enable_packager
1585 enable_pdh
1586 enable_photometadatahandler
1587 enable_pidgen
1588 enable_powrprof
1589 enable_printui
1590 enable_prntvpt
1591 enable_propsys
1592 enable_psapi
1593 enable_pstorec
1594 enable_pwrshplugin
1595 enable_qasf
1596 enable_qcap
1597 enable_qdvd
1598 enable_qedit
1599 enable_qmgr
1600 enable_qmgrprxy
1601 enable_quartz
1602 enable_query
1603 enable_qwave
1604 enable_rasapi32
1605 enable_rasdlg
1606 enable_regapi
1607 enable_resutils
1608 enable_riched20
1609 enable_riched32
1610 enable_rpcrt4
1611 enable_rsabase
1612 enable_rsaenh
1613 enable_rstrtmgr
1614 enable_rtutils
1615 enable_rtworkq
1616 enable_samlib
1617 enable_sane_ds
1618 enable_sapi
1619 enable_sas
1620 enable_scarddlg
1621 enable_sccbase
1622 enable_schannel
1623 enable_schedsvc
1624 enable_scrobj
1625 enable_scrrun
1626 enable_scsiport_sys
1627 enable_sechost
1628 enable_secur32
1629 enable_security
1630 enable_sensapi
1631 enable_serialui
1632 enable_setupapi
1633 enable_sfc
1634 enable_sfc_os
1635 enable_shcore
1636 enable_shdoclc
1637 enable_shdocvw
1638 enable_shell32
1639 enable_shfolder
1640 enable_shlwapi
1641 enable_slbcsp
1642 enable_slc
1643 enable_snmpapi
1644 enable_softpub
1645 enable_spoolss
1646 enable_sppc
1647 enable_srclient
1648 enable_srvcli
1649 enable_sspicli
1650 enable_stdole2_tlb
1651 enable_stdole32_tlb
1652 enable_sti
1653 enable_strmdll
1654 enable_svrapi
1655 enable_sxs
1656 enable_t2embed
1657 enable_tapi32
1658 enable_taskschd
1659 enable_tbs
1660 enable_tdh
1661 enable_tdi_sys
1662 enable_traffic
1663 enable_twain_32
1664 enable_tzres
1665 enable_ucrtbase
1666 enable_uianimation
1667 enable_uiautomationcore
1668 enable_uiribbon
1669 enable_unicows
1670 enable_updspapi
1671 enable_url
1672 enable_urlmon
1673 enable_usbd_sys
1674 enable_user32
1675 enable_userenv
1676 enable_usp10
1677 enable_utildll
1678 enable_uxtheme
1679 enable_vbscript
1680 enable_vcomp
1681 enable_vcomp100
1682 enable_vcomp110
1683 enable_vcomp120
1684 enable_vcomp140
1685 enable_vcomp90
1686 enable_vcruntime140
1687 enable_vcruntime140_1
1688 enable_vdmdbg
1689 enable_version
1690 enable_vga
1691 enable_virtdisk
1692 enable_vssapi
1693 enable_vulkan_1
1694 enable_wbemdisp
1695 enable_wbemprox
1696 enable_wdscore
1697 enable_webservices
1698 enable_websocket
1699 enable_wer
1700 enable_wevtapi
1701 enable_wevtsvc
1702 enable_wiaservc
1703 enable_wimgapi
1704 enable_win32u
1705 enable_windows_devices_enumeration
1706 enable_windows_gaming_input
1707 enable_windows_globalization
1708 enable_windows_media_devices
1709 enable_windows_media_speech
1710 enable_windowscodecs
1711 enable_windowscodecsext
1712 enable_winealsa_drv
1713 enable_wineandroid_drv
1714 enable_winebus_sys
1715 enable_winecoreaudio_drv
1716 enable_winecrt0
1717 enable_wined3d
1718 enable_winegstreamer
1719 enable_winehid_sys
1720 enable_winemac_drv
1721 enable_winemapi
1722 enable_wineoss_drv
1723 enable_wineps_drv
1724 enable_winepulse_drv
1725 enable_wineusb_sys
1726 enable_winevulkan
1727 enable_winex11_drv
1728 enable_winexinput_sys
1729 enable_wing32
1730 enable_winhttp
1731 enable_wininet
1732 enable_winmm
1733 enable_winnls32
1734 enable_winscard
1735 enable_winspool_drv
1736 enable_winsta
1737 enable_wintab32
1738 enable_wintrust
1739 enable_winusb
1740 enable_wlanapi
1741 enable_wlanui
1742 enable_wldap32
1743 enable_wmasf
1744 enable_wmi
1745 enable_wmiutils
1746 enable_wmp
1747 enable_wmphoto
1748 enable_wmvcore
1749 enable_wnaspi32
1750 enable_wow64
1751 enable_wow64cpu
1752 enable_wow64win
1753 enable_wpc
1754 enable_wpcap
1755 enable_ws2_32
1756 enable_wsdapi
1757 enable_wshom_ocx
1758 enable_wsnmp32
1759 enable_wsock32
1760 enable_wtsapi32
1761 enable_wuapi
1762 enable_wuaueng
1763 enable_x3daudio1_0
1764 enable_x3daudio1_1
1765 enable_x3daudio1_2
1766 enable_x3daudio1_3
1767 enable_x3daudio1_4
1768 enable_x3daudio1_5
1769 enable_x3daudio1_6
1770 enable_x3daudio1_7
1771 enable_xactengine2_0
1772 enable_xactengine2_4
1773 enable_xactengine2_7
1774 enable_xactengine2_9
1775 enable_xactengine3_0
1776 enable_xactengine3_1
1777 enable_xactengine3_2
1778 enable_xactengine3_3
1779 enable_xactengine3_4
1780 enable_xactengine3_5
1781 enable_xactengine3_6
1782 enable_xactengine3_7
1783 enable_xapofx1_1
1784 enable_xapofx1_2
1785 enable_xapofx1_3
1786 enable_xapofx1_4
1787 enable_xapofx1_5
1788 enable_xaudio2_0
1789 enable_xaudio2_1
1790 enable_xaudio2_2
1791 enable_xaudio2_3
1792 enable_xaudio2_4
1793 enable_xaudio2_5
1794 enable_xaudio2_6
1795 enable_xaudio2_7
1796 enable_xaudio2_8
1797 enable_xaudio2_9
1798 enable_xinput1_1
1799 enable_xinput1_2
1800 enable_xinput1_3
1801 enable_xinput1_4
1802 enable_xinput9_1_0
1803 enable_xmllite
1804 enable_xolehlp
1805 enable_xpsprint
1806 enable_xpssvcs
1807 enable_fonts
1808 enable_include
1809 enable_adsiid
1810 enable_dmoguids
1811 enable_dxerr8
1812 enable_dxerr9
1813 enable_dxguid
1814 enable_faudio
1815 enable_gsm
1816 enable_jpeg
1817 enable_jxr
1818 enable_lcms2
1819 enable_mfuuid
1820 enable_mpg123
1821 enable_png
1822 enable_strmbase
1823 enable_strmiids
1824 enable_tiff
1825 enable_uuid
1826 enable_wbemuuid
1827 enable_wine
1828 enable_wmcodecdspuuid
1829 enable_xml2
1830 enable_xslt
1831 enable_zlib
1832 enable_loader
1833 enable_nls
1834 enable_po
1835 enable_arp
1836 enable_aspnet_regiis
1837 enable_attrib
1838 enable_cabarc
1839 enable_cacls
1840 enable_chcp_com
1841 enable_clock
1842 enable_cmd
1843 enable_conhost
1844 enable_control
1845 enable_cscript
1846 enable_dism
1847 enable_dplaysvr
1848 enable_dpnsvr
1849 enable_dpvsetup
1850 enable_dxdiag
1851 enable_eject
1852 enable_expand
1853 enable_explorer
1854 enable_extrac32
1855 enable_fc
1856 enable_find
1857 enable_findstr
1858 enable_fsutil
1859 enable_hh
1860 enable_hostname
1861 enable_icacls
1862 enable_icinfo
1863 enable_iexplore
1864 enable_ipconfig
1865 enable_lodctr
1866 enable_mofcomp
1867 enable_mshta
1868 enable_msidb
1869 enable_msiexec
1870 enable_msinfo32
1871 enable_net
1872 enable_netsh
1873 enable_netstat
1874 enable_ngen
1875 enable_notepad
1876 enable_oleview
1877 enable_ping
1878 enable_plugplay
1879 enable_powershell
1880 enable_presentationfontcache
1881 enable_progman
1882 enable_reg
1883 enable_regasm
1884 enable_regedit
1885 enable_regini
1886 enable_regsvcs
1887 enable_regsvr32
1888 enable_robocopy
1889 enable_rpcss
1890 enable_rundll32
1891 enable_sc
1892 enable_schtasks
1893 enable_sdbinst
1894 enable_secedit
1895 enable_servicemodelreg
1896 enable_services
1897 enable_shutdown
1898 enable_spoolsv
1899 enable_start
1900 enable_subst
1901 enable_svchost
1902 enable_systeminfo
1903 enable_taskkill
1904 enable_tasklist
1905 enable_taskmgr
1906 enable_termsv
1907 enable_uninstaller
1908 enable_unlodctr
1909 enable_view
1910 enable_wevtutil
1911 enable_where
1912 enable_whoami
1913 enable_wineboot
1914 enable_winebrowser
1915 enable_winecfg
1916 enable_wineconsole
1917 enable_winedbg
1918 enable_winedevice
1919 enable_winefile
1920 enable_winemenubuilder
1921 enable_winemine
1922 enable_winemsibuilder
1923 enable_winepath
1924 enable_winetest
1925 enable_winhlp32
1926 enable_winmgmt
1927 enable_winver
1928 enable_wmic
1929 enable_wmplayer
1930 enable_wordpad
1931 enable_write
1932 enable_wscript
1933 enable_wuauserv
1934 enable_wusa
1935 enable_xcopy
1936 enable_server
1937 enable_tools
1938 enable_sfnt2fon
1939 enable_widl
1940 enable_winebuild
1941 enable_winedump
1942 enable_winegcc
1943 enable_winemaker
1944 enable_wmc
1945 enable_wrc
1947 ac_precious_vars='build_alias
1948 host_alias
1949 target_alias
1951 CFLAGS
1952 LDFLAGS
1953 LIBS
1954 CPPFLAGS
1956 CXXFLAGS
1958 OBJC
1959 OBJCFLAGS
1960 FAUDIO_PE_CFLAGS
1961 FAUDIO_PE_LIBS
1962 GSM_PE_CFLAGS
1963 GSM_PE_LIBS
1964 JPEG_PE_CFLAGS
1965 JPEG_PE_LIBS
1966 JXR_PE_CFLAGS
1967 JXR_PE_LIBS
1968 LCMS2_PE_CFLAGS
1969 LCMS2_PE_LIBS
1970 MPG123_PE_CFLAGS
1971 MPG123_PE_LIBS
1972 PNG_PE_CFLAGS
1973 PNG_PE_LIBS
1974 TIFF_PE_CFLAGS
1975 TIFF_PE_LIBS
1976 XML2_PE_CFLAGS
1977 XML2_PE_LIBS
1978 XSLT_PE_CFLAGS
1979 XSLT_PE_LIBS
1980 ZLIB_PE_CFLAGS
1981 ZLIB_PE_LIBS
1982 XMKMF
1984 INOTIFY_CFLAGS
1985 INOTIFY_LIBS
1986 DBUS_CFLAGS
1987 DBUS_LIBS
1988 GNUTLS_CFLAGS
1989 GNUTLS_LIBS
1990 SANE_CFLAGS
1991 SANE_LIBS
1992 USB_CFLAGS
1993 USB_LIBS
1994 GPHOTO2_CFLAGS
1995 GPHOTO2_LIBS
1996 GPHOTO2_PORT_CFLAGS
1997 GPHOTO2_PORT_LIBS
1998 FREETYPE_CFLAGS
1999 FREETYPE_LIBS
2000 PULSE_CFLAGS
2001 PULSE_LIBS
2002 GSTREAMER_CFLAGS
2003 GSTREAMER_LIBS
2004 UDEV_CFLAGS
2005 UDEV_LIBS
2006 UNWIND_CFLAGS
2007 UNWIND_LIBS
2008 SDL2_CFLAGS
2009 SDL2_LIBS
2010 CAPI20_CFLAGS
2011 CAPI20_LIBS
2012 CUPS_CFLAGS
2013 CUPS_LIBS
2014 FONTCONFIG_CFLAGS
2015 FONTCONFIG_LIBS
2016 KRB5_CFLAGS
2017 KRB5_LIBS
2018 GSSAPI_CFLAGS
2019 GSSAPI_LIBS
2020 NETAPI_CFLAGS
2021 NETAPI_LIBS
2022 VKD3D_CFLAGS
2023 VKD3D_LIBS
2024 VKD3D_SHADER_CFLAGS
2025 VKD3D_SHADER_LIBS
2026 LDAP_CFLAGS
2027 LDAP_LIBS'
2030 # Initialize some variables set by options.
2031 ac_init_help=
2032 ac_init_version=false
2033 ac_unrecognized_opts=
2034 ac_unrecognized_sep=
2035 # The variables have the same names as the options, with
2036 # dashes changed to underlines.
2037 cache_file=/dev/null
2038 exec_prefix=NONE
2039 no_create=
2040 no_recursion=
2041 prefix=NONE
2042 program_prefix=NONE
2043 program_suffix=NONE
2044 program_transform_name=s,x,x,
2045 silent=
2046 site=
2047 srcdir=
2048 verbose=
2049 x_includes=NONE
2050 x_libraries=NONE
2052 # Installation directory options.
2053 # These are left unexpanded so users can "make install exec_prefix=/foo"
2054 # and all the variables that are supposed to be based on exec_prefix
2055 # by default will actually change.
2056 # Use braces instead of parens because sh, perl, etc. also accept them.
2057 # (The list follows the same order as the GNU Coding Standards.)
2058 bindir='${exec_prefix}/bin'
2059 sbindir='${exec_prefix}/sbin'
2060 libexecdir='${exec_prefix}/libexec'
2061 datarootdir='${prefix}/share'
2062 datadir='${datarootdir}'
2063 sysconfdir='${prefix}/etc'
2064 sharedstatedir='${prefix}/com'
2065 localstatedir='${prefix}/var'
2066 runstatedir='${localstatedir}/run'
2067 includedir='${prefix}/include'
2068 oldincludedir='/usr/include'
2069 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2070 infodir='${datarootdir}/info'
2071 htmldir='${docdir}'
2072 dvidir='${docdir}'
2073 pdfdir='${docdir}'
2074 psdir='${docdir}'
2075 libdir='${exec_prefix}/lib'
2076 localedir='${datarootdir}/locale'
2077 mandir='${datarootdir}/man'
2079 ac_prev=
2080 ac_dashdash=
2081 for ac_option
2083 # If the previous option needs an argument, assign it.
2084 if test -n "$ac_prev"; then
2085 eval $ac_prev=\$ac_option
2086 ac_prev=
2087 continue
2090 case $ac_option in
2091 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2092 *=) ac_optarg= ;;
2093 *) ac_optarg=yes ;;
2094 esac
2096 case $ac_dashdash$ac_option in
2098 ac_dashdash=yes ;;
2100 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2101 ac_prev=bindir ;;
2102 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2103 bindir=$ac_optarg ;;
2105 -build | --build | --buil | --bui | --bu)
2106 ac_prev=build_alias ;;
2107 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2108 build_alias=$ac_optarg ;;
2110 -cache-file | --cache-file | --cache-fil | --cache-fi \
2111 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2112 ac_prev=cache_file ;;
2113 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2114 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2115 cache_file=$ac_optarg ;;
2117 --config-cache | -C)
2118 cache_file=config.cache ;;
2120 -datadir | --datadir | --datadi | --datad)
2121 ac_prev=datadir ;;
2122 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2123 datadir=$ac_optarg ;;
2125 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2126 | --dataroo | --dataro | --datar)
2127 ac_prev=datarootdir ;;
2128 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2129 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2130 datarootdir=$ac_optarg ;;
2132 -disable-* | --disable-*)
2133 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2134 # Reject names that are not valid shell variable names.
2135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2136 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2137 ac_useropt_orig=$ac_useropt
2138 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2139 case $ac_user_opts in
2141 "enable_$ac_useropt"
2142 "*) ;;
2143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2144 ac_unrecognized_sep=', ';;
2145 esac
2146 eval enable_$ac_useropt=no ;;
2148 -docdir | --docdir | --docdi | --doc | --do)
2149 ac_prev=docdir ;;
2150 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2151 docdir=$ac_optarg ;;
2153 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2154 ac_prev=dvidir ;;
2155 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2156 dvidir=$ac_optarg ;;
2158 -enable-* | --enable-*)
2159 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2160 # Reject names that are not valid shell variable names.
2161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2162 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2163 ac_useropt_orig=$ac_useropt
2164 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2165 case $ac_user_opts in
2167 "enable_$ac_useropt"
2168 "*) ;;
2169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2170 ac_unrecognized_sep=', ';;
2171 esac
2172 eval enable_$ac_useropt=\$ac_optarg ;;
2174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2176 | --exec | --exe | --ex)
2177 ac_prev=exec_prefix ;;
2178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2180 | --exec=* | --exe=* | --ex=*)
2181 exec_prefix=$ac_optarg ;;
2183 -gas | --gas | --ga | --g)
2184 # Obsolete; use --with-gas.
2185 with_gas=yes ;;
2187 -help | --help | --hel | --he | -h)
2188 ac_init_help=long ;;
2189 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2190 ac_init_help=recursive ;;
2191 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2192 ac_init_help=short ;;
2194 -host | --host | --hos | --ho)
2195 ac_prev=host_alias ;;
2196 -host=* | --host=* | --hos=* | --ho=*)
2197 host_alias=$ac_optarg ;;
2199 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2200 ac_prev=htmldir ;;
2201 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2202 | --ht=*)
2203 htmldir=$ac_optarg ;;
2205 -includedir | --includedir | --includedi | --included | --include \
2206 | --includ | --inclu | --incl | --inc)
2207 ac_prev=includedir ;;
2208 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2209 | --includ=* | --inclu=* | --incl=* | --inc=*)
2210 includedir=$ac_optarg ;;
2212 -infodir | --infodir | --infodi | --infod | --info | --inf)
2213 ac_prev=infodir ;;
2214 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2215 infodir=$ac_optarg ;;
2217 -libdir | --libdir | --libdi | --libd)
2218 ac_prev=libdir ;;
2219 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2220 libdir=$ac_optarg ;;
2222 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2223 | --libexe | --libex | --libe)
2224 ac_prev=libexecdir ;;
2225 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2226 | --libexe=* | --libex=* | --libe=*)
2227 libexecdir=$ac_optarg ;;
2229 -localedir | --localedir | --localedi | --localed | --locale)
2230 ac_prev=localedir ;;
2231 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2232 localedir=$ac_optarg ;;
2234 -localstatedir | --localstatedir | --localstatedi | --localstated \
2235 | --localstate | --localstat | --localsta | --localst | --locals)
2236 ac_prev=localstatedir ;;
2237 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2238 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2239 localstatedir=$ac_optarg ;;
2241 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2242 ac_prev=mandir ;;
2243 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2244 mandir=$ac_optarg ;;
2246 -nfp | --nfp | --nf)
2247 # Obsolete; use --without-fp.
2248 with_fp=no ;;
2250 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2251 | --no-cr | --no-c | -n)
2252 no_create=yes ;;
2254 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2255 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2256 no_recursion=yes ;;
2258 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2259 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2260 | --oldin | --oldi | --old | --ol | --o)
2261 ac_prev=oldincludedir ;;
2262 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2263 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2264 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2265 oldincludedir=$ac_optarg ;;
2267 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2268 ac_prev=prefix ;;
2269 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2270 prefix=$ac_optarg ;;
2272 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2273 | --program-pre | --program-pr | --program-p)
2274 ac_prev=program_prefix ;;
2275 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2276 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2277 program_prefix=$ac_optarg ;;
2279 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2280 | --program-suf | --program-su | --program-s)
2281 ac_prev=program_suffix ;;
2282 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2283 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2284 program_suffix=$ac_optarg ;;
2286 -program-transform-name | --program-transform-name \
2287 | --program-transform-nam | --program-transform-na \
2288 | --program-transform-n | --program-transform- \
2289 | --program-transform | --program-transfor \
2290 | --program-transfo | --program-transf \
2291 | --program-trans | --program-tran \
2292 | --progr-tra | --program-tr | --program-t)
2293 ac_prev=program_transform_name ;;
2294 -program-transform-name=* | --program-transform-name=* \
2295 | --program-transform-nam=* | --program-transform-na=* \
2296 | --program-transform-n=* | --program-transform-=* \
2297 | --program-transform=* | --program-transfor=* \
2298 | --program-transfo=* | --program-transf=* \
2299 | --program-trans=* | --program-tran=* \
2300 | --progr-tra=* | --program-tr=* | --program-t=*)
2301 program_transform_name=$ac_optarg ;;
2303 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2304 ac_prev=pdfdir ;;
2305 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2306 pdfdir=$ac_optarg ;;
2308 -psdir | --psdir | --psdi | --psd | --ps)
2309 ac_prev=psdir ;;
2310 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2311 psdir=$ac_optarg ;;
2313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2314 | -silent | --silent | --silen | --sile | --sil)
2315 silent=yes ;;
2317 -runstatedir | --runstatedir | --runstatedi | --runstated \
2318 | --runstate | --runstat | --runsta | --runst | --runs \
2319 | --run | --ru | --r)
2320 ac_prev=runstatedir ;;
2321 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2322 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2323 | --run=* | --ru=* | --r=*)
2324 runstatedir=$ac_optarg ;;
2326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2327 ac_prev=sbindir ;;
2328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2329 | --sbi=* | --sb=*)
2330 sbindir=$ac_optarg ;;
2332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2334 | --sharedst | --shareds | --shared | --share | --shar \
2335 | --sha | --sh)
2336 ac_prev=sharedstatedir ;;
2337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2340 | --sha=* | --sh=*)
2341 sharedstatedir=$ac_optarg ;;
2343 -site | --site | --sit)
2344 ac_prev=site ;;
2345 -site=* | --site=* | --sit=*)
2346 site=$ac_optarg ;;
2348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2349 ac_prev=srcdir ;;
2350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2351 srcdir=$ac_optarg ;;
2353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2354 | --syscon | --sysco | --sysc | --sys | --sy)
2355 ac_prev=sysconfdir ;;
2356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2358 sysconfdir=$ac_optarg ;;
2360 -target | --target | --targe | --targ | --tar | --ta | --t)
2361 ac_prev=target_alias ;;
2362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2363 target_alias=$ac_optarg ;;
2365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2366 verbose=yes ;;
2368 -version | --version | --versio | --versi | --vers | -V)
2369 ac_init_version=: ;;
2371 -with-* | --with-*)
2372 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2373 # Reject names that are not valid shell variable names.
2374 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2375 as_fn_error $? "invalid package name: \`$ac_useropt'"
2376 ac_useropt_orig=$ac_useropt
2377 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2378 case $ac_user_opts in
2380 "with_$ac_useropt"
2381 "*) ;;
2382 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2383 ac_unrecognized_sep=', ';;
2384 esac
2385 eval with_$ac_useropt=\$ac_optarg ;;
2387 -without-* | --without-*)
2388 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2389 # Reject names that are not valid shell variable names.
2390 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2391 as_fn_error $? "invalid package name: \`$ac_useropt'"
2392 ac_useropt_orig=$ac_useropt
2393 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2394 case $ac_user_opts in
2396 "with_$ac_useropt"
2397 "*) ;;
2398 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2399 ac_unrecognized_sep=', ';;
2400 esac
2401 eval with_$ac_useropt=no ;;
2403 --x)
2404 # Obsolete; use --with-x.
2405 with_x=yes ;;
2407 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2408 | --x-incl | --x-inc | --x-in | --x-i)
2409 ac_prev=x_includes ;;
2410 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2411 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2412 x_includes=$ac_optarg ;;
2414 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2415 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2416 ac_prev=x_libraries ;;
2417 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2418 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2419 x_libraries=$ac_optarg ;;
2421 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2422 Try \`$0 --help' for more information"
2425 *=*)
2426 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2427 # Reject names that are not valid shell variable names.
2428 case $ac_envvar in #(
2429 '' | [0-9]* | *[!_$as_cr_alnum]* )
2430 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2431 esac
2432 eval $ac_envvar=\$ac_optarg
2433 export $ac_envvar ;;
2436 # FIXME: should be removed in autoconf 3.0.
2437 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2438 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2439 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2440 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2443 esac
2444 done
2446 if test -n "$ac_prev"; then
2447 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2448 as_fn_error $? "missing argument to $ac_option"
2451 if test -n "$ac_unrecognized_opts"; then
2452 case $enable_option_checking in
2453 no) ;;
2454 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2455 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2456 esac
2459 # Check all directory arguments for consistency.
2460 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2461 datadir sysconfdir sharedstatedir localstatedir includedir \
2462 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2463 libdir localedir mandir runstatedir
2465 eval ac_val=\$$ac_var
2466 # Remove trailing slashes.
2467 case $ac_val in
2468 */ )
2469 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2470 eval $ac_var=\$ac_val;;
2471 esac
2472 # Be sure to have absolute directory names.
2473 case $ac_val in
2474 [\\/$]* | ?:[\\/]* ) continue;;
2475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2476 esac
2477 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2478 done
2480 # There might be people who depend on the old broken behavior: `$host'
2481 # used to hold the argument of --host etc.
2482 # FIXME: To remove some day.
2483 build=$build_alias
2484 host=$host_alias
2485 target=$target_alias
2487 # FIXME: To remove some day.
2488 if test "x$host_alias" != x; then
2489 if test "x$build_alias" = x; then
2490 cross_compiling=maybe
2491 elif test "x$build_alias" != "x$host_alias"; then
2492 cross_compiling=yes
2496 ac_tool_prefix=
2497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2499 test "$silent" = yes && exec 6>/dev/null
2502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2503 ac_ls_di=`ls -di .` &&
2504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2505 as_fn_error $? "working directory cannot be determined"
2506 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2507 as_fn_error $? "pwd does not report name of working directory"
2510 # Find the source files, if location was not specified.
2511 if test -z "$srcdir"; then
2512 ac_srcdir_defaulted=yes
2513 # Try the directory containing this script, then the parent directory.
2514 ac_confdir=`$as_dirname -- "$as_myself" ||
2515 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2516 X"$as_myself" : 'X\(//\)[^/]' \| \
2517 X"$as_myself" : 'X\(//\)$' \| \
2518 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2519 printf "%s\n" X"$as_myself" |
2520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2521 s//\1/
2524 /^X\(\/\/\)[^/].*/{
2525 s//\1/
2528 /^X\(\/\/\)$/{
2529 s//\1/
2532 /^X\(\/\).*/{
2533 s//\1/
2536 s/.*/./; q'`
2537 srcdir=$ac_confdir
2538 if test ! -r "$srcdir/$ac_unique_file"; then
2539 srcdir=..
2541 else
2542 ac_srcdir_defaulted=no
2544 if test ! -r "$srcdir/$ac_unique_file"; then
2545 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2546 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2548 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2549 ac_abs_confdir=`(
2550 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2551 pwd)`
2552 # When building in place, set srcdir=.
2553 if test "$ac_abs_confdir" = "$ac_pwd"; then
2554 srcdir=.
2556 # Remove unnecessary trailing slashes from srcdir.
2557 # Double slashes in file names in object file debugging info
2558 # mess up M-x gdb in Emacs.
2559 case $srcdir in
2560 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2561 esac
2562 for ac_var in $ac_precious_vars; do
2563 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2564 eval ac_env_${ac_var}_value=\$${ac_var}
2565 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2566 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2567 done
2570 # Report the --help message.
2572 if test "$ac_init_help" = "long"; then
2573 # Omit some internal or obsolete options to make the list less imposing.
2574 # This message is too long to be a string in the A/UX 3.1 sh.
2575 cat <<_ACEOF
2576 \`configure' configures Wine 7.0 to adapt to many kinds of systems.
2578 Usage: $0 [OPTION]... [VAR=VALUE]...
2580 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2581 VAR=VALUE. See below for descriptions of some of the useful variables.
2583 Defaults for the options are specified in brackets.
2585 Configuration:
2586 -h, --help display this help and exit
2587 --help=short display options specific to this package
2588 --help=recursive display the short help of all the included packages
2589 -V, --version display version information and exit
2590 -q, --quiet, --silent do not print \`checking ...' messages
2591 --cache-file=FILE cache test results in FILE [disabled]
2592 -C, --config-cache alias for \`--cache-file=config.cache'
2593 -n, --no-create do not create output files
2594 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2596 Installation directories:
2597 --prefix=PREFIX install architecture-independent files in PREFIX
2598 [$ac_default_prefix]
2599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2600 [PREFIX]
2602 By default, \`make install' will install all the files in
2603 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2604 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2605 for instance \`--prefix=\$HOME'.
2607 For better control, use the options below.
2609 Fine tuning of the installation directories:
2610 --bindir=DIR user executables [EPREFIX/bin]
2611 --sbindir=DIR system admin executables [EPREFIX/sbin]
2612 --libexecdir=DIR program executables [EPREFIX/libexec]
2613 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2614 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2615 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2616 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2617 --libdir=DIR object code libraries [EPREFIX/lib]
2618 --includedir=DIR C header files [PREFIX/include]
2619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2620 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2621 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2622 --infodir=DIR info documentation [DATAROOTDIR/info]
2623 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2624 --mandir=DIR man documentation [DATAROOTDIR/man]
2625 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2626 --htmldir=DIR html documentation [DOCDIR]
2627 --dvidir=DIR dvi documentation [DOCDIR]
2628 --pdfdir=DIR pdf documentation [DOCDIR]
2629 --psdir=DIR ps documentation [DOCDIR]
2630 _ACEOF
2632 cat <<\_ACEOF
2634 X features:
2635 --x-includes=DIR X include files are in DIR
2636 --x-libraries=DIR X library files are in DIR
2638 System types:
2639 --build=BUILD configure for building on BUILD [guessed]
2640 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2641 _ACEOF
2644 if test -n "$ac_init_help"; then
2645 case $ac_init_help in
2646 short | recursive ) echo "Configuration of Wine 7.0:";;
2647 esac
2648 cat <<\_ACEOF
2650 Optional Features:
2651 --disable-option-checking ignore unrecognized --enable/--with options
2652 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2653 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2654 --disable-win16 do not include Win16 support
2655 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2656 binaries)
2657 --disable-tests do not build the regression tests
2658 --enable-build-id include .buildid section in output objects
2659 --enable-maintainer-mode
2660 enable maintainer-specific build rules
2661 --enable-silent-rules use silent build rules (override: "make V=1")
2662 --enable-werror treat compilation warnings as errors
2663 --disable-largefile omit support for large files
2665 Optional Packages:
2666 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2667 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2668 --without-alsa do not use the Alsa sound support
2669 --without-capi do not use CAPI (ISDN support)
2670 --without-coreaudio do not use the CoreAudio sound support
2671 --without-cups do not use CUPS
2672 --without-dbus do not use DBus (dynamic device support)
2673 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2674 --without-fontconfig do not use fontconfig
2675 --without-freetype do not use the FreeType library
2676 --without-gettext do not use gettext
2677 --with-gettextpo use the GetTextPO library to rebuild po files
2678 --without-gphoto do not use gphoto (Digital Camera support)
2679 --without-gnutls do not use GnuTLS (schannel support)
2680 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2681 --without-gstreamer do not use GStreamer (codecs support)
2682 --without-inotify do not use inotify (filesystem change notifications)
2683 --without-krb5 do not use krb5 (Kerberos)
2684 --without-ldap do not use LDAP
2685 --without-mingw do not use the MinGW cross-compiler
2686 --without-netapi do not use the Samba NetAPI library
2687 --without-openal do not use OpenAL
2688 --without-opencl do not use OpenCL
2689 --without-opengl do not use OpenGL
2690 --without-osmesa do not use the OSMesa library
2691 --without-oss do not use the OSS sound support
2692 --without-pcap do not use the Packet Capture library
2693 --without-pthread do not use the pthread library
2694 --without-pulse do not use PulseAudio sound support
2695 --without-sane do not use SANE (scanner support)
2696 --without-sdl do not use SDL
2697 --without-udev do not use udev (plug and play support)
2698 --without-unwind do not use the libunwind library (exception
2699 handling)
2700 --without-usb do not use the libusb library
2701 --without-v4l2 do not use v4l2 (video capture)
2702 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2703 --without-vulkan do not use Vulkan
2704 --without-xcomposite do not use the Xcomposite extension
2705 --without-xcursor do not use the Xcursor extension
2706 --without-xfixes do not use Xfixes for clipboard change notifications
2707 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2708 --without-xinput do not use the Xinput extension
2709 --without-xinput2 do not use the Xinput 2 extension
2710 --without-xrandr do not use Xrandr (multi-monitor support)
2711 --without-xrender do not use the Xrender extension
2712 --without-xshape do not use the Xshape extension
2713 --without-xshm do not use XShm (shared memory extension)
2714 --without-xxf86vm do not use XFree video mode extension
2715 --with-system-dllpath=PATH
2716 load external PE dependencies from colon-separated
2717 path PATH
2718 --with-wine-tools=DIR use Wine tools from directory DIR
2719 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2720 --with-x use the X Window System
2722 Some influential environment variables:
2723 CC C compiler command
2724 CFLAGS C compiler flags
2725 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2726 nonstandard directory <lib dir>
2727 LIBS libraries to pass to the linker, e.g. -l<library>
2728 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2729 you have headers in a nonstandard directory <include dir>
2730 CXX C++ compiler command
2731 CXXFLAGS C++ compiler flags
2732 OBJC Objective C compiler command
2733 OBJCFLAGS Objective C compiler flags
2734 FAUDIO_PE_CFLAGS
2735 C compiler flags for the PE faudio, overriding the bundled
2736 version
2737 FAUDIO_PE_LIBS
2738 Linker flags for the PE faudio, overriding the bundled version
2739 GSM_PE_CFLAGS
2740 C compiler flags for the PE gsm, overriding the bundled version
2741 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2742 JPEG_PE_CFLAGS
2743 C compiler flags for the PE jpeg, overriding the bundled version
2744 JPEG_PE_LIBS
2745 Linker flags for the PE jpeg, overriding the bundled version
2746 JXR_PE_CFLAGS
2747 C compiler flags for the PE jxr, overriding the bundled version
2748 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2749 LCMS2_PE_CFLAGS
2750 C compiler flags for the PE lcms2, overriding the bundled
2751 version
2752 LCMS2_PE_LIBS
2753 Linker flags for the PE lcms2, overriding the bundled version
2754 MPG123_PE_CFLAGS
2755 C compiler flags for the PE mpg123, overriding the bundled
2756 version
2757 MPG123_PE_LIBS
2758 Linker flags for the PE mpg123, overriding the bundled version
2759 PNG_PE_CFLAGS
2760 C compiler flags for the PE png, overriding the bundled version
2761 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2762 TIFF_PE_CFLAGS
2763 C compiler flags for the PE tiff, overriding the bundled version
2764 TIFF_PE_LIBS
2765 Linker flags for the PE tiff, overriding the bundled version
2766 XML2_PE_CFLAGS
2767 C compiler flags for the PE xml2, overriding the bundled version
2768 XML2_PE_LIBS
2769 Linker flags for the PE xml2, overriding the bundled version
2770 XSLT_PE_CFLAGS
2771 C compiler flags for the PE xslt, overriding the bundled version
2772 XSLT_PE_LIBS
2773 Linker flags for the PE xslt, overriding the bundled version
2774 ZLIB_PE_CFLAGS
2775 C compiler flags for the PE zlib, overriding the bundled version
2776 ZLIB_PE_LIBS
2777 Linker flags for the PE zlib, overriding the bundled version
2778 XMKMF Path to xmkmf, Makefile generator for X Window System
2779 CPP C preprocessor
2780 INOTIFY_CFLAGS
2781 C compiler flags for libinotify, overriding pkg-config
2782 INOTIFY_LIBS
2783 Linker flags for libinotify, overriding pkg-config
2784 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2785 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2786 GNUTLS_CFLAGS
2787 C compiler flags for gnutls, overriding pkg-config
2788 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2789 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2790 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2791 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2792 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2793 GPHOTO2_CFLAGS
2794 C compiler flags for libgphoto2, overriding pkg-config
2795 GPHOTO2_LIBS
2796 Linker flags for libgphoto2, overriding pkg-config
2797 GPHOTO2_PORT_CFLAGS
2798 C compiler flags for libgphoto2_port, overriding pkg-config
2799 GPHOTO2_PORT_LIBS
2800 Linker flags for libgphoto2_port, overriding pkg-config
2801 FREETYPE_CFLAGS
2802 C compiler flags for freetype2, overriding pkg-config
2803 FREETYPE_LIBS
2804 Linker flags for freetype2, overriding pkg-config
2805 PULSE_CFLAGS
2806 C compiler flags for libpulse, overriding pkg-config
2807 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2808 GSTREAMER_CFLAGS
2809 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2810 gstreamer-audio-1.0, overriding pkg-config
2811 GSTREAMER_LIBS
2812 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2813 gstreamer-audio-1.0, overriding pkg-config
2814 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2815 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2816 UNWIND_CFLAGS
2817 C compiler flags for libunwind, overriding pkg-config
2818 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2819 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2820 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2821 CAPI20_CFLAGS
2822 C compiler flags for capi20, overriding pkg-config
2823 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2824 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2825 CUPS_LIBS Linker flags for cups, overriding pkg-config
2826 FONTCONFIG_CFLAGS
2827 C compiler flags for fontconfig, overriding pkg-config
2828 FONTCONFIG_LIBS
2829 Linker flags for fontconfig, overriding pkg-config
2830 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2831 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2832 GSSAPI_CFLAGS
2833 C compiler flags for krb5-gssapi, overriding pkg-config
2834 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2835 NETAPI_CFLAGS
2836 C compiler flags for netapi, overriding pkg-config
2837 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2838 VKD3D_CFLAGS
2839 C compiler flags for libvkd3d, overriding pkg-config
2840 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2841 VKD3D_SHADER_CFLAGS
2842 C compiler flags for libvkd3d-shader, overriding pkg-config
2843 VKD3D_SHADER_LIBS
2844 Linker flags for libvkd3d-shader, overriding pkg-config
2845 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2846 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2848 Use these variables to override the choices made by `configure' or to help
2849 it to find libraries and programs with nonstandard names/locations.
2851 Report bugs to <wine-devel@winehq.org>.
2852 Wine home page: <https://www.winehq.org>.
2853 _ACEOF
2854 ac_status=$?
2857 if test "$ac_init_help" = "recursive"; then
2858 # If there are subdirs, report their specific --help.
2859 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2860 test -d "$ac_dir" ||
2861 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2862 continue
2863 ac_builddir=.
2865 case "$ac_dir" in
2866 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2868 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2869 # A ".." for each directory in $ac_dir_suffix.
2870 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2871 case $ac_top_builddir_sub in
2872 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2873 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2874 esac ;;
2875 esac
2876 ac_abs_top_builddir=$ac_pwd
2877 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2878 # for backward compatibility:
2879 ac_top_builddir=$ac_top_build_prefix
2881 case $srcdir in
2882 .) # We are building in place.
2883 ac_srcdir=.
2884 ac_top_srcdir=$ac_top_builddir_sub
2885 ac_abs_top_srcdir=$ac_pwd ;;
2886 [\\/]* | ?:[\\/]* ) # Absolute name.
2887 ac_srcdir=$srcdir$ac_dir_suffix;
2888 ac_top_srcdir=$srcdir
2889 ac_abs_top_srcdir=$srcdir ;;
2890 *) # Relative name.
2891 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2892 ac_top_srcdir=$ac_top_build_prefix$srcdir
2893 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2894 esac
2895 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2897 cd "$ac_dir" || { ac_status=$?; continue; }
2898 # Check for configure.gnu first; this name is used for a wrapper for
2899 # Metaconfig's "Configure" on case-insensitive file systems.
2900 if test -f "$ac_srcdir/configure.gnu"; then
2901 echo &&
2902 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2903 elif test -f "$ac_srcdir/configure"; then
2904 echo &&
2905 $SHELL "$ac_srcdir/configure" --help=recursive
2906 else
2907 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2908 fi || ac_status=$?
2909 cd "$ac_pwd" || { ac_status=$?; break; }
2910 done
2913 test -n "$ac_init_help" && exit $ac_status
2914 if $ac_init_version; then
2915 cat <<\_ACEOF
2916 Wine configure 7.0
2917 generated by GNU Autoconf 2.71
2919 Copyright (C) 2021 Free Software Foundation, Inc.
2920 This configure script is free software; the Free Software Foundation
2921 gives unlimited permission to copy, distribute and modify it.
2922 _ACEOF
2923 exit
2926 ## ------------------------ ##
2927 ## Autoconf initialization. ##
2928 ## ------------------------ ##
2930 # ac_fn_c_try_compile LINENO
2931 # --------------------------
2932 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2933 ac_fn_c_try_compile ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 rm -f conftest.$ac_objext conftest.beam
2937 if { { ac_try="$ac_compile"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 printf "%s\n" "$ac_try_echo"; } >&5
2944 (eval "$ac_compile") 2>conftest.err
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext
2956 then :
2957 ac_retval=0
2958 else $as_nop
2959 printf "%s\n" "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=1
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_compile
2969 # ac_fn_cxx_try_compile LINENO
2970 # ----------------------------
2971 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2972 ac_fn_cxx_try_compile ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 rm -f conftest.$ac_objext conftest.beam
2976 if { { ac_try="$ac_compile"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 printf "%s\n" "$ac_try_echo"; } >&5
2983 (eval "$ac_compile") 2>conftest.err
2984 ac_status=$?
2985 if test -s conftest.err; then
2986 grep -v '^ *+' conftest.err >conftest.er1
2987 cat conftest.er1 >&5
2988 mv -f conftest.er1 conftest.err
2990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 test $ac_status = 0; } && {
2992 test -z "$ac_cxx_werror_flag" ||
2993 test ! -s conftest.err
2994 } && test -s conftest.$ac_objext
2995 then :
2996 ac_retval=0
2997 else $as_nop
2998 printf "%s\n" "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 ac_retval=1
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 as_fn_set_status $ac_retval
3006 } # ac_fn_cxx_try_compile
3008 # ac_fn_c_try_link LINENO
3009 # -----------------------
3010 # Try to link conftest.$ac_ext, and return whether this succeeded.
3011 ac_fn_c_try_link ()
3013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3015 if { { ac_try="$ac_link"
3016 case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 printf "%s\n" "$ac_try_echo"; } >&5
3022 (eval "$ac_link") 2>conftest.err
3023 ac_status=$?
3024 if test -s conftest.err; then
3025 grep -v '^ *+' conftest.err >conftest.er1
3026 cat conftest.er1 >&5
3027 mv -f conftest.er1 conftest.err
3029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; } && {
3031 test -z "$ac_c_werror_flag" ||
3032 test ! -s conftest.err
3033 } && test -s conftest$ac_exeext && {
3034 test "$cross_compiling" = yes ||
3035 test -x conftest$ac_exeext
3037 then :
3038 ac_retval=0
3039 else $as_nop
3040 printf "%s\n" "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 ac_retval=1
3045 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3046 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3047 # interfere with the next link command; also delete a directory that is
3048 # left behind by Apple's compiler. We do this before executing the actions.
3049 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3051 as_fn_set_status $ac_retval
3053 } # ac_fn_c_try_link
3055 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3056 # -------------------------------------------------------
3057 # Tests whether HEADER exists and can be compiled using the include files in
3058 # INCLUDES, setting the cache variable VAR accordingly.
3059 ac_fn_c_check_header_compile ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3063 printf %s "checking for $2... " >&6; }
3064 if eval test \${$3+y}
3065 then :
3066 printf %s "(cached) " >&6
3067 else $as_nop
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3071 #include <$2>
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"
3074 then :
3075 eval "$3=yes"
3076 else $as_nop
3077 eval "$3=no"
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 eval ac_res=\$$3
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3083 printf "%s\n" "$ac_res" >&6; }
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 } # ac_fn_c_check_header_compile
3088 # ac_fn_objc_try_compile LINENO
3089 # -----------------------------
3090 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3091 ac_fn_objc_try_compile ()
3093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3094 rm -f conftest.$ac_objext conftest.beam
3095 if { { ac_try="$ac_compile"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 printf "%s\n" "$ac_try_echo"; } >&5
3102 (eval "$ac_compile") 2>conftest.err
3103 ac_status=$?
3104 if test -s conftest.err; then
3105 grep -v '^ *+' conftest.err >conftest.er1
3106 cat conftest.er1 >&5
3107 mv -f conftest.er1 conftest.err
3109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; } && {
3111 test -z "$ac_objc_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext
3114 then :
3115 ac_retval=0
3116 else $as_nop
3117 printf "%s\n" "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 ac_retval=1
3122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 as_fn_set_status $ac_retval
3125 } # ac_fn_objc_try_compile
3127 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3128 # ----------------------------------------------------------
3129 # Tests whether HEADER exists and can be compiled using the include files in
3130 # INCLUDES, setting the cache variable VAR accordingly.
3131 ac_fn_objc_check_header_compile ()
3133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3135 printf %s "checking for $2... " >&6; }
3136 if eval test \${$3+y}
3137 then :
3138 printf %s "(cached) " >&6
3139 else $as_nop
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3143 #include <$2>
3144 _ACEOF
3145 if ac_fn_objc_try_compile "$LINENO"
3146 then :
3147 eval "$3=yes"
3148 else $as_nop
3149 eval "$3=no"
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 eval ac_res=\$$3
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3155 printf "%s\n" "$ac_res" >&6; }
3156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3158 } # ac_fn_objc_check_header_compile
3160 # ac_fn_c_check_func LINENO FUNC VAR
3161 # ----------------------------------
3162 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3163 ac_fn_c_check_func ()
3165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3167 printf %s "checking for $2... " >&6; }
3168 if eval test \${$3+y}
3169 then :
3170 printf %s "(cached) " >&6
3171 else $as_nop
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3174 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3176 #define $2 innocuous_$2
3178 /* System header to define __stub macros and hopefully few prototypes,
3179 which can conflict with char $2 (); below. */
3181 #include <limits.h>
3182 #undef $2
3184 /* Override any GCC internal prototype to avoid an error.
3185 Use char because int might match the return type of a GCC
3186 builtin and then its argument prototype would still apply. */
3187 #ifdef __cplusplus
3188 extern "C"
3189 #endif
3190 char $2 ();
3191 /* The GNU C library defines this for functions which it implements
3192 to always fail with ENOSYS. Some functions are actually named
3193 something starting with __ and the normal name is an alias. */
3194 #if defined __stub_$2 || defined __stub___$2
3195 choke me
3196 #endif
3199 main (void)
3201 return $2 ();
3203 return 0;
3205 _ACEOF
3206 if ac_fn_c_try_link "$LINENO"
3207 then :
3208 eval "$3=yes"
3209 else $as_nop
3210 eval "$3=no"
3212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3213 conftest$ac_exeext conftest.$ac_ext
3215 eval ac_res=\$$3
3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3217 printf "%s\n" "$ac_res" >&6; }
3218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3220 } # ac_fn_c_check_func
3222 # ac_fn_c_try_cpp LINENO
3223 # ----------------------
3224 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3225 ac_fn_c_try_cpp ()
3227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3228 if { { ac_try="$ac_cpp conftest.$ac_ext"
3229 case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3232 esac
3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 printf "%s\n" "$ac_try_echo"; } >&5
3235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3236 ac_status=$?
3237 if test -s conftest.err; then
3238 grep -v '^ *+' conftest.err >conftest.er1
3239 cat conftest.er1 >&5
3240 mv -f conftest.er1 conftest.err
3242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; } > conftest.i && {
3244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3247 then :
3248 ac_retval=0
3249 else $as_nop
3250 printf "%s\n" "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 ac_retval=1
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256 as_fn_set_status $ac_retval
3258 } # ac_fn_c_try_cpp
3260 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3261 # ----------------------------------------------------
3262 # Tries to find if the field MEMBER exists in type AGGR, after including
3263 # INCLUDES, setting cache variable VAR accordingly.
3264 ac_fn_c_check_member ()
3266 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3268 printf %s "checking for $2.$3... " >&6; }
3269 if eval test \${$4+y}
3270 then :
3271 printf %s "(cached) " >&6
3272 else $as_nop
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3277 main (void)
3279 static $2 ac_aggr;
3280 if (ac_aggr.$3)
3281 return 0;
3283 return 0;
3285 _ACEOF
3286 if ac_fn_c_try_compile "$LINENO"
3287 then :
3288 eval "$4=yes"
3289 else $as_nop
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3294 main (void)
3296 static $2 ac_aggr;
3297 if (sizeof ac_aggr.$3)
3298 return 0;
3300 return 0;
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"
3304 then :
3305 eval "$4=yes"
3306 else $as_nop
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 printf "%s\n" "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 printf %s "checking for $2... " >&6; }
3329 if eval test \${$3+y}
3330 then :
3331 printf %s "(cached) " >&6
3332 else $as_nop
3333 eval "$3=no"
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main (void)
3340 if (sizeof ($2))
3341 return 0;
3343 return 0;
3345 _ACEOF
3346 if ac_fn_c_try_compile "$LINENO"
3347 then :
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main (void)
3354 if (sizeof (($2)))
3355 return 0;
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"
3361 then :
3363 else $as_nop
3364 eval "$3=yes"
3366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3370 eval ac_res=\$$3
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3372 printf "%s\n" "$ac_res" >&6; }
3373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3375 } # ac_fn_c_check_type
3376 ac_configure_args_raw=
3377 for ac_arg
3379 case $ac_arg in
3380 *\'*)
3381 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3382 esac
3383 as_fn_append ac_configure_args_raw " '$ac_arg'"
3384 done
3386 case $ac_configure_args_raw in
3387 *$as_nl*)
3388 ac_safe_unquote= ;;
3390 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3391 ac_unsafe_a="$ac_unsafe_z#~"
3392 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3393 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3394 esac
3396 cat >config.log <<_ACEOF
3397 This file contains any messages produced by compilers while
3398 running configure, to aid debugging if configure makes a mistake.
3400 It was created by Wine $as_me 7.0, which was
3401 generated by GNU Autoconf 2.71. Invocation command line was
3403 $ $0$ac_configure_args_raw
3405 _ACEOF
3406 exec 5>>config.log
3408 cat <<_ASUNAME
3409 ## --------- ##
3410 ## Platform. ##
3411 ## --------- ##
3413 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3414 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3415 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3416 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3417 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3419 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3420 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3422 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3428 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3430 _ASUNAME
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3435 IFS=$as_save_IFS
3436 case $as_dir in #(((
3437 '') as_dir=./ ;;
3438 */) ;;
3439 *) as_dir=$as_dir/ ;;
3440 esac
3441 printf "%s\n" "PATH: $as_dir"
3442 done
3443 IFS=$as_save_IFS
3445 } >&5
3447 cat >&5 <<_ACEOF
3450 ## ----------- ##
3451 ## Core tests. ##
3452 ## ----------- ##
3454 _ACEOF
3457 # Keep a trace of the command line.
3458 # Strip out --no-create and --no-recursion so they do not pile up.
3459 # Strip out --silent because we don't want to record it for future runs.
3460 # Also quote any args containing shell meta-characters.
3461 # Make two passes to allow for proper duplicate-argument suppression.
3462 ac_configure_args=
3463 ac_configure_args0=
3464 ac_configure_args1=
3465 ac_must_keep_next=false
3466 for ac_pass in 1 2
3468 for ac_arg
3470 case $ac_arg in
3471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3473 | -silent | --silent | --silen | --sile | --sil)
3474 continue ;;
3475 *\'*)
3476 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3477 esac
3478 case $ac_pass in
3479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3481 as_fn_append ac_configure_args1 " '$ac_arg'"
3482 if test $ac_must_keep_next = true; then
3483 ac_must_keep_next=false # Got value, back to normal.
3484 else
3485 case $ac_arg in
3486 *=* | --config-cache | -C | -disable-* | --disable-* \
3487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3489 | -with-* | --with-* | -without-* | --without-* | --x)
3490 case "$ac_configure_args0 " in
3491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3492 esac
3494 -* ) ac_must_keep_next=true ;;
3495 esac
3497 as_fn_append ac_configure_args " '$ac_arg'"
3499 esac
3500 done
3501 done
3502 { ac_configure_args0=; unset ac_configure_args0;}
3503 { ac_configure_args1=; unset ac_configure_args1;}
3505 # When interrupted or exit'd, cleanup temporary files, and complete
3506 # config.log. We remove comments because anyway the quotes in there
3507 # would cause problems or look ugly.
3508 # WARNING: Use '\'' to represent an apostrophe within the trap.
3509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3510 trap 'exit_status=$?
3511 # Sanitize IFS.
3512 IFS=" "" $as_nl"
3513 # Save into config.log some information that might help in debugging.
3515 echo
3517 printf "%s\n" "## ---------------- ##
3518 ## Cache variables. ##
3519 ## ---------------- ##"
3520 echo
3521 # The following way of writing the cache mishandles newlines in values,
3523 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3524 eval ac_val=\$$ac_var
3525 case $ac_val in #(
3526 *${as_nl}*)
3527 case $ac_var in #(
3528 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3529 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3530 esac
3531 case $ac_var in #(
3532 _ | IFS | as_nl) ;; #(
3533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3534 *) { eval $ac_var=; unset $ac_var;} ;;
3535 esac ;;
3536 esac
3537 done
3538 (set) 2>&1 |
3539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3540 *${as_nl}ac_space=\ *)
3541 sed -n \
3542 "s/'\''/'\''\\\\'\'''\''/g;
3543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3544 ;; #(
3546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3548 esac |
3549 sort
3551 echo
3553 printf "%s\n" "## ----------------- ##
3554 ## Output variables. ##
3555 ## ----------------- ##"
3556 echo
3557 for ac_var in $ac_subst_vars
3559 eval ac_val=\$$ac_var
3560 case $ac_val in
3561 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3562 esac
3563 printf "%s\n" "$ac_var='\''$ac_val'\''"
3564 done | sort
3565 echo
3567 if test -n "$ac_subst_files"; then
3568 printf "%s\n" "## ------------------- ##
3569 ## File substitutions. ##
3570 ## ------------------- ##"
3571 echo
3572 for ac_var in $ac_subst_files
3574 eval ac_val=\$$ac_var
3575 case $ac_val in
3576 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3577 esac
3578 printf "%s\n" "$ac_var='\''$ac_val'\''"
3579 done | sort
3580 echo
3583 if test -s confdefs.h; then
3584 printf "%s\n" "## ----------- ##
3585 ## confdefs.h. ##
3586 ## ----------- ##"
3587 echo
3588 cat confdefs.h
3589 echo
3591 test "$ac_signal" != 0 &&
3592 printf "%s\n" "$as_me: caught signal $ac_signal"
3593 printf "%s\n" "$as_me: exit $exit_status"
3594 } >&5
3595 rm -f core *.core core.conftest.* &&
3596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3597 exit $exit_status
3599 for ac_signal in 1 2 13 15; do
3600 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3601 done
3602 ac_signal=0
3604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3605 rm -f -r conftest* confdefs.h
3607 printf "%s\n" "/* confdefs.h */" > confdefs.h
3609 # Predefined preprocessor variables.
3611 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3613 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3615 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3617 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3619 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3624 # Let the site file select an alternate cache file if it wants to.
3625 # Prefer an explicitly selected file to automatically selected ones.
3626 if test -n "$CONFIG_SITE"; then
3627 ac_site_files="$CONFIG_SITE"
3628 elif test "x$prefix" != xNONE; then
3629 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3630 else
3631 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3634 for ac_site_file in $ac_site_files
3636 case $ac_site_file in #(
3637 */*) :
3638 ;; #(
3639 *) :
3640 ac_site_file=./$ac_site_file ;;
3641 esac
3642 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3644 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3645 sed 's/^/| /' "$ac_site_file" >&5
3646 . "$ac_site_file" \
3647 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3648 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3649 as_fn_error $? "failed to load site script $ac_site_file
3650 See \`config.log' for more details" "$LINENO" 5; }
3652 done
3654 if test -r "$cache_file"; then
3655 # Some versions of bash will fail to source /dev/null (special files
3656 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3657 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3659 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3660 case $cache_file in
3661 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3662 *) . "./$cache_file";;
3663 esac
3665 else
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3667 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3668 >$cache_file
3671 # Test code for whether the C compiler supports C89 (global declarations)
3672 ac_c_conftest_c89_globals='
3673 /* Does the compiler advertise C89 conformance?
3674 Do not test the value of __STDC__, because some compilers set it to 0
3675 while being otherwise adequately conformant. */
3676 #if !defined __STDC__
3677 # error "Compiler does not advertise C89 conformance"
3678 #endif
3680 #include <stddef.h>
3681 #include <stdarg.h>
3682 struct stat;
3683 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3684 struct buf { int x; };
3685 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3686 static char *e (p, i)
3687 char **p;
3688 int i;
3690 return p[i];
3692 static char *f (char * (*g) (char **, int), char **p, ...)
3694 char *s;
3695 va_list v;
3696 va_start (v,p);
3697 s = g (p, va_arg (v,int));
3698 va_end (v);
3699 return s;
3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3703 function prototypes and stuff, but not \xHH hex character constants.
3704 These do not provoke an error unfortunately, instead are silently treated
3705 as an "x". The following induces an error, until -std is added to get
3706 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3707 array size at least. It is necessary to write \x00 == 0 to get something
3708 that is true only with -std. */
3709 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3712 inside strings and character constants. */
3713 #define FOO(x) '\''x'\''
3714 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3716 int test (int i, double x);
3717 struct s1 {int (*f) (int a);};
3718 struct s2 {int (*f) (double a);};
3719 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3720 int, int);'
3722 # Test code for whether the C compiler supports C89 (body of main).
3723 ac_c_conftest_c89_main='
3724 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3727 # Test code for whether the C compiler supports C99 (global declarations)
3728 ac_c_conftest_c99_globals='
3729 // Does the compiler advertise C99 conformance?
3730 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3731 # error "Compiler does not advertise C99 conformance"
3732 #endif
3734 #include <stdbool.h>
3735 extern int puts (const char *);
3736 extern int printf (const char *, ...);
3737 extern int dprintf (int, const char *, ...);
3738 extern void *malloc (size_t);
3740 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3741 // dprintf is used instead of fprintf to avoid needing to declare
3742 // FILE and stderr.
3743 #define debug(...) dprintf (2, __VA_ARGS__)
3744 #define showlist(...) puts (#__VA_ARGS__)
3745 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3746 static void
3747 test_varargs_macros (void)
3749 int x = 1234;
3750 int y = 5678;
3751 debug ("Flag");
3752 debug ("X = %d\n", x);
3753 showlist (The first, second, and third items.);
3754 report (x>y, "x is %d but y is %d", x, y);
3757 // Check long long types.
3758 #define BIG64 18446744073709551615ull
3759 #define BIG32 4294967295ul
3760 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3761 #if !BIG_OK
3762 #error "your preprocessor is broken"
3763 #endif
3764 #if BIG_OK
3765 #else
3766 #error "your preprocessor is broken"
3767 #endif
3768 static long long int bignum = -9223372036854775807LL;
3769 static unsigned long long int ubignum = BIG64;
3771 struct incomplete_array
3773 int datasize;
3774 double data[];
3777 struct named_init {
3778 int number;
3779 const wchar_t *name;
3780 double average;
3783 typedef const char *ccp;
3785 static inline int
3786 test_restrict (ccp restrict text)
3788 // See if C++-style comments work.
3789 // Iterate through items via the restricted pointer.
3790 // Also check for declarations in for loops.
3791 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3792 continue;
3793 return 0;
3796 // Check varargs and va_copy.
3797 static bool
3798 test_varargs (const char *format, ...)
3800 va_list args;
3801 va_start (args, format);
3802 va_list args_copy;
3803 va_copy (args_copy, args);
3805 const char *str = "";
3806 int number = 0;
3807 float fnumber = 0;
3809 while (*format)
3811 switch (*format++)
3813 case '\''s'\'': // string
3814 str = va_arg (args_copy, const char *);
3815 break;
3816 case '\''d'\'': // int
3817 number = va_arg (args_copy, int);
3818 break;
3819 case '\''f'\'': // float
3820 fnumber = va_arg (args_copy, double);
3821 break;
3822 default:
3823 break;
3826 va_end (args_copy);
3827 va_end (args);
3829 return *str && number && fnumber;
3833 # Test code for whether the C compiler supports C99 (body of main).
3834 ac_c_conftest_c99_main='
3835 // Check bool.
3836 _Bool success = false;
3837 success |= (argc != 0);
3839 // Check restrict.
3840 if (test_restrict ("String literal") == 0)
3841 success = true;
3842 char *restrict newvar = "Another string";
3844 // Check varargs.
3845 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3846 test_varargs_macros ();
3848 // Check flexible array members.
3849 struct incomplete_array *ia =
3850 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3851 ia->datasize = 10;
3852 for (int i = 0; i < ia->datasize; ++i)
3853 ia->data[i] = i * 1.234;
3855 // Check named initializers.
3856 struct named_init ni = {
3857 .number = 34,
3858 .name = L"Test wide string",
3859 .average = 543.34343,
3862 ni.number = 58;
3864 int dynamic_array[ni.number];
3865 dynamic_array[0] = argv[0][0];
3866 dynamic_array[ni.number - 1] = 543;
3868 // work around unused variable warnings
3869 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3870 || dynamic_array[ni.number - 1] != 543);
3873 # Test code for whether the C compiler supports C11 (global declarations)
3874 ac_c_conftest_c11_globals='
3875 // Does the compiler advertise C11 conformance?
3876 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3877 # error "Compiler does not advertise C11 conformance"
3878 #endif
3880 // Check _Alignas.
3881 char _Alignas (double) aligned_as_double;
3882 char _Alignas (0) no_special_alignment;
3883 extern char aligned_as_int;
3884 char _Alignas (0) _Alignas (int) aligned_as_int;
3886 // Check _Alignof.
3887 enum
3889 int_alignment = _Alignof (int),
3890 int_array_alignment = _Alignof (int[100]),
3891 char_alignment = _Alignof (char)
3893 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3895 // Check _Noreturn.
3896 int _Noreturn does_not_return (void) { for (;;) continue; }
3898 // Check _Static_assert.
3899 struct test_static_assert
3901 int x;
3902 _Static_assert (sizeof (int) <= sizeof (long int),
3903 "_Static_assert does not work in struct");
3904 long int y;
3907 // Check UTF-8 literals.
3908 #define u8 syntax error!
3909 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3911 // Check duplicate typedefs.
3912 typedef long *long_ptr;
3913 typedef long int *long_ptr;
3914 typedef long_ptr long_ptr;
3916 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3917 struct anonymous
3919 union {
3920 struct { int i; int j; };
3921 struct { int k; long int l; } w;
3923 int m;
3924 } v1;
3927 # Test code for whether the C compiler supports C11 (body of main).
3928 ac_c_conftest_c11_main='
3929 _Static_assert ((offsetof (struct anonymous, i)
3930 == offsetof (struct anonymous, w.k)),
3931 "Anonymous union alignment botch");
3932 v1.i = 2;
3933 v1.w.k = 5;
3934 ok |= v1.i != 5;
3937 # Test code for whether the C compiler supports C11 (complete).
3938 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3939 ${ac_c_conftest_c99_globals}
3940 ${ac_c_conftest_c11_globals}
3943 main (int argc, char **argv)
3945 int ok = 0;
3946 ${ac_c_conftest_c89_main}
3947 ${ac_c_conftest_c99_main}
3948 ${ac_c_conftest_c11_main}
3949 return ok;
3953 # Test code for whether the C compiler supports C99 (complete).
3954 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3955 ${ac_c_conftest_c99_globals}
3958 main (int argc, char **argv)
3960 int ok = 0;
3961 ${ac_c_conftest_c89_main}
3962 ${ac_c_conftest_c99_main}
3963 return ok;
3967 # Test code for whether the C compiler supports C89 (complete).
3968 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3971 main (int argc, char **argv)
3973 int ok = 0;
3974 ${ac_c_conftest_c89_main}
3975 return ok;
3979 # Test code for whether the C++ compiler supports C++98 (global declarations)
3980 ac_cxx_conftest_cxx98_globals='
3981 // Does the compiler advertise C++98 conformance?
3982 #if !defined __cplusplus || __cplusplus < 199711L
3983 # error "Compiler does not advertise C++98 conformance"
3984 #endif
3986 // These inclusions are to reject old compilers that
3987 // lack the unsuffixed header files.
3988 #include <cstdlib>
3989 #include <exception>
3991 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3992 extern void assert (int);
3993 namespace std {
3994 extern int strcmp (const char *, const char *);
3997 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3998 using std::exception;
3999 using std::strcmp;
4001 namespace {
4003 void test_exception_syntax()
4005 try {
4006 throw "test";
4007 } catch (const char *s) {
4008 // Extra parentheses suppress a warning when building autoconf itself,
4009 // due to lint rules shared with more typical C programs.
4010 assert (!(strcmp) (s, "test"));
4014 template <typename T> struct test_template
4016 T const val;
4017 explicit test_template(T t) : val(t) {}
4018 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4021 } // anonymous namespace
4024 # Test code for whether the C++ compiler supports C++98 (body of main)
4025 ac_cxx_conftest_cxx98_main='
4026 assert (argc);
4027 assert (! argv[0]);
4029 test_exception_syntax ();
4030 test_template<double> tt (2.0);
4031 assert (tt.add (4) == 6.0);
4032 assert (true && !false);
4036 # Test code for whether the C++ compiler supports C++11 (global declarations)
4037 ac_cxx_conftest_cxx11_globals='
4038 // Does the compiler advertise C++ 2011 conformance?
4039 #if !defined __cplusplus || __cplusplus < 201103L
4040 # error "Compiler does not advertise C++11 conformance"
4041 #endif
4043 namespace cxx11test
4045 constexpr int get_val() { return 20; }
4047 struct testinit
4049 int i;
4050 double d;
4053 class delegate
4055 public:
4056 delegate(int n) : n(n) {}
4057 delegate(): delegate(2354) {}
4059 virtual int getval() { return this->n; };
4060 protected:
4061 int n;
4064 class overridden : public delegate
4066 public:
4067 overridden(int n): delegate(n) {}
4068 virtual int getval() override final { return this->n * 2; }
4071 class nocopy
4073 public:
4074 nocopy(int i): i(i) {}
4075 nocopy() = default;
4076 nocopy(const nocopy&) = delete;
4077 nocopy & operator=(const nocopy&) = delete;
4078 private:
4079 int i;
4082 // for testing lambda expressions
4083 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4085 return f(v);
4088 // for testing variadic templates and trailing return types
4089 template <typename V> auto sum(V first) -> V
4091 return first;
4093 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4095 return first + sum(rest...);
4100 # Test code for whether the C++ compiler supports C++11 (body of main)
4101 ac_cxx_conftest_cxx11_main='
4103 // Test auto and decltype
4104 auto a1 = 6538;
4105 auto a2 = 48573953.4;
4106 auto a3 = "String literal";
4108 int total = 0;
4109 for (auto i = a3; *i; ++i) { total += *i; }
4111 decltype(a2) a4 = 34895.034;
4114 // Test constexpr
4115 short sa[cxx11test::get_val()] = { 0 };
4118 // Test initializer lists
4119 cxx11test::testinit il = { 4323, 435234.23544 };
4122 // Test range-based for
4123 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4124 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4125 for (auto &x : array) { x += 23; }
4128 // Test lambda expressions
4129 using cxx11test::eval;
4130 assert (eval ([](int x) { return x*2; }, 21) == 42);
4131 double d = 2.0;
4132 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4133 assert (d == 5.0);
4134 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4135 assert (d == 5.0);
4138 // Test use of variadic templates
4139 using cxx11test::sum;
4140 auto a = sum(1);
4141 auto b = sum(1, 2);
4142 auto c = sum(1.0, 2.0, 3.0);
4145 // Test constructor delegation
4146 cxx11test::delegate d1;
4147 cxx11test::delegate d2();
4148 cxx11test::delegate d3(45);
4151 // Test override and final
4152 cxx11test::overridden o1(55464);
4155 // Test nullptr
4156 char *c = nullptr;
4159 // Test template brackets
4160 test_template<::test_template<int>> v(test_template<int>(12));
4163 // Unicode literals
4164 char const *utf8 = u8"UTF-8 string \u2500";
4165 char16_t const *utf16 = u"UTF-8 string \u2500";
4166 char32_t const *utf32 = U"UTF-32 string \u2500";
4170 # Test code for whether the C compiler supports C++11 (complete).
4171 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4172 ${ac_cxx_conftest_cxx11_globals}
4175 main (int argc, char **argv)
4177 int ok = 0;
4178 ${ac_cxx_conftest_cxx98_main}
4179 ${ac_cxx_conftest_cxx11_main}
4180 return ok;
4184 # Test code for whether the C compiler supports C++98 (complete).
4185 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4187 main (int argc, char **argv)
4189 int ok = 0;
4190 ${ac_cxx_conftest_cxx98_main}
4191 return ok;
4195 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4196 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4197 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4198 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4199 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4200 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4201 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4202 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4203 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4205 # Auxiliary files required by this configure script.
4206 ac_aux_files="config.guess config.sub"
4208 # Locations in which to look for auxiliary files.
4209 ac_aux_dir_candidates="${srcdir}/tools"
4211 # Search for a directory containing all of the required auxiliary files,
4212 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4213 # If we don't find one directory that contains all the files we need,
4214 # we report the set of missing files from the *first* directory in
4215 # $ac_aux_dir_candidates and give up.
4216 ac_missing_aux_files=""
4217 ac_first_candidate=:
4218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 as_found=false
4221 for as_dir in $ac_aux_dir_candidates
4223 IFS=$as_save_IFS
4224 case $as_dir in #(((
4225 '') as_dir=./ ;;
4226 */) ;;
4227 *) as_dir=$as_dir/ ;;
4228 esac
4229 as_found=:
4231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4232 ac_aux_dir_found=yes
4233 ac_install_sh=
4234 for ac_aux in $ac_aux_files
4236 # As a special case, if "install-sh" is required, that requirement
4237 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4238 # and $ac_install_sh is set appropriately for whichever one is found.
4239 if test x"$ac_aux" = x"install-sh"
4240 then
4241 if test -f "${as_dir}install-sh"; then
4242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4243 ac_install_sh="${as_dir}install-sh -c"
4244 elif test -f "${as_dir}install.sh"; then
4245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4246 ac_install_sh="${as_dir}install.sh -c"
4247 elif test -f "${as_dir}shtool"; then
4248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4249 ac_install_sh="${as_dir}shtool install -c"
4250 else
4251 ac_aux_dir_found=no
4252 if $ac_first_candidate; then
4253 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4254 else
4255 break
4258 else
4259 if test -f "${as_dir}${ac_aux}"; then
4260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4261 else
4262 ac_aux_dir_found=no
4263 if $ac_first_candidate; then
4264 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4265 else
4266 break
4270 done
4271 if test "$ac_aux_dir_found" = yes; then
4272 ac_aux_dir="$as_dir"
4273 break
4275 ac_first_candidate=false
4277 as_found=false
4278 done
4279 IFS=$as_save_IFS
4280 if $as_found
4281 then :
4283 else $as_nop
4284 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4288 # These three variables are undocumented and unsupported,
4289 # and are intended to be withdrawn in a future Autoconf release.
4290 # They can cause serious problems if a builder's source tree is in a directory
4291 # whose full name contains unusual characters.
4292 if test -f "${ac_aux_dir}config.guess"; then
4293 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4295 if test -f "${ac_aux_dir}config.sub"; then
4296 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4298 if test -f "$ac_aux_dir/configure"; then
4299 ac_configure="$SHELL ${ac_aux_dir}configure"
4302 # Check that the precious variables saved in the cache have kept the same
4303 # value.
4304 ac_cache_corrupted=false
4305 for ac_var in $ac_precious_vars; do
4306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4307 eval ac_new_set=\$ac_env_${ac_var}_set
4308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4309 eval ac_new_val=\$ac_env_${ac_var}_value
4310 case $ac_old_set,$ac_new_set in
4311 set,)
4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4313 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4314 ac_cache_corrupted=: ;;
4315 ,set)
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4317 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4318 ac_cache_corrupted=: ;;
4319 ,);;
4321 if test "x$ac_old_val" != "x$ac_new_val"; then
4322 # differences in whitespace do not lead to failure.
4323 ac_old_val_w=`echo x $ac_old_val`
4324 ac_new_val_w=`echo x $ac_new_val`
4325 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4327 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4328 ac_cache_corrupted=:
4329 else
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4331 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4332 eval $ac_var=\$ac_old_val
4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4335 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4337 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4338 fi;;
4339 esac
4340 # Pass precious variables to config.status.
4341 if test "$ac_new_set" = set; then
4342 case $ac_new_val in
4343 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4344 *) ac_arg=$ac_var=$ac_new_val ;;
4345 esac
4346 case " $ac_configure_args " in
4347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4348 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4349 esac
4351 done
4352 if $ac_cache_corrupted; then
4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4356 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4357 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4358 and start over" "$LINENO" 5
4360 ## -------------------- ##
4361 ## Main body of script. ##
4362 ## -------------------- ##
4364 ac_ext=c
4365 ac_cpp='$CPP $CPPFLAGS'
4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372 ac_config_headers="$ac_config_headers include/config.h"
4376 libwine_version="1.0"
4379 # Check whether --enable-win16 was given.
4380 if test ${enable_win16+y}
4381 then :
4382 enableval=$enable_win16;
4385 # Check whether --enable-win64 was given.
4386 if test ${enable_win64+y}
4387 then :
4388 enableval=$enable_win64;
4391 # Check whether --enable-tests was given.
4392 if test ${enable_tests+y}
4393 then :
4394 enableval=$enable_tests;
4397 # Check whether --enable-build-id was given.
4398 if test ${enable_build_id+y}
4399 then :
4400 enableval=$enable_build_id;
4403 # Check whether --enable-maintainer-mode was given.
4404 if test ${enable_maintainer_mode+y}
4405 then :
4406 enableval=$enable_maintainer_mode;
4409 # Check whether --enable-silent-rules was given.
4410 if test ${enable_silent_rules+y}
4411 then :
4412 enableval=$enable_silent_rules;
4415 # Check whether --enable-werror was given.
4416 if test ${enable_werror+y}
4417 then :
4418 enableval=$enable_werror;
4423 # Check whether --with-alsa was given.
4424 if test ${with_alsa+y}
4425 then :
4426 withval=$with_alsa;
4430 # Check whether --with-capi was given.
4431 if test ${with_capi+y}
4432 then :
4433 withval=$with_capi;
4437 # Check whether --with-coreaudio was given.
4438 if test ${with_coreaudio+y}
4439 then :
4440 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4444 # Check whether --with-cups was given.
4445 if test ${with_cups+y}
4446 then :
4447 withval=$with_cups;
4451 # Check whether --with-dbus was given.
4452 if test ${with_dbus+y}
4453 then :
4454 withval=$with_dbus;
4458 # Check whether --with-float-abi was given.
4459 if test ${with_float_abi+y}
4460 then :
4461 withval=$with_float_abi;
4465 # Check whether --with-fontconfig was given.
4466 if test ${with_fontconfig+y}
4467 then :
4468 withval=$with_fontconfig;
4472 # Check whether --with-freetype was given.
4473 if test ${with_freetype+y}
4474 then :
4475 withval=$with_freetype;
4479 # Check whether --with-gettext was given.
4480 if test ${with_gettext+y}
4481 then :
4482 withval=$with_gettext;
4486 # Check whether --with-gettextpo was given.
4487 if test ${with_gettextpo+y}
4488 then :
4489 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4493 # Check whether --with-gphoto was given.
4494 if test ${with_gphoto+y}
4495 then :
4496 withval=$with_gphoto;
4500 # Check whether --with-gnutls was given.
4501 if test ${with_gnutls+y}
4502 then :
4503 withval=$with_gnutls;
4507 # Check whether --with-gssapi was given.
4508 if test ${with_gssapi+y}
4509 then :
4510 withval=$with_gssapi;
4514 # Check whether --with-gstreamer was given.
4515 if test ${with_gstreamer+y}
4516 then :
4517 withval=$with_gstreamer;
4521 # Check whether --with-inotify was given.
4522 if test ${with_inotify+y}
4523 then :
4524 withval=$with_inotify;
4528 # Check whether --with-krb5 was given.
4529 if test ${with_krb5+y}
4530 then :
4531 withval=$with_krb5;
4535 # Check whether --with-ldap was given.
4536 if test ${with_ldap+y}
4537 then :
4538 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4542 # Check whether --with-mingw was given.
4543 if test ${with_mingw+y}
4544 then :
4545 withval=$with_mingw;
4549 # Check whether --with-netapi was given.
4550 if test ${with_netapi+y}
4551 then :
4552 withval=$with_netapi;
4556 # Check whether --with-openal was given.
4557 if test ${with_openal+y}
4558 then :
4559 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4563 # Check whether --with-opencl was given.
4564 if test ${with_opencl+y}
4565 then :
4566 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4570 # Check whether --with-opengl was given.
4571 if test ${with_opengl+y}
4572 then :
4573 withval=$with_opengl;
4577 # Check whether --with-osmesa was given.
4578 if test ${with_osmesa+y}
4579 then :
4580 withval=$with_osmesa;
4584 # Check whether --with-oss was given.
4585 if test ${with_oss+y}
4586 then :
4587 withval=$with_oss;
4591 # Check whether --with-pcap was given.
4592 if test ${with_pcap+y}
4593 then :
4594 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4598 # Check whether --with-pthread was given.
4599 if test ${with_pthread+y}
4600 then :
4601 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4605 # Check whether --with-pulse was given.
4606 if test ${with_pulse+y}
4607 then :
4608 withval=$with_pulse;
4612 # Check whether --with-sane was given.
4613 if test ${with_sane+y}
4614 then :
4615 withval=$with_sane;
4619 # Check whether --with-sdl was given.
4620 if test ${with_sdl+y}
4621 then :
4622 withval=$with_sdl;
4626 # Check whether --with-udev was given.
4627 if test ${with_udev+y}
4628 then :
4629 withval=$with_udev;
4633 # Check whether --with-unwind was given.
4634 if test ${with_unwind+y}
4635 then :
4636 withval=$with_unwind;
4640 # Check whether --with-usb was given.
4641 if test ${with_usb+y}
4642 then :
4643 withval=$with_usb;
4647 # Check whether --with-v4l2 was given.
4648 if test ${with_v4l2+y}
4649 then :
4650 withval=$with_v4l2;
4654 # Check whether --with-vkd3d was given.
4655 if test ${with_vkd3d+y}
4656 then :
4657 withval=$with_vkd3d;
4661 # Check whether --with-vulkan was given.
4662 if test ${with_vulkan+y}
4663 then :
4664 withval=$with_vulkan;
4668 # Check whether --with-xcomposite was given.
4669 if test ${with_xcomposite+y}
4670 then :
4671 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4675 # Check whether --with-xcursor was given.
4676 if test ${with_xcursor+y}
4677 then :
4678 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4682 # Check whether --with-xfixes was given.
4683 if test ${with_xfixes+y}
4684 then :
4685 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4689 # Check whether --with-xinerama was given.
4690 if test ${with_xinerama+y}
4691 then :
4692 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4696 # Check whether --with-xinput was given.
4697 if test ${with_xinput+y}
4698 then :
4699 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4703 # Check whether --with-xinput2 was given.
4704 if test ${with_xinput2+y}
4705 then :
4706 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4710 # Check whether --with-xrandr was given.
4711 if test ${with_xrandr+y}
4712 then :
4713 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4717 # Check whether --with-xrender was given.
4718 if test ${with_xrender+y}
4719 then :
4720 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4724 # Check whether --with-xshape was given.
4725 if test ${with_xshape+y}
4726 then :
4727 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4731 # Check whether --with-xshm was given.
4732 if test ${with_xshm+y}
4733 then :
4734 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4738 # Check whether --with-xxf86vm was given.
4739 if test ${with_xxf86vm+y}
4740 then :
4741 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
4746 # Check whether --with-system-dllpath was given.
4747 if test ${with_system_dllpath+y}
4748 then :
4749 withval=$with_system_dllpath; system_dllpath=$withval
4754 # Check whether --with-wine-tools was given.
4755 if test ${with_wine_tools+y}
4756 then :
4757 withval=$with_wine_tools;
4761 # Check whether --with-wine64 was given.
4762 if test ${with_wine64+y}
4763 then :
4764 withval=$with_wine64;
4771 # Make sure we can run config.sub.
4772 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4773 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4776 printf %s "checking build system type... " >&6; }
4777 if test ${ac_cv_build+y}
4778 then :
4779 printf %s "(cached) " >&6
4780 else $as_nop
4781 ac_build_alias=$build_alias
4782 test "x$ac_build_alias" = x &&
4783 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4784 test "x$ac_build_alias" = x &&
4785 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4786 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4787 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4791 printf "%s\n" "$ac_cv_build" >&6; }
4792 case $ac_cv_build in
4793 *-*-*) ;;
4794 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4795 esac
4796 build=$ac_cv_build
4797 ac_save_IFS=$IFS; IFS='-'
4798 set x $ac_cv_build
4799 shift
4800 build_cpu=$1
4801 build_vendor=$2
4802 shift; shift
4803 # Remember, the first character of IFS is used to create $*,
4804 # except with old shells:
4805 build_os=$*
4806 IFS=$ac_save_IFS
4807 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4811 printf %s "checking host system type... " >&6; }
4812 if test ${ac_cv_host+y}
4813 then :
4814 printf %s "(cached) " >&6
4815 else $as_nop
4816 if test "x$host_alias" = x; then
4817 ac_cv_host=$ac_cv_build
4818 else
4819 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4820 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4825 printf "%s\n" "$ac_cv_host" >&6; }
4826 case $ac_cv_host in
4827 *-*-*) ;;
4828 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4829 esac
4830 host=$ac_cv_host
4831 ac_save_IFS=$IFS; IFS='-'
4832 set x $ac_cv_host
4833 shift
4834 host_cpu=$1
4835 host_vendor=$2
4836 shift; shift
4837 # Remember, the first character of IFS is used to create $*,
4838 # except with old shells:
4839 host_os=$*
4840 IFS=$ac_save_IFS
4841 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4845 dlldir=\${libdir}/wine
4847 fontdir=\${datadir}/wine/fonts
4849 nlsdir=\${datadir}/wine/nls
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4855 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4856 set x ${MAKE-make}
4857 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4858 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4859 then :
4860 printf %s "(cached) " >&6
4861 else $as_nop
4862 cat >conftest.make <<\_ACEOF
4863 SHELL = /bin/sh
4864 all:
4865 @echo '@@@%%%=$(MAKE)=@@@%%%'
4866 _ACEOF
4867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4869 *@@@%%%=?*=@@@%%%*)
4870 eval ac_cv_prog_make_${ac_make}_set=yes;;
4872 eval ac_cv_prog_make_${ac_make}_set=no;;
4873 esac
4874 rm -f conftest.make
4876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4878 printf "%s\n" "yes" >&6; }
4879 SET_MAKE=
4880 else
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 printf "%s\n" "no" >&6; }
4883 SET_MAKE="MAKE=${MAKE-make}"
4895 ac_ext=c
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4900 if test -n "$ac_tool_prefix"; then
4901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 printf %s "checking for $ac_word... " >&6; }
4905 if test ${ac_cv_prog_CC+y}
4906 then :
4907 printf %s "(cached) " >&6
4908 else $as_nop
4909 if test -n "$CC"; then
4910 ac_cv_prog_CC="$CC" # Let the user override the test.
4911 else
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH
4915 IFS=$as_save_IFS
4916 case $as_dir in #(((
4917 '') as_dir=./ ;;
4918 */) ;;
4919 *) as_dir=$as_dir/ ;;
4920 esac
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4925 break 2
4927 done
4928 done
4929 IFS=$as_save_IFS
4933 CC=$ac_cv_prog_CC
4934 if test -n "$CC"; then
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4936 printf "%s\n" "$CC" >&6; }
4937 else
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 printf "%s\n" "no" >&6; }
4944 if test -z "$ac_cv_prog_CC"; then
4945 ac_ct_CC=$CC
4946 # Extract the first word of "gcc", so it can be a program name with args.
4947 set dummy gcc; ac_word=$2
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 printf %s "checking for $ac_word... " >&6; }
4950 if test ${ac_cv_prog_ac_ct_CC+y}
4951 then :
4952 printf %s "(cached) " >&6
4953 else $as_nop
4954 if test -n "$ac_ct_CC"; then
4955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 case $as_dir in #(((
4962 '') as_dir=./ ;;
4963 */) ;;
4964 *) as_dir=$as_dir/ ;;
4965 esac
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CC="gcc"
4969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4979 if test -n "$ac_ct_CC"; then
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4981 printf "%s\n" "$ac_ct_CC" >&6; }
4982 else
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 printf "%s\n" "no" >&6; }
4987 if test "x$ac_ct_CC" = x; then
4988 CC=""
4989 else
4990 case $cross_compiling:$ac_tool_warned in
4991 yes:)
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4995 esac
4996 CC=$ac_ct_CC
4998 else
4999 CC="$ac_cv_prog_CC"
5002 if test -z "$CC"; then
5003 if test -n "$ac_tool_prefix"; then
5004 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5005 set dummy ${ac_tool_prefix}cc; ac_word=$2
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 printf %s "checking for $ac_word... " >&6; }
5008 if test ${ac_cv_prog_CC+y}
5009 then :
5010 printf %s "(cached) " >&6
5011 else $as_nop
5012 if test -n "$CC"; then
5013 ac_cv_prog_CC="$CC" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018 IFS=$as_save_IFS
5019 case $as_dir in #(((
5020 '') as_dir=./ ;;
5021 */) ;;
5022 *) as_dir=$as_dir/ ;;
5023 esac
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_CC="${ac_tool_prefix}cc"
5027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 CC=$ac_cv_prog_CC
5037 if test -n "$CC"; then
5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5039 printf "%s\n" "$CC" >&6; }
5040 else
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 printf "%s\n" "no" >&6; }
5048 if test -z "$CC"; then
5049 # Extract the first word of "cc", so it can be a program name with args.
5050 set dummy cc; ac_word=$2
5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 printf %s "checking for $ac_word... " >&6; }
5053 if test ${ac_cv_prog_CC+y}
5054 then :
5055 printf %s "(cached) " >&6
5056 else $as_nop
5057 if test -n "$CC"; then
5058 ac_cv_prog_CC="$CC" # Let the user override the test.
5059 else
5060 ac_prog_rejected=no
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 case $as_dir in #(((
5066 '') as_dir=./ ;;
5067 */) ;;
5068 *) as_dir=$as_dir/ ;;
5069 esac
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5072 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5073 ac_prog_rejected=yes
5074 continue
5076 ac_cv_prog_CC="cc"
5077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5078 break 2
5080 done
5081 done
5082 IFS=$as_save_IFS
5084 if test $ac_prog_rejected = yes; then
5085 # We found a bogon in the path, so make sure we never use it.
5086 set dummy $ac_cv_prog_CC
5087 shift
5088 if test $# != 0; then
5089 # We chose a different compiler from the bogus one.
5090 # However, it has the same basename, so the bogon will be chosen
5091 # first if we set CC to just the basename; use the full file name.
5092 shift
5093 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5098 CC=$ac_cv_prog_CC
5099 if test -n "$CC"; then
5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5101 printf "%s\n" "$CC" >&6; }
5102 else
5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 printf "%s\n" "no" >&6; }
5109 if test -z "$CC"; then
5110 if test -n "$ac_tool_prefix"; then
5111 for ac_prog in cl.exe
5113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 printf %s "checking for $ac_word... " >&6; }
5117 if test ${ac_cv_prog_CC+y}
5118 then :
5119 printf %s "(cached) " >&6
5120 else $as_nop
5121 if test -n "$CC"; then
5122 ac_cv_prog_CC="$CC" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 case $as_dir in #(((
5129 '') as_dir=./ ;;
5130 */) ;;
5131 *) as_dir=$as_dir/ ;;
5132 esac
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5135 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 CC=$ac_cv_prog_CC
5146 if test -n "$CC"; then
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5148 printf "%s\n" "$CC" >&6; }
5149 else
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 printf "%s\n" "no" >&6; }
5155 test -n "$CC" && break
5156 done
5158 if test -z "$CC"; then
5159 ac_ct_CC=$CC
5160 for ac_prog in cl.exe
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 printf %s "checking for $ac_word... " >&6; }
5166 if test ${ac_cv_prog_ac_ct_CC+y}
5167 then :
5168 printf %s "(cached) " >&6
5169 else $as_nop
5170 if test -n "$ac_ct_CC"; then
5171 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 case $as_dir in #(((
5178 '') as_dir=./ ;;
5179 */) ;;
5180 *) as_dir=$as_dir/ ;;
5181 esac
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_CC="$ac_prog"
5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5195 if test -n "$ac_ct_CC"; then
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5197 printf "%s\n" "$ac_ct_CC" >&6; }
5198 else
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 printf "%s\n" "no" >&6; }
5204 test -n "$ac_ct_CC" && break
5205 done
5207 if test "x$ac_ct_CC" = x; then
5208 CC=""
5209 else
5210 case $cross_compiling:$ac_tool_warned in
5211 yes:)
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 CC=$ac_ct_CC
5221 if test -z "$CC"; then
5222 if test -n "$ac_tool_prefix"; then
5223 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5224 set dummy ${ac_tool_prefix}clang; ac_word=$2
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 printf %s "checking for $ac_word... " >&6; }
5227 if test ${ac_cv_prog_CC+y}
5228 then :
5229 printf %s "(cached) " >&6
5230 else $as_nop
5231 if test -n "$CC"; then
5232 ac_cv_prog_CC="$CC" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 case $as_dir in #(((
5239 '') as_dir=./ ;;
5240 */) ;;
5241 *) as_dir=$as_dir/ ;;
5242 esac
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_CC="${ac_tool_prefix}clang"
5246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 CC=$ac_cv_prog_CC
5256 if test -n "$CC"; then
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5258 printf "%s\n" "$CC" >&6; }
5259 else
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 printf "%s\n" "no" >&6; }
5266 if test -z "$ac_cv_prog_CC"; then
5267 ac_ct_CC=$CC
5268 # Extract the first word of "clang", so it can be a program name with args.
5269 set dummy clang; ac_word=$2
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 printf %s "checking for $ac_word... " >&6; }
5272 if test ${ac_cv_prog_ac_ct_CC+y}
5273 then :
5274 printf %s "(cached) " >&6
5275 else $as_nop
5276 if test -n "$ac_ct_CC"; then
5277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5282 IFS=$as_save_IFS
5283 case $as_dir in #(((
5284 '') as_dir=./ ;;
5285 */) ;;
5286 *) as_dir=$as_dir/ ;;
5287 esac
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC="clang"
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5292 break 2
5294 done
5295 done
5296 IFS=$as_save_IFS
5300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 printf "%s\n" "$ac_ct_CC" >&6; }
5304 else
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 printf "%s\n" "no" >&6; }
5309 if test "x$ac_ct_CC" = x; then
5310 CC=""
5311 else
5312 case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318 CC=$ac_ct_CC
5320 else
5321 CC="$ac_cv_prog_CC"
5327 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5328 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5329 as_fn_error $? "no acceptable C compiler found in \$PATH
5330 See \`config.log' for more details" "$LINENO" 5; }
5332 # Provide some information about the compiler.
5333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5334 set X $ac_compile
5335 ac_compiler=$2
5336 for ac_option in --version -v -V -qversion -version; do
5337 { { ac_try="$ac_compiler $ac_option >&5"
5338 case "(($ac_try" in
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5341 esac
5342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5343 printf "%s\n" "$ac_try_echo"; } >&5
5344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5345 ac_status=$?
5346 if test -s conftest.err; then
5347 sed '10a\
5348 ... rest of stderr output deleted ...
5349 10q' conftest.err >conftest.er1
5350 cat conftest.er1 >&5
5352 rm -f conftest.er1 conftest.err
5353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5354 test $ac_status = 0; }
5355 done
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main (void)
5365 return 0;
5367 _ACEOF
5368 ac_clean_files_save=$ac_clean_files
5369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5370 # Try to create an executable without -o first, disregard a.out.
5371 # It will help us diagnose broken compilers, and finding out an intuition
5372 # of exeext.
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5374 printf %s "checking whether the C compiler works... " >&6; }
5375 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5377 # The possible output files:
5378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5380 ac_rmfiles=
5381 for ac_file in $ac_files
5383 case $ac_file in
5384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5385 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5386 esac
5387 done
5388 rm -f $ac_rmfiles
5390 if { { ac_try="$ac_link_default"
5391 case "(($ac_try" in
5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5394 esac
5395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5396 printf "%s\n" "$ac_try_echo"; } >&5
5397 (eval "$ac_link_default") 2>&5
5398 ac_status=$?
5399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5400 test $ac_status = 0; }
5401 then :
5402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5403 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5404 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5405 # so that the user can short-circuit this test for compilers unknown to
5406 # Autoconf.
5407 for ac_file in $ac_files ''
5409 test -f "$ac_file" || continue
5410 case $ac_file in
5411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5413 [ab].out )
5414 # We found the default executable, but exeext='' is most
5415 # certainly right.
5416 break;;
5417 *.* )
5418 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5419 then :; else
5420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5422 # We set ac_cv_exeext here because the later test for it is not
5423 # safe: cross compilers may not add the suffix if given an `-o'
5424 # argument, so we may need to know it at that point already.
5425 # Even if this section looks crufty: it has the advantage of
5426 # actually working.
5427 break;;
5429 break;;
5430 esac
5431 done
5432 test "$ac_cv_exeext" = no && ac_cv_exeext=
5434 else $as_nop
5435 ac_file=''
5437 if test -z "$ac_file"
5438 then :
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 printf "%s\n" "no" >&6; }
5441 printf "%s\n" "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5444 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5445 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5446 as_fn_error 77 "C compiler cannot create executables
5447 See \`config.log' for more details" "$LINENO" 5; }
5448 else $as_nop
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 printf "%s\n" "yes" >&6; }
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5453 printf %s "checking for C compiler default output file name... " >&6; }
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5455 printf "%s\n" "$ac_file" >&6; }
5456 ac_exeext=$ac_cv_exeext
5458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5459 ac_clean_files=$ac_clean_files_save
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5461 printf %s "checking for suffix of executables... " >&6; }
5462 if { { ac_try="$ac_link"
5463 case "(($ac_try" in
5464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465 *) ac_try_echo=$ac_try;;
5466 esac
5467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5468 printf "%s\n" "$ac_try_echo"; } >&5
5469 (eval "$ac_link") 2>&5
5470 ac_status=$?
5471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472 test $ac_status = 0; }
5473 then :
5474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5476 # work properly (i.e., refer to `conftest.exe'), while it won't with
5477 # `rm'.
5478 for ac_file in conftest.exe conftest conftest.*; do
5479 test -f "$ac_file" || continue
5480 case $ac_file in
5481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5483 break;;
5484 * ) break;;
5485 esac
5486 done
5487 else $as_nop
5488 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5489 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5490 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5491 See \`config.log' for more details" "$LINENO" 5; }
5493 rm -f conftest conftest$ac_cv_exeext
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5495 printf "%s\n" "$ac_cv_exeext" >&6; }
5497 rm -f conftest.$ac_ext
5498 EXEEXT=$ac_cv_exeext
5499 ac_exeext=$EXEEXT
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 #include <stdio.h>
5504 main (void)
5506 FILE *f = fopen ("conftest.out", "w");
5507 return ferror (f) || fclose (f) != 0;
5510 return 0;
5512 _ACEOF
5513 ac_clean_files="$ac_clean_files conftest.out"
5514 # Check that the compiler produces executables we can run. If not, either
5515 # the compiler is broken, or we cross compile.
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5517 printf %s "checking whether we are cross compiling... " >&6; }
5518 if test "$cross_compiling" != yes; then
5519 { { ac_try="$ac_link"
5520 case "(($ac_try" in
5521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5523 esac
5524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5525 printf "%s\n" "$ac_try_echo"; } >&5
5526 (eval "$ac_link") 2>&5
5527 ac_status=$?
5528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5529 test $ac_status = 0; }
5530 if { ac_try='./conftest$ac_cv_exeext'
5531 { { case "(($ac_try" in
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5534 esac
5535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5536 printf "%s\n" "$ac_try_echo"; } >&5
5537 (eval "$ac_try") 2>&5
5538 ac_status=$?
5539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5540 test $ac_status = 0; }; }; then
5541 cross_compiling=no
5542 else
5543 if test "$cross_compiling" = maybe; then
5544 cross_compiling=yes
5545 else
5546 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5547 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5548 as_fn_error 77 "cannot run C compiled programs.
5549 If you meant to cross compile, use \`--host'.
5550 See \`config.log' for more details" "$LINENO" 5; }
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5555 printf "%s\n" "$cross_compiling" >&6; }
5557 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5558 ac_clean_files=$ac_clean_files_save
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5560 printf %s "checking for suffix of object files... " >&6; }
5561 if test ${ac_cv_objext+y}
5562 then :
5563 printf %s "(cached) " >&6
5564 else $as_nop
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5569 main (void)
5573 return 0;
5575 _ACEOF
5576 rm -f conftest.o conftest.obj
5577 if { { ac_try="$ac_compile"
5578 case "(($ac_try" in
5579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580 *) ac_try_echo=$ac_try;;
5581 esac
5582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5583 printf "%s\n" "$ac_try_echo"; } >&5
5584 (eval "$ac_compile") 2>&5
5585 ac_status=$?
5586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5587 test $ac_status = 0; }
5588 then :
5589 for ac_file in conftest.o conftest.obj conftest.*; do
5590 test -f "$ac_file" || continue;
5591 case $ac_file in
5592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5594 break;;
5595 esac
5596 done
5597 else $as_nop
5598 printf "%s\n" "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.$ac_ext >&5
5601 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5602 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5603 as_fn_error $? "cannot compute suffix of object files: cannot compile
5604 See \`config.log' for more details" "$LINENO" 5; }
5606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5609 printf "%s\n" "$ac_cv_objext" >&6; }
5610 OBJEXT=$ac_cv_objext
5611 ac_objext=$OBJEXT
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5613 printf %s "checking whether the compiler supports GNU C... " >&6; }
5614 if test ${ac_cv_c_compiler_gnu+y}
5615 then :
5616 printf %s "(cached) " >&6
5617 else $as_nop
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5622 main (void)
5624 #ifndef __GNUC__
5625 choke me
5626 #endif
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"
5633 then :
5634 ac_compiler_gnu=yes
5635 else $as_nop
5636 ac_compiler_gnu=no
5638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5643 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5646 if test $ac_compiler_gnu = yes; then
5647 GCC=yes
5648 else
5649 GCC=
5651 ac_test_CFLAGS=${CFLAGS+y}
5652 ac_save_CFLAGS=$CFLAGS
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5654 printf %s "checking whether $CC accepts -g... " >&6; }
5655 if test ${ac_cv_prog_cc_g+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 ac_save_c_werror_flag=$ac_c_werror_flag
5660 ac_c_werror_flag=yes
5661 ac_cv_prog_cc_g=no
5662 CFLAGS="-g"
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5667 main (void)
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_compile "$LINENO"
5675 then :
5676 ac_cv_prog_cc_g=yes
5677 else $as_nop
5678 CFLAGS=""
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5683 main (void)
5687 return 0;
5689 _ACEOF
5690 if ac_fn_c_try_compile "$LINENO"
5691 then :
5693 else $as_nop
5694 ac_c_werror_flag=$ac_save_c_werror_flag
5695 CFLAGS="-g"
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 main (void)
5704 return 0;
5706 _ACEOF
5707 if ac_fn_c_try_compile "$LINENO"
5708 then :
5709 ac_cv_prog_cc_g=yes
5711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5716 ac_c_werror_flag=$ac_save_c_werror_flag
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5719 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5720 if test $ac_test_CFLAGS; then
5721 CFLAGS=$ac_save_CFLAGS
5722 elif test $ac_cv_prog_cc_g = yes; then
5723 if test "$GCC" = yes; then
5724 CFLAGS="-g -O2"
5725 else
5726 CFLAGS="-g"
5728 else
5729 if test "$GCC" = yes; then
5730 CFLAGS="-O2"
5731 else
5732 CFLAGS=
5735 ac_prog_cc_stdc=no
5736 if test x$ac_prog_cc_stdc = xno
5737 then :
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5739 printf %s "checking for $CC option to enable C11 features... " >&6; }
5740 if test ${ac_cv_prog_cc_c11+y}
5741 then :
5742 printf %s "(cached) " >&6
5743 else $as_nop
5744 ac_cv_prog_cc_c11=no
5745 ac_save_CC=$CC
5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5748 $ac_c_conftest_c11_program
5749 _ACEOF
5750 for ac_arg in '' -std=gnu11
5752 CC="$ac_save_CC $ac_arg"
5753 if ac_fn_c_try_compile "$LINENO"
5754 then :
5755 ac_cv_prog_cc_c11=$ac_arg
5757 rm -f core conftest.err conftest.$ac_objext conftest.beam
5758 test "x$ac_cv_prog_cc_c11" != "xno" && break
5759 done
5760 rm -f conftest.$ac_ext
5761 CC=$ac_save_CC
5764 if test "x$ac_cv_prog_cc_c11" = xno
5765 then :
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5767 printf "%s\n" "unsupported" >&6; }
5768 else $as_nop
5769 if test "x$ac_cv_prog_cc_c11" = x
5770 then :
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5772 printf "%s\n" "none needed" >&6; }
5773 else $as_nop
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5775 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5776 CC="$CC $ac_cv_prog_cc_c11"
5778 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5779 ac_prog_cc_stdc=c11
5782 if test x$ac_prog_cc_stdc = xno
5783 then :
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5785 printf %s "checking for $CC option to enable C99 features... " >&6; }
5786 if test ${ac_cv_prog_cc_c99+y}
5787 then :
5788 printf %s "(cached) " >&6
5789 else $as_nop
5790 ac_cv_prog_cc_c99=no
5791 ac_save_CC=$CC
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5794 $ac_c_conftest_c99_program
5795 _ACEOF
5796 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5798 CC="$ac_save_CC $ac_arg"
5799 if ac_fn_c_try_compile "$LINENO"
5800 then :
5801 ac_cv_prog_cc_c99=$ac_arg
5803 rm -f core conftest.err conftest.$ac_objext conftest.beam
5804 test "x$ac_cv_prog_cc_c99" != "xno" && break
5805 done
5806 rm -f conftest.$ac_ext
5807 CC=$ac_save_CC
5810 if test "x$ac_cv_prog_cc_c99" = xno
5811 then :
5812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5813 printf "%s\n" "unsupported" >&6; }
5814 else $as_nop
5815 if test "x$ac_cv_prog_cc_c99" = x
5816 then :
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5818 printf "%s\n" "none needed" >&6; }
5819 else $as_nop
5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5821 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5822 CC="$CC $ac_cv_prog_cc_c99"
5824 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5825 ac_prog_cc_stdc=c99
5828 if test x$ac_prog_cc_stdc = xno
5829 then :
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5831 printf %s "checking for $CC option to enable C89 features... " >&6; }
5832 if test ${ac_cv_prog_cc_c89+y}
5833 then :
5834 printf %s "(cached) " >&6
5835 else $as_nop
5836 ac_cv_prog_cc_c89=no
5837 ac_save_CC=$CC
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 $ac_c_conftest_c89_program
5841 _ACEOF
5842 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5844 CC="$ac_save_CC $ac_arg"
5845 if ac_fn_c_try_compile "$LINENO"
5846 then :
5847 ac_cv_prog_cc_c89=$ac_arg
5849 rm -f core conftest.err conftest.$ac_objext conftest.beam
5850 test "x$ac_cv_prog_cc_c89" != "xno" && break
5851 done
5852 rm -f conftest.$ac_ext
5853 CC=$ac_save_CC
5856 if test "x$ac_cv_prog_cc_c89" = xno
5857 then :
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5859 printf "%s\n" "unsupported" >&6; }
5860 else $as_nop
5861 if test "x$ac_cv_prog_cc_c89" = x
5862 then :
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5864 printf "%s\n" "none needed" >&6; }
5865 else $as_nop
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5867 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5868 CC="$CC $ac_cv_prog_cc_c89"
5870 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5871 ac_prog_cc_stdc=c89
5875 ac_ext=c
5876 ac_cpp='$CPP $CPPFLAGS'
5877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5887 ac_ext=cpp
5888 ac_cpp='$CXXCPP $CPPFLAGS'
5889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5892 if test -z "$CXX"; then
5893 if test -n "$CCC"; then
5894 CXX=$CCC
5895 else
5896 if test -n "$ac_tool_prefix"; then
5897 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 printf %s "checking for $ac_word... " >&6; }
5903 if test ${ac_cv_prog_CXX+y}
5904 then :
5905 printf %s "(cached) " >&6
5906 else $as_nop
5907 if test -n "$CXX"; then
5908 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 case $as_dir in #(((
5915 '') as_dir=./ ;;
5916 */) ;;
5917 *) as_dir=$as_dir/ ;;
5918 esac
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5923 break 2
5925 done
5926 done
5927 IFS=$as_save_IFS
5931 CXX=$ac_cv_prog_CXX
5932 if test -n "$CXX"; then
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5934 printf "%s\n" "$CXX" >&6; }
5935 else
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 printf "%s\n" "no" >&6; }
5941 test -n "$CXX" && break
5942 done
5944 if test -z "$CXX"; then
5945 ac_ct_CXX=$CXX
5946 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy $ac_prog; ac_word=$2
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 printf %s "checking for $ac_word... " >&6; }
5952 if test ${ac_cv_prog_ac_ct_CXX+y}
5953 then :
5954 printf %s "(cached) " >&6
5955 else $as_nop
5956 if test -n "$ac_ct_CXX"; then
5957 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 case $as_dir in #(((
5964 '') as_dir=./ ;;
5965 */) ;;
5966 *) as_dir=$as_dir/ ;;
5967 esac
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_ac_ct_CXX="$ac_prog"
5971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5981 if test -n "$ac_ct_CXX"; then
5982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5983 printf "%s\n" "$ac_ct_CXX" >&6; }
5984 else
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 printf "%s\n" "no" >&6; }
5990 test -n "$ac_ct_CXX" && break
5991 done
5993 if test "x$ac_ct_CXX" = x; then
5994 CXX="g++"
5995 else
5996 case $cross_compiling:$ac_tool_warned in
5997 yes:)
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6000 ac_tool_warned=yes ;;
6001 esac
6002 CXX=$ac_ct_CXX
6008 # Provide some information about the compiler.
6009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6010 set X $ac_compile
6011 ac_compiler=$2
6012 for ac_option in --version -v -V -qversion; do
6013 { { ac_try="$ac_compiler $ac_option >&5"
6014 case "(($ac_try" in
6015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6017 esac
6018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6019 printf "%s\n" "$ac_try_echo"; } >&5
6020 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6021 ac_status=$?
6022 if test -s conftest.err; then
6023 sed '10a\
6024 ... rest of stderr output deleted ...
6025 10q' conftest.err >conftest.er1
6026 cat conftest.er1 >&5
6028 rm -f conftest.er1 conftest.err
6029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6030 test $ac_status = 0; }
6031 done
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6034 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6035 if test ${ac_cv_cxx_compiler_gnu+y}
6036 then :
6037 printf %s "(cached) " >&6
6038 else $as_nop
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6043 main (void)
6045 #ifndef __GNUC__
6046 choke me
6047 #endif
6050 return 0;
6052 _ACEOF
6053 if ac_fn_cxx_try_compile "$LINENO"
6054 then :
6055 ac_compiler_gnu=yes
6056 else $as_nop
6057 ac_compiler_gnu=no
6059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6060 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6064 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6067 if test $ac_compiler_gnu = yes; then
6068 GXX=yes
6069 else
6070 GXX=
6072 ac_test_CXXFLAGS=${CXXFLAGS+y}
6073 ac_save_CXXFLAGS=$CXXFLAGS
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6075 printf %s "checking whether $CXX accepts -g... " >&6; }
6076 if test ${ac_cv_prog_cxx_g+y}
6077 then :
6078 printf %s "(cached) " >&6
6079 else $as_nop
6080 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6081 ac_cxx_werror_flag=yes
6082 ac_cv_prog_cxx_g=no
6083 CXXFLAGS="-g"
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6088 main (void)
6092 return 0;
6094 _ACEOF
6095 if ac_fn_cxx_try_compile "$LINENO"
6096 then :
6097 ac_cv_prog_cxx_g=yes
6098 else $as_nop
6099 CXXFLAGS=""
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6104 main (void)
6108 return 0;
6110 _ACEOF
6111 if ac_fn_cxx_try_compile "$LINENO"
6112 then :
6114 else $as_nop
6115 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6116 CXXFLAGS="-g"
6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6121 main (void)
6125 return 0;
6127 _ACEOF
6128 if ac_fn_cxx_try_compile "$LINENO"
6129 then :
6130 ac_cv_prog_cxx_g=yes
6132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6137 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6140 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6141 if test $ac_test_CXXFLAGS; then
6142 CXXFLAGS=$ac_save_CXXFLAGS
6143 elif test $ac_cv_prog_cxx_g = yes; then
6144 if test "$GXX" = yes; then
6145 CXXFLAGS="-g -O2"
6146 else
6147 CXXFLAGS="-g"
6149 else
6150 if test "$GXX" = yes; then
6151 CXXFLAGS="-O2"
6152 else
6153 CXXFLAGS=
6156 ac_prog_cxx_stdcxx=no
6157 if test x$ac_prog_cxx_stdcxx = xno
6158 then :
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6160 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6161 if test ${ac_cv_prog_cxx_11+y}
6162 then :
6163 printf %s "(cached) " >&6
6164 else $as_nop
6165 ac_cv_prog_cxx_11=no
6166 ac_save_CXX=$CXX
6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6169 $ac_cxx_conftest_cxx11_program
6170 _ACEOF
6171 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6173 CXX="$ac_save_CXX $ac_arg"
6174 if ac_fn_cxx_try_compile "$LINENO"
6175 then :
6176 ac_cv_prog_cxx_cxx11=$ac_arg
6178 rm -f core conftest.err conftest.$ac_objext conftest.beam
6179 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6180 done
6181 rm -f conftest.$ac_ext
6182 CXX=$ac_save_CXX
6185 if test "x$ac_cv_prog_cxx_cxx11" = xno
6186 then :
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6188 printf "%s\n" "unsupported" >&6; }
6189 else $as_nop
6190 if test "x$ac_cv_prog_cxx_cxx11" = x
6191 then :
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6193 printf "%s\n" "none needed" >&6; }
6194 else $as_nop
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6196 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6197 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6199 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6200 ac_prog_cxx_stdcxx=cxx11
6203 if test x$ac_prog_cxx_stdcxx = xno
6204 then :
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6206 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6207 if test ${ac_cv_prog_cxx_98+y}
6208 then :
6209 printf %s "(cached) " >&6
6210 else $as_nop
6211 ac_cv_prog_cxx_98=no
6212 ac_save_CXX=$CXX
6213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6215 $ac_cxx_conftest_cxx98_program
6216 _ACEOF
6217 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6219 CXX="$ac_save_CXX $ac_arg"
6220 if ac_fn_cxx_try_compile "$LINENO"
6221 then :
6222 ac_cv_prog_cxx_cxx98=$ac_arg
6224 rm -f core conftest.err conftest.$ac_objext conftest.beam
6225 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6226 done
6227 rm -f conftest.$ac_ext
6228 CXX=$ac_save_CXX
6231 if test "x$ac_cv_prog_cxx_cxx98" = xno
6232 then :
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6234 printf "%s\n" "unsupported" >&6; }
6235 else $as_nop
6236 if test "x$ac_cv_prog_cxx_cxx98" = x
6237 then :
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6239 printf "%s\n" "none needed" >&6; }
6240 else $as_nop
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6242 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6243 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6245 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6246 ac_prog_cxx_stdcxx=cxx98
6250 ac_ext=c
6251 ac_cpp='$CPP $CPPFLAGS'
6252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6256 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6258 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 printf %s "checking for $ac_word... " >&6; }
6261 if test ${ac_cv_prog_CPPBIN+y}
6262 then :
6263 printf %s "(cached) " >&6
6264 else $as_nop
6265 if test -n "$CPPBIN"; then
6266 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6271 IFS=$as_save_IFS
6272 case $as_dir in #(((
6273 '') as_dir=./ ;;
6274 */) ;;
6275 *) as_dir=$as_dir/ ;;
6276 esac
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6281 break 2
6283 done
6284 done
6285 IFS=$as_save_IFS
6289 CPPBIN=$ac_cv_prog_CPPBIN
6290 if test -n "$CPPBIN"; then
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6292 printf "%s\n" "$CPPBIN" >&6; }
6293 else
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 printf "%s\n" "no" >&6; }
6300 if test -z "$ac_cv_prog_CPPBIN"; then
6301 ac_ct_CPPBIN=$CPPBIN
6302 # Extract the first word of "cpp", so it can be a program name with args.
6303 set dummy cpp; ac_word=$2
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6305 printf %s "checking for $ac_word... " >&6; }
6306 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6307 then :
6308 printf %s "(cached) " >&6
6309 else $as_nop
6310 if test -n "$ac_ct_CPPBIN"; then
6311 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6316 IFS=$as_save_IFS
6317 case $as_dir in #(((
6318 '') as_dir=./ ;;
6319 */) ;;
6320 *) as_dir=$as_dir/ ;;
6321 esac
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_ac_ct_CPPBIN="cpp"
6325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6326 break 2
6328 done
6329 done
6330 IFS=$as_save_IFS
6334 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6335 if test -n "$ac_ct_CPPBIN"; then
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6337 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6338 else
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 printf "%s\n" "no" >&6; }
6343 if test "x$ac_ct_CPPBIN" = x; then
6344 CPPBIN="cpp"
6345 else
6346 case $cross_compiling:$ac_tool_warned in
6347 yes:)
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6350 ac_tool_warned=yes ;;
6351 esac
6352 CPPBIN=$ac_ct_CPPBIN
6354 else
6355 CPPBIN="$ac_cv_prog_CPPBIN"
6359 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6361 if test -n "$ac_tool_prefix"; then
6362 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6363 set dummy ${ac_tool_prefix}ld; ac_word=$2
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 printf %s "checking for $ac_word... " >&6; }
6366 if test ${ac_cv_prog_LD+y}
6367 then :
6368 printf %s "(cached) " >&6
6369 else $as_nop
6370 if test -n "$LD"; then
6371 ac_cv_prog_LD="$LD" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6376 IFS=$as_save_IFS
6377 case $as_dir in #(((
6378 '') as_dir=./ ;;
6379 */) ;;
6380 *) as_dir=$as_dir/ ;;
6381 esac
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_LD="${ac_tool_prefix}ld"
6385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6386 break 2
6388 done
6389 done
6390 IFS=$as_save_IFS
6394 LD=$ac_cv_prog_LD
6395 if test -n "$LD"; then
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6397 printf "%s\n" "$LD" >&6; }
6398 else
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 printf "%s\n" "no" >&6; }
6405 if test -z "$ac_cv_prog_LD"; then
6406 ac_ct_LD=$LD
6407 # Extract the first word of "ld", so it can be a program name with args.
6408 set dummy ld; ac_word=$2
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6410 printf %s "checking for $ac_word... " >&6; }
6411 if test ${ac_cv_prog_ac_ct_LD+y}
6412 then :
6413 printf %s "(cached) " >&6
6414 else $as_nop
6415 if test -n "$ac_ct_LD"; then
6416 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 case $as_dir in #(((
6423 '') as_dir=./ ;;
6424 */) ;;
6425 *) as_dir=$as_dir/ ;;
6426 esac
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_ac_ct_LD="ld"
6430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6431 break 2
6433 done
6434 done
6435 IFS=$as_save_IFS
6439 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6440 if test -n "$ac_ct_LD"; then
6441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6442 printf "%s\n" "$ac_ct_LD" >&6; }
6443 else
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 printf "%s\n" "no" >&6; }
6448 if test "x$ac_ct_LD" = x; then
6449 LD=""
6450 else
6451 case $cross_compiling:$ac_tool_warned in
6452 yes:)
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6456 esac
6457 LD=$ac_ct_LD
6459 else
6460 LD="$ac_cv_prog_LD"
6464 case $host in
6465 *-darwin*)
6466 with_fontconfig=${with_fontconfig:-no}
6468 *-mingw32*|*-cygwin*)
6469 enable_win16=${enable_win16:-no}
6470 with_mingw=${with_mingw:-no}
6472 esac
6475 case $host in
6476 x86_64*|amd64*)
6477 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6478 then
6479 CC="$CC -m32"
6480 CXX="$CXX -m32"
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6483 printf %s "checking whether $CC works... " >&6; }
6484 if test ${wine_cv_cc_m32+y}
6485 then :
6486 printf %s "(cached) " >&6
6487 else $as_nop
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6492 main (void)
6496 return 0;
6498 _ACEOF
6499 if ac_fn_c_try_link "$LINENO"
6500 then :
6501 wine_cv_cc_m32=yes
6502 else $as_nop
6503 wine_cv_cc_m32=no
6505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6506 conftest$ac_exeext conftest.$ac_ext
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6509 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6510 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
6511 host_cpu="i386"
6512 notice_platform="32-bit "
6513 TARGETFLAGS="$TARGETFLAGS -m32"
6514 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6515 export PKG_CONFIG_PATH
6516 enable_win16=${enable_win16:-yes}
6517 with_unwind=${with_unwind:-no}
6518 else
6519 if test "x${GCC}" = "xyes"
6520 then
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6522 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6523 if test ${wine_cv_builtin_ms_va_list+y}
6524 then :
6525 printf %s "(cached) " >&6
6526 else $as_nop
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #include <stdarg.h>
6531 main (void)
6533 void func(__builtin_ms_va_list *args);
6535 return 0;
6537 _ACEOF
6538 if ac_fn_c_try_compile "$LINENO"
6539 then :
6540 wine_cv_builtin_ms_va_list=yes
6541 else $as_nop
6542 wine_cv_builtin_ms_va_list=no
6544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6547 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6548 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
6550 CC="$CC -m64"
6551 CXX="$CXX -m64"
6552 host_cpu="x86_64"
6553 notice_platform="64-bit "
6554 TARGETFLAGS="$TARGETFLAGS -m64"
6555 enable_wow64=${enable_wow64:-yes}
6556 enable_wow64win=${enable_wow64win:-yes}
6557 enable_wow64cpu=${enable_wow64cpu:-yes}
6560 arm*)
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6562 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6563 if test ${wine_cv_thumb2+y}
6564 then :
6565 printf %s "(cached) " >&6
6566 else $as_nop
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6571 main (void)
6573 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6575 return 0;
6577 _ACEOF
6578 if ac_fn_c_try_link "$LINENO"
6579 then :
6580 wine_cv_thumb2=yes
6581 else $as_nop
6582 wine_cv_thumb2=no
6584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6585 conftest$ac_exeext conftest.$ac_ext
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6588 printf "%s\n" "$wine_cv_thumb2" >&6; }
6589 if test x"$wine_cv_thumb2" = xyes
6590 then
6591 CFLAGS="$CFLAGS -mthumb"
6592 TARGETFLAGS="$TARGETFLAGS -mthumb"
6593 else
6594 CFLAGS="$CFLAGS -marm"
6595 TARGETFLAGS="$TARGETFLAGS -marm"
6597 case $with_float_abi in
6598 soft|softfp|hard)
6599 float_abi=$with_float_abi ;;
6601 case $host_os in
6602 *eabihf)
6603 float_abi=hard ;;
6605 float_abi=softfp
6606 saved_CFLAGS=$CFLAGS
6607 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6609 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6610 if test ${wine_cv_float_abi+y}
6611 then :
6612 printf %s "(cached) " >&6
6613 else $as_nop
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6618 main (void)
6620 asm("vmrs r2,fpscr");
6622 return 0;
6624 _ACEOF
6625 if ac_fn_c_try_link "$LINENO"
6626 then :
6627 wine_cv_float_abi=yes
6628 else $as_nop
6629 wine_cv_float_abi=no
6631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6632 conftest$ac_exeext conftest.$ac_ext
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6635 printf "%s\n" "$wine_cv_float_abi" >&6; }
6636 if test $wine_cv_float_abi = no
6637 then
6638 float_abi=soft
6639 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6641 CFLAGS=$saved_CFLAGS
6642 esac
6644 esac
6645 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6646 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6648 aarch64*)
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6650 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6651 if test ${wine_cv_builtin_ms_va_list+y}
6652 then :
6653 printf %s "(cached) " >&6
6654 else $as_nop
6655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6657 #include <stdarg.h>
6659 main (void)
6661 void func(__builtin_ms_va_list *args);
6663 return 0;
6665 _ACEOF
6666 if ac_fn_c_try_compile "$LINENO"
6667 then :
6668 wine_cv_builtin_ms_va_list=yes
6669 else $as_nop
6670 wine_cv_builtin_ms_va_list=no
6672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6675 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6676 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6677 enable_wow64=${enable_wow64:-yes}
6678 enable_wow64win=${enable_wow64win:-yes}
6680 i[3456789]86*)
6681 enable_win16=${enable_win16:-yes}
6682 with_unwind=${with_unwind:-no}
6684 esac
6686 enable_win16=${enable_win16:-no}
6687 enable_win64=${enable_win64:-no}
6688 enable_wow64=${enable_wow64:-no}
6689 enable_wow64win=${enable_wow64win:-no}
6690 enable_wow64cpu=${enable_wow64cpu:-no}
6692 enable_winetest=${enable_winetest:-$enable_tests}
6694 if test "x$enable_win64" = "xyes"
6695 then
6696 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6697 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6700 case $build_os in
6701 cygwin*|mingw32*) toolsext=".exe"
6703 *) toolsext=""
6705 esac
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6708 printf %s "checking for the directory containing the Wine tools... " >&6; }
6709 if test ${wine_cv_toolsdir+y}
6710 then :
6711 printf %s "(cached) " >&6
6712 else $as_nop
6713 wine_cv_toolsdir="$with_wine_tools"
6714 if test -z "$with_wine_tools"; then
6715 if test "$cross_compiling" = "yes"; then
6716 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6717 elif test -n "$with_wine64"; then
6718 wine_cv_toolsdir="$with_wine64"
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6723 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6724 if test -z "$wine_cv_toolsdir"; then
6725 wine_makedep=tools/makedep$toolsext
6726 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6727 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6728 enable_tools=${enable_tools:-no}
6729 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6730 else
6731 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6733 toolsdir=$wine_cv_toolsdir
6735 MAKEDEP=$wine_makedep
6737 RUNTESTFLAGS="-q -P wine"
6739 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6742 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6743 then
6744 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6747 for ac_prog in flex
6749 # Extract the first word of "$ac_prog", so it can be a program name with args.
6750 set dummy $ac_prog; ac_word=$2
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 printf %s "checking for $ac_word... " >&6; }
6753 if test ${ac_cv_prog_FLEX+y}
6754 then :
6755 printf %s "(cached) " >&6
6756 else $as_nop
6757 if test -n "$FLEX"; then
6758 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6759 else
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 for as_dir in $PATH
6763 IFS=$as_save_IFS
6764 case $as_dir in #(((
6765 '') as_dir=./ ;;
6766 */) ;;
6767 *) as_dir=$as_dir/ ;;
6768 esac
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_FLEX="$ac_prog"
6772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 FLEX=$ac_cv_prog_FLEX
6782 if test -n "$FLEX"; then
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6784 printf "%s\n" "$FLEX" >&6; }
6785 else
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 printf "%s\n" "no" >&6; }
6791 test -n "$FLEX" && break
6792 done
6793 test -n "$FLEX" || FLEX="none"
6795 if test "$FLEX" = "none"
6796 then
6797 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6800 printf %s "checking whether flex is recent enough... " >&6; }
6801 if test ${wine_cv_recent_flex+y}
6802 then :
6803 printf %s "(cached) " >&6
6804 else $as_nop
6805 cat >conftest.l <<EOF
6806 %top{
6807 #include "prediluvian.h"
6811 if $FLEX -t conftest.l >/dev/null 2>&5
6812 then
6813 wine_cv_recent_flex=yes
6814 else
6815 wine_cv_recent_flex=no
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6819 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6820 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
6822 for ac_prog in bison
6824 # Extract the first word of "$ac_prog", so it can be a program name with args.
6825 set dummy $ac_prog; ac_word=$2
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 printf %s "checking for $ac_word... " >&6; }
6828 if test ${ac_cv_prog_BISON+y}
6829 then :
6830 printf %s "(cached) " >&6
6831 else $as_nop
6832 if test -n "$BISON"; then
6833 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6834 else
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 for as_dir in $PATH
6838 IFS=$as_save_IFS
6839 case $as_dir in #(((
6840 '') as_dir=./ ;;
6841 */) ;;
6842 *) as_dir=$as_dir/ ;;
6843 esac
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_BISON="$ac_prog"
6847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6848 break 2
6850 done
6851 done
6852 IFS=$as_save_IFS
6856 BISON=$ac_cv_prog_BISON
6857 if test -n "$BISON"; then
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6859 printf "%s\n" "$BISON" >&6; }
6860 else
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 printf "%s\n" "no" >&6; }
6866 test -n "$BISON" && break
6867 done
6868 test -n "$BISON" || BISON="none"
6870 if test "$BISON" = "none"
6871 then
6872 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6875 printf %s "checking whether bison is recent enough... " >&6; }
6876 if test ${wine_cv_recent_bison+y}
6877 then :
6878 printf %s "(cached) " >&6
6879 else $as_nop
6880 cat >conftest.y <<EOF
6881 %define parse.error verbose
6883 empty: ;
6885 if $BISON conftest.y >/dev/null 2>&5
6886 then
6887 wine_cv_recent_bison=yes
6888 else
6889 wine_cv_recent_bison=no
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6893 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6894 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
6896 if test -n "$ac_tool_prefix"; then
6897 for ac_prog in ar gar
6899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902 printf %s "checking for $ac_word... " >&6; }
6903 if test ${ac_cv_prog_AR+y}
6904 then :
6905 printf %s "(cached) " >&6
6906 else $as_nop
6907 if test -n "$AR"; then
6908 ac_cv_prog_AR="$AR" # Let the user override the test.
6909 else
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 for as_dir in $PATH
6913 IFS=$as_save_IFS
6914 case $as_dir in #(((
6915 '') as_dir=./ ;;
6916 */) ;;
6917 *) as_dir=$as_dir/ ;;
6918 esac
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6921 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6923 break 2
6925 done
6926 done
6927 IFS=$as_save_IFS
6931 AR=$ac_cv_prog_AR
6932 if test -n "$AR"; then
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6934 printf "%s\n" "$AR" >&6; }
6935 else
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 printf "%s\n" "no" >&6; }
6941 test -n "$AR" && break
6942 done
6944 if test -z "$AR"; then
6945 ac_ct_AR=$AR
6946 for ac_prog in ar gar
6948 # Extract the first word of "$ac_prog", so it can be a program name with args.
6949 set dummy $ac_prog; ac_word=$2
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 printf %s "checking for $ac_word... " >&6; }
6952 if test ${ac_cv_prog_ac_ct_AR+y}
6953 then :
6954 printf %s "(cached) " >&6
6955 else $as_nop
6956 if test -n "$ac_ct_AR"; then
6957 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6958 else
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 for as_dir in $PATH
6962 IFS=$as_save_IFS
6963 case $as_dir in #(((
6964 '') as_dir=./ ;;
6965 */) ;;
6966 *) as_dir=$as_dir/ ;;
6967 esac
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_ac_ct_AR="$ac_prog"
6971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6972 break 2
6974 done
6975 done
6976 IFS=$as_save_IFS
6980 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6981 if test -n "$ac_ct_AR"; then
6982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6983 printf "%s\n" "$ac_ct_AR" >&6; }
6984 else
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 printf "%s\n" "no" >&6; }
6990 test -n "$ac_ct_AR" && break
6991 done
6993 if test "x$ac_ct_AR" = x; then
6994 AR="ar"
6995 else
6996 case $cross_compiling:$ac_tool_warned in
6997 yes:)
6998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7000 ac_tool_warned=yes ;;
7001 esac
7002 AR=$ac_ct_AR
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}strip; ac_word=$2
7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 printf %s "checking for $ac_word... " >&6; }
7011 if test ${ac_cv_prog_STRIP+y}
7012 then :
7013 printf %s "(cached) " >&6
7014 else $as_nop
7015 if test -n "$STRIP"; then
7016 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7017 else
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 for as_dir in $PATH
7021 IFS=$as_save_IFS
7022 case $as_dir in #(((
7023 '') as_dir=./ ;;
7024 */) ;;
7025 *) as_dir=$as_dir/ ;;
7026 esac
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7031 break 2
7033 done
7034 done
7035 IFS=$as_save_IFS
7039 STRIP=$ac_cv_prog_STRIP
7040 if test -n "$STRIP"; then
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7042 printf "%s\n" "$STRIP" >&6; }
7043 else
7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 printf "%s\n" "no" >&6; }
7050 if test -z "$ac_cv_prog_STRIP"; then
7051 ac_ct_STRIP=$STRIP
7052 # Extract the first word of "strip", so it can be a program name with args.
7053 set dummy strip; ac_word=$2
7054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 printf %s "checking for $ac_word... " >&6; }
7056 if test ${ac_cv_prog_ac_ct_STRIP+y}
7057 then :
7058 printf %s "(cached) " >&6
7059 else $as_nop
7060 if test -n "$ac_ct_STRIP"; then
7061 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7062 else
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 for as_dir in $PATH
7066 IFS=$as_save_IFS
7067 case $as_dir in #(((
7068 '') as_dir=./ ;;
7069 */) ;;
7070 *) as_dir=$as_dir/ ;;
7071 esac
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7074 ac_cv_prog_ac_ct_STRIP="strip"
7075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7076 break 2
7078 done
7079 done
7080 IFS=$as_save_IFS
7084 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7085 if test -n "$ac_ct_STRIP"; then
7086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7087 printf "%s\n" "$ac_ct_STRIP" >&6; }
7088 else
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090 printf "%s\n" "no" >&6; }
7093 if test "x$ac_ct_STRIP" = x; then
7094 STRIP="strip"
7095 else
7096 case $cross_compiling:$ac_tool_warned in
7097 yes:)
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7100 ac_tool_warned=yes ;;
7101 esac
7102 STRIP=$ac_ct_STRIP
7104 else
7105 STRIP="$ac_cv_prog_STRIP"
7108 if test -n "$ac_tool_prefix"; then
7109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7110 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112 printf %s "checking for $ac_word... " >&6; }
7113 if test ${ac_cv_prog_RANLIB+y}
7114 then :
7115 printf %s "(cached) " >&6
7116 else $as_nop
7117 if test -n "$RANLIB"; then
7118 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7119 else
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 for as_dir in $PATH
7123 IFS=$as_save_IFS
7124 case $as_dir in #(((
7125 '') as_dir=./ ;;
7126 */) ;;
7127 *) as_dir=$as_dir/ ;;
7128 esac
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7131 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7133 break 2
7135 done
7136 done
7137 IFS=$as_save_IFS
7141 RANLIB=$ac_cv_prog_RANLIB
7142 if test -n "$RANLIB"; then
7143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7144 printf "%s\n" "$RANLIB" >&6; }
7145 else
7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 printf "%s\n" "no" >&6; }
7152 if test -z "$ac_cv_prog_RANLIB"; then
7153 ac_ct_RANLIB=$RANLIB
7154 # Extract the first word of "ranlib", so it can be a program name with args.
7155 set dummy ranlib; ac_word=$2
7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 printf %s "checking for $ac_word... " >&6; }
7158 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7159 then :
7160 printf %s "(cached) " >&6
7161 else $as_nop
7162 if test -n "$ac_ct_RANLIB"; then
7163 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7164 else
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 for as_dir in $PATH
7168 IFS=$as_save_IFS
7169 case $as_dir in #(((
7170 '') as_dir=./ ;;
7171 */) ;;
7172 *) as_dir=$as_dir/ ;;
7173 esac
7174 for ac_exec_ext in '' $ac_executable_extensions; do
7175 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7176 ac_cv_prog_ac_ct_RANLIB="ranlib"
7177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7178 break 2
7180 done
7181 done
7182 IFS=$as_save_IFS
7186 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7187 if test -n "$ac_ct_RANLIB"; then
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7189 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7190 else
7191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 printf "%s\n" "no" >&6; }
7195 if test "x$ac_ct_RANLIB" = x; then
7196 RANLIB=":"
7197 else
7198 case $cross_compiling:$ac_tool_warned in
7199 yes:)
7200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7201 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7202 ac_tool_warned=yes ;;
7203 esac
7204 RANLIB=$ac_ct_RANLIB
7206 else
7207 RANLIB="$ac_cv_prog_RANLIB"
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7211 printf %s "checking whether ln -s works... " >&6; }
7212 LN_S=$as_ln_s
7213 if test "$LN_S" = "ln -s"; then
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7215 printf "%s\n" "yes" >&6; }
7216 else
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7218 printf "%s\n" "no, using $LN_S" >&6; }
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7222 printf %s "checking for grep that handles long lines and -e... " >&6; }
7223 if test ${ac_cv_path_GREP+y}
7224 then :
7225 printf %s "(cached) " >&6
7226 else $as_nop
7227 if test -z "$GREP"; then
7228 ac_path_GREP_found=false
7229 # Loop through the user's path and test for each of PROGNAME-LIST
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7233 IFS=$as_save_IFS
7234 case $as_dir in #(((
7235 '') as_dir=./ ;;
7236 */) ;;
7237 *) as_dir=$as_dir/ ;;
7238 esac
7239 for ac_prog in grep ggrep
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7243 as_fn_executable_p "$ac_path_GREP" || continue
7244 # Check for GNU ac_path_GREP and select it if it is found.
7245 # Check for GNU $ac_path_GREP
7246 case `"$ac_path_GREP" --version 2>&1` in
7247 *GNU*)
7248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7250 ac_count=0
7251 printf %s 0123456789 >"conftest.in"
7252 while :
7254 cat "conftest.in" "conftest.in" >"conftest.tmp"
7255 mv "conftest.tmp" "conftest.in"
7256 cp "conftest.in" "conftest.nl"
7257 printf "%s\n" 'GREP' >> "conftest.nl"
7258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7260 as_fn_arith $ac_count + 1 && ac_count=$as_val
7261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7262 # Best one so far, save it but keep looking for a better one
7263 ac_cv_path_GREP="$ac_path_GREP"
7264 ac_path_GREP_max=$ac_count
7266 # 10*(2^10) chars as input seems more than enough
7267 test $ac_count -gt 10 && break
7268 done
7269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7270 esac
7272 $ac_path_GREP_found && break 3
7273 done
7274 done
7275 done
7276 IFS=$as_save_IFS
7277 if test -z "$ac_cv_path_GREP"; then
7278 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7280 else
7281 ac_cv_path_GREP=$GREP
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7286 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7287 GREP="$ac_cv_path_GREP"
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7291 printf %s "checking for egrep... " >&6; }
7292 if test ${ac_cv_path_EGREP+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7297 then ac_cv_path_EGREP="$GREP -E"
7298 else
7299 if test -z "$EGREP"; then
7300 ac_path_EGREP_found=false
7301 # Loop through the user's path and test for each of PROGNAME-LIST
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7305 IFS=$as_save_IFS
7306 case $as_dir in #(((
7307 '') as_dir=./ ;;
7308 */) ;;
7309 *) as_dir=$as_dir/ ;;
7310 esac
7311 for ac_prog in egrep
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7315 as_fn_executable_p "$ac_path_EGREP" || continue
7316 # Check for GNU ac_path_EGREP and select it if it is found.
7317 # Check for GNU $ac_path_EGREP
7318 case `"$ac_path_EGREP" --version 2>&1` in
7319 *GNU*)
7320 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7322 ac_count=0
7323 printf %s 0123456789 >"conftest.in"
7324 while :
7326 cat "conftest.in" "conftest.in" >"conftest.tmp"
7327 mv "conftest.tmp" "conftest.in"
7328 cp "conftest.in" "conftest.nl"
7329 printf "%s\n" 'EGREP' >> "conftest.nl"
7330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7332 as_fn_arith $ac_count + 1 && ac_count=$as_val
7333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7334 # Best one so far, save it but keep looking for a better one
7335 ac_cv_path_EGREP="$ac_path_EGREP"
7336 ac_path_EGREP_max=$ac_count
7338 # 10*(2^10) chars as input seems more than enough
7339 test $ac_count -gt 10 && break
7340 done
7341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7342 esac
7344 $ac_path_EGREP_found && break 3
7345 done
7346 done
7347 done
7348 IFS=$as_save_IFS
7349 if test -z "$ac_cv_path_EGREP"; then
7350 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7352 else
7353 ac_cv_path_EGREP=$EGREP
7358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7359 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7360 EGREP="$ac_cv_path_EGREP"
7363 # Extract the first word of "ldconfig", so it can be a program name with args.
7364 set dummy ldconfig; ac_word=$2
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 printf %s "checking for $ac_word... " >&6; }
7367 if test ${ac_cv_path_LDCONFIG+y}
7368 then :
7369 printf %s "(cached) " >&6
7370 else $as_nop
7371 case $LDCONFIG in
7372 [\\/]* | ?:[\\/]*)
7373 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 for as_dir in /sbin /usr/sbin $PATH
7379 IFS=$as_save_IFS
7380 case $as_dir in #(((
7381 '') as_dir=./ ;;
7382 */) ;;
7383 *) as_dir=$as_dir/ ;;
7384 esac
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7387 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7389 break 2
7391 done
7392 done
7393 IFS=$as_save_IFS
7395 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7397 esac
7399 LDCONFIG=$ac_cv_path_LDCONFIG
7400 if test -n "$LDCONFIG"; then
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7402 printf "%s\n" "$LDCONFIG" >&6; }
7403 else
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 printf "%s\n" "no" >&6; }
7409 for ac_prog in msgfmt
7411 # Extract the first word of "$ac_prog", so it can be a program name with args.
7412 set dummy $ac_prog; ac_word=$2
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 printf %s "checking for $ac_word... " >&6; }
7415 if test ${ac_cv_prog_MSGFMT+y}
7416 then :
7417 printf %s "(cached) " >&6
7418 else $as_nop
7419 if test -n "$MSGFMT"; then
7420 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7425 IFS=$as_save_IFS
7426 case $as_dir in #(((
7427 '') as_dir=./ ;;
7428 */) ;;
7429 *) as_dir=$as_dir/ ;;
7430 esac
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7433 ac_cv_prog_MSGFMT="$ac_prog"
7434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7435 break 2
7437 done
7438 done
7439 IFS=$as_save_IFS
7443 MSGFMT=$ac_cv_prog_MSGFMT
7444 if test -n "$MSGFMT"; then
7445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7446 printf "%s\n" "$MSGFMT" >&6; }
7447 else
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 printf "%s\n" "no" >&6; }
7453 test -n "$MSGFMT" && break
7454 done
7455 test -n "$MSGFMT" || MSGFMT="false"
7457 if test ${ac_tool_prefix+y}
7458 then :
7459 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7460 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 printf %s "checking for $ac_word... " >&6; }
7463 if test ${ac_cv_prog_PKG_CONFIG+y}
7464 then :
7465 printf %s "(cached) " >&6
7466 else $as_nop
7467 if test -n "$PKG_CONFIG"; then
7468 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7469 else
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 for as_dir in $PATH
7473 IFS=$as_save_IFS
7474 case $as_dir in #(((
7475 '') as_dir=./ ;;
7476 */) ;;
7477 *) as_dir=$as_dir/ ;;
7478 esac
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7481 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7483 break 2
7485 done
7486 done
7487 IFS=$as_save_IFS
7491 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7492 if test -n "$PKG_CONFIG"; then
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7494 printf "%s\n" "$PKG_CONFIG" >&6; }
7495 else
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 printf "%s\n" "no" >&6; }
7502 if ${ac_cv_prog_PKG_CONFIG:+false} :
7503 then :
7504 if test "x$cross_compiling" = xyes
7505 then :
7507 else $as_nop
7508 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7509 # Extract the first word of "pkg-config", so it can be a program name with args.
7510 set dummy pkg-config; ac_word=$2
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512 printf %s "checking for $ac_word... " >&6; }
7513 if test ${ac_cv_prog_PKG_CONFIG+y}
7514 then :
7515 printf %s "(cached) " >&6
7516 else $as_nop
7517 if test -n "$PKG_CONFIG"; then
7518 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7519 else
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 for as_dir in $PATH
7523 IFS=$as_save_IFS
7524 case $as_dir in #(((
7525 '') as_dir=./ ;;
7526 */) ;;
7527 *) as_dir=$as_dir/ ;;
7528 esac
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_PKG_CONFIG="pkg-config"
7532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7533 break 2
7535 done
7536 done
7537 IFS=$as_save_IFS
7541 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7542 if test -n "$PKG_CONFIG"; then
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7544 printf "%s\n" "$PKG_CONFIG" >&6; }
7545 else
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 printf "%s\n" "no" >&6; }
7552 else $as_nop
7553 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7556 if test "x$enable_maintainer_mode" != "xyes"
7557 then
7558 FONTFORGE=""
7559 RSVG=""
7560 CONVERT=""
7561 ICOTOOL=""
7562 else
7563 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7564 for ac_prog in fontforge
7566 # Extract the first word of "$ac_prog", so it can be a program name with args.
7567 set dummy $ac_prog; ac_word=$2
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 printf %s "checking for $ac_word... " >&6; }
7570 if test ${ac_cv_prog_FONTFORGE+y}
7571 then :
7572 printf %s "(cached) " >&6
7573 else $as_nop
7574 if test -n "$FONTFORGE"; then
7575 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7576 else
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578 for as_dir in $PATH
7580 IFS=$as_save_IFS
7581 case $as_dir in #(((
7582 '') as_dir=./ ;;
7583 */) ;;
7584 *) as_dir=$as_dir/ ;;
7585 esac
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_FONTFORGE="$ac_prog"
7589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 FONTFORGE=$ac_cv_prog_FONTFORGE
7599 if test -n "$FONTFORGE"; then
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7601 printf "%s\n" "$FONTFORGE" >&6; }
7602 else
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 printf "%s\n" "no" >&6; }
7608 test -n "$FONTFORGE" && break
7609 done
7610 test -n "$FONTFORGE" || FONTFORGE="false"
7612 for ac_prog in rsvg-convert rsvg
7614 # Extract the first word of "$ac_prog", so it can be a program name with args.
7615 set dummy $ac_prog; ac_word=$2
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 printf %s "checking for $ac_word... " >&6; }
7618 if test ${ac_cv_prog_RSVG+y}
7619 then :
7620 printf %s "(cached) " >&6
7621 else $as_nop
7622 if test -n "$RSVG"; then
7623 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7628 IFS=$as_save_IFS
7629 case $as_dir in #(((
7630 '') as_dir=./ ;;
7631 */) ;;
7632 *) as_dir=$as_dir/ ;;
7633 esac
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_RSVG="$ac_prog"
7637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7638 break 2
7640 done
7641 done
7642 IFS=$as_save_IFS
7646 RSVG=$ac_cv_prog_RSVG
7647 if test -n "$RSVG"; then
7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7649 printf "%s\n" "$RSVG" >&6; }
7650 else
7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 printf "%s\n" "no" >&6; }
7656 test -n "$RSVG" && break
7657 done
7658 test -n "$RSVG" || RSVG="false"
7660 for ac_prog in convert
7662 # Extract the first word of "$ac_prog", so it can be a program name with args.
7663 set dummy $ac_prog; ac_word=$2
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 printf %s "checking for $ac_word... " >&6; }
7666 if test ${ac_cv_prog_CONVERT+y}
7667 then :
7668 printf %s "(cached) " >&6
7669 else $as_nop
7670 if test -n "$CONVERT"; then
7671 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 case $as_dir in #(((
7678 '') as_dir=./ ;;
7679 */) ;;
7680 *) as_dir=$as_dir/ ;;
7681 esac
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7684 ac_cv_prog_CONVERT="$ac_prog"
7685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7686 break 2
7688 done
7689 done
7690 IFS=$as_save_IFS
7694 CONVERT=$ac_cv_prog_CONVERT
7695 if test -n "$CONVERT"; then
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7697 printf "%s\n" "$CONVERT" >&6; }
7698 else
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7700 printf "%s\n" "no" >&6; }
7704 test -n "$CONVERT" && break
7705 done
7706 test -n "$CONVERT" || CONVERT="false"
7708 for ac_prog in icotool
7710 # Extract the first word of "$ac_prog", so it can be a program name with args.
7711 set dummy $ac_prog; ac_word=$2
7712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 printf %s "checking for $ac_word... " >&6; }
7714 if test ${ac_cv_prog_ICOTOOL+y}
7715 then :
7716 printf %s "(cached) " >&6
7717 else $as_nop
7718 if test -n "$ICOTOOL"; then
7719 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7720 else
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722 for as_dir in $PATH
7724 IFS=$as_save_IFS
7725 case $as_dir in #(((
7726 '') as_dir=./ ;;
7727 */) ;;
7728 *) as_dir=$as_dir/ ;;
7729 esac
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_ICOTOOL="$ac_prog"
7733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7742 ICOTOOL=$ac_cv_prog_ICOTOOL
7743 if test -n "$ICOTOOL"; then
7744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7745 printf "%s\n" "$ICOTOOL" >&6; }
7746 else
7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 printf "%s\n" "no" >&6; }
7752 test -n "$ICOTOOL" && break
7753 done
7754 test -n "$ICOTOOL" || ICOTOOL="false"
7756 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7757 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7759 if test "$CONVERT" = false
7760 then
7761 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7762 else
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7764 printf %s "checking for recent enough imagemagick... " >&6; }
7765 convert_version=`convert --version | head -n1`
7766 if test "x$convert_version" != "x"
7767 then
7768 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7769 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7770 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7771 then
7772 CONVERT=false
7775 if test "$CONVERT" = false
7776 then
7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7778 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7779 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7780 else
7781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7782 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7786 if test "$ICOTOOL" = false
7787 then
7788 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7789 else
7790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7791 printf %s "checking for recent enough icotool... " >&6; }
7792 icotool_version=`icotool --version | head -n1`
7793 if test "x$icotool_version" != "x"
7794 then
7795 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7796 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7797 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7798 then
7799 ICOTOOL=false
7800 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7803 if test "$ICOTOOL" = false
7804 then
7805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7806 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7807 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7808 else
7809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7810 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7814 with_gettext=yes
7815 with_gettextpo=yes
7817 enable_werror=yes
7820 test "x$with_gettext" != xno || MSGFMT=false
7821 if test "$MSGFMT" != "false"
7822 then
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7824 printf %s "checking whether msgfmt supports contexts... " >&6; }
7825 if test ${wine_cv_msgfmt_contexts+y}
7826 then :
7827 printf %s "(cached) " >&6
7828 else $as_nop
7829 cat >conftest.po <<EOF
7830 # comment
7831 msgctxt "ctxt"
7832 msgid "id"
7833 msgstr "str"
7835 if $MSGFMT -o /dev/null conftest.po 2>&5
7836 then
7837 wine_cv_msgfmt_contexts=yes
7838 else
7839 wine_cv_msgfmt_contexts=no
7842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7843 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7844 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7846 if test "$MSGFMT" = false
7847 then :
7848 case "x$with_gettext" in
7849 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7850 xno) ;;
7851 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7852 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7853 esac
7854 enable_po=${enable_po:-no}
7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7859 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7860 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7861 then :
7862 printf %s "(cached) " >&6
7863 else $as_nop
7864 ac_check_lib_save_LIBS=$LIBS
7865 LIBS="-li386 $LIBS"
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7869 /* Override any GCC internal prototype to avoid an error.
7870 Use char because int might match the return type of a GCC
7871 builtin and then its argument prototype would still apply. */
7872 char i386_set_ldt ();
7874 main (void)
7876 return i386_set_ldt ();
7878 return 0;
7880 _ACEOF
7881 if ac_fn_c_try_link "$LINENO"
7882 then :
7883 ac_cv_lib_i386_i386_set_ldt=yes
7884 else $as_nop
7885 ac_cv_lib_i386_i386_set_ldt=no
7887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7888 conftest$ac_exeext conftest.$ac_ext
7889 LIBS=$ac_check_lib_save_LIBS
7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7892 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7893 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7894 then :
7895 I386_LIBS="-li386"
7900 OPENGL_LIBS=""
7904 # Check whether --enable-largefile was given.
7905 if test ${enable_largefile+y}
7906 then :
7907 enableval=$enable_largefile;
7910 if test "$enable_largefile" != no; then
7912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7913 printf %s "checking for special C compiler options needed for large files... " >&6; }
7914 if test ${ac_cv_sys_largefile_CC+y}
7915 then :
7916 printf %s "(cached) " >&6
7917 else $as_nop
7918 ac_cv_sys_largefile_CC=no
7919 if test "$GCC" != yes; then
7920 ac_save_CC=$CC
7921 while :; do
7922 # IRIX 6.2 and later do not support large files by default,
7923 # so use the C compiler's -n32 option if that helps.
7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7926 #include <sys/types.h>
7927 /* Check that off_t can represent 2**63 - 1 correctly.
7928 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7929 since some C++ compilers masquerading as C compilers
7930 incorrectly reject 9223372036854775807. */
7931 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7932 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7933 && LARGE_OFF_T % 2147483647 == 1)
7934 ? 1 : -1];
7936 main (void)
7940 return 0;
7942 _ACEOF
7943 if ac_fn_c_try_compile "$LINENO"
7944 then :
7945 break
7947 rm -f core conftest.err conftest.$ac_objext conftest.beam
7948 CC="$CC -n32"
7949 if ac_fn_c_try_compile "$LINENO"
7950 then :
7951 ac_cv_sys_largefile_CC=' -n32'; break
7953 rm -f core conftest.err conftest.$ac_objext conftest.beam
7954 break
7955 done
7956 CC=$ac_save_CC
7957 rm -f conftest.$ac_ext
7960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7961 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7962 if test "$ac_cv_sys_largefile_CC" != no; then
7963 CC=$CC$ac_cv_sys_largefile_CC
7966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7967 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7968 if test ${ac_cv_sys_file_offset_bits+y}
7969 then :
7970 printf %s "(cached) " >&6
7971 else $as_nop
7972 while :; do
7973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 #include <sys/types.h>
7976 /* Check that off_t can represent 2**63 - 1 correctly.
7977 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7978 since some C++ compilers masquerading as C compilers
7979 incorrectly reject 9223372036854775807. */
7980 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7982 && LARGE_OFF_T % 2147483647 == 1)
7983 ? 1 : -1];
7985 main (void)
7989 return 0;
7991 _ACEOF
7992 if ac_fn_c_try_compile "$LINENO"
7993 then :
7994 ac_cv_sys_file_offset_bits=no; break
7996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998 /* end confdefs.h. */
7999 #define _FILE_OFFSET_BITS 64
8000 #include <sys/types.h>
8001 /* Check that off_t can represent 2**63 - 1 correctly.
8002 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8003 since some C++ compilers masquerading as C compilers
8004 incorrectly reject 9223372036854775807. */
8005 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8006 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8007 && LARGE_OFF_T % 2147483647 == 1)
8008 ? 1 : -1];
8010 main (void)
8014 return 0;
8016 _ACEOF
8017 if ac_fn_c_try_compile "$LINENO"
8018 then :
8019 ac_cv_sys_file_offset_bits=64; break
8021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8022 ac_cv_sys_file_offset_bits=unknown
8023 break
8024 done
8026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8027 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8028 case $ac_cv_sys_file_offset_bits in #(
8029 no | unknown) ;;
8031 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8033 esac
8034 rm -rf conftest*
8035 if test $ac_cv_sys_file_offset_bits = unknown; then
8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8037 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8038 if test ${ac_cv_sys_large_files+y}
8039 then :
8040 printf %s "(cached) " >&6
8041 else $as_nop
8042 while :; do
8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8045 #include <sys/types.h>
8046 /* Check that off_t can represent 2**63 - 1 correctly.
8047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8048 since some C++ compilers masquerading as C compilers
8049 incorrectly reject 9223372036854775807. */
8050 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8052 && LARGE_OFF_T % 2147483647 == 1)
8053 ? 1 : -1];
8055 main (void)
8059 return 0;
8061 _ACEOF
8062 if ac_fn_c_try_compile "$LINENO"
8063 then :
8064 ac_cv_sys_large_files=no; break
8066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8068 /* end confdefs.h. */
8069 #define _LARGE_FILES 1
8070 #include <sys/types.h>
8071 /* Check that off_t can represent 2**63 - 1 correctly.
8072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8073 since some C++ compilers masquerading as C compilers
8074 incorrectly reject 9223372036854775807. */
8075 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8077 && LARGE_OFF_T % 2147483647 == 1)
8078 ? 1 : -1];
8080 main (void)
8084 return 0;
8086 _ACEOF
8087 if ac_fn_c_try_compile "$LINENO"
8088 then :
8089 ac_cv_sys_large_files=1; break
8091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8092 ac_cv_sys_large_files=unknown
8093 break
8094 done
8096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8097 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8098 case $ac_cv_sys_large_files in #(
8099 no | unknown) ;;
8101 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8103 esac
8104 rm -rf conftest*
8109 ac_header= ac_cache=
8110 for ac_item in $ac_header_c_list
8112 if test $ac_cache; then
8113 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8114 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8115 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8117 ac_header= ac_cache=
8118 elif test $ac_header; then
8119 ac_cache=$ac_item
8120 else
8121 ac_header=$ac_item
8123 done
8132 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8133 then :
8135 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_AL_al_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_CL_cl_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_EGL_egl_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_Security_Security_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_arpa_inet_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_asm_types_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_asm_user_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_elf_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_float_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_gettext_po_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_ieeefp_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_libproc_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_link_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_linux_filter_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_linux_input_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_linux_major_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_linux_param_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_linux_serial_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_linux_types_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_lwp_h" = xyes
8350 then :
8351 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8356 then :
8357 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_mach_mach_h" = xyes
8362 then :
8363 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_machine_cpu_h" = xyes
8368 then :
8369 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8372 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8373 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8374 then :
8375 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8378 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8379 if test "x$ac_cv_header_mntent_h" = xyes
8380 then :
8381 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8384 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8385 if test "x$ac_cv_header_netdb_h" = xyes
8386 then :
8387 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8390 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8391 if test "x$ac_cv_header_netinet_in_h" = xyes
8392 then :
8393 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8396 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8397 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8398 then :
8399 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8402 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8403 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8404 then :
8405 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8408 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8409 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8410 then :
8411 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8414 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8415 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8421 if test "x$ac_cv_header_port_h" = xyes
8422 then :
8423 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8426 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8427 if test "x$ac_cv_header_pthread_h" = xyes
8428 then :
8429 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8433 if test "x$ac_cv_header_pwd_h" = xyes
8434 then :
8435 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8438 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8439 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8445 if test "x$ac_cv_header_sched_h" = xyes
8446 then :
8447 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8450 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8451 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8452 then :
8453 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8456 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8457 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8458 then :
8459 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8462 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8463 if test "x$ac_cv_header_scsi_sg_h" = xyes
8464 then :
8465 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8468 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8469 if test "x$ac_cv_header_stdint_h" = xyes
8470 then :
8471 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8474 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8475 if test "x$ac_cv_header_sys_attr_h" = xyes
8476 then :
8477 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8480 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8481 if test "x$ac_cv_header_sys_auxv_h" = xyes
8482 then :
8483 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8486 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8487 if test "x$ac_cv_header_sys_cdio_h" = xyes
8488 then :
8489 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8492 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8493 if test "x$ac_cv_header_sys_epoll_h" = xyes
8494 then :
8495 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8498 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8499 if test "x$ac_cv_header_sys_event_h" = xyes
8500 then :
8501 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8505 if test "x$ac_cv_header_sys_filio_h" = xyes
8506 then :
8507 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8511 if test "x$ac_cv_header_sys_ipc_h" = xyes
8512 then :
8513 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8516 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8517 if test "x$ac_cv_header_sys_link_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8523 if test "x$ac_cv_header_sys_modem_h" = xyes
8524 then :
8525 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8528 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8529 if test "x$ac_cv_header_sys_mtio_h" = xyes
8530 then :
8531 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8534 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8535 if test "x$ac_cv_header_sys_param_h" = xyes
8536 then :
8537 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8540 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8541 if test "x$ac_cv_header_sys_prctl_h" = xyes
8542 then :
8543 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8546 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8547 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8548 then :
8549 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8552 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8553 if test "x$ac_cv_header_sys_queue_h" = xyes
8554 then :
8555 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8558 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8559 if test "x$ac_cv_header_sys_random_h" = xyes
8560 then :
8561 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8564 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8565 if test "x$ac_cv_header_sys_resource_h" = xyes
8566 then :
8567 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8570 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8571 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8572 then :
8573 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8577 if test "x$ac_cv_header_sys_shm_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8583 if test "x$ac_cv_header_sys_signal_h" = xyes
8584 then :
8585 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8589 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8590 then :
8591 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8594 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8595 if test "x$ac_cv_header_sys_sockio_h" = xyes
8596 then :
8597 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8601 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8602 then :
8603 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8606 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8607 if test "x$ac_cv_header_sys_strtio_h" = xyes
8608 then :
8609 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8612 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8613 if test "x$ac_cv_header_sys_syscall_h" = xyes
8614 then :
8615 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8618 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8619 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8620 then :
8621 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8624 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8625 if test "x$ac_cv_header_sys_times_h" = xyes
8626 then :
8627 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8630 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8631 if test "x$ac_cv_header_sys_uio_h" = xyes
8632 then :
8633 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8636 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8637 if test "x$ac_cv_header_sys_user_h" = xyes
8638 then :
8639 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8642 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8643 if test "x$ac_cv_header_sys_utsname_h" = xyes
8644 then :
8645 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8648 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8649 if test "x$ac_cv_header_sys_vnode_h" = xyes
8650 then :
8651 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8655 if test "x$ac_cv_header_syscall_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8661 if test "x$ac_cv_header_utime_h" = xyes
8662 then :
8663 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8667 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8668 then :
8669 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8672 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8673 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8674 then :
8675 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8679 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8680 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8681 then :
8683 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8687 if test $ac_cv_header_sys_mkdev_h = no; then
8688 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8689 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8690 then :
8692 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8698 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8699 if test ${ac_cv_header_stat_broken+y}
8700 then :
8701 printf %s "(cached) " >&6
8702 else $as_nop
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 #include <sys/types.h>
8706 #include <sys/stat.h>
8708 #if defined S_ISBLK && defined S_IFDIR
8709 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8710 #endif
8712 #if defined S_ISBLK && defined S_IFCHR
8713 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8714 #endif
8716 #if defined S_ISLNK && defined S_IFREG
8717 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8718 #endif
8720 #if defined S_ISSOCK && defined S_IFREG
8721 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8722 #endif
8724 _ACEOF
8725 if ac_fn_c_try_compile "$LINENO"
8726 then :
8727 ac_cv_header_stat_broken=no
8728 else $as_nop
8729 ac_cv_header_stat_broken=yes
8731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8734 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8735 if test $ac_cv_header_stat_broken = yes; then
8737 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8743 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8744 #ifdef HAVE_SYS_PARAM_H
8745 # include <sys/param.h>
8746 #endif
8748 if test "x$ac_cv_header_sys_conf_h" = xyes
8749 then :
8750 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8754 #ifdef HAVE_SYS_PARAM_H
8755 # include <sys/param.h>
8756 #endif
8758 if test "x$ac_cv_header_sys_mount_h" = xyes
8759 then :
8760 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8763 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8764 #ifdef HAVE_SYS_PARAM_H
8765 # include <sys/param.h>
8766 #endif
8768 if test "x$ac_cv_header_sys_statfs_h" = xyes
8769 then :
8770 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8773 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8774 #ifdef HAVE_SYS_PARAM_H
8775 # include <sys/param.h>
8776 #endif
8778 if test "x$ac_cv_header_sys_user_h" = xyes
8779 then :
8780 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8783 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8784 #ifdef HAVE_SYS_PARAM_H
8785 # include <sys/param.h>
8786 #endif
8788 if test "x$ac_cv_header_sys_vfs_h" = xyes
8789 then :
8790 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8795 saved_sysctl_h_CFLAGS=$CFLAGS
8796 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8797 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8798 #ifdef HAVE_SYS_PARAM_H
8799 # include <sys/param.h>
8800 #endif
8802 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8803 then :
8804 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8808 CFLAGS=$saved_sysctl_h_CFLAGS
8810 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8814 #endif
8815 #ifdef HAVE_NET_ROUTE_H
8816 # include <net/route.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_H
8819 # include <netinet/in.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_SYSTM_H
8822 # include <netinet/in_systm.h>
8823 #endif
8824 #ifdef HAVE_NET_IF_H
8825 # include <net/if.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8829 #endif
8831 if test "x$ac_cv_header_netinet_ip_h" = xyes
8832 then :
8833 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NET_ROUTE_H
8842 # include <net/route.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8849 #endif
8850 #ifdef HAVE_NET_IF_H
8851 # include <net/if.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8855 #endif
8857 if test "x$ac_cv_header_net_if_h" = xyes
8858 then :
8859 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8862 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8863 #include <sys/socket.h>
8864 #ifdef HAVE_SYS_SOCKETVAR_H
8865 # include <sys/socketvar.h>
8866 #endif
8867 #ifdef HAVE_NET_ROUTE_H
8868 # include <net/route.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IN_H
8871 # include <netinet/in.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_SYSTM_H
8874 # include <netinet/in_systm.h>
8875 #endif
8876 #ifdef HAVE_NET_IF_H
8877 # include <net/if.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8881 #endif
8883 if test "x$ac_cv_header_net_if_arp_h" = xyes
8884 then :
8885 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8888 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8889 #include <sys/socket.h>
8890 #ifdef HAVE_SYS_SOCKETVAR_H
8891 # include <sys/socketvar.h>
8892 #endif
8893 #ifdef HAVE_NET_ROUTE_H
8894 # include <net/route.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_H
8897 # include <netinet/in.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IN_SYSTM_H
8900 # include <netinet/in_systm.h>
8901 #endif
8902 #ifdef HAVE_NET_IF_H
8903 # include <net/if.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_H
8906 # include <netinet/ip.h>
8907 #endif
8909 if test "x$ac_cv_header_net_if_dl_h" = xyes
8910 then :
8911 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_SYS_SOCKETVAR_H
8917 # include <sys/socketvar.h>
8918 #endif
8919 #ifdef HAVE_NET_ROUTE_H
8920 # include <net/route.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IN_H
8923 # include <netinet/in.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_SYSTM_H
8926 # include <netinet/in_systm.h>
8927 #endif
8928 #ifdef HAVE_NET_IF_H
8929 # include <net/if.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_H
8932 # include <netinet/ip.h>
8933 #endif
8935 if test "x$ac_cv_header_net_if_types_h" = xyes
8936 then :
8937 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_SYS_SOCKETVAR_H
8943 # include <sys/socketvar.h>
8944 #endif
8945 #ifdef HAVE_NET_ROUTE_H
8946 # include <net/route.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IN_H
8949 # include <netinet/in.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IN_SYSTM_H
8952 # include <netinet/in_systm.h>
8953 #endif
8954 #ifdef HAVE_NET_IF_H
8955 # include <net/if.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_H
8958 # include <netinet/ip.h>
8959 #endif
8961 if test "x$ac_cv_header_net_route_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_SYS_SOCKETVAR_H
8969 # include <sys/socketvar.h>
8970 #endif
8971 #ifdef HAVE_NET_ROUTE_H
8972 # include <net/route.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IN_H
8975 # include <netinet/in.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IN_SYSTM_H
8978 # include <netinet/in_systm.h>
8979 #endif
8980 #ifdef HAVE_NET_IF_H
8981 # include <net/if.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IP_H
8984 # include <netinet/ip.h>
8985 #endif
8987 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8988 then :
8989 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8993 #include <sys/socket.h>
8994 #ifdef HAVE_SYS_SOCKETVAR_H
8995 # include <sys/socketvar.h>
8996 #endif
8997 #ifdef HAVE_NET_ROUTE_H
8998 # include <net/route.h>
8999 #endif
9000 #ifdef HAVE_NETINET_IN_H
9001 # include <netinet/in.h>
9002 #endif
9003 #ifdef HAVE_NETINET_IN_SYSTM_H
9004 # include <netinet/in_systm.h>
9005 #endif
9006 #ifdef HAVE_NET_IF_H
9007 # include <net/if.h>
9008 #endif
9009 #ifdef HAVE_NETINET_IP_H
9010 # include <netinet/ip.h>
9011 #endif
9013 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9014 then :
9015 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9019 #include <sys/socket.h>
9020 #ifdef HAVE_SYS_SOCKETVAR_H
9021 # include <sys/socketvar.h>
9022 #endif
9023 #ifdef HAVE_NET_ROUTE_H
9024 # include <net/route.h>
9025 #endif
9026 #ifdef HAVE_NETINET_IN_H
9027 # include <netinet/in.h>
9028 #endif
9029 #ifdef HAVE_NETINET_IN_SYSTM_H
9030 # include <netinet/in_systm.h>
9031 #endif
9032 #ifdef HAVE_NET_IF_H
9033 # include <net/if.h>
9034 #endif
9035 #ifdef HAVE_NETINET_IP_H
9036 # include <netinet/ip.h>
9037 #endif
9039 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9045 #include <sys/socket.h>
9046 #ifdef HAVE_SYS_SOCKETVAR_H
9047 # include <sys/socketvar.h>
9048 #endif
9049 #ifdef HAVE_NET_ROUTE_H
9050 # include <net/route.h>
9051 #endif
9052 #ifdef HAVE_NETINET_IN_H
9053 # include <netinet/in.h>
9054 #endif
9055 #ifdef HAVE_NETINET_IN_SYSTM_H
9056 # include <netinet/in_systm.h>
9057 #endif
9058 #ifdef HAVE_NET_IF_H
9059 # include <net/if.h>
9060 #endif
9061 #ifdef HAVE_NETINET_IP_H
9062 # include <netinet/ip.h>
9063 #endif
9065 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9066 then :
9067 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9071 #include <sys/socket.h>
9072 #ifdef HAVE_SYS_SOCKETVAR_H
9073 # include <sys/socketvar.h>
9074 #endif
9075 #ifdef HAVE_NET_ROUTE_H
9076 # include <net/route.h>
9077 #endif
9078 #ifdef HAVE_NETINET_IN_H
9079 # include <netinet/in.h>
9080 #endif
9081 #ifdef HAVE_NETINET_IN_SYSTM_H
9082 # include <netinet/in_systm.h>
9083 #endif
9084 #ifdef HAVE_NET_IF_H
9085 # include <net/if.h>
9086 #endif
9087 #ifdef HAVE_NETINET_IP_H
9088 # include <netinet/ip.h>
9089 #endif
9091 if test "x$ac_cv_header_netinet_udp_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9096 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9097 #include <sys/socket.h>
9098 #ifdef HAVE_SYS_SOCKETVAR_H
9099 # include <sys/socketvar.h>
9100 #endif
9101 #ifdef HAVE_NET_ROUTE_H
9102 # include <net/route.h>
9103 #endif
9104 #ifdef HAVE_NETINET_IN_H
9105 # include <netinet/in.h>
9106 #endif
9107 #ifdef HAVE_NETINET_IN_SYSTM_H
9108 # include <netinet/in_systm.h>
9109 #endif
9110 #ifdef HAVE_NET_IF_H
9111 # include <net/if.h>
9112 #endif
9113 #ifdef HAVE_NETINET_IP_H
9114 # include <netinet/ip.h>
9115 #endif
9117 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9118 then :
9119 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9122 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9123 #include <sys/socket.h>
9124 #ifdef HAVE_SYS_SOCKETVAR_H
9125 # include <sys/socketvar.h>
9126 #endif
9127 #ifdef HAVE_NET_ROUTE_H
9128 # include <net/route.h>
9129 #endif
9130 #ifdef HAVE_NETINET_IN_H
9131 # include <netinet/in.h>
9132 #endif
9133 #ifdef HAVE_NETINET_IN_SYSTM_H
9134 # include <netinet/in_systm.h>
9135 #endif
9136 #ifdef HAVE_NET_IF_H
9137 # include <net/if.h>
9138 #endif
9139 #ifdef HAVE_NETINET_IP_H
9140 # include <netinet/ip.h>
9141 #endif
9143 if test "x$ac_cv_header_sys_un_h" = xyes
9144 then :
9145 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9150 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9151 #include <sys/socket.h>
9152 #ifdef HAVE_SYS_SOCKETVAR_H
9153 # include <sys/socketvar.h>
9154 #endif
9155 #ifdef HAVE_NETINET_IN_H
9156 # include <netinet/in.h>
9157 #endif
9158 #ifdef HAVE_NETINET_IN_SYSTM_H
9159 # include <netinet/in_systm.h>
9160 #endif
9161 #ifdef HAVE_NETINET_IP_H
9162 # include <netinet/ip.h>
9163 #endif
9164 #ifdef HAVE_NETINET_IP_VAR_H
9165 # include <netinet/ip_var.h>
9166 #endif
9167 #ifdef HAVE_NETINET_IP_ICMP_H
9168 # include <netinet/ip_icmp.h>
9169 #endif
9170 #ifdef HAVE_NETINET_UDP_H
9171 # include <netinet/udp.h>
9172 #endif
9173 #ifdef HAVE_NETINET_TCP_H
9174 # include <netinet/tcp.h>
9175 #endif
9177 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9178 then :
9179 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9182 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9183 #include <sys/socket.h>
9184 #ifdef HAVE_SYS_SOCKETVAR_H
9185 # include <sys/socketvar.h>
9186 #endif
9187 #ifdef HAVE_NETINET_IN_H
9188 # include <netinet/in.h>
9189 #endif
9190 #ifdef HAVE_NETINET_IN_SYSTM_H
9191 # include <netinet/in_systm.h>
9192 #endif
9193 #ifdef HAVE_NETINET_IP_H
9194 # include <netinet/ip.h>
9195 #endif
9196 #ifdef HAVE_NETINET_IP_VAR_H
9197 # include <netinet/ip_var.h>
9198 #endif
9199 #ifdef HAVE_NETINET_IP_ICMP_H
9200 # include <netinet/ip_icmp.h>
9201 #endif
9202 #ifdef HAVE_NETINET_UDP_H
9203 # include <netinet/udp.h>
9204 #endif
9205 #ifdef HAVE_NETINET_TCP_H
9206 # include <netinet/tcp.h>
9207 #endif
9209 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9210 then :
9211 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9214 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9215 #include <sys/socket.h>
9216 #ifdef HAVE_SYS_SOCKETVAR_H
9217 # include <sys/socketvar.h>
9218 #endif
9219 #ifdef HAVE_NETINET_IN_H
9220 # include <netinet/in.h>
9221 #endif
9222 #ifdef HAVE_NETINET_IN_SYSTM_H
9223 # include <netinet/in_systm.h>
9224 #endif
9225 #ifdef HAVE_NETINET_IP_H
9226 # include <netinet/ip.h>
9227 #endif
9228 #ifdef HAVE_NETINET_IP_VAR_H
9229 # include <netinet/ip_var.h>
9230 #endif
9231 #ifdef HAVE_NETINET_IP_ICMP_H
9232 # include <netinet/ip_icmp.h>
9233 #endif
9234 #ifdef HAVE_NETINET_UDP_H
9235 # include <netinet/udp.h>
9236 #endif
9237 #ifdef HAVE_NETINET_TCP_H
9238 # include <netinet/tcp.h>
9239 #endif
9241 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9242 then :
9243 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9248 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9249 #include <sys/socket.h>
9250 #ifdef HAVE_ASM_TYPES_H
9251 # include <asm/types.h>
9252 #endif
9253 #ifdef HAVE_LINUX_TYPES_H
9254 # include <linux/types.h>
9255 #endif
9257 if test "x$ac_cv_header_linux_ipx_h" = xyes
9258 then :
9259 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9262 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9263 #include <sys/socket.h>
9264 #ifdef HAVE_ASM_TYPES_H
9265 # include <asm/types.h>
9266 #endif
9267 #ifdef HAVE_LINUX_TYPES_H
9268 # include <linux/types.h>
9269 #endif
9271 if test "x$ac_cv_header_linux_irda_h" = xyes
9272 then :
9273 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9276 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9277 #include <sys/socket.h>
9278 #ifdef HAVE_ASM_TYPES_H
9279 # include <asm/types.h>
9280 #endif
9281 #ifdef HAVE_LINUX_TYPES_H
9282 # include <linux/types.h>
9283 #endif
9285 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9286 then :
9287 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9292 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9293 #include <sys/socket.h>
9294 #ifdef HAVE_NETINET_IN_H
9295 # include <netinet/in.h>
9296 #endif
9297 #ifdef HAVE_ARPA_NAMESER_H
9298 # include <arpa/nameser.h>
9299 #endif
9301 if test "x$ac_cv_header_resolv_h" = xyes
9302 then :
9303 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9308 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9310 if test "x$ac_cv_header_ifaddrs_h" = xyes
9311 then :
9312 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9317 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9319 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9320 then :
9321 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9326 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9327 #ifdef HAVE_SYS_UCONTEXT_H
9328 #include <sys/ucontext.h>
9329 #endif
9331 if test "x$ac_cv_header_sys_thr_h" = xyes
9332 then :
9333 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9338 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9339 #include <pthread.h>
9340 #endif
9342 if test "x$ac_cv_header_pthread_np_h" = xyes
9343 then :
9344 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9349 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9350 #include <sys/types.h>
9351 #ifdef HAVE_ASM_TYPES_H
9352 #include <asm/types.h>
9353 #endif
9355 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9356 then :
9357 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9362 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9363 #include <sys/param.h>
9364 #endif
9365 #include <sys/socket.h>
9366 #ifdef HAVE_SYS_QUEUE_H
9367 #include <sys/queue.h>
9368 #endif
9370 if test "x$ac_cv_header_libprocstat_h" = xyes
9371 then :
9372 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9378 DLLFLAGS=""
9380 LDDLLFLAGS=""
9382 LDEXECFLAGS=""
9384 EXTRACFLAGS=""
9386 UNIXDLLFLAGS="-fPIC"
9388 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9390 TOP_INSTALL_LIB=""
9392 TOP_INSTALL_DEV=""
9394 WINELOADER_LDFLAGS=""
9396 WINEPRELOADER_LDFLAGS=""
9398 LIBEXT="so"
9399 # Extract the first word of "ldd", so it can be a program name with args.
9400 set dummy ldd; ac_word=$2
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9402 printf %s "checking for $ac_word... " >&6; }
9403 if test ${ac_cv_path_LDD+y}
9404 then :
9405 printf %s "(cached) " >&6
9406 else $as_nop
9407 case $LDD in
9408 [\\/]* | ?:[\\/]*)
9409 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9413 as_dummy="/sbin:/usr/sbin:$PATH"
9414 for as_dir in $as_dummy
9416 IFS=$as_save_IFS
9417 case $as_dir in #(((
9418 '') as_dir=./ ;;
9419 */) ;;
9420 *) as_dir=$as_dir/ ;;
9421 esac
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9424 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9426 break 2
9428 done
9429 done
9430 IFS=$as_save_IFS
9432 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9434 esac
9436 LDD=$ac_cv_path_LDD
9437 if test -n "$LDD"; then
9438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9439 printf "%s\n" "$LDD" >&6; }
9440 else
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9442 printf "%s\n" "no" >&6; }
9446 if test -n "$ac_tool_prefix"; then
9447 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9448 set dummy ${ac_tool_prefix}otool; ac_word=$2
9449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9450 printf %s "checking for $ac_word... " >&6; }
9451 if test ${ac_cv_prog_OTOOL+y}
9452 then :
9453 printf %s "(cached) " >&6
9454 else $as_nop
9455 if test -n "$OTOOL"; then
9456 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9457 else
9458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9459 for as_dir in $PATH
9461 IFS=$as_save_IFS
9462 case $as_dir in #(((
9463 '') as_dir=./ ;;
9464 */) ;;
9465 *) as_dir=$as_dir/ ;;
9466 esac
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9469 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9471 break 2
9473 done
9474 done
9475 IFS=$as_save_IFS
9479 OTOOL=$ac_cv_prog_OTOOL
9480 if test -n "$OTOOL"; then
9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9482 printf "%s\n" "$OTOOL" >&6; }
9483 else
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9485 printf "%s\n" "no" >&6; }
9490 if test -z "$ac_cv_prog_OTOOL"; then
9491 ac_ct_OTOOL=$OTOOL
9492 # Extract the first word of "otool", so it can be a program name with args.
9493 set dummy otool; ac_word=$2
9494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9495 printf %s "checking for $ac_word... " >&6; }
9496 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9497 then :
9498 printf %s "(cached) " >&6
9499 else $as_nop
9500 if test -n "$ac_ct_OTOOL"; then
9501 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9502 else
9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 for as_dir in $PATH
9506 IFS=$as_save_IFS
9507 case $as_dir in #(((
9508 '') as_dir=./ ;;
9509 */) ;;
9510 *) as_dir=$as_dir/ ;;
9511 esac
9512 for ac_exec_ext in '' $ac_executable_extensions; do
9513 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9514 ac_cv_prog_ac_ct_OTOOL="otool"
9515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9516 break 2
9518 done
9519 done
9520 IFS=$as_save_IFS
9524 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9525 if test -n "$ac_ct_OTOOL"; then
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9527 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9528 else
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9530 printf "%s\n" "no" >&6; }
9533 if test "x$ac_ct_OTOOL" = x; then
9534 OTOOL="otool"
9535 else
9536 case $cross_compiling:$ac_tool_warned in
9537 yes:)
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9539 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9540 ac_tool_warned=yes ;;
9541 esac
9542 OTOOL=$ac_ct_OTOOL
9544 else
9545 OTOOL="$ac_cv_prog_OTOOL"
9548 if test -n "$ac_tool_prefix"; then
9549 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9550 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9552 printf %s "checking for $ac_word... " >&6; }
9553 if test ${ac_cv_prog_READELF+y}
9554 then :
9555 printf %s "(cached) " >&6
9556 else $as_nop
9557 if test -n "$READELF"; then
9558 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9559 else
9560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9561 for as_dir in $PATH
9563 IFS=$as_save_IFS
9564 case $as_dir in #(((
9565 '') as_dir=./ ;;
9566 */) ;;
9567 *) as_dir=$as_dir/ ;;
9568 esac
9569 for ac_exec_ext in '' $ac_executable_extensions; do
9570 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9571 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9573 break 2
9575 done
9576 done
9577 IFS=$as_save_IFS
9581 READELF=$ac_cv_prog_READELF
9582 if test -n "$READELF"; then
9583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9584 printf "%s\n" "$READELF" >&6; }
9585 else
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9587 printf "%s\n" "no" >&6; }
9592 if test -z "$ac_cv_prog_READELF"; then
9593 ac_ct_READELF=$READELF
9594 # Extract the first word of "readelf", so it can be a program name with args.
9595 set dummy readelf; ac_word=$2
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9597 printf %s "checking for $ac_word... " >&6; }
9598 if test ${ac_cv_prog_ac_ct_READELF+y}
9599 then :
9600 printf %s "(cached) " >&6
9601 else $as_nop
9602 if test -n "$ac_ct_READELF"; then
9603 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9604 else
9605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9606 for as_dir in $PATH
9608 IFS=$as_save_IFS
9609 case $as_dir in #(((
9610 '') as_dir=./ ;;
9611 */) ;;
9612 *) as_dir=$as_dir/ ;;
9613 esac
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9616 ac_cv_prog_ac_ct_READELF="readelf"
9617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9626 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9627 if test -n "$ac_ct_READELF"; then
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9629 printf "%s\n" "$ac_ct_READELF" >&6; }
9630 else
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 printf "%s\n" "no" >&6; }
9635 if test "x$ac_ct_READELF" = x; then
9636 READELF="true"
9637 else
9638 case $cross_compiling:$ac_tool_warned in
9639 yes:)
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9641 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9642 ac_tool_warned=yes ;;
9643 esac
9644 READELF=$ac_ct_READELF
9646 else
9647 READELF="$ac_cv_prog_READELF"
9650 wine_rules="all:"
9651 SUBDIRS=""
9653 DISABLED_SUBDIRS=""
9655 CONFIGURE_TARGETS=""
9658 wine_fn_append_file ()
9660 as_fn_append $1 " \\$as_nl $2"
9663 wine_fn_append_rule ()
9665 as_fn_append wine_rules "$as_nl$1"
9668 wine_fn_config_makefile ()
9670 wine_fn_append_file SUBDIRS $1
9671 if eval test \"x\$"$2"\" = x"no"
9672 then :
9673 wine_fn_append_file DISABLED_SUBDIRS $1
9677 wine_fn_config_symlink ()
9679 ac_links=$@
9680 wine_fn_append_rule \
9681 "$ac_links:
9682 @./config.status \$@"
9683 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9686 wine_binary="wine"
9687 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9688 WINELOADER_PROGRAMS="$wine_binary"
9690 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9692 case $host_os in
9693 cygwin*|mingw32*)
9694 if test -n "$ac_tool_prefix"; then
9695 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9696 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9698 printf %s "checking for $ac_word... " >&6; }
9699 if test ${ac_cv_prog_DLLTOOL+y}
9700 then :
9701 printf %s "(cached) " >&6
9702 else $as_nop
9703 if test -n "$DLLTOOL"; then
9704 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9705 else
9706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9707 for as_dir in $PATH
9709 IFS=$as_save_IFS
9710 case $as_dir in #(((
9711 '') as_dir=./ ;;
9712 */) ;;
9713 *) as_dir=$as_dir/ ;;
9714 esac
9715 for ac_exec_ext in '' $ac_executable_extensions; do
9716 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9717 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9719 break 2
9721 done
9722 done
9723 IFS=$as_save_IFS
9727 DLLTOOL=$ac_cv_prog_DLLTOOL
9728 if test -n "$DLLTOOL"; then
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9730 printf "%s\n" "$DLLTOOL" >&6; }
9731 else
9732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9733 printf "%s\n" "no" >&6; }
9738 if test -z "$ac_cv_prog_DLLTOOL"; then
9739 ac_ct_DLLTOOL=$DLLTOOL
9740 # Extract the first word of "dlltool", so it can be a program name with args.
9741 set dummy dlltool; ac_word=$2
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9743 printf %s "checking for $ac_word... " >&6; }
9744 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9745 then :
9746 printf %s "(cached) " >&6
9747 else $as_nop
9748 if test -n "$ac_ct_DLLTOOL"; then
9749 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9750 else
9751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9752 for as_dir in $PATH
9754 IFS=$as_save_IFS
9755 case $as_dir in #(((
9756 '') as_dir=./ ;;
9757 */) ;;
9758 *) as_dir=$as_dir/ ;;
9759 esac
9760 for ac_exec_ext in '' $ac_executable_extensions; do
9761 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9762 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9764 break 2
9766 done
9767 done
9768 IFS=$as_save_IFS
9772 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9773 if test -n "$ac_ct_DLLTOOL"; then
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9775 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9776 else
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9778 printf "%s\n" "no" >&6; }
9781 if test "x$ac_ct_DLLTOOL" = x; then
9782 DLLTOOL="false"
9783 else
9784 case $cross_compiling:$ac_tool_warned in
9785 yes:)
9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9787 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9788 ac_tool_warned=yes ;;
9789 esac
9790 DLLTOOL=$ac_ct_DLLTOOL
9792 else
9793 DLLTOOL="$ac_cv_prog_DLLTOOL"
9796 LIBEXT="dll"
9797 EXTRACFLAGS="-D__WINE_PE_BUILD"
9798 case $host_cpu in
9799 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9800 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9801 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9802 then :
9803 printf %s "(cached) " >&6
9804 else $as_nop
9805 ac_wine_try_cflags_saved=$CFLAGS
9806 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9809 int main(int argc, char **argv) { return 0; }
9810 _ACEOF
9811 if ac_fn_c_try_link "$LINENO"
9812 then :
9813 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9814 else $as_nop
9815 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9818 conftest$ac_exeext conftest.$ac_ext
9819 CFLAGS=$ac_wine_try_cflags_saved
9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9822 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9823 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9824 then :
9825 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9826 fi ;;
9827 esac
9828 enable_loader=${enable_loader:-no}
9829 enable_server=${enable_server:-no}
9830 with_x=${with_x:-no}
9831 with_pthread=${with_pthread:-no}
9834 darwin*|macosx*)
9835 ac_ext=m
9836 ac_cpp='$OBJCPP $CPPFLAGS'
9837 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9838 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9839 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9841 ac_ext=m
9842 ac_cpp='$OBJCPP $CPPFLAGS'
9843 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9844 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9845 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9846 if test -n "$ac_tool_prefix"; then
9847 for ac_prog in gcc objcc objc cc CC clang
9849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9850 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9852 printf %s "checking for $ac_word... " >&6; }
9853 if test ${ac_cv_prog_OBJC+y}
9854 then :
9855 printf %s "(cached) " >&6
9856 else $as_nop
9857 if test -n "$OBJC"; then
9858 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9859 else
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861 for as_dir in $PATH
9863 IFS=$as_save_IFS
9864 case $as_dir in #(((
9865 '') as_dir=./ ;;
9866 */) ;;
9867 *) as_dir=$as_dir/ ;;
9868 esac
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9871 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9873 break 2
9875 done
9876 done
9877 IFS=$as_save_IFS
9881 OBJC=$ac_cv_prog_OBJC
9882 if test -n "$OBJC"; then
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9884 printf "%s\n" "$OBJC" >&6; }
9885 else
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9887 printf "%s\n" "no" >&6; }
9891 test -n "$OBJC" && break
9892 done
9894 if test -z "$OBJC"; then
9895 ac_ct_OBJC=$OBJC
9896 for ac_prog in gcc objcc objc cc CC clang
9898 # Extract the first word of "$ac_prog", so it can be a program name with args.
9899 set dummy $ac_prog; ac_word=$2
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9901 printf %s "checking for $ac_word... " >&6; }
9902 if test ${ac_cv_prog_ac_ct_OBJC+y}
9903 then :
9904 printf %s "(cached) " >&6
9905 else $as_nop
9906 if test -n "$ac_ct_OBJC"; then
9907 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9908 else
9909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9910 for as_dir in $PATH
9912 IFS=$as_save_IFS
9913 case $as_dir in #(((
9914 '') as_dir=./ ;;
9915 */) ;;
9916 *) as_dir=$as_dir/ ;;
9917 esac
9918 for ac_exec_ext in '' $ac_executable_extensions; do
9919 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9920 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9922 break 2
9924 done
9925 done
9926 IFS=$as_save_IFS
9930 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9931 if test -n "$ac_ct_OBJC"; then
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9933 printf "%s\n" "$ac_ct_OBJC" >&6; }
9934 else
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9936 printf "%s\n" "no" >&6; }
9940 test -n "$ac_ct_OBJC" && break
9941 done
9943 if test "x$ac_ct_OBJC" = x; then
9944 OBJC="gcc"
9945 else
9946 case $cross_compiling:$ac_tool_warned in
9947 yes:)
9948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9949 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9950 ac_tool_warned=yes ;;
9951 esac
9952 OBJC=$ac_ct_OBJC
9956 # Provide some information about the compiler.
9957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9958 set X $ac_compile
9959 ac_compiler=$2
9960 for ac_option in --version -v -V -qversion; do
9961 { { ac_try="$ac_compiler $ac_option >&5"
9962 case "(($ac_try" in
9963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9964 *) ac_try_echo=$ac_try;;
9965 esac
9966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9967 printf "%s\n" "$ac_try_echo"; } >&5
9968 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9969 ac_status=$?
9970 if test -s conftest.err; then
9971 sed '10a\
9972 ... rest of stderr output deleted ...
9973 10q' conftest.err >conftest.er1
9974 cat conftest.er1 >&5
9976 rm -f conftest.er1 conftest.err
9977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9978 test $ac_status = 0; }
9979 done
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9982 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9983 if test ${ac_cv_objc_compiler_gnu+y}
9984 then :
9985 printf %s "(cached) " >&6
9986 else $as_nop
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9991 main (void)
9993 #ifndef __GNUC__
9994 choke me
9995 #endif
9998 return 0;
10000 _ACEOF
10001 if ac_fn_objc_try_compile "$LINENO"
10002 then :
10003 ac_compiler_gnu=yes
10004 else $as_nop
10005 ac_compiler_gnu=no
10007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10008 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10012 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10013 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10015 if test $ac_compiler_gnu = yes; then
10016 GOBJC=yes
10017 else
10018 GOBJC=
10020 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10021 ac_save_OBJCFLAGS=$OBJCFLAGS
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10023 printf %s "checking whether $OBJC accepts -g... " >&6; }
10024 if test ${ac_cv_prog_objc_g+y}
10025 then :
10026 printf %s "(cached) " >&6
10027 else $as_nop
10028 ac_save_objc_werror_flag=$ac_objc_werror_flag
10029 ac_objc_werror_flag=yes
10030 ac_cv_prog_objc_g=no
10031 OBJCFLAGS="-g"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10036 main (void)
10040 return 0;
10042 _ACEOF
10043 if ac_fn_objc_try_compile "$LINENO"
10044 then :
10045 ac_cv_prog_objc_g=yes
10046 else $as_nop
10047 OBJCFLAGS=""
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10052 main (void)
10056 return 0;
10058 _ACEOF
10059 if ac_fn_objc_try_compile "$LINENO"
10060 then :
10062 else $as_nop
10063 ac_objc_werror_flag=$ac_save_objc_werror_flag
10064 OBJCFLAGS="-g"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10069 main (void)
10073 return 0;
10075 _ACEOF
10076 if ac_fn_objc_try_compile "$LINENO"
10077 then :
10078 ac_cv_prog_objc_g=yes
10080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10085 ac_objc_werror_flag=$ac_save_objc_werror_flag
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10088 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10089 if test $ac_test_OBJCFLAGS; then
10090 OBJCFLAGS=$ac_save_OBJCFLAGS
10091 elif test $ac_cv_prog_objc_g = yes; then
10092 if test "$GOBJC" = yes; then
10093 OBJCFLAGS="-g -O2"
10094 else
10095 OBJCFLAGS="-g"
10097 else
10098 if test "$GOBJC" = yes; then
10099 OBJCFLAGS="-O2"
10100 else
10101 OBJCFLAGS=
10104 ac_ext=m
10105 ac_cpp='$OBJCPP $CPPFLAGS'
10106 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10107 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10108 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10111 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10112 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10113 then :
10114 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10118 ac_ext=c
10119 ac_cpp='$CPP $CPPFLAGS'
10120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10124 LIBEXT="dylib"
10125 DLLFLAGS="$DLLFLAGS -fPIC"
10126 LDDLLFLAGS="-fPIC"
10127 COREFOUNDATION_LIBS="-framework CoreFoundation"
10129 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10131 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10133 CORESERVICES_LIBS="-framework CoreServices"
10135 APPKIT_LIBS="-framework AppKit"
10137 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10140 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10142 wine_can_build_preloader=yes
10143 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10145 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10146 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10147 then :
10148 printf %s "(cached) " >&6
10149 else $as_nop
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int main(int argc, char **argv) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"
10157 then :
10158 ac_cv_cflags__Wl__no_new_main__e__main=yes
10159 else $as_nop
10160 ac_cv_cflags__Wl__no_new_main__e__main=no
10162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10167 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10168 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10169 then :
10170 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10172 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10173 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10174 then :
10175 printf %s "(cached) " >&6
10176 else $as_nop
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10181 int main(int argc, char **argv) { return 0; }
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"
10184 then :
10185 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10186 else $as_nop
10187 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10190 conftest$ac_exeext conftest.$ac_ext
10191 CFLAGS=$ac_wine_try_cflags_saved
10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10194 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10195 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10196 then :
10197 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10198 else $as_nop
10199 wine_can_build_preloader=no
10201 else $as_nop
10202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10203 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10204 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10205 then :
10206 printf %s "(cached) " >&6
10207 else $as_nop
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 int main(int argc, char **argv) { return 0; }
10213 _ACEOF
10214 if ac_fn_c_try_link "$LINENO"
10215 then :
10216 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10217 else $as_nop
10218 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10221 conftest$ac_exeext conftest.$ac_ext
10222 CFLAGS=$ac_wine_try_cflags_saved
10224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10225 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10226 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10227 then :
10228 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10229 else $as_nop
10230 wine_can_build_preloader=no
10233 if test "$wine_can_build_preloader" = "yes"
10234 then
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10236 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10237 if test ${ac_cv_cflags__Wl__no_pie+y}
10238 then :
10239 printf %s "(cached) " >&6
10240 else $as_nop
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 CFLAGS="$CFLAGS -Wl,-no_pie"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int main(int argc, char **argv) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"
10248 then :
10249 ac_cv_cflags__Wl__no_pie=yes
10250 else $as_nop
10251 ac_cv_cflags__Wl__no_pie=no
10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10258 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10259 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10260 then :
10261 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10263 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10264 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10265 else
10266 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10269 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10270 then
10271 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10274 if test "$ac_cv_header_Security_Security_h" = "yes"
10275 then
10276 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10279 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10280 then
10281 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10283 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10285 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10286 then
10287 OPENAL_LIBS="-framework OpenAL"
10290 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10292 ac_cv_lib_openal=yes
10294 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10295 then
10296 OPENCL_LIBS="-framework OpenCL"
10298 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10300 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10301 then
10302 ac_save_LIBS="$LIBS"
10303 LIBS="$LIBS $IOKIT_LIBS"
10304 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10305 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10306 then :
10307 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10311 LIBS="$ac_save_LIBS"
10314 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10315 then
10316 CARBON_LIBS="-framework Carbon"
10319 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10320 then
10321 METAL_LIBS="-framework Metal"
10325 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10326 then
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10328 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10329 ac_ext=m
10330 ac_cpp='$OBJCPP $CPPFLAGS'
10331 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10332 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10333 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 #include <Metal/Metal.h>
10339 main (void)
10341 id<MTLDevice> device; device.registryID;
10343 return 0;
10345 _ACEOF
10346 if ac_fn_objc_try_compile "$LINENO"
10347 then :
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10349 printf "%s\n" "yes" >&6; }
10351 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10353 else $as_nop
10354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10355 printf "%s\n" "no" >&6; }
10357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10358 ac_ext=c
10359 ac_cpp='$CPP $CPPFLAGS'
10360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10366 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10367 then
10368 ac_save_LIBS="$LIBS"
10369 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10370 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10371 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10372 then :
10373 enable_winemac_drv=${enable_winemac_drv:-yes}
10376 LIBS="$ac_save_LIBS"
10379 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10380 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10382 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10384 WINELOADER_DEPENDS="wine_info.plist"
10386 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10389 linux-android*)
10391 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10393 DLLFLAGS="$DLLFLAGS -fPIC"
10394 LDDLLFLAGS="-fPIC"
10395 LDEXECFLAGS="-Wl,-pie"
10396 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10398 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10399 if test ${ac_cv_cflags__Wl__z_defs+y}
10400 then :
10401 printf %s "(cached) " >&6
10402 else $as_nop
10403 ac_wine_try_cflags_saved=$CFLAGS
10404 CFLAGS="$CFLAGS -Wl,-z,defs"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 int main(int argc, char **argv) { return 0; }
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"
10410 then :
10411 ac_cv_cflags__Wl__z_defs=yes
10412 else $as_nop
10413 ac_cv_cflags__Wl__z_defs=no
10415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10420 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10421 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10422 then :
10423 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10426 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10427 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10428 then :
10429 printf %s "(cached) " >&6
10430 else $as_nop
10431 ac_wine_try_cflags_saved=$CFLAGS
10432 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 int main(int argc, char **argv) { return 0; }
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"
10438 then :
10439 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10440 else $as_nop
10441 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10444 conftest$ac_exeext conftest.$ac_ext
10445 CFLAGS=$ac_wine_try_cflags_saved
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10448 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10449 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10450 then :
10451 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10453 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10456 printf %s "checking for -lEGL... " >&6; }
10457 if test ${ac_cv_lib_soname_EGL+y}
10458 then :
10459 printf %s "(cached) " >&6
10460 else $as_nop
10461 ac_check_soname_save_LIBS=$LIBS
10462 LIBS="-lEGL $LIBS"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10469 char eglGetProcAddress ();
10471 main (void)
10473 return eglGetProcAddress ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"
10479 then :
10480 case "$LIBEXT" in
10481 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10482 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'` ;;
10483 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10484 if ${ac_cv_lib_soname_EGL:+false} :
10485 then :
10486 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10487 fi ;;
10488 esac
10489 else $as_nop
10490 ac_cv_lib_soname_EGL=
10492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_soname_save_LIBS
10496 if ${ac_cv_lib_soname_EGL:+false} :
10497 then :
10498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10499 printf "%s\n" "not found" >&6; }
10501 else $as_nop
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10503 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10505 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10510 printf %s "checking for -lGLESv2... " >&6; }
10511 if test ${ac_cv_lib_soname_GLESv2+y}
10512 then :
10513 printf %s "(cached) " >&6
10514 else $as_nop
10515 ac_check_soname_save_LIBS=$LIBS
10516 LIBS="-lGLESv2 $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10523 char glFlush ();
10525 main (void)
10527 return glFlush ();
10529 return 0;
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"
10533 then :
10534 case "$LIBEXT" in
10535 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if ${ac_cv_lib_soname_GLESv2:+false} :
10539 then :
10540 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10541 fi ;;
10542 esac
10543 else $as_nop
10544 ac_cv_lib_soname_GLESv2=
10546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_GLESv2:+false} :
10551 then :
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10553 printf "%s\n" "not found" >&6; }
10555 else $as_nop
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10557 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10559 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10564 if test "x$exec_prefix" = xNONE
10565 then
10566 case $host_cpu in
10567 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10568 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10569 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10570 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10571 esac
10577 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10579 case $host_cpu in
10580 *i[3456789]86*)
10581 DLLFLAGS="$DLLFLAGS -fno-PIC"
10582 LDDLLFLAGS="-fno-PIC"
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10584 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10585 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10586 then :
10587 printf %s "(cached) " >&6
10588 else $as_nop
10589 ac_wine_try_cflags_saved=$CFLAGS
10590 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10593 int main(int argc, char **argv) { return 0; }
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"
10596 then :
10597 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10598 else $as_nop
10599 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10602 conftest$ac_exeext conftest.$ac_ext
10603 CFLAGS=$ac_wine_try_cflags_saved
10605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10606 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10607 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10608 then :
10609 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10613 DLLFLAGS="$DLLFLAGS -fPIC"
10614 LDDLLFLAGS="-fPIC" ;;
10615 esac
10616 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10618 echo '{ global: *; };' >conftest.map
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10620 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10621 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10622 then :
10623 printf %s "(cached) " >&6
10624 else $as_nop
10625 ac_wine_try_cflags_saved=$CFLAGS
10626 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10629 int main(int argc, char **argv) { return 0; }
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"
10632 then :
10633 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10634 else $as_nop
10635 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10638 conftest$ac_exeext conftest.$ac_ext
10639 CFLAGS=$ac_wine_try_cflags_saved
10641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10642 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10643 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10644 then :
10645 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10647 rm -f conftest.map
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10650 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10651 if test ${ac_cv_cflags__Wl__z_defs+y}
10652 then :
10653 printf %s "(cached) " >&6
10654 else $as_nop
10655 ac_wine_try_cflags_saved=$CFLAGS
10656 CFLAGS="$CFLAGS -Wl,-z,defs"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 int main(int argc, char **argv) { return 0; }
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"
10662 then :
10663 ac_cv_cflags__Wl__z_defs=yes
10664 else $as_nop
10665 ac_cv_cflags__Wl__z_defs=no
10667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10668 conftest$ac_exeext conftest.$ac_ext
10669 CFLAGS=$ac_wine_try_cflags_saved
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10672 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10673 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10674 then :
10675 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10678 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10679 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10680 then :
10681 printf %s "(cached) " >&6
10682 else $as_nop
10683 ac_wine_try_cflags_saved=$CFLAGS
10684 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10687 int main(int argc, char **argv) { return 0; }
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"
10690 then :
10691 ac_cv_cflags__Wl___export_dynamic=yes
10692 else $as_nop
10693 ac_cv_cflags__Wl___export_dynamic=no
10695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10696 conftest$ac_exeext conftest.$ac_ext
10697 CFLAGS=$ac_wine_try_cflags_saved
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10700 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10701 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10702 then :
10703 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10705 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10707 case $host_cpu in
10708 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10710 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10711 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10712 then :
10713 printf %s "(cached) " >&6
10714 else $as_nop
10715 ac_wine_try_cflags_saved=$CFLAGS
10716 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 int main(int argc, char **argv) { return 0; }
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"
10722 then :
10723 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10724 else $as_nop
10725 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10728 conftest$ac_exeext conftest.$ac_ext
10729 CFLAGS=$ac_wine_try_cflags_saved
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10732 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10733 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10734 then :
10735 case $host_os in
10736 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10737 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10738 esac
10739 else $as_nop
10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10741 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10742 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10743 then :
10744 printf %s "(cached) " >&6
10745 else $as_nop
10746 ac_wine_try_cflags_saved=$CFLAGS
10747 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10750 int main(int argc, char **argv) { return 0; }
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"
10753 then :
10754 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10755 else $as_nop
10756 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10759 conftest$ac_exeext conftest.$ac_ext
10760 CFLAGS=$ac_wine_try_cflags_saved
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10763 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10764 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10765 then :
10766 case $host_os in
10767 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10768 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10769 esac
10771 # Extract the first word of "prelink", so it can be a program name with args.
10772 set dummy prelink; ac_word=$2
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10774 printf %s "checking for $ac_word... " >&6; }
10775 if test ${ac_cv_path_PRELINK+y}
10776 then :
10777 printf %s "(cached) " >&6
10778 else $as_nop
10779 case $PRELINK in
10780 [\\/]* | ?:[\\/]*)
10781 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10785 for as_dir in /sbin /usr/sbin $PATH
10787 IFS=$as_save_IFS
10788 case $as_dir in #(((
10789 '') as_dir=./ ;;
10790 */) ;;
10791 *) as_dir=$as_dir/ ;;
10792 esac
10793 for ac_exec_ext in '' $ac_executable_extensions; do
10794 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10795 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10797 break 2
10799 done
10800 done
10801 IFS=$as_save_IFS
10803 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10805 esac
10807 PRELINK=$ac_cv_path_PRELINK
10808 if test -n "$PRELINK"; then
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10810 printf "%s\n" "$PRELINK" >&6; }
10811 else
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10813 printf "%s\n" "no" >&6; }
10817 if test "x$PRELINK" = xfalse
10818 then
10819 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10823 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10824 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10825 then :
10826 printf %s "(cached) " >&6
10827 else $as_nop
10828 ac_wine_try_cflags_saved=$CFLAGS
10829 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10832 int main(int argc, char **argv) { return 0; }
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"
10835 then :
10836 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10837 else $as_nop
10838 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10841 conftest$ac_exeext conftest.$ac_ext
10842 CFLAGS=$ac_wine_try_cflags_saved
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10845 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10846 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10847 then :
10848 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10851 esac
10852 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10854 LIBWINE_DEPENDS="wine.map"
10856 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10858 esac
10860 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10861 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10862 enable_winemac_drv=${enable_winemac_drv:-no}
10865 if test "x$with_mingw" != xno
10866 then
10867 case "x$with_mingw" in
10868 x|xyes) case "$host_cpu" in
10869 aarch64*)
10870 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10871 arm*)
10872 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10873 i[3456789]86*)
10874 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
10875 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10876 mingw32-gcc clang" ;;
10877 x86_64)
10878 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
10879 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10881 ac_prefix_list="" ;;
10882 esac
10883 for ac_prog in $ac_prefix_list
10885 # Extract the first word of "$ac_prog", so it can be a program name with args.
10886 set dummy $ac_prog; ac_word=$2
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10888 printf %s "checking for $ac_word... " >&6; }
10889 if test ${ac_cv_prog_CROSSCC+y}
10890 then :
10891 printf %s "(cached) " >&6
10892 else $as_nop
10893 if test -n "$CROSSCC"; then
10894 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10895 else
10896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10897 for as_dir in $PATH
10899 IFS=$as_save_IFS
10900 case $as_dir in #(((
10901 '') as_dir=./ ;;
10902 */) ;;
10903 *) as_dir=$as_dir/ ;;
10904 esac
10905 for ac_exec_ext in '' $ac_executable_extensions; do
10906 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10907 ac_cv_prog_CROSSCC="$ac_prog"
10908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10909 break 2
10911 done
10912 done
10913 IFS=$as_save_IFS
10917 CROSSCC=$ac_cv_prog_CROSSCC
10918 if test -n "$CROSSCC"; then
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10920 printf "%s\n" "$CROSSCC" >&6; }
10921 else
10922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10923 printf "%s\n" "no" >&6; }
10927 test -n "$CROSSCC" && break
10928 done
10929 test -n "$CROSSCC" || CROSSCC="false"
10931 *) CROSSCC=$with_mingw ;;
10932 esac
10933 if test "$CROSSCC" != "false"
10934 then
10935 ac_save_CC="$CC"
10936 saved_CFLAGS=$CFLAGS
10937 saved_LDFLAGS=$LDFLAGS
10938 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10940 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10944 CC="$CROSSCC"
10945 CFLAGS=$CROSSCFLAGS
10946 LDFLAGS=$CROSSLDFLAGS
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10948 printf %s "checking whether $CROSSCC works... " >&6; }
10949 if test ${wine_cv_crosscc+y}
10950 then :
10951 printf %s "(cached) " >&6
10952 else $as_nop
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10957 main (void)
10961 return 0;
10963 _ACEOF
10964 if ac_fn_c_try_compile "$LINENO"
10965 then :
10966 wine_cv_crosscc=yes
10967 else $as_nop
10968 wine_cv_crosscc=no
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10973 printf "%s\n" "$wine_cv_crosscc" >&6; }
10974 if test $wine_cv_crosscc = yes
10975 then
10976 set x $CROSSCC
10977 shift
10978 while test $# -ge 1
10980 case "$1" in
10981 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10982 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10983 esac
10984 shift
10985 done
10987 llvm_target=$CROSSTARGET
10988 llvm_cflags="-fuse-ld=lld"
10989 if test -z "$llvm_target"
10990 then
10991 case $host_cpu in
10992 *i[3456789]86*) llvm_target=i686-windows ;;
10993 *) llvm_target=$host_cpu-windows ;;
10994 esac
10996 case $llvm_target in
10997 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10998 esac
10999 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11001 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11002 if eval test \${$as_ac_var+y}
11003 then :
11004 printf %s "(cached) " >&6
11005 else $as_nop
11006 ac_wine_try_cflags_saved=$CFLAGS
11007 ac_wine_try_cflags_saved_cc=$CC
11008 ac_wine_try_cflags_saved_exeext=$ac_exeext
11009 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11010 CC="$CROSSCC"
11011 ac_exeext=".exe"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"
11017 then :
11018 eval "$as_ac_var=yes"
11019 else $as_nop
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 CC=$ac_wine_try_cflags_saved_cc
11026 ac_exeext=$ac_wine_try_cflags_saved_exeext
11028 eval ac_res=\$$as_ac_var
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11030 printf "%s\n" "$ac_res" >&6; }
11031 if eval test \"x\$"$as_ac_var"\" = x"yes"
11032 then :
11033 CROSSTARGET=$llvm_target
11034 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11035 DELAYLOADFLAG="-Wl,-delayload,"
11037 CFLAGS="$CFLAGS $llvm_cflags"
11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11041 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11042 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11043 then :
11044 printf %s "(cached) " >&6
11045 else $as_nop
11046 ac_wine_try_cflags_saved=$CFLAGS
11047 ac_wine_try_cflags_saved_cc=$CC
11048 ac_wine_try_cflags_saved_exeext=$ac_exeext
11049 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11050 CC="$CROSSCC"
11051 ac_exeext=".exe"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11054 int __cdecl mainCRTStartup(void) { return 0; }
11055 _ACEOF
11056 if ac_fn_c_try_link "$LINENO"
11057 then :
11058 ac_cv_crosscflags__fno_strict_aliasing=yes
11059 else $as_nop
11060 ac_cv_crosscflags__fno_strict_aliasing=no
11062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11063 conftest$ac_exeext conftest.$ac_ext
11064 CFLAGS=$ac_wine_try_cflags_saved
11065 CC=$ac_wine_try_cflags_saved_cc
11066 ac_exeext=$ac_wine_try_cflags_saved_exeext
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11069 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11070 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11071 then :
11072 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11075 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11076 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11077 then :
11078 printf %s "(cached) " >&6
11079 else $as_nop
11080 ac_wine_try_cflags_saved=$CFLAGS
11081 ac_wine_try_cflags_saved_cc=$CC
11082 ac_wine_try_cflags_saved_exeext=$ac_exeext
11083 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11084 CC="$CROSSCC"
11085 ac_exeext=".exe"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 int __cdecl mainCRTStartup(void) { return 0; }
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"
11091 then :
11092 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11093 else $as_nop
11094 ac_cv_crosscflags__Werror_unknown_warning_option=no
11096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11097 conftest$ac_exeext conftest.$ac_ext
11098 CFLAGS=$ac_wine_try_cflags_saved
11099 CC=$ac_wine_try_cflags_saved_cc
11100 ac_exeext=$ac_wine_try_cflags_saved_exeext
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11103 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11104 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11105 then :
11106 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11109 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11110 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11111 then :
11112 printf %s "(cached) " >&6
11113 else $as_nop
11114 ac_wine_try_cflags_saved=$CFLAGS
11115 ac_wine_try_cflags_saved_cc=$CC
11116 ac_wine_try_cflags_saved_exeext=$ac_exeext
11117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11118 CC="$CROSSCC"
11119 ac_exeext=".exe"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11122 int __cdecl mainCRTStartup(void) { return 0; }
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"
11125 then :
11126 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11127 else $as_nop
11128 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11131 conftest$ac_exeext conftest.$ac_ext
11132 CFLAGS=$ac_wine_try_cflags_saved
11133 CC=$ac_wine_try_cflags_saved_cc
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11137 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11138 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11139 then :
11140 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11143 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11144 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11145 then :
11146 printf %s "(cached) " >&6
11147 else $as_nop
11148 ac_wine_try_cflags_saved=$CFLAGS
11149 ac_wine_try_cflags_saved_cc=$CC
11150 ac_wine_try_cflags_saved_exeext=$ac_exeext
11151 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11152 CC="$CROSSCC"
11153 ac_exeext=".exe"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 int __cdecl mainCRTStartup(void) { return 0; }
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"
11159 then :
11160 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11161 else $as_nop
11162 ac_cv_crosscflags__Wdeclaration_after_statement=no
11164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11165 conftest$ac_exeext conftest.$ac_ext
11166 CFLAGS=$ac_wine_try_cflags_saved
11167 CC=$ac_wine_try_cflags_saved_cc
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11171 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11172 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11173 then :
11174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11177 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11178 if test ${ac_cv_crosscflags__Wempty_body+y}
11179 then :
11180 printf %s "(cached) " >&6
11181 else $as_nop
11182 ac_wine_try_cflags_saved=$CFLAGS
11183 ac_wine_try_cflags_saved_cc=$CC
11184 ac_wine_try_cflags_saved_exeext=$ac_exeext
11185 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11186 CC="$CROSSCC"
11187 ac_exeext=".exe"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 int __cdecl mainCRTStartup(void) { return 0; }
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"
11193 then :
11194 ac_cv_crosscflags__Wempty_body=yes
11195 else $as_nop
11196 ac_cv_crosscflags__Wempty_body=no
11198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11199 conftest$ac_exeext conftest.$ac_ext
11200 CFLAGS=$ac_wine_try_cflags_saved
11201 CC=$ac_wine_try_cflags_saved_cc
11202 ac_exeext=$ac_wine_try_cflags_saved_exeext
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11205 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11206 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11207 then :
11208 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11211 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11212 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11213 then :
11214 printf %s "(cached) " >&6
11215 else $as_nop
11216 ac_wine_try_cflags_saved=$CFLAGS
11217 ac_wine_try_cflags_saved_cc=$CC
11218 ac_wine_try_cflags_saved_exeext=$ac_exeext
11219 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11220 CC="$CROSSCC"
11221 ac_exeext=".exe"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11224 int __cdecl mainCRTStartup(void) { return 0; }
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"
11227 then :
11228 ac_cv_crosscflags__Wignored_qualifiers=yes
11229 else $as_nop
11230 ac_cv_crosscflags__Wignored_qualifiers=no
11232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11233 conftest$ac_exeext conftest.$ac_ext
11234 CFLAGS=$ac_wine_try_cflags_saved
11235 CC=$ac_wine_try_cflags_saved_cc
11236 ac_exeext=$ac_wine_try_cflags_saved_exeext
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11239 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11240 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11241 then :
11242 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11245 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11246 if test ${ac_cv_crosscflags__Winit_self+y}
11247 then :
11248 printf %s "(cached) " >&6
11249 else $as_nop
11250 ac_wine_try_cflags_saved=$CFLAGS
11251 ac_wine_try_cflags_saved_cc=$CC
11252 ac_wine_try_cflags_saved_exeext=$ac_exeext
11253 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11254 CC="$CROSSCC"
11255 ac_exeext=".exe"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 int __cdecl mainCRTStartup(void) { return 0; }
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"
11261 then :
11262 ac_cv_crosscflags__Winit_self=yes
11263 else $as_nop
11264 ac_cv_crosscflags__Winit_self=no
11266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11267 conftest$ac_exeext conftest.$ac_ext
11268 CFLAGS=$ac_wine_try_cflags_saved
11269 CC=$ac_wine_try_cflags_saved_cc
11270 ac_exeext=$ac_wine_try_cflags_saved_exeext
11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11273 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11274 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11275 then :
11276 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11279 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11280 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11281 then :
11282 printf %s "(cached) " >&6
11283 else $as_nop
11284 ac_wine_try_cflags_saved=$CFLAGS
11285 ac_wine_try_cflags_saved_cc=$CC
11286 ac_wine_try_cflags_saved_exeext=$ac_exeext
11287 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11288 CC="$CROSSCC"
11289 ac_exeext=".exe"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11292 int __cdecl mainCRTStartup(void) { return 0; }
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"
11295 then :
11296 ac_cv_crosscflags__Wpacked_not_aligned=yes
11297 else $as_nop
11298 ac_cv_crosscflags__Wpacked_not_aligned=no
11300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11301 conftest$ac_exeext conftest.$ac_ext
11302 CFLAGS=$ac_wine_try_cflags_saved
11303 CC=$ac_wine_try_cflags_saved_cc
11304 ac_exeext=$ac_wine_try_cflags_saved_exeext
11306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11307 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11308 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11309 then :
11310 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11313 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11314 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11315 then :
11316 printf %s "(cached) " >&6
11317 else $as_nop
11318 ac_wine_try_cflags_saved=$CFLAGS
11319 ac_wine_try_cflags_saved_cc=$CC
11320 ac_wine_try_cflags_saved_exeext=$ac_exeext
11321 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11322 CC="$CROSSCC"
11323 ac_exeext=".exe"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11326 int __cdecl mainCRTStartup(void) { return 0; }
11327 _ACEOF
11328 if ac_fn_c_try_link "$LINENO"
11329 then :
11330 ac_cv_crosscflags__Wpragma_pack=yes
11331 else $as_nop
11332 ac_cv_crosscflags__Wpragma_pack=no
11334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11335 conftest$ac_exeext conftest.$ac_ext
11336 CFLAGS=$ac_wine_try_cflags_saved
11337 CC=$ac_wine_try_cflags_saved_cc
11338 ac_exeext=$ac_wine_try_cflags_saved_exeext
11340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11341 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11342 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11343 then :
11344 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11347 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11348 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11349 then :
11350 printf %s "(cached) " >&6
11351 else $as_nop
11352 ac_wine_try_cflags_saved=$CFLAGS
11353 ac_wine_try_cflags_saved_cc=$CC
11354 ac_wine_try_cflags_saved_exeext=$ac_exeext
11355 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11356 CC="$CROSSCC"
11357 ac_exeext=".exe"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 int __cdecl mainCRTStartup(void) { return 0; }
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"
11363 then :
11364 ac_cv_crosscflags__Wshift_overflow_2=yes
11365 else $as_nop
11366 ac_cv_crosscflags__Wshift_overflow_2=no
11368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11369 conftest$ac_exeext conftest.$ac_ext
11370 CFLAGS=$ac_wine_try_cflags_saved
11371 CC=$ac_wine_try_cflags_saved_cc
11372 ac_exeext=$ac_wine_try_cflags_saved_exeext
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11375 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11376 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11377 then :
11378 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11381 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11382 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11383 then :
11384 printf %s "(cached) " >&6
11385 else $as_nop
11386 ac_wine_try_cflags_saved=$CFLAGS
11387 ac_wine_try_cflags_saved_cc=$CC
11388 ac_wine_try_cflags_saved_exeext=$ac_exeext
11389 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11390 CC="$CROSSCC"
11391 ac_exeext=".exe"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 int __cdecl mainCRTStartup(void) { return 0; }
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"
11397 then :
11398 ac_cv_crosscflags__Wstrict_prototypes=yes
11399 else $as_nop
11400 ac_cv_crosscflags__Wstrict_prototypes=no
11402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11403 conftest$ac_exeext conftest.$ac_ext
11404 CFLAGS=$ac_wine_try_cflags_saved
11405 CC=$ac_wine_try_cflags_saved_cc
11406 ac_exeext=$ac_wine_try_cflags_saved_exeext
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11409 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11410 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11411 then :
11412 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11415 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11416 if test ${ac_cv_crosscflags__Wtype_limits+y}
11417 then :
11418 printf %s "(cached) " >&6
11419 else $as_nop
11420 ac_wine_try_cflags_saved=$CFLAGS
11421 ac_wine_try_cflags_saved_cc=$CC
11422 ac_wine_try_cflags_saved_exeext=$ac_exeext
11423 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11424 CC="$CROSSCC"
11425 ac_exeext=".exe"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 int __cdecl mainCRTStartup(void) { return 0; }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"
11431 then :
11432 ac_cv_crosscflags__Wtype_limits=yes
11433 else $as_nop
11434 ac_cv_crosscflags__Wtype_limits=no
11436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11437 conftest$ac_exeext conftest.$ac_ext
11438 CFLAGS=$ac_wine_try_cflags_saved
11439 CC=$ac_wine_try_cflags_saved_cc
11440 ac_exeext=$ac_wine_try_cflags_saved_exeext
11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11443 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11444 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11445 then :
11446 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11449 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11450 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11451 then :
11452 printf %s "(cached) " >&6
11453 else $as_nop
11454 ac_wine_try_cflags_saved=$CFLAGS
11455 ac_wine_try_cflags_saved_cc=$CC
11456 ac_wine_try_cflags_saved_exeext=$ac_exeext
11457 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11458 CC="$CROSSCC"
11459 ac_exeext=".exe"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11462 int __cdecl mainCRTStartup(void) { return 0; }
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"
11465 then :
11466 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11467 else $as_nop
11468 ac_cv_crosscflags__Wunused_but_set_parameter=no
11470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11471 conftest$ac_exeext conftest.$ac_ext
11472 CFLAGS=$ac_wine_try_cflags_saved
11473 CC=$ac_wine_try_cflags_saved_cc
11474 ac_exeext=$ac_wine_try_cflags_saved_exeext
11476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11477 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11478 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11479 then :
11480 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11483 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11484 if test ${ac_cv_crosscflags__Wvla+y}
11485 then :
11486 printf %s "(cached) " >&6
11487 else $as_nop
11488 ac_wine_try_cflags_saved=$CFLAGS
11489 ac_wine_try_cflags_saved_cc=$CC
11490 ac_wine_try_cflags_saved_exeext=$ac_exeext
11491 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11492 CC="$CROSSCC"
11493 ac_exeext=".exe"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 int __cdecl mainCRTStartup(void) { return 0; }
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"
11499 then :
11500 ac_cv_crosscflags__Wvla=yes
11501 else $as_nop
11502 ac_cv_crosscflags__Wvla=no
11504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11505 conftest$ac_exeext conftest.$ac_ext
11506 CFLAGS=$ac_wine_try_cflags_saved
11507 CC=$ac_wine_try_cflags_saved_cc
11508 ac_exeext=$ac_wine_try_cflags_saved_exeext
11510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11511 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11512 if test "x$ac_cv_crosscflags__Wvla" = xyes
11513 then :
11514 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11517 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11518 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11519 then :
11520 printf %s "(cached) " >&6
11521 else $as_nop
11522 ac_wine_try_cflags_saved=$CFLAGS
11523 ac_wine_try_cflags_saved_cc=$CC
11524 ac_wine_try_cflags_saved_exeext=$ac_exeext
11525 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11526 CC="$CROSSCC"
11527 ac_exeext=".exe"
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11530 int __cdecl mainCRTStartup(void) { return 0; }
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"
11533 then :
11534 ac_cv_crosscflags__Wwrite_strings=yes
11535 else $as_nop
11536 ac_cv_crosscflags__Wwrite_strings=no
11538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11539 conftest$ac_exeext conftest.$ac_ext
11540 CFLAGS=$ac_wine_try_cflags_saved
11541 CC=$ac_wine_try_cflags_saved_cc
11542 ac_exeext=$ac_wine_try_cflags_saved_exeext
11544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11545 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11546 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11547 then :
11548 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11551 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11552 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11553 then :
11554 printf %s "(cached) " >&6
11555 else $as_nop
11556 ac_wine_try_cflags_saved=$CFLAGS
11557 ac_wine_try_cflags_saved_cc=$CC
11558 ac_wine_try_cflags_saved_exeext=$ac_exeext
11559 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11560 CC="$CROSSCC"
11561 ac_exeext=".exe"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 int __cdecl mainCRTStartup(void) { return 0; }
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"
11567 then :
11568 ac_cv_crosscflags__Wpointer_arith=yes
11569 else $as_nop
11570 ac_cv_crosscflags__Wpointer_arith=no
11572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11573 conftest$ac_exeext conftest.$ac_ext
11574 CFLAGS=$ac_wine_try_cflags_saved
11575 CC=$ac_wine_try_cflags_saved_cc
11576 ac_exeext=$ac_wine_try_cflags_saved_exeext
11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11579 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11580 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11581 then :
11582 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11585 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11586 if test ${ac_cv_crosscflags__Wlogical_op+y}
11587 then :
11588 printf %s "(cached) " >&6
11589 else $as_nop
11590 ac_wine_try_cflags_saved=$CFLAGS
11591 ac_wine_try_cflags_saved_cc=$CC
11592 ac_wine_try_cflags_saved_exeext=$ac_exeext
11593 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11594 CC="$CROSSCC"
11595 ac_exeext=".exe"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11598 int __cdecl mainCRTStartup(void) { return 0; }
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"
11601 then :
11602 ac_cv_crosscflags__Wlogical_op=yes
11603 else $as_nop
11604 ac_cv_crosscflags__Wlogical_op=no
11606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11607 conftest$ac_exeext conftest.$ac_ext
11608 CFLAGS=$ac_wine_try_cflags_saved
11609 CC=$ac_wine_try_cflags_saved_cc
11610 ac_exeext=$ac_wine_try_cflags_saved_exeext
11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11613 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11614 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11615 then :
11616 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11619 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11620 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11621 then :
11622 printf %s "(cached) " >&6
11623 else $as_nop
11624 ac_wine_try_cflags_saved=$CFLAGS
11625 ac_wine_try_cflags_saved_cc=$CC
11626 ac_wine_try_cflags_saved_exeext=$ac_exeext
11627 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11628 CC="$CROSSCC"
11629 ac_exeext=".exe"
11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11632 int __cdecl mainCRTStartup(void) { return 0; }
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"
11635 then :
11636 ac_cv_crosscflags__Wabsolute_value=yes
11637 else $as_nop
11638 ac_cv_crosscflags__Wabsolute_value=no
11640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11641 conftest$ac_exeext conftest.$ac_ext
11642 CFLAGS=$ac_wine_try_cflags_saved
11643 CC=$ac_wine_try_cflags_saved_cc
11644 ac_exeext=$ac_wine_try_cflags_saved_exeext
11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11647 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11648 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11649 then :
11650 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11653 case $host_cpu in
11654 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11655 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11656 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11657 then :
11658 printf %s "(cached) " >&6
11659 else $as_nop
11660 ac_wine_try_cflags_saved=$CFLAGS
11661 ac_wine_try_cflags_saved_cc=$CC
11662 ac_wine_try_cflags_saved_exeext=$ac_exeext
11663 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11664 CC="$CROSSCC"
11665 ac_exeext=".exe"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11668 int __cdecl mainCRTStartup(void) { return 0; }
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"
11671 then :
11672 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11673 else $as_nop
11674 ac_cv_crosscflags__fno_omit_frame_pointer=no
11676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11677 conftest$ac_exeext conftest.$ac_ext
11678 CFLAGS=$ac_wine_try_cflags_saved
11679 CC=$ac_wine_try_cflags_saved_cc
11680 ac_exeext=$ac_wine_try_cflags_saved_exeext
11682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11683 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11684 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11685 then :
11686 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11687 fi ;;
11688 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11689 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11690 if test ${ac_cv_crosscflags__Wno_format+y}
11691 then :
11692 printf %s "(cached) " >&6
11693 else $as_nop
11694 ac_wine_try_cflags_saved=$CFLAGS
11695 ac_wine_try_cflags_saved_cc=$CC
11696 ac_wine_try_cflags_saved_exeext=$ac_exeext
11697 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11698 CC="$CROSSCC"
11699 ac_exeext=".exe"
11700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11702 int __cdecl mainCRTStartup(void) { return 0; }
11703 _ACEOF
11704 if ac_fn_c_try_link "$LINENO"
11705 then :
11706 ac_cv_crosscflags__Wno_format=yes
11707 else $as_nop
11708 ac_cv_crosscflags__Wno_format=no
11710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11711 conftest$ac_exeext conftest.$ac_ext
11712 CFLAGS=$ac_wine_try_cflags_saved
11713 CC=$ac_wine_try_cflags_saved_cc
11714 ac_exeext=$ac_wine_try_cflags_saved_exeext
11716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11717 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11718 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11719 then :
11720 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11723 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11724 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11725 then :
11726 printf %s "(cached) " >&6
11727 else $as_nop
11728 ac_wine_try_cflags_saved=$CFLAGS
11729 ac_wine_try_cflags_saved_cc=$CC
11730 ac_wine_try_cflags_saved_exeext=$ac_exeext
11731 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11732 CC="$CROSSCC"
11733 ac_exeext=".exe"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11736 int __cdecl mainCRTStartup(void) { return 0; }
11737 _ACEOF
11738 if ac_fn_c_try_link "$LINENO"
11739 then :
11740 ac_cv_crosscflags__Wformat_overflow=yes
11741 else $as_nop
11742 ac_cv_crosscflags__Wformat_overflow=no
11744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11745 conftest$ac_exeext conftest.$ac_ext
11746 CFLAGS=$ac_wine_try_cflags_saved
11747 CC=$ac_wine_try_cflags_saved_cc
11748 ac_exeext=$ac_wine_try_cflags_saved_exeext
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11751 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11752 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11753 then :
11754 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11757 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11758 if test ${ac_cv_crosscflags__Wnonnull+y}
11759 then :
11760 printf %s "(cached) " >&6
11761 else $as_nop
11762 ac_wine_try_cflags_saved=$CFLAGS
11763 ac_wine_try_cflags_saved_cc=$CC
11764 ac_wine_try_cflags_saved_exeext=$ac_exeext
11765 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11766 CC="$CROSSCC"
11767 ac_exeext=".exe"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11770 int __cdecl mainCRTStartup(void) { return 0; }
11771 _ACEOF
11772 if ac_fn_c_try_link "$LINENO"
11773 then :
11774 ac_cv_crosscflags__Wnonnull=yes
11775 else $as_nop
11776 ac_cv_crosscflags__Wnonnull=no
11778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11779 conftest$ac_exeext conftest.$ac_ext
11780 CFLAGS=$ac_wine_try_cflags_saved
11781 CC=$ac_wine_try_cflags_saved_cc
11782 ac_exeext=$ac_wine_try_cflags_saved_exeext
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11785 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11786 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11787 then :
11788 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11791 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11792 if test ${ac_cv_crosscflags__mcx16+y}
11793 then :
11794 printf %s "(cached) " >&6
11795 else $as_nop
11796 ac_wine_try_cflags_saved=$CFLAGS
11797 ac_wine_try_cflags_saved_cc=$CC
11798 ac_wine_try_cflags_saved_exeext=$ac_exeext
11799 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11800 CC="$CROSSCC"
11801 ac_exeext=".exe"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11804 int __cdecl mainCRTStartup(void) { return 0; }
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"
11807 then :
11808 ac_cv_crosscflags__mcx16=yes
11809 else $as_nop
11810 ac_cv_crosscflags__mcx16=no
11812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11813 conftest$ac_exeext conftest.$ac_ext
11814 CFLAGS=$ac_wine_try_cflags_saved
11815 CC=$ac_wine_try_cflags_saved_cc
11816 ac_exeext=$ac_wine_try_cflags_saved_exeext
11818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11819 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11820 if test "x$ac_cv_crosscflags__mcx16" = xyes
11821 then :
11822 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11823 fi ;;
11824 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11825 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11826 if test ${ac_cv_crosscflags__Wno_format+y}
11827 then :
11828 printf %s "(cached) " >&6
11829 else $as_nop
11830 ac_wine_try_cflags_saved=$CFLAGS
11831 ac_wine_try_cflags_saved_cc=$CC
11832 ac_wine_try_cflags_saved_exeext=$ac_exeext
11833 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11834 CC="$CROSSCC"
11835 ac_exeext=".exe"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11838 int __cdecl mainCRTStartup(void) { return 0; }
11839 _ACEOF
11840 if ac_fn_c_try_link "$LINENO"
11841 then :
11842 ac_cv_crosscflags__Wno_format=yes
11843 else $as_nop
11844 ac_cv_crosscflags__Wno_format=no
11846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11847 conftest$ac_exeext conftest.$ac_ext
11848 CFLAGS=$ac_wine_try_cflags_saved
11849 CC=$ac_wine_try_cflags_saved_cc
11850 ac_exeext=$ac_wine_try_cflags_saved_exeext
11852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11853 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11854 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11855 then :
11856 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11857 fi ;;
11858 esac
11861 if test -z "$CROSSDEBUG"
11862 then
11863 for ac_flag in $CROSSCFLAGS; do
11864 case $ac_flag in
11865 -gdwarf*) CROSSDEBUG=dwarf ;;
11866 -gcodeview) CROSSDEBUG=pdb ;;
11867 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11868 esac
11869 done
11872 ac_debug_format_seen=""
11873 for ac_flag in $CROSSCFLAGS; do
11874 case $ac_flag in
11875 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11876 esac
11877 done
11878 if test "x$ac_debug_format_seen" = x
11879 then
11880 case $CROSSDEBUG in
11881 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11882 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11883 if test ${ac_cv_crosscflags__gdwarf_4+y}
11884 then :
11885 printf %s "(cached) " >&6
11886 else $as_nop
11887 ac_wine_try_cflags_saved=$CFLAGS
11888 ac_wine_try_cflags_saved_cc=$CC
11889 ac_wine_try_cflags_saved_exeext=$ac_exeext
11890 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11891 CC="$CROSSCC"
11892 ac_exeext=".exe"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11895 int __cdecl mainCRTStartup(void) { return 0; }
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"
11898 then :
11899 ac_cv_crosscflags__gdwarf_4=yes
11900 else $as_nop
11901 ac_cv_crosscflags__gdwarf_4=no
11903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11904 conftest$ac_exeext conftest.$ac_ext
11905 CFLAGS=$ac_wine_try_cflags_saved
11906 CC=$ac_wine_try_cflags_saved_cc
11907 ac_exeext=$ac_wine_try_cflags_saved_exeext
11909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11910 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11911 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11912 then :
11913 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11914 fi ;;
11915 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11916 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11917 if test ${ac_cv_crosscflags__gcodeview+y}
11918 then :
11919 printf %s "(cached) " >&6
11920 else $as_nop
11921 ac_wine_try_cflags_saved=$CFLAGS
11922 ac_wine_try_cflags_saved_cc=$CC
11923 ac_wine_try_cflags_saved_exeext=$ac_exeext
11924 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11925 CC="$CROSSCC"
11926 ac_exeext=".exe"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 int __cdecl mainCRTStartup(void) { return 0; }
11930 _ACEOF
11931 if ac_fn_c_try_link "$LINENO"
11932 then :
11933 ac_cv_crosscflags__gcodeview=yes
11934 else $as_nop
11935 ac_cv_crosscflags__gcodeview=no
11937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11938 conftest$ac_exeext conftest.$ac_ext
11939 CFLAGS=$ac_wine_try_cflags_saved
11940 CC=$ac_wine_try_cflags_saved_cc
11941 ac_exeext=$ac_wine_try_cflags_saved_exeext
11943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11944 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11945 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11946 then :
11947 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11948 fi ;;
11949 esac
11952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11953 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11954 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11955 then :
11956 printf %s "(cached) " >&6
11957 else $as_nop
11958 ac_wine_try_cflags_saved=$CFLAGS
11959 ac_wine_try_cflags_saved_cc=$CC
11960 ac_wine_try_cflags_saved_exeext=$ac_exeext
11961 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11962 CC="$CROSSCC"
11963 ac_exeext=".exe"
11964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11966 int __cdecl mainCRTStartup(void) { return 0; }
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"
11969 then :
11970 ac_cv_crosscflags__fexcess_precision_standard=yes
11971 else $as_nop
11972 ac_cv_crosscflags__fexcess_precision_standard=no
11974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11975 conftest$ac_exeext conftest.$ac_ext
11976 CFLAGS=$ac_wine_try_cflags_saved
11977 CC=$ac_wine_try_cflags_saved_cc
11978 ac_exeext=$ac_wine_try_cflags_saved_exeext
11980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11981 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11982 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11983 then :
11984 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11988 if test "x$enable_werror" = "xyes"
11989 then
11990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11991 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11992 if test ${ac_cv_crosscflags__Werror+y}
11993 then :
11994 printf %s "(cached) " >&6
11995 else $as_nop
11996 ac_wine_try_cflags_saved=$CFLAGS
11997 ac_wine_try_cflags_saved_cc=$CC
11998 ac_wine_try_cflags_saved_exeext=$ac_exeext
11999 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12000 CC="$CROSSCC"
12001 ac_exeext=".exe"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12004 int __cdecl mainCRTStartup(void) { return 0; }
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"
12007 then :
12008 ac_cv_crosscflags__Werror=yes
12009 else $as_nop
12010 ac_cv_crosscflags__Werror=no
12012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12013 conftest$ac_exeext conftest.$ac_ext
12014 CFLAGS=$ac_wine_try_cflags_saved
12015 CC=$ac_wine_try_cflags_saved_cc
12016 ac_exeext=$ac_wine_try_cflags_saved_exeext
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12019 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12020 if test "x$ac_cv_crosscflags__Werror" = xyes
12021 then :
12022 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12025 if test "x$enable_build_id" = "xyes"
12026 then
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12028 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12029 if test ${ac_cv_crosscflags__Wl___build_id+y}
12030 then :
12031 printf %s "(cached) " >&6
12032 else $as_nop
12033 ac_wine_try_cflags_saved=$CFLAGS
12034 ac_wine_try_cflags_saved_cc=$CC
12035 ac_wine_try_cflags_saved_exeext=$ac_exeext
12036 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12037 CC="$CROSSCC"
12038 ac_exeext=".exe"
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12041 int __cdecl mainCRTStartup(void) { return 0; }
12042 _ACEOF
12043 if ac_fn_c_try_link "$LINENO"
12044 then :
12045 ac_cv_crosscflags__Wl___build_id=yes
12046 else $as_nop
12047 ac_cv_crosscflags__Wl___build_id=no
12049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12050 conftest$ac_exeext conftest.$ac_ext
12051 CFLAGS=$ac_wine_try_cflags_saved
12052 CC=$ac_wine_try_cflags_saved_cc
12053 ac_exeext=$ac_wine_try_cflags_saved_exeext
12055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12056 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12057 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12058 then :
12059 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12060 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12064 CFLAGS=$saved_CFLAGS
12065 LDFLAGS=$saved_LDFLAGS
12066 CC="$ac_save_CC"
12069 if test "x$CROSSTARGET" = "x"
12070 then :
12071 case "x$with_mingw" in
12072 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12073 xno) ;;
12074 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12075 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12076 esac
12081 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12082 then
12083 case "$host_cpu" in
12084 i[3456789]86*)
12085 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12087 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12088 esac
12089 for ac_prog in $ac_prefix_list
12091 # Extract the first word of "$ac_prog", so it can be a program name with args.
12092 set dummy $ac_prog; ac_word=$2
12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12094 printf %s "checking for $ac_word... " >&6; }
12095 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12096 then :
12097 printf %s "(cached) " >&6
12098 else $as_nop
12099 if test -n "$MINGW_PKG_CONFIG"; then
12100 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12101 else
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $PATH
12105 IFS=$as_save_IFS
12106 case $as_dir in #(((
12107 '') as_dir=./ ;;
12108 */) ;;
12109 *) as_dir=$as_dir/ ;;
12110 esac
12111 for ac_exec_ext in '' $ac_executable_extensions; do
12112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12113 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12115 break 2
12117 done
12118 done
12119 IFS=$as_save_IFS
12123 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12124 if test -n "$MINGW_PKG_CONFIG"; then
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12126 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12127 else
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 printf "%s\n" "no" >&6; }
12133 test -n "$MINGW_PKG_CONFIG" && break
12134 done
12135 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12137 if ${FAUDIO_PE_CFLAGS:+false} :
12138 then :
12139 if test ${MINGW_PKG_CONFIG+y}
12140 then :
12141 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12144 if ${FAUDIO_PE_LIBS:+false} :
12145 then :
12146 if test ${MINGW_PKG_CONFIG+y}
12147 then :
12148 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12151 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12152 ac_save_CPPFLAGS=$CPPFLAGS
12153 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12155 printf %s "checking for MinGW FAudio.h... " >&6; }
12156 if test ${ac_cv_mingw_header_FAudio_h+y}
12157 then :
12158 printf %s "(cached) " >&6
12159 else $as_nop
12160 ac_wine_check_headers_saved_cc=$CC
12161 ac_wine_check_headers_saved_exeext=$ac_exeext
12162 CC="$CROSSCC"
12163 ac_exeext=".exe"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 #include <FAudio.h>
12169 main (void)
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_compile "$LINENO"
12177 then :
12178 ac_cv_mingw_header_FAudio_h=yes
12179 else $as_nop
12180 ac_cv_mingw_header_FAudio_h=no
12182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12183 CC=$ac_wine_check_headers_saved_cc
12184 ac_exeext=$ac_wine_check_headers_saved_exeext
12186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12187 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12188 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12189 then :
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12191 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12192 if test ${ac_cv_mingw_lib_FAudio+y}
12193 then :
12194 printf %s "(cached) " >&6
12195 else $as_nop
12196 ac_wine_check_headers_saved_cc=$CC
12197 ac_wine_check_headers_saved_exeext=$ac_exeext
12198 ac_wine_check_headers_saved_libs=$LIBS
12199 CC="$CROSSCC"
12200 ac_exeext=".exe"
12201 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12208 char FAudio_CommitOperationSet ();
12210 main (void)
12212 return FAudio_CommitOperationSet ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"
12218 then :
12219 ac_cv_mingw_lib_FAudio=yes
12220 else $as_nop
12221 ac_cv_mingw_lib_FAudio=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12224 conftest$ac_exeext conftest.$ac_ext
12225 CC=$ac_wine_check_headers_saved_cc
12226 ac_exeext=$ac_wine_check_headers_saved_exeext
12227 LIBS=$ac_wine_check_headers_saved_libs
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12230 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12231 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12232 then :
12234 else $as_nop
12235 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12237 else $as_nop
12238 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12240 CPPFLAGS=$ac_save_CPPFLAGS
12242 if test "x$FAUDIO_PE_LIBS" = "x"
12243 then
12244 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12247 if ${JPEG_PE_CFLAGS:+false} :
12248 then :
12249 if test ${MINGW_PKG_CONFIG+y}
12250 then :
12251 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12254 if ${JPEG_PE_LIBS:+false} :
12255 then :
12256 if test ${MINGW_PKG_CONFIG+y}
12257 then :
12258 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12262 ac_save_CPPFLAGS=$CPPFLAGS
12263 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12265 printf %s "checking for MinGW jpeglib.h... " >&6; }
12266 if test ${ac_cv_mingw_header_jpeglib_h+y}
12267 then :
12268 printf %s "(cached) " >&6
12269 else $as_nop
12270 ac_wine_check_headers_saved_cc=$CC
12271 ac_wine_check_headers_saved_exeext=$ac_exeext
12272 CC="$CROSSCC"
12273 ac_exeext=".exe"
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12276 #include <stddef.h>
12277 #include <stdio.h>
12278 #include <jpeglib.h>
12280 main (void)
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_compile "$LINENO"
12288 then :
12289 ac_cv_mingw_header_jpeglib_h=yes
12290 else $as_nop
12291 ac_cv_mingw_header_jpeglib_h=no
12293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12294 CC=$ac_wine_check_headers_saved_cc
12295 ac_exeext=$ac_wine_check_headers_saved_exeext
12297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12298 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12299 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12300 then :
12301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12302 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12303 if test ${ac_cv_mingw_lib_jpeg+y}
12304 then :
12305 printf %s "(cached) " >&6
12306 else $as_nop
12307 ac_wine_check_headers_saved_cc=$CC
12308 ac_wine_check_headers_saved_exeext=$ac_exeext
12309 ac_wine_check_headers_saved_libs=$LIBS
12310 CC="$CROSSCC"
12311 ac_exeext=".exe"
12312 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 char jpeg_start_decompress ();
12321 main (void)
12323 return jpeg_start_decompress ();
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_link "$LINENO"
12329 then :
12330 ac_cv_mingw_lib_jpeg=yes
12331 else $as_nop
12332 ac_cv_mingw_lib_jpeg=no
12334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12335 conftest$ac_exeext conftest.$ac_ext
12336 CC=$ac_wine_check_headers_saved_cc
12337 ac_exeext=$ac_wine_check_headers_saved_exeext
12338 LIBS=$ac_wine_check_headers_saved_libs
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12341 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12342 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12343 then :
12345 else $as_nop
12346 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12348 else $as_nop
12349 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12351 CPPFLAGS=$ac_save_CPPFLAGS
12353 if test "x$JPEG_PE_LIBS" = "x"
12354 then
12355 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12358 if ${LCMS2_PE_CFLAGS:+false} :
12359 then :
12360 if test ${MINGW_PKG_CONFIG+y}
12361 then :
12362 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12365 if ${LCMS2_PE_LIBS:+false} :
12366 then :
12367 if test ${MINGW_PKG_CONFIG+y}
12368 then :
12369 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12372 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12373 ac_save_CPPFLAGS=$CPPFLAGS
12374 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12376 printf %s "checking for MinGW lcms2.h... " >&6; }
12377 if test ${ac_cv_mingw_header_lcms2_h+y}
12378 then :
12379 printf %s "(cached) " >&6
12380 else $as_nop
12381 ac_wine_check_headers_saved_cc=$CC
12382 ac_wine_check_headers_saved_exeext=$ac_exeext
12383 CC="$CROSSCC"
12384 ac_exeext=".exe"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 #include <lcms2.h>
12390 main (void)
12394 return 0;
12396 _ACEOF
12397 if ac_fn_c_try_compile "$LINENO"
12398 then :
12399 ac_cv_mingw_header_lcms2_h=yes
12400 else $as_nop
12401 ac_cv_mingw_header_lcms2_h=no
12403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12404 CC=$ac_wine_check_headers_saved_cc
12405 ac_exeext=$ac_wine_check_headers_saved_exeext
12407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12408 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12409 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12410 then :
12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12412 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12413 if test ${ac_cv_mingw_lib_lcms2+y}
12414 then :
12415 printf %s "(cached) " >&6
12416 else $as_nop
12417 ac_wine_check_headers_saved_cc=$CC
12418 ac_wine_check_headers_saved_exeext=$ac_exeext
12419 ac_wine_check_headers_saved_libs=$LIBS
12420 CC="$CROSSCC"
12421 ac_exeext=".exe"
12422 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 char cmsOpenProfileFromFile ();
12431 main (void)
12433 return cmsOpenProfileFromFile ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"
12439 then :
12440 ac_cv_mingw_lib_lcms2=yes
12441 else $as_nop
12442 ac_cv_mingw_lib_lcms2=no
12444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12445 conftest$ac_exeext conftest.$ac_ext
12446 CC=$ac_wine_check_headers_saved_cc
12447 ac_exeext=$ac_wine_check_headers_saved_exeext
12448 LIBS=$ac_wine_check_headers_saved_libs
12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12451 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12452 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12453 then :
12455 else $as_nop
12456 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12458 else $as_nop
12459 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12461 CPPFLAGS=$ac_save_CPPFLAGS
12463 if test "x$LCMS2_PE_LIBS" = "x"
12464 then
12465 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12468 if ${MPG123_PE_CFLAGS:+false} :
12469 then :
12470 if test ${MINGW_PKG_CONFIG+y}
12471 then :
12472 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12475 if ${MPG123_PE_LIBS:+false} :
12476 then :
12477 if test ${MINGW_PKG_CONFIG+y}
12478 then :
12479 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12482 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12483 ac_save_CPPFLAGS=$CPPFLAGS
12484 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12486 printf %s "checking for MinGW mpg123.h... " >&6; }
12487 if test ${ac_cv_mingw_header_mpg123_h+y}
12488 then :
12489 printf %s "(cached) " >&6
12490 else $as_nop
12491 ac_wine_check_headers_saved_cc=$CC
12492 ac_wine_check_headers_saved_exeext=$ac_exeext
12493 CC="$CROSSCC"
12494 ac_exeext=".exe"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 #include <mpg123.h>
12500 main (void)
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_compile "$LINENO"
12508 then :
12509 ac_cv_mingw_header_mpg123_h=yes
12510 else $as_nop
12511 ac_cv_mingw_header_mpg123_h=no
12513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12514 CC=$ac_wine_check_headers_saved_cc
12515 ac_exeext=$ac_wine_check_headers_saved_exeext
12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12518 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12519 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12520 then :
12521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12522 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12523 if test ${ac_cv_mingw_lib_mpg123+y}
12524 then :
12525 printf %s "(cached) " >&6
12526 else $as_nop
12527 ac_wine_check_headers_saved_cc=$CC
12528 ac_wine_check_headers_saved_exeext=$ac_exeext
12529 ac_wine_check_headers_saved_libs=$LIBS
12530 CC="$CROSSCC"
12531 ac_exeext=".exe"
12532 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 char mpg123_feed ();
12541 main (void)
12543 return mpg123_feed ();
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"
12549 then :
12550 ac_cv_mingw_lib_mpg123=yes
12551 else $as_nop
12552 ac_cv_mingw_lib_mpg123=no
12554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12555 conftest$ac_exeext conftest.$ac_ext
12556 CC=$ac_wine_check_headers_saved_cc
12557 ac_exeext=$ac_wine_check_headers_saved_exeext
12558 LIBS=$ac_wine_check_headers_saved_libs
12560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12561 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12562 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12563 then :
12565 else $as_nop
12566 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12568 else $as_nop
12569 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12571 CPPFLAGS=$ac_save_CPPFLAGS
12573 if test "x$MPG123_PE_LIBS" = "x"
12574 then
12575 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12578 if ${PNG_PE_CFLAGS:+false} :
12579 then :
12580 if test ${MINGW_PKG_CONFIG+y}
12581 then :
12582 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12585 if ${PNG_PE_LIBS:+false} :
12586 then :
12587 if test ${MINGW_PKG_CONFIG+y}
12588 then :
12589 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12593 ac_save_CPPFLAGS=$CPPFLAGS
12594 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12596 printf %s "checking for MinGW png.h... " >&6; }
12597 if test ${ac_cv_mingw_header_png_h+y}
12598 then :
12599 printf %s "(cached) " >&6
12600 else $as_nop
12601 ac_wine_check_headers_saved_cc=$CC
12602 ac_wine_check_headers_saved_exeext=$ac_exeext
12603 CC="$CROSSCC"
12604 ac_exeext=".exe"
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12608 #include <png.h>
12610 main (void)
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_compile "$LINENO"
12618 then :
12619 ac_cv_mingw_header_png_h=yes
12620 else $as_nop
12621 ac_cv_mingw_header_png_h=no
12623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12624 CC=$ac_wine_check_headers_saved_cc
12625 ac_exeext=$ac_wine_check_headers_saved_exeext
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12628 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12629 if test "x$ac_cv_mingw_header_png_h" = xyes
12630 then :
12631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12632 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12633 if test ${ac_cv_mingw_lib_png+y}
12634 then :
12635 printf %s "(cached) " >&6
12636 else $as_nop
12637 ac_wine_check_headers_saved_cc=$CC
12638 ac_wine_check_headers_saved_exeext=$ac_exeext
12639 ac_wine_check_headers_saved_libs=$LIBS
12640 CC="$CROSSCC"
12641 ac_exeext=".exe"
12642 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 char png_create_read_struct ();
12651 main (void)
12653 return png_create_read_struct ();
12655 return 0;
12657 _ACEOF
12658 if ac_fn_c_try_link "$LINENO"
12659 then :
12660 ac_cv_mingw_lib_png=yes
12661 else $as_nop
12662 ac_cv_mingw_lib_png=no
12664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12665 conftest$ac_exeext conftest.$ac_ext
12666 CC=$ac_wine_check_headers_saved_cc
12667 ac_exeext=$ac_wine_check_headers_saved_exeext
12668 LIBS=$ac_wine_check_headers_saved_libs
12670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12671 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12672 if test "x$ac_cv_mingw_lib_png" = xyes
12673 then :
12675 else $as_nop
12676 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12678 else $as_nop
12679 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12681 CPPFLAGS=$ac_save_CPPFLAGS
12683 if test "x$PNG_PE_LIBS" = "x"
12684 then
12685 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12688 if ${TIFF_PE_CFLAGS:+false} :
12689 then :
12690 if test ${MINGW_PKG_CONFIG+y}
12691 then :
12692 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12695 if ${TIFF_PE_LIBS:+false} :
12696 then :
12697 if test ${MINGW_PKG_CONFIG+y}
12698 then :
12699 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12703 ac_save_CPPFLAGS=$CPPFLAGS
12704 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12706 printf %s "checking for MinGW tiffio.h... " >&6; }
12707 if test ${ac_cv_mingw_header_tiffio_h+y}
12708 then :
12709 printf %s "(cached) " >&6
12710 else $as_nop
12711 ac_wine_check_headers_saved_cc=$CC
12712 ac_wine_check_headers_saved_exeext=$ac_exeext
12713 CC="$CROSSCC"
12714 ac_exeext=".exe"
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 #include <tiffio.h>
12720 main (void)
12724 return 0;
12726 _ACEOF
12727 if ac_fn_c_try_compile "$LINENO"
12728 then :
12729 ac_cv_mingw_header_tiffio_h=yes
12730 else $as_nop
12731 ac_cv_mingw_header_tiffio_h=no
12733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12734 CC=$ac_wine_check_headers_saved_cc
12735 ac_exeext=$ac_wine_check_headers_saved_exeext
12737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12738 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12739 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12740 then :
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12742 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12743 if test ${ac_cv_mingw_lib_tiff+y}
12744 then :
12745 printf %s "(cached) " >&6
12746 else $as_nop
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 ac_wine_check_headers_saved_libs=$LIBS
12750 CC="$CROSSCC"
12751 ac_exeext=".exe"
12752 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 char TIFFClientOpen ();
12761 main (void)
12763 return TIFFClientOpen ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"
12769 then :
12770 ac_cv_mingw_lib_tiff=yes
12771 else $as_nop
12772 ac_cv_mingw_lib_tiff=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12775 conftest$ac_exeext conftest.$ac_ext
12776 CC=$ac_wine_check_headers_saved_cc
12777 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 LIBS=$ac_wine_check_headers_saved_libs
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12781 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12782 if test "x$ac_cv_mingw_lib_tiff" = xyes
12783 then :
12785 else $as_nop
12786 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12788 else $as_nop
12789 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12791 CPPFLAGS=$ac_save_CPPFLAGS
12793 if test "x$TIFF_PE_LIBS" = "x"
12794 then
12795 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12798 if ${XML2_PE_CFLAGS:+false} :
12799 then :
12800 if test ${MINGW_PKG_CONFIG+y}
12801 then :
12802 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12805 if ${XML2_PE_LIBS:+false} :
12806 then :
12807 if test ${MINGW_PKG_CONFIG+y}
12808 then :
12809 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12812 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12813 ac_save_CPPFLAGS=$CPPFLAGS
12814 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12816 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12817 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12818 then :
12819 printf %s "(cached) " >&6
12820 else $as_nop
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 CC="$CROSSCC"
12824 ac_exeext=".exe"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 #include <libxml/parser.h>
12830 main (void)
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_compile "$LINENO"
12838 then :
12839 ac_cv_mingw_header_libxml_parser_h=yes
12840 else $as_nop
12841 ac_cv_mingw_header_libxml_parser_h=no
12843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12844 CC=$ac_wine_check_headers_saved_cc
12845 ac_exeext=$ac_wine_check_headers_saved_exeext
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12848 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12849 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12850 then :
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12854 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12855 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12856 then :
12857 printf %s "(cached) " >&6
12858 else $as_nop
12859 ac_wine_check_headers_saved_cc=$CC
12860 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 CC="$CROSSCC"
12862 ac_exeext=".exe"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 #include <libxml/xmlsave.h>
12868 main (void)
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_compile "$LINENO"
12876 then :
12877 ac_cv_mingw_header_libxml_xmlsave_h=yes
12878 else $as_nop
12879 ac_cv_mingw_header_libxml_xmlsave_h=no
12881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12882 CC=$ac_wine_check_headers_saved_cc
12883 ac_exeext=$ac_wine_check_headers_saved_exeext
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12886 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12887 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12888 then :
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12892 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12893 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12894 then :
12895 printf %s "(cached) " >&6
12896 else $as_nop
12897 ac_wine_check_headers_saved_cc=$CC
12898 ac_wine_check_headers_saved_exeext=$ac_exeext
12899 CC="$CROSSCC"
12900 ac_exeext=".exe"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 #include <libxml/SAX2.h>
12906 main (void)
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_compile "$LINENO"
12914 then :
12915 ac_cv_mingw_header_libxml_SAX2_h=yes
12916 else $as_nop
12917 ac_cv_mingw_header_libxml_SAX2_h=no
12919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12920 CC=$ac_wine_check_headers_saved_cc
12921 ac_exeext=$ac_wine_check_headers_saved_exeext
12923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12924 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12925 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12926 then :
12929 if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
12930 then
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12932 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12933 if test ${ac_cv_mingw_lib_xml2+y}
12934 then :
12935 printf %s "(cached) " >&6
12936 else $as_nop
12937 ac_wine_check_headers_saved_cc=$CC
12938 ac_wine_check_headers_saved_exeext=$ac_exeext
12939 ac_wine_check_headers_saved_libs=$LIBS
12940 CC="$CROSSCC"
12941 ac_exeext=".exe"
12942 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 char xmlFirstElementChild ();
12951 main (void)
12953 return xmlFirstElementChild ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"
12959 then :
12960 ac_cv_mingw_lib_xml2=yes
12961 else $as_nop
12962 ac_cv_mingw_lib_xml2=no
12964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12965 conftest$ac_exeext conftest.$ac_ext
12966 CC=$ac_wine_check_headers_saved_cc
12967 ac_exeext=$ac_wine_check_headers_saved_exeext
12968 LIBS=$ac_wine_check_headers_saved_libs
12970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12971 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12972 if test "x$ac_cv_mingw_lib_xml2" = xyes
12973 then :
12975 else $as_nop
12976 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12978 else
12979 XML2_PE_CFLAGS=""
12980 XML2_PE_LIBS=""
12982 CPPFLAGS=$ac_save_CPPFLAGS
12984 if test "x$XML2_PE_LIBS" = "x"
12985 then
12986 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12989 if ${XSLT_PE_CFLAGS:+false} :
12990 then :
12991 if test ${MINGW_PKG_CONFIG+y}
12992 then :
12993 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12996 if ${XSLT_PE_LIBS:+false} :
12997 then :
12998 if test ${MINGW_PKG_CONFIG+y}
12999 then :
13000 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13003 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13004 ac_save_CPPFLAGS=$CPPFLAGS
13005 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13007 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13008 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13009 then :
13010 printf %s "(cached) " >&6
13011 else $as_nop
13012 ac_wine_check_headers_saved_cc=$CC
13013 ac_wine_check_headers_saved_exeext=$ac_exeext
13014 CC="$CROSSCC"
13015 ac_exeext=".exe"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 #include <libxslt/pattern.h>
13021 main (void)
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_compile "$LINENO"
13029 then :
13030 ac_cv_mingw_header_libxslt_pattern_h=yes
13031 else $as_nop
13032 ac_cv_mingw_header_libxslt_pattern_h=no
13034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13035 CC=$ac_wine_check_headers_saved_cc
13036 ac_exeext=$ac_wine_check_headers_saved_exeext
13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13039 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13040 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13041 then :
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13045 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13046 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13047 then :
13048 printf %s "(cached) " >&6
13049 else $as_nop
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 CC="$CROSSCC"
13053 ac_exeext=".exe"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 #include <libxslt/transform.h>
13059 main (void)
13063 return 0;
13065 _ACEOF
13066 if ac_fn_c_try_compile "$LINENO"
13067 then :
13068 ac_cv_mingw_header_libxslt_transform_h=yes
13069 else $as_nop
13070 ac_cv_mingw_header_libxslt_transform_h=no
13072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13073 CC=$ac_wine_check_headers_saved_cc
13074 ac_exeext=$ac_wine_check_headers_saved_exeext
13076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13077 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13078 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13079 then :
13082 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13083 then
13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13085 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13086 if test ${ac_cv_mingw_lib_xslt+y}
13087 then :
13088 printf %s "(cached) " >&6
13089 else $as_nop
13090 ac_wine_check_headers_saved_cc=$CC
13091 ac_wine_check_headers_saved_exeext=$ac_exeext
13092 ac_wine_check_headers_saved_libs=$LIBS
13093 CC="$CROSSCC"
13094 ac_exeext=".exe"
13095 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h. */
13099 /* Override any GCC internal prototype to avoid an error.
13100 Use char because int might match the return type of a GCC
13101 builtin and then its argument prototype would still apply. */
13102 char xsltCompilePattern ();
13104 main (void)
13106 return xsltCompilePattern ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"
13112 then :
13113 ac_cv_mingw_lib_xslt=yes
13114 else $as_nop
13115 ac_cv_mingw_lib_xslt=no
13117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13118 conftest$ac_exeext conftest.$ac_ext
13119 CC=$ac_wine_check_headers_saved_cc
13120 ac_exeext=$ac_wine_check_headers_saved_exeext
13121 LIBS=$ac_wine_check_headers_saved_libs
13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13124 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13125 if test "x$ac_cv_mingw_lib_xslt" = xyes
13126 then :
13128 else $as_nop
13129 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13131 else
13132 XSLT_PE_CFLAGS=""
13133 XSLT_PE_LIBS=""
13135 CPPFLAGS=$ac_save_CPPFLAGS
13137 if test "x$XSLT_PE_LIBS" = "x"
13138 then
13139 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13142 if ${ZLIB_PE_CFLAGS:+false} :
13143 then :
13144 if test ${MINGW_PKG_CONFIG+y}
13145 then :
13146 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13149 if ${ZLIB_PE_LIBS:+false} :
13150 then :
13151 if test ${MINGW_PKG_CONFIG+y}
13152 then :
13153 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13156 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13157 ac_save_CPPFLAGS=$CPPFLAGS
13158 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13160 printf %s "checking for MinGW zlib.h... " >&6; }
13161 if test ${ac_cv_mingw_header_zlib_h+y}
13162 then :
13163 printf %s "(cached) " >&6
13164 else $as_nop
13165 ac_wine_check_headers_saved_cc=$CC
13166 ac_wine_check_headers_saved_exeext=$ac_exeext
13167 CC="$CROSSCC"
13168 ac_exeext=".exe"
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 #include <zlib.h>
13174 main (void)
13178 return 0;
13180 _ACEOF
13181 if ac_fn_c_try_compile "$LINENO"
13182 then :
13183 ac_cv_mingw_header_zlib_h=yes
13184 else $as_nop
13185 ac_cv_mingw_header_zlib_h=no
13187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13188 CC=$ac_wine_check_headers_saved_cc
13189 ac_exeext=$ac_wine_check_headers_saved_exeext
13191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13192 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13193 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13194 then :
13195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13196 printf %s "checking for inflate in MinGW -lz... " >&6; }
13197 if test ${ac_cv_mingw_lib_z+y}
13198 then :
13199 printf %s "(cached) " >&6
13200 else $as_nop
13201 ac_wine_check_headers_saved_cc=$CC
13202 ac_wine_check_headers_saved_exeext=$ac_exeext
13203 ac_wine_check_headers_saved_libs=$LIBS
13204 CC="$CROSSCC"
13205 ac_exeext=".exe"
13206 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13213 char inflate ();
13215 main (void)
13217 return inflate ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"
13223 then :
13224 ac_cv_mingw_lib_z=yes
13225 else $as_nop
13226 ac_cv_mingw_lib_z=no
13228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13229 conftest$ac_exeext conftest.$ac_ext
13230 CC=$ac_wine_check_headers_saved_cc
13231 ac_exeext=$ac_wine_check_headers_saved_exeext
13232 LIBS=$ac_wine_check_headers_saved_libs
13234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13235 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13236 if test "x$ac_cv_mingw_lib_z" = xyes
13237 then :
13239 else $as_nop
13240 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13242 else $as_nop
13243 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13245 CPPFLAGS=$ac_save_CPPFLAGS
13247 if test "x$ZLIB_PE_LIBS" = "x"
13248 then
13249 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13253 if ${FAUDIO_PE_LIBS:+false} :
13254 then :
13255 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13256 if ${FAUDIO_PE_CFLAGS:+false} :
13257 then :
13258 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13259 else $as_nop
13260 enable_faudio=no
13262 else $as_nop
13263 enable_faudio=no
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13268 if ${GSM_PE_LIBS:+false} :
13269 then :
13270 GSM_PE_LIBS=gsm
13271 if ${GSM_PE_CFLAGS:+false} :
13272 then :
13273 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13274 else $as_nop
13275 enable_gsm=no
13277 else $as_nop
13278 enable_gsm=no
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13283 if ${JPEG_PE_LIBS:+false} :
13284 then :
13285 JPEG_PE_LIBS=jpeg
13286 if ${JPEG_PE_CFLAGS:+false} :
13287 then :
13288 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13289 else $as_nop
13290 enable_jpeg=no
13292 else $as_nop
13293 enable_jpeg=no
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13298 if ${JXR_PE_LIBS:+false} :
13299 then :
13300 JXR_PE_LIBS=jxr
13301 if ${JXR_PE_CFLAGS:+false} :
13302 then :
13303 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13304 else $as_nop
13305 enable_jxr=no
13307 else $as_nop
13308 enable_jxr=no
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13313 if ${LCMS2_PE_LIBS:+false} :
13314 then :
13315 LCMS2_PE_LIBS=lcms2
13316 if ${LCMS2_PE_CFLAGS:+false} :
13317 then :
13318 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13319 else $as_nop
13320 enable_lcms2=no
13322 else $as_nop
13323 enable_lcms2=no
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13328 if ${MPG123_PE_LIBS:+false} :
13329 then :
13330 MPG123_PE_LIBS=mpg123
13331 if ${MPG123_PE_CFLAGS:+false} :
13332 then :
13333 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13334 else $as_nop
13335 enable_mpg123=no
13337 else $as_nop
13338 enable_mpg123=no
13340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13343 if ${PNG_PE_LIBS:+false} :
13344 then :
13345 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13346 if ${PNG_PE_CFLAGS:+false} :
13347 then :
13348 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13349 else $as_nop
13350 enable_png=no
13352 else $as_nop
13353 enable_png=no
13355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13358 if ${TIFF_PE_LIBS:+false} :
13359 then :
13360 TIFF_PE_LIBS=tiff
13361 if ${TIFF_PE_CFLAGS:+false} :
13362 then :
13363 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13364 else $as_nop
13365 enable_tiff=no
13367 else $as_nop
13368 enable_tiff=no
13370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13373 if ${XML2_PE_LIBS:+false} :
13374 then :
13375 XML2_PE_LIBS=xml2
13376 if ${XML2_PE_CFLAGS:+false} :
13377 then :
13378 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13379 else $as_nop
13380 enable_xml2=no
13382 else $as_nop
13383 enable_xml2=no
13385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13388 if ${XSLT_PE_LIBS:+false} :
13389 then :
13390 XSLT_PE_LIBS=xslt
13391 if ${XSLT_PE_CFLAGS:+false} :
13392 then :
13393 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13394 else $as_nop
13395 enable_xslt=no
13397 else $as_nop
13398 enable_xslt=no
13400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13403 if ${ZLIB_PE_LIBS:+false} :
13404 then :
13405 ZLIB_PE_LIBS=z
13406 if ${ZLIB_PE_CFLAGS:+false} :
13407 then :
13408 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13409 else $as_nop
13410 enable_zlib=no
13412 else $as_nop
13413 enable_zlib=no
13415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13420 if test "$ac_cv_header_pthread_h" = "yes"
13421 then
13422 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13423 if test "x$ac_cv_func_pthread_create" = xyes
13424 then :
13426 else $as_nop
13427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13428 printf %s "checking for pthread_create in -lpthread... " >&6; }
13429 if test ${ac_cv_lib_pthread_pthread_create+y}
13430 then :
13431 printf %s "(cached) " >&6
13432 else $as_nop
13433 ac_check_lib_save_LIBS=$LIBS
13434 LIBS="-lpthread $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 char pthread_create ();
13443 main (void)
13445 return pthread_create ();
13447 return 0;
13449 _ACEOF
13450 if ac_fn_c_try_link "$LINENO"
13451 then :
13452 ac_cv_lib_pthread_pthread_create=yes
13453 else $as_nop
13454 ac_cv_lib_pthread_pthread_create=no
13456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13457 conftest$ac_exeext conftest.$ac_ext
13458 LIBS=$ac_check_lib_save_LIBS
13460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13461 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13462 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13463 then :
13464 PTHREAD_LIBS="-lpthread"
13471 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13472 then :
13473 case "x$with_pthread" in
13474 xno) ;;
13475 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13476 Wine cannot support threads without libpthread.
13477 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13478 esac
13483 ac_ext=c
13484 ac_cpp='$CPP $CPPFLAGS'
13485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13489 printf %s "checking how to run the C preprocessor... " >&6; }
13490 # On Suns, sometimes $CPP names a directory.
13491 if test -n "$CPP" && test -d "$CPP"; then
13492 CPP=
13494 if test -z "$CPP"; then
13495 if test ${ac_cv_prog_CPP+y}
13496 then :
13497 printf %s "(cached) " >&6
13498 else $as_nop
13499 # Double quotes because $CC needs to be expanded
13500 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13502 ac_preproc_ok=false
13503 for ac_c_preproc_warn_flag in '' yes
13505 # Use a header file that comes with gcc, so configuring glibc
13506 # with a fresh cross-compiler works.
13507 # On the NeXT, cc -E runs the code through the compiler's parser,
13508 # not just through cpp. "Syntax error" is here to catch this case.
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13511 #include <limits.h>
13512 Syntax error
13513 _ACEOF
13514 if ac_fn_c_try_cpp "$LINENO"
13515 then :
13517 else $as_nop
13518 # Broken: fails on valid input.
13519 continue
13521 rm -f conftest.err conftest.i conftest.$ac_ext
13523 # OK, works on sane cases. Now check whether nonexistent headers
13524 # can be detected and how.
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13527 #include <ac_nonexistent.h>
13528 _ACEOF
13529 if ac_fn_c_try_cpp "$LINENO"
13530 then :
13531 # Broken: success on invalid input.
13532 continue
13533 else $as_nop
13534 # Passes both tests.
13535 ac_preproc_ok=:
13536 break
13538 rm -f conftest.err conftest.i conftest.$ac_ext
13540 done
13541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13542 rm -f conftest.i conftest.err conftest.$ac_ext
13543 if $ac_preproc_ok
13544 then :
13545 break
13548 done
13549 ac_cv_prog_CPP=$CPP
13552 CPP=$ac_cv_prog_CPP
13553 else
13554 ac_cv_prog_CPP=$CPP
13556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13557 printf "%s\n" "$CPP" >&6; }
13558 ac_preproc_ok=false
13559 for ac_c_preproc_warn_flag in '' yes
13561 # Use a header file that comes with gcc, so configuring glibc
13562 # with a fresh cross-compiler works.
13563 # On the NeXT, cc -E runs the code through the compiler's parser,
13564 # not just through cpp. "Syntax error" is here to catch this case.
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #include <limits.h>
13568 Syntax error
13569 _ACEOF
13570 if ac_fn_c_try_cpp "$LINENO"
13571 then :
13573 else $as_nop
13574 # Broken: fails on valid input.
13575 continue
13577 rm -f conftest.err conftest.i conftest.$ac_ext
13579 # OK, works on sane cases. Now check whether nonexistent headers
13580 # can be detected and how.
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13583 #include <ac_nonexistent.h>
13584 _ACEOF
13585 if ac_fn_c_try_cpp "$LINENO"
13586 then :
13587 # Broken: success on invalid input.
13588 continue
13589 else $as_nop
13590 # Passes both tests.
13591 ac_preproc_ok=:
13592 break
13594 rm -f conftest.err conftest.i conftest.$ac_ext
13596 done
13597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13598 rm -f conftest.i conftest.err conftest.$ac_ext
13599 if $ac_preproc_ok
13600 then :
13602 else $as_nop
13603 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13604 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13605 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13606 See \`config.log' for more details" "$LINENO" 5; }
13609 ac_ext=c
13610 ac_cpp='$CPP $CPPFLAGS'
13611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13617 printf %s "checking for X... " >&6; }
13620 # Check whether --with-x was given.
13621 if test ${with_x+y}
13622 then :
13623 withval=$with_x;
13626 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13627 if test "x$with_x" = xno; then
13628 # The user explicitly disabled X.
13629 have_x=disabled
13630 else
13631 case $x_includes,$x_libraries in #(
13632 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13633 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13634 then :
13635 printf %s "(cached) " >&6
13636 else $as_nop
13637 # One or both of the vars are not set, and there is no cached value.
13638 ac_x_includes=no
13639 ac_x_libraries=no
13640 # Do we need to do anything special at all?
13641 ac_save_LIBS=$LIBS
13642 LIBS="-lX11 $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <X11/Xlib.h>
13647 main (void)
13649 XrmInitialize ()
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"
13655 then :
13656 # We can compile and link X programs with no special options.
13657 ac_x_includes=
13658 ac_x_libraries=
13660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13661 conftest$ac_exeext conftest.$ac_ext
13662 LIBS="$ac_save_LIBS"
13663 # If that didn't work, only try xmkmf and file system searches
13664 # for native compilation.
13665 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13666 then :
13667 rm -f -r conftest.dir
13668 if mkdir conftest.dir; then
13669 cd conftest.dir
13670 cat >Imakefile <<'_ACEOF'
13671 incroot:
13672 @echo incroot='${INCROOT}'
13673 usrlibdir:
13674 @echo usrlibdir='${USRLIBDIR}'
13675 libdir:
13676 @echo libdir='${LIBDIR}'
13677 _ACEOF
13678 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13679 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13680 for ac_var in incroot usrlibdir libdir; do
13681 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13682 done
13683 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13684 for ac_extension in a so sl dylib la dll; do
13685 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13686 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13687 ac_im_usrlibdir=$ac_im_libdir; break
13689 done
13690 # Screen out bogus values from the imake configuration. They are
13691 # bogus both because they are the default anyway, and because
13692 # using them would break gcc on systems where it needs fixed includes.
13693 case $ac_im_incroot in
13694 /usr/include) ac_x_includes= ;;
13695 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13696 esac
13697 case $ac_im_usrlibdir in
13698 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13699 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13700 esac
13702 cd ..
13703 rm -f -r conftest.dir
13706 # Standard set of common directories for X headers.
13707 # Check X11 before X11Rn because it is often a symlink to the current release.
13708 ac_x_header_dirs='
13709 /usr/X11/include
13710 /usr/X11R7/include
13711 /usr/X11R6/include
13712 /usr/X11R5/include
13713 /usr/X11R4/include
13715 /usr/include/X11
13716 /usr/include/X11R7
13717 /usr/include/X11R6
13718 /usr/include/X11R5
13719 /usr/include/X11R4
13721 /usr/local/X11/include
13722 /usr/local/X11R7/include
13723 /usr/local/X11R6/include
13724 /usr/local/X11R5/include
13725 /usr/local/X11R4/include
13727 /usr/local/include/X11
13728 /usr/local/include/X11R7
13729 /usr/local/include/X11R6
13730 /usr/local/include/X11R5
13731 /usr/local/include/X11R4
13733 /opt/X11/include
13735 /usr/X386/include
13736 /usr/x386/include
13737 /usr/XFree86/include/X11
13739 /usr/include
13740 /usr/local/include
13741 /usr/unsupported/include
13742 /usr/athena/include
13743 /usr/local/x11r5/include
13744 /usr/lpp/Xamples/include
13746 /usr/openwin/include
13747 /usr/openwin/share/include'
13749 if test "$ac_x_includes" = no; then
13750 # Guess where to find include files, by looking for Xlib.h.
13751 # First, try using that file with no special directory specified.
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 #include <X11/Xlib.h>
13755 _ACEOF
13756 if ac_fn_c_try_cpp "$LINENO"
13757 then :
13758 # We can compile using X headers with no special include directory.
13759 ac_x_includes=
13760 else $as_nop
13761 for ac_dir in $ac_x_header_dirs; do
13762 if test -r "$ac_dir/X11/Xlib.h"; then
13763 ac_x_includes=$ac_dir
13764 break
13766 done
13768 rm -f conftest.err conftest.i conftest.$ac_ext
13769 fi # $ac_x_includes = no
13771 if test "$ac_x_libraries" = no; then
13772 # Check for the libraries.
13773 # See if we find them without any special options.
13774 # Don't add to $LIBS permanently.
13775 ac_save_LIBS=$LIBS
13776 LIBS="-lX11 $LIBS"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 #include <X11/Xlib.h>
13781 main (void)
13783 XrmInitialize ()
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"
13789 then :
13790 LIBS=$ac_save_LIBS
13791 # We can link X programs with no special library path.
13792 ac_x_libraries=
13793 else $as_nop
13794 LIBS=$ac_save_LIBS
13795 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13797 # Don't even attempt the hair of trying to link an X program!
13798 for ac_extension in a so sl dylib la dll; do
13799 if test -r "$ac_dir/libX11.$ac_extension"; then
13800 ac_x_libraries=$ac_dir
13801 break 2
13803 done
13804 done
13806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13807 conftest$ac_exeext conftest.$ac_ext
13808 fi # $ac_x_libraries = no
13811 # Record the results.
13812 case $ac_x_includes,$ac_x_libraries in #(
13813 no,* | *,no | *\'*) :
13814 # Didn't find X, or a directory has "'" in its name.
13815 ac_cv_have_x="have_x=no" ;; #(
13816 *) :
13817 # Record where we found X for the cache.
13818 ac_cv_have_x="have_x=yes\
13819 ac_x_includes='$ac_x_includes'\
13820 ac_x_libraries='$ac_x_libraries'" ;;
13821 esac
13823 ;; #(
13824 *) have_x=yes;;
13825 esac
13826 eval "$ac_cv_have_x"
13827 fi # $with_x != no
13829 if test "$have_x" != yes; then
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13831 printf "%s\n" "$have_x" >&6; }
13832 no_x=yes
13833 else
13834 # If each of the values was on the command line, it overrides each guess.
13835 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13836 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13837 # Update the cache value to reflect the command line values.
13838 ac_cv_have_x="have_x=yes\
13839 ac_x_includes='$x_includes'\
13840 ac_x_libraries='$x_libraries'"
13841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13842 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13845 if test "$no_x" = yes; then
13846 # Not all programs may use this symbol, but it does not hurt to define it.
13848 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13850 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13851 else
13852 if test -n "$x_includes"; then
13853 X_CFLAGS="$X_CFLAGS -I$x_includes"
13856 # It would also be nice to do this for all -L options, not just this one.
13857 if test -n "$x_libraries"; then
13858 X_LIBS="$X_LIBS -L$x_libraries"
13859 # For Solaris; some versions of Sun CC require a space after -R and
13860 # others require no space. Words are not sufficient . . . .
13861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13862 printf %s "checking whether -R must be followed by a space... " >&6; }
13863 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13864 ac_xsave_c_werror_flag=$ac_c_werror_flag
13865 ac_c_werror_flag=yes
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13870 main (void)
13874 return 0;
13876 _ACEOF
13877 if ac_fn_c_try_link "$LINENO"
13878 then :
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13880 printf "%s\n" "no" >&6; }
13881 X_LIBS="$X_LIBS -R$x_libraries"
13882 else $as_nop
13883 LIBS="$ac_xsave_LIBS -R $x_libraries"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13888 main (void)
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"
13896 then :
13897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13898 printf "%s\n" "yes" >&6; }
13899 X_LIBS="$X_LIBS -R $x_libraries"
13900 else $as_nop
13901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13902 printf "%s\n" "neither works" >&6; }
13904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13905 conftest$ac_exeext conftest.$ac_ext
13907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13908 conftest$ac_exeext conftest.$ac_ext
13909 ac_c_werror_flag=$ac_xsave_c_werror_flag
13910 LIBS=$ac_xsave_LIBS
13913 # Check for system-dependent libraries X programs must link with.
13914 # Do this before checking for the system-independent R6 libraries
13915 # (-lICE), since we may need -lsocket or whatever for X linking.
13917 if test "$ISC" = yes; then
13918 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13919 else
13920 # Martyn Johnson says this is needed for Ultrix, if the X
13921 # libraries were built with DECnet support. And Karl Berry says
13922 # the Alpha needs dnet_stub (dnet does not exist).
13923 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13927 /* Override any GCC internal prototype to avoid an error.
13928 Use char because int might match the return type of a GCC
13929 builtin and then its argument prototype would still apply. */
13930 char XOpenDisplay ();
13932 main (void)
13934 return XOpenDisplay ();
13936 return 0;
13938 _ACEOF
13939 if ac_fn_c_try_link "$LINENO"
13940 then :
13942 else $as_nop
13943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13944 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13945 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13946 then :
13947 printf %s "(cached) " >&6
13948 else $as_nop
13949 ac_check_lib_save_LIBS=$LIBS
13950 LIBS="-ldnet $LIBS"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 char dnet_ntoa ();
13959 main (void)
13961 return dnet_ntoa ();
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"
13967 then :
13968 ac_cv_lib_dnet_dnet_ntoa=yes
13969 else $as_nop
13970 ac_cv_lib_dnet_dnet_ntoa=no
13972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13973 conftest$ac_exeext conftest.$ac_ext
13974 LIBS=$ac_check_lib_save_LIBS
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13977 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13978 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13979 then :
13980 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13983 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13985 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13986 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13987 then :
13988 printf %s "(cached) " >&6
13989 else $as_nop
13990 ac_check_lib_save_LIBS=$LIBS
13991 LIBS="-ldnet_stub $LIBS"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
13998 char dnet_ntoa ();
14000 main (void)
14002 return dnet_ntoa ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"
14008 then :
14009 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14010 else $as_nop
14011 ac_cv_lib_dnet_stub_dnet_ntoa=no
14013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_check_lib_save_LIBS
14017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14018 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14019 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14020 then :
14021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14027 conftest$ac_exeext conftest.$ac_ext
14028 LIBS="$ac_xsave_LIBS"
14030 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14031 # to get the SysV transport functions.
14032 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14033 # needs -lnsl.
14034 # The nsl library prevents programs from opening the X display
14035 # on Irix 5.2, according to T.E. Dickey.
14036 # The functions gethostbyname, getservbyname, and inet_addr are
14037 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14038 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14039 if test "x$ac_cv_func_gethostbyname" = xyes
14040 then :
14044 if test $ac_cv_func_gethostbyname = no; then
14045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14046 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14047 if test ${ac_cv_lib_nsl_gethostbyname+y}
14048 then :
14049 printf %s "(cached) " >&6
14050 else $as_nop
14051 ac_check_lib_save_LIBS=$LIBS
14052 LIBS="-lnsl $LIBS"
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14059 char gethostbyname ();
14061 main (void)
14063 return gethostbyname ();
14065 return 0;
14067 _ACEOF
14068 if ac_fn_c_try_link "$LINENO"
14069 then :
14070 ac_cv_lib_nsl_gethostbyname=yes
14071 else $as_nop
14072 ac_cv_lib_nsl_gethostbyname=no
14074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14075 conftest$ac_exeext conftest.$ac_ext
14076 LIBS=$ac_check_lib_save_LIBS
14078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14079 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14080 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14081 then :
14082 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14085 if test $ac_cv_lib_nsl_gethostbyname = no; then
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14087 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14088 if test ${ac_cv_lib_bsd_gethostbyname+y}
14089 then :
14090 printf %s "(cached) " >&6
14091 else $as_nop
14092 ac_check_lib_save_LIBS=$LIBS
14093 LIBS="-lbsd $LIBS"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 /* Override any GCC internal prototype to avoid an error.
14098 Use char because int might match the return type of a GCC
14099 builtin and then its argument prototype would still apply. */
14100 char gethostbyname ();
14102 main (void)
14104 return gethostbyname ();
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"
14110 then :
14111 ac_cv_lib_bsd_gethostbyname=yes
14112 else $as_nop
14113 ac_cv_lib_bsd_gethostbyname=no
14115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14116 conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_lib_save_LIBS
14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14120 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14121 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14122 then :
14123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14129 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14130 # socket/setsockopt and other routines are undefined under SCO ODT
14131 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14132 # on later versions), says Simon Leinen: it contains gethostby*
14133 # variants that don't use the name server (or something). -lsocket
14134 # must be given before -lnsl if both are needed. We assume that
14135 # if connect needs -lnsl, so does gethostbyname.
14136 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14137 if test "x$ac_cv_func_connect" = xyes
14138 then :
14142 if test $ac_cv_func_connect = no; then
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14144 printf %s "checking for connect in -lsocket... " >&6; }
14145 if test ${ac_cv_lib_socket_connect+y}
14146 then :
14147 printf %s "(cached) " >&6
14148 else $as_nop
14149 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14157 char connect ();
14159 main (void)
14161 return connect ();
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"
14167 then :
14168 ac_cv_lib_socket_connect=yes
14169 else $as_nop
14170 ac_cv_lib_socket_connect=no
14172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14173 conftest$ac_exeext conftest.$ac_ext
14174 LIBS=$ac_check_lib_save_LIBS
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14177 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14178 if test "x$ac_cv_lib_socket_connect" = xyes
14179 then :
14180 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14185 # Guillermo Gomez says -lposix is necessary on A/UX.
14186 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14187 if test "x$ac_cv_func_remove" = xyes
14188 then :
14192 if test $ac_cv_func_remove = no; then
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14194 printf %s "checking for remove in -lposix... " >&6; }
14195 if test ${ac_cv_lib_posix_remove+y}
14196 then :
14197 printf %s "(cached) " >&6
14198 else $as_nop
14199 ac_check_lib_save_LIBS=$LIBS
14200 LIBS="-lposix $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14207 char remove ();
14209 main (void)
14211 return remove ();
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"
14217 then :
14218 ac_cv_lib_posix_remove=yes
14219 else $as_nop
14220 ac_cv_lib_posix_remove=no
14222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14223 conftest$ac_exeext conftest.$ac_ext
14224 LIBS=$ac_check_lib_save_LIBS
14226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14227 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14228 if test "x$ac_cv_lib_posix_remove" = xyes
14229 then :
14230 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14235 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14236 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14237 if test "x$ac_cv_func_shmat" = xyes
14238 then :
14242 if test $ac_cv_func_shmat = no; then
14243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14244 printf %s "checking for shmat in -lipc... " >&6; }
14245 if test ${ac_cv_lib_ipc_shmat+y}
14246 then :
14247 printf %s "(cached) " >&6
14248 else $as_nop
14249 ac_check_lib_save_LIBS=$LIBS
14250 LIBS="-lipc $LIBS"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 char shmat ();
14259 main (void)
14261 return shmat ();
14263 return 0;
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"
14267 then :
14268 ac_cv_lib_ipc_shmat=yes
14269 else $as_nop
14270 ac_cv_lib_ipc_shmat=no
14272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS=$ac_check_lib_save_LIBS
14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14277 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14278 if test "x$ac_cv_lib_ipc_shmat" = xyes
14279 then :
14280 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14286 # Check for libraries that X11R6 Xt/Xaw programs need.
14287 ac_save_LDFLAGS=$LDFLAGS
14288 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14289 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14290 # check for ICE first), but we must link in the order -lSM -lICE or
14291 # we get undefined symbols. So assume we have SM if we have ICE.
14292 # These have to be linked with before -lX11, unlike the other
14293 # libraries we check for below, so use a different variable.
14294 # John Interrante, Karl Berry
14295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14296 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14297 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14298 then :
14299 printf %s "(cached) " >&6
14300 else $as_nop
14301 ac_check_lib_save_LIBS=$LIBS
14302 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 /* Override any GCC internal prototype to avoid an error.
14307 Use char because int might match the return type of a GCC
14308 builtin and then its argument prototype would still apply. */
14309 char IceConnectionNumber ();
14311 main (void)
14313 return IceConnectionNumber ();
14315 return 0;
14317 _ACEOF
14318 if ac_fn_c_try_link "$LINENO"
14319 then :
14320 ac_cv_lib_ICE_IceConnectionNumber=yes
14321 else $as_nop
14322 ac_cv_lib_ICE_IceConnectionNumber=no
14324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14325 conftest$ac_exeext conftest.$ac_ext
14326 LIBS=$ac_check_lib_save_LIBS
14328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14329 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14330 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14331 then :
14332 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14335 LDFLAGS=$ac_save_LDFLAGS
14340 if test "$have_x" = "yes"
14341 then
14342 ac_save_CPPFLAGS="$CPPFLAGS"
14343 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14346 printf %s "checking for -lX11... " >&6; }
14347 if test ${ac_cv_lib_soname_X11+y}
14348 then :
14349 printf %s "(cached) " >&6
14350 else $as_nop
14351 ac_check_soname_save_LIBS=$LIBS
14352 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14359 char XCreateWindow ();
14361 main (void)
14363 return XCreateWindow ();
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"
14369 then :
14370 case "$LIBEXT" in
14371 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14372 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'` ;;
14373 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14374 if ${ac_cv_lib_soname_X11:+false} :
14375 then :
14376 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14377 fi ;;
14378 esac
14379 else $as_nop
14380 ac_cv_lib_soname_X11=
14382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14383 conftest$ac_exeext conftest.$ac_ext
14384 LIBS=$ac_check_soname_save_LIBS
14386 if ${ac_cv_lib_soname_X11:+false} :
14387 then :
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14389 printf "%s\n" "not found" >&6; }
14391 else $as_nop
14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14393 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14395 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14400 printf %s "checking for -lXext... " >&6; }
14401 if test ${ac_cv_lib_soname_Xext+y}
14402 then :
14403 printf %s "(cached) " >&6
14404 else $as_nop
14405 ac_check_soname_save_LIBS=$LIBS
14406 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14413 char XextCreateExtension ();
14415 main (void)
14417 return XextCreateExtension ();
14419 return 0;
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"
14423 then :
14424 case "$LIBEXT" in
14425 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14426 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'` ;;
14427 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14428 if ${ac_cv_lib_soname_Xext:+false} :
14429 then :
14430 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14431 fi ;;
14432 esac
14433 else $as_nop
14434 ac_cv_lib_soname_Xext=
14436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14437 conftest$ac_exeext conftest.$ac_ext
14438 LIBS=$ac_check_soname_save_LIBS
14440 if ${ac_cv_lib_soname_Xext:+false} :
14441 then :
14442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14443 printf "%s\n" "not found" >&6; }
14445 else $as_nop
14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14447 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14449 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14451 X_LIBS="$X_LIBS -lXext"
14453 X_LIBS="$X_LIBS -lX11"
14455 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14456 # include <X11/Xlib.h>
14457 #endif
14458 #ifdef HAVE_X11_XUTIL_H
14459 # include <X11/Xutil.h>
14460 #endif
14462 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14463 then :
14464 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14467 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14468 # include <X11/Xlib.h>
14469 #endif
14470 #ifdef HAVE_X11_XUTIL_H
14471 # include <X11/Xutil.h>
14472 #endif
14474 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14475 then :
14476 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14479 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14480 # include <X11/Xlib.h>
14481 #endif
14482 #ifdef HAVE_X11_XUTIL_H
14483 # include <X11/Xutil.h>
14484 #endif
14486 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14487 then :
14488 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14491 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14492 # include <X11/Xlib.h>
14493 #endif
14494 #ifdef HAVE_X11_XUTIL_H
14495 # include <X11/Xutil.h>
14496 #endif
14498 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14499 then :
14500 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14503 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14504 # include <X11/Xlib.h>
14505 #endif
14506 #ifdef HAVE_X11_XUTIL_H
14507 # include <X11/Xutil.h>
14508 #endif
14510 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14511 then :
14512 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14515 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14516 # include <X11/Xlib.h>
14517 #endif
14518 #ifdef HAVE_X11_XUTIL_H
14519 # include <X11/Xutil.h>
14520 #endif
14522 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14523 then :
14524 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14527 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14528 # include <X11/Xlib.h>
14529 #endif
14530 #ifdef HAVE_X11_XUTIL_H
14531 # include <X11/Xutil.h>
14532 #endif
14534 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14535 then :
14536 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14539 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14540 # include <X11/Xlib.h>
14541 #endif
14542 #ifdef HAVE_X11_XUTIL_H
14543 # include <X11/Xutil.h>
14544 #endif
14546 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14547 then :
14548 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14551 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14552 # include <X11/Xlib.h>
14553 #endif
14554 #ifdef HAVE_X11_XUTIL_H
14555 # include <X11/Xutil.h>
14556 #endif
14558 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14559 then :
14560 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14563 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14564 # include <X11/Xlib.h>
14565 #endif
14566 #ifdef HAVE_X11_XUTIL_H
14567 # include <X11/Xutil.h>
14568 #endif
14570 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14571 then :
14572 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14575 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14576 # include <X11/Xlib.h>
14577 #endif
14578 #ifdef HAVE_X11_XUTIL_H
14579 # include <X11/Xutil.h>
14580 #endif
14582 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14583 then :
14584 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14587 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14588 # include <X11/Xlib.h>
14589 #endif
14590 #ifdef HAVE_X11_XUTIL_H
14591 # include <X11/Xutil.h>
14592 #endif
14594 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14595 then :
14596 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14599 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14600 # include <X11/Xlib.h>
14601 #endif
14602 #ifdef HAVE_X11_XUTIL_H
14603 # include <X11/Xutil.h>
14604 #endif
14606 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14607 then :
14608 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14611 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14612 # include <X11/Xlib.h>
14613 #endif
14614 #ifdef HAVE_X11_XUTIL_H
14615 # include <X11/Xutil.h>
14616 #endif
14618 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14619 then :
14620 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14623 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14624 # include <X11/Xlib.h>
14625 #endif
14626 #ifdef HAVE_X11_XUTIL_H
14627 # include <X11/Xutil.h>
14628 #endif
14630 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14631 then :
14632 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14637 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14638 then
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14640 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14641 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14642 then :
14643 printf %s "(cached) " >&6
14644 else $as_nop
14645 ac_check_lib_save_LIBS=$LIBS
14646 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 char XkbQueryExtension ();
14655 main (void)
14657 return XkbQueryExtension ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"
14663 then :
14664 ac_cv_lib_X11_XkbQueryExtension=yes
14665 else $as_nop
14666 ac_cv_lib_X11_XkbQueryExtension=no
14668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LIBS=$ac_check_lib_save_LIBS
14672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14673 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14674 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14675 then :
14677 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14683 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14684 then
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14686 printf %s "checking for -lXcursor... " >&6; }
14687 if test ${ac_cv_lib_soname_Xcursor+y}
14688 then :
14689 printf %s "(cached) " >&6
14690 else $as_nop
14691 ac_check_soname_save_LIBS=$LIBS
14692 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14696 /* Override any GCC internal prototype to avoid an error.
14697 Use char because int might match the return type of a GCC
14698 builtin and then its argument prototype would still apply. */
14699 char XcursorImageLoadCursor ();
14701 main (void)
14703 return XcursorImageLoadCursor ();
14705 return 0;
14707 _ACEOF
14708 if ac_fn_c_try_link "$LINENO"
14709 then :
14710 case "$LIBEXT" in
14711 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14712 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'` ;;
14713 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14714 if ${ac_cv_lib_soname_Xcursor:+false} :
14715 then :
14716 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14717 fi ;;
14718 esac
14719 else $as_nop
14720 ac_cv_lib_soname_Xcursor=
14722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14723 conftest$ac_exeext conftest.$ac_ext
14724 LIBS=$ac_check_soname_save_LIBS
14726 if ${ac_cv_lib_soname_Xcursor:+false} :
14727 then :
14728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14729 printf "%s\n" "not found" >&6; }
14731 else $as_nop
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14733 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14735 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14740 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14741 then :
14742 case "x$with_xcursor" in
14743 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14744 xno) ;;
14745 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14746 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14747 esac
14751 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14752 then
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14754 printf %s "checking for -lXi... " >&6; }
14755 if test ${ac_cv_lib_soname_Xi+y}
14756 then :
14757 printf %s "(cached) " >&6
14758 else $as_nop
14759 ac_check_soname_save_LIBS=$LIBS
14760 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14764 /* Override any GCC internal prototype to avoid an error.
14765 Use char because int might match the return type of a GCC
14766 builtin and then its argument prototype would still apply. */
14767 char XOpenDevice ();
14769 main (void)
14771 return XOpenDevice ();
14773 return 0;
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"
14777 then :
14778 case "$LIBEXT" in
14779 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14780 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'` ;;
14781 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14782 if ${ac_cv_lib_soname_Xi:+false} :
14783 then :
14784 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14785 fi ;;
14786 esac
14787 else $as_nop
14788 ac_cv_lib_soname_Xi=
14790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14791 conftest$ac_exeext conftest.$ac_ext
14792 LIBS=$ac_check_soname_save_LIBS
14794 if ${ac_cv_lib_soname_Xi:+false} :
14795 then :
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14797 printf "%s\n" "not found" >&6; }
14799 else $as_nop
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14801 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14803 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14808 if test "x$ac_cv_lib_soname_Xi" = "x"
14809 then :
14810 case "x$with_xinput" in
14811 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14812 xno) ;;
14813 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14814 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14815 esac
14819 if test "x$ac_cv_lib_soname_Xi" != x
14820 then
14821 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14822 then :
14823 case "x$with_xinput2" in
14824 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14825 xno) ;;
14826 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14827 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14828 esac
14833 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14834 then
14835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14836 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14837 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14838 then :
14839 printf %s "(cached) " >&6
14840 else $as_nop
14841 ac_check_lib_save_LIBS=$LIBS
14842 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14846 /* Override any GCC internal prototype to avoid an error.
14847 Use char because int might match the return type of a GCC
14848 builtin and then its argument prototype would still apply. */
14849 char XShmQueryExtension ();
14851 main (void)
14853 return XShmQueryExtension ();
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"
14859 then :
14860 ac_cv_lib_Xext_XShmQueryExtension=yes
14861 else $as_nop
14862 ac_cv_lib_Xext_XShmQueryExtension=no
14864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14865 conftest$ac_exeext conftest.$ac_ext
14866 LIBS=$ac_check_lib_save_LIBS
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14869 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14870 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14871 then :
14873 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14878 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14879 then :
14880 case "x$with_xshm" in
14881 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14882 xno) ;;
14883 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14884 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14885 esac
14889 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14890 then
14891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14892 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14893 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14894 then :
14895 printf %s "(cached) " >&6
14896 else $as_nop
14897 ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14905 char XShapeQueryExtension ();
14907 main (void)
14909 return XShapeQueryExtension ();
14911 return 0;
14913 _ACEOF
14914 if ac_fn_c_try_link "$LINENO"
14915 then :
14916 ac_cv_lib_Xext_XShapeQueryExtension=yes
14917 else $as_nop
14918 ac_cv_lib_Xext_XShapeQueryExtension=no
14920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14921 conftest$ac_exeext conftest.$ac_ext
14922 LIBS=$ac_check_lib_save_LIBS
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14925 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14926 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14927 then :
14929 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14934 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14935 then :
14936 case "x$with_xshape" in
14937 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14938 xno) ;;
14939 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14940 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14941 esac
14945 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14946 then
14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14948 printf %s "checking for -lXxf86vm... " >&6; }
14949 if test ${ac_cv_lib_soname_Xxf86vm+y}
14950 then :
14951 printf %s "(cached) " >&6
14952 else $as_nop
14953 ac_check_soname_save_LIBS=$LIBS
14954 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14961 char XF86VidModeQueryExtension ();
14963 main (void)
14965 return XF86VidModeQueryExtension ();
14967 return 0;
14969 _ACEOF
14970 if ac_fn_c_try_link "$LINENO"
14971 then :
14972 case "$LIBEXT" in
14973 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14974 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'` ;;
14975 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14976 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14977 then :
14978 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14979 fi ;;
14980 esac
14981 else $as_nop
14982 ac_cv_lib_soname_Xxf86vm=
14984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14985 conftest$ac_exeext conftest.$ac_ext
14986 LIBS=$ac_check_soname_save_LIBS
14988 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14989 then :
14990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14991 printf "%s\n" "not found" >&6; }
14993 else $as_nop
14994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14995 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14997 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15002 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15003 then :
15004 case "x$with_xxf86vm" in
15005 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15006 xno) ;;
15007 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15008 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15009 esac
15013 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15014 then
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15016 printf %s "checking for -lXrender... " >&6; }
15017 if test ${ac_cv_lib_soname_Xrender+y}
15018 then :
15019 printf %s "(cached) " >&6
15020 else $as_nop
15021 ac_check_soname_save_LIBS=$LIBS
15022 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 char XRenderQueryExtension ();
15031 main (void)
15033 return XRenderQueryExtension ();
15035 return 0;
15037 _ACEOF
15038 if ac_fn_c_try_link "$LINENO"
15039 then :
15040 case "$LIBEXT" in
15041 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15042 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'` ;;
15043 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15044 if ${ac_cv_lib_soname_Xrender:+false} :
15045 then :
15046 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15047 fi ;;
15048 esac
15049 else $as_nop
15050 ac_cv_lib_soname_Xrender=
15052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_check_soname_save_LIBS
15056 if ${ac_cv_lib_soname_Xrender:+false} :
15057 then :
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15059 printf "%s\n" "not found" >&6; }
15061 else $as_nop
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15063 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15065 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15068 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15069 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15070 then :
15071 printf %s "(cached) " >&6
15072 else $as_nop
15073 ac_check_lib_save_LIBS=$LIBS
15074 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 char XRenderSetPictureTransform ();
15083 main (void)
15085 return XRenderSetPictureTransform ();
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"
15091 then :
15092 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15093 else $as_nop
15094 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15097 conftest$ac_exeext conftest.$ac_ext
15098 LIBS=$ac_check_lib_save_LIBS
15100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15101 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15102 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15103 then :
15105 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15110 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15111 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15112 then :
15113 printf %s "(cached) " >&6
15114 else $as_nop
15115 ac_check_lib_save_LIBS=$LIBS
15116 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15120 /* Override any GCC internal prototype to avoid an error.
15121 Use char because int might match the return type of a GCC
15122 builtin and then its argument prototype would still apply. */
15123 char XRenderCreateLinearGradient ();
15125 main (void)
15127 return XRenderCreateLinearGradient ();
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_link "$LINENO"
15133 then :
15134 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15135 else $as_nop
15136 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15139 conftest$ac_exeext conftest.$ac_ext
15140 LIBS=$ac_check_lib_save_LIBS
15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15143 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15144 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15145 then :
15147 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15154 if test "x$ac_cv_lib_soname_Xrender" = "x"
15155 then :
15156 case "x$with_xrender" in
15157 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15158 xno) ;;
15159 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15160 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15161 esac
15165 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15166 then
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 #include <X11/Xlib.h>
15170 #include <X11/extensions/Xrandr.h>
15172 main (void)
15174 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_compile "$LINENO"
15180 then :
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15182 printf %s "checking for -lXrandr... " >&6; }
15183 if test ${ac_cv_lib_soname_Xrandr+y}
15184 then :
15185 printf %s "(cached) " >&6
15186 else $as_nop
15187 ac_check_soname_save_LIBS=$LIBS
15188 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15192 /* Override any GCC internal prototype to avoid an error.
15193 Use char because int might match the return type of a GCC
15194 builtin and then its argument prototype would still apply. */
15195 char XRRQueryExtension ();
15197 main (void)
15199 return XRRQueryExtension ();
15201 return 0;
15203 _ACEOF
15204 if ac_fn_c_try_link "$LINENO"
15205 then :
15206 case "$LIBEXT" in
15207 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15208 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'` ;;
15209 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15210 if ${ac_cv_lib_soname_Xrandr:+false} :
15211 then :
15212 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15213 fi ;;
15214 esac
15215 else $as_nop
15216 ac_cv_lib_soname_Xrandr=
15218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15219 conftest$ac_exeext conftest.$ac_ext
15220 LIBS=$ac_check_soname_save_LIBS
15222 if ${ac_cv_lib_soname_Xrandr:+false} :
15223 then :
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15225 printf "%s\n" "not found" >&6; }
15227 else $as_nop
15228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15229 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15231 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15235 #include <X11/Xlib.h>
15236 #include <X11/extensions/Xrandr.h>
15238 main (void)
15240 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15242 return 0;
15244 _ACEOF
15245 if ac_fn_c_try_compile "$LINENO"
15246 then :
15248 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15250 else $as_nop
15251 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15258 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15259 then :
15260 case "x$with_xrandr" in
15261 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15262 xno) ;;
15263 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15264 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15265 esac
15269 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15270 then
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #include <X11/Xlib.h>
15274 #include <X11/extensions/Xfixes.h>
15276 main (void)
15278 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_compile "$LINENO"
15284 then :
15285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15286 printf %s "checking for -lXfixes... " >&6; }
15287 if test ${ac_cv_lib_soname_Xfixes+y}
15288 then :
15289 printf %s "(cached) " >&6
15290 else $as_nop
15291 ac_check_soname_save_LIBS=$LIBS
15292 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 char XFixesQueryVersion ();
15301 main (void)
15303 return XFixesQueryVersion ();
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"
15309 then :
15310 case "$LIBEXT" in
15311 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15312 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'` ;;
15313 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15314 if ${ac_cv_lib_soname_Xfixes:+false} :
15315 then :
15316 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15317 fi ;;
15318 esac
15319 else $as_nop
15320 ac_cv_lib_soname_Xfixes=
15322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15323 conftest$ac_exeext conftest.$ac_ext
15324 LIBS=$ac_check_soname_save_LIBS
15326 if ${ac_cv_lib_soname_Xfixes:+false} :
15327 then :
15328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15329 printf "%s\n" "not found" >&6; }
15331 else $as_nop
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15333 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15335 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15342 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15343 then :
15344 case "x$with_xfixes" in
15345 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15346 xno) ;;
15347 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15348 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15349 esac
15353 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15354 then
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15357 #include <X11/Xlib.h>
15358 #include <X11/extensions/Xinerama.h>
15360 main (void)
15362 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15364 return 0;
15366 _ACEOF
15367 if ac_fn_c_try_compile "$LINENO"
15368 then :
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15370 printf %s "checking for -lXinerama... " >&6; }
15371 if test ${ac_cv_lib_soname_Xinerama+y}
15372 then :
15373 printf %s "(cached) " >&6
15374 else $as_nop
15375 ac_check_soname_save_LIBS=$LIBS
15376 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 char XineramaQueryScreens ();
15385 main (void)
15387 return XineramaQueryScreens ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"
15393 then :
15394 case "$LIBEXT" in
15395 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15396 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'` ;;
15397 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15398 if ${ac_cv_lib_soname_Xinerama:+false} :
15399 then :
15400 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15401 fi ;;
15402 esac
15403 else $as_nop
15404 ac_cv_lib_soname_Xinerama=
15406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_check_soname_save_LIBS
15410 if ${ac_cv_lib_soname_Xinerama:+false} :
15411 then :
15412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15413 printf "%s\n" "not found" >&6; }
15415 else $as_nop
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15417 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15419 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15426 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15427 then :
15428 case "x$with_xinerama" in
15429 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15430 xno) ;;
15431 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15432 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15433 esac
15437 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15438 then
15439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15440 printf %s "checking for -lXcomposite... " >&6; }
15441 if test ${ac_cv_lib_soname_Xcomposite+y}
15442 then :
15443 printf %s "(cached) " >&6
15444 else $as_nop
15445 ac_check_soname_save_LIBS=$LIBS
15446 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15450 /* Override any GCC internal prototype to avoid an error.
15451 Use char because int might match the return type of a GCC
15452 builtin and then its argument prototype would still apply. */
15453 char XCompositeRedirectWindow ();
15455 main (void)
15457 return XCompositeRedirectWindow ();
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_link "$LINENO"
15463 then :
15464 case "$LIBEXT" in
15465 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15466 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'` ;;
15467 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15468 if ${ac_cv_lib_soname_Xcomposite:+false} :
15469 then :
15470 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15471 fi ;;
15472 esac
15473 else $as_nop
15474 ac_cv_lib_soname_Xcomposite=
15476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15477 conftest$ac_exeext conftest.$ac_ext
15478 LIBS=$ac_check_soname_save_LIBS
15480 if ${ac_cv_lib_soname_Xcomposite:+false} :
15481 then :
15482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15483 printf "%s\n" "not found" >&6; }
15485 else $as_nop
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15487 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15489 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15494 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15495 then :
15496 case "x$with_xcomposite" in
15497 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15498 xno) ;;
15499 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15500 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15501 esac
15505 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15506 #include <X11/Xlib.h>
15507 #endif
15509 if test "x$ac_cv_member_XICCallback_callback" = xyes
15510 then :
15512 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15516 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15517 #include <X11/Xlib.h>
15518 #endif
15520 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15521 then :
15523 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15530 opengl_msg=""
15531 if test "x$with_opengl" != "xno"
15532 then
15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15534 printf %s "checking for -lGL... " >&6; }
15535 if test ${ac_cv_lib_soname_GL+y}
15536 then :
15537 printf %s "(cached) " >&6
15538 else $as_nop
15539 ac_check_soname_save_LIBS=$LIBS
15540 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15544 /* Override any GCC internal prototype to avoid an error.
15545 Use char because int might match the return type of a GCC
15546 builtin and then its argument prototype would still apply. */
15547 char glXCreateContext ();
15549 main (void)
15551 return glXCreateContext ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"
15557 then :
15558 case "$LIBEXT" in
15559 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15560 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'` ;;
15561 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15562 if ${ac_cv_lib_soname_GL:+false} :
15563 then :
15564 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15565 fi ;;
15566 esac
15567 else $as_nop
15568 ac_cv_lib_soname_GL=
15570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_check_soname_save_LIBS
15574 if ${ac_cv_lib_soname_GL:+false} :
15575 then :
15576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15577 printf "%s\n" "not found" >&6; }
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15579 printf %s "checking for -lGL... " >&6; }
15580 if test ${ac_cv_lib_soname_GL+y}
15581 then :
15582 printf %s "(cached) " >&6
15583 else $as_nop
15584 ac_check_soname_save_LIBS=$LIBS
15585 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"
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15589 /* Override any GCC internal prototype to avoid an error.
15590 Use char because int might match the return type of a GCC
15591 builtin and then its argument prototype would still apply. */
15592 char glXCreateContext ();
15594 main (void)
15596 return glXCreateContext ();
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_link "$LINENO"
15602 then :
15603 case "$LIBEXT" in
15604 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15605 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'` ;;
15606 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15607 if ${ac_cv_lib_soname_GL:+false} :
15608 then :
15609 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15610 fi ;;
15611 esac
15612 else $as_nop
15613 ac_cv_lib_soname_GL=
15615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15616 conftest$ac_exeext conftest.$ac_ext
15617 LIBS=$ac_check_soname_save_LIBS
15619 if ${ac_cv_lib_soname_GL:+false} :
15620 then :
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15622 printf "%s\n" "not found" >&6; }
15623 if test -f /usr/X11R6/lib/libGL.a
15624 then
15625 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15626 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15627 else
15628 opengl_msg="No OpenGL library found on this system."
15630 else $as_nop
15631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15632 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15634 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15636 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"
15638 else $as_nop
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15640 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15642 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15644 OPENGL_LIBS="-lGL"
15646 if test "x$with_osmesa" != "xno"
15647 then
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15649 printf %s "checking for -lOSMesa... " >&6; }
15650 if test ${ac_cv_lib_soname_OSMesa+y}
15651 then :
15652 printf %s "(cached) " >&6
15653 else $as_nop
15654 ac_check_soname_save_LIBS=$LIBS
15655 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15659 /* Override any GCC internal prototype to avoid an error.
15660 Use char because int might match the return type of a GCC
15661 builtin and then its argument prototype would still apply. */
15662 char OSMesaGetProcAddress ();
15664 main (void)
15666 return OSMesaGetProcAddress ();
15668 return 0;
15670 _ACEOF
15671 if ac_fn_c_try_link "$LINENO"
15672 then :
15673 case "$LIBEXT" in
15674 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15675 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'` ;;
15676 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15677 if ${ac_cv_lib_soname_OSMesa:+false} :
15678 then :
15679 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15680 fi ;;
15681 esac
15682 else $as_nop
15683 ac_cv_lib_soname_OSMesa=
15685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_soname_save_LIBS
15689 if ${ac_cv_lib_soname_OSMesa:+false} :
15690 then :
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15692 printf "%s\n" "not found" >&6; }
15694 else $as_nop
15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15696 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15698 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15702 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15703 then :
15704 case "x$with_osmesa" in
15705 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15706 xno) ;;
15707 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15708 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15709 esac
15714 if test -n "$opengl_msg"
15715 then :
15716 case "x$with_opengl" in
15717 x) as_fn_append wine_warnings "|$opengl_msg
15718 OpenGL and Direct3D won't be supported." ;;
15719 xno) ;;
15720 *) as_fn_error $? "$opengl_msg
15721 OpenGL and Direct3D won't be supported.
15722 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15723 esac
15727 CPPFLAGS="$ac_save_CPPFLAGS"
15728 else
15729 X_CFLAGS=""
15730 X_LIBS=""
15733 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15734 then
15735 if test "x$X_LIBS" = "x"
15736 then :
15737 case "x$with_x" in
15738 xno) ;;
15739 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15740 without X support, which probably isn't what you want. You will need
15741 to install ${notice_platform}development packages of Xlib at the very least.
15742 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15743 esac
15744 enable_winex11_drv=${enable_winex11_drv:-no}
15746 else
15747 if test "x$X_LIBS" = "x"
15748 then :
15749 case "x$with_x" in
15750 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15751 xno) ;;
15752 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15753 This is an error since --with-x was requested." "$LINENO" 5 ;;
15754 esac
15755 enable_winex11_drv=${enable_winex11_drv:-no}
15759 if test "$ac_cv_header_CL_cl_h" = "yes"
15760 then
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15762 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15763 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15764 then :
15765 printf %s "(cached) " >&6
15766 else $as_nop
15767 ac_check_lib_save_LIBS=$LIBS
15768 LIBS="-lOpenCL $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 char clGetPlatformInfo ();
15777 main (void)
15779 return clGetPlatformInfo ();
15781 return 0;
15783 _ACEOF
15784 if ac_fn_c_try_link "$LINENO"
15785 then :
15786 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15787 else $as_nop
15788 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15795 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15796 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15797 then :
15798 OPENCL_LIBS="-lOpenCL"
15803 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15804 then :
15805 case "x$with_opencl" in
15806 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15807 xno) ;;
15808 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15809 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15810 esac
15811 enable_opencl=${enable_opencl:-no}
15814 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15815 then
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15817 printf %s "checking for pcap_create in -lpcap... " >&6; }
15818 if test ${ac_cv_lib_pcap_pcap_create+y}
15819 then :
15820 printf %s "(cached) " >&6
15821 else $as_nop
15822 ac_check_lib_save_LIBS=$LIBS
15823 LIBS="-lpcap $LIBS"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15827 /* Override any GCC internal prototype to avoid an error.
15828 Use char because int might match the return type of a GCC
15829 builtin and then its argument prototype would still apply. */
15830 char pcap_create ();
15832 main (void)
15834 return pcap_create ();
15836 return 0;
15838 _ACEOF
15839 if ac_fn_c_try_link "$LINENO"
15840 then :
15841 ac_cv_lib_pcap_pcap_create=yes
15842 else $as_nop
15843 ac_cv_lib_pcap_pcap_create=no
15845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15846 conftest$ac_exeext conftest.$ac_ext
15847 LIBS=$ac_check_lib_save_LIBS
15849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15850 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15851 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15852 then :
15853 PCAP_LIBS="-lpcap"
15858 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15859 then :
15860 case "x$with_pcap" in
15861 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15862 xno) ;;
15863 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15864 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15865 esac
15866 enable_wpcap=${enable_wpcap:-no}
15869 if test "x$with_inotify" != "xno"
15870 then
15871 if ${INOTIFY_CFLAGS:+false} :
15872 then :
15873 if test ${PKG_CONFIG+y}
15874 then :
15875 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15879 if ${INOTIFY_LIBS:+false} :
15880 then :
15881 if test ${PKG_CONFIG+y}
15882 then :
15883 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15890 ac_save_CPPFLAGS=$CPPFLAGS
15891 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15892 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15893 if test "x$ac_cv_header_sys_inotify_h" = xyes
15894 then :
15895 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15900 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15901 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15902 then :
15903 printf %s "(cached) " >&6
15904 else $as_nop
15905 ac_check_lib_save_LIBS=$LIBS
15906 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15913 char inotify_add_watch ();
15915 main (void)
15917 return inotify_add_watch ();
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"
15923 then :
15924 ac_cv_lib_inotify_inotify_add_watch=yes
15925 else $as_nop
15926 ac_cv_lib_inotify_inotify_add_watch=no
15928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15929 conftest$ac_exeext conftest.$ac_ext
15930 LIBS=$ac_check_lib_save_LIBS
15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15933 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15934 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15935 then :
15937 else $as_nop
15938 INOTIFY_LIBS=""
15941 CPPFLAGS=$ac_save_CPPFLAGS
15944 if test "$ac_cv_header_sys_inotify_h" != "yes"
15945 then :
15946 case "x$with_inotify" in
15947 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15948 xno) ;;
15949 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15950 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15951 esac
15955 if test "x$with_dbus" != "xno"
15956 then
15957 if ${DBUS_CFLAGS:+false} :
15958 then :
15959 if test ${PKG_CONFIG+y}
15960 then :
15961 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15965 if ${DBUS_LIBS:+false} :
15966 then :
15967 if test ${PKG_CONFIG+y}
15968 then :
15969 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15976 ac_save_CPPFLAGS=$CPPFLAGS
15977 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15978 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15979 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15980 then :
15981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15982 printf %s "checking for -ldbus-1... " >&6; }
15983 if test ${ac_cv_lib_soname_dbus_1+y}
15984 then :
15985 printf %s "(cached) " >&6
15986 else $as_nop
15987 ac_check_soname_save_LIBS=$LIBS
15988 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
15992 /* Override any GCC internal prototype to avoid an error.
15993 Use char because int might match the return type of a GCC
15994 builtin and then its argument prototype would still apply. */
15995 char dbus_connection_close ();
15997 main (void)
15999 return dbus_connection_close ();
16001 return 0;
16003 _ACEOF
16004 if ac_fn_c_try_link "$LINENO"
16005 then :
16006 case "$LIBEXT" in
16007 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16008 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'` ;;
16009 *) 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'`
16010 if ${ac_cv_lib_soname_dbus_1:+false} :
16011 then :
16012 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16013 fi ;;
16014 esac
16015 else $as_nop
16016 ac_cv_lib_soname_dbus_1=
16018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16019 conftest$ac_exeext conftest.$ac_ext
16020 LIBS=$ac_check_soname_save_LIBS
16022 if ${ac_cv_lib_soname_dbus_1:+false} :
16023 then :
16024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16025 printf "%s\n" "not found" >&6; }
16026 DBUS_CFLAGS=""
16027 else $as_nop
16028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16029 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16031 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16035 else $as_nop
16036 DBUS_CFLAGS=""
16039 CPPFLAGS=$ac_save_CPPFLAGS
16042 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16043 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16044 then :
16045 case "x$with_dbus" in
16046 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16047 xno) ;;
16048 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16049 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16050 esac
16054 if test "x$with_gnutls" != "xno"
16055 then
16056 if ${GNUTLS_CFLAGS:+false} :
16057 then :
16058 if test ${PKG_CONFIG+y}
16059 then :
16060 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16064 if ${GNUTLS_LIBS:+false} :
16065 then :
16066 if test ${PKG_CONFIG+y}
16067 then :
16068 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16072 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16075 ac_save_CPPFLAGS=$CPPFLAGS
16076 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16077 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16078 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16079 then :
16080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h. */
16082 #include <gnutls/gnutls.h>
16083 #include <gnutls/crypto.h>
16085 main (void)
16087 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_compile "$LINENO"
16093 then :
16094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16095 printf %s "checking for -lgnutls... " >&6; }
16096 if test ${ac_cv_lib_soname_gnutls+y}
16097 then :
16098 printf %s "(cached) " >&6
16099 else $as_nop
16100 ac_check_soname_save_LIBS=$LIBS
16101 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16105 /* Override any GCC internal prototype to avoid an error.
16106 Use char because int might match the return type of a GCC
16107 builtin and then its argument prototype would still apply. */
16108 char gnutls_global_init ();
16110 main (void)
16112 return gnutls_global_init ();
16114 return 0;
16116 _ACEOF
16117 if ac_fn_c_try_link "$LINENO"
16118 then :
16119 case "$LIBEXT" in
16120 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16121 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'` ;;
16122 *) 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'`
16123 if ${ac_cv_lib_soname_gnutls:+false} :
16124 then :
16125 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'`
16126 fi ;;
16127 esac
16128 else $as_nop
16129 ac_cv_lib_soname_gnutls=
16131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16132 conftest$ac_exeext conftest.$ac_ext
16133 LIBS=$ac_check_soname_save_LIBS
16135 if ${ac_cv_lib_soname_gnutls:+false} :
16136 then :
16137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16138 printf "%s\n" "not found" >&6; }
16139 GNUTLS_CFLAGS=""
16140 else $as_nop
16141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16142 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16144 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16148 ac_wine_check_funcs_save_LIBS="$LIBS"
16149 LIBS="$LIBS $GNUTLS_LIBS"
16151 for ac_func in gnutls_cipher_init
16152 do :
16153 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16154 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16155 then :
16156 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16158 else $as_nop
16159 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16162 done
16163 LIBS="$ac_wine_check_funcs_save_LIBS"
16165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16166 else $as_nop
16167 GNUTLS_CFLAGS=""
16170 CPPFLAGS=$ac_save_CPPFLAGS
16173 if test "x$ac_cv_lib_soname_gnutls" = "x"
16174 then :
16175 case "x$with_gnutls" in
16176 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16177 xno) ;;
16178 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16179 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16180 esac
16184 if test "x$with_sane" != "xno"
16185 then
16186 if ${SANE_CFLAGS:+false} :
16187 then :
16188 if test ${PKG_CONFIG+y}
16189 then :
16190 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16193 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16194 if ${SANE_LIBS:+false} :
16195 then :
16196 if test ${PKG_CONFIG+y}
16197 then :
16198 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16201 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16205 ac_save_CPPFLAGS=$CPPFLAGS
16206 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16207 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16208 if test "x$ac_cv_header_sane_sane_h" = xyes
16209 then :
16210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16211 printf %s "checking for sane_init in -lsane... " >&6; }
16212 if test ${ac_cv_lib_sane_sane_init+y}
16213 then :
16214 printf %s "(cached) " >&6
16215 else $as_nop
16216 ac_check_lib_save_LIBS=$LIBS
16217 LIBS="-lsane $SANE_LIBS $LIBS"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 char sane_init ();
16226 main (void)
16228 return sane_init ();
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"
16234 then :
16235 ac_cv_lib_sane_sane_init=yes
16236 else $as_nop
16237 ac_cv_lib_sane_sane_init=no
16239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_lib_save_LIBS
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16244 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16245 if test "x$ac_cv_lib_sane_sane_init" = xyes
16246 then :
16252 CPPFLAGS=$ac_save_CPPFLAGS
16255 if test "$ac_cv_lib_sane_sane_init" != "yes"
16256 then :
16257 case "x$with_sane" in
16258 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16259 xno) ;;
16260 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16261 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16262 esac
16263 enable_sane_ds=${enable_sane_ds:-no}
16266 if test "x$with_usb" != "xno"
16267 then
16268 if ${USB_CFLAGS:+false} :
16269 then :
16270 if test ${PKG_CONFIG+y}
16271 then :
16272 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16276 if ${USB_LIBS:+false} :
16277 then :
16278 if test ${PKG_CONFIG+y}
16279 then :
16280 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16284 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16287 ac_save_CPPFLAGS=$CPPFLAGS
16288 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16289 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16290 if test "x$ac_cv_header_libusb_h" = xyes
16291 then :
16292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16293 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16294 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16295 then :
16296 printf %s "(cached) " >&6
16297 else $as_nop
16298 ac_check_lib_save_LIBS=$LIBS
16299 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16303 /* Override any GCC internal prototype to avoid an error.
16304 Use char because int might match the return type of a GCC
16305 builtin and then its argument prototype would still apply. */
16306 char libusb_interrupt_event_handler ();
16308 main (void)
16310 return libusb_interrupt_event_handler ();
16312 return 0;
16314 _ACEOF
16315 if ac_fn_c_try_link "$LINENO"
16316 then :
16317 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16318 else $as_nop
16319 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16326 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16327 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16328 then :
16330 else $as_nop
16331 USB_LIBS=""
16334 else $as_nop
16335 USB_LIBS=""
16338 CPPFLAGS=$ac_save_CPPFLAGS
16341 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16342 then :
16343 case "x$with_usb" in
16344 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16347 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_wineusb_sys=${enable_wineusb_sys:-no}
16352 if test "x$with_v4l2" != "xno"
16353 then
16354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16355 printf %s "checking for -lv4l2... " >&6; }
16356 if test ${ac_cv_lib_soname_v4l2+y}
16357 then :
16358 printf %s "(cached) " >&6
16359 else $as_nop
16360 ac_check_soname_save_LIBS=$LIBS
16361 LIBS="-lv4l2 $LIBS"
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16368 char v4l2_open ();
16370 main (void)
16372 return v4l2_open ();
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_link "$LINENO"
16378 then :
16379 case "$LIBEXT" in
16380 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16381 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'` ;;
16382 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16383 if ${ac_cv_lib_soname_v4l2:+false} :
16384 then :
16385 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16386 fi ;;
16387 esac
16388 else $as_nop
16389 ac_cv_lib_soname_v4l2=
16391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_soname_save_LIBS
16395 if ${ac_cv_lib_soname_v4l2:+false} :
16396 then :
16397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16398 printf "%s\n" "not found" >&6; }
16400 else $as_nop
16401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16402 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16404 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16409 if test "x$ac_cv_lib_soname_v4l2" = "x"
16410 then :
16411 case "x$with_v4l2" in
16412 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16413 xno) ;;
16414 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16415 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16416 esac
16420 if test "x$with_gphoto" != "xno"
16421 then
16422 if ${GPHOTO2_CFLAGS:+false} :
16423 then :
16424 if test ${PKG_CONFIG+y}
16425 then :
16426 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16429 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16430 if ${GPHOTO2_LIBS:+false} :
16431 then :
16432 if test ${PKG_CONFIG+y}
16433 then :
16434 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16437 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16438 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16441 ac_save_CPPFLAGS=$CPPFLAGS
16442 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16443 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16444 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16445 then :
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16447 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16448 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16449 then :
16450 printf %s "(cached) " >&6
16451 else $as_nop
16452 ac_check_lib_save_LIBS=$LIBS
16453 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 char gp_camera_new ();
16462 main (void)
16464 return gp_camera_new ();
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"
16470 then :
16471 ac_cv_lib_gphoto2_gp_camera_new=yes
16472 else $as_nop
16473 ac_cv_lib_gphoto2_gp_camera_new=no
16475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16476 conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16480 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16481 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16482 then :
16488 CPPFLAGS=$ac_save_CPPFLAGS
16490 if ${GPHOTO2_PORT_CFLAGS:+false} :
16491 then :
16492 if test ${PKG_CONFIG+y}
16493 then :
16494 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16497 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16498 if ${GPHOTO2_PORT_LIBS:+false} :
16499 then :
16500 if test ${PKG_CONFIG+y}
16501 then :
16502 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16505 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16506 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16509 ac_save_CPPFLAGS=$CPPFLAGS
16510 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16511 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16512 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16513 then :
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16515 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16516 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16517 then :
16518 printf %s "(cached) " >&6
16519 else $as_nop
16520 ac_check_lib_save_LIBS=$LIBS
16521 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16525 /* Override any GCC internal prototype to avoid an error.
16526 Use char because int might match the return type of a GCC
16527 builtin and then its argument prototype would still apply. */
16528 char gp_port_info_list_new ();
16530 main (void)
16532 return gp_port_info_list_new ();
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"
16538 then :
16539 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16540 else $as_nop
16541 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16544 conftest$ac_exeext conftest.$ac_ext
16545 LIBS=$ac_check_lib_save_LIBS
16547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16548 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16549 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16550 then :
16552 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16554 else $as_nop
16555 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16558 else $as_nop
16559 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16562 CPPFLAGS=$ac_save_CPPFLAGS
16565 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16566 then :
16567 case "x$with_gphoto" in
16568 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16569 xno) ;;
16570 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16571 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16572 esac
16573 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16575 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16576 then :
16577 case "x$with_gphoto" in
16578 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16579 xno) ;;
16580 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16581 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16582 esac
16587 if test "$ac_cv_header_resolv_h" = "yes"
16588 then
16589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16590 printf %s "checking for resolver library... " >&6; }
16591 if test ${ac_cv_have_resolv+y}
16592 then :
16593 printf %s "(cached) " >&6
16594 else $as_nop
16595 ac_save_LIBS="$LIBS"
16596 for lib in '' -lresolv
16598 LIBS="$lib $ac_save_LIBS"
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #ifdef HAVE_NETINET_IN_H
16602 #include <netinet/in.h>
16603 #endif
16604 #include <resolv.h>
16606 main (void)
16608 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16610 return 0;
16612 _ACEOF
16613 if ac_fn_c_try_link "$LINENO"
16614 then :
16615 ac_cv_have_resolv=${lib:-"none required"}
16616 else $as_nop
16617 ac_cv_have_resolv="not found"
16619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16620 conftest$ac_exeext conftest.$ac_ext
16621 test "x$ac_cv_have_resolv" = "xnot found" || break
16622 done
16623 LIBS="$ac_save_LIBS"
16625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16626 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16628 case "$ac_cv_have_resolv" in
16629 "not found") ;;
16630 "none required")
16632 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16635 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16637 RESOLV_LIBS=$ac_cv_have_resolv
16639 esac
16641 if test "x$ac_cv_have_resolv" != "xnot found"
16642 then
16643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16644 printf %s "checking for res_getservers... " >&6; }
16645 if test ${ac_cv_have_res_getservers+y}
16646 then :
16647 printf %s "(cached) " >&6
16648 else $as_nop
16649 ac_save_LIBS="$LIBS"
16650 LIBS="$RESOLV_LIBS $LIBS"
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16653 #include <resolv.h>
16655 main (void)
16657 res_getservers(NULL, NULL, 0);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_c_try_link "$LINENO"
16663 then :
16664 ac_cv_have_res_getservers=yes
16665 else $as_nop
16666 ac_cv_have_res_getservers=no
16668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16669 conftest$ac_exeext conftest.$ac_ext
16670 LIBS="$ac_save_LIBS"
16672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16673 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16674 if test "$ac_cv_have_res_getservers" = "yes"
16675 then
16677 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16683 if test "x$with_freetype" != "xno"
16684 then
16685 if ${FREETYPE_CFLAGS:+false} :
16686 then :
16687 if test ${PKG_CONFIG+y}
16688 then :
16689 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16692 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16693 if ${FREETYPE_LIBS:+false} :
16694 then :
16695 if test ${PKG_CONFIG+y}
16696 then :
16697 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16700 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16701 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16704 ac_save_CPPFLAGS=$CPPFLAGS
16705 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16706 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16707 if test "x$ac_cv_header_ft2build_h" = xyes
16708 then :
16709 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16713 if test "$ac_cv_header_ft2build_h" = "yes"
16714 then
16715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16716 printf %s "checking for -lfreetype... " >&6; }
16717 if test ${ac_cv_lib_soname_freetype+y}
16718 then :
16719 printf %s "(cached) " >&6
16720 else $as_nop
16721 ac_check_soname_save_LIBS=$LIBS
16722 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16726 /* Override any GCC internal prototype to avoid an error.
16727 Use char because int might match the return type of a GCC
16728 builtin and then its argument prototype would still apply. */
16729 char FT_Init_FreeType ();
16731 main (void)
16733 return FT_Init_FreeType ();
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"
16739 then :
16740 case "$LIBEXT" in
16741 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16742 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'` ;;
16743 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16744 if ${ac_cv_lib_soname_freetype:+false} :
16745 then :
16746 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16747 fi ;;
16748 esac
16749 else $as_nop
16750 ac_cv_lib_soname_freetype=
16752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16753 conftest$ac_exeext conftest.$ac_ext
16754 LIBS=$ac_check_soname_save_LIBS
16756 if ${ac_cv_lib_soname_freetype:+false} :
16757 then :
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16759 printf "%s\n" "not found" >&6; }
16760 FREETYPE_LIBS=""
16761 else $as_nop
16762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16763 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16765 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16768 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16770 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16771 #include FT_MODULE_H
16773 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16774 then :
16776 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16782 else
16783 FREETYPE_CFLAGS=""
16784 FREETYPE_LIBS=""
16786 CPPFLAGS=$ac_save_CPPFLAGS
16789 if test "x$ac_cv_lib_soname_freetype" = x
16790 then :
16791 case "x$with_freetype" in
16792 xno) ;;
16793 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16794 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16795 esac
16796 enable_fonts=${enable_fonts:-no}
16799 ac_wine_check_funcs_save_LIBS="$LIBS"
16800 LIBS="$LIBS $PTHREAD_LIBS"
16801 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16802 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16803 then :
16804 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16808 LIBS="$ac_wine_check_funcs_save_LIBS"
16810 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16811 then
16812 if test "$ac_cv_header_gettext_po_h" = "yes"
16813 then
16814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16815 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16816 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16817 then :
16818 printf %s "(cached) " >&6
16819 else $as_nop
16820 ac_check_lib_save_LIBS=$LIBS
16821 LIBS="-lgettextpo $LIBS"
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16825 /* Override any GCC internal prototype to avoid an error.
16826 Use char because int might match the return type of a GCC
16827 builtin and then its argument prototype would still apply. */
16828 char po_message_msgctxt ();
16830 main (void)
16832 return po_message_msgctxt ();
16834 return 0;
16836 _ACEOF
16837 if ac_fn_c_try_link "$LINENO"
16838 then :
16839 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16840 else $as_nop
16841 ac_cv_lib_gettextpo_po_message_msgctxt=no
16843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16844 conftest$ac_exeext conftest.$ac_ext
16845 LIBS=$ac_check_lib_save_LIBS
16847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16848 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16849 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16850 then :
16852 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16854 GETTEXTPO_LIBS="-lgettextpo"
16859 if test "x$GETTEXTPO_LIBS" = "x"
16860 then :
16861 case "x$with_gettextpo" in
16862 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16863 xno) ;;
16864 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16865 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16866 esac
16869 if test "$srcdir" != .
16870 then :
16871 case "x$with_gettextpo" in
16872 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16873 xno) ;;
16874 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16875 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16876 esac
16881 if test "x$with_pulse" != "xno";
16882 then
16883 if ${PULSE_CFLAGS:+false} :
16884 then :
16885 if test ${PKG_CONFIG+y}
16886 then :
16887 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16891 if ${PULSE_LIBS:+false} :
16892 then :
16893 if test ${PKG_CONFIG+y}
16894 then :
16895 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16902 ac_save_CPPFLAGS=$CPPFLAGS
16903 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16904 for ac_header in pulse/pulseaudio.h
16905 do :
16906 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16907 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16908 then :
16909 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16911 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16912 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16913 then :
16914 printf %s "(cached) " >&6
16915 else $as_nop
16916 ac_check_lib_save_LIBS=$LIBS
16917 LIBS="-lpulse $PULSE_LIBS $LIBS"
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16921 /* Override any GCC internal prototype to avoid an error.
16922 Use char because int might match the return type of a GCC
16923 builtin and then its argument prototype would still apply. */
16924 char pa_stream_is_corked ();
16926 main (void)
16928 return pa_stream_is_corked ();
16930 return 0;
16932 _ACEOF
16933 if ac_fn_c_try_link "$LINENO"
16934 then :
16935 ac_cv_lib_pulse_pa_stream_is_corked=yes
16936 else $as_nop
16937 ac_cv_lib_pulse_pa_stream_is_corked=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16940 conftest$ac_exeext conftest.$ac_ext
16941 LIBS=$ac_check_lib_save_LIBS
16943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16944 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16945 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16946 then :
16948 else $as_nop
16949 PULSE_LIBS=""
16952 else $as_nop
16953 PULSE_LIBS=""
16956 done
16957 CPPFLAGS=$ac_save_CPPFLAGS
16960 if test -z "$PULSE_LIBS"
16961 then :
16962 case "x$with_pulse" in
16963 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16964 xno) ;;
16965 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16966 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16967 esac
16968 enable_winepulse_drv=${enable_winepulse_drv:-no}
16971 if test "x$with_gstreamer" != "xno"
16972 then
16973 if ${GSTREAMER_CFLAGS:+false} :
16974 then :
16975 if test ${PKG_CONFIG+y}
16976 then :
16977 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16981 if ${GSTREAMER_LIBS:+false} :
16982 then :
16983 if test ${PKG_CONFIG+y}
16984 then :
16985 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16992 ac_save_CPPFLAGS=$CPPFLAGS
16993 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16994 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16995 if test "x$ac_cv_header_gst_gst_h" = xyes
16996 then :
16997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16998 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17001 #include <gst/gst.h>
17003 main (void)
17005 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17007 return 0;
17009 _ACEOF
17010 if ac_fn_c_try_compile "$LINENO"
17011 then :
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17013 printf "%s\n" "yes" >&6; }
17014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17015 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17016 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17017 then :
17018 printf %s "(cached) " >&6
17019 else $as_nop
17020 ac_check_lib_save_LIBS=$LIBS
17021 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17025 /* Override any GCC internal prototype to avoid an error.
17026 Use char because int might match the return type of a GCC
17027 builtin and then its argument prototype would still apply. */
17028 char gst_pad_new ();
17030 main (void)
17032 return gst_pad_new ();
17034 return 0;
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"
17038 then :
17039 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17040 else $as_nop
17041 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17044 conftest$ac_exeext conftest.$ac_ext
17045 LIBS=$ac_check_lib_save_LIBS
17047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17048 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17049 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17050 then :
17054 else $as_nop
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17056 printf "%s\n" "no" >&6; }
17057 ac_glib2_broken=yes
17058 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17063 CPPFLAGS=$ac_save_CPPFLAGS
17066 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17067 then :
17068 case "x$with_gstreamer" in
17069 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17070 xno) ;;
17071 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17072 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17073 esac
17074 enable_winegstreamer=${enable_winegstreamer:-no}
17077 ALSA_LIBS=""
17079 if test "x$with_alsa" != "xno"
17080 then
17081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17082 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17083 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17084 then :
17085 printf %s "(cached) " >&6
17086 else $as_nop
17087 ac_check_lib_save_LIBS=$LIBS
17088 LIBS="-lasound $LIBS"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17092 /* Override any GCC internal prototype to avoid an error.
17093 Use char because int might match the return type of a GCC
17094 builtin and then its argument prototype would still apply. */
17095 char snd_pcm_hw_params_get_access_mask ();
17097 main (void)
17099 return snd_pcm_hw_params_get_access_mask ();
17101 return 0;
17103 _ACEOF
17104 if ac_fn_c_try_link "$LINENO"
17105 then :
17106 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17107 else $as_nop
17108 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17111 conftest$ac_exeext conftest.$ac_ext
17112 LIBS=$ac_check_lib_save_LIBS
17114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17115 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17116 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17117 then :
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #include <alsa/asoundlib.h>
17122 main (void)
17124 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_compile "$LINENO"
17130 then :
17131 ALSA_LIBS="-lasound"
17133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17137 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17139 if test "x$with_oss" != xno
17140 then
17141 ac_save_CPPFLAGS="$CPPFLAGS"
17142 if test -f /etc/oss.conf
17143 then
17144 . /etc/oss.conf
17146 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17147 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17148 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17149 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17150 then :
17151 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17153 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17154 then :
17156 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17158 OSS4_CFLAGS="$ac_oss_incl"
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17161 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17162 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17163 then :
17164 printf %s "(cached) " >&6
17165 else $as_nop
17166 ac_check_lib_save_LIBS=$LIBS
17167 LIBS="-lossaudio $LIBS"
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17171 /* Override any GCC internal prototype to avoid an error.
17172 Use char because int might match the return type of a GCC
17173 builtin and then its argument prototype would still apply. */
17174 char _oss_ioctl ();
17176 main (void)
17178 return _oss_ioctl ();
17180 return 0;
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"
17184 then :
17185 ac_cv_lib_ossaudio__oss_ioctl=yes
17186 else $as_nop
17187 ac_cv_lib_ossaudio__oss_ioctl=no
17189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17190 conftest$ac_exeext conftest.$ac_ext
17191 LIBS=$ac_check_lib_save_LIBS
17193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17194 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17195 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17196 then :
17197 OSS4_LIBS="-lossaudio"
17205 CPPFLAGS="$ac_save_CPPFLAGS"
17207 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17208 then :
17209 case "x$with_oss" in
17210 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17211 xno) ;;
17212 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17213 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17214 esac
17215 enable_wineoss_drv=${enable_wineoss_drv:-no}
17218 if test "x$with_udev" != "xno"
17219 then
17220 if ${UDEV_CFLAGS:+false} :
17221 then :
17222 if test ${PKG_CONFIG+y}
17223 then :
17224 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17228 if ${UDEV_LIBS:+false} :
17229 then :
17230 if test ${PKG_CONFIG+y}
17231 then :
17232 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17236 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17239 ac_save_CPPFLAGS=$CPPFLAGS
17240 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17241 for ac_header in libudev.h
17242 do :
17243 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17244 if test "x$ac_cv_header_libudev_h" = xyes
17245 then :
17246 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17248 printf %s "checking for udev_new in -ludev... " >&6; }
17249 if test ${ac_cv_lib_udev_udev_new+y}
17250 then :
17251 printf %s "(cached) " >&6
17252 else $as_nop
17253 ac_check_lib_save_LIBS=$LIBS
17254 LIBS="-ludev $UDEV_LIBS $LIBS"
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17258 /* Override any GCC internal prototype to avoid an error.
17259 Use char because int might match the return type of a GCC
17260 builtin and then its argument prototype would still apply. */
17261 char udev_new ();
17263 main (void)
17265 return udev_new ();
17267 return 0;
17269 _ACEOF
17270 if ac_fn_c_try_link "$LINENO"
17271 then :
17272 ac_cv_lib_udev_udev_new=yes
17273 else $as_nop
17274 ac_cv_lib_udev_udev_new=no
17276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17277 conftest$ac_exeext conftest.$ac_ext
17278 LIBS=$ac_check_lib_save_LIBS
17280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17281 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17282 if test "x$ac_cv_lib_udev_udev_new" = xyes
17283 then :
17285 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17287 else $as_nop
17288 UDEV_LIBS=""
17291 else $as_nop
17292 UDEV_LIBS=""
17295 done
17296 CPPFLAGS=$ac_save_CPPFLAGS
17299 if test "x$UDEV_LIBS" = "x"
17300 then :
17301 case "x$with_udev" in
17302 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17303 xno) ;;
17304 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17305 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17306 esac
17310 if test "x$with_unwind" != xno
17311 then
17312 if ${UNWIND_CFLAGS:+false} :
17313 then :
17314 if test ${PKG_CONFIG+y}
17315 then :
17316 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17320 if ${UNWIND_LIBS:+false} :
17321 then :
17322 if test ${PKG_CONFIG+y}
17323 then :
17324 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17328 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17331 ac_save_CPPFLAGS=$CPPFLAGS
17332 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17334 printf %s "checking for unw_step... " >&6; }
17335 if test ${wine_cv_have_unw_step+y}
17336 then :
17337 printf %s "(cached) " >&6
17338 else $as_nop
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #define UNW_LOCAL_ONLY
17342 #include <libunwind.h>
17344 main (void)
17346 unw_cursor_t cursor; unw_step( &cursor );
17348 return 0;
17350 _ACEOF
17351 if ac_fn_c_try_link "$LINENO"
17352 then :
17353 wine_cv_have_unw_step="yes"
17354 else $as_nop
17355 wine_cv_have_unw_step="no"
17357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17358 conftest$ac_exeext conftest.$ac_ext
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17361 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17362 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17363 then
17364 save_libs=$LIBS
17365 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17366 LIBS="$UNWIND_LIBS $LIBS"
17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17368 printf %s "checking for unw_step in libunwind... " >&6; }
17369 if test ${wine_cv_have_libunwind_unw_step+y}
17370 then :
17371 printf %s "(cached) " >&6
17372 else $as_nop
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #define UNW_LOCAL_ONLY
17376 #include <libunwind.h>
17378 main (void)
17380 unw_cursor_t cursor; unw_step( &cursor );
17382 return 0;
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"
17386 then :
17387 wine_cv_have_libunwind_unw_step="yes"
17388 else $as_nop
17389 wine_cv_have_libunwind_unw_step="no"
17391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17392 conftest$ac_exeext conftest.$ac_ext
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17395 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17396 LIBS=$save_libs
17398 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17399 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17400 then
17402 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17405 CPPFLAGS=$ac_save_CPPFLAGS
17408 case $host in
17409 aarch64*|*-darwin*)
17410 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17411 then :
17412 case "x$with_unwind" in
17413 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17414 xno) ;;
17415 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17416 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17417 esac
17419 fi ;;
17420 esac
17422 if test "x$with_sdl" != "xno"
17423 then
17424 if ${SDL2_CFLAGS:+false} :
17425 then :
17426 if test ${PKG_CONFIG+y}
17427 then :
17428 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17432 if ${SDL2_LIBS:+false} :
17433 then :
17434 if test ${PKG_CONFIG+y}
17435 then :
17436 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17440 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17443 ac_save_CPPFLAGS=$CPPFLAGS
17444 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17445 for ac_header in SDL.h
17446 do :
17447 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17448 if test "x$ac_cv_header_SDL_h" = xyes
17449 then :
17450 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17452 printf %s "checking for -lSDL2... " >&6; }
17453 if test ${ac_cv_lib_soname_SDL2+y}
17454 then :
17455 printf %s "(cached) " >&6
17456 else $as_nop
17457 ac_check_soname_save_LIBS=$LIBS
17458 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17462 /* Override any GCC internal prototype to avoid an error.
17463 Use char because int might match the return type of a GCC
17464 builtin and then its argument prototype would still apply. */
17465 char SDL_Init ();
17467 main (void)
17469 return SDL_Init ();
17471 return 0;
17473 _ACEOF
17474 if ac_fn_c_try_link "$LINENO"
17475 then :
17476 case "$LIBEXT" in
17477 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17478 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'` ;;
17479 *) 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'`
17480 if ${ac_cv_lib_soname_SDL2:+false} :
17481 then :
17482 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17483 fi ;;
17484 esac
17485 else $as_nop
17486 ac_cv_lib_soname_SDL2=
17488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17489 conftest$ac_exeext conftest.$ac_ext
17490 LIBS=$ac_check_soname_save_LIBS
17492 if ${ac_cv_lib_soname_SDL2:+false} :
17493 then :
17494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17495 printf "%s\n" "not found" >&6; }
17497 else $as_nop
17498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17499 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17501 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17507 done
17508 CPPFLAGS=$ac_save_CPPFLAGS
17511 if test "x$ac_cv_lib_soname_SDL2" = "x"
17512 then :
17513 case "x$with_sdl" in
17514 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17515 xno) ;;
17516 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17517 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17518 esac
17522 if test "x$with_capi" != "xno"
17523 then
17524 if ${CAPI20_CFLAGS:+false} :
17525 then :
17526 if test ${PKG_CONFIG+y}
17527 then :
17528 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17532 if ${CAPI20_LIBS:+false} :
17533 then :
17534 if test ${PKG_CONFIG+y}
17535 then :
17536 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17543 ac_save_CPPFLAGS=$CPPFLAGS
17544 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17545 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17547 if test "x$ac_cv_header_capi20_h" = xyes
17548 then :
17549 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17552 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17554 if test "x$ac_cv_header_linux_capi_h" = xyes
17555 then :
17556 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17560 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17561 then
17562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17563 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17564 if test ${ac_cv_lib_capi20_capi20_register+y}
17565 then :
17566 printf %s "(cached) " >&6
17567 else $as_nop
17568 ac_check_lib_save_LIBS=$LIBS
17569 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 /* Override any GCC internal prototype to avoid an error.
17574 Use char because int might match the return type of a GCC
17575 builtin and then its argument prototype would still apply. */
17576 char capi20_register ();
17578 main (void)
17580 return capi20_register ();
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"
17586 then :
17587 ac_cv_lib_capi20_capi20_register=yes
17588 else $as_nop
17589 ac_cv_lib_capi20_capi20_register=no
17591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17592 conftest$ac_exeext conftest.$ac_ext
17593 LIBS=$ac_check_lib_save_LIBS
17595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17596 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17597 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17598 then :
17600 else $as_nop
17601 CAPI20_LIBS=""
17605 CPPFLAGS=$ac_save_CPPFLAGS
17608 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17609 then :
17610 case "x$with_capi" in
17611 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17612 xno) ;;
17613 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17614 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17615 esac
17616 enable_capi2032=${enable_capi2032:-no}
17619 if test "x$with_cups" != "xno"
17620 then
17621 if ${CUPS_CFLAGS:+false} :
17622 then :
17623 if test ${PKG_CONFIG+y}
17624 then :
17625 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17628 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17629 if ${CUPS_LIBS:+false} :
17630 then :
17631 if test ${PKG_CONFIG+y}
17632 then :
17633 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17636 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17637 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17640 ac_save_CPPFLAGS=$CPPFLAGS
17641 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17642 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17643 if test "x$ac_cv_header_cups_cups_h" = xyes
17644 then :
17645 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17648 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17649 if test "x$ac_cv_header_cups_ppd_h" = xyes
17650 then :
17651 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17655 if test "$ac_cv_header_cups_cups_h" = "yes"
17656 then
17657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17658 printf %s "checking for -lcups... " >&6; }
17659 if test ${ac_cv_lib_soname_cups+y}
17660 then :
17661 printf %s "(cached) " >&6
17662 else $as_nop
17663 ac_check_soname_save_LIBS=$LIBS
17664 LIBS="-lcups $CUPS_LIBS $LIBS"
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17668 /* Override any GCC internal prototype to avoid an error.
17669 Use char because int might match the return type of a GCC
17670 builtin and then its argument prototype would still apply. */
17671 char cupsGetDefault ();
17673 main (void)
17675 return cupsGetDefault ();
17677 return 0;
17679 _ACEOF
17680 if ac_fn_c_try_link "$LINENO"
17681 then :
17682 case "$LIBEXT" in
17683 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17684 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'` ;;
17685 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17686 if ${ac_cv_lib_soname_cups:+false} :
17687 then :
17688 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17689 fi ;;
17690 esac
17691 else $as_nop
17692 ac_cv_lib_soname_cups=
17694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17695 conftest$ac_exeext conftest.$ac_ext
17696 LIBS=$ac_check_soname_save_LIBS
17698 if ${ac_cv_lib_soname_cups:+false} :
17699 then :
17700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17701 printf "%s\n" "not found" >&6; }
17702 CUPS_LIBS=""
17703 else $as_nop
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17705 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17707 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17711 else
17712 CUPS_CFLAGS=""
17713 CUPS_LIBS=""
17715 CPPFLAGS=$ac_save_CPPFLAGS
17718 if test "x$ac_cv_lib_soname_cups" = "x"
17719 then :
17720 case "x$with_cups" in
17721 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17722 xno) ;;
17723 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17724 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17725 esac
17729 if test "x$with_fontconfig" != "xno"
17730 then
17731 if ${FONTCONFIG_CFLAGS:+false} :
17732 then :
17733 if test ${PKG_CONFIG+y}
17734 then :
17735 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17738 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17739 if ${FONTCONFIG_LIBS:+false} :
17740 then :
17741 if test ${PKG_CONFIG+y}
17742 then :
17743 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17746 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17750 ac_save_CPPFLAGS=$CPPFLAGS
17751 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17752 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17753 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17754 then :
17755 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17759 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17760 then
17761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17762 printf %s "checking for -lfontconfig... " >&6; }
17763 if test ${ac_cv_lib_soname_fontconfig+y}
17764 then :
17765 printf %s "(cached) " >&6
17766 else $as_nop
17767 ac_check_soname_save_LIBS=$LIBS
17768 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17772 /* Override any GCC internal prototype to avoid an error.
17773 Use char because int might match the return type of a GCC
17774 builtin and then its argument prototype would still apply. */
17775 char FcInit ();
17777 main (void)
17779 return FcInit ();
17781 return 0;
17783 _ACEOF
17784 if ac_fn_c_try_link "$LINENO"
17785 then :
17786 case "$LIBEXT" in
17787 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17788 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'` ;;
17789 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17790 if ${ac_cv_lib_soname_fontconfig:+false} :
17791 then :
17792 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17793 fi ;;
17794 esac
17795 else $as_nop
17796 ac_cv_lib_soname_fontconfig=
17798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17799 conftest$ac_exeext conftest.$ac_ext
17800 LIBS=$ac_check_soname_save_LIBS
17802 if ${ac_cv_lib_soname_fontconfig:+false} :
17803 then :
17804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17805 printf "%s\n" "not found" >&6; }
17806 FONTCONFIG_CFLAGS=""
17807 else $as_nop
17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17809 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17811 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17815 else
17816 FONTCONFIG_CFLAGS=""
17818 CPPFLAGS=$ac_save_CPPFLAGS
17821 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17822 then :
17823 case "x$with_fontconfig" in
17824 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17825 xno) ;;
17826 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17827 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17828 esac
17832 if test "x$with_krb5" != "xno"
17833 then
17834 if ${KRB5_CFLAGS:+false} :
17835 then :
17836 if test ${PKG_CONFIG+y}
17837 then :
17838 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17841 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17842 if ${KRB5_LIBS:+false} :
17843 then :
17844 if test ${PKG_CONFIG+y}
17845 then :
17846 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17849 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17853 ac_save_CPPFLAGS=$CPPFLAGS
17854 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17855 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17856 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17857 then :
17858 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17862 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17863 then
17864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17865 printf %s "checking for -lkrb5... " >&6; }
17866 if test ${ac_cv_lib_soname_krb5+y}
17867 then :
17868 printf %s "(cached) " >&6
17869 else $as_nop
17870 ac_check_soname_save_LIBS=$LIBS
17871 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17875 /* Override any GCC internal prototype to avoid an error.
17876 Use char because int might match the return type of a GCC
17877 builtin and then its argument prototype would still apply. */
17878 char krb5_is_config_principal ();
17880 main (void)
17882 return krb5_is_config_principal ();
17884 return 0;
17886 _ACEOF
17887 if ac_fn_c_try_link "$LINENO"
17888 then :
17889 case "$LIBEXT" in
17890 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17891 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'` ;;
17892 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17893 if ${ac_cv_lib_soname_krb5:+false} :
17894 then :
17895 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17896 fi ;;
17897 esac
17898 else $as_nop
17899 ac_cv_lib_soname_krb5=
17901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17902 conftest$ac_exeext conftest.$ac_ext
17903 LIBS=$ac_check_soname_save_LIBS
17905 if ${ac_cv_lib_soname_krb5:+false} :
17906 then :
17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17908 printf "%s\n" "not found" >&6; }
17909 KRB5_CFLAGS=""
17910 else $as_nop
17911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17912 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17914 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17918 else
17919 KRB5_CFLAGS=""
17921 CPPFLAGS=$ac_save_CPPFLAGS
17924 if test "x$ac_cv_lib_soname_krb5" = "x"
17925 then :
17926 case "x$with_krb5" in
17927 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17928 xno) ;;
17929 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17930 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17931 esac
17934 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17936 if test "x$with_gssapi" != "xno"
17937 then
17938 if ${GSSAPI_CFLAGS:+false} :
17939 then :
17940 if test ${PKG_CONFIG+y}
17941 then :
17942 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17945 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17946 if ${GSSAPI_LIBS:+false} :
17947 then :
17948 if test ${PKG_CONFIG+y}
17949 then :
17950 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17953 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17957 ac_save_CPPFLAGS=$CPPFLAGS
17958 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17959 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17960 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17961 then :
17962 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17965 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17966 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17967 then :
17968 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17972 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17973 then
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17975 printf %s "checking for -lgssapi_krb5... " >&6; }
17976 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17977 then :
17978 printf %s "(cached) " >&6
17979 else $as_nop
17980 ac_check_soname_save_LIBS=$LIBS
17981 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17988 char gss_init_sec_context ();
17990 main (void)
17992 return gss_init_sec_context ();
17994 return 0;
17996 _ACEOF
17997 if ac_fn_c_try_link "$LINENO"
17998 then :
17999 case "$LIBEXT" in
18000 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18001 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'` ;;
18002 *) 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'`
18003 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18004 then :
18005 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18006 fi ;;
18007 esac
18008 else $as_nop
18009 ac_cv_lib_soname_gssapi_krb5=
18011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18012 conftest$ac_exeext conftest.$ac_ext
18013 LIBS=$ac_check_soname_save_LIBS
18015 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18016 then :
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18018 printf "%s\n" "not found" >&6; }
18019 GSSAPI_CFLAGS=""
18020 else $as_nop
18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18022 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18024 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18028 else
18029 GSSAPI_CFLAGS=""
18031 CPPFLAGS=$ac_save_CPPFLAGS
18034 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18035 then :
18036 case "x$with_gssapi" in
18037 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18038 xno) ;;
18039 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18040 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18041 esac
18045 if test "$ac_cv_header_AL_al_h" = "yes"
18046 then
18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18048 printf %s "checking for -lopenal... " >&6; }
18049 if test ${ac_cv_lib_soname_openal+y}
18050 then :
18051 printf %s "(cached) " >&6
18052 else $as_nop
18053 ac_check_soname_save_LIBS=$LIBS
18054 LIBS="-lopenal $LIBS"
18055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h. */
18058 /* Override any GCC internal prototype to avoid an error.
18059 Use char because int might match the return type of a GCC
18060 builtin and then its argument prototype would still apply. */
18061 char alGetSource3i ();
18063 main (void)
18065 return alGetSource3i ();
18067 return 0;
18069 _ACEOF
18070 if ac_fn_c_try_link "$LINENO"
18071 then :
18072 case "$LIBEXT" in
18073 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18074 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'` ;;
18075 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18076 if ${ac_cv_lib_soname_openal:+false} :
18077 then :
18078 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18079 fi ;;
18080 esac
18081 else $as_nop
18082 ac_cv_lib_soname_openal=
18084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18085 conftest$ac_exeext conftest.$ac_ext
18086 LIBS=$ac_check_soname_save_LIBS
18088 if ${ac_cv_lib_soname_openal:+false} :
18089 then :
18090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18091 printf "%s\n" "not found" >&6; }
18093 else $as_nop
18094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18095 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18097 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18099 OPENAL_LIBS="-lopenal"
18101 ac_cv_lib_openal=yes
18103 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18107 if test "x$ac_cv_lib_openal" != xyes
18108 then :
18109 case "x$with_openal" in
18110 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18111 xno) ;;
18112 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18113 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18114 esac
18115 enable_openal32=${enable_openal32:-no}
18118 if test "$ac_cv_header_libprocstat_h" = "yes"
18119 then
18120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18121 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18122 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18123 then :
18124 printf %s "(cached) " >&6
18125 else $as_nop
18126 ac_check_lib_save_LIBS=$LIBS
18127 LIBS="-lprocstat $LIBS"
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18131 /* Override any GCC internal prototype to avoid an error.
18132 Use char because int might match the return type of a GCC
18133 builtin and then its argument prototype would still apply. */
18134 char procstat_open_sysctl ();
18136 main (void)
18138 return procstat_open_sysctl ();
18140 return 0;
18142 _ACEOF
18143 if ac_fn_c_try_link "$LINENO"
18144 then :
18145 ac_cv_lib_procstat_procstat_open_sysctl=yes
18146 else $as_nop
18147 ac_cv_lib_procstat_procstat_open_sysctl=no
18149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18150 conftest$ac_exeext conftest.$ac_ext
18151 LIBS=$ac_check_lib_save_LIBS
18153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18154 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18155 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18156 then :
18158 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18160 PROCSTAT_LIBS="-lprocstat"
18166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18167 printf %s "checking for -lodbc... " >&6; }
18168 if test ${ac_cv_lib_soname_odbc+y}
18169 then :
18170 printf %s "(cached) " >&6
18171 else $as_nop
18172 ac_check_soname_save_LIBS=$LIBS
18173 LIBS="-lodbc $LIBS"
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18177 /* Override any GCC internal prototype to avoid an error.
18178 Use char because int might match the return type of a GCC
18179 builtin and then its argument prototype would still apply. */
18180 char SQLConnect ();
18182 main (void)
18184 return SQLConnect ();
18186 return 0;
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"
18190 then :
18191 case "$LIBEXT" in
18192 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18193 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'` ;;
18194 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18195 if ${ac_cv_lib_soname_odbc:+false} :
18196 then :
18197 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18198 fi ;;
18199 esac
18200 else $as_nop
18201 ac_cv_lib_soname_odbc=
18203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_check_soname_save_LIBS
18207 if ${ac_cv_lib_soname_odbc:+false} :
18208 then :
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18210 printf "%s\n" "not found" >&6; }
18211 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18213 else $as_nop
18214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18215 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18217 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18222 if test "x$with_netapi" != "xno"
18223 then
18224 if ${NETAPI_CFLAGS:+false} :
18225 then :
18226 if test ${PKG_CONFIG+y}
18227 then :
18228 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18232 if ${NETAPI_LIBS:+false} :
18233 then :
18234 if test ${PKG_CONFIG+y}
18235 then :
18236 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18243 ac_save_CPPFLAGS=$CPPFLAGS
18244 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18246 printf %s "checking for -lnetapi... " >&6; }
18247 if test ${ac_cv_lib_soname_netapi+y}
18248 then :
18249 printf %s "(cached) " >&6
18250 else $as_nop
18251 ac_check_soname_save_LIBS=$LIBS
18252 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18256 /* Override any GCC internal prototype to avoid an error.
18257 Use char because int might match the return type of a GCC
18258 builtin and then its argument prototype would still apply. */
18259 char libnetapi_init ();
18261 main (void)
18263 return libnetapi_init ();
18265 return 0;
18267 _ACEOF
18268 if ac_fn_c_try_link "$LINENO"
18269 then :
18270 case "$LIBEXT" in
18271 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18272 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'` ;;
18273 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18274 if ${ac_cv_lib_soname_netapi:+false} :
18275 then :
18276 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18277 fi ;;
18278 esac
18279 else $as_nop
18280 ac_cv_lib_soname_netapi=
18282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18283 conftest$ac_exeext conftest.$ac_ext
18284 LIBS=$ac_check_soname_save_LIBS
18286 if ${ac_cv_lib_soname_netapi:+false} :
18287 then :
18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18289 printf "%s\n" "not found" >&6; }
18290 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18292 else $as_nop
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18294 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18296 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18300 CPPFLAGS=$ac_save_CPPFLAGS
18303 if test "x$ac_cv_lib_soname_netapi" = "x"
18304 then :
18305 case "x$with_netapi" in
18306 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18307 xno) ;;
18308 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18309 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18310 esac
18311 enable_netapi=${enable_netapi:-no}
18315 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18316 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18317 then
18318 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18321 if test "x$with_vulkan" != "xno"
18322 then
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18324 printf %s "checking for -lvulkan... " >&6; }
18325 if test ${ac_cv_lib_soname_vulkan+y}
18326 then :
18327 printf %s "(cached) " >&6
18328 else $as_nop
18329 ac_check_soname_save_LIBS=$LIBS
18330 LIBS="-lvulkan $LIBS"
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18334 /* Override any GCC internal prototype to avoid an error.
18335 Use char because int might match the return type of a GCC
18336 builtin and then its argument prototype would still apply. */
18337 char vkGetInstanceProcAddr ();
18339 main (void)
18341 return vkGetInstanceProcAddr ();
18343 return 0;
18345 _ACEOF
18346 if ac_fn_c_try_link "$LINENO"
18347 then :
18348 case "$LIBEXT" in
18349 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18350 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'` ;;
18351 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18352 if ${ac_cv_lib_soname_vulkan:+false} :
18353 then :
18354 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18355 fi ;;
18356 esac
18357 else $as_nop
18358 ac_cv_lib_soname_vulkan=
18360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18361 conftest$ac_exeext conftest.$ac_ext
18362 LIBS=$ac_check_soname_save_LIBS
18364 if ${ac_cv_lib_soname_vulkan:+false} :
18365 then :
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18367 printf "%s\n" "not found" >&6; }
18369 else $as_nop
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18371 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18373 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18377 if test "x$ac_cv_lib_soname_vulkan" = "x"
18378 then
18379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18380 printf %s "checking for -lMoltenVK... " >&6; }
18381 if test ${ac_cv_lib_soname_MoltenVK+y}
18382 then :
18383 printf %s "(cached) " >&6
18384 else $as_nop
18385 ac_check_soname_save_LIBS=$LIBS
18386 LIBS="-lMoltenVK $LIBS"
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18390 /* Override any GCC internal prototype to avoid an error.
18391 Use char because int might match the return type of a GCC
18392 builtin and then its argument prototype would still apply. */
18393 char vkGetInstanceProcAddr ();
18395 main (void)
18397 return vkGetInstanceProcAddr ();
18399 return 0;
18401 _ACEOF
18402 if ac_fn_c_try_link "$LINENO"
18403 then :
18404 case "$LIBEXT" in
18405 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18406 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'` ;;
18407 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18408 if ${ac_cv_lib_soname_MoltenVK:+false} :
18409 then :
18410 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18411 fi ;;
18412 esac
18413 else $as_nop
18414 ac_cv_lib_soname_MoltenVK=
18416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18417 conftest$ac_exeext conftest.$ac_ext
18418 LIBS=$ac_check_soname_save_LIBS
18420 if ${ac_cv_lib_soname_MoltenVK:+false} :
18421 then :
18422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18423 printf "%s\n" "not found" >&6; }
18425 else $as_nop
18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18427 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18429 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18435 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18436 then :
18437 case "x$with_vulkan" in
18438 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18439 xno) ;;
18440 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18441 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18442 esac
18446 if test "x$with_vkd3d" != "xno"
18447 then
18448 if ${VKD3D_CFLAGS:+false} :
18449 then :
18450 if test ${PKG_CONFIG+y}
18451 then :
18452 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18456 if ${VKD3D_LIBS:+false} :
18457 then :
18458 if test ${PKG_CONFIG+y}
18459 then :
18460 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18467 ac_save_CPPFLAGS=$CPPFLAGS
18468 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18470 printf %s "checking for -lvkd3d... " >&6; }
18471 if test ${ac_cv_lib_soname_vkd3d+y}
18472 then :
18473 printf %s "(cached) " >&6
18474 else $as_nop
18475 ac_check_soname_save_LIBS=$LIBS
18476 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18480 /* Override any GCC internal prototype to avoid an error.
18481 Use char because int might match the return type of a GCC
18482 builtin and then its argument prototype would still apply. */
18483 char vkd3d_serialize_versioned_root_signature ();
18485 main (void)
18487 return vkd3d_serialize_versioned_root_signature ();
18489 return 0;
18491 _ACEOF
18492 if ac_fn_c_try_link "$LINENO"
18493 then :
18494 case "$LIBEXT" in
18495 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18496 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'` ;;
18497 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18498 if ${ac_cv_lib_soname_vkd3d:+false} :
18499 then :
18500 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18501 fi ;;
18502 esac
18503 else $as_nop
18504 ac_cv_lib_soname_vkd3d=
18506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18507 conftest$ac_exeext conftest.$ac_ext
18508 LIBS=$ac_check_soname_save_LIBS
18510 if ${ac_cv_lib_soname_vkd3d:+false} :
18511 then :
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18513 printf "%s\n" "not found" >&6; }
18515 else $as_nop
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18517 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18519 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18523 CPPFLAGS=$ac_save_CPPFLAGS
18525 if ${VKD3D_SHADER_CFLAGS:+false} :
18526 then :
18527 if test ${PKG_CONFIG+y}
18528 then :
18529 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18533 if ${VKD3D_SHADER_LIBS:+false} :
18534 then :
18535 if test ${PKG_CONFIG+y}
18536 then :
18537 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18544 ac_save_CPPFLAGS=$CPPFLAGS
18545 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18547 printf %s "checking for -lvkd3d-shader... " >&6; }
18548 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18549 then :
18550 printf %s "(cached) " >&6
18551 else $as_nop
18552 ac_check_soname_save_LIBS=$LIBS
18553 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18557 /* Override any GCC internal prototype to avoid an error.
18558 Use char because int might match the return type of a GCC
18559 builtin and then its argument prototype would still apply. */
18560 char vkd3d_shader_compile ();
18562 main (void)
18564 return vkd3d_shader_compile ();
18566 return 0;
18568 _ACEOF
18569 if ac_fn_c_try_link "$LINENO"
18570 then :
18571 case "$LIBEXT" in
18572 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18573 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18574 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18575 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18576 then :
18577 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18578 fi ;;
18579 esac
18580 else $as_nop
18581 ac_cv_lib_soname_vkd3d_shader=
18583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18584 conftest$ac_exeext conftest.$ac_ext
18585 LIBS=$ac_check_soname_save_LIBS
18587 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18588 then :
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18590 printf "%s\n" "not found" >&6; }
18592 else $as_nop
18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18594 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18596 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18600 CPPFLAGS=$ac_save_CPPFLAGS
18603 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18604 then :
18605 case "x$with_vkd3d" in
18606 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18607 xno) ;;
18608 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18609 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18610 esac
18613 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18616 if test "x${GCC}" = "xyes"
18617 then
18618 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18620 saved_CFLAGS=$CFLAGS
18621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18622 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18623 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18624 then :
18625 printf %s "(cached) " >&6
18626 else $as_nop
18627 ac_wine_try_cflags_saved=$CFLAGS
18628 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18631 int main(int argc, char **argv) { return 0; }
18632 _ACEOF
18633 if ac_fn_c_try_link "$LINENO"
18634 then :
18635 ac_cv_cflags__Werror_unknown_warning_option=yes
18636 else $as_nop
18637 ac_cv_cflags__Werror_unknown_warning_option=no
18639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18640 conftest$ac_exeext conftest.$ac_ext
18641 CFLAGS=$ac_wine_try_cflags_saved
18643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18644 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18645 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18646 then :
18647 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18650 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18651 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18652 then :
18653 printf %s "(cached) " >&6
18654 else $as_nop
18655 ac_wine_try_cflags_saved=$CFLAGS
18656 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18659 int main(int argc, char **argv) { return 0; }
18660 _ACEOF
18661 if ac_fn_c_try_link "$LINENO"
18662 then :
18663 ac_cv_cflags__Werror_unused_command_line_argument=yes
18664 else $as_nop
18665 ac_cv_cflags__Werror_unused_command_line_argument=no
18667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18668 conftest$ac_exeext conftest.$ac_ext
18669 CFLAGS=$ac_wine_try_cflags_saved
18671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18672 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18673 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18674 then :
18675 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18678 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18679 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18680 then :
18681 printf %s "(cached) " >&6
18682 else $as_nop
18683 ac_wine_try_cflags_saved=$CFLAGS
18684 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18687 int main(int argc, char **argv) { return 0; }
18688 _ACEOF
18689 if ac_fn_c_try_link "$LINENO"
18690 then :
18691 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18692 else $as_nop
18693 ac_cv_cflags__Werror_ignored_optimization_argument=no
18695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18696 conftest$ac_exeext conftest.$ac_ext
18697 CFLAGS=$ac_wine_try_cflags_saved
18699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18700 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18701 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18702 then :
18703 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18706 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18707 if test ${ac_cv_cflags__fcf_protection_none+y}
18708 then :
18709 printf %s "(cached) " >&6
18710 else $as_nop
18711 ac_wine_try_cflags_saved=$CFLAGS
18712 CFLAGS="$CFLAGS -fcf-protection=none"
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 int main(int argc, char **argv) { return 0; }
18716 _ACEOF
18717 if ac_fn_c_try_link "$LINENO"
18718 then :
18719 ac_cv_cflags__fcf_protection_none=yes
18720 else $as_nop
18721 ac_cv_cflags__fcf_protection_none=no
18723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18724 conftest$ac_exeext conftest.$ac_ext
18725 CFLAGS=$ac_wine_try_cflags_saved
18727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18728 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18729 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18730 then :
18731 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18734 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18735 if test ${ac_cv_cflags__fno_stack_protector+y}
18736 then :
18737 printf %s "(cached) " >&6
18738 else $as_nop
18739 ac_wine_try_cflags_saved=$CFLAGS
18740 CFLAGS="$CFLAGS -fno-stack-protector"
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 int main(int argc, char **argv) { return 0; }
18744 _ACEOF
18745 if ac_fn_c_try_link "$LINENO"
18746 then :
18747 ac_cv_cflags__fno_stack_protector=yes
18748 else $as_nop
18749 ac_cv_cflags__fno_stack_protector=no
18751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18752 conftest$ac_exeext conftest.$ac_ext
18753 CFLAGS=$ac_wine_try_cflags_saved
18755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18756 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18757 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18758 then :
18759 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18762 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18763 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18764 then :
18765 printf %s "(cached) " >&6
18766 else $as_nop
18767 ac_wine_try_cflags_saved=$CFLAGS
18768 CFLAGS="$CFLAGS -fno-strict-aliasing"
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 int main(int argc, char **argv) { return 0; }
18772 _ACEOF
18773 if ac_fn_c_try_link "$LINENO"
18774 then :
18775 ac_cv_cflags__fno_strict_aliasing=yes
18776 else $as_nop
18777 ac_cv_cflags__fno_strict_aliasing=no
18779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18780 conftest$ac_exeext conftest.$ac_ext
18781 CFLAGS=$ac_wine_try_cflags_saved
18783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18784 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18785 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18786 then :
18787 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18790 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18791 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18792 then :
18793 printf %s "(cached) " >&6
18794 else $as_nop
18795 ac_wine_try_cflags_saved=$CFLAGS
18796 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799 int main(int argc, char **argv) { return 0; }
18800 _ACEOF
18801 if ac_fn_c_try_link "$LINENO"
18802 then :
18803 ac_cv_cflags__Wdeclaration_after_statement=yes
18804 else $as_nop
18805 ac_cv_cflags__Wdeclaration_after_statement=no
18807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18808 conftest$ac_exeext conftest.$ac_ext
18809 CFLAGS=$ac_wine_try_cflags_saved
18811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18812 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18813 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18814 then :
18815 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18818 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18819 if test ${ac_cv_cflags__Wempty_body+y}
18820 then :
18821 printf %s "(cached) " >&6
18822 else $as_nop
18823 ac_wine_try_cflags_saved=$CFLAGS
18824 CFLAGS="$CFLAGS -Wempty-body"
18825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h. */
18827 int main(int argc, char **argv) { return 0; }
18828 _ACEOF
18829 if ac_fn_c_try_link "$LINENO"
18830 then :
18831 ac_cv_cflags__Wempty_body=yes
18832 else $as_nop
18833 ac_cv_cflags__Wempty_body=no
18835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18836 conftest$ac_exeext conftest.$ac_ext
18837 CFLAGS=$ac_wine_try_cflags_saved
18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18840 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18841 if test "x$ac_cv_cflags__Wempty_body" = xyes
18842 then :
18843 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18846 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18847 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18848 then :
18849 printf %s "(cached) " >&6
18850 else $as_nop
18851 ac_wine_try_cflags_saved=$CFLAGS
18852 CFLAGS="$CFLAGS -Wignored-qualifiers"
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855 int main(int argc, char **argv) { return 0; }
18856 _ACEOF
18857 if ac_fn_c_try_link "$LINENO"
18858 then :
18859 ac_cv_cflags__Wignored_qualifiers=yes
18860 else $as_nop
18861 ac_cv_cflags__Wignored_qualifiers=no
18863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18864 conftest$ac_exeext conftest.$ac_ext
18865 CFLAGS=$ac_wine_try_cflags_saved
18867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18868 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18869 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18870 then :
18871 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18874 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18875 if test ${ac_cv_cflags__Winit_self+y}
18876 then :
18877 printf %s "(cached) " >&6
18878 else $as_nop
18879 ac_wine_try_cflags_saved=$CFLAGS
18880 CFLAGS="$CFLAGS -Winit-self"
18881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18882 /* end confdefs.h. */
18883 int main(int argc, char **argv) { return 0; }
18884 _ACEOF
18885 if ac_fn_c_try_link "$LINENO"
18886 then :
18887 ac_cv_cflags__Winit_self=yes
18888 else $as_nop
18889 ac_cv_cflags__Winit_self=no
18891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18892 conftest$ac_exeext conftest.$ac_ext
18893 CFLAGS=$ac_wine_try_cflags_saved
18895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18896 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18897 if test "x$ac_cv_cflags__Winit_self" = xyes
18898 then :
18899 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18902 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18903 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18904 then :
18905 printf %s "(cached) " >&6
18906 else $as_nop
18907 ac_wine_try_cflags_saved=$CFLAGS
18908 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911 int main(int argc, char **argv) { return 0; }
18912 _ACEOF
18913 if ac_fn_c_try_link "$LINENO"
18914 then :
18915 ac_cv_cflags__Wpacked_not_aligned=yes
18916 else $as_nop
18917 ac_cv_cflags__Wpacked_not_aligned=no
18919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18920 conftest$ac_exeext conftest.$ac_ext
18921 CFLAGS=$ac_wine_try_cflags_saved
18923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18924 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18925 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18926 then :
18927 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18930 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18931 if test ${ac_cv_cflags__Wpragma_pack+y}
18932 then :
18933 printf %s "(cached) " >&6
18934 else $as_nop
18935 ac_wine_try_cflags_saved=$CFLAGS
18936 CFLAGS="$CFLAGS -Wpragma-pack"
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18938 /* end confdefs.h. */
18939 int main(int argc, char **argv) { return 0; }
18940 _ACEOF
18941 if ac_fn_c_try_link "$LINENO"
18942 then :
18943 ac_cv_cflags__Wpragma_pack=yes
18944 else $as_nop
18945 ac_cv_cflags__Wpragma_pack=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18948 conftest$ac_exeext conftest.$ac_ext
18949 CFLAGS=$ac_wine_try_cflags_saved
18951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18952 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18953 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18954 then :
18955 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18958 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18959 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18960 then :
18961 printf %s "(cached) " >&6
18962 else $as_nop
18963 ac_wine_try_cflags_saved=$CFLAGS
18964 CFLAGS="$CFLAGS -Wshift-overflow=2"
18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h. */
18967 int main(int argc, char **argv) { return 0; }
18968 _ACEOF
18969 if ac_fn_c_try_link "$LINENO"
18970 then :
18971 ac_cv_cflags__Wshift_overflow_2=yes
18972 else $as_nop
18973 ac_cv_cflags__Wshift_overflow_2=no
18975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18976 conftest$ac_exeext conftest.$ac_ext
18977 CFLAGS=$ac_wine_try_cflags_saved
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18980 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18981 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18982 then :
18983 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18986 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18987 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18988 then :
18989 printf %s "(cached) " >&6
18990 else $as_nop
18991 ac_wine_try_cflags_saved=$CFLAGS
18992 CFLAGS="$CFLAGS -Wstrict-prototypes"
18993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18995 int main(int argc, char **argv) { return 0; }
18996 _ACEOF
18997 if ac_fn_c_try_link "$LINENO"
18998 then :
18999 ac_cv_cflags__Wstrict_prototypes=yes
19000 else $as_nop
19001 ac_cv_cflags__Wstrict_prototypes=no
19003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19004 conftest$ac_exeext conftest.$ac_ext
19005 CFLAGS=$ac_wine_try_cflags_saved
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19008 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19009 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19010 then :
19011 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19014 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19015 if test ${ac_cv_cflags__Wtype_limits+y}
19016 then :
19017 printf %s "(cached) " >&6
19018 else $as_nop
19019 ac_wine_try_cflags_saved=$CFLAGS
19020 CFLAGS="$CFLAGS -Wtype-limits"
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19023 int main(int argc, char **argv) { return 0; }
19024 _ACEOF
19025 if ac_fn_c_try_link "$LINENO"
19026 then :
19027 ac_cv_cflags__Wtype_limits=yes
19028 else $as_nop
19029 ac_cv_cflags__Wtype_limits=no
19031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19032 conftest$ac_exeext conftest.$ac_ext
19033 CFLAGS=$ac_wine_try_cflags_saved
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19036 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19037 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19038 then :
19039 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19042 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19043 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19044 then :
19045 printf %s "(cached) " >&6
19046 else $as_nop
19047 ac_wine_try_cflags_saved=$CFLAGS
19048 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19050 /* end confdefs.h. */
19051 int main(int argc, char **argv) { return 0; }
19052 _ACEOF
19053 if ac_fn_c_try_link "$LINENO"
19054 then :
19055 ac_cv_cflags__Wunused_but_set_parameter=yes
19056 else $as_nop
19057 ac_cv_cflags__Wunused_but_set_parameter=no
19059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19060 conftest$ac_exeext conftest.$ac_ext
19061 CFLAGS=$ac_wine_try_cflags_saved
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19064 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19065 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19066 then :
19067 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19070 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19071 if test ${ac_cv_cflags__Wvla+y}
19072 then :
19073 printf %s "(cached) " >&6
19074 else $as_nop
19075 ac_wine_try_cflags_saved=$CFLAGS
19076 CFLAGS="$CFLAGS -Wvla"
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 int main(int argc, char **argv) { return 0; }
19080 _ACEOF
19081 if ac_fn_c_try_link "$LINENO"
19082 then :
19083 ac_cv_cflags__Wvla=yes
19084 else $as_nop
19085 ac_cv_cflags__Wvla=no
19087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19088 conftest$ac_exeext conftest.$ac_ext
19089 CFLAGS=$ac_wine_try_cflags_saved
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19092 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19093 if test "x$ac_cv_cflags__Wvla" = xyes
19094 then :
19095 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19098 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19099 if test ${ac_cv_cflags__Wwrite_strings+y}
19100 then :
19101 printf %s "(cached) " >&6
19102 else $as_nop
19103 ac_wine_try_cflags_saved=$CFLAGS
19104 CFLAGS="$CFLAGS -Wwrite-strings"
19105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19106 /* end confdefs.h. */
19107 int main(int argc, char **argv) { return 0; }
19108 _ACEOF
19109 if ac_fn_c_try_link "$LINENO"
19110 then :
19111 ac_cv_cflags__Wwrite_strings=yes
19112 else $as_nop
19113 ac_cv_cflags__Wwrite_strings=no
19115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19116 conftest$ac_exeext conftest.$ac_ext
19117 CFLAGS=$ac_wine_try_cflags_saved
19119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19120 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19121 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19122 then :
19123 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19126 if test -z "$CROSSTARGET"
19127 then
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19129 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19130 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19131 then :
19132 printf %s "(cached) " >&6
19133 else $as_nop
19134 ac_wine_try_cflags_saved=$CFLAGS
19135 CFLAGS="$CFLAGS -fexcess-precision=standard"
19136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19137 /* end confdefs.h. */
19138 int main(int argc, char **argv) { return 0; }
19139 _ACEOF
19140 if ac_fn_c_try_link "$LINENO"
19141 then :
19142 ac_cv_cflags__fexcess_precision_standard=yes
19143 else $as_nop
19144 ac_cv_cflags__fexcess_precision_standard=no
19146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19147 conftest$ac_exeext conftest.$ac_ext
19148 CFLAGS=$ac_wine_try_cflags_saved
19150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19151 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19152 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19153 then :
19154 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19160 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19161 if test ${ac_cv_cflags__Wpointer_arith+y}
19162 then :
19163 printf %s "(cached) " >&6
19164 else $as_nop
19165 ac_wine_try_cflags_saved=$CFLAGS
19166 CFLAGS="$CFLAGS -Wpointer-arith"
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 int main(int argc, char **argv) { return 0; }
19170 _ACEOF
19171 if ac_fn_c_try_link "$LINENO"
19172 then :
19173 ac_cv_cflags__Wpointer_arith=yes
19174 else $as_nop
19175 ac_cv_cflags__Wpointer_arith=no
19177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19178 conftest$ac_exeext conftest.$ac_ext
19179 CFLAGS=$ac_wine_try_cflags_saved
19181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19182 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19183 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19184 then :
19185 saved_string_h_CFLAGS=$CFLAGS
19186 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19188 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19189 if test ${ac_cv_c_string_h_warnings+y}
19190 then :
19191 printf %s "(cached) " >&6
19192 else $as_nop
19193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19195 #include <string.h>
19197 main (void)
19201 return 0;
19203 _ACEOF
19204 if ac_fn_c_try_compile "$LINENO"
19205 then :
19206 ac_cv_c_string_h_warnings=no
19207 else $as_nop
19208 ac_cv_c_string_h_warnings=yes
19210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19213 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19214 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19215 CFLAGS=$saved_string_h_CFLAGS
19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19219 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19220 if test ${ac_cv_cflags__Wlogical_op+y}
19221 then :
19222 printf %s "(cached) " >&6
19223 else $as_nop
19224 ac_wine_try_cflags_saved=$CFLAGS
19225 CFLAGS="$CFLAGS -Wlogical-op"
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 int main(int argc, char **argv) { return 0; }
19229 _ACEOF
19230 if ac_fn_c_try_link "$LINENO"
19231 then :
19232 ac_cv_cflags__Wlogical_op=yes
19233 else $as_nop
19234 ac_cv_cflags__Wlogical_op=no
19236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19237 conftest$ac_exeext conftest.$ac_ext
19238 CFLAGS=$ac_wine_try_cflags_saved
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19241 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19242 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19243 then :
19244 saved_string_h_CFLAGS=$CFLAGS
19245 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19247 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19248 if test ${ac_cv_c_logicalop_noisy+y}
19249 then :
19250 printf %s "(cached) " >&6
19251 else $as_nop
19252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19253 /* end confdefs.h. */
19254 #include <string.h>
19255 char*f(const char *h,char n) {return strchr(h,n);}
19257 main (void)
19261 return 0;
19263 _ACEOF
19264 if ac_fn_c_try_compile "$LINENO"
19265 then :
19266 ac_cv_c_logicalop_noisy=no
19267 else $as_nop
19268 ac_cv_c_logicalop_noisy=yes
19270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19273 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19274 CFLAGS=$saved_string_h_CFLAGS
19275 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19279 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19280 if test ${wine_cv_64bit_compare_swap+y}
19281 then :
19282 printf %s "(cached) " >&6
19283 else $as_nop
19284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19287 #error no
19288 #endif
19290 main (void)
19294 return 0;
19296 _ACEOF
19297 if ac_fn_c_try_compile "$LINENO"
19298 then :
19299 wine_cv_64bit_compare_swap="none needed"
19300 else $as_nop
19301 case $host_cpu in
19302 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19303 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19304 *) wine_cv_64bit_compare_swap="unknown" ;;
19305 esac
19306 if test "x$wine_cv_64bit_compare_swap" != xunknown
19307 then
19308 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19312 #error no
19313 #endif
19315 main (void)
19319 return 0;
19321 _ACEOF
19322 if ac_fn_c_try_compile "$LINENO"
19323 then :
19325 else $as_nop
19326 wine_cv_64bit_compare_swap="unknown"
19328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19329 CFLAGS=$saved_CFLAGS
19332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19335 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19336 case "$wine_cv_64bit_compare_swap" in
19337 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19338 "none needed") ;;
19339 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19340 esac
19342 ac_debug_format_seen=""
19343 for ac_flag in $CFLAGS; do
19344 case $ac_flag in
19345 -gdwarf*) ac_debug_format_seen=yes ;;
19346 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19347 esac
19348 done
19349 if test "x$ac_debug_format_seen" = xdefault
19350 then
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19352 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19353 if test ${ac_cv_cflags__gdwarf_4+y}
19354 then :
19355 printf %s "(cached) " >&6
19356 else $as_nop
19357 ac_wine_try_cflags_saved=$CFLAGS
19358 CFLAGS="$CFLAGS -gdwarf-4"
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 int main(int argc, char **argv) { return 0; }
19362 _ACEOF
19363 if ac_fn_c_try_link "$LINENO"
19364 then :
19365 ac_cv_cflags__gdwarf_4=yes
19366 else $as_nop
19367 ac_cv_cflags__gdwarf_4=no
19369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19370 conftest$ac_exeext conftest.$ac_ext
19371 CFLAGS=$ac_wine_try_cflags_saved
19373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19374 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19375 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19376 then :
19377 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19381 MSVCRTFLAGS=""
19383 case $host_os in
19384 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19385 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19386 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19387 then :
19388 printf %s "(cached) " >&6
19389 else $as_nop
19390 ac_wine_try_cflags_saved=$CFLAGS
19391 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 int main(int argc, char **argv) { return 0; }
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"
19397 then :
19398 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19399 else $as_nop
19400 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19403 conftest$ac_exeext conftest.$ac_ext
19404 CFLAGS=$ac_wine_try_cflags_saved
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19407 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19408 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19409 then :
19410 DELAYLOADFLAG="-Wl,-delayload,"
19412 fi ;;
19413 *) MSVCRTFLAGS="-D_WIN32"
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19415 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19416 if test ${ac_cv_cflags__fno_builtin+y}
19417 then :
19418 printf %s "(cached) " >&6
19419 else $as_nop
19420 ac_wine_try_cflags_saved=$CFLAGS
19421 CFLAGS="$CFLAGS -fno-builtin"
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 int main(int argc, char **argv) { return 0; }
19425 _ACEOF
19426 if ac_fn_c_try_link "$LINENO"
19427 then :
19428 ac_cv_cflags__fno_builtin=yes
19429 else $as_nop
19430 ac_cv_cflags__fno_builtin=no
19432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19433 conftest$ac_exeext conftest.$ac_ext
19434 CFLAGS=$ac_wine_try_cflags_saved
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19437 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19438 if test "x$ac_cv_cflags__fno_builtin" = xyes
19439 then :
19440 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19443 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19444 if test ${ac_cv_cflags__fshort_wchar+y}
19445 then :
19446 printf %s "(cached) " >&6
19447 else $as_nop
19448 ac_wine_try_cflags_saved=$CFLAGS
19449 CFLAGS="$CFLAGS -fshort-wchar"
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 int main(int argc, char **argv) { return 0; }
19453 _ACEOF
19454 if ac_fn_c_try_link "$LINENO"
19455 then :
19456 ac_cv_cflags__fshort_wchar=yes
19457 else $as_nop
19458 ac_cv_cflags__fshort_wchar=no
19460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19461 conftest$ac_exeext conftest.$ac_ext
19462 CFLAGS=$ac_wine_try_cflags_saved
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19465 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19466 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19467 then :
19468 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19469 fi ;;
19470 esac
19472 case $host_cpu in
19473 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19474 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19475 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19476 then :
19477 printf %s "(cached) " >&6
19478 else $as_nop
19479 ac_wine_try_cflags_saved=$CFLAGS
19480 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 int main(int argc, char **argv) { return 0; }
19484 _ACEOF
19485 if ac_fn_c_try_link "$LINENO"
19486 then :
19487 ac_cv_cflags__fno_omit_frame_pointer=yes
19488 else $as_nop
19489 ac_cv_cflags__fno_omit_frame_pointer=no
19491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19492 conftest$ac_exeext conftest.$ac_ext
19493 CFLAGS=$ac_wine_try_cflags_saved
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19496 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19497 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19498 then :
19499 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19500 fi ;;
19501 *x86_64*)
19502 case $host_os in
19503 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19504 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19505 if test ${ac_cv_cflags__Wno_format+y}
19506 then :
19507 printf %s "(cached) " >&6
19508 else $as_nop
19509 ac_wine_try_cflags_saved=$CFLAGS
19510 CFLAGS="$CFLAGS -Wno-format"
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 int main(int argc, char **argv) { return 0; }
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"
19516 then :
19517 ac_cv_cflags__Wno_format=yes
19518 else $as_nop
19519 ac_cv_cflags__Wno_format=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19522 conftest$ac_exeext conftest.$ac_ext
19523 CFLAGS=$ac_wine_try_cflags_saved
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19526 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19527 if test "x$ac_cv_cflags__Wno_format" = xyes
19528 then :
19529 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19530 fi ;;
19531 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19532 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19533 if test ${ac_cv_cflags__mabi_ms+y}
19534 then :
19535 printf %s "(cached) " >&6
19536 else $as_nop
19537 ac_wine_try_cflags_saved=$CFLAGS
19538 CFLAGS="$CFLAGS -mabi=ms"
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 int main(int argc, char **argv) { return 0; }
19542 _ACEOF
19543 if ac_fn_c_try_link "$LINENO"
19544 then :
19545 ac_cv_cflags__mabi_ms=yes
19546 else $as_nop
19547 ac_cv_cflags__mabi_ms=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19550 conftest$ac_exeext conftest.$ac_ext
19551 CFLAGS=$ac_wine_try_cflags_saved
19553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19554 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19555 if test "x$ac_cv_cflags__mabi_ms" = xyes
19556 then :
19557 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19558 fi ;;
19559 esac ;;
19560 esac
19562 CFLAGS=$saved_CFLAGS
19564 if test "x$enable_werror" = "xyes"
19565 then
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19567 printf %s "checking whether the compiler supports -Werror... " >&6; }
19568 if test ${ac_cv_cflags__Werror+y}
19569 then :
19570 printf %s "(cached) " >&6
19571 else $as_nop
19572 ac_wine_try_cflags_saved=$CFLAGS
19573 CFLAGS="$CFLAGS -Werror"
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 int main(int argc, char **argv) { return 0; }
19577 _ACEOF
19578 if ac_fn_c_try_link "$LINENO"
19579 then :
19580 ac_cv_cflags__Werror=yes
19581 else $as_nop
19582 ac_cv_cflags__Werror=no
19584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19585 conftest$ac_exeext conftest.$ac_ext
19586 CFLAGS=$ac_wine_try_cflags_saved
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19589 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19590 if test "x$ac_cv_cflags__Werror" = xyes
19591 then :
19592 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19595 if test "x$enable_build_id" = "xyes"
19596 then
19597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19598 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19599 if test ${ac_cv_cflags__Wl___build_id+y}
19600 then :
19601 printf %s "(cached) " >&6
19602 else $as_nop
19603 ac_wine_try_cflags_saved=$CFLAGS
19604 CFLAGS="$CFLAGS -Wl,--build-id"
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19607 int main(int argc, char **argv) { return 0; }
19608 _ACEOF
19609 if ac_fn_c_try_link "$LINENO"
19610 then :
19611 ac_cv_cflags__Wl___build_id=yes
19612 else $as_nop
19613 ac_cv_cflags__Wl___build_id=no
19615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19616 conftest$ac_exeext conftest.$ac_ext
19617 CFLAGS=$ac_wine_try_cflags_saved
19619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19620 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19621 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19622 then :
19623 CFLAGS="$CFLAGS -Wl,--build-id"
19624 LDFLAGS="$LDFLAGS -Wl,--build-id"
19630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19631 printf %s "checking for the need to disable Fortify... " >&6; }
19632 if test ${ac_cv_c_fortify_enabled+y}
19633 then :
19634 printf %s "(cached) " >&6
19635 else $as_nop
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <string.h>
19640 main (void)
19642 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19643 #error Fortify enabled
19644 #endif
19646 return 0;
19648 _ACEOF
19649 if ac_fn_c_try_compile "$LINENO"
19650 then :
19651 ac_cv_c_fortify_enabled=no
19652 else $as_nop
19653 ac_cv_c_fortify_enabled=yes
19655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19658 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19659 if test "$ac_cv_c_fortify_enabled" = yes
19660 then
19661 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19666 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19667 if test ${ac_cv_c_cfi_support+y}
19668 then :
19669 printf %s "(cached) " >&6
19670 else $as_nop
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19675 main (void)
19679 return 0;
19681 _ACEOF
19682 if ac_fn_c_try_compile "$LINENO"
19683 then :
19684 ac_cv_c_cfi_support="yes"
19685 else $as_nop
19686 ac_cv_c_cfi_support="no"
19688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19691 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19692 if test "$ac_cv_c_cfi_support" = "yes"
19693 then
19694 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19695 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19696 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19697 else
19698 if test "x$enable_win64" = "xyes"
19699 then
19700 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19705 case $host_os in
19706 linux*)
19707 case $host_cpu in
19708 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19709 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19710 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19712 esac
19714 esac
19717 ac_save_CFLAGS="$CFLAGS"
19718 CFLAGS="$CFLAGS $BUILTINFLAG"
19719 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19720 if test "x$ac_cv_func_epoll_create" = xyes
19721 then :
19722 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19725 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19726 if test "x$ac_cv_func_fstatfs" = xyes
19727 then :
19728 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19731 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19732 if test "x$ac_cv_func_futimens" = xyes
19733 then :
19734 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19737 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19738 if test "x$ac_cv_func_futimes" = xyes
19739 then :
19740 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19743 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19744 if test "x$ac_cv_func_futimesat" = xyes
19745 then :
19746 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19749 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19750 if test "x$ac_cv_func_getattrlist" = xyes
19751 then :
19752 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19755 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19756 if test "x$ac_cv_func_getauxval" = xyes
19757 then :
19758 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19761 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19762 if test "x$ac_cv_func_getifaddrs" = xyes
19763 then :
19764 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19767 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19768 if test "x$ac_cv_func_getrandom" = xyes
19769 then :
19770 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19773 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19774 if test "x$ac_cv_func_kqueue" = xyes
19775 then :
19776 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19779 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19780 if test "x$ac_cv_func_mach_continuous_time" = xyes
19781 then :
19782 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19785 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19786 if test "x$ac_cv_func_pipe2" = xyes
19787 then :
19788 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19791 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19792 if test "x$ac_cv_func_port_create" = xyes
19793 then :
19794 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19797 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19798 if test "x$ac_cv_func_posix_fadvise" = xyes
19799 then :
19800 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19803 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19804 if test "x$ac_cv_func_posix_fallocate" = xyes
19805 then :
19806 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19809 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19810 if test "x$ac_cv_func_prctl" = xyes
19811 then :
19812 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19815 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19816 if test "x$ac_cv_func_proc_pidinfo" = xyes
19817 then :
19818 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19821 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19822 if test "x$ac_cv_func_sched_yield" = xyes
19823 then :
19824 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19827 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19828 if test "x$ac_cv_func_setproctitle" = xyes
19829 then :
19830 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19833 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19834 if test "x$ac_cv_func_setprogname" = xyes
19835 then :
19836 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19839 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19840 if test "x$ac_cv_func_sigprocmask" = xyes
19841 then :
19842 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19845 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19846 if test "x$ac_cv_func_sysinfo" = xyes
19847 then :
19848 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19851 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19852 if test "x$ac_cv_func_tcdrain" = xyes
19853 then :
19854 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19857 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19858 if test "x$ac_cv_func_thr_kill2" = xyes
19859 then :
19860 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19864 CFLAGS="$ac_save_CFLAGS"
19866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19867 printf %s "checking for library containing dlopen... " >&6; }
19868 if test ${ac_cv_search_dlopen+y}
19869 then :
19870 printf %s "(cached) " >&6
19871 else $as_nop
19872 ac_func_search_save_LIBS=$LIBS
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19876 /* Override any GCC internal prototype to avoid an error.
19877 Use char because int might match the return type of a GCC
19878 builtin and then its argument prototype would still apply. */
19879 char dlopen ();
19881 main (void)
19883 return dlopen ();
19885 return 0;
19887 _ACEOF
19888 for ac_lib in '' dl
19890 if test -z "$ac_lib"; then
19891 ac_res="none required"
19892 else
19893 ac_res=-l$ac_lib
19894 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19896 if ac_fn_c_try_link "$LINENO"
19897 then :
19898 ac_cv_search_dlopen=$ac_res
19900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19901 conftest$ac_exeext
19902 if test ${ac_cv_search_dlopen+y}
19903 then :
19904 break
19906 done
19907 if test ${ac_cv_search_dlopen+y}
19908 then :
19910 else $as_nop
19911 ac_cv_search_dlopen=no
19913 rm conftest.$ac_ext
19914 LIBS=$ac_func_search_save_LIBS
19916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19917 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19918 ac_res=$ac_cv_search_dlopen
19919 if test "$ac_res" != no
19920 then :
19921 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19925 ac_wine_check_funcs_save_LIBS="$LIBS"
19926 LIBS="$LIBS $DL_LIBS"
19927 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19928 if test "x$ac_cv_func_dlinfo" = xyes
19929 then :
19930 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19934 LIBS="$ac_wine_check_funcs_save_LIBS"
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19937 printf %s "checking for library containing gethostbyname... " >&6; }
19938 if test ${ac_cv_search_gethostbyname+y}
19939 then :
19940 printf %s "(cached) " >&6
19941 else $as_nop
19942 ac_func_search_save_LIBS=$LIBS
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19946 /* Override any GCC internal prototype to avoid an error.
19947 Use char because int might match the return type of a GCC
19948 builtin and then its argument prototype would still apply. */
19949 char gethostbyname ();
19951 main (void)
19953 return gethostbyname ();
19955 return 0;
19957 _ACEOF
19958 for ac_lib in '' nsl
19960 if test -z "$ac_lib"; then
19961 ac_res="none required"
19962 else
19963 ac_res=-l$ac_lib
19964 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19966 if ac_fn_c_try_link "$LINENO"
19967 then :
19968 ac_cv_search_gethostbyname=$ac_res
19970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19971 conftest$ac_exeext
19972 if test ${ac_cv_search_gethostbyname+y}
19973 then :
19974 break
19976 done
19977 if test ${ac_cv_search_gethostbyname+y}
19978 then :
19980 else $as_nop
19981 ac_cv_search_gethostbyname=no
19983 rm conftest.$ac_ext
19984 LIBS=$ac_func_search_save_LIBS
19986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19987 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19988 ac_res=$ac_cv_search_gethostbyname
19989 if test "$ac_res" != no
19990 then :
19991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19997 printf %s "checking for library containing connect... " >&6; }
19998 if test ${ac_cv_search_connect+y}
19999 then :
20000 printf %s "(cached) " >&6
20001 else $as_nop
20002 ac_func_search_save_LIBS=$LIBS
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20006 /* Override any GCC internal prototype to avoid an error.
20007 Use char because int might match the return type of a GCC
20008 builtin and then its argument prototype would still apply. */
20009 char connect ();
20011 main (void)
20013 return connect ();
20015 return 0;
20017 _ACEOF
20018 for ac_lib in '' socket
20020 if test -z "$ac_lib"; then
20021 ac_res="none required"
20022 else
20023 ac_res=-l$ac_lib
20024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20026 if ac_fn_c_try_link "$LINENO"
20027 then :
20028 ac_cv_search_connect=$ac_res
20030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20031 conftest$ac_exeext
20032 if test ${ac_cv_search_connect+y}
20033 then :
20034 break
20036 done
20037 if test ${ac_cv_search_connect+y}
20038 then :
20040 else $as_nop
20041 ac_cv_search_connect=no
20043 rm conftest.$ac_ext
20044 LIBS=$ac_func_search_save_LIBS
20046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20047 printf "%s\n" "$ac_cv_search_connect" >&6; }
20048 ac_res=$ac_cv_search_connect
20049 if test "$ac_res" != no
20050 then :
20051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20057 printf %s "checking for library containing inet_aton... " >&6; }
20058 if test ${ac_cv_search_inet_aton+y}
20059 then :
20060 printf %s "(cached) " >&6
20061 else $as_nop
20062 ac_func_search_save_LIBS=$LIBS
20063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20064 /* end confdefs.h. */
20066 /* Override any GCC internal prototype to avoid an error.
20067 Use char because int might match the return type of a GCC
20068 builtin and then its argument prototype would still apply. */
20069 char inet_aton ();
20071 main (void)
20073 return inet_aton ();
20075 return 0;
20077 _ACEOF
20078 for ac_lib in '' resolv
20080 if test -z "$ac_lib"; then
20081 ac_res="none required"
20082 else
20083 ac_res=-l$ac_lib
20084 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20086 if ac_fn_c_try_link "$LINENO"
20087 then :
20088 ac_cv_search_inet_aton=$ac_res
20090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20091 conftest$ac_exeext
20092 if test ${ac_cv_search_inet_aton+y}
20093 then :
20094 break
20096 done
20097 if test ${ac_cv_search_inet_aton+y}
20098 then :
20100 else $as_nop
20101 ac_cv_search_inet_aton=no
20103 rm conftest.$ac_ext
20104 LIBS=$ac_func_search_save_LIBS
20106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20107 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20108 ac_res=$ac_cv_search_inet_aton
20109 if test "$ac_res" != no
20110 then :
20111 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20116 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20117 if test "x$ac_cv_func_getaddrinfo" = xyes
20118 then :
20119 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20124 case $host_os in
20125 darwin*|macosx*) ;;
20126 *) ac_save_LIBS=$LIBS
20127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20128 printf %s "checking for library containing clock_gettime... " >&6; }
20129 if test ${ac_cv_search_clock_gettime+y}
20130 then :
20131 printf %s "(cached) " >&6
20132 else $as_nop
20133 ac_func_search_save_LIBS=$LIBS
20134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20137 /* Override any GCC internal prototype to avoid an error.
20138 Use char because int might match the return type of a GCC
20139 builtin and then its argument prototype would still apply. */
20140 char clock_gettime ();
20142 main (void)
20144 return clock_gettime ();
20146 return 0;
20148 _ACEOF
20149 for ac_lib in '' rt
20151 if test -z "$ac_lib"; then
20152 ac_res="none required"
20153 else
20154 ac_res=-l$ac_lib
20155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20157 if ac_fn_c_try_link "$LINENO"
20158 then :
20159 ac_cv_search_clock_gettime=$ac_res
20161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20162 conftest$ac_exeext
20163 if test ${ac_cv_search_clock_gettime+y}
20164 then :
20165 break
20167 done
20168 if test ${ac_cv_search_clock_gettime+y}
20169 then :
20171 else $as_nop
20172 ac_cv_search_clock_gettime=no
20174 rm conftest.$ac_ext
20175 LIBS=$ac_func_search_save_LIBS
20177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20178 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20179 ac_res=$ac_cv_search_clock_gettime
20180 if test "$ac_res" != no
20181 then :
20182 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20184 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20186 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20190 LIBS=$ac_save_LIBS
20192 esac
20194 if test "x$with_ldap" != "xno"
20195 then
20196 if ${LDAP_CFLAGS:+false} :
20197 then :
20198 if test ${PKG_CONFIG+y}
20199 then :
20200 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20204 if ${LDAP_LIBS:+false} :
20205 then :
20206 if test ${PKG_CONFIG+y}
20207 then :
20208 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20212 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20215 ac_save_CPPFLAGS=$CPPFLAGS
20216 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20217 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20218 if test "x$ac_cv_header_ldap_h" = xyes
20219 then :
20220 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20223 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20224 if test "x$ac_cv_header_lber_h" = xyes
20225 then :
20226 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20230 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20231 then
20232 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20234 if test "x$ac_cv_type_LDAPSortKey" = xyes
20235 then :
20236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20237 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20238 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20239 then :
20240 printf %s "(cached) " >&6
20241 else $as_nop
20242 ac_check_lib_save_LIBS=$LIBS
20243 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20247 /* Override any GCC internal prototype to avoid an error.
20248 Use char because int might match the return type of a GCC
20249 builtin and then its argument prototype would still apply. */
20250 char ldap_initialize ();
20252 main (void)
20254 return ldap_initialize ();
20256 return 0;
20258 _ACEOF
20259 if ac_fn_c_try_link "$LINENO"
20260 then :
20261 ac_cv_lib_ldap_ldap_initialize=yes
20262 else $as_nop
20263 ac_cv_lib_ldap_ldap_initialize=no
20265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20266 conftest$ac_exeext conftest.$ac_ext
20267 LIBS=$ac_check_lib_save_LIBS
20269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20270 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20271 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20272 then :
20273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20274 printf %s "checking for ber_init in -llber... " >&6; }
20275 if test ${ac_cv_lib_lber_ber_init+y}
20276 then :
20277 printf %s "(cached) " >&6
20278 else $as_nop
20279 ac_check_lib_save_LIBS=$LIBS
20280 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h. */
20284 /* Override any GCC internal prototype to avoid an error.
20285 Use char because int might match the return type of a GCC
20286 builtin and then its argument prototype would still apply. */
20287 char ber_init ();
20289 main (void)
20291 return ber_init ();
20293 return 0;
20295 _ACEOF
20296 if ac_fn_c_try_link "$LINENO"
20297 then :
20298 ac_cv_lib_lber_ber_init=yes
20299 else $as_nop
20300 ac_cv_lib_lber_ber_init=no
20302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20303 conftest$ac_exeext conftest.$ac_ext
20304 LIBS=$ac_check_lib_save_LIBS
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20307 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20308 if test "x$ac_cv_lib_lber_ber_init" = xyes
20309 then :
20311 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20313 else $as_nop
20314 LDAP_LIBS=""
20317 else $as_nop
20318 LDAP_LIBS=""
20321 else $as_nop
20322 LDAP_LIBS=""
20325 else
20326 LDAP_LIBS=""
20328 CPPFLAGS=$ac_save_CPPFLAGS
20331 if test "x$LDAP_LIBS" = "x"
20332 then :
20333 case "x$with_ldap" in
20334 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20335 xno) ;;
20336 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20337 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20338 esac
20342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20343 printf %s "checking for sched_setaffinity... " >&6; }
20344 if test ${wine_cv_have_sched_setaffinity+y}
20345 then :
20346 printf %s "(cached) " >&6
20347 else $as_nop
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #include <sched.h>
20352 main (void)
20354 sched_setaffinity(0, 0, 0);
20356 return 0;
20358 _ACEOF
20359 if ac_fn_c_try_link "$LINENO"
20360 then :
20361 wine_cv_have_sched_setaffinity=yes
20362 else $as_nop
20363 wine_cv_have_sched_setaffinity=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20366 conftest$ac_exeext conftest.$ac_ext
20368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20369 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20370 if test "$wine_cv_have_sched_setaffinity" = "yes"
20371 then
20373 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20379 printf %s "checking for inline... " >&6; }
20380 if test ${ac_cv_c_inline+y}
20381 then :
20382 printf %s "(cached) " >&6
20383 else $as_nop
20384 ac_cv_c_inline=no
20385 for ac_kw in inline __inline__ __inline; do
20386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20387 /* end confdefs.h. */
20388 #ifndef __cplusplus
20389 typedef int foo_t;
20390 static $ac_kw foo_t static_foo (void) {return 0; }
20391 $ac_kw foo_t foo (void) {return 0; }
20392 #endif
20394 _ACEOF
20395 if ac_fn_c_try_compile "$LINENO"
20396 then :
20397 ac_cv_c_inline=$ac_kw
20399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20400 test "$ac_cv_c_inline" != no && break
20401 done
20404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20405 printf "%s\n" "$ac_cv_c_inline" >&6; }
20407 case $ac_cv_c_inline in
20408 inline | yes) ;;
20410 case $ac_cv_c_inline in
20411 no) ac_val=;;
20412 *) ac_val=$ac_cv_c_inline;;
20413 esac
20414 cat >>confdefs.h <<_ACEOF
20415 #ifndef __cplusplus
20416 #define inline $ac_val
20417 #endif
20418 _ACEOF
20420 esac
20422 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20423 #include <signal.h>
20425 if test "x$ac_cv_type_sigset_t" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20433 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20435 if test "x$ac_cv_type_request_sense" = xyes
20436 then :
20438 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20444 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20445 #include <sys/socket.h>
20446 #ifdef HAVE_SYS_SOCKETVAR_H
20447 #include <sys/socketvar.h>
20448 #endif
20449 #ifdef HAVE_NET_ROUTE_H
20450 #include <net/route.h>
20451 #endif
20452 #ifdef HAVE_NETINET_IN_H
20453 #include <netinet/in.h>
20454 #endif
20455 #ifdef HAVE_NETINET_IN_SYSTM_H
20456 #include <netinet/in_systm.h>
20457 #endif
20458 #ifdef HAVE_NETINET_IP_H
20459 #include <netinet/ip.h>
20460 #endif
20461 #ifdef HAVE_NETINET_IN_PCB_H
20462 #include <netinet/in_pcb.h>
20463 #endif
20465 if test "x$ac_cv_type_struct_xinpgen" = xyes
20466 then :
20468 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20475 printf %s "checking for sigaddset... " >&6; }
20476 if test ${wine_cv_have_sigaddset+y}
20477 then :
20478 printf %s "(cached) " >&6
20479 else $as_nop
20480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20481 /* end confdefs.h. */
20482 #include <signal.h>
20484 main (void)
20486 sigset_t set; sigaddset(&set,SIGTERM);
20488 return 0;
20490 _ACEOF
20491 if ac_fn_c_try_link "$LINENO"
20492 then :
20493 wine_cv_have_sigaddset=yes
20494 else $as_nop
20495 wine_cv_have_sigaddset=no
20497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20498 conftest$ac_exeext conftest.$ac_ext
20500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20501 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20502 if test "$wine_cv_have_sigaddset" = "yes"
20503 then
20505 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20511 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20512 if test ${wine_cv_linux_gethostbyname_r_6+y}
20513 then :
20514 printf %s "(cached) " >&6
20515 else $as_nop
20516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20518 #include <netdb.h>
20520 main (void)
20523 char *name=0;
20524 struct hostent he;
20525 struct hostent *result;
20526 char *buf=0;
20527 int bufsize=0;
20528 int errnr;
20529 char *addr=0;
20530 int addrlen=0;
20531 int addrtype=0;
20532 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20533 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20536 return 0;
20538 _ACEOF
20539 if ac_fn_c_try_link "$LINENO"
20540 then :
20541 wine_cv_linux_gethostbyname_r_6=yes
20542 else $as_nop
20543 wine_cv_linux_gethostbyname_r_6=no
20546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20547 conftest$ac_exeext conftest.$ac_ext
20550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20551 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20552 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20553 then
20555 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20559 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20560 #include <sys/socket.h>
20561 #ifdef HAVE_SYS_UN_H
20562 # include <sys/un.h>
20563 #endif
20565 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20572 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20573 #include <sys/socket.h>
20574 #ifdef HAVE_SYS_UN_H
20575 # include <sys/un.h>
20576 #endif
20578 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20579 then :
20581 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20587 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20588 #ifdef HAVE_SCSI_SG_H
20589 #include <scsi/sg.h>
20590 #endif
20592 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20593 then :
20595 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20599 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>
20600 #ifdef HAVE_SCSI_SG_H
20601 #include <scsi/sg.h>
20602 #endif
20604 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20605 then :
20607 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20613 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20615 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_MTIO_H
20626 #include <sys/mtio.h>
20627 #endif
20629 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20636 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20637 #ifdef HAVE_SYS_MTIO_H
20638 #include <sys/mtio.h>
20639 #endif
20641 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20642 then :
20644 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20649 #ifdef HAVE_SYS_MTIO_H
20650 #include <sys/mtio.h>
20651 #endif
20653 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20654 then :
20656 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20662 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20663 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20664 then :
20666 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20670 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20671 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20678 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20679 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20680 then :
20682 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20686 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20687 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20688 then :
20690 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20694 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20695 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20696 then :
20698 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20702 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20703 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20710 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20711 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20712 then :
20714 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20718 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20719 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20720 then :
20722 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20726 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20727 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20728 then :
20730 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20734 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20735 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20736 then :
20738 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20742 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20743 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20744 then :
20746 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20752 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20753 #ifdef HAVE_NETINET_IN_H
20754 #include <netinet/in.h>
20755 #endif
20757 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20758 then :
20760 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20766 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
20767 #include <resolv.h>
20768 #endif
20770 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20771 then :
20773 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20779 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20780 #include <netinet/in.h>
20781 #endif
20783 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20784 then :
20786 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20792 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20793 #ifdef HAVE_SYS_SOCKETVAR_H
20794 #include <sys/socketvar.h>
20795 #endif
20796 #ifdef HAVE_NETINET_IN_H
20797 #include <netinet/in.h>
20798 #endif
20799 #ifdef HAVE_NETINET_IP_VAR_H
20800 #include <netinet/ip_var.h>
20801 #endif
20803 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20804 then :
20806 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20812 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
20813 #include <netinet/ip_var.h>
20814 #endif
20816 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20817 then :
20819 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20825 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20826 #ifdef HAVE_SYS_SOCKETVAR_H
20827 #include <sys/socketvar.h>
20828 #endif
20829 #ifdef HAVE_NETINET_IN_H
20830 #include <netinet/in.h>
20831 #endif
20832 #ifdef HAVE_NETINET_TCP_H
20833 #include <netinet/tcp.h>
20834 #endif
20835 #ifdef HAVE_NETINET_TCP_VAR_H
20836 #include <netinet/tcp_var.h>
20837 #endif
20839 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20840 then :
20842 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20848 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
20849 #include <netinet/tcp_var.h>
20850 #endif
20852 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20853 then :
20855 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20861 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20862 #ifdef HAVE_NETINET_IN_H
20863 #include <netinet/in.h>
20864 #endif
20865 #ifdef HAVE_NETINET_IP_VAR_H
20866 #include <netinet/ip_var.h>
20867 #endif
20868 #ifdef HAVE_NETINET_UDP_H
20869 #include <netinet/udp.h>
20870 #endif
20871 #ifdef HAVE_NETINET_UDP_VAR_H
20872 #include <netinet/udp_var.h>
20873 #endif
20875 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20876 then :
20878 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20884 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20885 #ifdef HAVE_NET_IF_H
20886 # include <net/if.h>
20887 #endif
20889 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20890 then :
20892 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20898 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20899 # include <sys/sysinfo.h>
20900 #endif
20902 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20903 then :
20905 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20909 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20910 # include <sys/sysinfo.h>
20911 #endif
20913 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20914 then :
20916 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20922 ac_save_LIBS="$LIBS"
20923 LIBS="$LIBS -lm"
20924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20925 printf %s "checking for isfinite... " >&6; }
20926 if test ${ac_cv_have_isfinite+y}
20927 then :
20928 printf %s "(cached) " >&6
20929 else $as_nop
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20932 #include <math.h>
20934 main (void)
20936 float f = 0.0; return isfinite(f)
20938 return 0;
20940 _ACEOF
20941 if ac_fn_c_try_link "$LINENO"
20942 then :
20943 ac_cv_have_isfinite="yes"
20944 else $as_nop
20945 ac_cv_have_isfinite="no"
20947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20948 conftest$ac_exeext conftest.$ac_ext
20950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20951 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20952 if test "$ac_cv_have_isfinite" = "yes"
20953 then
20955 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20960 printf %s "checking for isinf... " >&6; }
20961 if test ${ac_cv_have_isinf+y}
20962 then :
20963 printf %s "(cached) " >&6
20964 else $as_nop
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <math.h>
20969 main (void)
20971 float f = 0.0; return isinf(f)
20973 return 0;
20975 _ACEOF
20976 if ac_fn_c_try_link "$LINENO"
20977 then :
20978 ac_cv_have_isinf="yes"
20979 else $as_nop
20980 ac_cv_have_isinf="no"
20982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20983 conftest$ac_exeext conftest.$ac_ext
20985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20986 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20987 if test "$ac_cv_have_isinf" = "yes"
20988 then
20990 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20995 printf %s "checking for isnan... " >&6; }
20996 if test ${ac_cv_have_isnan+y}
20997 then :
20998 printf %s "(cached) " >&6
20999 else $as_nop
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 #include <math.h>
21004 main (void)
21006 float f = 0.0; return isnan(f)
21008 return 0;
21010 _ACEOF
21011 if ac_fn_c_try_link "$LINENO"
21012 then :
21013 ac_cv_have_isnan="yes"
21014 else $as_nop
21015 ac_cv_have_isnan="no"
21017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21018 conftest$ac_exeext conftest.$ac_ext
21020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21021 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21022 if test "$ac_cv_have_isnan" = "yes"
21023 then
21025 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21029 LIBS="$ac_save_LIBS"
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21032 printf %s "checking for __builtin_popcount... " >&6; }
21033 if test ${ac_cv_have___builtin_popcount+y}
21034 then :
21035 printf %s "(cached) " >&6
21036 else $as_nop
21037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21038 /* end confdefs.h. */
21041 main (void)
21043 return __builtin_popcount(1)
21045 return 0;
21047 _ACEOF
21048 if ac_fn_c_try_link "$LINENO"
21049 then :
21050 ac_cv_have___builtin_popcount="yes"
21051 else $as_nop
21052 ac_cv_have___builtin_popcount="no"
21054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21055 conftest$ac_exeext conftest.$ac_ext
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21058 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21059 if test "$ac_cv_have___builtin_popcount" = "yes"
21060 then
21062 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21067 printf %s "checking for __clear_cache... " >&6; }
21068 if test ${ac_cv_have___clear_cache+y}
21069 then :
21070 printf %s "(cached) " >&6
21071 else $as_nop
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21076 main (void)
21078 __clear_cache((void*)0, (void*)0); return 0;
21080 return 0;
21082 _ACEOF
21083 if ac_fn_c_try_link "$LINENO"
21084 then :
21085 ac_cv_have___clear_cache="yes"
21086 else $as_nop
21087 ac_cv_have___clear_cache="no"
21089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21090 conftest$ac_exeext conftest.$ac_ext
21092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21093 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21094 if test "$ac_cv_have___clear_cache" = "yes"
21095 then
21097 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21102 case $host_cpu in
21103 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21104 printf %s "checking whether we need to define __i386__... " >&6; }
21105 if test ${ac_cv_cpp_def___i386__+y}
21106 then :
21107 printf %s "(cached) " >&6
21108 else $as_nop
21109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21111 #ifndef __i386__
21113 #endif
21114 _ACEOF
21115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21116 $EGREP "yes" >/dev/null 2>&1
21117 then :
21118 ac_cv_cpp_def___i386__=yes
21119 else $as_nop
21120 ac_cv_cpp_def___i386__=no
21122 rm -rf conftest*
21125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21126 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21127 if test "x$ac_cv_cpp_def___i386__" = xyes
21128 then :
21129 CFLAGS="$CFLAGS -D__i386__"
21130 LINTFLAGS="$LINTFLAGS -D__i386__"
21131 fi ;;
21132 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21133 printf %s "checking whether we need to define __x86_64__... " >&6; }
21134 if test ${ac_cv_cpp_def___x86_64__+y}
21135 then :
21136 printf %s "(cached) " >&6
21137 else $as_nop
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140 #ifndef __x86_64__
21142 #endif
21143 _ACEOF
21144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21145 $EGREP "yes" >/dev/null 2>&1
21146 then :
21147 ac_cv_cpp_def___x86_64__=yes
21148 else $as_nop
21149 ac_cv_cpp_def___x86_64__=no
21151 rm -rf conftest*
21154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21155 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21156 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21157 then :
21158 CFLAGS="$CFLAGS -D__x86_64__"
21159 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21160 fi ;;
21161 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21162 printf %s "checking whether we need to define __sparc64__... " >&6; }
21163 if test ${ac_cv_cpp_def___sparc64__+y}
21164 then :
21165 printf %s "(cached) " >&6
21166 else $as_nop
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #ifndef __sparc64__
21171 #endif
21172 _ACEOF
21173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21174 $EGREP "yes" >/dev/null 2>&1
21175 then :
21176 ac_cv_cpp_def___sparc64__=yes
21177 else $as_nop
21178 ac_cv_cpp_def___sparc64__=no
21180 rm -rf conftest*
21183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21184 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21185 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21186 then :
21187 CFLAGS="$CFLAGS -D__sparc64__"
21188 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21189 fi ;;
21190 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21191 printf %s "checking whether we need to define __sparc__... " >&6; }
21192 if test ${ac_cv_cpp_def___sparc__+y}
21193 then :
21194 printf %s "(cached) " >&6
21195 else $as_nop
21196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h. */
21198 #ifndef __sparc__
21200 #endif
21201 _ACEOF
21202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21203 $EGREP "yes" >/dev/null 2>&1
21204 then :
21205 ac_cv_cpp_def___sparc__=yes
21206 else $as_nop
21207 ac_cv_cpp_def___sparc__=no
21209 rm -rf conftest*
21212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21213 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21214 if test "x$ac_cv_cpp_def___sparc__" = xyes
21215 then :
21216 CFLAGS="$CFLAGS -D__sparc__"
21217 LINTFLAGS="$LINTFLAGS -D__sparc__"
21218 fi ;;
21219 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21220 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21221 if test ${ac_cv_cpp_def___powerpc64__+y}
21222 then :
21223 printf %s "(cached) " >&6
21224 else $as_nop
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #ifndef __powerpc64__
21229 #endif
21230 _ACEOF
21231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21232 $EGREP "yes" >/dev/null 2>&1
21233 then :
21234 ac_cv_cpp_def___powerpc64__=yes
21235 else $as_nop
21236 ac_cv_cpp_def___powerpc64__=no
21238 rm -rf conftest*
21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21242 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21243 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21244 then :
21245 CFLAGS="$CFLAGS -D__powerpc64__"
21246 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21247 fi ;;
21248 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21249 printf %s "checking whether we need to define __powerpc__... " >&6; }
21250 if test ${ac_cv_cpp_def___powerpc__+y}
21251 then :
21252 printf %s "(cached) " >&6
21253 else $as_nop
21254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21256 #ifndef __powerpc__
21258 #endif
21259 _ACEOF
21260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21261 $EGREP "yes" >/dev/null 2>&1
21262 then :
21263 ac_cv_cpp_def___powerpc__=yes
21264 else $as_nop
21265 ac_cv_cpp_def___powerpc__=no
21267 rm -rf conftest*
21270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21271 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21272 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21273 then :
21274 CFLAGS="$CFLAGS -D__powerpc__"
21275 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21276 fi ;;
21277 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21278 printf %s "checking whether we need to define __aarch64__... " >&6; }
21279 if test ${ac_cv_cpp_def___aarch64__+y}
21280 then :
21281 printf %s "(cached) " >&6
21282 else $as_nop
21283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h. */
21285 #ifndef __aarch64__
21287 #endif
21288 _ACEOF
21289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21290 $EGREP "yes" >/dev/null 2>&1
21291 then :
21292 ac_cv_cpp_def___aarch64__=yes
21293 else $as_nop
21294 ac_cv_cpp_def___aarch64__=no
21296 rm -rf conftest*
21299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21300 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21301 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21302 then :
21303 CFLAGS="$CFLAGS -D__aarch64__"
21304 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21305 fi ;;
21306 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21307 printf %s "checking whether we need to define __arm__... " >&6; }
21308 if test ${ac_cv_cpp_def___arm__+y}
21309 then :
21310 printf %s "(cached) " >&6
21311 else $as_nop
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21314 #ifndef __arm__
21316 #endif
21317 _ACEOF
21318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21319 $EGREP "yes" >/dev/null 2>&1
21320 then :
21321 ac_cv_cpp_def___arm__=yes
21322 else $as_nop
21323 ac_cv_cpp_def___arm__=no
21325 rm -rf conftest*
21328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21329 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21330 if test "x$ac_cv_cpp_def___arm__" = xyes
21331 then :
21332 CFLAGS="$CFLAGS -D__arm__"
21333 LINTFLAGS="$LINTFLAGS -D__arm__"
21334 fi ;;
21335 esac
21337 case $host_vendor in
21338 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21339 printf %s "checking whether we need to define __sun__... " >&6; }
21340 if test ${ac_cv_cpp_def___sun__+y}
21341 then :
21342 printf %s "(cached) " >&6
21343 else $as_nop
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #ifndef __sun__
21348 #endif
21349 _ACEOF
21350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21351 $EGREP "yes" >/dev/null 2>&1
21352 then :
21353 ac_cv_cpp_def___sun__=yes
21354 else $as_nop
21355 ac_cv_cpp_def___sun__=no
21357 rm -rf conftest*
21360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21361 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21362 if test "x$ac_cv_cpp_def___sun__" = xyes
21363 then :
21364 CFLAGS="$CFLAGS -D__sun__"
21365 LINTFLAGS="$LINTFLAGS -D__sun__"
21366 fi ;;
21367 esac
21373 ac_config_commands="$ac_config_commands include/stamp-h"
21375 printf %s "creating Makefile rules..." >&6
21377 makedep_flags=""
21378 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21380 wine_srcdir=
21381 test "$srcdir" = . || wine_srcdir="$srcdir/"
21383 ac_config_links="$ac_config_links wine:tools/winewrapper"
21384 wine_fn_config_symlink wine
21385 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21386 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21387 wine_fn_config_symlink wine64
21390 wine_fn_config_makefile dlls/acledit enable_acledit
21391 wine_fn_config_makefile dlls/aclui enable_aclui
21392 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21393 wine_fn_config_makefile dlls/activeds enable_activeds
21394 wine_fn_config_makefile dlls/activeds/tests enable_tests
21395 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21396 wine_fn_config_makefile dlls/adsldp enable_adsldp
21397 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21398 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21399 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21400 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21401 wine_fn_config_makefile dlls/advpack enable_advpack
21402 wine_fn_config_makefile dlls/advpack/tests enable_tests
21403 wine_fn_config_makefile dlls/amsi enable_amsi
21404 wine_fn_config_makefile dlls/amstream enable_amstream
21405 wine_fn_config_makefile dlls/amstream/tests enable_tests
21406 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21407 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21408 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21409 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21410 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21411 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21412 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21413 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21414 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21415 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21416 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21417 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21418 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21419 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21420 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21421 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21422 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21423 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21424 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21425 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21426 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21427 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21428 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21429 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21430 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21431 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21432 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21433 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21434 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21435 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21436 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21437 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21438 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21439 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21440 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21441 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21442 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21443 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21444 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21445 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21446 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21447 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21448 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21449 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21450 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21451 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21452 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21453 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21456 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21457 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21458 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21459 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21460 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21461 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21462 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21463 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21464 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21465 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21466 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21467 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21468 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21469 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21470 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21471 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21472 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21473 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21474 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21475 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21476 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21477 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21478 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21479 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21480 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21481 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21482 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21483 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21484 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21485 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21486 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21487 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21489 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21490 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21491 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21492 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21493 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21495 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21496 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21497 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21498 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21499 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21500 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21501 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21502 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21503 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21504 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21505 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21508 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21509 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21512 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21513 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21514 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21517 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21518 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21519 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21520 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21521 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21525 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21526 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21527 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21528 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21529 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21531 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21532 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21533 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21534 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21535 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21543 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-1 enable_api_ms_win_core_windowserrorreporting_l1_1_1
21547 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21549 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21550 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21551 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21555 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21557 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21559 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21560 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21561 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21562 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21563 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21564 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21565 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21566 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21567 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21570 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21573 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21576 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21577 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21578 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21579 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21583 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21584 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21585 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21586 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21587 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21589 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21590 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21591 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21593 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21598 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21606 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21607 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21609 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21611 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21612 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21613 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21615 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21617 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21618 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21623 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21625 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21627 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21631 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21633 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21634 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21636 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21638 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21639 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21643 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21644 wine_fn_config_makefile dlls/apphelp enable_apphelp
21645 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21646 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21647 wine_fn_config_makefile dlls/atl enable_atl
21648 wine_fn_config_makefile dlls/atl/tests enable_tests
21649 wine_fn_config_makefile dlls/atl100 enable_atl100
21650 wine_fn_config_makefile dlls/atl100/tests enable_tests
21651 wine_fn_config_makefile dlls/atl110 enable_atl110
21652 wine_fn_config_makefile dlls/atl80 enable_atl80
21653 wine_fn_config_makefile dlls/atl80/tests enable_tests
21654 wine_fn_config_makefile dlls/atl90 enable_atl90
21655 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21656 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21657 wine_fn_config_makefile dlls/atmlib enable_atmlib
21658 wine_fn_config_makefile dlls/authz enable_authz
21659 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21660 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21661 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21662 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21663 wine_fn_config_makefile dlls/avrt enable_avrt
21664 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21665 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21666 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21667 wine_fn_config_makefile dlls/browseui enable_browseui
21668 wine_fn_config_makefile dlls/browseui/tests enable_tests
21669 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21670 wine_fn_config_makefile dlls/cabinet enable_cabinet
21671 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21672 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21673 wine_fn_config_makefile dlls/cards enable_cards
21674 wine_fn_config_makefile dlls/cdosys enable_cdosys
21675 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21676 wine_fn_config_makefile dlls/clusapi enable_clusapi
21677 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21678 wine_fn_config_makefile dlls/combase enable_combase
21679 wine_fn_config_makefile dlls/combase/tests enable_tests
21680 wine_fn_config_makefile dlls/comcat enable_comcat
21681 wine_fn_config_makefile dlls/comcat/tests enable_tests
21682 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21683 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21684 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21685 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21686 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21687 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21688 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21689 wine_fn_config_makefile dlls/compstui enable_compstui
21690 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21691 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21692 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21693 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21694 wine_fn_config_makefile dlls/connect enable_connect
21695 wine_fn_config_makefile dlls/credui enable_credui
21696 wine_fn_config_makefile dlls/credui/tests enable_tests
21697 wine_fn_config_makefile dlls/crtdll enable_crtdll
21698 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21699 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21700 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21701 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21702 wine_fn_config_makefile dlls/cryptext enable_cryptext
21703 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21704 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21705 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21706 wine_fn_config_makefile dlls/cryptui enable_cryptui
21707 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21708 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21709 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21710 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21711 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21712 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21713 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21714 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21715 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21716 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21717 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21718 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21719 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21720 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21721 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21722 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21723 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21724 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21725 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21726 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21727 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21728 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21729 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21730 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21731 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21732 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21733 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21734 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21735 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21736 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21737 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21738 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21739 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21740 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21741 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21742 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21743 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21744 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21745 wine_fn_config_makefile dlls/d3dim enable_d3dim
21746 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21747 wine_fn_config_makefile dlls/d3drm enable_d3drm
21748 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21749 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21750 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21751 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21752 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21753 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21754 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21755 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21756 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21757 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21758 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21759 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21760 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21761 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21762 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21763 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21764 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21765 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21766 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21767 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21768 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21769 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21770 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21771 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21772 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21773 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21774 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21775 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21776 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21777 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21778 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21779 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21780 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21781 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21782 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21783 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21784 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21785 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21786 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21787 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21788 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21789 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21790 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21791 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21792 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21793 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21794 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21795 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21796 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21797 wine_fn_config_makefile dlls/davclnt enable_davclnt
21798 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21799 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21800 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21801 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21802 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21803 wine_fn_config_makefile dlls/dcomp enable_dcomp
21804 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21805 wine_fn_config_makefile dlls/ddraw enable_ddraw
21806 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21807 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21808 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21809 wine_fn_config_makefile dlls/devenum enable_devenum
21810 wine_fn_config_makefile dlls/devenum/tests enable_tests
21811 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21812 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21813 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21814 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21815 wine_fn_config_makefile dlls/difxapi enable_difxapi
21816 wine_fn_config_makefile dlls/dinput enable_dinput
21817 wine_fn_config_makefile dlls/dinput/tests enable_tests
21818 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21819 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21820 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21821 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21822 wine_fn_config_makefile dlls/dispex enable_dispex
21823 wine_fn_config_makefile dlls/dispex/tests enable_tests
21824 wine_fn_config_makefile dlls/display.drv16 enable_win16
21825 wine_fn_config_makefile dlls/dmband enable_dmband
21826 wine_fn_config_makefile dlls/dmband/tests enable_tests
21827 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21828 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21829 wine_fn_config_makefile dlls/dmime enable_dmime
21830 wine_fn_config_makefile dlls/dmime/tests enable_tests
21831 wine_fn_config_makefile dlls/dmloader enable_dmloader
21832 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21833 wine_fn_config_makefile dlls/dmscript enable_dmscript
21834 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21835 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21836 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21837 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21838 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21839 wine_fn_config_makefile dlls/dmusic enable_dmusic
21840 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21841 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21842 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21843 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21844 wine_fn_config_makefile dlls/dplay enable_dplay
21845 wine_fn_config_makefile dlls/dplayx enable_dplayx
21846 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21847 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21848 wine_fn_config_makefile dlls/dpnet enable_dpnet
21849 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21850 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21851 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21852 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21853 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21854 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21855 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21856 wine_fn_config_makefile dlls/drmclien enable_drmclien
21857 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21858 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21859 wine_fn_config_makefile dlls/dsound enable_dsound
21860 wine_fn_config_makefile dlls/dsound/tests enable_tests
21861 wine_fn_config_makefile dlls/dsquery enable_dsquery
21862 wine_fn_config_makefile dlls/dssenh enable_dssenh
21863 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21864 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21865 wine_fn_config_makefile dlls/dswave enable_dswave
21866 wine_fn_config_makefile dlls/dswave/tests enable_tests
21867 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21868 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21869 wine_fn_config_makefile dlls/dwrite enable_dwrite
21870 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21871 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21872 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21873 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21874 wine_fn_config_makefile dlls/dxgi enable_dxgi
21875 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21876 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21877 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21878 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21879 wine_fn_config_makefile dlls/esent enable_esent
21880 wine_fn_config_makefile dlls/evr enable_evr
21881 wine_fn_config_makefile dlls/evr/tests enable_tests
21882 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21883 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21884 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21885 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21886 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21887 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21888 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21889 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21890 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21891 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21892 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21893 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21894 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21895 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21896 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21897 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21898 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21899 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21900 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21901 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21902 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21903 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21904 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21905 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21906 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21907 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21908 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21909 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21910 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21911 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21912 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21913 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21914 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21915 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21916 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21917 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21918 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21919 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21920 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21921 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21922 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21923 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21924 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
21925 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21926 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21927 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21928 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21929 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21930 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21931 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21932 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21933 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21934 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21935 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21936 wine_fn_config_makefile dlls/faultrep enable_faultrep
21937 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21938 wine_fn_config_makefile dlls/feclient enable_feclient
21939 wine_fn_config_makefile dlls/fltlib enable_fltlib
21940 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21941 wine_fn_config_makefile dlls/fntcache enable_fntcache
21942 wine_fn_config_makefile dlls/fontsub enable_fontsub
21943 wine_fn_config_makefile dlls/fusion enable_fusion
21944 wine_fn_config_makefile dlls/fusion/tests enable_tests
21945 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21946 wine_fn_config_makefile dlls/gameux enable_gameux
21947 wine_fn_config_makefile dlls/gameux/tests enable_tests
21948 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21949 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21950 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21951 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21952 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21953 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21954 wine_fn_config_makefile dlls/glu32 enable_glu32
21955 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21956 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21957 wine_fn_config_makefile dlls/hal enable_hal
21958 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21959 wine_fn_config_makefile dlls/hid enable_hid
21960 wine_fn_config_makefile dlls/hid/tests enable_tests
21961 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21962 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21963 wine_fn_config_makefile dlls/hlink enable_hlink
21964 wine_fn_config_makefile dlls/hlink/tests enable_tests
21965 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21966 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21967 wine_fn_config_makefile dlls/http.sys enable_http_sys
21968 wine_fn_config_makefile dlls/httpapi enable_httpapi
21969 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21970 wine_fn_config_makefile dlls/iccvid enable_iccvid
21971 wine_fn_config_makefile dlls/icmp enable_icmp
21972 wine_fn_config_makefile dlls/ieframe enable_ieframe
21973 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21974 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21975 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21976 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21977 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21978 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21979 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21980 wine_fn_config_makefile dlls/imm32 enable_imm32
21981 wine_fn_config_makefile dlls/imm32/tests enable_tests
21982 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21983 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21984 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21985 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21986 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21987 wine_fn_config_makefile dlls/infosoft enable_infosoft
21988 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21989 wine_fn_config_makefile dlls/initpki enable_initpki
21990 wine_fn_config_makefile dlls/inkobj enable_inkobj
21991 wine_fn_config_makefile dlls/inseng enable_inseng
21992 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21993 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21994 wine_fn_config_makefile dlls/iprop enable_iprop
21995 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21996 wine_fn_config_makefile dlls/itircl enable_itircl
21997 wine_fn_config_makefile dlls/itss enable_itss
21998 wine_fn_config_makefile dlls/itss/tests enable_tests
21999 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22000 wine_fn_config_makefile dlls/jscript enable_jscript
22001 wine_fn_config_makefile dlls/jscript/tests enable_tests
22002 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22003 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22004 wine_fn_config_makefile dlls/kerberos enable_kerberos
22005 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22006 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22007 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22008 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22009 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22010 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22011 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22012 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22013 wine_fn_config_makefile dlls/ksuser enable_ksuser
22014 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22015 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22016 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22017 wine_fn_config_makefile dlls/loadperf enable_loadperf
22018 wine_fn_config_makefile dlls/localspl enable_localspl
22019 wine_fn_config_makefile dlls/localspl/tests enable_tests
22020 wine_fn_config_makefile dlls/localui enable_localui
22021 wine_fn_config_makefile dlls/localui/tests enable_tests
22022 wine_fn_config_makefile dlls/lz32 enable_lz32
22023 wine_fn_config_makefile dlls/lz32/tests enable_tests
22024 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22025 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22026 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22027 wine_fn_config_makefile dlls/mapistub enable_mapistub
22028 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22029 wine_fn_config_makefile dlls/mcicda enable_mcicda
22030 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22031 wine_fn_config_makefile dlls/mciseq enable_mciseq
22032 wine_fn_config_makefile dlls/mciwave enable_mciwave
22033 wine_fn_config_makefile dlls/mf enable_mf
22034 wine_fn_config_makefile dlls/mf/tests enable_tests
22035 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22036 wine_fn_config_makefile dlls/mferror enable_mferror
22037 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22038 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22039 wine_fn_config_makefile dlls/mfplat enable_mfplat
22040 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22041 wine_fn_config_makefile dlls/mfplay enable_mfplay
22042 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22043 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22044 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22045 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22046 wine_fn_config_makefile dlls/midimap enable_midimap
22047 wine_fn_config_makefile dlls/mlang enable_mlang
22048 wine_fn_config_makefile dlls/mlang/tests enable_tests
22049 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22050 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22051 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22052 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22053 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22054 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22055 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22056 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22057 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22058 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22059 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22060 wine_fn_config_makefile dlls/mpr enable_mpr
22061 wine_fn_config_makefile dlls/mpr/tests enable_tests
22062 wine_fn_config_makefile dlls/mprapi enable_mprapi
22063 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22064 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22065 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22066 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22067 wine_fn_config_makefile dlls/msado15 enable_msado15
22068 wine_fn_config_makefile dlls/msado15/tests enable_tests
22069 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22070 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22071 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22072 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22073 wine_fn_config_makefile dlls/mscms enable_mscms
22074 wine_fn_config_makefile dlls/mscms/tests enable_tests
22075 wine_fn_config_makefile dlls/mscoree enable_mscoree
22076 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22077 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22078 wine_fn_config_makefile dlls/msctf enable_msctf
22079 wine_fn_config_makefile dlls/msctf/tests enable_tests
22080 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22081 wine_fn_config_makefile dlls/msctfp enable_msctfp
22082 wine_fn_config_makefile dlls/msdaps enable_msdaps
22083 wine_fn_config_makefile dlls/msdasql enable_msdasql
22084 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22085 wine_fn_config_makefile dlls/msdelta enable_msdelta
22086 wine_fn_config_makefile dlls/msdmo enable_msdmo
22087 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22088 wine_fn_config_makefile dlls/msdrm enable_msdrm
22089 wine_fn_config_makefile dlls/msftedit enable_msftedit
22090 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22091 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22092 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22093 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22094 wine_fn_config_makefile dlls/mshtml enable_mshtml
22095 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22096 wine_fn_config_makefile dlls/msi enable_msi
22097 wine_fn_config_makefile dlls/msi/tests enable_tests
22098 wine_fn_config_makefile dlls/msident enable_msident
22099 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22100 wine_fn_config_makefile dlls/msimsg enable_msimsg
22101 wine_fn_config_makefile dlls/msimtf enable_msimtf
22102 wine_fn_config_makefile dlls/msisip enable_msisip
22103 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22104 wine_fn_config_makefile dlls/msls31 enable_msls31
22105 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22106 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22107 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22108 wine_fn_config_makefile dlls/msports enable_msports
22109 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22110 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22111 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22112 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22113 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22114 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22115 wine_fn_config_makefile dlls/mstask enable_mstask
22116 wine_fn_config_makefile dlls/mstask/tests enable_tests
22117 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22118 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22119 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22120 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22121 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22122 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22123 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22124 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22125 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22126 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22127 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22128 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22129 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22130 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22131 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22132 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22133 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22134 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22135 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22136 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22137 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22138 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22139 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22140 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22141 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22142 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22143 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22144 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22145 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22146 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22147 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22148 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22149 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22150 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22151 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22152 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22153 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22154 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22155 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22156 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22157 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22158 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22159 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22160 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22161 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22162 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22163 wine_fn_config_makefile dlls/mswsock enable_mswsock
22164 wine_fn_config_makefile dlls/msxml enable_msxml
22165 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22166 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22167 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22168 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22169 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22170 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22171 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22172 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22173 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22174 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22175 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22176 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22177 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22178 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22179 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22180 wine_fn_config_makefile dlls/netprofm enable_netprofm
22181 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22182 wine_fn_config_makefile dlls/netutils enable_netutils
22183 wine_fn_config_makefile dlls/newdev enable_newdev
22184 wine_fn_config_makefile dlls/ninput enable_ninput
22185 wine_fn_config_makefile dlls/ninput/tests enable_tests
22186 wine_fn_config_makefile dlls/normaliz enable_normaliz
22187 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22188 wine_fn_config_makefile dlls/npptools enable_npptools
22189 wine_fn_config_makefile dlls/nsi enable_nsi
22190 wine_fn_config_makefile dlls/nsi/tests enable_tests
22191 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22192 wine_fn_config_makefile dlls/ntdll enable_ntdll
22193 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22194 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22195 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22196 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22197 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22198 wine_fn_config_makefile dlls/ntprint enable_ntprint
22199 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22200 wine_fn_config_makefile dlls/objsel enable_objsel
22201 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22202 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22203 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22204 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22205 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22206 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22207 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22208 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22209 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22210 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22211 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22212 wine_fn_config_makefile dlls/ole32 enable_ole32
22213 wine_fn_config_makefile dlls/ole32/tests enable_tests
22214 wine_fn_config_makefile dlls/oleacc enable_oleacc
22215 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22216 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22217 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22218 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22219 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22220 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22221 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22222 wine_fn_config_makefile dlls/oledlg enable_oledlg
22223 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22224 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22225 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22226 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22227 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22228 wine_fn_config_makefile dlls/opcservices enable_opcservices
22229 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22230 wine_fn_config_makefile dlls/openal32 enable_openal32
22231 wine_fn_config_makefile dlls/opencl enable_opencl
22232 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22233 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22234 wine_fn_config_makefile dlls/packager enable_packager
22235 wine_fn_config_makefile dlls/packager/tests enable_tests
22236 wine_fn_config_makefile dlls/pdh enable_pdh
22237 wine_fn_config_makefile dlls/pdh/tests enable_tests
22238 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22239 wine_fn_config_makefile dlls/pidgen enable_pidgen
22240 wine_fn_config_makefile dlls/powrprof enable_powrprof
22241 wine_fn_config_makefile dlls/printui enable_printui
22242 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22243 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22244 wine_fn_config_makefile dlls/propsys enable_propsys
22245 wine_fn_config_makefile dlls/propsys/tests enable_tests
22246 wine_fn_config_makefile dlls/psapi enable_psapi
22247 wine_fn_config_makefile dlls/psapi/tests enable_tests
22248 wine_fn_config_makefile dlls/pstorec enable_pstorec
22249 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22250 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22251 wine_fn_config_makefile dlls/qasf enable_qasf
22252 wine_fn_config_makefile dlls/qasf/tests enable_tests
22253 wine_fn_config_makefile dlls/qcap enable_qcap
22254 wine_fn_config_makefile dlls/qcap/tests enable_tests
22255 wine_fn_config_makefile dlls/qdvd enable_qdvd
22256 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22257 wine_fn_config_makefile dlls/qedit enable_qedit
22258 wine_fn_config_makefile dlls/qedit/tests enable_tests
22259 wine_fn_config_makefile dlls/qmgr enable_qmgr
22260 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22261 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22262 wine_fn_config_makefile dlls/quartz enable_quartz
22263 wine_fn_config_makefile dlls/quartz/tests enable_tests
22264 wine_fn_config_makefile dlls/query enable_query
22265 wine_fn_config_makefile dlls/qwave enable_qwave
22266 wine_fn_config_makefile dlls/qwave/tests enable_tests
22267 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22268 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22269 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22270 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22271 wine_fn_config_makefile dlls/regapi enable_regapi
22272 wine_fn_config_makefile dlls/resutils enable_resutils
22273 wine_fn_config_makefile dlls/riched20 enable_riched20
22274 wine_fn_config_makefile dlls/riched20/tests enable_tests
22275 wine_fn_config_makefile dlls/riched32 enable_riched32
22276 wine_fn_config_makefile dlls/riched32/tests enable_tests
22277 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22278 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22279 wine_fn_config_makefile dlls/rsabase enable_rsabase
22280 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22281 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22282 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22283 wine_fn_config_makefile dlls/rtutils enable_rtutils
22284 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22285 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22286 wine_fn_config_makefile dlls/samlib enable_samlib
22287 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22288 wine_fn_config_makefile dlls/sapi enable_sapi
22289 wine_fn_config_makefile dlls/sapi/tests enable_tests
22290 wine_fn_config_makefile dlls/sas enable_sas
22291 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22292 wine_fn_config_makefile dlls/sccbase enable_sccbase
22293 wine_fn_config_makefile dlls/schannel enable_schannel
22294 wine_fn_config_makefile dlls/schannel/tests enable_tests
22295 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22296 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22297 wine_fn_config_makefile dlls/scrobj enable_scrobj
22298 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22299 wine_fn_config_makefile dlls/scrrun enable_scrrun
22300 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22301 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22302 wine_fn_config_makefile dlls/sechost enable_sechost
22303 wine_fn_config_makefile dlls/secur32 enable_secur32
22304 wine_fn_config_makefile dlls/secur32/tests enable_tests
22305 wine_fn_config_makefile dlls/security enable_security
22306 wine_fn_config_makefile dlls/sensapi enable_sensapi
22307 wine_fn_config_makefile dlls/serialui enable_serialui
22308 wine_fn_config_makefile dlls/serialui/tests enable_tests
22309 wine_fn_config_makefile dlls/setupapi enable_setupapi
22310 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22311 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22312 wine_fn_config_makefile dlls/sfc enable_sfc
22313 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22314 wine_fn_config_makefile dlls/shcore enable_shcore
22315 wine_fn_config_makefile dlls/shcore/tests enable_tests
22316 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22317 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22318 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22319 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22320 wine_fn_config_makefile dlls/shell32 enable_shell32
22321 wine_fn_config_makefile dlls/shell32/tests enable_tests
22322 wine_fn_config_makefile dlls/shfolder enable_shfolder
22323 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22324 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22325 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22326 wine_fn_config_makefile dlls/slc enable_slc
22327 wine_fn_config_makefile dlls/slc/tests enable_tests
22328 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22329 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22330 wine_fn_config_makefile dlls/softpub enable_softpub
22331 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22332 wine_fn_config_makefile dlls/spoolss enable_spoolss
22333 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22334 wine_fn_config_makefile dlls/sppc enable_sppc
22335 wine_fn_config_makefile dlls/srclient enable_srclient
22336 wine_fn_config_makefile dlls/srvcli enable_srvcli
22337 wine_fn_config_makefile dlls/sspicli enable_sspicli
22338 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22339 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22340 wine_fn_config_makefile dlls/sti enable_sti
22341 wine_fn_config_makefile dlls/sti/tests enable_tests
22342 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22343 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22344 wine_fn_config_makefile dlls/strmdll enable_strmdll
22345 wine_fn_config_makefile dlls/svrapi enable_svrapi
22346 wine_fn_config_makefile dlls/sxs enable_sxs
22347 wine_fn_config_makefile dlls/sxs/tests enable_tests
22348 wine_fn_config_makefile dlls/system.drv16 enable_win16
22349 wine_fn_config_makefile dlls/t2embed enable_t2embed
22350 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22351 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22352 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22353 wine_fn_config_makefile dlls/taskschd enable_taskschd
22354 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22355 wine_fn_config_makefile dlls/tbs enable_tbs
22356 wine_fn_config_makefile dlls/tdh enable_tdh
22357 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22358 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22359 wine_fn_config_makefile dlls/traffic enable_traffic
22360 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22361 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22362 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22363 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22364 wine_fn_config_makefile dlls/tzres enable_tzres
22365 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22366 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22367 wine_fn_config_makefile dlls/uianimation enable_uianimation
22368 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22369 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22370 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22371 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22372 wine_fn_config_makefile dlls/unicows enable_unicows
22373 wine_fn_config_makefile dlls/updspapi enable_updspapi
22374 wine_fn_config_makefile dlls/url enable_url
22375 wine_fn_config_makefile dlls/urlmon enable_urlmon
22376 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22377 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22378 wine_fn_config_makefile dlls/user.exe16 enable_win16
22379 wine_fn_config_makefile dlls/user32 enable_user32
22380 wine_fn_config_makefile dlls/user32/tests enable_tests
22381 wine_fn_config_makefile dlls/userenv enable_userenv
22382 wine_fn_config_makefile dlls/userenv/tests enable_tests
22383 wine_fn_config_makefile dlls/usp10 enable_usp10
22384 wine_fn_config_makefile dlls/usp10/tests enable_tests
22385 wine_fn_config_makefile dlls/utildll enable_utildll
22386 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22387 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22388 wine_fn_config_makefile dlls/vbscript enable_vbscript
22389 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22390 wine_fn_config_makefile dlls/vcomp enable_vcomp
22391 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22392 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22393 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22394 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22395 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22396 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22397 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22398 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22399 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22400 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22401 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22402 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22403 wine_fn_config_makefile dlls/version enable_version
22404 wine_fn_config_makefile dlls/version/tests enable_tests
22405 wine_fn_config_makefile dlls/vga enable_vga
22406 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22407 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22408 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22409 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22410 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22411 wine_fn_config_makefile dlls/vssapi enable_vssapi
22412 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22413 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22414 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22415 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22416 wine_fn_config_makefile dlls/w32skrnl enable_win16
22417 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22418 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22419 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22420 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22421 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22422 wine_fn_config_makefile dlls/wdscore enable_wdscore
22423 wine_fn_config_makefile dlls/webservices enable_webservices
22424 wine_fn_config_makefile dlls/webservices/tests enable_tests
22425 wine_fn_config_makefile dlls/websocket enable_websocket
22426 wine_fn_config_makefile dlls/wer enable_wer
22427 wine_fn_config_makefile dlls/wer/tests enable_tests
22428 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22429 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22430 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22431 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22432 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22433 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22434 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22435 wine_fn_config_makefile dlls/win32u enable_win32u
22436 wine_fn_config_makefile dlls/win32u/tests enable_tests
22437 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22438 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22439 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22440 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22441 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22442 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22443 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22444 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22445 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22446 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22447 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22448 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22449 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22450 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22451 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22452 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22453 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22454 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22455 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22456 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22457 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22458 wine_fn_config_makefile dlls/wined3d enable_wined3d
22459 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22460 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22461 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22462 wine_fn_config_makefile dlls/winemapi enable_winemapi
22463 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22464 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22465 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22466 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22467 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22468 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22469 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22470 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22471 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22472 wine_fn_config_makefile dlls/wing32 enable_wing32
22473 wine_fn_config_makefile dlls/winhttp enable_winhttp
22474 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22475 wine_fn_config_makefile dlls/wininet enable_wininet
22476 wine_fn_config_makefile dlls/wininet/tests enable_tests
22477 wine_fn_config_makefile dlls/winmm enable_winmm
22478 wine_fn_config_makefile dlls/winmm/tests enable_tests
22479 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22480 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22481 wine_fn_config_makefile dlls/winscard enable_winscard
22482 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22483 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22484 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22485 wine_fn_config_makefile dlls/winsta enable_winsta
22486 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22487 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22488 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22489 wine_fn_config_makefile dlls/wintrust enable_wintrust
22490 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22491 wine_fn_config_makefile dlls/winusb enable_winusb
22492 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22493 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22494 wine_fn_config_makefile dlls/wlanui enable_wlanui
22495 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22496 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22497 wine_fn_config_makefile dlls/wmasf enable_wmasf
22498 wine_fn_config_makefile dlls/wmi enable_wmi
22499 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22500 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22501 wine_fn_config_makefile dlls/wmp enable_wmp
22502 wine_fn_config_makefile dlls/wmp/tests enable_tests
22503 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22504 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22505 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22506 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22507 wine_fn_config_makefile dlls/wow32 enable_win16
22508 wine_fn_config_makefile dlls/wow64 enable_wow64
22509 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22510 wine_fn_config_makefile dlls/wow64win enable_wow64win
22511 wine_fn_config_makefile dlls/wpc enable_wpc
22512 wine_fn_config_makefile dlls/wpc/tests enable_tests
22513 wine_fn_config_makefile dlls/wpcap enable_wpcap
22514 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22515 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22516 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22517 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22518 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22519 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22520 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22521 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22522 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22523 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22524 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22525 wine_fn_config_makefile dlls/wuapi enable_wuapi
22526 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22527 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22528 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22529 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22530 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22531 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22532 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22533 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22534 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22535 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22536 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22537 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22538 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22539 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22540 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22541 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22542 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22543 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22544 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22545 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22546 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22547 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22548 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22549 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22550 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22551 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22552 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22553 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22554 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22555 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22556 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22557 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22558 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22559 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22560 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22561 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22562 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22563 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22564 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22565 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22566 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22567 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22568 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22569 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22570 wine_fn_config_makefile dlls/xmllite enable_xmllite
22571 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22572 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22573 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22574 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22575 wine_fn_config_makefile fonts enable_fonts
22576 wine_fn_config_makefile include enable_include
22577 wine_fn_config_makefile libs/adsiid enable_adsiid
22578 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22579 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22580 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22581 wine_fn_config_makefile libs/dxguid enable_dxguid
22582 wine_fn_config_makefile libs/faudio enable_faudio
22583 wine_fn_config_makefile libs/gsm enable_gsm
22584 wine_fn_config_makefile libs/jpeg enable_jpeg
22585 wine_fn_config_makefile libs/jxr enable_jxr
22586 wine_fn_config_makefile libs/lcms2 enable_lcms2
22587 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22588 wine_fn_config_makefile libs/mpg123 enable_mpg123
22589 wine_fn_config_makefile libs/png enable_png
22590 wine_fn_config_makefile libs/strmbase enable_strmbase
22591 wine_fn_config_makefile libs/strmiids enable_strmiids
22592 wine_fn_config_makefile libs/tiff enable_tiff
22593 wine_fn_config_makefile libs/uuid enable_uuid
22594 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22595 wine_fn_config_makefile libs/wine enable_wine
22596 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22597 wine_fn_config_makefile libs/xml2 enable_xml2
22598 wine_fn_config_makefile libs/xslt enable_xslt
22599 wine_fn_config_makefile libs/zlib enable_zlib
22600 wine_fn_config_makefile loader enable_loader
22601 wine_fn_config_makefile nls enable_nls
22602 wine_fn_config_makefile po enable_po
22603 wine_fn_config_makefile programs/arp enable_arp
22604 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22605 wine_fn_config_makefile programs/attrib enable_attrib
22606 wine_fn_config_makefile programs/cabarc enable_cabarc
22607 wine_fn_config_makefile programs/cacls enable_cacls
22608 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22609 wine_fn_config_makefile programs/clock enable_clock
22610 wine_fn_config_makefile programs/cmd enable_cmd
22611 wine_fn_config_makefile programs/cmd/tests enable_tests
22612 wine_fn_config_makefile programs/conhost enable_conhost
22613 wine_fn_config_makefile programs/conhost/tests enable_tests
22614 wine_fn_config_makefile programs/control enable_control
22615 wine_fn_config_makefile programs/cscript enable_cscript
22616 wine_fn_config_makefile programs/dism enable_dism
22617 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22618 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22619 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22620 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22621 wine_fn_config_makefile programs/eject enable_eject
22622 wine_fn_config_makefile programs/expand enable_expand
22623 wine_fn_config_makefile programs/explorer enable_explorer
22624 wine_fn_config_makefile programs/extrac32 enable_extrac32
22625 wine_fn_config_makefile programs/fc enable_fc
22626 wine_fn_config_makefile programs/find enable_find
22627 wine_fn_config_makefile programs/find/tests enable_tests
22628 wine_fn_config_makefile programs/findstr enable_findstr
22629 wine_fn_config_makefile programs/fsutil enable_fsutil
22630 wine_fn_config_makefile programs/fsutil/tests enable_tests
22631 wine_fn_config_makefile programs/hh enable_hh
22632 wine_fn_config_makefile programs/hostname enable_hostname
22633 wine_fn_config_makefile programs/icacls enable_icacls
22634 wine_fn_config_makefile programs/icinfo enable_icinfo
22635 wine_fn_config_makefile programs/iexplore enable_iexplore
22636 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22637 wine_fn_config_makefile programs/lodctr enable_lodctr
22638 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22639 wine_fn_config_makefile programs/mshta enable_mshta
22640 wine_fn_config_makefile programs/msidb enable_msidb
22641 wine_fn_config_makefile programs/msiexec enable_msiexec
22642 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22643 wine_fn_config_makefile programs/net enable_net
22644 wine_fn_config_makefile programs/netsh enable_netsh
22645 wine_fn_config_makefile programs/netstat enable_netstat
22646 wine_fn_config_makefile programs/ngen enable_ngen
22647 wine_fn_config_makefile programs/notepad enable_notepad
22648 wine_fn_config_makefile programs/oleview enable_oleview
22649 wine_fn_config_makefile programs/ping enable_ping
22650 wine_fn_config_makefile programs/plugplay enable_plugplay
22651 wine_fn_config_makefile programs/powershell enable_powershell
22652 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22653 wine_fn_config_makefile programs/progman enable_progman
22654 wine_fn_config_makefile programs/reg enable_reg
22655 wine_fn_config_makefile programs/reg/tests enable_tests
22656 wine_fn_config_makefile programs/regasm enable_regasm
22657 wine_fn_config_makefile programs/regedit enable_regedit
22658 wine_fn_config_makefile programs/regedit/tests enable_tests
22659 wine_fn_config_makefile programs/regini enable_regini
22660 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22661 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22662 wine_fn_config_makefile programs/robocopy enable_robocopy
22663 wine_fn_config_makefile programs/rpcss enable_rpcss
22664 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22665 wine_fn_config_makefile programs/rundll32 enable_rundll32
22666 wine_fn_config_makefile programs/sc enable_sc
22667 wine_fn_config_makefile programs/schtasks enable_schtasks
22668 wine_fn_config_makefile programs/schtasks/tests enable_tests
22669 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22670 wine_fn_config_makefile programs/secedit enable_secedit
22671 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22672 wine_fn_config_makefile programs/services enable_services
22673 wine_fn_config_makefile programs/services/tests enable_tests
22674 wine_fn_config_makefile programs/shutdown enable_shutdown
22675 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22676 wine_fn_config_makefile programs/start enable_start
22677 wine_fn_config_makefile programs/subst enable_subst
22678 wine_fn_config_makefile programs/svchost enable_svchost
22679 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22680 wine_fn_config_makefile programs/taskkill enable_taskkill
22681 wine_fn_config_makefile programs/tasklist enable_tasklist
22682 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22683 wine_fn_config_makefile programs/termsv enable_termsv
22684 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22685 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22686 wine_fn_config_makefile programs/view enable_view
22687 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22688 wine_fn_config_makefile programs/where enable_where
22689 wine_fn_config_makefile programs/whoami enable_whoami
22690 wine_fn_config_makefile programs/wineboot enable_wineboot
22691 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22692 wine_fn_config_makefile programs/winecfg enable_winecfg
22693 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22694 wine_fn_config_makefile programs/winedbg enable_winedbg
22695 wine_fn_config_makefile programs/winedevice enable_winedevice
22696 wine_fn_config_makefile programs/winefile enable_winefile
22697 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22698 wine_fn_config_makefile programs/winemine enable_winemine
22699 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22700 wine_fn_config_makefile programs/winepath enable_winepath
22701 wine_fn_config_makefile programs/winetest enable_winetest
22702 wine_fn_config_makefile programs/winevdm enable_win16
22703 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22704 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22705 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22706 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22707 wine_fn_config_makefile programs/winver enable_winver
22708 wine_fn_config_makefile programs/wmic enable_wmic
22709 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22710 wine_fn_config_makefile programs/wordpad enable_wordpad
22711 wine_fn_config_makefile programs/write enable_write
22712 wine_fn_config_makefile programs/wscript enable_wscript
22713 wine_fn_config_makefile programs/wscript/tests enable_tests
22714 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22715 wine_fn_config_makefile programs/wusa enable_wusa
22716 wine_fn_config_makefile programs/xcopy enable_xcopy
22717 wine_fn_config_makefile programs/xcopy/tests enable_tests
22718 wine_fn_config_makefile server enable_server
22719 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22720 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22721 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22722 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22723 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22724 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22725 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22726 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22727 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22730 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22731 wine_fn_append_file CONFIGURE_TARGETS "tags"
22732 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22733 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22734 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22735 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22736 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22737 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22739 if test "x$enable_tools" != xno
22740 then
22741 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22742 ac_config_commands="$ac_config_commands tools/makedep"
22746 ac_config_commands="$ac_config_commands Makefile"
22750 SHELL=/bin/sh
22753 wine_fn_append_rule "all: wine
22754 @echo \"Wine build complete.\"
22755 .INIT: Makefile
22756 .MAKEFILEDEPS:
22757 all: Makefile
22758 Makefile: config.status \$(MAKEDEP)
22759 @./config.status Makefile
22760 depend: \$(MAKEDEP)
22761 \$(MAKEDEP)$makedep_flags"
22764 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22765 @./config.status --recheck
22766 include/config.h: include/stamp-h
22767 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22768 @./config.status include/config.h include/stamp-h"
22770 if test "x$enable_maintainer_mode" = xyes
22771 then
22772 wine_fn_append_rule "configure: configure.ac aclocal.m4
22773 autoconf --warnings=all
22774 include/config.h.in: include/stamp-h.in
22775 include/stamp-h.in: configure.ac aclocal.m4
22776 autoheader --warnings=all
22777 @echo timestamp > \$@"
22780 if test "x$enable_tools" != xno
22781 then
22782 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22783 @./config.status tools/makedep
22784 Makefile: tools/makedep$ac_exeext"
22785 else
22786 wine_fn_append_rule "\$(MAKEDEP):
22787 @echo \"You need to run make in $toolsdir first\" && false"
22791 if test -n "$with_wine64"
22792 then
22793 case "$with_wine64" in
22794 /*) reldir="" ;;
22795 *) reldir="../" ;;
22796 esac
22797 rm -f fonts server 2>/dev/null
22798 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22799 loader/wine64 loader/wine64-preloader:
22800 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22801 $with_wine64/loader/wine:
22802 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22803 $with_wine64/loader/wine-preloader:
22804 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22805 clean::
22806 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22807 else
22808 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22809 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22810 fonts \
22811 loader/wine.inf \
22812 nls \
22813 programs/msidb/msidb \
22814 programs/msiexec/msiexec \
22815 programs/notepad/notepad \
22816 programs/regedit/regedit \
22817 programs/regsvr32/regsvr32 \
22818 programs/wineboot/wineboot \
22819 programs/winecfg/winecfg \
22820 programs/wineconsole/wineconsole \
22821 programs/winedbg/winedbg \
22822 programs/winefile/winefile \
22823 programs/winemine/winemine \
22824 programs/winepath/winepath \
22825 server/wineserver"
22827 case $host_os in
22828 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22829 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22830 esac
22834 wine_fn_append_rule "distclean:: clean
22835 rm -rf autom4te.cache
22836 maintainer-clean::
22837 rm -f configure include/config.h.in"
22840 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22841 @version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
22842 programs/winetest/build.rc: dummy
22843 @build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
22844 programs/winetest/build.nfo:
22845 @-\$(CC) -v 2>\$@
22846 dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
22847 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22848 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22851 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22853 wine_fn_append_rule "TAGS etags:
22854 rm -f TAGS
22855 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22856 tags ctags:
22857 rm -f tags
22858 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22859 dummy:
22860 .PHONY: depend dummy install-manpages"
22862 printf "%s\n" " done" >&6
22863 cat >confcache <<\_ACEOF
22864 # This file is a shell script that caches the results of configure
22865 # tests run on this system so they can be shared between configure
22866 # scripts and configure runs, see configure's option --config-cache.
22867 # It is not useful on other systems. If it contains results you don't
22868 # want to keep, you may remove or edit it.
22870 # config.status only pays attention to the cache file if you give it
22871 # the --recheck option to rerun configure.
22873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22875 # following values.
22877 _ACEOF
22879 # The following way of writing the cache mishandles newlines in values,
22880 # but we know of no workaround that is simple, portable, and efficient.
22881 # So, we kill variables containing newlines.
22882 # Ultrix sh set writes to stderr and can't be redirected directly,
22883 # and sets the high bit in the cache file unless we assign to the vars.
22885 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22886 eval ac_val=\$$ac_var
22887 case $ac_val in #(
22888 *${as_nl}*)
22889 case $ac_var in #(
22890 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22891 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22892 esac
22893 case $ac_var in #(
22894 _ | IFS | as_nl) ;; #(
22895 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22896 *) { eval $ac_var=; unset $ac_var;} ;;
22897 esac ;;
22898 esac
22899 done
22901 (set) 2>&1 |
22902 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22903 *${as_nl}ac_space=\ *)
22904 # `set' does not quote correctly, so add quotes: double-quote
22905 # substitution turns \\\\ into \\, and sed turns \\ into \.
22906 sed -n \
22907 "s/'/'\\\\''/g;
22908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22909 ;; #(
22911 # `set' quotes correctly as required by POSIX, so do not add quotes.
22912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22914 esac |
22915 sort
22917 sed '
22918 /^ac_cv_env_/b end
22919 t clear
22920 :clear
22921 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22922 t end
22923 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22924 :end' >>confcache
22925 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22926 if test -w "$cache_file"; then
22927 if test "x$cache_file" != "x/dev/null"; then
22928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22929 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22930 if test ! -f "$cache_file" || test -h "$cache_file"; then
22931 cat confcache >"$cache_file"
22932 else
22933 case $cache_file in #(
22934 */* | ?:*)
22935 mv -f confcache "$cache_file"$$ &&
22936 mv -f "$cache_file"$$ "$cache_file" ;; #(
22938 mv -f confcache "$cache_file" ;;
22939 esac
22942 else
22943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22944 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22947 rm -f confcache
22949 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22950 # Let make expand exec_prefix.
22951 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22953 DEFS=-DHAVE_CONFIG_H
22955 ac_libobjs=
22956 ac_ltlibobjs=
22958 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22959 # 1. Remove the extension, and $U if already installed.
22960 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22961 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22962 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22963 # will be set to the directory where LIBOBJS objects are built.
22964 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22965 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22966 done
22967 LIBOBJS=$ac_libobjs
22969 LTLIBOBJS=$ac_ltlibobjs
22973 : "${CONFIG_STATUS=./config.status}"
22974 ac_write_fail=0
22975 ac_clean_files_save=$ac_clean_files
22976 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22978 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22979 as_write_fail=0
22980 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22981 #! $SHELL
22982 # Generated by $as_me.
22983 # Run this file to recreate the current configuration.
22984 # Compiler output produced by configure, useful for debugging
22985 # configure, is in config.log if it exists.
22987 debug=false
22988 ac_cs_recheck=false
22989 ac_cs_silent=false
22991 SHELL=\${CONFIG_SHELL-$SHELL}
22992 export SHELL
22993 _ASEOF
22994 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22995 ## -------------------- ##
22996 ## M4sh Initialization. ##
22997 ## -------------------- ##
22999 # Be more Bourne compatible
23000 DUALCASE=1; export DUALCASE # for MKS sh
23001 as_nop=:
23002 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23003 then :
23004 emulate sh
23005 NULLCMD=:
23006 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23007 # is contrary to our usage. Disable this feature.
23008 alias -g '${1+"$@"}'='"$@"'
23009 setopt NO_GLOB_SUBST
23010 else $as_nop
23011 case `(set -o) 2>/dev/null` in #(
23012 *posix*) :
23013 set -o posix ;; #(
23014 *) :
23016 esac
23021 # Reset variables that may have inherited troublesome values from
23022 # the environment.
23024 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23025 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23026 # side effect of setting IFS to empty, thus disabling word splitting.)
23027 # Quoting is to prevent editors from complaining about space-tab.
23028 as_nl='
23030 export as_nl
23031 IFS=" "" $as_nl"
23033 PS1='$ '
23034 PS2='> '
23035 PS4='+ '
23037 # Ensure predictable behavior from utilities with locale-dependent output.
23038 LC_ALL=C
23039 export LC_ALL
23040 LANGUAGE=C
23041 export LANGUAGE
23043 # We cannot yet rely on "unset" to work, but we need these variables
23044 # to be unset--not just set to an empty or harmless value--now, to
23045 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23046 # also avoids known problems related to "unset" and subshell syntax
23047 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23048 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23049 do eval test \${$as_var+y} \
23050 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23051 done
23053 # Ensure that fds 0, 1, and 2 are open.
23054 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23055 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23056 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23058 # The user is always right.
23059 if ${PATH_SEPARATOR+false} :; then
23060 PATH_SEPARATOR=:
23061 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23062 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23063 PATH_SEPARATOR=';'
23068 # Find who we are. Look in the path if we contain no directory separator.
23069 as_myself=
23070 case $0 in #((
23071 *[\\/]* ) as_myself=$0 ;;
23072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23073 for as_dir in $PATH
23075 IFS=$as_save_IFS
23076 case $as_dir in #(((
23077 '') as_dir=./ ;;
23078 */) ;;
23079 *) as_dir=$as_dir/ ;;
23080 esac
23081 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23082 done
23083 IFS=$as_save_IFS
23086 esac
23087 # We did not find ourselves, most probably we were run as `sh COMMAND'
23088 # in which case we are not to be found in the path.
23089 if test "x$as_myself" = x; then
23090 as_myself=$0
23092 if test ! -f "$as_myself"; then
23093 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23094 exit 1
23099 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23100 # ----------------------------------------
23101 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23102 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23103 # script with STATUS, using 1 if that was 0.
23104 as_fn_error ()
23106 as_status=$1; test $as_status -eq 0 && as_status=1
23107 if test "$4"; then
23108 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23111 printf "%s\n" "$as_me: error: $2" >&2
23112 as_fn_exit $as_status
23113 } # as_fn_error
23117 # as_fn_set_status STATUS
23118 # -----------------------
23119 # Set $? to STATUS, without forking.
23120 as_fn_set_status ()
23122 return $1
23123 } # as_fn_set_status
23125 # as_fn_exit STATUS
23126 # -----------------
23127 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23128 as_fn_exit ()
23130 set +e
23131 as_fn_set_status $1
23132 exit $1
23133 } # as_fn_exit
23135 # as_fn_unset VAR
23136 # ---------------
23137 # Portably unset VAR.
23138 as_fn_unset ()
23140 { eval $1=; unset $1;}
23142 as_unset=as_fn_unset
23144 # as_fn_append VAR VALUE
23145 # ----------------------
23146 # Append the text in VALUE to the end of the definition contained in VAR. Take
23147 # advantage of any shell optimizations that allow amortized linear growth over
23148 # repeated appends, instead of the typical quadratic growth present in naive
23149 # implementations.
23150 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23151 then :
23152 eval 'as_fn_append ()
23154 eval $1+=\$2
23156 else $as_nop
23157 as_fn_append ()
23159 eval $1=\$$1\$2
23161 fi # as_fn_append
23163 # as_fn_arith ARG...
23164 # ------------------
23165 # Perform arithmetic evaluation on the ARGs, and store the result in the
23166 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23167 # must be portable across $(()) and expr.
23168 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23169 then :
23170 eval 'as_fn_arith ()
23172 as_val=$(( $* ))
23174 else $as_nop
23175 as_fn_arith ()
23177 as_val=`expr "$@" || test $? -eq 1`
23179 fi # as_fn_arith
23182 if expr a : '\(a\)' >/dev/null 2>&1 &&
23183 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23184 as_expr=expr
23185 else
23186 as_expr=false
23189 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23190 as_basename=basename
23191 else
23192 as_basename=false
23195 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23196 as_dirname=dirname
23197 else
23198 as_dirname=false
23201 as_me=`$as_basename -- "$0" ||
23202 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23203 X"$0" : 'X\(//\)$' \| \
23204 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23205 printf "%s\n" X/"$0" |
23206 sed '/^.*\/\([^/][^/]*\)\/*$/{
23207 s//\1/
23210 /^X\/\(\/\/\)$/{
23211 s//\1/
23214 /^X\/\(\/\).*/{
23215 s//\1/
23218 s/.*/./; q'`
23220 # Avoid depending upon Character Ranges.
23221 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23222 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23223 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23224 as_cr_digits='0123456789'
23225 as_cr_alnum=$as_cr_Letters$as_cr_digits
23228 # Determine whether it's possible to make 'echo' print without a newline.
23229 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23230 # for compatibility with existing Makefiles.
23231 ECHO_C= ECHO_N= ECHO_T=
23232 case `echo -n x` in #(((((
23233 -n*)
23234 case `echo 'xy\c'` in
23235 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23236 xy) ECHO_C='\c';;
23237 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23238 ECHO_T=' ';;
23239 esac;;
23241 ECHO_N='-n';;
23242 esac
23244 # For backward compatibility with old third-party macros, we provide
23245 # the shell variables $as_echo and $as_echo_n. New code should use
23246 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23247 as_echo='printf %s\n'
23248 as_echo_n='printf %s'
23250 rm -f conf$$ conf$$.exe conf$$.file
23251 if test -d conf$$.dir; then
23252 rm -f conf$$.dir/conf$$.file
23253 else
23254 rm -f conf$$.dir
23255 mkdir conf$$.dir 2>/dev/null
23257 if (echo >conf$$.file) 2>/dev/null; then
23258 if ln -s conf$$.file conf$$ 2>/dev/null; then
23259 as_ln_s='ln -s'
23260 # ... but there are two gotchas:
23261 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23262 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23263 # In both cases, we have to default to `cp -pR'.
23264 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23265 as_ln_s='cp -pR'
23266 elif ln conf$$.file conf$$ 2>/dev/null; then
23267 as_ln_s=ln
23268 else
23269 as_ln_s='cp -pR'
23271 else
23272 as_ln_s='cp -pR'
23274 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23275 rmdir conf$$.dir 2>/dev/null
23278 # as_fn_mkdir_p
23279 # -------------
23280 # Create "$as_dir" as a directory, including parents if necessary.
23281 as_fn_mkdir_p ()
23284 case $as_dir in #(
23285 -*) as_dir=./$as_dir;;
23286 esac
23287 test -d "$as_dir" || eval $as_mkdir_p || {
23288 as_dirs=
23289 while :; do
23290 case $as_dir in #(
23291 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23292 *) as_qdir=$as_dir;;
23293 esac
23294 as_dirs="'$as_qdir' $as_dirs"
23295 as_dir=`$as_dirname -- "$as_dir" ||
23296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23297 X"$as_dir" : 'X\(//\)[^/]' \| \
23298 X"$as_dir" : 'X\(//\)$' \| \
23299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23300 printf "%s\n" X"$as_dir" |
23301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23302 s//\1/
23305 /^X\(\/\/\)[^/].*/{
23306 s//\1/
23309 /^X\(\/\/\)$/{
23310 s//\1/
23313 /^X\(\/\).*/{
23314 s//\1/
23317 s/.*/./; q'`
23318 test -d "$as_dir" && break
23319 done
23320 test -z "$as_dirs" || eval "mkdir $as_dirs"
23321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23324 } # as_fn_mkdir_p
23325 if mkdir -p . 2>/dev/null; then
23326 as_mkdir_p='mkdir -p "$as_dir"'
23327 else
23328 test -d ./-p && rmdir ./-p
23329 as_mkdir_p=false
23333 # as_fn_executable_p FILE
23334 # -----------------------
23335 # Test if FILE is an executable regular file.
23336 as_fn_executable_p ()
23338 test -f "$1" && test -x "$1"
23339 } # as_fn_executable_p
23340 as_test_x='test -x'
23341 as_executable_p=as_fn_executable_p
23343 # Sed expression to map a string onto a valid CPP name.
23344 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23346 # Sed expression to map a string onto a valid variable name.
23347 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23350 exec 6>&1
23351 ## ----------------------------------- ##
23352 ## Main body of $CONFIG_STATUS script. ##
23353 ## ----------------------------------- ##
23354 _ASEOF
23355 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23358 # Save the log message, to keep $0 and so on meaningful, and to
23359 # report actual input values of CONFIG_FILES etc. instead of their
23360 # values after options handling.
23361 ac_log="
23362 This file was extended by Wine $as_me 7.0, which was
23363 generated by GNU Autoconf 2.71. Invocation command line was
23365 CONFIG_FILES = $CONFIG_FILES
23366 CONFIG_HEADERS = $CONFIG_HEADERS
23367 CONFIG_LINKS = $CONFIG_LINKS
23368 CONFIG_COMMANDS = $CONFIG_COMMANDS
23369 $ $0 $@
23371 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23374 _ACEOF
23377 case $ac_config_headers in *"
23378 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23379 esac
23382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23383 # Files that config.status was made for.
23384 config_headers="$ac_config_headers"
23385 config_links="$ac_config_links"
23386 config_commands="$ac_config_commands"
23388 _ACEOF
23390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23391 ac_cs_usage="\
23392 \`$as_me' instantiates files and other configuration actions
23393 from templates according to the current configuration. Unless the files
23394 and actions are specified as TAGs, all are instantiated by default.
23396 Usage: $0 [OPTION]... [TAG]...
23398 -h, --help print this help, then exit
23399 -V, --version print version number and configuration settings, then exit
23400 --config print configuration, then exit
23401 -q, --quiet, --silent
23402 do not print progress messages
23403 -d, --debug don't remove temporary files
23404 --recheck update $as_me by reconfiguring in the same conditions
23405 --header=FILE[:TEMPLATE]
23406 instantiate the configuration header FILE
23408 Configuration headers:
23409 $config_headers
23411 Configuration links:
23412 $config_links
23414 Configuration commands:
23415 $config_commands
23417 Report bugs to <wine-devel@winehq.org>.
23418 Wine home page: <https://www.winehq.org>."
23420 _ACEOF
23421 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23422 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23424 ac_cs_config='$ac_cs_config_escaped'
23425 ac_cs_version="\\
23426 Wine config.status 7.0
23427 configured by $0, generated by GNU Autoconf 2.71,
23428 with options \\"\$ac_cs_config\\"
23430 Copyright (C) 2021 Free Software Foundation, Inc.
23431 This config.status script is free software; the Free Software Foundation
23432 gives unlimited permission to copy, distribute and modify it."
23434 ac_pwd='$ac_pwd'
23435 srcdir='$srcdir'
23436 test -n "\$AWK" || AWK=awk
23437 _ACEOF
23439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23440 # The default lists apply if the user does not specify any file.
23441 ac_need_defaults=:
23442 while test $# != 0
23444 case $1 in
23445 --*=?*)
23446 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23447 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23448 ac_shift=:
23450 --*=)
23451 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23452 ac_optarg=
23453 ac_shift=:
23456 ac_option=$1
23457 ac_optarg=$2
23458 ac_shift=shift
23460 esac
23462 case $ac_option in
23463 # Handling of the options.
23464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23465 ac_cs_recheck=: ;;
23466 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23467 printf "%s\n" "$ac_cs_version"; exit ;;
23468 --config | --confi | --conf | --con | --co | --c )
23469 printf "%s\n" "$ac_cs_config"; exit ;;
23470 --debug | --debu | --deb | --de | --d | -d )
23471 debug=: ;;
23472 --header | --heade | --head | --hea )
23473 $ac_shift
23474 case $ac_optarg in
23475 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23476 esac
23477 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23478 ac_need_defaults=false;;
23479 --he | --h)
23480 # Conflict between --help and --header
23481 as_fn_error $? "ambiguous option: \`$1'
23482 Try \`$0 --help' for more information.";;
23483 --help | --hel | -h )
23484 printf "%s\n" "$ac_cs_usage"; exit ;;
23485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23486 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23487 ac_cs_silent=: ;;
23489 # This is an error.
23490 -*) as_fn_error $? "unrecognized option: \`$1'
23491 Try \`$0 --help' for more information." ;;
23493 *) as_fn_append ac_config_targets " $1"
23494 ac_need_defaults=false ;;
23496 esac
23497 shift
23498 done
23500 ac_configure_extra_args=
23502 if $ac_cs_silent; then
23503 exec 6>/dev/null
23504 ac_configure_extra_args="$ac_configure_extra_args --silent"
23507 _ACEOF
23508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23509 if \$ac_cs_recheck; then
23510 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23511 shift
23512 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23513 CONFIG_SHELL='$SHELL'
23514 export CONFIG_SHELL
23515 exec "\$@"
23518 _ACEOF
23519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23520 exec 5>>config.log
23522 echo
23523 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23524 ## Running $as_me. ##
23525 _ASBOX
23526 printf "%s\n" "$ac_log"
23527 } >&5
23529 _ACEOF
23530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23532 # INIT-COMMANDS
23534 wine_fn_output_makedep ()
23536 as_dir=tools; as_fn_mkdir_p
23537 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23539 wine_fn_output_makefile ()
23541 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23542 # This Makefile understands the following targets:
23544 # all (default): build wine
23545 # clean: remove all intermediate files
23546 # distclean: also remove all files created by configure
23547 # test: run tests
23548 # testclean: clean test results to force running all tests again
23549 # install-lib: install libraries needed to run applications
23550 # install-dev: install development environment
23551 # install: install everything
23552 # uninstall: uninstall everything
23553 # ctags: create a tags file for vim and others.
23554 # etags: create a TAGS file for Emacs.
23556 SHELL = $SHELL
23557 PATH_SEPARATOR = $PATH_SEPARATOR
23558 PACKAGE_NAME = $PACKAGE_NAME
23559 PACKAGE_TARNAME = $PACKAGE_TARNAME
23560 PACKAGE_VERSION = $PACKAGE_VERSION
23561 PACKAGE_STRING = $PACKAGE_STRING
23562 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23563 PACKAGE_URL = $PACKAGE_URL
23564 exec_prefix = $exec_prefix
23565 prefix = $prefix
23566 program_transform_name = $program_transform_name
23567 bindir = $bindir
23568 sbindir = $sbindir
23569 libexecdir = $libexecdir
23570 datarootdir = $datarootdir
23571 datadir = $datadir
23572 sysconfdir = $sysconfdir
23573 sharedstatedir = $sharedstatedir
23574 localstatedir = $localstatedir
23575 runstatedir = $runstatedir
23576 includedir = $includedir
23577 oldincludedir = $oldincludedir
23578 docdir = $docdir
23579 infodir = $infodir
23580 htmldir = $htmldir
23581 dvidir = $dvidir
23582 pdfdir = $pdfdir
23583 psdir = $psdir
23584 libdir = $libdir
23585 localedir = $localedir
23586 mandir = $mandir
23587 DEFS = $DEFS
23588 ECHO_C = $ECHO_C
23589 ECHO_N = $ECHO_N
23590 ECHO_T = $ECHO_T
23591 LIBS = $LIBS
23592 build_alias = $build_alias
23593 host_alias = $host_alias
23594 target_alias = $target_alias
23595 system_dllpath = $system_dllpath
23596 build = $build
23597 build_cpu = $build_cpu
23598 build_vendor = $build_vendor
23599 build_os = $build_os
23600 host = $host
23601 host_cpu = $host_cpu
23602 host_vendor = $host_vendor
23603 host_os = $host_os
23604 dlldir = $dlldir
23605 fontdir = $fontdir
23606 nlsdir = $nlsdir
23607 srcdir = $srcdir
23608 SET_MAKE = $SET_MAKE
23609 CC = $CC
23610 CFLAGS = $CFLAGS
23611 LDFLAGS = $LDFLAGS
23612 CPPFLAGS = $CPPFLAGS
23613 ac_ct_CC = $ac_ct_CC
23614 EXEEXT = $EXEEXT
23615 OBJEXT = $OBJEXT
23616 CXX = $CXX
23617 CXXFLAGS = $CXXFLAGS
23618 ac_ct_CXX = $ac_ct_CXX
23619 CPPBIN = $CPPBIN
23620 LD = $LD
23621 TARGETFLAGS = $TARGETFLAGS
23622 toolsext = $toolsext
23623 toolsdir = $toolsdir
23624 MAKEDEP = $MAKEDEP
23625 RUNTESTFLAGS = $RUNTESTFLAGS
23626 SED_CMD = $SED_CMD
23627 FLEX = $FLEX
23628 BISON = $BISON
23629 AR = $AR
23630 ac_ct_AR = $ac_ct_AR
23631 STRIP = $STRIP
23632 RANLIB = $RANLIB
23633 LN_S = $LN_S
23634 GREP = $GREP
23635 EGREP = $EGREP
23636 LDCONFIG = $LDCONFIG
23637 MSGFMT = $MSGFMT
23638 PKG_CONFIG = $PKG_CONFIG
23639 FONTFORGE = $FONTFORGE
23640 RSVG = $RSVG
23641 CONVERT = $CONVERT
23642 ICOTOOL = $ICOTOOL
23643 I386_LIBS = $I386_LIBS
23644 OPENGL_LIBS = $OPENGL_LIBS
23645 DLLFLAGS = $DLLFLAGS
23646 LDDLLFLAGS = $LDDLLFLAGS
23647 LDEXECFLAGS = $LDEXECFLAGS
23648 EXTRACFLAGS = $EXTRACFLAGS
23649 UNIXDLLFLAGS = $UNIXDLLFLAGS
23650 UNIXLDFLAGS = $UNIXLDFLAGS
23651 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23652 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23653 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23654 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23655 LDD = $LDD
23656 OTOOL = $OTOOL
23657 READELF = $READELF
23658 SUBDIRS = $SUBDIRS
23659 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23660 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23661 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23662 DLLTOOL = $DLLTOOL
23663 OBJC = $OBJC
23664 OBJCFLAGS = $OBJCFLAGS
23665 ac_ct_OBJC = $ac_ct_OBJC
23666 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23667 IOKIT_LIBS = $IOKIT_LIBS
23668 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23669 CORESERVICES_LIBS = $CORESERVICES_LIBS
23670 APPKIT_LIBS = $APPKIT_LIBS
23671 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23672 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23673 SECURITY_LIBS = $SECURITY_LIBS
23674 COREAUDIO_LIBS = $COREAUDIO_LIBS
23675 OPENAL_LIBS = $OPENAL_LIBS
23676 OPENCL_LIBS = $OPENCL_LIBS
23677 CARBON_LIBS = $CARBON_LIBS
23678 METAL_LIBS = $METAL_LIBS
23679 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23680 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23681 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23682 PRELINK = $PRELINK
23683 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23684 CROSSTARGET = $CROSSTARGET
23685 CROSSCC = $CROSSCC
23686 CROSSCFLAGS = $CROSSCFLAGS
23687 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23688 CROSSLDFLAGS = $CROSSLDFLAGS
23689 DELAYLOADFLAG = $DELAYLOADFLAG
23690 CROSSDEBUG = $CROSSDEBUG
23691 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23692 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23693 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23694 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23695 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23696 GSM_PE_LIBS = $GSM_PE_LIBS
23697 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23698 JPEG_PE_LIBS = $JPEG_PE_LIBS
23699 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23700 JXR_PE_LIBS = $JXR_PE_LIBS
23701 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23702 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23703 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23704 MPG123_PE_LIBS = $MPG123_PE_LIBS
23705 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23706 PNG_PE_LIBS = $PNG_PE_LIBS
23707 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23708 TIFF_PE_LIBS = $TIFF_PE_LIBS
23709 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23710 XML2_PE_LIBS = $XML2_PE_LIBS
23711 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23712 XSLT_PE_LIBS = $XSLT_PE_LIBS
23713 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23714 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23715 PTHREAD_LIBS = $PTHREAD_LIBS
23716 XMKMF = $XMKMF
23717 CPP = $CPP
23718 X_CFLAGS = $X_CFLAGS
23719 X_PRE_LIBS = $X_PRE_LIBS
23720 X_LIBS = $X_LIBS
23721 X_EXTRA_LIBS = $X_EXTRA_LIBS
23722 PCAP_LIBS = $PCAP_LIBS
23723 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23724 INOTIFY_LIBS = $INOTIFY_LIBS
23725 DBUS_CFLAGS = $DBUS_CFLAGS
23726 DBUS_LIBS = $DBUS_LIBS
23727 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23728 GNUTLS_LIBS = $GNUTLS_LIBS
23729 SANE_CFLAGS = $SANE_CFLAGS
23730 SANE_LIBS = $SANE_LIBS
23731 USB_CFLAGS = $USB_CFLAGS
23732 USB_LIBS = $USB_LIBS
23733 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23734 GPHOTO2_LIBS = $GPHOTO2_LIBS
23735 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23736 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23737 RESOLV_LIBS = $RESOLV_LIBS
23738 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23739 FREETYPE_LIBS = $FREETYPE_LIBS
23740 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23741 PULSE_CFLAGS = $PULSE_CFLAGS
23742 PULSE_LIBS = $PULSE_LIBS
23743 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23744 GSTREAMER_LIBS = $GSTREAMER_LIBS
23745 ALSA_LIBS = $ALSA_LIBS
23746 OSS4_CFLAGS = $OSS4_CFLAGS
23747 OSS4_LIBS = $OSS4_LIBS
23748 UDEV_CFLAGS = $UDEV_CFLAGS
23749 UDEV_LIBS = $UDEV_LIBS
23750 UNWIND_CFLAGS = $UNWIND_CFLAGS
23751 UNWIND_LIBS = $UNWIND_LIBS
23752 SDL2_CFLAGS = $SDL2_CFLAGS
23753 SDL2_LIBS = $SDL2_LIBS
23754 CAPI20_CFLAGS = $CAPI20_CFLAGS
23755 CAPI20_LIBS = $CAPI20_LIBS
23756 CUPS_CFLAGS = $CUPS_CFLAGS
23757 CUPS_LIBS = $CUPS_LIBS
23758 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23759 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23760 KRB5_CFLAGS = $KRB5_CFLAGS
23761 KRB5_LIBS = $KRB5_LIBS
23762 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23763 GSSAPI_LIBS = $GSSAPI_LIBS
23764 PROCSTAT_LIBS = $PROCSTAT_LIBS
23765 NETAPI_CFLAGS = $NETAPI_CFLAGS
23766 NETAPI_LIBS = $NETAPI_LIBS
23767 VKD3D_CFLAGS = $VKD3D_CFLAGS
23768 VKD3D_LIBS = $VKD3D_LIBS
23769 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23770 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23771 MSVCRTFLAGS = $MSVCRTFLAGS
23772 RT_LIBS = $RT_LIBS
23773 LDAP_CFLAGS = $LDAP_CFLAGS
23774 LDAP_LIBS = $LDAP_LIBS
23775 TAGSFLAGS = $TAGSFLAGS
23776 LIBOBJS = $LIBOBJS
23777 LTLIBOBJS = $LTLIBOBJS
23778 $SET_MAKE
23779 $wine_rules
23780 _WINE_EOF
23781 as_fn_error $? "could not create Makefile" "$LINENO" 5
23784 _ACEOF
23786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23788 # Handling of arguments.
23789 for ac_config_target in $ac_config_targets
23791 case $ac_config_target in
23792 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23793 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23794 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23795 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23796 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23797 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23799 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23800 esac
23801 done
23804 # If the user did not use the arguments to specify the items to instantiate,
23805 # then the envvar interface is used. Set only those that are not.
23806 # We use the long form for the default assignment because of an extremely
23807 # bizarre bug on SunOS 4.1.3.
23808 if $ac_need_defaults; then
23809 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23810 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23811 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23814 # Have a temporary directory for convenience. Make it in the build tree
23815 # simply because there is no reason against having it here, and in addition,
23816 # creating and moving files from /tmp can sometimes cause problems.
23817 # Hook for its removal unless debugging.
23818 # Note that there is a small window in which the directory will not be cleaned:
23819 # after its creation but before its name has been assigned to `$tmp'.
23820 $debug ||
23822 tmp= ac_tmp=
23823 trap 'exit_status=$?
23824 : "${ac_tmp:=$tmp}"
23825 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23827 trap 'as_fn_exit 1' 1 2 13 15
23829 # Create a (secure) tmp directory for tmp files.
23832 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23833 test -d "$tmp"
23834 } ||
23836 tmp=./conf$$-$RANDOM
23837 (umask 077 && mkdir "$tmp")
23838 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23839 ac_tmp=$tmp
23841 # Set up the scripts for CONFIG_HEADERS section.
23842 # No need to generate them if there are no CONFIG_HEADERS.
23843 # This happens for instance with `./config.status Makefile'.
23844 if test -n "$CONFIG_HEADERS"; then
23845 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23846 BEGIN {
23847 _ACEOF
23849 # Transform confdefs.h into an awk script `defines.awk', embedded as
23850 # here-document in config.status, that substitutes the proper values into
23851 # config.h.in to produce config.h.
23853 # Create a delimiter string that does not exist in confdefs.h, to ease
23854 # handling of long lines.
23855 ac_delim='%!_!# '
23856 for ac_last_try in false false :; do
23857 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23858 if test -z "$ac_tt"; then
23859 break
23860 elif $ac_last_try; then
23861 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23862 else
23863 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23865 done
23867 # For the awk script, D is an array of macro values keyed by name,
23868 # likewise P contains macro parameters if any. Preserve backslash
23869 # newline sequences.
23871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23872 sed -n '
23873 s/.\{148\}/&'"$ac_delim"'/g
23874 t rset
23875 :rset
23876 s/^[ ]*#[ ]*define[ ][ ]*/ /
23877 t def
23879 :def
23880 s/\\$//
23881 t bsnl
23882 s/["\\]/\\&/g
23883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23884 D["\1"]=" \3"/p
23885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23887 :bsnl
23888 s/["\\]/\\&/g
23889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23890 D["\1"]=" \3\\\\\\n"\\/p
23891 t cont
23892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23893 t cont
23895 :cont
23897 s/.\{148\}/&'"$ac_delim"'/g
23898 t clear
23899 :clear
23900 s/\\$//
23901 t bsnlc
23902 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23904 :bsnlc
23905 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23906 b cont
23907 ' <confdefs.h | sed '
23908 s/'"$ac_delim"'/"\\\
23909 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23912 for (key in D) D_is_set[key] = 1
23913 FS = "\a"
23915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23916 line = \$ 0
23917 split(line, arg, " ")
23918 if (arg[1] == "#") {
23919 defundef = arg[2]
23920 mac1 = arg[3]
23921 } else {
23922 defundef = substr(arg[1], 2)
23923 mac1 = arg[2]
23925 split(mac1, mac2, "(") #)
23926 macro = mac2[1]
23927 prefix = substr(line, 1, index(line, defundef) - 1)
23928 if (D_is_set[macro]) {
23929 # Preserve the white space surrounding the "#".
23930 print prefix "define", macro P[macro] D[macro]
23931 next
23932 } else {
23933 # Replace #undef with comments. This is necessary, for example,
23934 # in the case of _POSIX_SOURCE, which is predefined and required
23935 # on some systems where configure will not decide to define it.
23936 if (defundef == "undef") {
23937 print "/*", prefix defundef, macro, "*/"
23938 next
23942 { print }
23943 _ACAWK
23944 _ACEOF
23945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23946 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23947 fi # test -n "$CONFIG_HEADERS"
23950 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23951 shift
23952 for ac_tag
23954 case $ac_tag in
23955 :[FHLC]) ac_mode=$ac_tag; continue;;
23956 esac
23957 case $ac_mode$ac_tag in
23958 :[FHL]*:*);;
23959 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23960 :[FH]-) ac_tag=-:-;;
23961 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23962 esac
23963 ac_save_IFS=$IFS
23964 IFS=:
23965 set x $ac_tag
23966 IFS=$ac_save_IFS
23967 shift
23968 ac_file=$1
23969 shift
23971 case $ac_mode in
23972 :L) ac_source=$1;;
23973 :[FH])
23974 ac_file_inputs=
23975 for ac_f
23977 case $ac_f in
23978 -) ac_f="$ac_tmp/stdin";;
23979 *) # Look for the file first in the build tree, then in the source tree
23980 # (if the path is not absolute). The absolute path cannot be DOS-style,
23981 # because $ac_f cannot contain `:'.
23982 test -f "$ac_f" ||
23983 case $ac_f in
23984 [\\/$]*) false;;
23985 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23986 esac ||
23987 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23988 esac
23989 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23990 as_fn_append ac_file_inputs " '$ac_f'"
23991 done
23993 # Let's still pretend it is `configure' which instantiates (i.e., don't
23994 # use $as_me), people would be surprised to read:
23995 # /* config.h. Generated by config.status. */
23996 configure_input='Generated from '`
23997 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23998 `' by configure.'
23999 if test x"$ac_file" != x-; then
24000 configure_input="$ac_file. $configure_input"
24001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24002 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24004 # Neutralize special characters interpreted by sed in replacement strings.
24005 case $configure_input in #(
24006 *\&* | *\|* | *\\* )
24007 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24008 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24009 *) ac_sed_conf_input=$configure_input;;
24010 esac
24012 case $ac_tag in
24013 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24015 esac
24017 esac
24019 ac_dir=`$as_dirname -- "$ac_file" ||
24020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24021 X"$ac_file" : 'X\(//\)[^/]' \| \
24022 X"$ac_file" : 'X\(//\)$' \| \
24023 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24024 printf "%s\n" X"$ac_file" |
24025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24026 s//\1/
24029 /^X\(\/\/\)[^/].*/{
24030 s//\1/
24033 /^X\(\/\/\)$/{
24034 s//\1/
24037 /^X\(\/\).*/{
24038 s//\1/
24041 s/.*/./; q'`
24042 as_dir="$ac_dir"; as_fn_mkdir_p
24043 ac_builddir=.
24045 case "$ac_dir" in
24046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24048 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24049 # A ".." for each directory in $ac_dir_suffix.
24050 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24051 case $ac_top_builddir_sub in
24052 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24053 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24054 esac ;;
24055 esac
24056 ac_abs_top_builddir=$ac_pwd
24057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24058 # for backward compatibility:
24059 ac_top_builddir=$ac_top_build_prefix
24061 case $srcdir in
24062 .) # We are building in place.
24063 ac_srcdir=.
24064 ac_top_srcdir=$ac_top_builddir_sub
24065 ac_abs_top_srcdir=$ac_pwd ;;
24066 [\\/]* | ?:[\\/]* ) # Absolute name.
24067 ac_srcdir=$srcdir$ac_dir_suffix;
24068 ac_top_srcdir=$srcdir
24069 ac_abs_top_srcdir=$srcdir ;;
24070 *) # Relative name.
24071 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24072 ac_top_srcdir=$ac_top_build_prefix$srcdir
24073 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24074 esac
24075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24078 case $ac_mode in
24082 # CONFIG_HEADER
24084 if test x"$ac_file" != x-; then
24086 printf "%s\n" "/* $configure_input */" >&1 \
24087 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24088 } >"$ac_tmp/config.h" \
24089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24090 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24092 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24093 else
24094 rm -f "$ac_file"
24095 mv "$ac_tmp/config.h" "$ac_file" \
24096 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24098 else
24099 printf "%s\n" "/* $configure_input */" >&1 \
24100 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24101 || as_fn_error $? "could not create -" "$LINENO" 5
24106 # CONFIG_LINK
24109 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24111 else
24112 # Prefer the file from the source tree if names are identical.
24113 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24114 ac_source=$srcdir/$ac_source
24117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24118 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24120 if test ! -r "$ac_source"; then
24121 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24123 rm -f "$ac_file"
24125 # Try a relative symlink, then a hard link, then a copy.
24126 case $ac_source in
24127 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24128 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24129 esac
24130 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24131 ln "$ac_source" "$ac_file" 2>/dev/null ||
24132 cp -p "$ac_source" "$ac_file" ||
24133 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24136 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24137 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24139 esac
24142 case $ac_file$ac_mode in
24143 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24144 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24145 "Makefile":C) wine_fn_output_makefile Makefile ;;
24147 esac
24148 done # for ac_tag
24151 as_fn_exit 0
24152 _ACEOF
24153 ac_clean_files=$ac_clean_files_save
24155 test $ac_write_fail = 0 ||
24156 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24159 # configure is writing to config.log, and then calls config.status.
24160 # config.status does its own redirection, appending to config.log.
24161 # Unfortunately, on DOS this fails, as config.log is still kept open
24162 # by configure, so config.status won't be able to write to it; its
24163 # output is simply discarded. So we exec the FD to /dev/null,
24164 # effectively closing config.log, so it can be properly (re)opened and
24165 # appended to by config.status. When coming back to configure, we
24166 # need to make the FD available again.
24167 if test "$no_create" != yes; then
24168 ac_cs_success=:
24169 ac_config_status_args=
24170 test "$silent" = yes &&
24171 ac_config_status_args="$ac_config_status_args --quiet"
24172 exec 5>/dev/null
24173 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24174 exec 5>>config.log
24175 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24176 # would make configure fail if this is the last instruction.
24177 $ac_cs_success || as_fn_exit 1
24179 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24181 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24185 if test "$no_create" = "yes"
24186 then
24187 exit 0
24190 ac_save_IFS="$IFS"
24191 if test "x$wine_notices" != x; then
24192 echo >&6
24193 IFS="|"
24194 for msg in $wine_notices; do
24195 IFS="$ac_save_IFS"
24196 if ${msg:+false} :
24197 then :
24199 else $as_nop
24200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24201 printf "%s\n" "$as_me: $msg" >&6;}
24203 done
24205 IFS="|"
24206 for msg in $wine_warnings; do
24207 IFS="$ac_save_IFS"
24208 if ${msg:+false} :
24209 then :
24211 else $as_nop
24212 echo >&2
24213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24214 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24216 done
24217 IFS="$ac_save_IFS"
24219 printf "%s\n" "
24220 $as_me: Finished. Do '${ac_make}' to compile Wine.
24221 " >&6