2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.18.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
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
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
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+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
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.
56 # Ensure predictable behavior from utilities with locale-dependent output.
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 ||
:
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
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
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
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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
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+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
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; }
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\" )
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
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
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
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
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
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
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.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
262 if test x
$as_have_required = xno
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."
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."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
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
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
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.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
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 '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
519 # Exit status is that of the last command.
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 #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
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
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
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 ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
577 test -d .
/-p && rmdir .
/-p
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
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`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='7.18'
615 PACKAGE_STRING
='Wine 7.18'
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
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
736 EXCESS_PRECISION_CFLAGS
756 SYSTEMCONFIGURATION_LIBS
759 APPLICATIONSERVICES_LIBS
773 WINEPRELOADER_LDFLAGS
861 program_transform_name
874 enable_option_checking
879 enable_maintainer_mode
997 enable_d3dcompiler_33
998 enable_d3dcompiler_34
999 enable_d3dcompiler_35
1000 enable_d3dcompiler_36
1001 enable_d3dcompiler_37
1002 enable_d3dcompiler_38
1003 enable_d3dcompiler_39
1004 enable_d3dcompiler_40
1005 enable_d3dcompiler_41
1006 enable_d3dcompiler_42
1007 enable_d3dcompiler_43
1008 enable_d3dcompiler_46
1009 enable_d3dcompiler_47
1062 enable_directmanipulation
1099 enable_explorerframe
1155 enable_light_msstyles
1170 enable_mfmediaengine
1233 enable_msvcp140_atomic_wait
1300 enable_photometadatahandler
1376 enable_threadpoolwinrt
1382 enable_uiautomationcore
1402 enable_vcruntime140_1
1420 enable_windows_devices_enumeration
1421 enable_windows_gaming_input
1422 enable_windows_globalization
1423 enable_windows_media_devices
1424 enable_windows_media_speech
1425 enable_windows_networking
1426 enable_windowscodecs
1427 enable_windowscodecsext
1429 enable_wineandroid_drv
1431 enable_winecoreaudio_drv
1434 enable_winegstreamer
1440 enable_winepulse_drv
1444 enable_winexinput_sys
1488 enable_xactengine2_0
1489 enable_xactengine2_4
1490 enable_xactengine2_7
1491 enable_xactengine2_9
1492 enable_xactengine3_0
1493 enable_xactengine3_1
1494 enable_xactengine3_2
1495 enable_xactengine3_3
1496 enable_xactengine3_4
1497 enable_xactengine3_5
1498 enable_xactengine3_6
1499 enable_xactengine3_7
1546 enable_wmcodecdspuuid
1554 enable_aspnet_regiis
1599 enable_presentationfontcache
1614 enable_servicemodelreg
1639 enable_winemenubuilder
1641 enable_winemsibuilder
1666 ac_precious_vars
='build_alias
1747 # Initialize some variables set by options.
1749 ac_init_version
=false
1750 ac_unrecognized_opts
=
1751 ac_unrecognized_sep
=
1752 # The variables have the same names as the options, with
1753 # dashes changed to underlines.
1754 cache_file
=/dev
/null
1761 program_transform_name
=s
,x
,x
,
1769 # Installation directory options.
1770 # These are left unexpanded so users can "make install exec_prefix=/foo"
1771 # and all the variables that are supposed to be based on exec_prefix
1772 # by default will actually change.
1773 # Use braces instead of parens because sh, perl, etc. also accept them.
1774 # (The list follows the same order as the GNU Coding Standards.)
1775 bindir
='${exec_prefix}/bin'
1776 sbindir
='${exec_prefix}/sbin'
1777 libexecdir
='${exec_prefix}/libexec'
1778 datarootdir
='${prefix}/share'
1779 datadir
='${datarootdir}'
1780 sysconfdir
='${prefix}/etc'
1781 sharedstatedir
='${prefix}/com'
1782 localstatedir
='${prefix}/var'
1783 runstatedir
='${localstatedir}/run'
1784 includedir
='${prefix}/include'
1785 oldincludedir
='/usr/include'
1786 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1787 infodir
='${datarootdir}/info'
1792 libdir
='${exec_prefix}/lib'
1793 localedir
='${datarootdir}/locale'
1794 mandir
='${datarootdir}/man'
1800 # If the previous option needs an argument, assign it.
1801 if test -n "$ac_prev"; then
1802 eval $ac_prev=\
$ac_option
1808 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1813 case $ac_dashdash$ac_option in
1817 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1819 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1820 bindir
=$ac_optarg ;;
1822 -build |
--build |
--buil |
--bui |
--bu)
1823 ac_prev
=build_alias
;;
1824 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1825 build_alias
=$ac_optarg ;;
1827 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1828 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1829 ac_prev
=cache_file
;;
1830 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1831 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1832 cache_file
=$ac_optarg ;;
1834 --config-cache |
-C)
1835 cache_file
=config.cache
;;
1837 -datadir |
--datadir |
--datadi |
--datad)
1839 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1840 datadir
=$ac_optarg ;;
1842 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1843 |
--dataroo |
--dataro |
--datar)
1844 ac_prev
=datarootdir
;;
1845 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1846 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1847 datarootdir
=$ac_optarg ;;
1849 -disable-* |
--disable-*)
1850 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1851 # Reject names that are not valid shell variable names.
1852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1853 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1854 ac_useropt_orig
=$ac_useropt
1855 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1856 case $ac_user_opts in
1858 "enable_
$ac_useropt"
1860 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1861 ac_unrecognized_sep
=', ';;
1863 eval enable_
$ac_useropt=no
;;
1865 -docdir |
--docdir |
--docdi |
--doc |
--do)
1867 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1868 docdir
=$ac_optarg ;;
1870 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1872 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1873 dvidir
=$ac_optarg ;;
1875 -enable-* |
--enable-*)
1876 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1877 # Reject names that are not valid shell variable names.
1878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1879 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1880 ac_useropt_orig
=$ac_useropt
1881 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1882 case $ac_user_opts in
1884 "enable_
$ac_useropt"
1886 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1887 ac_unrecognized_sep
=', ';;
1889 eval enable_
$ac_useropt=\
$ac_optarg ;;
1891 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1892 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1893 |
--exec |
--exe |
--ex)
1894 ac_prev
=exec_prefix
;;
1895 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1896 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1897 |
--exec=* |
--exe=* |
--ex=*)
1898 exec_prefix
=$ac_optarg ;;
1900 -gas |
--gas |
--ga |
--g)
1901 # Obsolete; use --with-gas.
1904 -help |
--help |
--hel |
--he |
-h)
1905 ac_init_help
=long
;;
1906 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1907 ac_init_help
=recursive
;;
1908 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1909 ac_init_help
=short
;;
1911 -host |
--host |
--hos |
--ho)
1912 ac_prev
=host_alias
;;
1913 -host=* |
--host=* |
--hos=* |
--ho=*)
1914 host_alias
=$ac_optarg ;;
1916 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1918 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1920 htmldir
=$ac_optarg ;;
1922 -includedir |
--includedir |
--includedi |
--included |
--include \
1923 |
--includ |
--inclu |
--incl |
--inc)
1924 ac_prev
=includedir
;;
1925 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1926 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1927 includedir
=$ac_optarg ;;
1929 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1931 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1932 infodir
=$ac_optarg ;;
1934 -libdir |
--libdir |
--libdi |
--libd)
1936 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1937 libdir
=$ac_optarg ;;
1939 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1940 |
--libexe |
--libex |
--libe)
1941 ac_prev
=libexecdir
;;
1942 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1943 |
--libexe=* |
--libex=* |
--libe=*)
1944 libexecdir
=$ac_optarg ;;
1946 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1947 ac_prev
=localedir
;;
1948 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1949 localedir
=$ac_optarg ;;
1951 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1952 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1953 ac_prev
=localstatedir
;;
1954 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1955 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1956 localstatedir
=$ac_optarg ;;
1958 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1960 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1961 mandir
=$ac_optarg ;;
1963 -nfp |
--nfp |
--nf)
1964 # Obsolete; use --without-fp.
1967 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1968 |
--no-cr |
--no-c |
-n)
1971 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1972 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1975 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1976 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1977 |
--oldin |
--oldi |
--old |
--ol |
--o)
1978 ac_prev
=oldincludedir
;;
1979 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1980 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1981 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1982 oldincludedir
=$ac_optarg ;;
1984 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1986 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1987 prefix
=$ac_optarg ;;
1989 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1990 |
--program-pre |
--program-pr |
--program-p)
1991 ac_prev
=program_prefix
;;
1992 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1993 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1994 program_prefix
=$ac_optarg ;;
1996 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1997 |
--program-suf |
--program-su |
--program-s)
1998 ac_prev
=program_suffix
;;
1999 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2000 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2001 program_suffix
=$ac_optarg ;;
2003 -program-transform-name |
--program-transform-name \
2004 |
--program-transform-nam |
--program-transform-na \
2005 |
--program-transform-n |
--program-transform- \
2006 |
--program-transform |
--program-transfor \
2007 |
--program-transfo |
--program-transf \
2008 |
--program-trans |
--program-tran \
2009 |
--progr-tra |
--program-tr |
--program-t)
2010 ac_prev
=program_transform_name
;;
2011 -program-transform-name=* |
--program-transform-name=* \
2012 |
--program-transform-nam=* |
--program-transform-na=* \
2013 |
--program-transform-n=* |
--program-transform-=* \
2014 |
--program-transform=* |
--program-transfor=* \
2015 |
--program-transfo=* |
--program-transf=* \
2016 |
--program-trans=* |
--program-tran=* \
2017 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2018 program_transform_name
=$ac_optarg ;;
2020 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2022 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2023 pdfdir
=$ac_optarg ;;
2025 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2027 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2030 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2031 |
-silent |
--silent |
--silen |
--sile |
--sil)
2034 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2035 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2036 |
--run |
--ru |
--r)
2037 ac_prev
=runstatedir
;;
2038 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2039 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2040 |
--run=* |
--ru=* |
--r=*)
2041 runstatedir
=$ac_optarg ;;
2043 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2045 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2047 sbindir
=$ac_optarg ;;
2049 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2050 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2051 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2053 ac_prev
=sharedstatedir
;;
2054 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2055 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2056 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2058 sharedstatedir
=$ac_optarg ;;
2060 -site |
--site |
--sit)
2062 -site=* |
--site=* |
--sit=*)
2065 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2067 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2068 srcdir
=$ac_optarg ;;
2070 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2071 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2072 ac_prev
=sysconfdir
;;
2073 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2074 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2075 sysconfdir
=$ac_optarg ;;
2077 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2078 ac_prev
=target_alias
;;
2079 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2080 target_alias
=$ac_optarg ;;
2082 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2085 -version |
--version |
--versio |
--versi |
--vers |
-V)
2086 ac_init_version
=: ;;
2089 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2090 # Reject names that are not valid shell variable names.
2091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2092 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2093 ac_useropt_orig
=$ac_useropt
2094 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2095 case $ac_user_opts in
2099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2100 ac_unrecognized_sep
=', ';;
2102 eval with_
$ac_useropt=\
$ac_optarg ;;
2104 -without-* |
--without-*)
2105 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2108 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2109 ac_useropt_orig
=$ac_useropt
2110 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2116 ac_unrecognized_sep
=', ';;
2118 eval with_
$ac_useropt=no
;;
2121 # Obsolete; use --with-x.
2124 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2125 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2126 ac_prev
=x_includes
;;
2127 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2128 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2129 x_includes
=$ac_optarg ;;
2131 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2132 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2133 ac_prev
=x_libraries
;;
2134 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2135 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2136 x_libraries
=$ac_optarg ;;
2138 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2139 Try \`$0 --help' for more information"
2143 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2144 # Reject names that are not valid shell variable names.
2145 case $ac_envvar in #(
2146 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2147 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2149 eval $ac_envvar=\
$ac_optarg
2150 export $ac_envvar ;;
2153 # FIXME: should be removed in autoconf 3.0.
2154 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2156 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2157 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2163 if test -n "$ac_prev"; then
2164 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2165 as_fn_error $?
"missing argument to $ac_option"
2168 if test -n "$ac_unrecognized_opts"; then
2169 case $enable_option_checking in
2171 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2172 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2176 # Check all directory arguments for consistency.
2177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2178 datadir sysconfdir sharedstatedir localstatedir includedir \
2179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2180 libdir localedir mandir runstatedir
2182 eval ac_val
=\$
$ac_var
2183 # Remove trailing slashes.
2186 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2187 eval $ac_var=\
$ac_val;;
2189 # Be sure to have absolute directory names.
2191 [\\/$
]* | ?
:[\\/]* ) continue;;
2192 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2194 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2197 # There might be people who depend on the old broken behavior: `$host'
2198 # used to hold the argument of --host etc.
2199 # FIXME: To remove some day.
2202 target
=$target_alias
2204 # FIXME: To remove some day.
2205 if test "x$host_alias" != x
; then
2206 if test "x$build_alias" = x
; then
2207 cross_compiling
=maybe
2208 elif test "x$build_alias" != "x$host_alias"; then
2214 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2216 test "$silent" = yes && exec 6>/dev
/null
2219 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2220 ac_ls_di
=`ls -di .` &&
2221 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2222 as_fn_error $?
"working directory cannot be determined"
2223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2224 as_fn_error $?
"pwd does not report name of working directory"
2227 # Find the source files, if location was not specified.
2228 if test -z "$srcdir"; then
2229 ac_srcdir_defaulted
=yes
2230 # Try the directory containing this script, then the parent directory.
2231 ac_confdir
=`$as_dirname -- "$as_myself" ||
2232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2233 X"$as_myself" : 'X\(//\)[^/]' \| \
2234 X"$as_myself" : 'X\(//\)$' \| \
2235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2236 printf "%s\n" X"$as_myself" |
2237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2255 if test ! -r "$srcdir/$ac_unique_file"; then
2259 ac_srcdir_defaulted
=no
2261 if test ! -r "$srcdir/$ac_unique_file"; then
2262 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2263 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2269 # When building in place, set srcdir=.
2270 if test "$ac_abs_confdir" = "$ac_pwd"; then
2273 # Remove unnecessary trailing slashes from srcdir.
2274 # Double slashes in file names in object file debugging info
2275 # mess up M-x gdb in Emacs.
2277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2279 for ac_var
in $ac_precious_vars; do
2280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2287 # Report the --help message.
2289 if test "$ac_init_help" = "long"; then
2290 # Omit some internal or obsolete options to make the list less imposing.
2291 # This message is too long to be a string in the A/UX 3.1 sh.
2293 \`configure' configures Wine 7.18 to adapt to many kinds of systems.
2295 Usage: $0 [OPTION]... [VAR=VALUE]...
2297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2298 VAR=VALUE. See below for descriptions of some of the useful variables.
2300 Defaults for the options are specified in brackets.
2303 -h, --help display this help and exit
2304 --help=short display options specific to this package
2305 --help=recursive display the short help of all the included packages
2306 -V, --version display version information and exit
2307 -q, --quiet, --silent do not print \`checking ...' messages
2308 --cache-file=FILE cache test results in FILE [disabled]
2309 -C, --config-cache alias for \`--cache-file=config.cache'
2310 -n, --no-create do not create output files
2311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2313 Installation directories:
2314 --prefix=PREFIX install architecture-independent files in PREFIX
2315 [$ac_default_prefix]
2316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2319 By default, \`make install' will install all the files in
2320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2322 for instance \`--prefix=\$HOME'.
2324 For better control, use the options below.
2326 Fine tuning of the installation directories:
2327 --bindir=DIR user executables [EPREFIX/bin]
2328 --sbindir=DIR system admin executables [EPREFIX/sbin]
2329 --libexecdir=DIR program executables [EPREFIX/libexec]
2330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2333 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2334 --libdir=DIR object code libraries [EPREFIX/lib]
2335 --includedir=DIR C header files [PREFIX/include]
2336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2339 --infodir=DIR info documentation [DATAROOTDIR/info]
2340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2341 --mandir=DIR man documentation [DATAROOTDIR/man]
2342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2343 --htmldir=DIR html documentation [DOCDIR]
2344 --dvidir=DIR dvi documentation [DOCDIR]
2345 --pdfdir=DIR pdf documentation [DOCDIR]
2346 --psdir=DIR ps documentation [DOCDIR]
2352 --x-includes=DIR X include files are
in DIR
2353 --x-libraries=DIR X library files are
in DIR
2356 --build=BUILD configure
for building on BUILD
[guessed
]
2357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2361 if test -n "$ac_init_help"; then
2362 case $ac_init_help in
2363 short | recursive
) echo "Configuration of Wine 7.18:";;
2368 --disable-option-checking ignore unrecognized
--enable/--with options
2369 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2370 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2371 --disable-win16 do not include Win16 support
2372 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2374 --disable-tests do not build the regression tests
2375 --enable-build-id include .buildid section in output objects
2376 --enable-maintainer-mode
2377 enable maintainer-specific build rules
2378 --enable-silent-rules use silent build rules (override: "make V=1")
2379 --enable-werror treat compilation warnings as errors
2380 --disable-largefile omit support for large files
2383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2385 --without-alsa do not use the Alsa sound support
2386 --without-capi do not use CAPI (ISDN support)
2387 --without-coreaudio do not use the CoreAudio sound support
2388 --without-cups do not use CUPS
2389 --without-dbus do not use DBus (dynamic device support)
2390 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2391 --without-fontconfig do not use fontconfig
2392 --without-freetype do not use the FreeType library
2393 --without-gettext do not use gettext
2394 --with-gettextpo use the GetTextPO library to rebuild po files
2395 --without-gphoto do not use gphoto (Digital Camera support)
2396 --without-gnutls do not use GnuTLS (schannel support)
2397 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2398 --without-gstreamer do not use GStreamer (codecs support)
2399 --without-inotify do not use inotify (filesystem change notifications)
2400 --without-krb5 do not use krb5 (Kerberos)
2401 --without-ldap do not use LDAP
2402 --without-mingw do not use the MinGW cross-compiler
2403 --without-netapi do not use the Samba NetAPI library
2404 --without-openal do not use OpenAL
2405 --without-opencl do not use OpenCL
2406 --without-opengl do not use OpenGL
2407 --without-osmesa do not use the OSMesa library
2408 --without-oss do not use the OSS sound support
2409 --without-pcap do not use the Packet Capture library
2410 --without-pthread do not use the pthread library
2411 --without-pulse do not use PulseAudio sound support
2412 --without-sane do not use SANE (scanner support)
2413 --without-sdl do not use SDL
2414 --without-udev do not use udev (plug and play support)
2415 --without-unwind do not use the libunwind library (exception
2417 --without-usb do not use the libusb library
2418 --without-v4l2 do not use v4l2 (video capture)
2419 --without-vulkan do not use Vulkan
2420 --without-xcomposite do not use the Xcomposite extension
2421 --without-xcursor do not use the Xcursor extension
2422 --without-xfixes do not use Xfixes for clipboard change notifications
2423 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2424 --without-xinput do not use the Xinput extension
2425 --without-xinput2 do not use the Xinput 2 extension
2426 --without-xrandr do not use Xrandr (multi-monitor support)
2427 --without-xrender do not use the Xrender extension
2428 --without-xshape do not use the Xshape extension
2429 --without-xshm do not use XShm (shared memory extension)
2430 --without-xxf86vm do not use XFree video mode extension
2431 --with-system-dllpath=PATH
2432 load external PE dependencies from colon-separated
2434 --with-wine-tools=DIR use Wine tools from directory DIR
2435 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2436 --with-x use the X Window System
2438 Some influential environment variables:
2439 CC C compiler command
2440 CFLAGS C compiler flags
2441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2442 nonstandard directory <lib dir>
2443 LIBS libraries to pass to the linker, e.g. -l<library>
2444 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2445 you have headers in a nonstandard directory <include dir>
2446 CXX C++ compiler command
2447 CXXFLAGS C++ compiler flags
2448 OBJC Objective C compiler command
2449 OBJCFLAGS Objective C compiler flags
2451 C compiler flags for the PE faudio, overriding the bundled
2454 Linker flags for the PE faudio, overriding the bundled version
2456 C compiler flags for the PE gsm, overriding the bundled version
2457 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2459 C compiler flags for the PE jpeg, overriding the bundled version
2461 Linker flags for the PE jpeg, overriding the bundled version
2463 C compiler flags for the PE jxr, overriding the bundled version
2464 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2466 C compiler flags for the PE lcms2, overriding the bundled
2469 Linker flags for the PE lcms2, overriding the bundled version
2471 C compiler flags for the PE mpg123, overriding the bundled
2474 Linker flags for the PE mpg123, overriding the bundled version
2476 C compiler flags for the PE png, overriding the bundled version
2477 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2479 C compiler flags for the PE tiff, overriding the bundled version
2481 Linker flags for the PE tiff, overriding the bundled version
2483 C compiler flags for the PE vkd3d, overriding the bundled
2486 Linker flags for the PE vkd3d, overriding the bundled version
2488 C compiler flags for the PE xml2, overriding the bundled version
2490 Linker flags for the PE xml2, overriding the bundled version
2492 C compiler flags for the PE xslt, overriding the bundled version
2494 Linker flags for the PE xslt, overriding the bundled version
2496 C compiler flags for the PE zlib, overriding the bundled version
2498 Linker flags for the PE zlib, overriding the bundled version
2499 XMKMF Path to xmkmf, Makefile generator for X Window System
2502 C compiler flags for libinotify, overriding pkg-config
2504 Linker flags for libinotify, overriding pkg-config
2505 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2506 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2508 C compiler flags for gnutls, overriding pkg-config
2509 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2510 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2511 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2512 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2513 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2515 C compiler flags for libgphoto2, overriding pkg-config
2517 Linker flags for libgphoto2, overriding pkg-config
2519 C compiler flags for libgphoto2_port, overriding pkg-config
2521 Linker flags for libgphoto2_port, overriding pkg-config
2523 C compiler flags for freetype2, overriding pkg-config
2525 Linker flags for freetype2, overriding pkg-config
2527 C compiler flags for libpulse, overriding pkg-config
2528 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2530 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2531 gstreamer-audio-1.0, overriding pkg-config
2533 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2534 gstreamer-audio-1.0, overriding pkg-config
2535 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2536 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2538 C compiler flags for libunwind, overriding pkg-config
2539 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2540 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2541 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2543 C compiler flags for capi20, overriding pkg-config
2544 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2545 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2546 CUPS_LIBS Linker flags for cups, overriding pkg-config
2548 C compiler flags for fontconfig, overriding pkg-config
2550 Linker flags for fontconfig, overriding pkg-config
2551 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2552 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2554 C compiler flags for krb5-gssapi, overriding pkg-config
2555 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2557 C compiler flags for netapi, overriding pkg-config
2558 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2559 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2560 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2562 Use these variables to override the choices made by `configure' or to
help
2563 it to
find libraries and programs with nonstandard names
/locations.
2565 Report bugs to
<wine-devel@winehq.org
>.
2566 Wine home page
: <https
://www.winehq.org
>.
2571 if test "$ac_init_help" = "recursive"; then
2572 # If there are subdirs, report their specific --help.
2573 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2574 test -d "$ac_dir" ||
2575 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2580 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2582 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2583 # A ".." for each directory in $ac_dir_suffix.
2584 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2585 case $ac_top_builddir_sub in
2586 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2587 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2590 ac_abs_top_builddir
=$ac_pwd
2591 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2592 # for backward compatibility:
2593 ac_top_builddir
=$ac_top_build_prefix
2596 .
) # We are building in place.
2598 ac_top_srcdir
=$ac_top_builddir_sub
2599 ac_abs_top_srcdir
=$ac_pwd ;;
2600 [\\/]* | ?
:[\\/]* ) # Absolute name.
2601 ac_srcdir
=$srcdir$ac_dir_suffix;
2602 ac_top_srcdir
=$srcdir
2603 ac_abs_top_srcdir
=$srcdir ;;
2605 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2606 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2607 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2609 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2611 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2612 # Check for configure.gnu first; this name is used for a wrapper for
2613 # Metaconfig's "Configure" on case-insensitive file systems.
2614 if test -f "$ac_srcdir/configure.gnu"; then
2616 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2617 elif test -f "$ac_srcdir/configure"; then
2619 $SHELL "$ac_srcdir/configure" --help=recursive
2621 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2623 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2627 test -n "$ac_init_help" && exit $ac_status
2628 if $ac_init_version; then
2631 generated by GNU Autoconf
2.71
2633 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2634 This configure
script is free software
; the Free Software Foundation
2635 gives unlimited permission to copy
, distribute and modify it.
2640 ## ------------------------ ##
2641 ## Autoconf initialization. ##
2642 ## ------------------------ ##
2644 # ac_fn_c_try_compile LINENO
2645 # --------------------------
2646 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2647 ac_fn_c_try_compile
()
2649 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2650 rm -f conftest.
$ac_objext conftest.beam
2651 if { { ac_try
="$ac_compile"
2653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2657 printf "%s\n" "$ac_try_echo"; } >&5
2658 (eval "$ac_compile") 2>conftest.err
2660 if test -s conftest.err; then
2661 grep -v '^ *+' conftest.err >conftest.er1
2662 cat conftest.er1 >&5
2663 mv -f conftest.er1 conftest.err
2665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext
2673 printf "%s\n" "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_compile
2683 # ac_fn_cxx_try_compile LINENO
2684 # ----------------------------
2685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_cxx_try_compile ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 rm -f conftest.$ac_objext conftest.beam
2690 if { { ac_try="$ac_compile"
2692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2693 *) ac_try_echo
=$ac_try;;
2695 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 printf "%s\n" "$ac_try_echo"; } >&5
2697 (eval "$ac_compile") 2>conftest.err
2699 if test -s conftest.err
; then
2700 grep -v '^ *+' conftest.err
>conftest.er1
2701 cat conftest.er1
>&5
2702 mv -f conftest.er1 conftest.err
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_cxx_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest.
$ac_objext
2712 printf "%s\n" "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.
$ac_ext >&5
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status
$ac_retval
2720 } # ac_fn_cxx_try_compile
2722 # ac_fn_c_try_link LINENO
2723 # -----------------------
2724 # Try to link conftest.$ac_ext, and return whether this succeeded.
2727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2728 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2729 if { { ac_try
="$ac_link"
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_link") 2>conftest.err
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest$ac_exeext && {
2748 test "$cross_compiling" = yes ||
2749 test -x conftest$ac_exeext
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2761 # interfere with the next link command; also delete a directory that is
2762 # left behind by Apple's compiler. We do this before executing the actions.
2763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2767 } # ac_fn_c_try_link
2769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2770 # -------------------------------------------------------
2771 # Tests whether HEADER exists and can be compiled using the include files in
2772 # INCLUDES, setting the cache variable VAR accordingly.
2773 ac_fn_c_check_header_compile ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 printf %s "checking for $2... " >&6; }
2778 if eval test \${$3+y}
2780 printf %s "(cached) " >&6
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2787 if ac_fn_c_try_compile "$LINENO"
2793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 printf "%s\n" "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_header_compile
2802 # ac_fn_objc_try_compile LINENO
2803 # -----------------------------
2804 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2805 ac_fn_objc_try_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 rm -f conftest.$ac_objext conftest.beam
2809 if { { ac_try="$ac_compile"
2811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2812 *) ac_try_echo
=$ac_try;;
2814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2815 printf "%s\n" "$ac_try_echo"; } >&5
2816 (eval "$ac_compile") 2>conftest.err
2818 if test -s conftest.err
; then
2819 grep -v '^ *+' conftest.err
>conftest.er1
2820 cat conftest.er1
>&5
2821 mv -f conftest.er1 conftest.err
2823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; } && {
2825 test -z "$ac_objc_werror_flag" ||
2826 test ! -s conftest.err
2827 } && test -s conftest.
$ac_objext
2831 printf "%s\n" "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.
$ac_ext >&5
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 as_fn_set_status
$ac_retval
2839 } # ac_fn_objc_try_compile
2841 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2842 # ----------------------------------------------------------
2843 # Tests whether HEADER exists and can be compiled using the include files in
2844 # INCLUDES, setting the cache variable VAR accordingly.
2845 ac_fn_objc_check_header_compile
()
2847 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 printf %s
"checking for $2... " >&6; }
2850 if eval test \
${$3+y}
2852 printf %s
"(cached) " >&6
2854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2859 if ac_fn_objc_try_compile
"$LINENO"
2865 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 printf "%s\n" "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_objc_check_header_compile
2874 # ac_fn_c_check_func LINENO FUNC VAR
2875 # ----------------------------------
2876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2877 ac_fn_c_check_func
()
2879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s
"checking for $2... " >&6; }
2882 if eval test \
${$3+y}
2884 printf %s
"(cached) " >&6
2886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2890 #define $2 innocuous_$2
2892 /* System header to define __stub macros and hopefully few prototypes,
2893 which can conflict with char $2 (); below. */
2898 /* Override any GCC internal prototype to avoid an error.
2899 Use char because int might match the return type of a GCC
2900 builtin and then its argument prototype would still apply. */
2905 /* The GNU C library defines this for functions which it implements
2906 to always fail with ENOSYS. Some functions are actually named
2907 something starting with __ and the normal name is an alias. */
2908 #if defined __stub_$2 || defined __stub___$2
2920 if ac_fn_c_try_link
"$LINENO"
2926 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2927 conftest
$ac_exeext conftest.
$ac_ext
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 printf "%s\n" "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_c_check_func
2936 # ac_fn_c_try_cpp LINENO
2937 # ----------------------
2938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2941 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2942 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 printf "%s\n" "$ac_try_echo"; } >&5
2949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } > conftest.i && {
2958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2964 printf "%s\n" "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2974 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2975 # ----------------------------------------------------
2976 # Tries to find if the field MEMBER exists in type AGGR, after including
2977 # INCLUDES, setting cache variable VAR accordingly.
2978 ac_fn_c_check_member ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2982 printf %s "checking for $2.$3... " >&6; }
2983 if eval test \${$4+y}
2985 printf %s "(cached) " >&6
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
3000 if ac_fn_c_try_compile "$LINENO"
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3011 if (sizeof ac_aggr.$3)
3017 if ac_fn_c_try_compile "$LINENO"
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 printf "%s\n" "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_member
3034 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3035 # -------------------------------------------
3036 # Tests whether TYPE exists after having included INCLUDES, setting cache
3037 # variable VAR accordingly.
3038 ac_fn_c_check_type ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3042 printf %s "checking for $2... " >&6; }
3043 if eval test \${$3+y}
3045 printf %s "(cached) " >&6
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3060 if ac_fn_c_try_compile "$LINENO"
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 printf "%s\n" "$ac_res" >&6; }
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 } # ac_fn_c_check_type
3090 ac_configure_args_raw=
3095 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3097 as_fn_append ac_configure_args_raw " '$ac_arg'"
3100 case $ac_configure_args_raw in
3104 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3105 ac_unsafe_a="$ac_unsafe_z#~
"
3106 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3107 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3110 cat >config.log <<_ACEOF
3111 This file contains any messages produced by compilers while
3112 running configure, to aid debugging if configure makes a mistake.
3114 It was created by Wine $as_me 7.18, which was
3115 generated by GNU Autoconf 2.71. Invocation command line was
3117 $ $0$ac_configure_args_raw
3127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 case $as_dir in #(((
3153 *) as_dir=$as_dir/ ;;
3155 printf "%s
\n" "PATH
: $as_dir"
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3179 ac_must_keep_next=false
3185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3187 | -silent | --silent | --silen | --sile | --sil)
3190 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3193 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1 " '$ac_arg'"
3196 if test $ac_must_keep_next = true; then
3197 ac_must_keep_next=false # Got value, back to normal.
3200 *=* | --config-cache | -C | -disable-* | --disable-* \
3201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3203 | -with-* | --with-* | -without-* | --without-* | --x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3208 -* ) ac_must_keep_next=true ;;
3211 as_fn_append ac_configure_args " '$ac_arg'"
3216 { ac_configure_args0=; unset ac_configure_args0;}
3217 { ac_configure_args1=; unset ac_configure_args1;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3227 # Save into config.log some information that might help in debugging.
3231 printf "%s
\n" "## ---------------- ##
3232 ## Cache variables. ##
3233 ## ---------------- ##"
3235 # The following way of writing the cache mishandles newlines in values,
3237 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3238 eval ac_val
=\$
$ac_var
3242 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3243 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3246 _ | IFS | as_nl
) ;; #(
3247 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3248 *) { eval $ac_var=; unset $ac_var;} ;;
3253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3254 *${as_nl}ac_space
=\
*)
3256 "s/'\''/'\''\\\\'\'''\''/g;
3257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3267 printf "%s\n" "## ----------------- ##
3268 ## Output variables. ##
3269 ## ----------------- ##"
3271 for ac_var
in $ac_subst_vars
3273 eval ac_val
=\$
$ac_var
3275 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3277 printf "%s\n" "$ac_var='\''$ac_val'\''"
3281 if test -n "$ac_subst_files"; then
3282 printf "%s\n" "## ------------------- ##
3283 ## File substitutions. ##
3284 ## ------------------- ##"
3286 for ac_var in $ac_subst_files
3288 eval ac_val=\$$ac_var
3290 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3292 printf "%s\n" "$ac_var='\''$ac_val'\''"
3297 if test -s confdefs.h
; then
3298 printf "%s\n" "## ----------- ##
3305 test "$ac_signal" != 0 &&
3306 printf "%s\n" "$as_me: caught signal $ac_signal"
3307 printf "%s\n" "$as_me: exit $exit_status"
3309 rm -f core
*.core core.conftest.
* &&
3310 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3313 for ac_signal in 1 2 13 15; do
3314 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3319 rm -f -r conftest* confdefs.h
3321 printf "%s\n" "/* confdefs.h */" > confdefs.h
3323 # Predefined preprocessor variables.
3325 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3338 # Let the site file select an alternate cache file if it wants to.
3339 # Prefer an explicitly selected file to automatically selected ones.
3340 if test -n "$CONFIG_SITE"; then
3341 ac_site_files="$CONFIG_SITE"
3342 elif test "x$prefix" != xNONE; then
3343 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3345 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3348 for ac_site_file in $ac_site_files
3350 case $ac_site_file in #(
3354 ac_site_file=./$ac_site_file ;;
3356 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3358 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3359 sed 's
/^
/|
/' "$ac_site_file" >&5
3361 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3363 as_fn_error $? "failed to load site script $ac_site_file
3364 See \`config.log
' for more details" "$LINENO" 5; }
3368 if test -r "$cache_file"; then
3369 # Some versions of bash will fail to source /dev/null (special files
3370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3371 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3373 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3376 *) . "./$cache_file";;
3380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3381 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3385 # Test code for whether the C compiler supports C89 (global declarations)
3386 ac_c_conftest_c89_globals='
3387 /* Does the compiler advertise C89 conformance?
3388 Do not
test the value of __STDC__
, because some compilers
set it to
0
3389 while being otherwise adequately conformant.
*/
3390 #if !defined __STDC__
3391 # error "Compiler does not advertise C89 conformance"
3397 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3398 struct buf
{ int x
; };
3399 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3400 static char
*e
(p
, i
)
3406 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3411 s
= g
(p
, va_arg
(v
,int
));
3416 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3417 function prototypes and stuff
, but not \xHH hex character constants.
3418 These
do not provoke an error unfortunately
, instead are silently treated
3419 as an
"x". The following induces an error
, until -std is added to get
3420 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3421 array size
at least. It is necessary to
write \x00 == 0 to get something
3422 that is true only with
-std.
*/
3423 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3425 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3426 inside
strings and character constants.
*/
3427 #define FOO(x) '\''x'\''
3428 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3430 int
test (int i
, double x
);
3431 struct s1
{int
(*f
) (int a
);};
3432 struct s2
{int
(*f
) (double a
);};
3433 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3436 # Test code for whether the C compiler supports C89 (body of main).
3437 ac_c_conftest_c89_main='
3438 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3441 # Test code for whether the C compiler supports C99 (global declarations)
3442 ac_c_conftest_c99_globals='
3443 // Does the compiler advertise C99 conformance?
3444 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3445 # error "Compiler does not advertise C99 conformance"
3448 #include <stdbool.h>
3449 extern int puts
(const char
*);
3450 extern int
printf (const char
*, ...
);
3451 extern int dprintf
(int
, const char
*, ...
);
3452 extern void
*malloc
(size_t
);
3454 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3455 // dprintf is used instead of fprintf to avoid needing to
declare
3457 #define debug(...) dprintf (2, __VA_ARGS__)
3458 #define showlist(...) puts (#__VA_ARGS__)
3459 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3461 test_varargs_macros
(void
)
3466 debug
("X = %d\n", x
);
3467 showlist
(The first
, second
, and third items.
);
3468 report
(x
>y
, "x is %d but y is %d", x
, y
);
3471 // Check long long types.
3472 #define BIG64 18446744073709551615ull
3473 #define BIG32 4294967295ul
3474 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3476 #error "your preprocessor is broken"
3480 #error "your preprocessor is broken"
3482 static long long int bignum
= -9223372036854775807LL;
3483 static unsigned long long int ubignum
= BIG64
;
3485 struct incomplete_array
3493 const wchar_t
*name
;
3497 typedef const char
*ccp
;
3500 test_restrict
(ccp restrict text
)
3502 // See
if C
++-style comments work.
3503 // Iterate through items via the restricted pointer.
3504 // Also check
for declarations
in for loops.
3505 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3510 // Check varargs and va_copy.
3512 test_varargs
(const char
*format
, ...
)
3515 va_start
(args
, format
);
3517 va_copy
(args_copy
, args
);
3519 const char
*str
= "";
3527 case '\''s
'\'': // string
3528 str
= va_arg
(args_copy
, const char
*);
3530 case '\''d
'\'': // int
3531 number
= va_arg
(args_copy
, int
);
3533 case '\''f
'\'': // float
3534 fnumber
= va_arg
(args_copy
, double
);
3543 return *str
&& number
&& fnumber
;
3547 # Test code for whether the C compiler supports C99 (body of main).
3548 ac_c_conftest_c99_main='
3550 _Bool success
= false
;
3551 success |
= (argc
!= 0);
3554 if (test_restrict
("String literal") == 0)
3556 char
*restrict newvar
= "Another string";
3559 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3560 test_varargs_macros
();
3562 // Check flexible array members.
3563 struct incomplete_array
*ia
=
3564 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3566 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3567 ia-
>data
[i
] = i
* 1.234;
3569 // Check named initializers.
3570 struct named_init ni
= {
3572 .name
= L
"Test wide string",
3573 .average
= 543.34343,
3578 int dynamic_array
[ni.number
];
3579 dynamic_array
[0] = argv
[0][0];
3580 dynamic_array
[ni.number
- 1] = 543;
3582 // work around unused variable warnings
3583 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3584 || dynamic_array
[ni.number
- 1] != 543);
3587 # Test code for whether the C compiler supports C11 (global declarations)
3588 ac_c_conftest_c11_globals='
3589 // Does the compiler advertise C11 conformance?
3590 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3591 # error "Compiler does not advertise C11 conformance"
3595 char _Alignas
(double
) aligned_as_double
;
3596 char _Alignas
(0) no_special_alignment
;
3597 extern char aligned_as_int
;
3598 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3603 int_alignment
= _Alignof
(int
),
3604 int_array_alignment
= _Alignof
(int
[100]),
3605 char_alignment
= _Alignof
(char
)
3607 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3610 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3612 // Check _Static_assert.
3613 struct test_static_assert
3616 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3617 "_Static_assert does not work in struct");
3621 // Check UTF-8 literals.
3622 #define u8 syntax error!
3623 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3625 // Check duplicate typedefs.
3626 typedef long
*long_ptr
;
3627 typedef long int
*long_ptr
;
3628 typedef long_ptr long_ptr
;
3630 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3634 struct
{ int i
; int j
; };
3635 struct
{ int k
; long int l
; } w
;
3641 # Test code for whether the C compiler supports C11 (body of main).
3642 ac_c_conftest_c11_main='
3643 _Static_assert
((offsetof
(struct anonymous
, i
)
3644 == offsetof
(struct anonymous
, w.k
)),
3645 "Anonymous union alignment botch");
3651 # Test code for whether the C compiler supports C11 (complete).
3652 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3653 ${ac_c_conftest_c99_globals}
3654 ${ac_c_conftest_c11_globals}
3657 main (int argc, char **argv)
3660 ${ac_c_conftest_c89_main}
3661 ${ac_c_conftest_c99_main}
3662 ${ac_c_conftest_c11_main}
3667 # Test code for whether the C compiler supports C99 (complete).
3668 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3669 ${ac_c_conftest_c99_globals}
3672 main (int argc, char **argv)
3675 ${ac_c_conftest_c89_main}
3676 ${ac_c_conftest_c99_main}
3681 # Test code for whether the C compiler supports C89 (complete).
3682 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3685 main (int argc, char **argv)
3688 ${ac_c_conftest_c89_main}
3693 # Test code for whether the C++ compiler supports C++98 (global declarations)
3694 ac_cxx_conftest_cxx98_globals='
3695 // Does the compiler advertise C
++98 conformance?
3696 #if !defined __cplusplus || __cplusplus < 199711L
3697 # error "Compiler does not advertise C++98 conformance"
3700 // These inclusions are to reject old compilers that
3701 // lack the unsuffixed header files.
3703 #include <exception>
3705 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3706 extern void assert
(int
);
3708 extern int strcmp
(const char
*, const char
*);
3711 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3712 using std
::exception
;
3717 void test_exception_syntax
()
3721 } catch
(const char
*s
) {
3722 // Extra parentheses suppress a warning when building autoconf itself
,
3723 // due to lint rules shared with
more typical C programs.
3724 assert
(!(strcmp
) (s
, "test"));
3728 template
<typename T
> struct test_template
3731 explicit test_template
(T t
) : val
(t
) {}
3732 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3735 } // anonymous namespace
3738 # Test code for whether the C++ compiler supports C++98 (body of main)
3739 ac_cxx_conftest_cxx98_main='
3743 test_exception_syntax
();
3744 test_template
<double
> tt
(2.0);
3745 assert
(tt.add
(4) == 6.0);
3746 assert
(true
&& !false
);
3750 # Test code for whether the C++ compiler supports C++11 (global declarations)
3751 ac_cxx_conftest_cxx11_globals='
3752 // Does the compiler advertise C
++ 2011 conformance?
3753 #if !defined __cplusplus || __cplusplus < 201103L
3754 # error "Compiler does not advertise C++11 conformance"
3759 constexpr int get_val
() { return 20; }
3770 delegate
(int n
) : n
(n
) {}
3771 delegate
(): delegate
(2354) {}
3773 virtual int getval
() { return this-
>n
; };
3778 class overridden
: public delegate
3781 overridden
(int n
): delegate
(n
) {}
3782 virtual int getval
() override final
{ return this-
>n
* 2; }
3788 nocopy
(int i
): i
(i
) {}
3790 nocopy
(const nocopy
&) = delete
;
3791 nocopy
& operator
=(const nocopy
&) = delete
;
3796 // for testing lambda expressions
3797 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3802 // for testing variadic templates and trailing
return types
3803 template
<typename V
> auto
sum(V first
) -> V
3807 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3809 return first
+ sum(rest...
);
3814 # Test code for whether the C++ compiler supports C++11 (body of main)
3815 ac_cxx_conftest_cxx11_main='
3817 // Test auto and decltype
3819 auto a2
= 48573953.4;
3820 auto a3
= "String literal";
3823 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3825 decltype
(a2
) a4
= 34895.034;
3829 short sa
[cxx11test
::get_val
()] = { 0 };
3832 // Test initializer lists
3833 cxx11test
::testinit il
= { 4323, 435234.23544 };
3836 // Test range-based
for
3837 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3838 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3839 for (auto
&x
: array
) { x
+= 23; }
3842 // Test lambda expressions
3843 using cxx11test
::eval;
3844 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3846 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3848 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3852 // Test use of variadic templates
3853 using cxx11test
::sum;
3856 auto c
= sum(1.0, 2.0, 3.0);
3859 // Test constructor delegation
3860 cxx11test
::delegate d1
;
3861 cxx11test
::delegate d2
();
3862 cxx11test
::delegate d3
(45);
3865 // Test override and final
3866 cxx11test
::overridden o1
(55464);
3873 // Test template brackets
3874 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3878 char const
*utf8
= u8
"UTF-8 string \u2500";
3879 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3880 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3884 # Test code for whether the C compiler supports C++11 (complete).
3885 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3886 ${ac_cxx_conftest_cxx11_globals}
3889 main (int argc, char **argv)
3892 ${ac_cxx_conftest_cxx98_main}
3893 ${ac_cxx_conftest_cxx11_main}
3898 # Test code for whether the C compiler supports C++98 (complete).
3899 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3901 main (int argc, char **argv)
3904 ${ac_cxx_conftest_cxx98_main}
3909 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3910 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3911 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3912 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3913 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3914 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3915 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3916 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3917 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3919 # Auxiliary files required by this configure script.
3920 ac_aux_files="config.guess config.sub"
3922 # Locations in which to look for auxiliary files.
3923 ac_aux_dir_candidates="${srcdir}/tools"
3925 # Search for a directory containing all of the required auxiliary files,
3926 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3927 # If we don't
find one directory that contains all the files we need
,
3928 # we report the set of missing files from the *first* directory in
3929 # $ac_aux_dir_candidates and give up.
3930 ac_missing_aux_files
=""
3931 ac_first_candidate
=:
3932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3935 for as_dir
in $ac_aux_dir_candidates
3938 case $as_dir in #(((
3941 *) as_dir
=$as_dir/ ;;
3945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3946 ac_aux_dir_found
=yes
3948 for ac_aux
in $ac_aux_files
3950 # As a special case, if "install-sh" is required, that requirement
3951 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3952 # and $ac_install_sh is set appropriately for whichever one is found.
3953 if test x
"$ac_aux" = x
"install-sh"
3955 if test -f "${as_dir}install-sh"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3957 ac_install_sh
="${as_dir}install-sh -c"
3958 elif test -f "${as_dir}install.sh"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3960 ac_install_sh
="${as_dir}install.sh -c"
3961 elif test -f "${as_dir}shtool"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3963 ac_install_sh
="${as_dir}shtool install -c"
3966 if $ac_first_candidate; then
3967 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3973 if test -f "${as_dir}${ac_aux}"; then
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3977 if $ac_first_candidate; then
3978 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3985 if test "$ac_aux_dir_found" = yes; then
3986 ac_aux_dir
="$as_dir"
3989 ac_first_candidate
=false
3998 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4002 # These three variables are undocumented and unsupported,
4003 # and are intended to be withdrawn in a future Autoconf release.
4004 # They can cause serious problems if a builder's source tree is in a directory
4005 # whose full name contains unusual characters.
4006 if test -f "${ac_aux_dir}config.guess"; then
4007 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4009 if test -f "${ac_aux_dir}config.sub"; then
4010 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4012 if test -f "$ac_aux_dir/configure"; then
4013 ac_configure
="$SHELL ${ac_aux_dir}configure"
4016 # Check that the precious variables saved in the cache have kept the same
4018 ac_cache_corrupted
=false
4019 for ac_var
in $ac_precious_vars; do
4020 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4021 eval ac_new_set
=\
$ac_env_${ac_var}_set
4022 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4023 eval ac_new_val
=\
$ac_env_${ac_var}_value
4024 case $ac_old_set,$ac_new_set in
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4028 ac_cache_corrupted
=: ;;
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4031 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4032 ac_cache_corrupted
=: ;;
4035 if test "x$ac_old_val" != "x$ac_new_val"; then
4036 # differences in whitespace do not lead to failure.
4037 ac_old_val_w
=`echo x $ac_old_val`
4038 ac_new_val_w
=`echo x $ac_new_val`
4039 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4041 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4042 ac_cache_corrupted
=:
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4045 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4046 eval $ac_var=\
$ac_old_val
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4049 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4051 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4054 # Pass precious variables to config.status.
4055 if test "$ac_new_set" = set; then
4057 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4058 *) ac_arg
=$ac_var=$ac_new_val ;;
4060 case " $ac_configure_args " in
4061 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4062 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4066 if $ac_cache_corrupted; then
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4070 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4071 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4072 and start over" "$LINENO" 5
4074 ## -------------------- ##
4075 ## Main body of script. ##
4076 ## -------------------- ##
4079 ac_cpp
='$CPP $CPPFLAGS'
4080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4086 ac_config_headers
="$ac_config_headers include/config.h"
4090 libwine_version
="1.0"
4093 # Check whether --enable-win16 was given.
4094 if test ${enable_win16+y}
4096 enableval
=$enable_win16;
4099 # Check whether --enable-win64 was given.
4100 if test ${enable_win64+y}
4102 enableval
=$enable_win64;
4105 # Check whether --enable-tests was given.
4106 if test ${enable_tests+y}
4108 enableval
=$enable_tests;
4111 # Check whether --enable-build-id was given.
4112 if test ${enable_build_id+y}
4114 enableval
=$enable_build_id;
4117 # Check whether --enable-maintainer-mode was given.
4118 if test ${enable_maintainer_mode+y}
4120 enableval
=$enable_maintainer_mode;
4123 # Check whether --enable-silent-rules was given.
4124 if test ${enable_silent_rules+y}
4126 enableval
=$enable_silent_rules;
4129 # Check whether --enable-werror was given.
4130 if test ${enable_werror+y}
4132 enableval
=$enable_werror;
4137 # Check whether --with-alsa was given.
4138 if test ${with_alsa+y}
4144 # Check whether --with-capi was given.
4145 if test ${with_capi+y}
4151 # Check whether --with-coreaudio was given.
4152 if test ${with_coreaudio+y}
4154 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4158 # Check whether --with-cups was given.
4159 if test ${with_cups+y}
4165 # Check whether --with-dbus was given.
4166 if test ${with_dbus+y}
4172 # Check whether --with-float-abi was given.
4173 if test ${with_float_abi+y}
4175 withval
=$with_float_abi;
4179 # Check whether --with-fontconfig was given.
4180 if test ${with_fontconfig+y}
4182 withval
=$with_fontconfig;
4186 # Check whether --with-freetype was given.
4187 if test ${with_freetype+y}
4189 withval
=$with_freetype;
4193 # Check whether --with-gettext was given.
4194 if test ${with_gettext+y}
4196 withval
=$with_gettext;
4200 # Check whether --with-gettextpo was given.
4201 if test ${with_gettextpo+y}
4203 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4207 # Check whether --with-gphoto was given.
4208 if test ${with_gphoto+y}
4210 withval
=$with_gphoto;
4214 # Check whether --with-gnutls was given.
4215 if test ${with_gnutls+y}
4217 withval
=$with_gnutls;
4221 # Check whether --with-gssapi was given.
4222 if test ${with_gssapi+y}
4224 withval
=$with_gssapi;
4228 # Check whether --with-gstreamer was given.
4229 if test ${with_gstreamer+y}
4231 withval
=$with_gstreamer;
4235 # Check whether --with-inotify was given.
4236 if test ${with_inotify+y}
4238 withval
=$with_inotify;
4242 # Check whether --with-krb5 was given.
4243 if test ${with_krb5+y}
4249 # Check whether --with-ldap was given.
4250 if test ${with_ldap+y}
4252 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4256 # Check whether --with-mingw was given.
4257 if test ${with_mingw+y}
4259 withval
=$with_mingw;
4263 # Check whether --with-netapi was given.
4264 if test ${with_netapi+y}
4266 withval
=$with_netapi;
4270 # Check whether --with-openal was given.
4271 if test ${with_openal+y}
4273 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4277 # Check whether --with-opencl was given.
4278 if test ${with_opencl+y}
4280 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4284 # Check whether --with-opengl was given.
4285 if test ${with_opengl+y}
4287 withval
=$with_opengl;
4291 # Check whether --with-osmesa was given.
4292 if test ${with_osmesa+y}
4294 withval
=$with_osmesa;
4298 # Check whether --with-oss was given.
4299 if test ${with_oss+y}
4305 # Check whether --with-pcap was given.
4306 if test ${with_pcap+y}
4308 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4312 # Check whether --with-pthread was given.
4313 if test ${with_pthread+y}
4315 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4319 # Check whether --with-pulse was given.
4320 if test ${with_pulse+y}
4322 withval
=$with_pulse;
4326 # Check whether --with-sane was given.
4327 if test ${with_sane+y}
4333 # Check whether --with-sdl was given.
4334 if test ${with_sdl+y}
4340 # Check whether --with-udev was given.
4341 if test ${with_udev+y}
4347 # Check whether --with-unwind was given.
4348 if test ${with_unwind+y}
4350 withval
=$with_unwind;
4354 # Check whether --with-usb was given.
4355 if test ${with_usb+y}
4361 # Check whether --with-v4l2 was given.
4362 if test ${with_v4l2+y}
4368 # Check whether --with-vulkan was given.
4369 if test ${with_vulkan+y}
4371 withval
=$with_vulkan;
4375 # Check whether --with-xcomposite was given.
4376 if test ${with_xcomposite+y}
4378 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4382 # Check whether --with-xcursor was given.
4383 if test ${with_xcursor+y}
4385 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4389 # Check whether --with-xfixes was given.
4390 if test ${with_xfixes+y}
4392 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4396 # Check whether --with-xinerama was given.
4397 if test ${with_xinerama+y}
4399 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4403 # Check whether --with-xinput was given.
4404 if test ${with_xinput+y}
4406 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4410 # Check whether --with-xinput2 was given.
4411 if test ${with_xinput2+y}
4413 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4417 # Check whether --with-xrandr was given.
4418 if test ${with_xrandr+y}
4420 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4424 # Check whether --with-xrender was given.
4425 if test ${with_xrender+y}
4427 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4431 # Check whether --with-xshape was given.
4432 if test ${with_xshape+y}
4434 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4438 # Check whether --with-xshm was given.
4439 if test ${with_xshm+y}
4441 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4445 # Check whether --with-xxf86vm was given.
4446 if test ${with_xxf86vm+y}
4448 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
4453 # Check whether --with-system-dllpath was given.
4454 if test ${with_system_dllpath+y}
4456 withval
=$with_system_dllpath; system_dllpath
=$withval
4461 # Check whether --with-wine-tools was given.
4462 if test ${with_wine_tools+y}
4464 withval
=$with_wine_tools;
4468 # Check whether --with-wine64 was given.
4469 if test ${with_wine64+y}
4471 withval
=$with_wine64;
4478 # Make sure we can run config.sub.
4479 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4480 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4483 printf %s
"checking build system type... " >&6; }
4484 if test ${ac_cv_build+y}
4486 printf %s
"(cached) " >&6
4488 ac_build_alias
=$build_alias
4489 test "x$ac_build_alias" = x
&&
4490 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4491 test "x$ac_build_alias" = x
&&
4492 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4493 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4494 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4498 printf "%s\n" "$ac_cv_build" >&6; }
4499 case $ac_cv_build in
4501 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4504 ac_save_IFS
=$IFS; IFS
='-'
4510 # Remember, the first character of IFS is used to create $*,
4511 # except with old shells:
4514 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4518 printf %s
"checking host system type... " >&6; }
4519 if test ${ac_cv_host+y}
4521 printf %s
"(cached) " >&6
4523 if test "x$host_alias" = x
; then
4524 ac_cv_host
=$ac_cv_build
4526 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4527 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4532 printf "%s\n" "$ac_cv_host" >&6; }
4535 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4538 ac_save_IFS
=$IFS; IFS
='-'
4544 # Remember, the first character of IFS is used to create $*,
4545 # except with old shells:
4548 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4552 dlldir
=\
${libdir}/wine
4554 fontdir
=\
${datadir}/wine
/fonts
4556 nlsdir
=\
${datadir}/wine
/nls
4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4562 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4564 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4565 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4567 printf %s
"(cached) " >&6
4569 cat >conftest.
make <<\_ACEOF
4572 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4574 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4577 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4579 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4583 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4585 printf "%s\n" "yes" >&6; }
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 printf "%s\n" "no" >&6; }
4590 SET_MAKE
="MAKE=${MAKE-make}"
4603 ac_cpp
='$CPP $CPPFLAGS'
4604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4607 if test -n "$ac_tool_prefix"; then
4608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4609 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 printf %s
"checking for $ac_word... " >&6; }
4612 if test ${ac_cv_prog_CC+y}
4614 printf %s
"(cached) " >&6
4616 if test -n "$CC"; then
4617 ac_cv_prog_CC
="$CC" # Let the user override the test.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 case $as_dir in #(((
4626 *) as_dir
=$as_dir/ ;;
4628 for ac_exec_ext
in '' $ac_executable_extensions; do
4629 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4641 if test -n "$CC"; then
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4643 printf "%s\n" "$CC" >&6; }
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 printf "%s\n" "no" >&6; }
4651 if test -z "$ac_cv_prog_CC"; then
4653 # Extract the first word of "gcc", so it can be a program name with args.
4654 set dummy gcc
; ac_word
=$2
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 printf %s
"checking for $ac_word... " >&6; }
4657 if test ${ac_cv_prog_ac_ct_CC+y}
4659 printf %s
"(cached) " >&6
4661 if test -n "$ac_ct_CC"; then
4662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 case $as_dir in #(((
4671 *) as_dir
=$as_dir/ ;;
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CC
="gcc"
4676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4685 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4686 if test -n "$ac_ct_CC"; then
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4688 printf "%s\n" "$ac_ct_CC" >&6; }
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4694 if test "x$ac_ct_CC" = x
; then
4697 case $cross_compiling:$ac_tool_warned in
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned
=yes ;;
4709 if test -z "$CC"; then
4710 if test -n "$ac_tool_prefix"; then
4711 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4712 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 printf %s
"checking for $ac_word... " >&6; }
4715 if test ${ac_cv_prog_CC+y}
4717 printf %s
"(cached) " >&6
4719 if test -n "$CC"; then
4720 ac_cv_prog_CC
="$CC" # Let the user override the test.
4722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4726 case $as_dir in #(((
4729 *) as_dir
=$as_dir/ ;;
4731 for ac_exec_ext
in '' $ac_executable_extensions; do
4732 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4744 if test -n "$CC"; then
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4746 printf "%s\n" "$CC" >&6; }
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 printf "%s\n" "no" >&6; }
4755 if test -z "$CC"; then
4756 # Extract the first word of "cc", so it can be a program name with args.
4757 set dummy cc
; ac_word
=$2
4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 printf %s
"checking for $ac_word... " >&6; }
4760 if test ${ac_cv_prog_CC+y}
4762 printf %s
"(cached) " >&6
4764 if test -n "$CC"; then
4765 ac_cv_prog_CC
="$CC" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 case $as_dir in #(((
4775 *) as_dir
=$as_dir/ ;;
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4779 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4780 ac_prog_rejected
=yes
4784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4791 if test $ac_prog_rejected = yes; then
4792 # We found a bogon in the path, so make sure we never use it.
4793 set dummy
$ac_cv_prog_CC
4795 if test $# != 0; then
4796 # We chose a different compiler from the bogus one.
4797 # However, it has the same basename, so the bogon will be chosen
4798 # first if we set CC to just the basename; use the full file name.
4800 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4806 if test -n "$CC"; then
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4808 printf "%s\n" "$CC" >&6; }
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 printf "%s\n" "no" >&6; }
4816 if test -z "$CC"; then
4817 if test -n "$ac_tool_prefix"; then
4818 for ac_prog
in cl.exe
4820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4821 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 printf %s
"checking for $ac_word... " >&6; }
4824 if test ${ac_cv_prog_CC+y}
4826 printf %s
"(cached) " >&6
4828 if test -n "$CC"; then
4829 ac_cv_prog_CC
="$CC" # Let the user override the test.
4831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4835 case $as_dir in #(((
4838 *) as_dir
=$as_dir/ ;;
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4862 test -n "$CC" && break
4865 if test -z "$CC"; then
4867 for ac_prog
in cl.exe
4869 # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy
$ac_prog; ac_word
=$2
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 printf %s
"checking for $ac_word... " >&6; }
4873 if test ${ac_cv_prog_ac_ct_CC+y}
4875 printf %s
"(cached) " >&6
4877 if test -n "$ac_ct_CC"; then
4878 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 case $as_dir in #(((
4887 *) as_dir
=$as_dir/ ;;
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CC
="$ac_prog"
4892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4901 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4902 if test -n "$ac_ct_CC"; then
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4904 printf "%s\n" "$ac_ct_CC" >&6; }
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 printf "%s\n" "no" >&6; }
4911 test -n "$ac_ct_CC" && break
4914 if test "x$ac_ct_CC" = x
; then
4917 case $cross_compiling:$ac_tool_warned in
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned
=yes ;;
4928 if test -z "$CC"; then
4929 if test -n "$ac_tool_prefix"; then
4930 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4931 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 printf %s
"checking for $ac_word... " >&6; }
4934 if test ${ac_cv_prog_CC+y}
4936 printf %s
"(cached) " >&6
4938 if test -n "$CC"; then
4939 ac_cv_prog_CC
="$CC" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 case $as_dir in #(((
4948 *) as_dir
=$as_dir/ ;;
4950 for ac_exec_ext
in '' $ac_executable_extensions; do
4951 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4963 if test -n "$CC"; then
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4965 printf "%s\n" "$CC" >&6; }
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 printf "%s\n" "no" >&6; }
4973 if test -z "$ac_cv_prog_CC"; then
4975 # Extract the first word of "clang", so it can be a program name with args.
4976 set dummy clang
; ac_word
=$2
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 printf %s
"checking for $ac_word... " >&6; }
4979 if test ${ac_cv_prog_ac_ct_CC+y}
4981 printf %s
"(cached) " >&6
4983 if test -n "$ac_ct_CC"; then
4984 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 case $as_dir in #(((
4993 *) as_dir
=$as_dir/ ;;
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_ac_ct_CC
="clang"
4998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5007 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5008 if test -n "$ac_ct_CC"; then
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5010 printf "%s\n" "$ac_ct_CC" >&6; }
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 printf "%s\n" "no" >&6; }
5016 if test "x$ac_ct_CC" = x
; then
5019 case $cross_compiling:$ac_tool_warned in
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned
=yes ;;
5034 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5035 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5036 as_fn_error $?
"no acceptable C compiler found in \$PATH
5037 See \`config.log' for more details" "$LINENO" 5; }
5039 # Provide some information about the compiler.
5040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5043 for ac_option
in --version -v -V -qversion -version; do
5044 { { ac_try
="$ac_compiler $ac_option >&5"
5046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5047 *) ac_try_echo=$ac_try;;
5049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5050 printf "%s\n" "$ac_try_echo"; } >&5
5051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5053 if test -s conftest.err; then
5055 ... rest of stderr output deleted ...
5056 10q' conftest.err >conftest.er1
5057 cat conftest.er1 >&5
5059 rm -f conftest.er1 conftest.err
5060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5061 test $ac_status = 0; }
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5075 ac_clean_files_save=$ac_clean_files
5076 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5077 # Try to create an executable without -o first, disregard a.out.
5078 # It will help us diagnose broken compilers, and finding out an intuition
5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5081 printf %s "checking whether the C compiler works... " >&6; }
5082 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5084 # The possible output files:
5085 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5088 for ac_file in $ac_files
5091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5097 if { { ac_try="$ac_link_default"
5099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5100 *) ac_try_echo
=$ac_try;;
5102 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5103 printf "%s\n" "$ac_try_echo"; } >&5
5104 (eval "$ac_link_default") 2>&5
5106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }
5109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5112 # so that the user can short-circuit this test for compilers unknown to
5114 for ac_file
in $ac_files ''
5116 test -f "$ac_file" ||
continue
5118 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5121 # We found the default executable, but exeext='' is most
5125 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5127 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5129 # We set ac_cv_exeext here because the later test for it is not
5130 # safe: cross compilers may not add the suffix if given an `-o'
5131 # argument, so we may need to know it at that point already.
5132 # Even if this section looks crufty: it has the advantage of
5139 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5144 if test -z "$ac_file"
5146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 printf "%s\n" "no" >&6; }
5148 printf "%s\n" "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5151 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5152 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5153 as_fn_error
77 "C compiler cannot create executables
5154 See \`config.log' for more details" "$LINENO" 5; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5157 printf "%s\n" "yes" >&6; }
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5160 printf %s
"checking for C compiler default output file name... " >&6; }
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5162 printf "%s\n" "$ac_file" >&6; }
5163 ac_exeext
=$ac_cv_exeext
5165 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5166 ac_clean_files
=$ac_clean_files_save
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5168 printf %s
"checking for suffix of executables... " >&6; }
5169 if { { ac_try
="$ac_link"
5171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5175 printf "%s\n" "$ac_try_echo"; } >&5
5176 (eval "$ac_link") 2>&5
5178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5179 test $ac_status = 0; }
5181 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5182 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5183 # work properly (i.e., refer to `conftest.exe'), while it won't with
5185 for ac_file
in conftest.exe conftest conftest.
*; do
5186 test -f "$ac_file" ||
continue
5188 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5189 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5195 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5196 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5197 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5198 See \`config.log' for more details" "$LINENO" 5; }
5200 rm -f conftest conftest
$ac_cv_exeext
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5202 printf "%s\n" "$ac_cv_exeext" >&6; }
5204 rm -f conftest.
$ac_ext
5205 EXEEXT
=$ac_cv_exeext
5207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5213 FILE *f = fopen ("conftest.out", "w");
5214 return ferror (f) || fclose (f) != 0;
5220 ac_clean_files
="$ac_clean_files conftest.out"
5221 # Check that the compiler produces executables we can run. If not, either
5222 # the compiler is broken, or we cross compile.
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5224 printf %s
"checking whether we are cross compiling... " >&6; }
5225 if test "$cross_compiling" != yes; then
5226 { { ac_try
="$ac_link"
5228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5229 *) ac_try_echo=$ac_try;;
5231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5232 printf "%s\n" "$ac_try_echo"; } >&5
5233 (eval "$ac_link") 2>&5
5235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5236 test $ac_status = 0; }
5237 if { ac_try='./conftest$ac_cv_exeext'
5238 { { case "(($ac_try" in
5239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5240 *) ac_try_echo
=$ac_try;;
5242 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5243 printf "%s\n" "$ac_try_echo"; } >&5
5244 (eval "$ac_try") 2>&5
5246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5247 test $ac_status = 0; }; }; then
5250 if test "$cross_compiling" = maybe
; then
5253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error
77 "cannot run C compiled programs.
5256 If you meant to cross compile, use \`--host'.
5257 See \`config.log' for more details" "$LINENO" 5; }
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5262 printf "%s\n" "$cross_compiling" >&6; }
5264 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5265 ac_clean_files
=$ac_clean_files_save
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5267 printf %s
"checking for suffix of object files... " >&6; }
5268 if test ${ac_cv_objext+y}
5270 printf %s
"(cached) " >&6
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5283 rm -f conftest.o conftest.obj
5284 if { { ac_try
="$ac_compile"
5286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 printf "%s\n" "$ac_try_echo"; } >&5
5291 (eval "$ac_compile") 2>&5
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5296 for ac_file in conftest.o conftest.obj conftest.*; do
5297 test -f "$ac_file" || continue;
5299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5300 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5305 printf "%s\n" "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5308 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5309 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5310 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5311 See \
`config.log' for more details" "$LINENO" 5; }
5313 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5316 printf "%s\n" "$ac_cv_objext" >&6; }
5317 OBJEXT=$ac_cv_objext
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5320 printf %s "checking whether the compiler supports GNU C... " >&6; }
5321 if test ${ac_cv_c_compiler_gnu+y}
5323 printf %s "(cached) " >&6
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5339 if ac_fn_c_try_compile "$LINENO"
5345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5350 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5353 if test $ac_compiler_gnu = yes; then
5358 ac_test_CFLAGS=${CFLAGS+y}
5359 ac_save_CFLAGS=$CFLAGS
5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5361 printf %s "checking whether $CC accepts -g... " >&6; }
5362 if test ${ac_cv_prog_cc_g+y}
5364 printf %s "(cached) " >&6
5366 ac_save_c_werror_flag=$ac_c_werror_flag
5367 ac_c_werror_flag=yes
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5381 if ac_fn_c_try_compile "$LINENO"
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5397 if ac_fn_c_try_compile "$LINENO"
5401 ac_c_werror_flag=$ac_save_c_werror_flag
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5414 if ac_fn_c_try_compile "$LINENO"
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5423 ac_c_werror_flag=$ac_save_c_werror_flag
5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5426 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5427 if test $ac_test_CFLAGS; then
5428 CFLAGS=$ac_save_CFLAGS
5429 elif test $ac_cv_prog_cc_g = yes; then
5430 if test "$GCC" = yes; then
5436 if test "$GCC" = yes; then
5443 if test x$ac_prog_cc_stdc = xno
5445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5446 printf %s "checking for $CC option to enable C11 features... " >&6; }
5447 if test ${ac_cv_prog_cc_c11+y}
5449 printf %s "(cached) " >&6
5451 ac_cv_prog_cc_c11=no
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5455 $ac_c_conftest_c11_program
5457 for ac_arg in '' -std=gnu11
5459 CC="$ac_save_CC $ac_arg"
5460 if ac_fn_c_try_compile "$LINENO"
5462 ac_cv_prog_cc_c11=$ac_arg
5464 rm -f core conftest.err conftest.$ac_objext conftest.beam
5465 test "x$ac_cv_prog_cc_c11" != "xno" && break
5467 rm -f conftest.$ac_ext
5471 if test "x$ac_cv_prog_cc_c11" = xno
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5474 printf "%s\n" "unsupported" >&6; }
5476 if test "x$ac_cv_prog_cc_c11" = x
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5479 printf "%s\n" "none needed" >&6; }
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5482 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5483 CC="$CC $ac_cv_prog_cc_c11"
5485 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5489 if test x$ac_prog_cc_stdc = xno
5491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5492 printf %s "checking for $CC option to enable C99 features... " >&6; }
5493 if test ${ac_cv_prog_cc_c99+y}
5495 printf %s "(cached) " >&6
5497 ac_cv_prog_cc_c99=no
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 $ac_c_conftest_c99_program
5503 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5505 CC="$ac_save_CC $ac_arg"
5506 if ac_fn_c_try_compile "$LINENO"
5508 ac_cv_prog_cc_c99=$ac_arg
5510 rm -f core conftest.err conftest.$ac_objext conftest.beam
5511 test "x$ac_cv_prog_cc_c99" != "xno" && break
5513 rm -f conftest.$ac_ext
5517 if test "x$ac_cv_prog_cc_c99" = xno
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5520 printf "%s\n" "unsupported" >&6; }
5522 if test "x$ac_cv_prog_cc_c99" = x
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5525 printf "%s\n" "none needed" >&6; }
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5529 CC="$CC $ac_cv_prog_cc_c99"
5531 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5535 if test x$ac_prog_cc_stdc = xno
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5538 printf %s "checking for $CC option to enable C89 features... " >&6; }
5539 if test ${ac_cv_prog_cc_c89+y}
5541 printf %s "(cached) " >&6
5543 ac_cv_prog_cc_c89=no
5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5547 $ac_c_conftest_c89_program
5549 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5551 CC="$ac_save_CC $ac_arg"
5552 if ac_fn_c_try_compile "$LINENO"
5554 ac_cv_prog_cc_c89=$ac_arg
5556 rm -f core conftest.err conftest.$ac_objext conftest.beam
5557 test "x$ac_cv_prog_cc_c89" != "xno" && break
5559 rm -f conftest.$ac_ext
5563 if test "x$ac_cv_prog_cc_c89" = xno
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5566 printf "%s\n" "unsupported" >&6; }
5568 if test "x$ac_cv_prog_cc_c89" = x
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5571 printf "%s\n" "none needed" >&6; }
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5574 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5575 CC="$CC $ac_cv_prog_cc_c89"
5577 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5583 ac_cpp='$CPP $CPPFLAGS'
5584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5595 ac_cpp='$CXXCPP $CPPFLAGS'
5596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5599 if test -z "$CXX"; then
5600 if test -n "$CCC"; then
5603 if test -n "$ac_tool_prefix"; then
5604 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 printf %s "checking for $ac_word... " >&6; }
5610 if test ${ac_cv_prog_CXX+y}
5612 printf %s "(cached) " >&6
5614 if test -n "$CXX"; then
5615 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 case $as_dir in #(((
5624 *) as_dir=$as_dir/ ;;
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5639 if test -n "$CXX"; then
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5641 printf "%s\n" "$CXX" >&6; }
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 printf "%s\n" "no" >&6; }
5648 test -n "$CXX" && break
5651 if test -z "$CXX"; then
5653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5655 # Extract the first word of "$ac_prog", so it can be a program name with args.
5656 set dummy $ac_prog; ac_word=$2
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 printf %s "checking for $ac_word... " >&6; }
5659 if test ${ac_cv_prog_ac_ct_CXX+y}
5661 printf %s "(cached) " >&6
5663 if test -n "$ac_ct_CXX"; then
5664 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 case $as_dir in #(((
5673 *) as_dir=$as_dir/ ;;
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_ac_ct_CXX="$ac_prog"
5678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5687 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5688 if test -n "$ac_ct_CXX"; then
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5690 printf "%s\n" "$ac_ct_CXX" >&6; }
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 printf "%s\n" "no" >&6; }
5697 test -n "$ac_ct_CXX" && break
5700 if test "x$ac_ct_CXX" = x; then
5703 case $cross_compiling:$ac_tool_warned in
5705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5706 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5707 ac_tool_warned=yes ;;
5715 # Provide some information about the compiler.
5716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5719 for ac_option in --version -v -V -qversion; do
5720 { { ac_try="$ac_compiler $ac_option >&5"
5722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5723 *) ac_try_echo
=$ac_try;;
5725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5726 printf "%s\n" "$ac_try_echo"; } >&5
5727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5729 if test -s conftest.err
; then
5731 ... rest of stderr output deleted ...
5732 10q' conftest.err
>conftest.er1
5733 cat conftest.er1
>&5
5735 rm -f conftest.er1 conftest.err
5736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5737 test $ac_status = 0; }
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5741 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5742 if test ${ac_cv_cxx_compiler_gnu+y}
5744 printf %s
"(cached) " >&6
5746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5760 if ac_fn_cxx_try_compile
"$LINENO"
5766 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5767 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5771 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5774 if test $ac_compiler_gnu = yes; then
5779 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5780 ac_save_CXXFLAGS
=$CXXFLAGS
5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5782 printf %s
"checking whether $CXX accepts -g... " >&6; }
5783 if test ${ac_cv_prog_cxx_g+y}
5785 printf %s
"(cached) " >&6
5787 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5788 ac_cxx_werror_flag
=yes
5791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5802 if ac_fn_cxx_try_compile
"$LINENO"
5804 ac_cv_prog_cxx_g
=yes
5807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5818 if ac_fn_cxx_try_compile
"$LINENO"
5822 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5835 if ac_fn_cxx_try_compile
"$LINENO"
5837 ac_cv_prog_cxx_g
=yes
5839 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5841 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5843 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5844 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5847 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5848 if test $ac_test_CXXFLAGS; then
5849 CXXFLAGS
=$ac_save_CXXFLAGS
5850 elif test $ac_cv_prog_cxx_g = yes; then
5851 if test "$GXX" = yes; then
5857 if test "$GXX" = yes; then
5863 ac_prog_cxx_stdcxx
=no
5864 if test x
$ac_prog_cxx_stdcxx = xno
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5867 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5868 if test ${ac_cv_prog_cxx_11+y}
5870 printf %s
"(cached) " >&6
5872 ac_cv_prog_cxx_11
=no
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5876 $ac_cxx_conftest_cxx11_program
5878 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5880 CXX
="$ac_save_CXX $ac_arg"
5881 if ac_fn_cxx_try_compile
"$LINENO"
5883 ac_cv_prog_cxx_cxx11
=$ac_arg
5885 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5886 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5888 rm -f conftest.
$ac_ext
5892 if test "x$ac_cv_prog_cxx_cxx11" = xno
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5895 printf "%s\n" "unsupported" >&6; }
5897 if test "x$ac_cv_prog_cxx_cxx11" = x
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5900 printf "%s\n" "none needed" >&6; }
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5903 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5904 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5906 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5907 ac_prog_cxx_stdcxx
=cxx11
5910 if test x
$ac_prog_cxx_stdcxx = xno
5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5913 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5914 if test ${ac_cv_prog_cxx_98+y}
5916 printf %s
"(cached) " >&6
5918 ac_cv_prog_cxx_98
=no
5920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 $ac_cxx_conftest_cxx98_program
5924 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5926 CXX
="$ac_save_CXX $ac_arg"
5927 if ac_fn_cxx_try_compile
"$LINENO"
5929 ac_cv_prog_cxx_cxx98
=$ac_arg
5931 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5932 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5934 rm -f conftest.
$ac_ext
5938 if test "x$ac_cv_prog_cxx_cxx98" = xno
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5941 printf "%s\n" "unsupported" >&6; }
5943 if test "x$ac_cv_prog_cxx_cxx98" = x
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5946 printf "%s\n" "none needed" >&6; }
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5950 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5952 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5953 ac_prog_cxx_stdcxx
=cxx98
5958 ac_cpp
='$CPP $CPPFLAGS'
5959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5963 if test -n "$ac_tool_prefix"; then
5964 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5965 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 printf %s
"checking for $ac_word... " >&6; }
5968 if test ${ac_cv_prog_CPPBIN+y}
5970 printf %s
"(cached) " >&6
5972 if test -n "$CPPBIN"; then
5973 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5979 case $as_dir in #(((
5982 *) as_dir
=$as_dir/ ;;
5984 for ac_exec_ext
in '' $ac_executable_extensions; do
5985 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5996 CPPBIN
=$ac_cv_prog_CPPBIN
5997 if test -n "$CPPBIN"; then
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5999 printf "%s\n" "$CPPBIN" >&6; }
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 printf "%s\n" "no" >&6; }
6007 if test -z "$ac_cv_prog_CPPBIN"; then
6008 ac_ct_CPPBIN
=$CPPBIN
6009 # Extract the first word of "cpp", so it can be a program name with args.
6010 set dummy cpp
; ac_word
=$2
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 printf %s
"checking for $ac_word... " >&6; }
6013 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6015 printf %s
"(cached) " >&6
6017 if test -n "$ac_ct_CPPBIN"; then
6018 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6024 case $as_dir in #(((
6027 *) as_dir
=$as_dir/ ;;
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6041 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6042 if test -n "$ac_ct_CPPBIN"; then
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6044 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 printf "%s\n" "no" >&6; }
6050 if test "x$ac_ct_CPPBIN" = x
; then
6053 case $cross_compiling:$ac_tool_warned in
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6057 ac_tool_warned
=yes ;;
6059 CPPBIN
=$ac_ct_CPPBIN
6062 CPPBIN
="$ac_cv_prog_CPPBIN"
6066 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6068 if test -n "$ac_tool_prefix"; then
6069 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6070 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 printf %s
"checking for $ac_word... " >&6; }
6073 if test ${ac_cv_prog_LD+y}
6075 printf %s
"(cached) " >&6
6077 if test -n "$LD"; then
6078 ac_cv_prog_LD
="$LD" # Let the user override the test.
6080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6084 case $as_dir in #(((
6087 *) as_dir
=$as_dir/ ;;
6089 for ac_exec_ext
in '' $ac_executable_extensions; do
6090 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6102 if test -n "$LD"; then
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6104 printf "%s\n" "$LD" >&6; }
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 printf "%s\n" "no" >&6; }
6112 if test -z "$ac_cv_prog_LD"; then
6114 # Extract the first word of "ld", so it can be a program name with args.
6115 set dummy ld
; ac_word
=$2
6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 printf %s
"checking for $ac_word... " >&6; }
6118 if test ${ac_cv_prog_ac_ct_LD+y}
6120 printf %s
"(cached) " >&6
6122 if test -n "$ac_ct_LD"; then
6123 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6129 case $as_dir in #(((
6132 *) as_dir
=$as_dir/ ;;
6134 for ac_exec_ext
in '' $ac_executable_extensions; do
6135 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_ac_ct_LD
="ld"
6137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6146 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6147 if test -n "$ac_ct_LD"; then
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6149 printf "%s\n" "$ac_ct_LD" >&6; }
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 printf "%s\n" "no" >&6; }
6155 if test "x$ac_ct_LD" = x
; then
6158 case $cross_compiling:$ac_tool_warned in
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned
=yes ;;
6173 with_fontconfig
=${with_fontconfig:-no}
6175 *-mingw32*|
*-cygwin*)
6176 enable_win16
=${enable_win16:-no}
6177 with_mingw
=${with_mingw:-no}
6184 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6190 printf %s
"checking whether $CC works... " >&6; }
6191 if test ${wine_cv_cc_m32+y}
6193 printf %s
"(cached) " >&6
6195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6206 if ac_fn_c_try_link
"$LINENO"
6212 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6213 conftest
$ac_exeext conftest.
$ac_ext
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6216 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6217 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
6219 notice_platform
="32-bit "
6220 TARGETFLAGS
="$TARGETFLAGS -m32"
6221 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6222 export PKG_CONFIG_PATH
6223 enable_win16
=${enable_win16:-yes}
6224 with_unwind
=${with_unwind:-no}
6226 if test "x${GCC}" = "xyes"
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6229 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6230 if test ${wine_cv_builtin_ms_va_list+y}
6232 printf %s
"(cached) " >&6
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6240 void func(__builtin_ms_va_list *args);
6245 if ac_fn_c_try_compile
"$LINENO"
6247 wine_cv_builtin_ms_va_list
=yes
6249 wine_cv_builtin_ms_va_list
=no
6251 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6254 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6255 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
6260 notice_platform
="64-bit "
6261 TARGETFLAGS
="$TARGETFLAGS -m64"
6262 enable_wow64
=${enable_wow64:-yes}
6263 enable_wow64win
=${enable_wow64win:-yes}
6264 enable_wow64cpu
=${enable_wow64cpu:-yes}
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6269 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6270 if test ${wine_cv_thumb2+y}
6272 printf %s
"(cached) " >&6
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6280 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6285 if ac_fn_c_try_link
"$LINENO"
6291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6292 conftest
$ac_exeext conftest.
$ac_ext
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6295 printf "%s\n" "$wine_cv_thumb2" >&6; }
6296 if test x
"$wine_cv_thumb2" = xyes
6298 CFLAGS
="$CFLAGS -mthumb"
6299 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6301 CFLAGS
="$CFLAGS -marm"
6302 TARGETFLAGS
="$TARGETFLAGS -marm"
6304 case $with_float_abi in
6306 float_abi
=$with_float_abi ;;
6313 saved_CFLAGS
=$CFLAGS
6314 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6316 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6317 if test ${wine_cv_float_abi+y}
6319 printf %s
"(cached) " >&6
6321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6327 asm("vmrs r2,fpscr");
6332 if ac_fn_c_try_link
"$LINENO"
6334 wine_cv_float_abi
=yes
6336 wine_cv_float_abi
=no
6338 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6339 conftest
$ac_exeext conftest.
$ac_ext
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6342 printf "%s\n" "$wine_cv_float_abi" >&6; }
6343 if test $wine_cv_float_abi = no
6346 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6348 CFLAGS
=$saved_CFLAGS
6352 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6353 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6356 enable_wow64
=${enable_wow64:-yes}
6357 enable_wow64win
=${enable_wow64win:-yes}
6360 enable_win16
=${enable_win16:-yes}
6361 with_unwind
=${with_unwind:-no}
6365 enable_win16
=${enable_win16:-no}
6366 enable_win64
=${enable_win64:-no}
6367 enable_wow64
=${enable_wow64:-no}
6368 enable_wow64win
=${enable_wow64win:-no}
6369 enable_wow64cpu
=${enable_wow64cpu:-no}
6371 enable_winetest
=${enable_winetest:-$enable_tests}
6373 if test "x$enable_win64" = "xyes"
6375 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6376 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6380 cygwin
*|mingw32
*) toolsext
=".exe"
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6387 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6388 if test ${wine_cv_toolsdir+y}
6390 printf %s
"(cached) " >&6
6392 wine_cv_toolsdir
="$with_wine_tools"
6393 if test -z "$with_wine_tools"; then
6394 if test "$cross_compiling" = "yes"; then
6395 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6396 elif test -n "$with_wine64"; then
6397 wine_cv_toolsdir
="$with_wine64"
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6402 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6403 if test -z "$wine_cv_toolsdir"; then
6404 wine_makedep
=tools
/makedep
$toolsext
6405 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6406 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6407 enable_tools
=${enable_tools:-no}
6408 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6410 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6412 toolsdir
=$wine_cv_toolsdir
6414 MAKEDEP
=$wine_makedep
6416 RUNTESTFLAGS
="-q -P wine"
6418 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'"
6421 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6423 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6428 # Extract the first word of "$ac_prog", so it can be a program name with args.
6429 set dummy
$ac_prog; ac_word
=$2
6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431 printf %s
"checking for $ac_word... " >&6; }
6432 if test ${ac_cv_prog_FLEX+y}
6434 printf %s
"(cached) " >&6
6436 if test -n "$FLEX"; then
6437 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6443 case $as_dir in #(((
6446 *) as_dir
=$as_dir/ ;;
6448 for ac_exec_ext
in '' $ac_executable_extensions; do
6449 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_FLEX
="$ac_prog"
6451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6460 FLEX
=$ac_cv_prog_FLEX
6461 if test -n "$FLEX"; then
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6463 printf "%s\n" "$FLEX" >&6; }
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 printf "%s\n" "no" >&6; }
6470 test -n "$FLEX" && break
6472 test -n "$FLEX" || FLEX
="none"
6474 if test "$FLEX" = "none"
6476 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6479 printf %s
"checking whether flex is recent enough... " >&6; }
6480 if test ${wine_cv_recent_flex+y}
6482 printf %s
"(cached) " >&6
6484 cat >conftest.l
<<EOF
6486 #include "prediluvian.h"
6490 if $FLEX -t conftest.l
>/dev
/null
2>&5
6492 wine_cv_recent_flex
=yes
6494 wine_cv_recent_flex
=no
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6498 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6499 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
6501 for ac_prog
in bison
6503 # Extract the first word of "$ac_prog", so it can be a program name with args.
6504 set dummy
$ac_prog; ac_word
=$2
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 printf %s
"checking for $ac_word... " >&6; }
6507 if test ${ac_cv_prog_BISON+y}
6509 printf %s
"(cached) " >&6
6511 if test -n "$BISON"; then
6512 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6518 case $as_dir in #(((
6521 *) as_dir
=$as_dir/ ;;
6523 for ac_exec_ext
in '' $ac_executable_extensions; do
6524 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_BISON
="$ac_prog"
6526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6535 BISON
=$ac_cv_prog_BISON
6536 if test -n "$BISON"; then
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6538 printf "%s\n" "$BISON" >&6; }
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 printf "%s\n" "no" >&6; }
6545 test -n "$BISON" && break
6547 test -n "$BISON" || BISON
="none"
6549 if test "$BISON" = "none"
6551 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6554 printf %s
"checking whether bison is recent enough... " >&6; }
6555 if test ${wine_cv_recent_bison+y}
6557 printf %s
"(cached) " >&6
6559 cat >conftest.y
<<EOF
6560 %define parse.error verbose
6564 if $BISON conftest.y
>/dev
/null
2>&5
6566 wine_cv_recent_bison
=yes
6568 wine_cv_recent_bison
=no
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6572 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6573 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
6575 if test -n "$ac_tool_prefix"; then
6576 for ac_prog
in ar gar
6578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6579 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 printf %s
"checking for $ac_word... " >&6; }
6582 if test ${ac_cv_prog_AR+y}
6584 printf %s
"(cached) " >&6
6586 if test -n "$AR"; then
6587 ac_cv_prog_AR
="$AR" # Let the user override the test.
6589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6593 case $as_dir in #(((
6596 *) as_dir
=$as_dir/ ;;
6598 for ac_exec_ext
in '' $ac_executable_extensions; do
6599 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6611 if test -n "$AR"; then
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6613 printf "%s\n" "$AR" >&6; }
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 printf "%s\n" "no" >&6; }
6620 test -n "$AR" && break
6623 if test -z "$AR"; then
6625 for ac_prog
in ar gar
6627 # Extract the first word of "$ac_prog", so it can be a program name with args.
6628 set dummy
$ac_prog; ac_word
=$2
6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 printf %s
"checking for $ac_word... " >&6; }
6631 if test ${ac_cv_prog_ac_ct_AR+y}
6633 printf %s
"(cached) " >&6
6635 if test -n "$ac_ct_AR"; then
6636 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6642 case $as_dir in #(((
6645 *) as_dir
=$as_dir/ ;;
6647 for ac_exec_ext
in '' $ac_executable_extensions; do
6648 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_ac_ct_AR
="$ac_prog"
6650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6659 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6660 if test -n "$ac_ct_AR"; then
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6662 printf "%s\n" "$ac_ct_AR" >&6; }
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 printf "%s\n" "no" >&6; }
6669 test -n "$ac_ct_AR" && break
6672 if test "x$ac_ct_AR" = x
; then
6675 case $cross_compiling:$ac_tool_warned in
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6679 ac_tool_warned
=yes ;;
6685 if test -n "$ac_tool_prefix"; then
6686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6687 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 printf %s
"checking for $ac_word... " >&6; }
6690 if test ${ac_cv_prog_STRIP+y}
6692 printf %s
"(cached) " >&6
6694 if test -n "$STRIP"; then
6695 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 case $as_dir in #(((
6704 *) as_dir
=$as_dir/ ;;
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6718 STRIP
=$ac_cv_prog_STRIP
6719 if test -n "$STRIP"; then
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6721 printf "%s\n" "$STRIP" >&6; }
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 printf "%s\n" "no" >&6; }
6729 if test -z "$ac_cv_prog_STRIP"; then
6731 # Extract the first word of "strip", so it can be a program name with args.
6732 set dummy strip
; ac_word
=$2
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 printf %s
"checking for $ac_word... " >&6; }
6735 if test ${ac_cv_prog_ac_ct_STRIP+y}
6737 printf %s
"(cached) " >&6
6739 if test -n "$ac_ct_STRIP"; then
6740 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6746 case $as_dir in #(((
6749 *) as_dir
=$as_dir/ ;;
6751 for ac_exec_ext
in '' $ac_executable_extensions; do
6752 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_ac_ct_STRIP
="strip"
6754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6763 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6764 if test -n "$ac_ct_STRIP"; then
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6766 printf "%s\n" "$ac_ct_STRIP" >&6; }
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 printf "%s\n" "no" >&6; }
6772 if test "x$ac_ct_STRIP" = x
; then
6775 case $cross_compiling:$ac_tool_warned in
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6778 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6779 ac_tool_warned
=yes ;;
6784 STRIP
="$ac_cv_prog_STRIP"
6787 if test -n "$ac_tool_prefix"; then
6788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6789 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 printf %s
"checking for $ac_word... " >&6; }
6792 if test ${ac_cv_prog_RANLIB+y}
6794 printf %s
"(cached) " >&6
6796 if test -n "$RANLIB"; then
6797 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6803 case $as_dir in #(((
6806 *) as_dir
=$as_dir/ ;;
6808 for ac_exec_ext
in '' $ac_executable_extensions; do
6809 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6820 RANLIB
=$ac_cv_prog_RANLIB
6821 if test -n "$RANLIB"; then
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6823 printf "%s\n" "$RANLIB" >&6; }
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 printf "%s\n" "no" >&6; }
6831 if test -z "$ac_cv_prog_RANLIB"; then
6832 ac_ct_RANLIB
=$RANLIB
6833 # Extract the first word of "ranlib", so it can be a program name with args.
6834 set dummy ranlib
; ac_word
=$2
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836 printf %s
"checking for $ac_word... " >&6; }
6837 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6839 printf %s
"(cached) " >&6
6841 if test -n "$ac_ct_RANLIB"; then
6842 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 case $as_dir in #(((
6851 *) as_dir
=$as_dir/ ;;
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6865 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6866 if test -n "$ac_ct_RANLIB"; then
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6868 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 printf "%s\n" "no" >&6; }
6874 if test "x$ac_ct_RANLIB" = x
; then
6877 case $cross_compiling:$ac_tool_warned in
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6880 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6881 ac_tool_warned
=yes ;;
6883 RANLIB
=$ac_ct_RANLIB
6886 RANLIB
="$ac_cv_prog_RANLIB"
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6890 printf %s
"checking whether ln -s works... " >&6; }
6892 if test "$LN_S" = "ln -s"; then
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6894 printf "%s\n" "yes" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6897 printf "%s\n" "no, using $LN_S" >&6; }
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6901 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6902 if test ${ac_cv_path_GREP+y}
6904 printf %s
"(cached) " >&6
6906 if test -z "$GREP"; then
6907 ac_path_GREP_found
=false
6908 # Loop through the user's path and test for each of PROGNAME-LIST
6909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6910 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6913 case $as_dir in #(((
6916 *) as_dir
=$as_dir/ ;;
6918 for ac_prog
in grep ggrep
6920 for ac_exec_ext
in '' $ac_executable_extensions; do
6921 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6922 as_fn_executable_p
"$ac_path_GREP" ||
continue
6923 # Check for GNU ac_path_GREP and select it if it is found.
6924 # Check for GNU $ac_path_GREP
6925 case `"$ac_path_GREP" --version 2>&1` in
6927 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6930 printf %s
0123456789 >"conftest.in"
6933 cat "conftest.in" "conftest.in" >"conftest.tmp"
6934 mv "conftest.tmp" "conftest.in"
6935 cp "conftest.in" "conftest.nl"
6936 printf "%s\n" 'GREP' >> "conftest.nl"
6937 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6938 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6939 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6940 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6941 # Best one so far, save it but keep looking for a better one
6942 ac_cv_path_GREP
="$ac_path_GREP"
6943 ac_path_GREP_max
=$ac_count
6945 # 10*(2^10) chars as input seems more than enough
6946 test $ac_count -gt 10 && break
6948 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6951 $ac_path_GREP_found && break 3
6956 if test -z "$ac_cv_path_GREP"; then
6957 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6960 ac_cv_path_GREP
=$GREP
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6965 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6966 GREP
="$ac_cv_path_GREP"
6969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6970 printf %s
"checking for egrep... " >&6; }
6971 if test ${ac_cv_path_EGREP+y}
6973 printf %s
"(cached) " >&6
6975 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6976 then ac_cv_path_EGREP
="$GREP -E"
6978 if test -z "$EGREP"; then
6979 ac_path_EGREP_found
=false
6980 # Loop through the user's path and test for each of PROGNAME-LIST
6981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6982 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6985 case $as_dir in #(((
6988 *) as_dir
=$as_dir/ ;;
6990 for ac_prog
in egrep
6992 for ac_exec_ext
in '' $ac_executable_extensions; do
6993 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6994 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6995 # Check for GNU ac_path_EGREP and select it if it is found.
6996 # Check for GNU $ac_path_EGREP
6997 case `"$ac_path_EGREP" --version 2>&1` in
6999 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7002 printf %s
0123456789 >"conftest.in"
7005 cat "conftest.in" "conftest.in" >"conftest.tmp"
7006 mv "conftest.tmp" "conftest.in"
7007 cp "conftest.in" "conftest.nl"
7008 printf "%s\n" 'EGREP' >> "conftest.nl"
7009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7010 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7011 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7013 # Best one so far, save it but keep looking for a better one
7014 ac_cv_path_EGREP
="$ac_path_EGREP"
7015 ac_path_EGREP_max
=$ac_count
7017 # 10*(2^10) chars as input seems more than enough
7018 test $ac_count -gt 10 && break
7020 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7023 $ac_path_EGREP_found && break 3
7028 if test -z "$ac_cv_path_EGREP"; then
7029 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7032 ac_cv_path_EGREP
=$EGREP
7037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7038 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7039 EGREP
="$ac_cv_path_EGREP"
7042 # Extract the first word of "ldconfig", so it can be a program name with args.
7043 set dummy ldconfig
; ac_word
=$2
7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 printf %s
"checking for $ac_word... " >&6; }
7046 if test ${ac_cv_path_LDCONFIG+y}
7048 printf %s
"(cached) " >&6
7052 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7056 for as_dir
in /sbin
/usr
/sbin
$PATH
7059 case $as_dir in #(((
7062 *) as_dir
=$as_dir/ ;;
7064 for ac_exec_ext
in '' $ac_executable_extensions; do
7065 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7066 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7074 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7078 LDCONFIG
=$ac_cv_path_LDCONFIG
7079 if test -n "$LDCONFIG"; then
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7081 printf "%s\n" "$LDCONFIG" >&6; }
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 printf "%s\n" "no" >&6; }
7088 for ac_prog
in msgfmt
7090 # Extract the first word of "$ac_prog", so it can be a program name with args.
7091 set dummy
$ac_prog; ac_word
=$2
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 printf %s
"checking for $ac_word... " >&6; }
7094 if test ${ac_cv_prog_MSGFMT+y}
7096 printf %s
"(cached) " >&6
7098 if test -n "$MSGFMT"; then
7099 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7105 case $as_dir in #(((
7108 *) as_dir
=$as_dir/ ;;
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7112 ac_cv_prog_MSGFMT
="$ac_prog"
7113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7122 MSGFMT
=$ac_cv_prog_MSGFMT
7123 if test -n "$MSGFMT"; then
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7125 printf "%s\n" "$MSGFMT" >&6; }
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 printf "%s\n" "no" >&6; }
7132 test -n "$MSGFMT" && break
7134 test -n "$MSGFMT" || MSGFMT
="false"
7136 if test ${ac_tool_prefix+y}
7138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7139 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 printf %s
"checking for $ac_word... " >&6; }
7142 if test ${ac_cv_prog_PKG_CONFIG+y}
7144 printf %s
"(cached) " >&6
7146 if test -n "$PKG_CONFIG"; then
7147 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7153 case $as_dir in #(((
7156 *) as_dir
=$as_dir/ ;;
7158 for ac_exec_ext
in '' $ac_executable_extensions; do
7159 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7170 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7171 if test -n "$PKG_CONFIG"; then
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7173 printf "%s\n" "$PKG_CONFIG" >&6; }
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 printf "%s\n" "no" >&6; }
7181 if ${ac_cv_prog_PKG_CONFIG:+false} :
7183 if test "x$cross_compiling" = xyes
7187 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7188 # Extract the first word of "pkg-config", so it can be a program name with args.
7189 set dummy pkg-config
; ac_word
=$2
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 printf %s
"checking for $ac_word... " >&6; }
7192 if test ${ac_cv_prog_PKG_CONFIG+y}
7194 printf %s
"(cached) " >&6
7196 if test -n "$PKG_CONFIG"; then
7197 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7203 case $as_dir in #(((
7206 *) as_dir
=$as_dir/ ;;
7208 for ac_exec_ext
in '' $ac_executable_extensions; do
7209 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7210 ac_cv_prog_PKG_CONFIG
="pkg-config"
7211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7220 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7221 if test -n "$PKG_CONFIG"; then
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7223 printf "%s\n" "$PKG_CONFIG" >&6; }
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226 printf "%s\n" "no" >&6; }
7232 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7235 if test "x$enable_maintainer_mode" != "xyes"
7242 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7243 for ac_prog
in fontforge
7245 # Extract the first word of "$ac_prog", so it can be a program name with args.
7246 set dummy
$ac_prog; ac_word
=$2
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 printf %s
"checking for $ac_word... " >&6; }
7249 if test ${ac_cv_prog_FONTFORGE+y}
7251 printf %s
"(cached) " >&6
7253 if test -n "$FONTFORGE"; then
7254 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7260 case $as_dir in #(((
7263 *) as_dir
=$as_dir/ ;;
7265 for ac_exec_ext
in '' $ac_executable_extensions; do
7266 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7267 ac_cv_prog_FONTFORGE
="$ac_prog"
7268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7277 FONTFORGE
=$ac_cv_prog_FONTFORGE
7278 if test -n "$FONTFORGE"; then
7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7280 printf "%s\n" "$FONTFORGE" >&6; }
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 printf "%s\n" "no" >&6; }
7287 test -n "$FONTFORGE" && break
7289 test -n "$FONTFORGE" || FONTFORGE
="false"
7291 for ac_prog
in rsvg-convert rsvg
7293 # Extract the first word of "$ac_prog", so it can be a program name with args.
7294 set dummy
$ac_prog; ac_word
=$2
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 printf %s
"checking for $ac_word... " >&6; }
7297 if test ${ac_cv_prog_RSVG+y}
7299 printf %s
"(cached) " >&6
7301 if test -n "$RSVG"; then
7302 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7308 case $as_dir in #(((
7311 *) as_dir
=$as_dir/ ;;
7313 for ac_exec_ext
in '' $ac_executable_extensions; do
7314 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_RSVG
="$ac_prog"
7316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7325 RSVG
=$ac_cv_prog_RSVG
7326 if test -n "$RSVG"; then
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7328 printf "%s\n" "$RSVG" >&6; }
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 printf "%s\n" "no" >&6; }
7335 test -n "$RSVG" && break
7337 test -n "$RSVG" || RSVG
="false"
7339 for ac_prog
in convert
7341 # Extract the first word of "$ac_prog", so it can be a program name with args.
7342 set dummy
$ac_prog; ac_word
=$2
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 printf %s
"checking for $ac_word... " >&6; }
7345 if test ${ac_cv_prog_CONVERT+y}
7347 printf %s
"(cached) " >&6
7349 if test -n "$CONVERT"; then
7350 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 case $as_dir in #(((
7359 *) as_dir
=$as_dir/ ;;
7361 for ac_exec_ext
in '' $ac_executable_extensions; do
7362 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_CONVERT
="$ac_prog"
7364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7373 CONVERT
=$ac_cv_prog_CONVERT
7374 if test -n "$CONVERT"; then
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7376 printf "%s\n" "$CONVERT" >&6; }
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 printf "%s\n" "no" >&6; }
7383 test -n "$CONVERT" && break
7385 test -n "$CONVERT" || CONVERT
="false"
7387 for ac_prog
in icotool
7389 # Extract the first word of "$ac_prog", so it can be a program name with args.
7390 set dummy
$ac_prog; ac_word
=$2
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 printf %s
"checking for $ac_word... " >&6; }
7393 if test ${ac_cv_prog_ICOTOOL+y}
7395 printf %s
"(cached) " >&6
7397 if test -n "$ICOTOOL"; then
7398 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7404 case $as_dir in #(((
7407 *) as_dir
=$as_dir/ ;;
7409 for ac_exec_ext
in '' $ac_executable_extensions; do
7410 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_ICOTOOL
="$ac_prog"
7412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7421 ICOTOOL
=$ac_cv_prog_ICOTOOL
7422 if test -n "$ICOTOOL"; then
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7424 printf "%s\n" "$ICOTOOL" >&6; }
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 printf "%s\n" "no" >&6; }
7431 test -n "$ICOTOOL" && break
7433 test -n "$ICOTOOL" || ICOTOOL
="false"
7435 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7436 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7438 if test "$CONVERT" = false
7440 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7443 printf %s
"checking for recent enough imagemagick... " >&6; }
7444 convert_version
=`convert --version | head -n1`
7445 if test "x$convert_version" != "x"
7447 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7448 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7449 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7454 if test "$CONVERT" = false
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7458 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7461 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7465 if test "$ICOTOOL" = false
7467 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7470 printf %s
"checking for recent enough icotool... " >&6; }
7471 icotool_version
=`icotool --version | head -n1`
7472 if test "x$icotool_version" != "x"
7474 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7475 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7476 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7479 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7482 if test "$ICOTOOL" = false
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7486 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7489 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7499 test "x$with_gettext" != xno || MSGFMT
=false
7500 if test "$MSGFMT" != "false"
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7503 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7504 if test ${wine_cv_msgfmt_contexts+y}
7506 printf %s
"(cached) " >&6
7508 cat >conftest.po
<<EOF
7514 if $MSGFMT -o /dev
/null conftest.po
2>&5
7516 wine_cv_msgfmt_contexts
=yes
7518 wine_cv_msgfmt_contexts
=no
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7522 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7523 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7525 if test "$MSGFMT" = false
7527 case "x$with_gettext" in
7528 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7530 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7531 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7533 enable_po
=${enable_po:-no}
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7538 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7539 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7541 printf %s
"(cached) " >&6
7543 ac_check_lib_save_LIBS
=$LIBS
7545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7548 /* Override any GCC internal prototype to avoid an error.
7549 Use char because int might match the return type of a GCC
7550 builtin and then its argument prototype would still apply. */
7551 char i386_set_ldt ();
7555 return i386_set_ldt ();
7560 if ac_fn_c_try_link
"$LINENO"
7562 ac_cv_lib_i386_i386_set_ldt
=yes
7564 ac_cv_lib_i386_i386_set_ldt
=no
7566 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7567 conftest
$ac_exeext conftest.
$ac_ext
7568 LIBS
=$ac_check_lib_save_LIBS
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7571 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7572 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7583 # Check whether --enable-largefile was given.
7584 if test ${enable_largefile+y}
7586 enableval
=$enable_largefile;
7589 if test "$enable_largefile" != no
; then
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7592 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7593 if test ${ac_cv_sys_largefile_CC+y}
7595 printf %s
"(cached) " >&6
7597 ac_cv_sys_largefile_CC
=no
7598 if test "$GCC" != yes; then
7601 # IRIX 6.2 and later do not support large files by default,
7602 # so use the C compiler's -n32 option if that helps.
7603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7605 #include <sys/types.h>
7606 /* Check that off_t can represent 2**63 - 1 correctly.
7607 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7608 since some C++ compilers masquerading as C compilers
7609 incorrectly reject 9223372036854775807. */
7610 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7611 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7612 && LARGE_OFF_T % 2147483647 == 1)
7622 if ac_fn_c_try_compile
"$LINENO"
7626 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7628 if ac_fn_c_try_compile
"$LINENO"
7630 ac_cv_sys_largefile_CC
=' -n32'; break
7632 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7636 rm -f conftest.
$ac_ext
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7640 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7641 if test "$ac_cv_sys_largefile_CC" != no
; then
7642 CC
=$CC$ac_cv_sys_largefile_CC
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7646 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7647 if test ${ac_cv_sys_file_offset_bits+y}
7649 printf %s
"(cached) " >&6
7652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7654 #include <sys/types.h>
7655 /* Check that off_t can represent 2**63 - 1 correctly.
7656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7657 since some C++ compilers masquerading as C compilers
7658 incorrectly reject 9223372036854775807. */
7659 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7660 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7661 && LARGE_OFF_T % 2147483647 == 1)
7671 if ac_fn_c_try_compile
"$LINENO"
7673 ac_cv_sys_file_offset_bits
=no
; break
7675 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7678 #define _FILE_OFFSET_BITS 64
7679 #include <sys/types.h>
7680 /* Check that off_t can represent 2**63 - 1 correctly.
7681 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7682 since some C++ compilers masquerading as C compilers
7683 incorrectly reject 9223372036854775807. */
7684 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7685 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7686 && LARGE_OFF_T % 2147483647 == 1)
7696 if ac_fn_c_try_compile
"$LINENO"
7698 ac_cv_sys_file_offset_bits
=64; break
7700 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7701 ac_cv_sys_file_offset_bits
=unknown
7705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7706 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7707 case $ac_cv_sys_file_offset_bits in #(
7710 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7714 if test $ac_cv_sys_file_offset_bits = unknown
; then
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7716 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7717 if test ${ac_cv_sys_large_files+y}
7719 printf %s
"(cached) " >&6
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 #include <sys/types.h>
7725 /* Check that off_t can represent 2**63 - 1 correctly.
7726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7727 since some C++ compilers masquerading as C compilers
7728 incorrectly reject 9223372036854775807. */
7729 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7731 && LARGE_OFF_T % 2147483647 == 1)
7741 if ac_fn_c_try_compile
"$LINENO"
7743 ac_cv_sys_large_files
=no
; break
7745 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7748 #define _LARGE_FILES 1
7749 #include <sys/types.h>
7750 /* Check that off_t can represent 2**63 - 1 correctly.
7751 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7752 since some C++ compilers masquerading as C compilers
7753 incorrectly reject 9223372036854775807. */
7754 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7755 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7756 && LARGE_OFF_T % 2147483647 == 1)
7766 if ac_fn_c_try_compile
"$LINENO"
7768 ac_cv_sys_large_files
=1; break
7770 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7771 ac_cv_sys_large_files
=unknown
7775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7776 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7777 case $ac_cv_sys_large_files in #(
7780 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7788 ac_header
= ac_cache
=
7789 for ac_item
in $ac_header_c_list
7791 if test $ac_cache; then
7792 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7793 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7794 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7796 ac_header
= ac_cache
=
7797 elif test $ac_header; then
7811 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7814 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7817 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7818 if test "x$ac_cv_header_AL_al_h" = xyes
7820 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7823 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7824 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7826 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7829 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7830 if test "x$ac_cv_header_CL_cl_h" = xyes
7832 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7835 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7836 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7838 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7841 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7844 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7850 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_EGL_egl_h" = xyes
7856 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7862 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7868 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7874 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7880 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_Security_Security_h" = xyes
7886 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7892 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7898 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_arpa_inet_h" = xyes
7904 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7910 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_asm_types_h" = xyes
7916 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_asm_user_h" = xyes
7922 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_elf_h" = xyes
7928 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_float_h" = xyes
7934 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_gettext_po_h" = xyes
7940 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_libproc_h" = xyes
7946 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_link_h" = xyes
7952 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7958 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_filter_h" = xyes
7964 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7970 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7976 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_input_h" = xyes
7982 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7988 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_major_h" = xyes
7994 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_param_h" = xyes
8000 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_serial_h" = xyes
8006 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_types_h" = xyes
8012 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8018 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_lwp_h" = xyes
8024 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8030 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_mach_mach_h" = xyes
8036 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_machine_cpu_h" = xyes
8042 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8048 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_mntent_h" = xyes
8054 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_netdb_h" = xyes
8060 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_netinet_in_h" = xyes
8066 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8072 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8078 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8084 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8090 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_port_h" = xyes
8096 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_pthread_h" = xyes
8102 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_pwd_h" = xyes
8108 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8114 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sched_h" = xyes
8120 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8126 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8132 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_scsi_sg_h" = xyes
8138 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_stdint_h" = xyes
8144 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_attr_h" = xyes
8150 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_auxv_h" = xyes
8156 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_cdio_h" = xyes
8162 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_epoll_h" = xyes
8168 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_event_h" = xyes
8174 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_filio_h" = xyes
8180 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_ipc_h" = xyes
8186 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_link_h" = xyes
8192 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_modem_h" = xyes
8198 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_mtio_h" = xyes
8204 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_param_h" = xyes
8210 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_prctl_h" = xyes
8216 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8222 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_queue_h" = xyes
8228 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_random_h" = xyes
8234 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_resource_h" = xyes
8240 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8246 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_shm_h" = xyes
8252 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_signal_h" = xyes
8258 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8264 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_sockio_h" = xyes
8270 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8276 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_strtio_h" = xyes
8282 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_syscall_h" = xyes
8288 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8294 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_times_h" = xyes
8300 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_uio_h" = xyes
8306 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_user_h" = xyes
8312 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_utsname_h" = xyes
8318 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_vnode_h" = xyes
8324 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_syscall_h" = xyes
8330 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_utime_h" = xyes
8336 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8342 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8348 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8352 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8353 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8356 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8360 if test $ac_cv_header_sys_mkdev_h = no
; then
8361 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8362 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8365 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8371 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8372 if test ${ac_cv_header_stat_broken+y}
8374 printf %s
"(cached) " >&6
8376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 #include <sys/types.h>
8379 #include <sys/stat.h>
8381 #if defined S_ISBLK && defined S_IFDIR
8382 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8385 #if defined S_ISBLK && defined S_IFCHR
8386 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8389 #if defined S_ISLNK && defined S_IFREG
8390 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8393 #if defined S_ISSOCK && defined S_IFREG
8394 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8398 if ac_fn_c_try_compile
"$LINENO"
8400 ac_cv_header_stat_broken
=no
8402 ac_cv_header_stat_broken
=yes
8404 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8407 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8408 if test $ac_cv_header_stat_broken = yes; then
8410 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8416 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8417 #ifdef HAVE_SYS_PARAM_H
8418 # include <sys/param.h>
8421 if test "x$ac_cv_header_sys_conf_h" = xyes
8423 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8426 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8427 #ifdef HAVE_SYS_PARAM_H
8428 # include <sys/param.h>
8431 if test "x$ac_cv_header_sys_mount_h" = xyes
8433 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8437 #ifdef HAVE_SYS_PARAM_H
8438 # include <sys/param.h>
8441 if test "x$ac_cv_header_sys_statfs_h" = xyes
8443 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8447 #ifdef HAVE_SYS_PARAM_H
8448 # include <sys/param.h>
8451 if test "x$ac_cv_header_sys_user_h" = xyes
8453 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8456 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8461 if test "x$ac_cv_header_sys_vfs_h" = xyes
8463 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8468 saved_sysctl_h_CFLAGS
=$CFLAGS
8469 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8470 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8471 #ifdef HAVE_SYS_PARAM_H
8472 # include <sys/param.h>
8475 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8477 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8481 CFLAGS
=$saved_sysctl_h_CFLAGS
8483 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8484 #include <sys/socket.h>
8485 #ifdef HAVE_SYS_SOCKETVAR_H
8486 # include <sys/socketvar.h>
8488 #ifdef HAVE_NET_ROUTE_H
8489 # include <net/route.h>
8491 #ifdef HAVE_NETINET_IN_H
8492 # include <netinet/in.h>
8494 #ifdef HAVE_NETINET_IN_SYSTM_H
8495 # include <netinet/in_systm.h>
8497 #ifdef HAVE_NET_IF_H
8498 # include <net/if.h>
8500 #ifdef HAVE_NETINET_IP_H
8501 # include <netinet/ip.h>
8504 if test "x$ac_cv_header_netinet_ip_h" = xyes
8506 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8509 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8510 #include <sys/socket.h>
8511 #ifdef HAVE_SYS_SOCKETVAR_H
8512 # include <sys/socketvar.h>
8514 #ifdef HAVE_NET_ROUTE_H
8515 # include <net/route.h>
8517 #ifdef HAVE_NETINET_IN_H
8518 # include <netinet/in.h>
8520 #ifdef HAVE_NETINET_IN_SYSTM_H
8521 # include <netinet/in_systm.h>
8523 #ifdef HAVE_NET_IF_H
8524 # include <net/if.h>
8526 #ifdef HAVE_NETINET_IP_H
8527 # include <netinet/ip.h>
8530 if test "x$ac_cv_header_net_if_h" = xyes
8532 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8535 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8536 #include <sys/socket.h>
8537 #ifdef HAVE_SYS_SOCKETVAR_H
8538 # include <sys/socketvar.h>
8540 #ifdef HAVE_NET_ROUTE_H
8541 # include <net/route.h>
8543 #ifdef HAVE_NETINET_IN_H
8544 # include <netinet/in.h>
8546 #ifdef HAVE_NETINET_IN_SYSTM_H
8547 # include <netinet/in_systm.h>
8549 #ifdef HAVE_NET_IF_H
8550 # include <net/if.h>
8552 #ifdef HAVE_NETINET_IP_H
8553 # include <netinet/ip.h>
8556 if test "x$ac_cv_header_net_if_arp_h" = xyes
8558 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8562 #include <sys/socket.h>
8563 #ifdef HAVE_SYS_SOCKETVAR_H
8564 # include <sys/socketvar.h>
8566 #ifdef HAVE_NET_ROUTE_H
8567 # include <net/route.h>
8569 #ifdef HAVE_NETINET_IN_H
8570 # include <netinet/in.h>
8572 #ifdef HAVE_NETINET_IN_SYSTM_H
8573 # include <netinet/in_systm.h>
8575 #ifdef HAVE_NET_IF_H
8576 # include <net/if.h>
8578 #ifdef HAVE_NETINET_IP_H
8579 # include <netinet/ip.h>
8582 if test "x$ac_cv_header_net_if_dl_h" = xyes
8584 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8587 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8588 #include <sys/socket.h>
8589 #ifdef HAVE_SYS_SOCKETVAR_H
8590 # include <sys/socketvar.h>
8592 #ifdef HAVE_NET_ROUTE_H
8593 # include <net/route.h>
8595 #ifdef HAVE_NETINET_IN_H
8596 # include <netinet/in.h>
8598 #ifdef HAVE_NETINET_IN_SYSTM_H
8599 # include <netinet/in_systm.h>
8601 #ifdef HAVE_NET_IF_H
8602 # include <net/if.h>
8604 #ifdef HAVE_NETINET_IP_H
8605 # include <netinet/ip.h>
8608 if test "x$ac_cv_header_net_if_types_h" = xyes
8610 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8613 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8614 #include <sys/socket.h>
8615 #ifdef HAVE_SYS_SOCKETVAR_H
8616 # include <sys/socketvar.h>
8618 #ifdef HAVE_NET_ROUTE_H
8619 # include <net/route.h>
8621 #ifdef HAVE_NETINET_IN_H
8622 # include <netinet/in.h>
8624 #ifdef HAVE_NETINET_IN_SYSTM_H
8625 # include <netinet/in_systm.h>
8627 #ifdef HAVE_NET_IF_H
8628 # include <net/if.h>
8630 #ifdef HAVE_NETINET_IP_H
8631 # include <netinet/ip.h>
8634 if test "x$ac_cv_header_net_route_h" = xyes
8636 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8640 #include <sys/socket.h>
8641 #ifdef HAVE_SYS_SOCKETVAR_H
8642 # include <sys/socketvar.h>
8644 #ifdef HAVE_NET_ROUTE_H
8645 # include <net/route.h>
8647 #ifdef HAVE_NETINET_IN_H
8648 # include <netinet/in.h>
8650 #ifdef HAVE_NETINET_IN_SYSTM_H
8651 # include <netinet/in_systm.h>
8653 #ifdef HAVE_NET_IF_H
8654 # include <net/if.h>
8656 #ifdef HAVE_NETINET_IP_H
8657 # include <netinet/ip.h>
8660 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8662 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8665 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8666 #include <sys/socket.h>
8667 #ifdef HAVE_SYS_SOCKETVAR_H
8668 # include <sys/socketvar.h>
8670 #ifdef HAVE_NET_ROUTE_H
8671 # include <net/route.h>
8673 #ifdef HAVE_NETINET_IN_H
8674 # include <netinet/in.h>
8676 #ifdef HAVE_NETINET_IN_SYSTM_H
8677 # include <netinet/in_systm.h>
8679 #ifdef HAVE_NET_IF_H
8680 # include <net/if.h>
8682 #ifdef HAVE_NETINET_IP_H
8683 # include <netinet/ip.h>
8686 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8688 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8691 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8692 #include <sys/socket.h>
8693 #ifdef HAVE_SYS_SOCKETVAR_H
8694 # include <sys/socketvar.h>
8696 #ifdef HAVE_NET_ROUTE_H
8697 # include <net/route.h>
8699 #ifdef HAVE_NETINET_IN_H
8700 # include <netinet/in.h>
8702 #ifdef HAVE_NETINET_IN_SYSTM_H
8703 # include <netinet/in_systm.h>
8705 #ifdef HAVE_NET_IF_H
8706 # include <net/if.h>
8708 #ifdef HAVE_NETINET_IP_H
8709 # include <netinet/ip.h>
8712 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8714 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8717 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8718 #include <sys/socket.h>
8719 #ifdef HAVE_SYS_SOCKETVAR_H
8720 # include <sys/socketvar.h>
8722 #ifdef HAVE_NET_ROUTE_H
8723 # include <net/route.h>
8725 #ifdef HAVE_NETINET_IN_H
8726 # include <netinet/in.h>
8728 #ifdef HAVE_NETINET_IN_SYSTM_H
8729 # include <netinet/in_systm.h>
8731 #ifdef HAVE_NET_IF_H
8732 # include <net/if.h>
8734 #ifdef HAVE_NETINET_IP_H
8735 # include <netinet/ip.h>
8738 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8740 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8743 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8744 #include <sys/socket.h>
8745 #ifdef HAVE_SYS_SOCKETVAR_H
8746 # include <sys/socketvar.h>
8748 #ifdef HAVE_NET_ROUTE_H
8749 # include <net/route.h>
8751 #ifdef HAVE_NETINET_IN_H
8752 # include <netinet/in.h>
8754 #ifdef HAVE_NETINET_IN_SYSTM_H
8755 # include <netinet/in_systm.h>
8757 #ifdef HAVE_NET_IF_H
8758 # include <net/if.h>
8760 #ifdef HAVE_NETINET_IP_H
8761 # include <netinet/ip.h>
8764 if test "x$ac_cv_header_netinet_udp_h" = xyes
8766 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8769 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8770 #include <sys/socket.h>
8771 #ifdef HAVE_SYS_SOCKETVAR_H
8772 # include <sys/socketvar.h>
8774 #ifdef HAVE_NET_ROUTE_H
8775 # include <net/route.h>
8777 #ifdef HAVE_NETINET_IN_H
8778 # include <netinet/in.h>
8780 #ifdef HAVE_NETINET_IN_SYSTM_H
8781 # include <netinet/in_systm.h>
8783 #ifdef HAVE_NET_IF_H
8784 # include <net/if.h>
8786 #ifdef HAVE_NETINET_IP_H
8787 # include <netinet/ip.h>
8790 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8792 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8795 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8796 #include <sys/socket.h>
8797 #ifdef HAVE_SYS_SOCKETVAR_H
8798 # include <sys/socketvar.h>
8800 #ifdef HAVE_NET_ROUTE_H
8801 # include <net/route.h>
8803 #ifdef HAVE_NETINET_IN_H
8804 # include <netinet/in.h>
8806 #ifdef HAVE_NETINET_IN_SYSTM_H
8807 # include <netinet/in_systm.h>
8809 #ifdef HAVE_NET_IF_H
8810 # include <net/if.h>
8812 #ifdef HAVE_NETINET_IP_H
8813 # include <netinet/ip.h>
8816 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8818 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8821 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8822 #include <sys/socket.h>
8823 #ifdef HAVE_SYS_SOCKETVAR_H
8824 # include <sys/socketvar.h>
8826 #ifdef HAVE_NET_ROUTE_H
8827 # include <net/route.h>
8829 #ifdef HAVE_NETINET_IN_H
8830 # include <netinet/in.h>
8832 #ifdef HAVE_NETINET_IN_SYSTM_H
8833 # include <netinet/in_systm.h>
8835 #ifdef HAVE_NET_IF_H
8836 # include <net/if.h>
8838 #ifdef HAVE_NETINET_IP_H
8839 # include <netinet/ip.h>
8842 if test "x$ac_cv_header_sys_un_h" = xyes
8844 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8849 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8850 #include <sys/socket.h>
8851 #ifdef HAVE_SYS_SOCKETVAR_H
8852 # include <sys/socketvar.h>
8854 #ifdef HAVE_NETINET_IN_H
8855 # include <netinet/in.h>
8857 #ifdef HAVE_NETINET_IN_SYSTM_H
8858 # include <netinet/in_systm.h>
8860 #ifdef HAVE_NETINET_IP_H
8861 # include <netinet/ip.h>
8863 #ifdef HAVE_NETINET_IP_VAR_H
8864 # include <netinet/ip_var.h>
8866 #ifdef HAVE_NETINET_IP_ICMP_H
8867 # include <netinet/ip_icmp.h>
8869 #ifdef HAVE_NETINET_UDP_H
8870 # include <netinet/udp.h>
8872 #ifdef HAVE_NETINET_TCP_H
8873 # include <netinet/tcp.h>
8876 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8878 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8881 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8882 #include <sys/socket.h>
8883 #ifdef HAVE_SYS_SOCKETVAR_H
8884 # include <sys/socketvar.h>
8886 #ifdef HAVE_NETINET_IN_H
8887 # include <netinet/in.h>
8889 #ifdef HAVE_NETINET_IN_SYSTM_H
8890 # include <netinet/in_systm.h>
8892 #ifdef HAVE_NETINET_IP_H
8893 # include <netinet/ip.h>
8895 #ifdef HAVE_NETINET_IP_VAR_H
8896 # include <netinet/ip_var.h>
8898 #ifdef HAVE_NETINET_IP_ICMP_H
8899 # include <netinet/ip_icmp.h>
8901 #ifdef HAVE_NETINET_UDP_H
8902 # include <netinet/udp.h>
8904 #ifdef HAVE_NETINET_TCP_H
8905 # include <netinet/tcp.h>
8908 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8910 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8913 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8914 #include <sys/socket.h>
8915 #ifdef HAVE_SYS_SOCKETVAR_H
8916 # include <sys/socketvar.h>
8918 #ifdef HAVE_NETINET_IN_H
8919 # include <netinet/in.h>
8921 #ifdef HAVE_NETINET_IN_SYSTM_H
8922 # include <netinet/in_systm.h>
8924 #ifdef HAVE_NETINET_IP_H
8925 # include <netinet/ip.h>
8927 #ifdef HAVE_NETINET_IP_VAR_H
8928 # include <netinet/ip_var.h>
8930 #ifdef HAVE_NETINET_IP_ICMP_H
8931 # include <netinet/ip_icmp.h>
8933 #ifdef HAVE_NETINET_UDP_H
8934 # include <netinet/udp.h>
8936 #ifdef HAVE_NETINET_TCP_H
8937 # include <netinet/tcp.h>
8940 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8942 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8945 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8946 #include <sys/socket.h>
8947 #ifdef HAVE_SYS_SOCKETVAR_H
8948 # include <sys/socketvar.h>
8950 #ifdef HAVE_NETINET_IN_H
8951 # include <netinet/in.h>
8953 #ifdef HAVE_NETINET_IN_SYSTM_H
8954 # include <netinet/in_systm.h>
8956 #ifdef HAVE_NETINET_IP_H
8957 # include <netinet/ip.h>
8959 #ifdef HAVE_NETINET_IP_VAR_H
8960 # include <netinet/ip_var.h>
8962 #ifdef HAVE_NETINET_IP_ICMP_H
8963 # include <netinet/ip_icmp.h>
8965 #ifdef HAVE_NETINET_UDP_H
8966 # include <netinet/udp.h>
8968 #ifdef HAVE_NETINET_TCP_H
8969 # include <netinet/tcp.h>
8972 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8974 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8980 #include <sys/socket.h>
8981 #ifdef HAVE_ASM_TYPES_H
8982 # include <asm/types.h>
8984 #ifdef HAVE_LINUX_TYPES_H
8985 # include <linux/types.h>
8988 if test "x$ac_cv_header_linux_ipx_h" = xyes
8990 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8994 #include <sys/socket.h>
8995 #ifdef HAVE_ASM_TYPES_H
8996 # include <asm/types.h>
8998 #ifdef HAVE_LINUX_TYPES_H
8999 # include <linux/types.h>
9002 if test "x$ac_cv_header_linux_irda_h" = xyes
9004 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9007 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9008 #include <sys/socket.h>
9009 #ifdef HAVE_ASM_TYPES_H
9010 # include <asm/types.h>
9012 #ifdef HAVE_LINUX_TYPES_H
9013 # include <linux/types.h>
9016 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9018 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9024 #include <sys/socket.h>
9025 #ifdef HAVE_NETINET_IN_H
9026 # include <netinet/in.h>
9028 #ifdef HAVE_ARPA_NAMESER_H
9029 # include <arpa/nameser.h>
9032 if test "x$ac_cv_header_resolv_h" = xyes
9034 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9039 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9041 if test "x$ac_cv_header_ifaddrs_h" = xyes
9043 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9050 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9052 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9057 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9058 #ifdef HAVE_SYS_UCONTEXT_H
9059 #include <sys/ucontext.h>
9062 if test "x$ac_cv_header_sys_thr_h" = xyes
9064 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9070 #include <pthread.h>
9073 if test "x$ac_cv_header_pthread_np_h" = xyes
9075 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9081 #include <sys/types.h>
9082 #ifdef HAVE_ASM_TYPES_H
9083 #include <asm/types.h>
9086 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9088 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9093 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9094 #include <sys/param.h>
9096 #include <sys/socket.h>
9097 #ifdef HAVE_SYS_QUEUE_H
9098 #include <sys/queue.h>
9101 if test "x$ac_cv_header_libprocstat_h" = xyes
9103 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9117 UNIXDLLFLAGS
="-fPIC"
9119 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9125 WINELOADER_LDFLAGS
=""
9127 WINEPRELOADER_LDFLAGS
=""
9130 # Extract the first word of "ldd", so it can be a program name with args.
9131 set dummy ldd
; ac_word
=$2
9132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9133 printf %s
"checking for $ac_word... " >&6; }
9134 if test ${ac_cv_path_LDD+y}
9136 printf %s
"(cached) " >&6
9140 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9144 as_dummy
="/sbin:/usr/sbin:$PATH"
9145 for as_dir
in $as_dummy
9148 case $as_dir in #(((
9151 *) as_dir
=$as_dir/ ;;
9153 for ac_exec_ext
in '' $ac_executable_extensions; do
9154 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9155 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9163 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9168 if test -n "$LDD"; then
9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9170 printf "%s\n" "$LDD" >&6; }
9172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 printf "%s\n" "no" >&6; }
9177 if test -n "$ac_tool_prefix"; then
9178 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9179 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9181 printf %s
"checking for $ac_word... " >&6; }
9182 if test ${ac_cv_prog_OTOOL+y}
9184 printf %s
"(cached) " >&6
9186 if test -n "$OTOOL"; then
9187 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9193 case $as_dir in #(((
9196 *) as_dir
=$as_dir/ ;;
9198 for ac_exec_ext
in '' $ac_executable_extensions; do
9199 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9200 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9210 OTOOL
=$ac_cv_prog_OTOOL
9211 if test -n "$OTOOL"; then
9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9213 printf "%s\n" "$OTOOL" >&6; }
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 printf "%s\n" "no" >&6; }
9221 if test -z "$ac_cv_prog_OTOOL"; then
9223 # Extract the first word of "otool", so it can be a program name with args.
9224 set dummy otool
; ac_word
=$2
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9226 printf %s
"checking for $ac_word... " >&6; }
9227 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9229 printf %s
"(cached) " >&6
9231 if test -n "$ac_ct_OTOOL"; then
9232 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9238 case $as_dir in #(((
9241 *) as_dir
=$as_dir/ ;;
9243 for ac_exec_ext
in '' $ac_executable_extensions; do
9244 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9245 ac_cv_prog_ac_ct_OTOOL
="otool"
9246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9255 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9256 if test -n "$ac_ct_OTOOL"; then
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9258 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9261 printf "%s\n" "no" >&6; }
9264 if test "x$ac_ct_OTOOL" = x
; then
9267 case $cross_compiling:$ac_tool_warned in
9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9271 ac_tool_warned
=yes ;;
9276 OTOOL
="$ac_cv_prog_OTOOL"
9279 if test -n "$ac_tool_prefix"; then
9280 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9281 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9283 printf %s
"checking for $ac_word... " >&6; }
9284 if test ${ac_cv_prog_READELF+y}
9286 printf %s
"(cached) " >&6
9288 if test -n "$READELF"; then
9289 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9295 case $as_dir in #(((
9298 *) as_dir
=$as_dir/ ;;
9300 for ac_exec_ext
in '' $ac_executable_extensions; do
9301 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9302 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9312 READELF
=$ac_cv_prog_READELF
9313 if test -n "$READELF"; then
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9315 printf "%s\n" "$READELF" >&6; }
9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9318 printf "%s\n" "no" >&6; }
9323 if test -z "$ac_cv_prog_READELF"; then
9324 ac_ct_READELF
=$READELF
9325 # Extract the first word of "readelf", so it can be a program name with args.
9326 set dummy readelf
; ac_word
=$2
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9328 printf %s
"checking for $ac_word... " >&6; }
9329 if test ${ac_cv_prog_ac_ct_READELF+y}
9331 printf %s
"(cached) " >&6
9333 if test -n "$ac_ct_READELF"; then
9334 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9340 case $as_dir in #(((
9343 *) as_dir
=$as_dir/ ;;
9345 for ac_exec_ext
in '' $ac_executable_extensions; do
9346 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9347 ac_cv_prog_ac_ct_READELF
="readelf"
9348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9357 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9358 if test -n "$ac_ct_READELF"; then
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9360 printf "%s\n" "$ac_ct_READELF" >&6; }
9362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363 printf "%s\n" "no" >&6; }
9366 if test "x$ac_ct_READELF" = x
; then
9369 case $cross_compiling:$ac_tool_warned in
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9372 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9373 ac_tool_warned
=yes ;;
9375 READELF
=$ac_ct_READELF
9378 READELF
="$ac_cv_prog_READELF"
9386 CONFIGURE_TARGETS
=""
9389 wine_fn_append_file
()
9391 as_fn_append
$1 " \\$as_nl $2"
9394 wine_fn_append_rule
()
9396 as_fn_append wine_rules
"$as_nl$1"
9399 wine_fn_config_makefile
()
9401 wine_fn_append_file SUBDIRS
$1
9402 if eval test \"x\$
"$2"\" = x
"no"
9404 wine_fn_append_file DISABLED_SUBDIRS
$1
9408 wine_fn_config_symlink
()
9411 wine_fn_append_rule \
9413 @./config.status \$@"
9414 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
9418 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
9419 WINELOADER_PROGRAMS
="$wine_binary"
9421 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9425 if test -n "$ac_tool_prefix"; then
9426 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9427 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9429 printf %s
"checking for $ac_word... " >&6; }
9430 if test ${ac_cv_prog_DLLTOOL+y}
9432 printf %s
"(cached) " >&6
9434 if test -n "$DLLTOOL"; then
9435 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9441 case $as_dir in #(((
9444 *) as_dir
=$as_dir/ ;;
9446 for ac_exec_ext
in '' $ac_executable_extensions; do
9447 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9448 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9458 DLLTOOL
=$ac_cv_prog_DLLTOOL
9459 if test -n "$DLLTOOL"; then
9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9461 printf "%s\n" "$DLLTOOL" >&6; }
9463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9464 printf "%s\n" "no" >&6; }
9469 if test -z "$ac_cv_prog_DLLTOOL"; then
9470 ac_ct_DLLTOOL
=$DLLTOOL
9471 # Extract the first word of "dlltool", so it can be a program name with args.
9472 set dummy dlltool
; ac_word
=$2
9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9474 printf %s
"checking for $ac_word... " >&6; }
9475 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9477 printf %s
"(cached) " >&6
9479 if test -n "$ac_ct_DLLTOOL"; then
9480 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9486 case $as_dir in #(((
9489 *) as_dir
=$as_dir/ ;;
9491 for ac_exec_ext
in '' $ac_executable_extensions; do
9492 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9493 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9503 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9504 if test -n "$ac_ct_DLLTOOL"; then
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9506 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 printf "%s\n" "no" >&6; }
9512 if test "x$ac_ct_DLLTOOL" = x
; then
9515 case $cross_compiling:$ac_tool_warned in
9517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9518 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9519 ac_tool_warned
=yes ;;
9521 DLLTOOL
=$ac_ct_DLLTOOL
9524 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9528 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9530 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9531 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9532 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9534 printf %s
"(cached) " >&6
9536 ac_wine_try_cflags_saved
=$CFLAGS
9537 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9542 if ac_fn_c_try_link
"$LINENO"
9544 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9546 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9548 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 CFLAGS
=$ac_wine_try_cflags_saved
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9553 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9554 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9556 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9559 enable_loader
=${enable_loader:-no}
9560 enable_server
=${enable_server:-no}
9561 with_x
=${with_x:-no}
9562 with_pthread
=${with_pthread:-no}
9567 ac_cpp
='$OBJCPP $CPPFLAGS'
9568 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9569 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9570 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9573 ac_cpp
='$OBJCPP $CPPFLAGS'
9574 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9575 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9576 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9577 if test -n "$ac_tool_prefix"; then
9578 for ac_prog
in gcc objcc objc cc CC clang
9580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9581 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 printf %s
"checking for $ac_word... " >&6; }
9584 if test ${ac_cv_prog_OBJC+y}
9586 printf %s
"(cached) " >&6
9588 if test -n "$OBJC"; then
9589 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9595 case $as_dir in #(((
9598 *) as_dir
=$as_dir/ ;;
9600 for ac_exec_ext
in '' $ac_executable_extensions; do
9601 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9602 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9612 OBJC
=$ac_cv_prog_OBJC
9613 if test -n "$OBJC"; then
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9615 printf "%s\n" "$OBJC" >&6; }
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9618 printf "%s\n" "no" >&6; }
9622 test -n "$OBJC" && break
9625 if test -z "$OBJC"; then
9627 for ac_prog
in gcc objcc objc cc CC clang
9629 # Extract the first word of "$ac_prog", so it can be a program name with args.
9630 set dummy
$ac_prog; ac_word
=$2
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9632 printf %s
"checking for $ac_word... " >&6; }
9633 if test ${ac_cv_prog_ac_ct_OBJC+y}
9635 printf %s
"(cached) " >&6
9637 if test -n "$ac_ct_OBJC"; then
9638 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9644 case $as_dir in #(((
9647 *) as_dir
=$as_dir/ ;;
9649 for ac_exec_ext
in '' $ac_executable_extensions; do
9650 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9651 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9661 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9662 if test -n "$ac_ct_OBJC"; then
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9664 printf "%s\n" "$ac_ct_OBJC" >&6; }
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9667 printf "%s\n" "no" >&6; }
9671 test -n "$ac_ct_OBJC" && break
9674 if test "x$ac_ct_OBJC" = x
; then
9677 case $cross_compiling:$ac_tool_warned in
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9680 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9681 ac_tool_warned
=yes ;;
9687 # Provide some information about the compiler.
9688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9691 for ac_option
in --version -v -V -qversion; do
9692 { { ac_try
="$ac_compiler $ac_option >&5"
9694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9695 *) ac_try_echo=$ac_try;;
9697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9698 printf "%s\n" "$ac_try_echo"; } >&5
9699 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9701 if test -s conftest.err; then
9703 ... rest of stderr output deleted ...
9704 10q' conftest.err >conftest.er1
9705 cat conftest.er1 >&5
9707 rm -f conftest.er1 conftest.err
9708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9709 test $ac_status = 0; }
9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9713 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9714 if test ${ac_cv_objc_compiler_gnu+y}
9716 printf %s "(cached) " >&6
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9732 if ac_fn_objc_try_compile "$LINENO"
9738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9739 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9743 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9744 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9746 if test $ac_compiler_gnu = yes; then
9751 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9752 ac_save_OBJCFLAGS=$OBJCFLAGS
9753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9754 printf %s "checking whether $OBJC accepts -g... " >&6; }
9755 if test ${ac_cv_prog_objc_g+y}
9757 printf %s "(cached) " >&6
9759 ac_save_objc_werror_flag=$ac_objc_werror_flag
9760 ac_objc_werror_flag=yes
9761 ac_cv_prog_objc_g=no
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9774 if ac_fn_objc_try_compile "$LINENO"
9776 ac_cv_prog_objc_g=yes
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9790 if ac_fn_objc_try_compile "$LINENO"
9794 ac_objc_werror_flag=$ac_save_objc_werror_flag
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9807 if ac_fn_objc_try_compile "$LINENO"
9809 ac_cv_prog_objc_g=yes
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9816 ac_objc_werror_flag=$ac_save_objc_werror_flag
9818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9819 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9820 if test $ac_test_OBJCFLAGS; then
9821 OBJCFLAGS=$ac_save_OBJCFLAGS
9822 elif test $ac_cv_prog_objc_g = yes; then
9823 if test "$GOBJC" = yes; then
9829 if test "$GOBJC" = yes; then
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
9842 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9843 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9845 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9850 ac_cpp='$CPP $CPPFLAGS'
9851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9856 DLLFLAGS="$DLLFLAGS -fPIC"
9858 COREFOUNDATION_LIBS="-framework CoreFoundation"
9860 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9862 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9864 CORESERVICES_LIBS="-framework CoreServices"
9866 APPKIT_LIBS="-framework AppKit"
9868 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9871 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9873 wine_can_build_preloader=yes
9874 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"
9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9876 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9877 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9879 printf %s "(cached) " >&6
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int main(int argc, char **argv) { return 0; }
9887 if ac_fn_c_try_link "$LINENO"
9889 ac_cv_cflags__Wl__no_new_main__e__main=yes
9891 ac_cv_cflags__Wl__no_new_main__e__main=no
9893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9894 conftest$ac_exeext conftest.$ac_ext
9895 CFLAGS=$ac_wine_try_cflags_saved
9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9898 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9899 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9901 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9902 { 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
9903 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9904 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9906 printf %s "(cached) " >&6
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int main(int argc, char **argv) { return 0; }
9914 if ac_fn_c_try_link "$LINENO"
9916 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9918 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9924 { 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
9925 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9926 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9928 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9930 wine_can_build_preloader=no
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9934 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9935 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9937 printf %s "(cached) " >&6
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int main(int argc, char **argv) { return 0; }
9945 if ac_fn_c_try_link "$LINENO"
9947 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9949 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9956 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9957 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9959 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9961 wine_can_build_preloader=no
9964 if test "$wine_can_build_preloader" = "yes"
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9967 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9968 if test ${ac_cv_cflags__Wl__no_pie+y}
9970 printf %s "(cached) " >&6
9972 ac_wine_try_cflags_saved=$CFLAGS
9973 CFLAGS="$CFLAGS -Wl,-no_pie"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 int main(int argc, char **argv) { return 0; }
9978 if ac_fn_c_try_link "$LINENO"
9980 ac_cv_cflags__Wl__no_pie=yes
9982 ac_cv_cflags__Wl__no_pie=no
9984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9985 conftest$ac_exeext conftest.$ac_ext
9986 CFLAGS=$ac_wine_try_cflags_saved
9988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9989 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9990 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9992 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9994 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9995 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9997 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10000 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10002 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10005 if test "$ac_cv_header_Security_Security_h" = "yes"
10007 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10010 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10012 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10014 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10016 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10018 OPENAL_LIBS="-framework OpenAL"
10021 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10023 ac_cv_lib_openal=yes
10025 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10027 OPENCL_LIBS="-framework OpenCL"
10029 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10031 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10033 ac_save_LIBS="$LIBS"
10034 LIBS="$LIBS $IOKIT_LIBS"
10035 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10036 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10038 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10042 LIBS="$ac_save_LIBS"
10045 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10047 CARBON_LIBS="-framework Carbon"
10050 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10052 METAL_LIBS="-framework Metal"
10056 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10059 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10061 ac_cpp='$OBJCPP $CPPFLAGS'
10062 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10063 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10064 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 #include <Metal/Metal.h>
10072 id<MTLDevice> device; device.registryID;
10077 if ac_fn_objc_try_compile "$LINENO"
10079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10080 printf "%s\n" "yes" >&6; }
10082 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086 printf "%s\n" "no" >&6; }
10088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10090 ac_cpp='$CPP $CPPFLAGS'
10091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10097 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10099 ac_save_LIBS="$LIBS"
10100 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10101 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10102 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10104 enable_winemac_drv=${enable_winemac_drv:-yes}
10107 LIBS="$ac_save_LIBS"
10110 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10111 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10113 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10115 WINELOADER_DEPENDS="wine_info.plist"
10117 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10122 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10124 DLLFLAGS="$DLLFLAGS -fPIC"
10126 LDEXECFLAGS="-Wl,-pie"
10127 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10129 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10130 if test ${ac_cv_cflags__Wl__z_defs+y}
10132 printf %s "(cached) " >&6
10134 ac_wine_try_cflags_saved=$CFLAGS
10135 CFLAGS="$CFLAGS -Wl,-z,defs"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 int main(int argc, char **argv) { return 0; }
10140 if ac_fn_c_try_link "$LINENO"
10142 ac_cv_cflags__Wl__z_defs=yes
10144 ac_cv_cflags__Wl__z_defs=no
10146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10147 conftest$ac_exeext conftest.$ac_ext
10148 CFLAGS=$ac_wine_try_cflags_saved
10150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10151 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10152 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10154 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10157 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10158 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10160 printf %s "(cached) " >&6
10162 ac_wine_try_cflags_saved=$CFLAGS
10163 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10166 int main(int argc, char **argv) { return 0; }
10168 if ac_fn_c_try_link "$LINENO"
10170 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10172 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10179 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10180 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10182 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10184 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10187 printf %s "checking for -lEGL... " >&6; }
10188 if test ${ac_cv_lib_soname_EGL+y}
10190 printf %s "(cached) " >&6
10192 ac_check_soname_save_LIBS=$LIBS
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10200 char eglGetProcAddress ();
10204 return eglGetProcAddress ();
10209 if ac_fn_c_try_link "$LINENO"
10212 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10213 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'` ;;
10214 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10215 if ${ac_cv_lib_soname_EGL:+false} :
10217 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10221 ac_cv_lib_soname_EGL=
10223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_soname_save_LIBS
10227 if ${ac_cv_lib_soname_EGL:+false} :
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10230 printf "%s\n" "not found" >&6; }
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10234 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10236 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10241 printf %s "checking for -lGLESv2... " >&6; }
10242 if test ${ac_cv_lib_soname_GLESv2+y}
10244 printf %s "(cached) " >&6
10246 ac_check_soname_save_LIBS=$LIBS
10247 LIBS="-lGLESv2 $LIBS"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10263 if ac_fn_c_try_link "$LINENO"
10266 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_GLESv2:+false} :
10271 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10275 ac_cv_lib_soname_GLESv2=
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_soname_save_LIBS
10281 if ${ac_cv_lib_soname_GLESv2:+false} :
10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10284 printf "%s\n" "not found" >&6; }
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10288 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10290 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10295 if test "x$exec_prefix" = xNONE
10298 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10299 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10300 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10301 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10308 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10310 test "$ac_cv_sys_file_offset_bits" = 64 &&
10311 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10315 DLLFLAGS="$DLLFLAGS -fno-PIC"
10316 LDDLLFLAGS="-fno-PIC"
10317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10318 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10319 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10321 printf %s "(cached) " >&6
10323 ac_wine_try_cflags_saved=$CFLAGS
10324 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 int main(int argc, char **argv) { return 0; }
10329 if ac_fn_c_try_link "$LINENO"
10331 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10333 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10336 conftest$ac_exeext conftest.$ac_ext
10337 CFLAGS=$ac_wine_try_cflags_saved
10339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10340 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10341 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10343 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10347 DLLFLAGS="$DLLFLAGS -fPIC"
10348 LDDLLFLAGS="-fPIC" ;;
10350 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10352 echo '{ global: *; };' >conftest.map
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10354 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10355 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10357 printf %s "(cached) " >&6
10359 ac_wine_try_cflags_saved=$CFLAGS
10360 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10363 int main(int argc, char **argv) { return 0; }
10365 if ac_fn_c_try_link "$LINENO"
10367 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10369 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10372 conftest$ac_exeext conftest.$ac_ext
10373 CFLAGS=$ac_wine_try_cflags_saved
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10376 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10377 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10379 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10384 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10385 if test ${ac_cv_cflags__Wl__z_defs+y}
10387 printf %s "(cached) " >&6
10389 ac_wine_try_cflags_saved=$CFLAGS
10390 CFLAGS="$CFLAGS -Wl,-z,defs"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 int main(int argc, char **argv) { return 0; }
10395 if ac_fn_c_try_link "$LINENO"
10397 ac_cv_cflags__Wl__z_defs=yes
10399 ac_cv_cflags__Wl__z_defs=no
10401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10402 conftest$ac_exeext conftest.$ac_ext
10403 CFLAGS=$ac_wine_try_cflags_saved
10405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10406 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10407 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10409 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10412 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10413 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10415 printf %s "(cached) " >&6
10417 ac_wine_try_cflags_saved=$CFLAGS
10418 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int main(int argc, char **argv) { return 0; }
10423 if ac_fn_c_try_link "$LINENO"
10425 ac_cv_cflags__Wl___export_dynamic=yes
10427 ac_cv_cflags__Wl___export_dynamic=no
10429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10434 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10435 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10437 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10439 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10442 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10444 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10445 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10447 printf %s "(cached) " >&6
10449 ac_wine_try_cflags_saved=$CFLAGS
10450 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 int main(int argc, char **argv) { return 0; }
10455 if ac_fn_c_try_link "$LINENO"
10457 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10459 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10462 conftest$ac_exeext conftest.$ac_ext
10463 CFLAGS=$ac_wine_try_cflags_saved
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10466 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10467 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10470 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10471 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10475 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10476 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10478 printf %s "(cached) " >&6
10480 ac_wine_try_cflags_saved=$CFLAGS
10481 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int main(int argc, char **argv) { return 0; }
10486 if ac_fn_c_try_link "$LINENO"
10488 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10490 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10493 conftest$ac_exeext conftest.$ac_ext
10494 CFLAGS=$ac_wine_try_cflags_saved
10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10497 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10498 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10501 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10502 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10505 # Extract the first word of "prelink", so it can be a program name with args.
10506 set dummy prelink; ac_word=$2
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10508 printf %s "checking for $ac_word... " >&6; }
10509 if test ${ac_cv_path_PRELINK+y}
10511 printf %s "(cached) " >&6
10515 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10519 for as_dir in /sbin /usr/sbin $PATH
10522 case $as_dir in #(((
10525 *) as_dir=$as_dir/ ;;
10527 for ac_exec_ext in '' $ac_executable_extensions; do
10528 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10529 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10537 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10541 PRELINK=$ac_cv_path_PRELINK
10542 if test -n "$PRELINK"; then
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10544 printf "%s\n" "$PRELINK" >&6; }
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547 printf "%s\n" "no" >&6; }
10551 if test "x$PRELINK" = xfalse
10553 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10557 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10558 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10560 printf %s "(cached) " >&6
10562 ac_wine_try_cflags_saved=$CFLAGS
10563 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10566 int main(int argc, char **argv) { return 0; }
10568 if ac_fn_c_try_link "$LINENO"
10570 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10572 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10575 conftest$ac_exeext conftest.$ac_ext
10576 CFLAGS=$ac_wine_try_cflags_saved
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10579 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10580 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10582 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10586 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10588 LIBWINE_DEPENDS="wine.map"
10590 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10594 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10595 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10596 enable_winemac_drv=${enable_winemac_drv:-no}
10599 if test "x$with_mingw" != xno
10601 case "x$with_mingw" in
10602 x|xyes) case "$host_cpu" in
10604 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10606 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10608 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
10609 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10610 mingw32-gcc clang" ;;
10612 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
10613 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10615 ac_prefix_list="" ;;
10617 for ac_prog in $ac_prefix_list
10619 # Extract the first word of "$ac_prog", so it can be a program name with args.
10620 set dummy $ac_prog; ac_word=$2
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10622 printf %s "checking for $ac_word... " >&6; }
10623 if test ${ac_cv_prog_CROSSCC+y}
10625 printf %s "(cached) " >&6
10627 if test -n "$CROSSCC"; then
10628 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10631 for as_dir in $PATH
10634 case $as_dir in #(((
10637 *) as_dir=$as_dir/ ;;
10639 for ac_exec_ext in '' $ac_executable_extensions; do
10640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10641 ac_cv_prog_CROSSCC="$ac_prog"
10642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10651 CROSSCC=$ac_cv_prog_CROSSCC
10652 if test -n "$CROSSCC"; then
10653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10654 printf "%s\n" "$CROSSCC" >&6; }
10656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10657 printf "%s\n" "no" >&6; }
10661 test -n "$CROSSCC" && break
10663 test -n "$CROSSCC" || CROSSCC="false"
10665 *) CROSSCC=$with_mingw ;;
10667 if test "$CROSSCC" != "false"
10670 saved_CFLAGS=$CFLAGS
10671 saved_LDFLAGS=$LDFLAGS
10672 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10674 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10679 CFLAGS=$CROSSCFLAGS
10680 LDFLAGS=$CROSSLDFLAGS
10681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10682 printf %s "checking whether $CROSSCC works... " >&6; }
10683 if test ${wine_cv_crosscc+y}
10685 printf %s "(cached) " >&6
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10698 if ac_fn_c_try_compile "$LINENO"
10700 wine_cv_crosscc=yes
10704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10707 printf "%s\n" "$wine_cv_crosscc" >&6; }
10708 if test $wine_cv_crosscc = yes
10712 while test $# -ge 1
10715 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10716 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10721 llvm_target=$CROSSTARGET
10722 llvm_cflags="-fuse-ld=lld"
10723 if test -z "$llvm_target"
10726 *i[3456789]86*) llvm_target=i686-windows ;;
10727 *) llvm_target=$host_cpu-windows ;;
10730 case $llvm_target in
10731 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10733 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10735 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10736 if eval test \${$as_ac_var+y}
10738 printf %s "(cached) " >&6
10740 ac_wine_try_cflags_saved=$CFLAGS
10741 ac_wine_try_cflags_saved_cc=$CC
10742 ac_wine_try_cflags_saved_exeext=$ac_exeext
10743 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10748 int __cdecl mainCRTStartup(void) { return 0; }
10750 if ac_fn_c_try_link "$LINENO"
10752 eval "$as_ac_var=yes"
10754 eval "$as_ac_var=no"
10756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10757 conftest$ac_exeext conftest.$ac_ext
10758 CFLAGS=$ac_wine_try_cflags_saved
10759 CC=$ac_wine_try_cflags_saved_cc
10760 ac_exeext=$ac_wine_try_cflags_saved_exeext
10762 eval ac_res=\$$as_ac_var
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10764 printf "%s\n" "$ac_res" >&6; }
10765 if eval test \"x\$"$as_ac_var"\" = x"yes"
10767 CROSSTARGET=$llvm_target
10768 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10769 DELAYLOADFLAG="-Wl,-delayload,"
10771 CFLAGS="$CFLAGS $llvm_cflags"
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10775 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10776 if test ${wine_cv_crosscc_c99+y}
10778 printf %s "(cached) " >&6
10780 wine_cv_crosscc_c99=no
10781 for arg in '' '-std=gnu99'
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10786 $ac_c_conftest_c99_program
10788 if ac_fn_c_try_compile "$LINENO"
10790 wine_cv_crosscc_c99=$arg
10792 wine_cv_crosscc_c99=no
10794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10795 test "x$wine_cv_crosscc_c99" != xno && break
10799 case "x$wine_cv_crosscc_c99" in
10800 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10801 printf "%s\n" "none needed" >&6; } ;;
10802 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10803 printf "%s\n" "unsupported" >&6; } ;;
10804 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10805 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10806 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10810 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10811 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10813 printf %s "(cached) " >&6
10815 ac_wine_try_cflags_saved=$CFLAGS
10816 ac_wine_try_cflags_saved_cc=$CC
10817 ac_wine_try_cflags_saved_exeext=$ac_exeext
10818 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10823 int __cdecl mainCRTStartup(void) { return 0; }
10825 if ac_fn_c_try_link "$LINENO"
10827 ac_cv_crosscflags__fno_strict_aliasing=yes
10829 ac_cv_crosscflags__fno_strict_aliasing=no
10831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10832 conftest$ac_exeext conftest.$ac_ext
10833 CFLAGS=$ac_wine_try_cflags_saved
10834 CC=$ac_wine_try_cflags_saved_cc
10835 ac_exeext=$ac_wine_try_cflags_saved_exeext
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10838 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10839 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10841 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10844 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10845 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10847 printf %s "(cached) " >&6
10849 ac_wine_try_cflags_saved=$CFLAGS
10850 ac_wine_try_cflags_saved_cc=$CC
10851 ac_wine_try_cflags_saved_exeext=$ac_exeext
10852 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10857 int __cdecl mainCRTStartup(void) { return 0; }
10859 if ac_fn_c_try_link "$LINENO"
10861 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10863 ac_cv_crosscflags__Werror_unknown_warning_option=no
10865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10866 conftest$ac_exeext conftest.$ac_ext
10867 CFLAGS=$ac_wine_try_cflags_saved
10868 CC=$ac_wine_try_cflags_saved_cc
10869 ac_exeext=$ac_wine_try_cflags_saved_exeext
10871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10872 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10873 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10875 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10878 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10879 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10881 printf %s "(cached) " >&6
10883 ac_wine_try_cflags_saved=$CFLAGS
10884 ac_wine_try_cflags_saved_cc=$CC
10885 ac_wine_try_cflags_saved_exeext=$ac_exeext
10886 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10891 int __cdecl mainCRTStartup(void) { return 0; }
10893 if ac_fn_c_try_link "$LINENO"
10895 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10897 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10900 conftest$ac_exeext conftest.$ac_ext
10901 CFLAGS=$ac_wine_try_cflags_saved
10902 CC=$ac_wine_try_cflags_saved_cc
10903 ac_exeext=$ac_wine_try_cflags_saved_exeext
10905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10906 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10907 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10909 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10912 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10913 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10915 printf %s "(cached) " >&6
10917 ac_wine_try_cflags_saved=$CFLAGS
10918 ac_wine_try_cflags_saved_cc=$CC
10919 ac_wine_try_cflags_saved_exeext=$ac_exeext
10920 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10925 int __cdecl mainCRTStartup(void) { return 0; }
10927 if ac_fn_c_try_link "$LINENO"
10929 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10931 ac_cv_crosscflags__Wdeclaration_after_statement=no
10933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10934 conftest$ac_exeext conftest.$ac_ext
10935 CFLAGS=$ac_wine_try_cflags_saved
10936 CC=$ac_wine_try_cflags_saved_cc
10937 ac_exeext=$ac_wine_try_cflags_saved_exeext
10939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10940 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10941 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10943 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10946 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10947 if test ${ac_cv_crosscflags__Wempty_body+y}
10949 printf %s "(cached) " >&6
10951 ac_wine_try_cflags_saved=$CFLAGS
10952 ac_wine_try_cflags_saved_cc=$CC
10953 ac_wine_try_cflags_saved_exeext=$ac_exeext
10954 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 int __cdecl mainCRTStartup(void) { return 0; }
10961 if ac_fn_c_try_link "$LINENO"
10963 ac_cv_crosscflags__Wempty_body=yes
10965 ac_cv_crosscflags__Wempty_body=no
10967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10968 conftest$ac_exeext conftest.$ac_ext
10969 CFLAGS=$ac_wine_try_cflags_saved
10970 CC=$ac_wine_try_cflags_saved_cc
10971 ac_exeext=$ac_wine_try_cflags_saved_exeext
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10974 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10975 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10977 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10980 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10981 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10983 printf %s "(cached) " >&6
10985 ac_wine_try_cflags_saved=$CFLAGS
10986 ac_wine_try_cflags_saved_cc=$CC
10987 ac_wine_try_cflags_saved_exeext=$ac_exeext
10988 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10993 int __cdecl mainCRTStartup(void) { return 0; }
10995 if ac_fn_c_try_link "$LINENO"
10997 ac_cv_crosscflags__Wignored_qualifiers=yes
10999 ac_cv_crosscflags__Wignored_qualifiers=no
11001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11002 conftest$ac_exeext conftest.$ac_ext
11003 CFLAGS=$ac_wine_try_cflags_saved
11004 CC=$ac_wine_try_cflags_saved_cc
11005 ac_exeext=$ac_wine_try_cflags_saved_exeext
11007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11008 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11009 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11011 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11014 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11015 if test ${ac_cv_crosscflags__Winit_self+y}
11017 printf %s "(cached) " >&6
11019 ac_wine_try_cflags_saved=$CFLAGS
11020 ac_wine_try_cflags_saved_cc=$CC
11021 ac_wine_try_cflags_saved_exeext=$ac_exeext
11022 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11027 int __cdecl mainCRTStartup(void) { return 0; }
11029 if ac_fn_c_try_link "$LINENO"
11031 ac_cv_crosscflags__Winit_self=yes
11033 ac_cv_crosscflags__Winit_self=no
11035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11036 conftest$ac_exeext conftest.$ac_ext
11037 CFLAGS=$ac_wine_try_cflags_saved
11038 CC=$ac_wine_try_cflags_saved_cc
11039 ac_exeext=$ac_wine_try_cflags_saved_exeext
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11042 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11043 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11045 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11048 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11049 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11051 printf %s "(cached) " >&6
11053 ac_wine_try_cflags_saved=$CFLAGS
11054 ac_wine_try_cflags_saved_cc=$CC
11055 ac_wine_try_cflags_saved_exeext=$ac_exeext
11056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 int __cdecl mainCRTStartup(void) { return 0; }
11063 if ac_fn_c_try_link "$LINENO"
11065 ac_cv_crosscflags__Wpacked_not_aligned=yes
11067 ac_cv_crosscflags__Wpacked_not_aligned=no
11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11070 conftest$ac_exeext conftest.$ac_ext
11071 CFLAGS=$ac_wine_try_cflags_saved
11072 CC=$ac_wine_try_cflags_saved_cc
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11076 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11077 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11079 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11082 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11083 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11085 printf %s "(cached) " >&6
11087 ac_wine_try_cflags_saved=$CFLAGS
11088 ac_wine_try_cflags_saved_cc=$CC
11089 ac_wine_try_cflags_saved_exeext=$ac_exeext
11090 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 int __cdecl mainCRTStartup(void) { return 0; }
11097 if ac_fn_c_try_link "$LINENO"
11099 ac_cv_crosscflags__Wpragma_pack=yes
11101 ac_cv_crosscflags__Wpragma_pack=no
11103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11104 conftest$ac_exeext conftest.$ac_ext
11105 CFLAGS=$ac_wine_try_cflags_saved
11106 CC=$ac_wine_try_cflags_saved_cc
11107 ac_exeext=$ac_wine_try_cflags_saved_exeext
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11110 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11111 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11113 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11116 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11117 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11119 printf %s "(cached) " >&6
11121 ac_wine_try_cflags_saved=$CFLAGS
11122 ac_wine_try_cflags_saved_cc=$CC
11123 ac_wine_try_cflags_saved_exeext=$ac_exeext
11124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 int __cdecl mainCRTStartup(void) { return 0; }
11131 if ac_fn_c_try_link "$LINENO"
11133 ac_cv_crosscflags__Wshift_overflow_2=yes
11135 ac_cv_crosscflags__Wshift_overflow_2=no
11137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11138 conftest$ac_exeext conftest.$ac_ext
11139 CFLAGS=$ac_wine_try_cflags_saved
11140 CC=$ac_wine_try_cflags_saved_cc
11141 ac_exeext=$ac_wine_try_cflags_saved_exeext
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11144 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11145 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11147 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11150 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11151 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11153 printf %s "(cached) " >&6
11155 ac_wine_try_cflags_saved=$CFLAGS
11156 ac_wine_try_cflags_saved_cc=$CC
11157 ac_wine_try_cflags_saved_exeext=$ac_exeext
11158 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 int __cdecl mainCRTStartup(void) { return 0; }
11165 if ac_fn_c_try_link "$LINENO"
11167 ac_cv_crosscflags__Wstrict_prototypes=yes
11169 ac_cv_crosscflags__Wstrict_prototypes=no
11171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11172 conftest$ac_exeext conftest.$ac_ext
11173 CFLAGS=$ac_wine_try_cflags_saved
11174 CC=$ac_wine_try_cflags_saved_cc
11175 ac_exeext=$ac_wine_try_cflags_saved_exeext
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11178 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11179 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11181 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11184 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11185 if test ${ac_cv_crosscflags__Wtype_limits+y}
11187 printf %s "(cached) " >&6
11189 ac_wine_try_cflags_saved=$CFLAGS
11190 ac_wine_try_cflags_saved_cc=$CC
11191 ac_wine_try_cflags_saved_exeext=$ac_exeext
11192 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11197 int __cdecl mainCRTStartup(void) { return 0; }
11199 if ac_fn_c_try_link "$LINENO"
11201 ac_cv_crosscflags__Wtype_limits=yes
11203 ac_cv_crosscflags__Wtype_limits=no
11205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11206 conftest$ac_exeext conftest.$ac_ext
11207 CFLAGS=$ac_wine_try_cflags_saved
11208 CC=$ac_wine_try_cflags_saved_cc
11209 ac_exeext=$ac_wine_try_cflags_saved_exeext
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11212 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11213 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11218 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11219 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11221 printf %s "(cached) " >&6
11223 ac_wine_try_cflags_saved=$CFLAGS
11224 ac_wine_try_cflags_saved_cc=$CC
11225 ac_wine_try_cflags_saved_exeext=$ac_exeext
11226 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11231 int __cdecl mainCRTStartup(void) { return 0; }
11233 if ac_fn_c_try_link "$LINENO"
11235 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11237 ac_cv_crosscflags__Wunused_but_set_parameter=no
11239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11240 conftest$ac_exeext conftest.$ac_ext
11241 CFLAGS=$ac_wine_try_cflags_saved
11242 CC=$ac_wine_try_cflags_saved_cc
11243 ac_exeext=$ac_wine_try_cflags_saved_exeext
11245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11246 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11247 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11249 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11252 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11253 if test ${ac_cv_crosscflags__Wvla+y}
11255 printf %s "(cached) " >&6
11257 ac_wine_try_cflags_saved=$CFLAGS
11258 ac_wine_try_cflags_saved_cc=$CC
11259 ac_wine_try_cflags_saved_exeext=$ac_exeext
11260 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 int __cdecl mainCRTStartup(void) { return 0; }
11267 if ac_fn_c_try_link "$LINENO"
11269 ac_cv_crosscflags__Wvla=yes
11271 ac_cv_crosscflags__Wvla=no
11273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11274 conftest$ac_exeext conftest.$ac_ext
11275 CFLAGS=$ac_wine_try_cflags_saved
11276 CC=$ac_wine_try_cflags_saved_cc
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11280 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11281 if test "x$ac_cv_crosscflags__Wvla" = xyes
11283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11286 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11287 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11289 printf %s "(cached) " >&6
11291 ac_wine_try_cflags_saved=$CFLAGS
11292 ac_wine_try_cflags_saved_cc=$CC
11293 ac_wine_try_cflags_saved_exeext=$ac_exeext
11294 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 int __cdecl mainCRTStartup(void) { return 0; }
11301 if ac_fn_c_try_link "$LINENO"
11303 ac_cv_crosscflags__Wwrite_strings=yes
11305 ac_cv_crosscflags__Wwrite_strings=no
11307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11308 conftest$ac_exeext conftest.$ac_ext
11309 CFLAGS=$ac_wine_try_cflags_saved
11310 CC=$ac_wine_try_cflags_saved_cc
11311 ac_exeext=$ac_wine_try_cflags_saved_exeext
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11314 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11315 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11317 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11320 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11321 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11323 printf %s "(cached) " >&6
11325 ac_wine_try_cflags_saved=$CFLAGS
11326 ac_wine_try_cflags_saved_cc=$CC
11327 ac_wine_try_cflags_saved_exeext=$ac_exeext
11328 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11333 int __cdecl mainCRTStartup(void) { return 0; }
11335 if ac_fn_c_try_link "$LINENO"
11337 ac_cv_crosscflags__Wpointer_arith=yes
11339 ac_cv_crosscflags__Wpointer_arith=no
11341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11342 conftest$ac_exeext conftest.$ac_ext
11343 CFLAGS=$ac_wine_try_cflags_saved
11344 CC=$ac_wine_try_cflags_saved_cc
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11348 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11349 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11351 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11354 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11355 if test ${ac_cv_crosscflags__Wlogical_op+y}
11357 printf %s "(cached) " >&6
11359 ac_wine_try_cflags_saved=$CFLAGS
11360 ac_wine_try_cflags_saved_cc=$CC
11361 ac_wine_try_cflags_saved_exeext=$ac_exeext
11362 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 int __cdecl mainCRTStartup(void) { return 0; }
11369 if ac_fn_c_try_link "$LINENO"
11371 ac_cv_crosscflags__Wlogical_op=yes
11373 ac_cv_crosscflags__Wlogical_op=no
11375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11376 conftest$ac_exeext conftest.$ac_ext
11377 CFLAGS=$ac_wine_try_cflags_saved
11378 CC=$ac_wine_try_cflags_saved_cc
11379 ac_exeext=$ac_wine_try_cflags_saved_exeext
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11382 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11383 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11385 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11388 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11389 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11391 printf %s "(cached) " >&6
11393 ac_wine_try_cflags_saved=$CFLAGS
11394 ac_wine_try_cflags_saved_cc=$CC
11395 ac_wine_try_cflags_saved_exeext=$ac_exeext
11396 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11401 int __cdecl mainCRTStartup(void) { return 0; }
11403 if ac_fn_c_try_link "$LINENO"
11405 ac_cv_crosscflags__Wabsolute_value=yes
11407 ac_cv_crosscflags__Wabsolute_value=no
11409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11410 conftest$ac_exeext conftest.$ac_ext
11411 CFLAGS=$ac_wine_try_cflags_saved
11412 CC=$ac_wine_try_cflags_saved_cc
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11416 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11417 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11419 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11423 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11424 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11425 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11427 printf %s "(cached) " >&6
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_cc=$CC
11431 ac_wine_try_cflags_saved_exeext=$ac_exeext
11432 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 int __cdecl mainCRTStartup(void) { return 0; }
11439 if ac_fn_c_try_link "$LINENO"
11441 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11443 ac_cv_crosscflags__fno_omit_frame_pointer=no
11445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11446 conftest$ac_exeext conftest.$ac_ext
11447 CFLAGS=$ac_wine_try_cflags_saved
11448 CC=$ac_wine_try_cflags_saved_cc
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11452 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11453 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11455 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup" >&5
11458 printf %s "checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
11459 if test ${ac_cv_crosscflags__Wl___disable_stdcall_fixup+y}
11461 printf %s "(cached) " >&6
11463 ac_wine_try_cflags_saved=$CFLAGS
11464 ac_wine_try_cflags_saved_cc=$CC
11465 ac_wine_try_cflags_saved_exeext=$ac_exeext
11466 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 int __cdecl mainCRTStartup(void) { return 0; }
11473 if ac_fn_c_try_link "$LINENO"
11475 ac_cv_crosscflags__Wl___disable_stdcall_fixup=yes
11477 ac_cv_crosscflags__Wl___disable_stdcall_fixup=no
11479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11480 conftest$ac_exeext conftest.$ac_ext
11481 CFLAGS=$ac_wine_try_cflags_saved
11482 CC=$ac_wine_try_cflags_saved_cc
11483 ac_exeext=$ac_wine_try_cflags_saved_exeext
11485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&5
11486 printf "%s\n" "$ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&6; }
11487 if test "x$ac_cv_crosscflags__Wl___disable_stdcall_fixup" = xyes
11489 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--disable-stdcall-fixup"
11491 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11492 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11493 if test ${ac_cv_crosscflags__Wno_format+y}
11495 printf %s "(cached) " >&6
11497 ac_wine_try_cflags_saved=$CFLAGS
11498 ac_wine_try_cflags_saved_cc=$CC
11499 ac_wine_try_cflags_saved_exeext=$ac_exeext
11500 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 int __cdecl mainCRTStartup(void) { return 0; }
11507 if ac_fn_c_try_link "$LINENO"
11509 ac_cv_crosscflags__Wno_format=yes
11511 ac_cv_crosscflags__Wno_format=no
11513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11514 conftest$ac_exeext conftest.$ac_ext
11515 CFLAGS=$ac_wine_try_cflags_saved
11516 CC=$ac_wine_try_cflags_saved_cc
11517 ac_exeext=$ac_wine_try_cflags_saved_exeext
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11520 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11521 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11523 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11526 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11527 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11529 printf %s "(cached) " >&6
11531 ac_wine_try_cflags_saved=$CFLAGS
11532 ac_wine_try_cflags_saved_cc=$CC
11533 ac_wine_try_cflags_saved_exeext=$ac_exeext
11534 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 int __cdecl mainCRTStartup(void) { return 0; }
11541 if ac_fn_c_try_link "$LINENO"
11543 ac_cv_crosscflags__Wformat_overflow=yes
11545 ac_cv_crosscflags__Wformat_overflow=no
11547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11548 conftest$ac_exeext conftest.$ac_ext
11549 CFLAGS=$ac_wine_try_cflags_saved
11550 CC=$ac_wine_try_cflags_saved_cc
11551 ac_exeext=$ac_wine_try_cflags_saved_exeext
11553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11554 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11555 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11557 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11560 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11561 if test ${ac_cv_crosscflags__Wnonnull+y}
11563 printf %s "(cached) " >&6
11565 ac_wine_try_cflags_saved=$CFLAGS
11566 ac_wine_try_cflags_saved_cc=$CC
11567 ac_wine_try_cflags_saved_exeext=$ac_exeext
11568 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 int __cdecl mainCRTStartup(void) { return 0; }
11575 if ac_fn_c_try_link "$LINENO"
11577 ac_cv_crosscflags__Wnonnull=yes
11579 ac_cv_crosscflags__Wnonnull=no
11581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11582 conftest$ac_exeext conftest.$ac_ext
11583 CFLAGS=$ac_wine_try_cflags_saved
11584 CC=$ac_wine_try_cflags_saved_cc
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11588 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11589 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11591 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11594 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11595 if test ${ac_cv_crosscflags__mcx16+y}
11597 printf %s "(cached) " >&6
11599 ac_wine_try_cflags_saved=$CFLAGS
11600 ac_wine_try_cflags_saved_cc=$CC
11601 ac_wine_try_cflags_saved_exeext=$ac_exeext
11602 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 int __cdecl mainCRTStartup(void) { return 0; }
11609 if ac_fn_c_try_link "$LINENO"
11611 ac_cv_crosscflags__mcx16=yes
11613 ac_cv_crosscflags__mcx16=no
11615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11616 conftest$ac_exeext conftest.$ac_ext
11617 CFLAGS=$ac_wine_try_cflags_saved
11618 CC=$ac_wine_try_cflags_saved_cc
11619 ac_exeext=$ac_wine_try_cflags_saved_exeext
11621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11622 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11623 if test "x$ac_cv_crosscflags__mcx16" = xyes
11625 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11627 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11628 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11629 if test ${ac_cv_crosscflags__Wno_format+y}
11631 printf %s "(cached) " >&6
11633 ac_wine_try_cflags_saved=$CFLAGS
11634 ac_wine_try_cflags_saved_cc=$CC
11635 ac_wine_try_cflags_saved_exeext=$ac_exeext
11636 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641 int __cdecl mainCRTStartup(void) { return 0; }
11643 if ac_fn_c_try_link "$LINENO"
11645 ac_cv_crosscflags__Wno_format=yes
11647 ac_cv_crosscflags__Wno_format=no
11649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11650 conftest$ac_exeext conftest.$ac_ext
11651 CFLAGS=$ac_wine_try_cflags_saved
11652 CC=$ac_wine_try_cflags_saved_cc
11653 ac_exeext=$ac_wine_try_cflags_saved_exeext
11655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11656 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11657 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11659 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11664 if test -z "$CROSSDEBUG"
11666 for ac_flag in $CROSSCFLAGS; do
11668 -gdwarf*) CROSSDEBUG=dwarf ;;
11669 -gcodeview) CROSSDEBUG=pdb ;;
11670 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11675 ac_debug_format_seen=""
11676 for ac_flag in $CROSSCFLAGS; do
11678 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11681 if test "x$ac_debug_format_seen" = x
11683 case $CROSSDEBUG in
11684 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11685 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11686 if test ${ac_cv_crosscflags__gdwarf_4+y}
11688 printf %s "(cached) " >&6
11690 ac_wine_try_cflags_saved=$CFLAGS
11691 ac_wine_try_cflags_saved_cc=$CC
11692 ac_wine_try_cflags_saved_exeext=$ac_exeext
11693 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11698 int __cdecl mainCRTStartup(void) { return 0; }
11700 if ac_fn_c_try_link "$LINENO"
11702 ac_cv_crosscflags__gdwarf_4=yes
11704 ac_cv_crosscflags__gdwarf_4=no
11706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11707 conftest$ac_exeext conftest.$ac_ext
11708 CFLAGS=$ac_wine_try_cflags_saved
11709 CC=$ac_wine_try_cflags_saved_cc
11710 ac_exeext=$ac_wine_try_cflags_saved_exeext
11712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11713 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11714 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11716 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11718 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11719 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11720 if test ${ac_cv_crosscflags__gcodeview+y}
11722 printf %s "(cached) " >&6
11724 ac_wine_try_cflags_saved=$CFLAGS
11725 ac_wine_try_cflags_saved_cc=$CC
11726 ac_wine_try_cflags_saved_exeext=$ac_exeext
11727 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11732 int __cdecl mainCRTStartup(void) { return 0; }
11734 if ac_fn_c_try_link "$LINENO"
11736 ac_cv_crosscflags__gcodeview=yes
11738 ac_cv_crosscflags__gcodeview=no
11740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11741 conftest$ac_exeext conftest.$ac_ext
11742 CFLAGS=$ac_wine_try_cflags_saved
11743 CC=$ac_wine_try_cflags_saved_cc
11744 ac_exeext=$ac_wine_try_cflags_saved_exeext
11746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11747 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11748 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11750 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11756 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11757 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11759 printf %s "(cached) " >&6
11761 ac_wine_try_cflags_saved=$CFLAGS
11762 ac_wine_try_cflags_saved_cc=$CC
11763 ac_wine_try_cflags_saved_exeext=$ac_exeext
11764 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11769 int __cdecl mainCRTStartup(void) { return 0; }
11771 if ac_fn_c_try_link "$LINENO"
11773 ac_cv_crosscflags__fexcess_precision_standard=yes
11775 ac_cv_crosscflags__fexcess_precision_standard=no
11777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11778 conftest$ac_exeext conftest.$ac_ext
11779 CFLAGS=$ac_wine_try_cflags_saved
11780 CC=$ac_wine_try_cflags_saved_cc
11781 ac_exeext=$ac_wine_try_cflags_saved_exeext
11783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11784 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11785 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11787 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11791 if test "x$enable_werror" = "xyes"
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11794 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11795 if test ${ac_cv_crosscflags__Werror+y}
11797 printf %s "(cached) " >&6
11799 ac_wine_try_cflags_saved=$CFLAGS
11800 ac_wine_try_cflags_saved_cc=$CC
11801 ac_wine_try_cflags_saved_exeext=$ac_exeext
11802 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11807 int __cdecl mainCRTStartup(void) { return 0; }
11809 if ac_fn_c_try_link "$LINENO"
11811 ac_cv_crosscflags__Werror=yes
11813 ac_cv_crosscflags__Werror=no
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 CC=$ac_wine_try_cflags_saved_cc
11819 ac_exeext=$ac_wine_try_cflags_saved_exeext
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11822 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11823 if test "x$ac_cv_crosscflags__Werror" = xyes
11825 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11828 if test "x$enable_build_id" = "xyes"
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11831 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11832 if test ${ac_cv_crosscflags__Wl___build_id+y}
11834 printf %s "(cached) " >&6
11836 ac_wine_try_cflags_saved=$CFLAGS
11837 ac_wine_try_cflags_saved_cc=$CC
11838 ac_wine_try_cflags_saved_exeext=$ac_exeext
11839 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11844 int __cdecl mainCRTStartup(void) { return 0; }
11846 if ac_fn_c_try_link "$LINENO"
11848 ac_cv_crosscflags__Wl___build_id=yes
11850 ac_cv_crosscflags__Wl___build_id=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11853 conftest$ac_exeext conftest.$ac_ext
11854 CFLAGS=$ac_wine_try_cflags_saved
11855 CC=$ac_wine_try_cflags_saved_cc
11856 ac_exeext=$ac_wine_try_cflags_saved_exeext
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11859 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11860 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11862 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11863 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11867 CFLAGS=$saved_CFLAGS
11868 LDFLAGS=$saved_LDFLAGS
11872 if test "x$CROSSTARGET" = "x"
11874 case "x$with_mingw" in
11875 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11877 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11878 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11884 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11888 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11890 case "$host_cpu" in
11892 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11894 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11896 for ac_prog in $ac_prefix_list
11898 # Extract the first word of "$ac_prog", so it can be a program name with args.
11899 set dummy $ac_prog; ac_word=$2
11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11901 printf %s "checking for $ac_word... " >&6; }
11902 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11904 printf %s "(cached) " >&6
11906 if test -n "$MINGW_PKG_CONFIG"; then
11907 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11910 for as_dir in $PATH
11913 case $as_dir in #(((
11916 *) as_dir=$as_dir/ ;;
11918 for ac_exec_ext in '' $ac_executable_extensions; do
11919 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11920 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11930 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11931 if test -n "$MINGW_PKG_CONFIG"; then
11932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11933 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11936 printf "%s\n" "no" >&6; }
11940 test -n "$MINGW_PKG_CONFIG" && break
11942 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11944 if ${FAUDIO_PE_CFLAGS:+false} :
11946 if test ${MINGW_PKG_CONFIG+y}
11948 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11951 if ${FAUDIO_PE_LIBS:+false} :
11953 if test ${MINGW_PKG_CONFIG+y}
11955 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11958 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11959 ac_save_CPPFLAGS=$CPPFLAGS
11960 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11962 printf %s "checking for MinGW FAudio.h... " >&6; }
11963 if test ${ac_cv_mingw_header_FAudio_h+y}
11965 printf %s "(cached) " >&6
11967 ac_wine_check_headers_saved_cc=$CC
11968 ac_wine_check_headers_saved_exeext=$ac_exeext
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 #include <FAudio.h>
11983 if ac_fn_c_try_compile "$LINENO"
11985 ac_cv_mingw_header_FAudio_h=yes
11987 ac_cv_mingw_header_FAudio_h=no
11989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11990 CC=$ac_wine_check_headers_saved_cc
11991 ac_exeext=$ac_wine_check_headers_saved_exeext
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11994 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11995 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11998 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11999 if test ${ac_cv_mingw_lib_FAudio+y}
12001 printf %s "(cached) " >&6
12003 ac_wine_check_headers_saved_cc=$CC
12004 ac_wine_check_headers_saved_exeext=$ac_exeext
12005 ac_wine_check_headers_saved_libs=$LIBS
12008 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12015 char FAudio_CommitOperationSet ();
12019 return FAudio_CommitOperationSet ();
12024 if ac_fn_c_try_link "$LINENO"
12026 ac_cv_mingw_lib_FAudio=yes
12028 ac_cv_mingw_lib_FAudio=no
12030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12031 conftest$ac_exeext conftest.$ac_ext
12032 CC=$ac_wine_check_headers_saved_cc
12033 ac_exeext=$ac_wine_check_headers_saved_exeext
12034 LIBS=$ac_wine_check_headers_saved_libs
12036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12037 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12038 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12042 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12045 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12047 CPPFLAGS=$ac_save_CPPFLAGS
12049 if test "x$FAUDIO_PE_LIBS" = "x"
12051 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12054 if ${JPEG_PE_CFLAGS:+false} :
12056 if test ${MINGW_PKG_CONFIG+y}
12058 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12061 if ${JPEG_PE_LIBS:+false} :
12063 if test ${MINGW_PKG_CONFIG+y}
12065 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12069 ac_save_CPPFLAGS=$CPPFLAGS
12070 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12072 printf %s "checking for MinGW jpeglib.h... " >&6; }
12073 if test ${ac_cv_mingw_header_jpeglib_h+y}
12075 printf %s "(cached) " >&6
12077 ac_wine_check_headers_saved_cc=$CC
12078 ac_wine_check_headers_saved_exeext=$ac_exeext
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12083 #include <stddef.h>
12085 #include <jpeglib.h>
12094 if ac_fn_c_try_compile "$LINENO"
12096 ac_cv_mingw_header_jpeglib_h=yes
12098 ac_cv_mingw_header_jpeglib_h=no
12100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12101 CC=$ac_wine_check_headers_saved_cc
12102 ac_exeext=$ac_wine_check_headers_saved_exeext
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12105 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12106 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12109 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12110 if test ${ac_cv_mingw_lib_jpeg+y}
12112 printf %s "(cached) " >&6
12114 ac_wine_check_headers_saved_cc=$CC
12115 ac_wine_check_headers_saved_exeext=$ac_exeext
12116 ac_wine_check_headers_saved_libs=$LIBS
12119 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12123 /* Override any GCC internal prototype to avoid an error.
12124 Use char because int might match the return type of a GCC
12125 builtin and then its argument prototype would still apply. */
12126 char jpeg_start_decompress ();
12130 return jpeg_start_decompress ();
12135 if ac_fn_c_try_link "$LINENO"
12137 ac_cv_mingw_lib_jpeg=yes
12139 ac_cv_mingw_lib_jpeg=no
12141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12142 conftest$ac_exeext conftest.$ac_ext
12143 CC=$ac_wine_check_headers_saved_cc
12144 ac_exeext=$ac_wine_check_headers_saved_exeext
12145 LIBS=$ac_wine_check_headers_saved_libs
12147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12148 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12149 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12153 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12156 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12158 CPPFLAGS=$ac_save_CPPFLAGS
12160 if test "x$JPEG_PE_LIBS" = "x"
12162 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12165 if ${LCMS2_PE_CFLAGS:+false} :
12167 if test ${MINGW_PKG_CONFIG+y}
12169 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12172 if ${LCMS2_PE_LIBS:+false} :
12174 if test ${MINGW_PKG_CONFIG+y}
12176 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12179 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12180 ac_save_CPPFLAGS=$CPPFLAGS
12181 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12183 printf %s "checking for MinGW lcms2.h... " >&6; }
12184 if test ${ac_cv_mingw_header_lcms2_h+y}
12186 printf %s "(cached) " >&6
12188 ac_wine_check_headers_saved_cc=$CC
12189 ac_wine_check_headers_saved_exeext=$ac_exeext
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12204 if ac_fn_c_try_compile "$LINENO"
12206 ac_cv_mingw_header_lcms2_h=yes
12208 ac_cv_mingw_header_lcms2_h=no
12210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12211 CC=$ac_wine_check_headers_saved_cc
12212 ac_exeext=$ac_wine_check_headers_saved_exeext
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12215 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12216 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12219 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12220 if test ${ac_cv_mingw_lib_lcms2+y}
12222 printf %s "(cached) " >&6
12224 ac_wine_check_headers_saved_cc=$CC
12225 ac_wine_check_headers_saved_exeext=$ac_exeext
12226 ac_wine_check_headers_saved_libs=$LIBS
12229 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 char cmsOpenProfileFromFile ();
12240 return cmsOpenProfileFromFile ();
12245 if ac_fn_c_try_link "$LINENO"
12247 ac_cv_mingw_lib_lcms2=yes
12249 ac_cv_mingw_lib_lcms2=no
12251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12252 conftest$ac_exeext conftest.$ac_ext
12253 CC=$ac_wine_check_headers_saved_cc
12254 ac_exeext=$ac_wine_check_headers_saved_exeext
12255 LIBS=$ac_wine_check_headers_saved_libs
12257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12258 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12259 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12263 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12266 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12268 CPPFLAGS=$ac_save_CPPFLAGS
12270 if test "x$LCMS2_PE_LIBS" = "x"
12272 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12275 if ${MPG123_PE_CFLAGS:+false} :
12277 if test ${MINGW_PKG_CONFIG+y}
12279 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12282 if ${MPG123_PE_LIBS:+false} :
12284 if test ${MINGW_PKG_CONFIG+y}
12286 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12289 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12290 ac_save_CPPFLAGS=$CPPFLAGS
12291 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12293 printf %s "checking for MinGW mpg123.h... " >&6; }
12294 if test ${ac_cv_mingw_header_mpg123_h+y}
12296 printf %s "(cached) " >&6
12298 ac_wine_check_headers_saved_cc=$CC
12299 ac_wine_check_headers_saved_exeext=$ac_exeext
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 #include <mpg123.h>
12314 if ac_fn_c_try_compile "$LINENO"
12316 ac_cv_mingw_header_mpg123_h=yes
12318 ac_cv_mingw_header_mpg123_h=no
12320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12321 CC=$ac_wine_check_headers_saved_cc
12322 ac_exeext=$ac_wine_check_headers_saved_exeext
12324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12325 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12326 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12329 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12330 if test ${ac_cv_mingw_lib_mpg123+y}
12332 printf %s "(cached) " >&6
12334 ac_wine_check_headers_saved_cc=$CC
12335 ac_wine_check_headers_saved_exeext=$ac_exeext
12336 ac_wine_check_headers_saved_libs=$LIBS
12339 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 char mpg123_feed ();
12350 return mpg123_feed ();
12355 if ac_fn_c_try_link "$LINENO"
12357 ac_cv_mingw_lib_mpg123=yes
12359 ac_cv_mingw_lib_mpg123=no
12361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12362 conftest$ac_exeext conftest.$ac_ext
12363 CC=$ac_wine_check_headers_saved_cc
12364 ac_exeext=$ac_wine_check_headers_saved_exeext
12365 LIBS=$ac_wine_check_headers_saved_libs
12367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12368 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12369 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12373 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12376 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12378 CPPFLAGS=$ac_save_CPPFLAGS
12380 if test "x$MPG123_PE_LIBS" = "x"
12382 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12385 if ${PNG_PE_CFLAGS:+false} :
12387 if test ${MINGW_PKG_CONFIG+y}
12389 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12392 if ${PNG_PE_LIBS:+false} :
12394 if test ${MINGW_PKG_CONFIG+y}
12396 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12400 ac_save_CPPFLAGS=$CPPFLAGS
12401 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12403 printf %s "checking for MinGW png.h... " >&6; }
12404 if test ${ac_cv_mingw_header_png_h+y}
12406 printf %s "(cached) " >&6
12408 ac_wine_check_headers_saved_cc=$CC
12409 ac_wine_check_headers_saved_exeext=$ac_exeext
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12424 if ac_fn_c_try_compile "$LINENO"
12426 ac_cv_mingw_header_png_h=yes
12428 ac_cv_mingw_header_png_h=no
12430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12431 CC=$ac_wine_check_headers_saved_cc
12432 ac_exeext=$ac_wine_check_headers_saved_exeext
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12435 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12436 if test "x$ac_cv_mingw_header_png_h" = xyes
12438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12439 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12440 if test ${ac_cv_mingw_lib_png+y}
12442 printf %s "(cached) " >&6
12444 ac_wine_check_headers_saved_cc=$CC
12445 ac_wine_check_headers_saved_exeext=$ac_exeext
12446 ac_wine_check_headers_saved_libs=$LIBS
12449 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12456 char png_create_read_struct ();
12460 return png_create_read_struct ();
12465 if ac_fn_c_try_link "$LINENO"
12467 ac_cv_mingw_lib_png=yes
12469 ac_cv_mingw_lib_png=no
12471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12472 conftest$ac_exeext conftest.$ac_ext
12473 CC=$ac_wine_check_headers_saved_cc
12474 ac_exeext=$ac_wine_check_headers_saved_exeext
12475 LIBS=$ac_wine_check_headers_saved_libs
12477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12478 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12479 if test "x$ac_cv_mingw_lib_png" = xyes
12483 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12486 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12488 CPPFLAGS=$ac_save_CPPFLAGS
12490 if test "x$PNG_PE_LIBS" = "x"
12492 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12495 if ${TIFF_PE_CFLAGS:+false} :
12497 if test ${MINGW_PKG_CONFIG+y}
12499 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12502 if ${TIFF_PE_LIBS:+false} :
12504 if test ${MINGW_PKG_CONFIG+y}
12506 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12510 ac_save_CPPFLAGS=$CPPFLAGS
12511 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12513 printf %s "checking for MinGW tiffio.h... " >&6; }
12514 if test ${ac_cv_mingw_header_tiffio_h+y}
12516 printf %s "(cached) " >&6
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 #include <tiffio.h>
12534 if ac_fn_c_try_compile "$LINENO"
12536 ac_cv_mingw_header_tiffio_h=yes
12538 ac_cv_mingw_header_tiffio_h=no
12540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12541 CC=$ac_wine_check_headers_saved_cc
12542 ac_exeext=$ac_wine_check_headers_saved_exeext
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12545 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12546 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12549 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12550 if test ${ac_cv_mingw_lib_tiff+y}
12552 printf %s "(cached) " >&6
12554 ac_wine_check_headers_saved_cc=$CC
12555 ac_wine_check_headers_saved_exeext=$ac_exeext
12556 ac_wine_check_headers_saved_libs=$LIBS
12559 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 char TIFFClientOpen ();
12570 return TIFFClientOpen ();
12575 if ac_fn_c_try_link "$LINENO"
12577 ac_cv_mingw_lib_tiff=yes
12579 ac_cv_mingw_lib_tiff=no
12581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12582 conftest$ac_exeext conftest.$ac_ext
12583 CC=$ac_wine_check_headers_saved_cc
12584 ac_exeext=$ac_wine_check_headers_saved_exeext
12585 LIBS=$ac_wine_check_headers_saved_libs
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12588 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12589 if test "x$ac_cv_mingw_lib_tiff" = xyes
12593 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12596 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12598 CPPFLAGS=$ac_save_CPPFLAGS
12600 if test "x$TIFF_PE_LIBS" = "x"
12602 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12605 if ${XML2_PE_CFLAGS:+false} :
12607 if test ${MINGW_PKG_CONFIG+y}
12609 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12612 if ${XML2_PE_LIBS:+false} :
12614 if test ${MINGW_PKG_CONFIG+y}
12616 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12619 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12620 ac_save_CPPFLAGS=$CPPFLAGS
12621 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12623 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12624 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12626 printf %s "(cached) " >&6
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 #include <libxml/parser.h>
12644 if ac_fn_c_try_compile "$LINENO"
12646 ac_cv_mingw_header_libxml_parser_h=yes
12648 ac_cv_mingw_header_libxml_parser_h=no
12650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12651 CC=$ac_wine_check_headers_saved_cc
12652 ac_exeext=$ac_wine_check_headers_saved_exeext
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12655 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12656 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12661 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12662 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12664 printf %s "(cached) " >&6
12666 ac_wine_check_headers_saved_cc=$CC
12667 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 #include <libxml/xmlsave.h>
12682 if ac_fn_c_try_compile "$LINENO"
12684 ac_cv_mingw_header_libxml_xmlsave_h=yes
12686 ac_cv_mingw_header_libxml_xmlsave_h=no
12688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12689 CC=$ac_wine_check_headers_saved_cc
12690 ac_exeext=$ac_wine_check_headers_saved_exeext
12692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12693 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12694 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12699 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12700 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12702 printf %s "(cached) " >&6
12704 ac_wine_check_headers_saved_cc=$CC
12705 ac_wine_check_headers_saved_exeext=$ac_exeext
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 #include <libxml/SAX2.h>
12720 if ac_fn_c_try_compile "$LINENO"
12722 ac_cv_mingw_header_libxml_SAX2_h=yes
12724 ac_cv_mingw_header_libxml_SAX2_h=no
12726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12727 CC=$ac_wine_check_headers_saved_cc
12728 ac_exeext=$ac_wine_check_headers_saved_exeext
12730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12731 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12732 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12736 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"
12738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12739 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12740 if test ${ac_cv_mingw_lib_xml2+y}
12742 printf %s "(cached) " >&6
12744 ac_wine_check_headers_saved_cc=$CC
12745 ac_wine_check_headers_saved_exeext=$ac_exeext
12746 ac_wine_check_headers_saved_libs=$LIBS
12749 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 char xmlFirstElementChild ();
12760 return xmlFirstElementChild ();
12765 if ac_fn_c_try_link "$LINENO"
12767 ac_cv_mingw_lib_xml2=yes
12769 ac_cv_mingw_lib_xml2=no
12771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12772 conftest$ac_exeext conftest.$ac_ext
12773 CC=$ac_wine_check_headers_saved_cc
12774 ac_exeext=$ac_wine_check_headers_saved_exeext
12775 LIBS=$ac_wine_check_headers_saved_libs
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12778 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12779 if test "x$ac_cv_mingw_lib_xml2" = xyes
12783 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12789 CPPFLAGS=$ac_save_CPPFLAGS
12791 if test "x$XML2_PE_LIBS" = "x"
12793 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12796 if ${XSLT_PE_CFLAGS:+false} :
12798 if test ${MINGW_PKG_CONFIG+y}
12800 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12803 if ${XSLT_PE_LIBS:+false} :
12805 if test ${MINGW_PKG_CONFIG+y}
12807 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12810 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12811 ac_save_CPPFLAGS=$CPPFLAGS
12812 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12814 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12815 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12817 printf %s "(cached) " >&6
12819 ac_wine_check_headers_saved_cc=$CC
12820 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 #include <libxslt/pattern.h>
12835 if ac_fn_c_try_compile "$LINENO"
12837 ac_cv_mingw_header_libxslt_pattern_h=yes
12839 ac_cv_mingw_header_libxslt_pattern_h=no
12841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12842 CC=$ac_wine_check_headers_saved_cc
12843 ac_exeext=$ac_wine_check_headers_saved_exeext
12845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12846 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12847 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12852 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12853 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12855 printf %s "(cached) " >&6
12857 ac_wine_check_headers_saved_cc=$CC
12858 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 #include <libxslt/transform.h>
12873 if ac_fn_c_try_compile "$LINENO"
12875 ac_cv_mingw_header_libxslt_transform_h=yes
12877 ac_cv_mingw_header_libxslt_transform_h=no
12879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12880 CC=$ac_wine_check_headers_saved_cc
12881 ac_exeext=$ac_wine_check_headers_saved_exeext
12883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12884 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12885 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12889 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12892 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12893 if test ${ac_cv_mingw_lib_xslt+y}
12895 printf %s "(cached) " >&6
12897 ac_wine_check_headers_saved_cc=$CC
12898 ac_wine_check_headers_saved_exeext=$ac_exeext
12899 ac_wine_check_headers_saved_libs=$LIBS
12902 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 char xsltCompilePattern ();
12913 return xsltCompilePattern ();
12918 if ac_fn_c_try_link "$LINENO"
12920 ac_cv_mingw_lib_xslt=yes
12922 ac_cv_mingw_lib_xslt=no
12924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12925 conftest$ac_exeext conftest.$ac_ext
12926 CC=$ac_wine_check_headers_saved_cc
12927 ac_exeext=$ac_wine_check_headers_saved_exeext
12928 LIBS=$ac_wine_check_headers_saved_libs
12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12931 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12932 if test "x$ac_cv_mingw_lib_xslt" = xyes
12936 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12942 CPPFLAGS=$ac_save_CPPFLAGS
12944 if test "x$XSLT_PE_LIBS" = "x"
12946 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12949 if ${VKD3D_PE_CFLAGS:+false} :
12951 if test ${MINGW_PKG_CONFIG+y}
12953 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12956 if ${VKD3D_PE_LIBS:+false} :
12958 if test ${MINGW_PKG_CONFIG+y}
12960 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12963 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12964 ac_save_CPPFLAGS=$CPPFLAGS
12965 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12967 printf %s "checking for MinGW vkd3d.h... " >&6; }
12968 if test ${ac_cv_mingw_header_vkd3d_h+y}
12970 printf %s "(cached) " >&6
12972 ac_wine_check_headers_saved_cc=$CC
12973 ac_wine_check_headers_saved_exeext=$ac_exeext
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12988 if ac_fn_c_try_compile "$LINENO"
12990 ac_cv_mingw_header_vkd3d_h=yes
12992 ac_cv_mingw_header_vkd3d_h=no
12994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12995 CC=$ac_wine_check_headers_saved_cc
12996 ac_exeext=$ac_wine_check_headers_saved_exeext
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12999 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13000 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13005 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13006 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13008 printf %s "(cached) " >&6
13010 ac_wine_check_headers_saved_cc=$CC
13011 ac_wine_check_headers_saved_exeext=$ac_exeext
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 #include <vkd3d_shader.h>
13026 if ac_fn_c_try_compile "$LINENO"
13028 ac_cv_mingw_header_vkd3d_shader_h=yes
13030 ac_cv_mingw_header_vkd3d_shader_h=no
13032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13033 CC=$ac_wine_check_headers_saved_cc
13034 ac_exeext=$ac_wine_check_headers_saved_exeext
13036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13037 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13038 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13042 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13045 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13046 if test ${ac_cv_mingw_lib_vkd3d+y}
13048 printf %s "(cached) " >&6
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 ac_wine_check_headers_saved_libs=$LIBS
13055 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 char vkd3d_set_log_callback ();
13066 return vkd3d_set_log_callback ();
13071 if ac_fn_c_try_link "$LINENO"
13073 ac_cv_mingw_lib_vkd3d=yes
13075 ac_cv_mingw_lib_vkd3d=no
13077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CC=$ac_wine_check_headers_saved_cc
13080 ac_exeext=$ac_wine_check_headers_saved_exeext
13081 LIBS=$ac_wine_check_headers_saved_libs
13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13084 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13085 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13092 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13093 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13095 printf %s "(cached) " >&6
13097 ac_wine_check_headers_saved_cc=$CC
13098 ac_wine_check_headers_saved_exeext=$ac_exeext
13099 ac_wine_check_headers_saved_libs=$LIBS
13102 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 char vkd3d_shader_compile ();
13113 return vkd3d_shader_compile ();
13118 if ac_fn_c_try_link "$LINENO"
13120 ac_cv_mingw_lib_vkd3d_shader=yes
13122 ac_cv_mingw_lib_vkd3d_shader=no
13124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13125 conftest$ac_exeext conftest.$ac_ext
13126 CC=$ac_wine_check_headers_saved_cc
13127 ac_exeext=$ac_wine_check_headers_saved_exeext
13128 LIBS=$ac_wine_check_headers_saved_libs
13130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13131 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13132 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13138 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13147 CPPFLAGS=$ac_save_CPPFLAGS
13149 if test "x$VKD3D_PE_LIBS" = "x"
13151 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13154 if ${ZLIB_PE_CFLAGS:+false} :
13156 if test ${MINGW_PKG_CONFIG+y}
13158 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13161 if ${ZLIB_PE_LIBS:+false} :
13163 if test ${MINGW_PKG_CONFIG+y}
13165 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13168 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13169 ac_save_CPPFLAGS=$CPPFLAGS
13170 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13172 printf %s "checking for MinGW zlib.h... " >&6; }
13173 if test ${ac_cv_mingw_header_zlib_h+y}
13175 printf %s "(cached) " >&6
13177 ac_wine_check_headers_saved_cc=$CC
13178 ac_wine_check_headers_saved_exeext=$ac_exeext
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13193 if ac_fn_c_try_compile "$LINENO"
13195 ac_cv_mingw_header_zlib_h=yes
13197 ac_cv_mingw_header_zlib_h=no
13199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13200 CC=$ac_wine_check_headers_saved_cc
13201 ac_exeext=$ac_wine_check_headers_saved_exeext
13203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13204 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13205 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13208 printf %s "checking for inflate in MinGW -lz... " >&6; }
13209 if test ${ac_cv_mingw_lib_z+y}
13211 printf %s "(cached) " >&6
13213 ac_wine_check_headers_saved_cc=$CC
13214 ac_wine_check_headers_saved_exeext=$ac_exeext
13215 ac_wine_check_headers_saved_libs=$LIBS
13218 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220 /* end confdefs.h. */
13222 /* Override any GCC internal prototype to avoid an error.
13223 Use char because int might match the return type of a GCC
13224 builtin and then its argument prototype would still apply. */
13234 if ac_fn_c_try_link "$LINENO"
13236 ac_cv_mingw_lib_z=yes
13238 ac_cv_mingw_lib_z=no
13240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13241 conftest$ac_exeext conftest.$ac_ext
13242 CC=$ac_wine_check_headers_saved_cc
13243 ac_exeext=$ac_wine_check_headers_saved_exeext
13244 LIBS=$ac_wine_check_headers_saved_libs
13246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13247 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13248 if test "x$ac_cv_mingw_lib_z" = xyes
13252 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13255 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13257 CPPFLAGS=$ac_save_CPPFLAGS
13259 if test "x$ZLIB_PE_LIBS" = "x"
13261 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13265 if ${FAUDIO_PE_LIBS:+false} :
13267 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13268 if ${FAUDIO_PE_CFLAGS:+false} :
13270 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13280 if ${GSM_PE_LIBS:+false} :
13283 if ${GSM_PE_CFLAGS:+false} :
13285 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13295 if ${JPEG_PE_LIBS:+false} :
13298 if ${JPEG_PE_CFLAGS:+false} :
13300 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13310 if ${JXR_PE_LIBS:+false} :
13313 if ${JXR_PE_CFLAGS:+false} :
13315 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13325 if ${LCMS2_PE_LIBS:+false} :
13327 LCMS2_PE_LIBS=lcms2
13328 if ${LCMS2_PE_CFLAGS:+false} :
13330 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13340 if ${MPG123_PE_LIBS:+false} :
13342 MPG123_PE_LIBS=mpg123
13343 if ${MPG123_PE_CFLAGS:+false} :
13345 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13355 if ${PNG_PE_LIBS:+false} :
13357 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13358 if ${PNG_PE_CFLAGS:+false} :
13360 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13370 if ${TIFF_PE_LIBS:+false} :
13372 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13373 if ${TIFF_PE_CFLAGS:+false} :
13375 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13385 if ${VKD3D_PE_LIBS:+false} :
13387 VKD3D_PE_LIBS=vkd3d
13388 if ${VKD3D_PE_CFLAGS:+false} :
13390 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13400 if ${XML2_PE_LIBS:+false} :
13403 if ${XML2_PE_CFLAGS:+false} :
13405 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13415 if ${XSLT_PE_LIBS:+false} :
13418 if ${XSLT_PE_CFLAGS:+false} :
13420 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13430 if ${ZLIB_PE_LIBS:+false} :
13433 if ${ZLIB_PE_CFLAGS:+false} :
13435 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13447 if test "$ac_cv_header_pthread_h" = "yes"
13449 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13450 if test "x$ac_cv_func_pthread_create" = xyes
13454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13455 printf %s "checking for pthread_create in -lpthread... " >&6; }
13456 if test ${ac_cv_lib_pthread_pthread_create+y}
13458 printf %s "(cached) " >&6
13460 ac_check_lib_save_LIBS=$LIBS
13461 LIBS="-lpthread $LIBS"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 /* Override any GCC internal prototype to avoid an error.
13466 Use char because int might match the return type of a GCC
13467 builtin and then its argument prototype would still apply. */
13468 char pthread_create ();
13472 return pthread_create ();
13477 if ac_fn_c_try_link "$LINENO"
13479 ac_cv_lib_pthread_pthread_create=yes
13481 ac_cv_lib_pthread_pthread_create=no
13483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_lib_save_LIBS
13487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13488 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13489 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13491 PTHREAD_LIBS="-lpthread"
13498 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13500 case "x$with_pthread" in
13502 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13503 Wine cannot support threads without libpthread.
13504 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13511 ac_cpp='$CPP $CPPFLAGS'
13512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13516 printf %s "checking how to run the C preprocessor... " >&6; }
13517 # On Suns, sometimes $CPP names a directory.
13518 if test -n "$CPP" && test -d "$CPP"; then
13521 if test -z "$CPP"; then
13522 if test ${ac_cv_prog_CPP+y}
13524 printf %s "(cached) " >&6
13526 # Double quotes because $CC needs to be expanded
13527 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13529 ac_preproc_ok=false
13530 for ac_c_preproc_warn_flag in '' yes
13532 # Use a header file that comes with gcc, so configuring glibc
13533 # with a fresh cross-compiler works.
13534 # On the NeXT, cc -E runs the code through the compiler's parser,
13535 # not just through cpp. "Syntax error" is here to catch this case.
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 #include <limits.h>
13541 if ac_fn_c_try_cpp "$LINENO"
13545 # Broken: fails on valid input.
13548 rm -f conftest.err conftest.i conftest.$ac_ext
13550 # OK, works on sane cases. Now check whether nonexistent headers
13551 # can be detected and how.
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 #include <ac_nonexistent.h>
13556 if ac_fn_c_try_cpp "$LINENO"
13558 # Broken: success on invalid input.
13561 # Passes both tests.
13565 rm -f conftest.err conftest.i conftest.$ac_ext
13568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13569 rm -f conftest.i conftest.err conftest.
$ac_ext
13576 ac_cv_prog_CPP
=$CPP
13579 CPP
=$ac_cv_prog_CPP
13581 ac_cv_prog_CPP
=$CPP
13583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13584 printf "%s\n" "$CPP" >&6; }
13585 ac_preproc_ok
=false
13586 for ac_c_preproc_warn_flag
in '' yes
13588 # Use a header file that comes with gcc, so configuring glibc
13589 # with a fresh cross-compiler works.
13590 # On the NeXT, cc -E runs the code through the compiler's parser,
13591 # not just through cpp. "Syntax error" is here to catch this case.
13592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13594 #include <limits.h>
13597 if ac_fn_c_try_cpp
"$LINENO"
13601 # Broken: fails on valid input.
13604 rm -f conftest.err conftest.i conftest.
$ac_ext
13606 # OK, works on sane cases. Now check whether nonexistent headers
13607 # can be detected and how.
13608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13610 #include <ac_nonexistent.h>
13612 if ac_fn_c_try_cpp
"$LINENO"
13614 # Broken: success on invalid input.
13617 # Passes both tests.
13621 rm -f conftest.err conftest.i conftest.
$ac_ext
13624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13625 rm -f conftest.i conftest.err conftest.
$ac_ext
13630 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13631 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13632 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13633 See \`config.log' for more details" "$LINENO" 5; }
13637 ac_cpp
='$CPP $CPPFLAGS'
13638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13644 printf %s
"checking for X... " >&6; }
13647 # Check whether --with-x was given.
13648 if test ${with_x+y}
13653 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13654 if test "x$with_x" = xno
; then
13655 # The user explicitly disabled X.
13658 case $x_includes,$x_libraries in #(
13659 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13660 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13662 printf %s
"(cached) " >&6
13664 # One or both of the vars are not set, and there is no cached value.
13667 # Do we need to do anything special at all?
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 #include <X11/Xlib.h>
13681 if ac_fn_c_try_link
"$LINENO"
13683 # We can compile and link X programs with no special options.
13687 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13688 conftest
$ac_exeext conftest.
$ac_ext
13689 LIBS
="$ac_save_LIBS"
13690 # If that didn't work, only try xmkmf and file system searches
13691 # for native compilation.
13692 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13694 rm -f -r conftest.dir
13695 if mkdir conftest.dir
; then
13697 cat >Imakefile
<<'_ACEOF'
13699 @echo incroot='${INCROOT}'
13701 @echo usrlibdir='${USRLIBDIR}'
13703 @echo libdir='${LIBDIR}'
13705 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13706 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13707 for ac_var
in incroot usrlibdir libdir
; do
13708 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13710 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13711 for ac_extension
in a so sl dylib la dll
; do
13712 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13713 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13714 ac_im_usrlibdir
=$ac_im_libdir; break
13717 # Screen out bogus values from the imake configuration. They are
13718 # bogus both because they are the default anyway, and because
13719 # using them would break gcc on systems where it needs fixed includes.
13720 case $ac_im_incroot in
13721 /usr
/include
) ac_x_includes
= ;;
13722 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13724 case $ac_im_usrlibdir in
13725 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13726 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13730 rm -f -r conftest.dir
13733 # Standard set of common directories for X headers.
13734 # Check X11 before X11Rn because it is often a symlink to the current release.
13748 /usr/local/X11/include
13749 /usr/local/X11R7/include
13750 /usr/local/X11R6/include
13751 /usr/local/X11R5/include
13752 /usr/local/X11R4/include
13754 /usr/local/include/X11
13755 /usr/local/include/X11R7
13756 /usr/local/include/X11R6
13757 /usr/local/include/X11R5
13758 /usr/local/include/X11R4
13764 /usr/XFree86/include/X11
13768 /usr/unsupported/include
13769 /usr/athena/include
13770 /usr/local/x11r5/include
13771 /usr/lpp/Xamples/include
13773 /usr/openwin/include
13774 /usr/openwin/share/include'
13776 if test "$ac_x_includes" = no
; then
13777 # Guess where to find include files, by looking for Xlib.h.
13778 # First, try using that file with no special directory specified.
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 #include <X11/Xlib.h>
13783 if ac_fn_c_try_cpp
"$LINENO"
13785 # We can compile using X headers with no special include directory.
13788 for ac_dir
in $ac_x_header_dirs; do
13789 if test -r "$ac_dir/X11/Xlib.h"; then
13790 ac_x_includes
=$ac_dir
13795 rm -f conftest.err conftest.i conftest.
$ac_ext
13796 fi # $ac_x_includes = no
13798 if test "$ac_x_libraries" = no
; then
13799 # Check for the libraries.
13800 # See if we find them without any special options.
13801 # Don't add to $LIBS permanently.
13804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13806 #include <X11/Xlib.h>
13815 if ac_fn_c_try_link
"$LINENO"
13818 # We can link X programs with no special library path.
13822 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13824 # Don't even attempt the hair of trying to link an X program!
13825 for ac_extension
in a so sl dylib la dll
; do
13826 if test -r "$ac_dir/libX11.$ac_extension"; then
13827 ac_x_libraries
=$ac_dir
13833 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13834 conftest
$ac_exeext conftest.
$ac_ext
13835 fi # $ac_x_libraries = no
13838 # Record the results.
13839 case $ac_x_includes,$ac_x_libraries in #(
13840 no
,* |
*,no |
*\'*) :
13841 # Didn't find X, or a directory has "'" in its name.
13842 ac_cv_have_x
="have_x=no" ;; #(
13844 # Record where we found X for the cache.
13845 ac_cv_have_x
="have_x=yes\
13846 ac_x_includes='$ac_x_includes'\
13847 ac_x_libraries='$ac_x_libraries'" ;;
13853 eval "$ac_cv_have_x"
13856 if test "$have_x" != yes; then
13857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13858 printf "%s\n" "$have_x" >&6; }
13861 # If each of the values was on the command line, it overrides each guess.
13862 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13863 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13864 # Update the cache value to reflect the command line values.
13865 ac_cv_have_x
="have_x=yes\
13866 ac_x_includes='$x_includes'\
13867 ac_x_libraries='$x_libraries'"
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13869 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13872 if test "$no_x" = yes; then
13873 # Not all programs may use this symbol, but it does not hurt to define it.
13875 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13877 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13879 if test -n "$x_includes"; then
13880 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13883 # It would also be nice to do this for all -L options, not just this one.
13884 if test -n "$x_libraries"; then
13885 X_LIBS
="$X_LIBS -L$x_libraries"
13886 # For Solaris; some versions of Sun CC require a space after -R and
13887 # others require no space. Words are not sufficient . . . .
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13889 printf %s
"checking whether -R must be followed by a space... " >&6; }
13890 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13891 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13892 ac_c_werror_flag
=yes
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13904 if ac_fn_c_try_link
"$LINENO"
13906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13907 printf "%s\n" "no" >&6; }
13908 X_LIBS
="$X_LIBS -R$x_libraries"
13910 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13922 if ac_fn_c_try_link
"$LINENO"
13924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13925 printf "%s\n" "yes" >&6; }
13926 X_LIBS
="$X_LIBS -R $x_libraries"
13928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13929 printf "%s\n" "neither works" >&6; }
13931 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13932 conftest
$ac_exeext conftest.
$ac_ext
13934 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13935 conftest
$ac_exeext conftest.
$ac_ext
13936 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13937 LIBS
=$ac_xsave_LIBS
13940 # Check for system-dependent libraries X programs must link with.
13941 # Do this before checking for the system-independent R6 libraries
13942 # (-lICE), since we may need -lsocket or whatever for X linking.
13944 if test "$ISC" = yes; then
13945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13947 # Martyn Johnson says this is needed for Ultrix, if the X
13948 # libraries were built with DECnet support. And Karl Berry says
13949 # the Alpha needs dnet_stub (dnet does not exist).
13950 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
13961 return XOpenDisplay ();
13966 if ac_fn_c_try_link
"$LINENO"
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13971 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13972 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13974 printf %s
"(cached) " >&6
13976 ac_check_lib_save_LIBS
=$LIBS
13977 LIBS
="-ldnet $LIBS"
13978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13981 /* Override any GCC internal prototype to avoid an error.
13982 Use char because int might match the return type of a GCC
13983 builtin and then its argument prototype would still apply. */
13988 return dnet_ntoa ();
13993 if ac_fn_c_try_link
"$LINENO"
13995 ac_cv_lib_dnet_dnet_ntoa
=yes
13997 ac_cv_lib_dnet_dnet_ntoa
=no
13999 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14000 conftest
$ac_exeext conftest.
$ac_ext
14001 LIBS
=$ac_check_lib_save_LIBS
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14004 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14005 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14007 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14010 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14012 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14013 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14015 printf %s
"(cached) " >&6
14017 ac_check_lib_save_LIBS
=$LIBS
14018 LIBS
="-ldnet_stub $LIBS"
14019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14022 /* Override any GCC internal prototype to avoid an error.
14023 Use char because int might match the return type of a GCC
14024 builtin and then its argument prototype would still apply. */
14029 return dnet_ntoa ();
14034 if ac_fn_c_try_link
"$LINENO"
14036 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14038 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 LIBS
=$ac_check_lib_save_LIBS
14044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14045 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14046 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14048 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14053 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14054 conftest
$ac_exeext conftest.
$ac_ext
14055 LIBS
="$ac_xsave_LIBS"
14057 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14058 # to get the SysV transport functions.
14059 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14061 # The nsl library prevents programs from opening the X display
14062 # on Irix 5.2, according to T.E. Dickey.
14063 # The functions gethostbyname, getservbyname, and inet_addr are
14064 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14065 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14066 if test "x$ac_cv_func_gethostbyname" = xyes
14071 if test $ac_cv_func_gethostbyname = no
; then
14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14073 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14074 if test ${ac_cv_lib_nsl_gethostbyname+y}
14076 printf %s
"(cached) " >&6
14078 ac_check_lib_save_LIBS
=$LIBS
14080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 char gethostbyname ();
14090 return gethostbyname ();
14095 if ac_fn_c_try_link
"$LINENO"
14097 ac_cv_lib_nsl_gethostbyname
=yes
14099 ac_cv_lib_nsl_gethostbyname
=no
14101 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14102 conftest
$ac_exeext conftest.
$ac_ext
14103 LIBS
=$ac_check_lib_save_LIBS
14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14106 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14107 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14112 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14114 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14115 if test ${ac_cv_lib_bsd_gethostbyname+y}
14117 printf %s
"(cached) " >&6
14119 ac_check_lib_save_LIBS
=$LIBS
14121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14124 /* Override any GCC internal prototype to avoid an error.
14125 Use char because int might match the return type of a GCC
14126 builtin and then its argument prototype would still apply. */
14127 char gethostbyname ();
14131 return gethostbyname ();
14136 if ac_fn_c_try_link
"$LINENO"
14138 ac_cv_lib_bsd_gethostbyname
=yes
14140 ac_cv_lib_bsd_gethostbyname
=no
14142 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14143 conftest
$ac_exeext conftest.
$ac_ext
14144 LIBS
=$ac_check_lib_save_LIBS
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14147 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14148 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14150 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14156 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14157 # socket/setsockopt and other routines are undefined under SCO ODT
14158 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14159 # on later versions), says Simon Leinen: it contains gethostby*
14160 # variants that don't use the name server (or something). -lsocket
14161 # must be given before -lnsl if both are needed. We assume that
14162 # if connect needs -lnsl, so does gethostbyname.
14163 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14164 if test "x$ac_cv_func_connect" = xyes
14169 if test $ac_cv_func_connect = no
; then
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14171 printf %s
"checking for connect in -lsocket... " >&6; }
14172 if test ${ac_cv_lib_socket_connect+y}
14174 printf %s
"(cached) " >&6
14176 ac_check_lib_save_LIBS
=$LIBS
14177 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14193 if ac_fn_c_try_link
"$LINENO"
14195 ac_cv_lib_socket_connect
=yes
14197 ac_cv_lib_socket_connect
=no
14199 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14200 conftest
$ac_exeext conftest.
$ac_ext
14201 LIBS
=$ac_check_lib_save_LIBS
14203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14204 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14205 if test "x$ac_cv_lib_socket_connect" = xyes
14207 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14212 # Guillermo Gomez says -lposix is necessary on A/UX.
14213 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14214 if test "x$ac_cv_func_remove" = xyes
14219 if test $ac_cv_func_remove = no
; then
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14221 printf %s
"checking for remove in -lposix... " >&6; }
14222 if test ${ac_cv_lib_posix_remove+y}
14224 printf %s
"(cached) " >&6
14226 ac_check_lib_save_LIBS
=$LIBS
14227 LIBS
="-lposix $LIBS"
14228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14243 if ac_fn_c_try_link
"$LINENO"
14245 ac_cv_lib_posix_remove
=yes
14247 ac_cv_lib_posix_remove
=no
14249 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14250 conftest
$ac_exeext conftest.
$ac_ext
14251 LIBS
=$ac_check_lib_save_LIBS
14253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14254 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14255 if test "x$ac_cv_lib_posix_remove" = xyes
14257 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14262 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14263 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14264 if test "x$ac_cv_func_shmat" = xyes
14269 if test $ac_cv_func_shmat = no
; then
14270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14271 printf %s
"checking for shmat in -lipc... " >&6; }
14272 if test ${ac_cv_lib_ipc_shmat+y}
14274 printf %s
"(cached) " >&6
14276 ac_check_lib_save_LIBS
=$LIBS
14278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14281 /* Override any GCC internal prototype to avoid an error.
14282 Use char because int might match the return type of a GCC
14283 builtin and then its argument prototype would still apply. */
14293 if ac_fn_c_try_link
"$LINENO"
14295 ac_cv_lib_ipc_shmat
=yes
14297 ac_cv_lib_ipc_shmat
=no
14299 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14300 conftest
$ac_exeext conftest.
$ac_ext
14301 LIBS
=$ac_check_lib_save_LIBS
14303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14304 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14305 if test "x$ac_cv_lib_ipc_shmat" = xyes
14307 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14313 # Check for libraries that X11R6 Xt/Xaw programs need.
14314 ac_save_LDFLAGS
=$LDFLAGS
14315 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14316 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14317 # check for ICE first), but we must link in the order -lSM -lICE or
14318 # we get undefined symbols. So assume we have SM if we have ICE.
14319 # These have to be linked with before -lX11, unlike the other
14320 # libraries we check for below, so use a different variable.
14321 # John Interrante, Karl Berry
14322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14323 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14324 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14326 printf %s
"(cached) " >&6
14328 ac_check_lib_save_LIBS
=$LIBS
14329 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14333 /* Override any GCC internal prototype to avoid an error.
14334 Use char because int might match the return type of a GCC
14335 builtin and then its argument prototype would still apply. */
14336 char IceConnectionNumber ();
14340 return IceConnectionNumber ();
14345 if ac_fn_c_try_link
"$LINENO"
14347 ac_cv_lib_ICE_IceConnectionNumber
=yes
14349 ac_cv_lib_ICE_IceConnectionNumber
=no
14351 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14352 conftest
$ac_exeext conftest.
$ac_ext
14353 LIBS
=$ac_check_lib_save_LIBS
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14356 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14357 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14359 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14362 LDFLAGS
=$ac_save_LDFLAGS
14367 if test "$have_x" = "yes"
14369 ac_save_CPPFLAGS
="$CPPFLAGS"
14370 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14373 printf %s
"checking for -lX11... " >&6; }
14374 if test ${ac_cv_lib_soname_X11+y}
14376 printf %s
"(cached) " >&6
14378 ac_check_soname_save_LIBS
=$LIBS
14379 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14383 /* Override any GCC internal prototype to avoid an error.
14384 Use char because int might match the return type of a GCC
14385 builtin and then its argument prototype would still apply. */
14386 char XCreateWindow ();
14390 return XCreateWindow ();
14395 if ac_fn_c_try_link
"$LINENO"
14398 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14399 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'` ;;
14400 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14401 if ${ac_cv_lib_soname_X11:+false} :
14403 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14407 ac_cv_lib_soname_X11
=
14409 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14410 conftest
$ac_exeext conftest.
$ac_ext
14411 LIBS
=$ac_check_soname_save_LIBS
14413 if ${ac_cv_lib_soname_X11:+false} :
14415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14416 printf "%s\n" "not found" >&6; }
14419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14420 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14422 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14427 printf %s
"checking for -lXext... " >&6; }
14428 if test ${ac_cv_lib_soname_Xext+y}
14430 printf %s
"(cached) " >&6
14432 ac_check_soname_save_LIBS
=$LIBS
14433 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14440 char XextCreateExtension ();
14444 return XextCreateExtension ();
14449 if ac_fn_c_try_link
"$LINENO"
14452 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14453 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'` ;;
14454 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14455 if ${ac_cv_lib_soname_Xext:+false} :
14457 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14461 ac_cv_lib_soname_Xext
=
14463 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14464 conftest
$ac_exeext conftest.
$ac_ext
14465 LIBS
=$ac_check_soname_save_LIBS
14467 if ${ac_cv_lib_soname_Xext:+false} :
14469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14470 printf "%s\n" "not found" >&6; }
14473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14474 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14476 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14478 X_LIBS
="$X_LIBS -lXext"
14480 X_LIBS
="$X_LIBS -lX11"
14482 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14483 # include <X11/Xlib.h>
14485 #ifdef HAVE_X11_XUTIL_H
14486 # include <X11/Xutil.h>
14489 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14491 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14494 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14495 # include <X11/Xlib.h>
14497 #ifdef HAVE_X11_XUTIL_H
14498 # include <X11/Xutil.h>
14501 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14503 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14507 # include <X11/Xlib.h>
14509 #ifdef HAVE_X11_XUTIL_H
14510 # include <X11/Xutil.h>
14513 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14515 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14518 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14519 # include <X11/Xlib.h>
14521 #ifdef HAVE_X11_XUTIL_H
14522 # include <X11/Xutil.h>
14525 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14527 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14530 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14531 # include <X11/Xlib.h>
14533 #ifdef HAVE_X11_XUTIL_H
14534 # include <X11/Xutil.h>
14537 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14539 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14542 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14543 # include <X11/Xlib.h>
14545 #ifdef HAVE_X11_XUTIL_H
14546 # include <X11/Xutil.h>
14549 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14551 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14554 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14555 # include <X11/Xlib.h>
14557 #ifdef HAVE_X11_XUTIL_H
14558 # include <X11/Xutil.h>
14561 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14563 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14566 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14567 # include <X11/Xlib.h>
14569 #ifdef HAVE_X11_XUTIL_H
14570 # include <X11/Xutil.h>
14573 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14575 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14578 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14579 # include <X11/Xlib.h>
14581 #ifdef HAVE_X11_XUTIL_H
14582 # include <X11/Xutil.h>
14585 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14587 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14590 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14591 # include <X11/Xlib.h>
14593 #ifdef HAVE_X11_XUTIL_H
14594 # include <X11/Xutil.h>
14597 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14599 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14602 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14603 # include <X11/Xlib.h>
14605 #ifdef HAVE_X11_XUTIL_H
14606 # include <X11/Xutil.h>
14609 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14611 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14614 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14615 # include <X11/Xlib.h>
14617 #ifdef HAVE_X11_XUTIL_H
14618 # include <X11/Xutil.h>
14621 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14623 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14626 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14627 # include <X11/Xlib.h>
14629 #ifdef HAVE_X11_XUTIL_H
14630 # include <X11/Xutil.h>
14633 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14635 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14638 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14639 # include <X11/Xlib.h>
14641 #ifdef HAVE_X11_XUTIL_H
14642 # include <X11/Xutil.h>
14645 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14647 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14650 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14651 # include <X11/Xlib.h>
14653 #ifdef HAVE_X11_XUTIL_H
14654 # include <X11/Xutil.h>
14657 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14659 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14664 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14667 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14668 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14670 printf %s
"(cached) " >&6
14672 ac_check_lib_save_LIBS
=$LIBS
14673 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char XkbQueryExtension ();
14684 return XkbQueryExtension ();
14689 if ac_fn_c_try_link
"$LINENO"
14691 ac_cv_lib_X11_XkbQueryExtension
=yes
14693 ac_cv_lib_X11_XkbQueryExtension
=no
14695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14696 conftest
$ac_exeext conftest.
$ac_ext
14697 LIBS
=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14700 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14701 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14704 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14710 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14713 printf %s
"checking for -lXcursor... " >&6; }
14714 if test ${ac_cv_lib_soname_Xcursor+y}
14716 printf %s
"(cached) " >&6
14718 ac_check_soname_save_LIBS
=$LIBS
14719 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14723 /* Override any GCC internal prototype to avoid an error.
14724 Use char because int might match the return type of a GCC
14725 builtin and then its argument prototype would still apply. */
14726 char XcursorImageLoadCursor ();
14730 return XcursorImageLoadCursor ();
14735 if ac_fn_c_try_link
"$LINENO"
14738 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14739 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'` ;;
14740 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14741 if ${ac_cv_lib_soname_Xcursor:+false} :
14743 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14747 ac_cv_lib_soname_Xcursor
=
14749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14750 conftest
$ac_exeext conftest.
$ac_ext
14751 LIBS
=$ac_check_soname_save_LIBS
14753 if ${ac_cv_lib_soname_Xcursor:+false} :
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14756 printf "%s\n" "not found" >&6; }
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14760 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14762 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14767 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14769 case "x$with_xcursor" in
14770 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14772 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14773 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14778 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14781 printf %s
"checking for -lXi... " >&6; }
14782 if test ${ac_cv_lib_soname_Xi+y}
14784 printf %s
"(cached) " >&6
14786 ac_check_soname_save_LIBS
=$LIBS
14787 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14791 /* Override any GCC internal prototype to avoid an error.
14792 Use char because int might match the return type of a GCC
14793 builtin and then its argument prototype would still apply. */
14794 char XOpenDevice ();
14798 return XOpenDevice ();
14803 if ac_fn_c_try_link
"$LINENO"
14806 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14807 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'` ;;
14808 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14809 if ${ac_cv_lib_soname_Xi:+false} :
14811 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14815 ac_cv_lib_soname_Xi
=
14817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14818 conftest
$ac_exeext conftest.
$ac_ext
14819 LIBS
=$ac_check_soname_save_LIBS
14821 if ${ac_cv_lib_soname_Xi:+false} :
14823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14824 printf "%s\n" "not found" >&6; }
14827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14828 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14830 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14835 if test "x$ac_cv_lib_soname_Xi" = "x"
14837 case "x$with_xinput" in
14838 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14840 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14841 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14846 if test "x$ac_cv_lib_soname_Xi" != x
14848 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14850 case "x$with_xinput2" in
14851 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14853 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14854 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14860 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14863 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14864 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14866 printf %s
"(cached) " >&6
14868 ac_check_lib_save_LIBS
=$LIBS
14869 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 char XShmQueryExtension ();
14880 return XShmQueryExtension ();
14885 if ac_fn_c_try_link
"$LINENO"
14887 ac_cv_lib_Xext_XShmQueryExtension
=yes
14889 ac_cv_lib_Xext_XShmQueryExtension
=no
14891 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14892 conftest
$ac_exeext conftest.
$ac_ext
14893 LIBS
=$ac_check_lib_save_LIBS
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14896 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14897 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14900 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14905 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14907 case "x$with_xshm" in
14908 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14910 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14911 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14916 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14919 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14920 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14922 printf %s
"(cached) " >&6
14924 ac_check_lib_save_LIBS
=$LIBS
14925 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 /* Override any GCC internal prototype to avoid an error.
14930 Use char because int might match the return type of a GCC
14931 builtin and then its argument prototype would still apply. */
14932 char XShapeQueryExtension ();
14936 return XShapeQueryExtension ();
14941 if ac_fn_c_try_link
"$LINENO"
14943 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14945 ac_cv_lib_Xext_XShapeQueryExtension
=no
14947 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14948 conftest
$ac_exeext conftest.
$ac_ext
14949 LIBS
=$ac_check_lib_save_LIBS
14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14952 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14953 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14956 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14961 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14963 case "x$with_xshape" in
14964 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14966 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14967 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14972 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14975 printf %s
"checking for -lXxf86vm... " >&6; }
14976 if test ${ac_cv_lib_soname_Xxf86vm+y}
14978 printf %s
"(cached) " >&6
14980 ac_check_soname_save_LIBS
=$LIBS
14981 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14985 /* Override any GCC internal prototype to avoid an error.
14986 Use char because int might match the return type of a GCC
14987 builtin and then its argument prototype would still apply. */
14988 char XF86VidModeQueryExtension ();
14992 return XF86VidModeQueryExtension ();
14997 if ac_fn_c_try_link
"$LINENO"
15000 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15001 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'` ;;
15002 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15003 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15005 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15009 ac_cv_lib_soname_Xxf86vm
=
15011 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15012 conftest
$ac_exeext conftest.
$ac_ext
15013 LIBS
=$ac_check_soname_save_LIBS
15015 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15018 printf "%s\n" "not found" >&6; }
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15022 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15024 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15029 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15031 case "x$with_xxf86vm" in
15032 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15034 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15035 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15040 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15043 printf %s
"checking for -lXrender... " >&6; }
15044 if test ${ac_cv_lib_soname_Xrender+y}
15046 printf %s
"(cached) " >&6
15048 ac_check_soname_save_LIBS
=$LIBS
15049 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15056 char XRenderQueryExtension ();
15060 return XRenderQueryExtension ();
15065 if ac_fn_c_try_link
"$LINENO"
15068 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15069 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'` ;;
15070 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15071 if ${ac_cv_lib_soname_Xrender:+false} :
15073 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15077 ac_cv_lib_soname_Xrender
=
15079 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15080 conftest
$ac_exeext conftest.
$ac_ext
15081 LIBS
=$ac_check_soname_save_LIBS
15083 if ${ac_cv_lib_soname_Xrender:+false} :
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15086 printf "%s\n" "not found" >&6; }
15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15090 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15092 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15095 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15096 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15098 printf %s
"(cached) " >&6
15100 ac_check_lib_save_LIBS
=$LIBS
15101 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15108 char XRenderSetPictureTransform ();
15112 return XRenderSetPictureTransform ();
15117 if ac_fn_c_try_link
"$LINENO"
15119 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15121 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15123 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15124 conftest
$ac_exeext conftest.
$ac_ext
15125 LIBS
=$ac_check_lib_save_LIBS
15127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15128 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15129 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15132 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15137 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15138 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15140 printf %s
"(cached) " >&6
15142 ac_check_lib_save_LIBS
=$LIBS
15143 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15147 /* Override any GCC internal prototype to avoid an error.
15148 Use char because int might match the return type of a GCC
15149 builtin and then its argument prototype would still apply. */
15150 char XRenderCreateLinearGradient ();
15154 return XRenderCreateLinearGradient ();
15159 if ac_fn_c_try_link
"$LINENO"
15161 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15163 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15165 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15166 conftest
$ac_exeext conftest.
$ac_ext
15167 LIBS
=$ac_check_lib_save_LIBS
15169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15170 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15171 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15174 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15181 if test "x$ac_cv_lib_soname_Xrender" = "x"
15183 case "x$with_xrender" in
15184 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15186 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15187 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15192 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15196 #include <X11/Xlib.h>
15197 #include <X11/extensions/Xrandr.h>
15201 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15206 if ac_fn_c_try_compile
"$LINENO"
15208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15209 printf %s
"checking for -lXrandr... " >&6; }
15210 if test ${ac_cv_lib_soname_Xrandr+y}
15212 printf %s
"(cached) " >&6
15214 ac_check_soname_save_LIBS
=$LIBS
15215 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15222 char XRRQueryExtension ();
15226 return XRRQueryExtension ();
15231 if ac_fn_c_try_link
"$LINENO"
15234 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15235 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'` ;;
15236 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15237 if ${ac_cv_lib_soname_Xrandr:+false} :
15239 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15243 ac_cv_lib_soname_Xrandr
=
15245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15246 conftest
$ac_exeext conftest.
$ac_ext
15247 LIBS
=$ac_check_soname_save_LIBS
15249 if ${ac_cv_lib_soname_Xrandr:+false} :
15251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15252 printf "%s\n" "not found" >&6; }
15255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15256 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15258 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15262 #include <X11/Xlib.h>
15263 #include <X11/extensions/Xrandr.h>
15267 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15272 if ac_fn_c_try_compile
"$LINENO"
15275 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15278 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15280 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15283 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15285 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15287 case "x$with_xrandr" in
15288 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15290 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15291 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15296 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 #include <X11/Xlib.h>
15301 #include <X11/extensions/Xfixes.h>
15305 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15310 if ac_fn_c_try_compile
"$LINENO"
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15313 printf %s
"checking for -lXfixes... " >&6; }
15314 if test ${ac_cv_lib_soname_Xfixes+y}
15316 printf %s
"(cached) " >&6
15318 ac_check_soname_save_LIBS
=$LIBS
15319 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15323 /* Override any GCC internal prototype to avoid an error.
15324 Use char because int might match the return type of a GCC
15325 builtin and then its argument prototype would still apply. */
15326 char XFixesQueryVersion ();
15330 return XFixesQueryVersion ();
15335 if ac_fn_c_try_link
"$LINENO"
15338 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15339 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'` ;;
15340 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15341 if ${ac_cv_lib_soname_Xfixes:+false} :
15343 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15347 ac_cv_lib_soname_Xfixes
=
15349 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15350 conftest
$ac_exeext conftest.
$ac_ext
15351 LIBS
=$ac_check_soname_save_LIBS
15353 if ${ac_cv_lib_soname_Xfixes:+false} :
15355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15356 printf "%s\n" "not found" >&6; }
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15360 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15362 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15367 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15369 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15371 case "x$with_xfixes" in
15372 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15374 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15375 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15380 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15384 #include <X11/Xlib.h>
15385 #include <X11/extensions/Xinerama.h>
15389 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15394 if ac_fn_c_try_compile
"$LINENO"
15396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15397 printf %s
"checking for -lXinerama... " >&6; }
15398 if test ${ac_cv_lib_soname_Xinerama+y}
15400 printf %s
"(cached) " >&6
15402 ac_check_soname_save_LIBS
=$LIBS
15403 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15410 char XineramaQueryScreens ();
15414 return XineramaQueryScreens ();
15419 if ac_fn_c_try_link
"$LINENO"
15422 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15423 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'` ;;
15424 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15425 if ${ac_cv_lib_soname_Xinerama:+false} :
15427 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15431 ac_cv_lib_soname_Xinerama
=
15433 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15434 conftest
$ac_exeext conftest.
$ac_ext
15435 LIBS
=$ac_check_soname_save_LIBS
15437 if ${ac_cv_lib_soname_Xinerama:+false} :
15439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15440 printf "%s\n" "not found" >&6; }
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15444 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15446 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15451 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15453 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15455 case "x$with_xinerama" in
15456 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15458 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15459 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15464 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15467 printf %s
"checking for -lXcomposite... " >&6; }
15468 if test ${ac_cv_lib_soname_Xcomposite+y}
15470 printf %s
"(cached) " >&6
15472 ac_check_soname_save_LIBS
=$LIBS
15473 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 char XCompositeRedirectWindow ();
15484 return XCompositeRedirectWindow ();
15489 if ac_fn_c_try_link
"$LINENO"
15492 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15493 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'` ;;
15494 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15495 if ${ac_cv_lib_soname_Xcomposite:+false} :
15497 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15501 ac_cv_lib_soname_Xcomposite
=
15503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15504 conftest
$ac_exeext conftest.
$ac_ext
15505 LIBS
=$ac_check_soname_save_LIBS
15507 if ${ac_cv_lib_soname_Xcomposite:+false} :
15509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15510 printf "%s\n" "not found" >&6; }
15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15514 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15516 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15521 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15523 case "x$with_xcomposite" in
15524 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15526 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15527 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15532 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15533 #include <X11/Xlib.h>
15536 if test "x$ac_cv_member_XICCallback_callback" = xyes
15539 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15543 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15544 #include <X11/Xlib.h>
15547 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15550 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15558 if test "x$with_opengl" != "xno"
15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15561 printf %s
"checking for -lGL... " >&6; }
15562 if test ${ac_cv_lib_soname_GL+y}
15564 printf %s
"(cached) " >&6
15566 ac_check_soname_save_LIBS
=$LIBS
15567 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15571 /* Override any GCC internal prototype to avoid an error.
15572 Use char because int might match the return type of a GCC
15573 builtin and then its argument prototype would still apply. */
15574 char glXCreateContext ();
15578 return glXCreateContext ();
15583 if ac_fn_c_try_link
"$LINENO"
15586 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15587 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'` ;;
15588 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15589 if ${ac_cv_lib_soname_GL:+false} :
15591 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15595 ac_cv_lib_soname_GL
=
15597 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15598 conftest
$ac_exeext conftest.
$ac_ext
15599 LIBS
=$ac_check_soname_save_LIBS
15601 if ${ac_cv_lib_soname_GL:+false} :
15603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15604 printf "%s\n" "not found" >&6; }
15605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15606 printf %s
"checking for -lGL... " >&6; }
15607 if test ${ac_cv_lib_soname_GL+y}
15609 printf %s
"(cached) " >&6
15611 ac_check_soname_save_LIBS
=$LIBS
15612 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"
15613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15614 /* end confdefs.h. */
15616 /* Override any GCC internal prototype to avoid an error.
15617 Use char because int might match the return type of a GCC
15618 builtin and then its argument prototype would still apply. */
15619 char glXCreateContext ();
15623 return glXCreateContext ();
15628 if ac_fn_c_try_link
"$LINENO"
15631 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15632 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'` ;;
15633 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15634 if ${ac_cv_lib_soname_GL:+false} :
15636 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15640 ac_cv_lib_soname_GL
=
15642 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15643 conftest
$ac_exeext conftest.
$ac_ext
15644 LIBS
=$ac_check_soname_save_LIBS
15646 if ${ac_cv_lib_soname_GL:+false} :
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15649 printf "%s\n" "not found" >&6; }
15650 if test -f /usr
/X11R
6/lib
/libGL.a
15652 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15653 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15655 opengl_msg
="No OpenGL library found on this system."
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15659 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15661 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15663 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"
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15667 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15669 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15673 if test "x$with_osmesa" != "xno"
15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15676 printf %s
"checking for -lOSMesa... " >&6; }
15677 if test ${ac_cv_lib_soname_OSMesa+y}
15679 printf %s
"(cached) " >&6
15681 ac_check_soname_save_LIBS
=$LIBS
15682 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15686 /* Override any GCC internal prototype to avoid an error.
15687 Use char because int might match the return type of a GCC
15688 builtin and then its argument prototype would still apply. */
15689 char OSMesaGetProcAddress ();
15693 return OSMesaGetProcAddress ();
15698 if ac_fn_c_try_link
"$LINENO"
15701 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15702 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'` ;;
15703 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15704 if ${ac_cv_lib_soname_OSMesa:+false} :
15706 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15710 ac_cv_lib_soname_OSMesa
=
15712 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15713 conftest
$ac_exeext conftest.
$ac_ext
15714 LIBS
=$ac_check_soname_save_LIBS
15716 if ${ac_cv_lib_soname_OSMesa:+false} :
15718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15719 printf "%s\n" "not found" >&6; }
15722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15723 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15725 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15729 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15731 case "x$with_osmesa" in
15732 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15734 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15735 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15741 if test -n "$opengl_msg"
15743 case "x$with_opengl" in
15744 x
) as_fn_append wine_warnings
"|$opengl_msg
15745 OpenGL and Direct3D won't be supported." ;;
15747 *) as_fn_error $?
"$opengl_msg
15748 OpenGL and Direct3D won't be supported.
15749 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15754 CPPFLAGS
="$ac_save_CPPFLAGS"
15760 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15762 if test "x$X_LIBS" = "x"
15766 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15767 without X support, which probably isn't what you want. You will need
15768 to install ${notice_platform}development packages of Xlib at the very least.
15769 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15771 enable_winex11_drv
=${enable_winex11_drv:-no}
15774 if test "x$X_LIBS" = "x"
15777 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15779 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15780 This is an error since --with-x was requested." "$LINENO" 5 ;;
15782 enable_winex11_drv
=${enable_winex11_drv:-no}
15786 if test "$ac_cv_header_CL_cl_h" = "yes"
15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15789 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15790 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15792 printf %s
"(cached) " >&6
15794 ac_check_lib_save_LIBS
=$LIBS
15795 LIBS
="-lOpenCL $LIBS"
15796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 char clGetPlatformInfo ();
15806 return clGetPlatformInfo ();
15811 if ac_fn_c_try_link
"$LINENO"
15813 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15815 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15818 conftest
$ac_exeext conftest.
$ac_ext
15819 LIBS
=$ac_check_lib_save_LIBS
15821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15822 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15825 OPENCL_LIBS
="-lOpenCL"
15830 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15832 case "x$with_opencl" in
15833 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15835 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15836 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15838 enable_opencl
=${enable_opencl:-no}
15841 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15844 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15845 if test ${ac_cv_lib_pcap_pcap_create+y}
15847 printf %s
"(cached) " >&6
15849 ac_check_lib_save_LIBS
=$LIBS
15850 LIBS
="-lpcap $LIBS"
15851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 /* Override any GCC internal prototype to avoid an error.
15855 Use char because int might match the return type of a GCC
15856 builtin and then its argument prototype would still apply. */
15857 char pcap_create ();
15861 return pcap_create ();
15866 if ac_fn_c_try_link
"$LINENO"
15868 ac_cv_lib_pcap_pcap_create
=yes
15870 ac_cv_lib_pcap_pcap_create
=no
15872 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15873 conftest
$ac_exeext conftest.
$ac_ext
15874 LIBS
=$ac_check_lib_save_LIBS
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15877 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15878 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15885 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15887 case "x$with_pcap" in
15888 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15890 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15891 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15893 enable_wpcap
=${enable_wpcap:-no}
15896 if test "x$with_inotify" != "xno"
15898 if ${INOTIFY_CFLAGS:+false} :
15900 if test ${PKG_CONFIG+y}
15902 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15906 if ${INOTIFY_LIBS:+false} :
15908 if test ${PKG_CONFIG+y}
15910 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15917 ac_save_CPPFLAGS
=$CPPFLAGS
15918 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15919 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15920 if test "x$ac_cv_header_sys_inotify_h" = xyes
15922 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15927 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15928 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15930 printf %s
"(cached) " >&6
15932 ac_check_lib_save_LIBS
=$LIBS
15933 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15937 /* Override any GCC internal prototype to avoid an error.
15938 Use char because int might match the return type of a GCC
15939 builtin and then its argument prototype would still apply. */
15940 char inotify_add_watch ();
15944 return inotify_add_watch ();
15949 if ac_fn_c_try_link
"$LINENO"
15951 ac_cv_lib_inotify_inotify_add_watch
=yes
15953 ac_cv_lib_inotify_inotify_add_watch
=no
15955 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15956 conftest
$ac_exeext conftest.
$ac_ext
15957 LIBS
=$ac_check_lib_save_LIBS
15959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15960 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15961 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15968 CPPFLAGS
=$ac_save_CPPFLAGS
15971 if test "$ac_cv_header_sys_inotify_h" != "yes"
15973 case "x$with_inotify" in
15974 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15976 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15977 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15982 if test "x$with_dbus" != "xno"
15984 if ${DBUS_CFLAGS:+false} :
15986 if test ${PKG_CONFIG+y}
15988 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15992 if ${DBUS_LIBS:+false} :
15994 if test ${PKG_CONFIG+y}
15996 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16003 ac_save_CPPFLAGS
=$CPPFLAGS
16004 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16005 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16006 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16009 printf %s
"checking for -ldbus-1... " >&6; }
16010 if test ${ac_cv_lib_soname_dbus_1+y}
16012 printf %s
"(cached) " >&6
16014 ac_check_soname_save_LIBS
=$LIBS
16015 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 char dbus_connection_close ();
16026 return dbus_connection_close ();
16031 if ac_fn_c_try_link
"$LINENO"
16034 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16035 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'` ;;
16036 *) 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'`
16037 if ${ac_cv_lib_soname_dbus_1:+false} :
16039 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16043 ac_cv_lib_soname_dbus_1
=
16045 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16046 conftest
$ac_exeext conftest.
$ac_ext
16047 LIBS
=$ac_check_soname_save_LIBS
16049 if ${ac_cv_lib_soname_dbus_1:+false} :
16051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16052 printf "%s\n" "not found" >&6; }
16055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16056 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16058 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16066 CPPFLAGS
=$ac_save_CPPFLAGS
16069 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16070 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16072 case "x$with_dbus" in
16073 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16075 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16076 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16081 if test "x$with_gnutls" != "xno"
16083 if ${GNUTLS_CFLAGS:+false} :
16085 if test ${PKG_CONFIG+y}
16087 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16091 if ${GNUTLS_LIBS:+false} :
16093 if test ${PKG_CONFIG+y}
16095 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16099 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16102 ac_save_CPPFLAGS
=$CPPFLAGS
16103 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16104 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16105 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16109 #include <gnutls/gnutls.h>
16110 #include <gnutls/crypto.h>
16114 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16119 if ac_fn_c_try_compile
"$LINENO"
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16122 printf %s
"checking for -lgnutls... " >&6; }
16123 if test ${ac_cv_lib_soname_gnutls+y}
16125 printf %s
"(cached) " >&6
16127 ac_check_soname_save_LIBS
=$LIBS
16128 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16132 /* Override any GCC internal prototype to avoid an error.
16133 Use char because int might match the return type of a GCC
16134 builtin and then its argument prototype would still apply. */
16135 char gnutls_global_init ();
16139 return gnutls_global_init ();
16144 if ac_fn_c_try_link
"$LINENO"
16147 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16148 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'` ;;
16149 *) 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'`
16150 if ${ac_cv_lib_soname_gnutls:+false} :
16152 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'`
16156 ac_cv_lib_soname_gnutls
=
16158 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16159 conftest
$ac_exeext conftest.
$ac_ext
16160 LIBS
=$ac_check_soname_save_LIBS
16162 if ${ac_cv_lib_soname_gnutls:+false} :
16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16165 printf "%s\n" "not found" >&6; }
16168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16169 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16171 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16175 ac_wine_check_funcs_save_LIBS
="$LIBS"
16176 LIBS
="$LIBS $GNUTLS_LIBS"
16178 for ac_func
in gnutls_cipher_init
16180 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16181 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16183 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16186 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16190 LIBS
="$ac_wine_check_funcs_save_LIBS"
16192 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16197 CPPFLAGS
=$ac_save_CPPFLAGS
16200 if test "x$ac_cv_lib_soname_gnutls" = "x"
16202 case "x$with_gnutls" in
16203 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16205 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16206 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16211 if test "x$with_sane" != "xno"
16213 if ${SANE_CFLAGS:+false} :
16215 if test ${PKG_CONFIG+y}
16217 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16220 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16221 if ${SANE_LIBS:+false} :
16223 if test ${PKG_CONFIG+y}
16225 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16228 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16232 ac_save_CPPFLAGS
=$CPPFLAGS
16233 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16234 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16235 if test "x$ac_cv_header_sane_sane_h" = xyes
16237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16238 printf %s
"checking for sane_init in -lsane... " >&6; }
16239 if test ${ac_cv_lib_sane_sane_init+y}
16241 printf %s
"(cached) " >&6
16243 ac_check_lib_save_LIBS
=$LIBS
16244 LIBS
="-lsane $SANE_LIBS $LIBS"
16245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16255 return sane_init ();
16260 if ac_fn_c_try_link
"$LINENO"
16262 ac_cv_lib_sane_sane_init
=yes
16264 ac_cv_lib_sane_sane_init
=no
16266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16267 conftest
$ac_exeext conftest.
$ac_ext
16268 LIBS
=$ac_check_lib_save_LIBS
16270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16271 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16272 if test "x$ac_cv_lib_sane_sane_init" = xyes
16279 CPPFLAGS
=$ac_save_CPPFLAGS
16282 if test "$ac_cv_lib_sane_sane_init" != "yes"
16284 case "x$with_sane" in
16285 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16287 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16288 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16290 enable_sane_ds
=${enable_sane_ds:-no}
16293 if test "x$with_usb" != "xno"
16295 if ${USB_CFLAGS:+false} :
16297 if test ${PKG_CONFIG+y}
16299 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16303 if ${USB_LIBS:+false} :
16305 if test ${PKG_CONFIG+y}
16307 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16311 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16314 ac_save_CPPFLAGS
=$CPPFLAGS
16315 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16316 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_libusb_h" = xyes
16319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16320 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16321 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16323 printf %s
"(cached) " >&6
16325 ac_check_lib_save_LIBS
=$LIBS
16326 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16333 char libusb_interrupt_event_handler ();
16337 return libusb_interrupt_event_handler ();
16342 if ac_fn_c_try_link
"$LINENO"
16344 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16346 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16349 conftest
$ac_exeext conftest.
$ac_ext
16350 LIBS
=$ac_check_lib_save_LIBS
16352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16353 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16354 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16365 CPPFLAGS
=$ac_save_CPPFLAGS
16368 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16370 case "x$with_usb" in
16371 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16373 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16374 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16376 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16379 if test "x$with_v4l2" != "xno"
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16382 printf %s
"checking for -lv4l2... " >&6; }
16383 if test ${ac_cv_lib_soname_v4l2+y}
16385 printf %s
"(cached) " >&6
16387 ac_check_soname_save_LIBS
=$LIBS
16388 LIBS
="-lv4l2 $LIBS"
16389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16399 return v4l2_open ();
16404 if ac_fn_c_try_link
"$LINENO"
16407 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16408 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'` ;;
16409 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16410 if ${ac_cv_lib_soname_v4l2:+false} :
16412 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16416 ac_cv_lib_soname_v4l2
=
16418 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16419 conftest
$ac_exeext conftest.
$ac_ext
16420 LIBS
=$ac_check_soname_save_LIBS
16422 if ${ac_cv_lib_soname_v4l2:+false} :
16424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16425 printf "%s\n" "not found" >&6; }
16428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16429 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16431 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16436 if test "x$ac_cv_lib_soname_v4l2" = "x"
16438 case "x$with_v4l2" in
16439 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16441 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16442 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16447 if test "x$with_gphoto" != "xno"
16449 if ${GPHOTO2_CFLAGS:+false} :
16451 if test ${PKG_CONFIG+y}
16453 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16456 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16457 if ${GPHOTO2_LIBS:+false} :
16459 if test ${PKG_CONFIG+y}
16461 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16464 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16465 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16468 ac_save_CPPFLAGS
=$CPPFLAGS
16469 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16470 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16471 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16474 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16475 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16477 printf %s
"(cached) " >&6
16479 ac_check_lib_save_LIBS
=$LIBS
16480 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16484 /* Override any GCC internal prototype to avoid an error.
16485 Use char because int might match the return type of a GCC
16486 builtin and then its argument prototype would still apply. */
16487 char gp_camera_new ();
16491 return gp_camera_new ();
16496 if ac_fn_c_try_link
"$LINENO"
16498 ac_cv_lib_gphoto2_gp_camera_new
=yes
16500 ac_cv_lib_gphoto2_gp_camera_new
=no
16502 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16503 conftest
$ac_exeext conftest.
$ac_ext
16504 LIBS
=$ac_check_lib_save_LIBS
16506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16507 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16508 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16515 CPPFLAGS
=$ac_save_CPPFLAGS
16517 if ${GPHOTO2_PORT_CFLAGS:+false} :
16519 if test ${PKG_CONFIG+y}
16521 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16524 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16525 if ${GPHOTO2_PORT_LIBS:+false} :
16527 if test ${PKG_CONFIG+y}
16529 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16532 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16533 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16536 ac_save_CPPFLAGS
=$CPPFLAGS
16537 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16538 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16539 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16542 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16543 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16545 printf %s
"(cached) " >&6
16547 ac_check_lib_save_LIBS
=$LIBS
16548 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 /* Override any GCC internal prototype to avoid an error.
16553 Use char because int might match the return type of a GCC
16554 builtin and then its argument prototype would still apply. */
16555 char gp_port_info_list_new ();
16559 return gp_port_info_list_new ();
16564 if ac_fn_c_try_link
"$LINENO"
16566 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16568 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16570 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16571 conftest
$ac_exeext conftest.
$ac_ext
16572 LIBS
=$ac_check_lib_save_LIBS
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16575 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16576 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16579 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16582 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16586 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16589 CPPFLAGS
=$ac_save_CPPFLAGS
16592 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16594 case "x$with_gphoto" in
16595 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16597 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16598 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16600 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16602 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16604 case "x$with_gphoto" in
16605 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16607 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16608 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16614 if test "$ac_cv_header_resolv_h" = "yes"
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16617 printf %s
"checking for resolver library... " >&6; }
16618 if test ${ac_cv_have_resolv+y}
16620 printf %s
"(cached) " >&6
16622 ac_save_LIBS
="$LIBS"
16623 for lib
in '' -lresolv
16625 LIBS
="$lib $ac_save_LIBS"
16626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #ifdef HAVE_NETINET_IN_H
16629 #include <netinet/in.h>
16631 #include <resolv.h>
16635 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16640 if ac_fn_c_try_link
"$LINENO"
16642 ac_cv_have_resolv
=${lib:-"none required"}
16644 ac_cv_have_resolv
="not found"
16646 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16647 conftest
$ac_exeext conftest.
$ac_ext
16648 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16650 LIBS
="$ac_save_LIBS"
16652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16653 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16655 case "$ac_cv_have_resolv" in
16659 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16662 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16664 RESOLV_LIBS
=$ac_cv_have_resolv
16668 if test "x$ac_cv_have_resolv" != "xnot found"
16670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16671 printf %s
"checking for res_getservers... " >&6; }
16672 if test ${ac_cv_have_res_getservers+y}
16674 printf %s
"(cached) " >&6
16676 ac_save_LIBS
="$LIBS"
16677 LIBS
="$RESOLV_LIBS $LIBS"
16678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <resolv.h>
16684 res_getservers(NULL, NULL, 0);
16689 if ac_fn_c_try_link
"$LINENO"
16691 ac_cv_have_res_getservers
=yes
16693 ac_cv_have_res_getservers
=no
16695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16696 conftest
$ac_exeext conftest.
$ac_ext
16697 LIBS
="$ac_save_LIBS"
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16700 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16701 if test "$ac_cv_have_res_getservers" = "yes"
16704 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16710 if test "x$with_freetype" != "xno"
16712 if ${FREETYPE_CFLAGS:+false} :
16714 if test ${PKG_CONFIG+y}
16716 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16719 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16720 if ${FREETYPE_LIBS:+false} :
16722 if test ${PKG_CONFIG+y}
16724 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16727 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16728 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16731 ac_save_CPPFLAGS
=$CPPFLAGS
16732 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16733 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16734 if test "x$ac_cv_header_ft2build_h" = xyes
16736 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16740 if test "$ac_cv_header_ft2build_h" = "yes"
16742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16743 printf %s
"checking for -lfreetype... " >&6; }
16744 if test ${ac_cv_lib_soname_freetype+y}
16746 printf %s
"(cached) " >&6
16748 ac_check_soname_save_LIBS
=$LIBS
16749 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h. */
16753 /* Override any GCC internal prototype to avoid an error.
16754 Use char because int might match the return type of a GCC
16755 builtin and then its argument prototype would still apply. */
16756 char FT_Init_FreeType ();
16760 return FT_Init_FreeType ();
16765 if ac_fn_c_try_link
"$LINENO"
16768 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16769 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'` ;;
16770 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16771 if ${ac_cv_lib_soname_freetype:+false} :
16773 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16777 ac_cv_lib_soname_freetype
=
16779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16780 conftest
$ac_exeext conftest.
$ac_ext
16781 LIBS
=$ac_check_soname_save_LIBS
16783 if ${ac_cv_lib_soname_freetype:+false} :
16785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16786 printf "%s\n" "not found" >&6; }
16789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16790 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16792 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16795 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16797 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16798 #include FT_MODULE_H
16800 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16803 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16813 CPPFLAGS
=$ac_save_CPPFLAGS
16816 if test "x$ac_cv_lib_soname_freetype" = x
16818 case "x$with_freetype" in
16820 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16821 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16823 enable_fonts
=${enable_fonts:-no}
16826 ac_wine_check_funcs_save_LIBS
="$LIBS"
16827 LIBS
="$LIBS $PTHREAD_LIBS"
16828 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16829 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16831 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16835 LIBS
="$ac_wine_check_funcs_save_LIBS"
16837 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16839 if test "$ac_cv_header_gettext_po_h" = "yes"
16841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16842 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16843 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16845 printf %s
"(cached) " >&6
16847 ac_check_lib_save_LIBS
=$LIBS
16848 LIBS
="-lgettextpo $LIBS"
16849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16852 /* Override any GCC internal prototype to avoid an error.
16853 Use char because int might match the return type of a GCC
16854 builtin and then its argument prototype would still apply. */
16855 char po_message_msgctxt ();
16859 return po_message_msgctxt ();
16864 if ac_fn_c_try_link
"$LINENO"
16866 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16868 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16871 conftest
$ac_exeext conftest.
$ac_ext
16872 LIBS
=$ac_check_lib_save_LIBS
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16875 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16876 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16879 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16881 GETTEXTPO_LIBS
="-lgettextpo"
16886 if test "x$GETTEXTPO_LIBS" = "x"
16888 case "x$with_gettextpo" in
16889 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16891 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16892 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16896 if test "$srcdir" != .
16898 case "x$with_gettextpo" in
16899 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16901 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16902 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16908 if test "x$with_pulse" != "xno";
16910 if ${PULSE_CFLAGS:+false} :
16912 if test ${PKG_CONFIG+y}
16914 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16918 if ${PULSE_LIBS:+false} :
16920 if test ${PKG_CONFIG+y}
16922 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16929 ac_save_CPPFLAGS
=$CPPFLAGS
16930 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16931 for ac_header
in pulse
/pulseaudio.h
16933 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16934 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16936 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16938 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16939 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16941 printf %s
"(cached) " >&6
16943 ac_check_lib_save_LIBS
=$LIBS
16944 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16948 /* Override any GCC internal prototype to avoid an error.
16949 Use char because int might match the return type of a GCC
16950 builtin and then its argument prototype would still apply. */
16951 char pa_stream_is_corked ();
16955 return pa_stream_is_corked ();
16960 if ac_fn_c_try_link
"$LINENO"
16962 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16964 ac_cv_lib_pulse_pa_stream_is_corked
=no
16966 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16967 conftest
$ac_exeext conftest.
$ac_ext
16968 LIBS
=$ac_check_lib_save_LIBS
16970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16971 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16972 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16984 CPPFLAGS
=$ac_save_CPPFLAGS
16987 if test -z "$PULSE_LIBS"
16989 case "x$with_pulse" in
16990 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16992 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16993 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16995 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16998 if test "x$with_gstreamer" != "xno"
17000 if ${GSTREAMER_CFLAGS:+false} :
17002 if test ${PKG_CONFIG+y}
17004 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17008 if ${GSTREAMER_LIBS:+false} :
17010 if test ${PKG_CONFIG+y}
17012 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17019 ac_save_CPPFLAGS
=$CPPFLAGS
17020 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17021 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17022 if test "x$ac_cv_header_gst_gst_h" = xyes
17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17025 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <gst/gst.h>
17032 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17037 if ac_fn_c_try_compile
"$LINENO"
17039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17040 printf "%s\n" "yes" >&6; }
17041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17042 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17043 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17045 printf %s
"(cached) " >&6
17047 ac_check_lib_save_LIBS
=$LIBS
17048 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17052 /* Override any GCC internal prototype to avoid an error.
17053 Use char because int might match the return type of a GCC
17054 builtin and then its argument prototype would still apply. */
17055 char gst_pad_new ();
17059 return gst_pad_new ();
17064 if ac_fn_c_try_link
"$LINENO"
17066 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17068 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17070 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17071 conftest
$ac_exeext conftest.
$ac_ext
17072 LIBS
=$ac_check_lib_save_LIBS
17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17075 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17076 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17083 printf "%s\n" "no" >&6; }
17084 ac_glib2_broken
=yes
17085 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17087 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17090 CPPFLAGS
=$ac_save_CPPFLAGS
17093 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17095 case "x$with_gstreamer" in
17096 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17098 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17099 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17101 enable_winegstreamer
=${enable_winegstreamer:-no}
17106 if test "x$with_alsa" != "xno"
17108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17109 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17110 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17112 printf %s
"(cached) " >&6
17114 ac_check_lib_save_LIBS
=$LIBS
17115 LIBS
="-lasound $LIBS"
17116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17119 /* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17122 char snd_pcm_hw_params_get_access_mask ();
17126 return snd_pcm_hw_params_get_access_mask ();
17131 if ac_fn_c_try_link
"$LINENO"
17133 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17135 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17137 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17138 conftest
$ac_exeext conftest.
$ac_ext
17139 LIBS
=$ac_check_lib_save_LIBS
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17142 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17143 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17147 #include <alsa/asoundlib.h>
17151 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17156 if ac_fn_c_try_compile
"$LINENO"
17158 ALSA_LIBS
="-lasound"
17160 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17164 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17166 if test "x$with_oss" != xno
17168 ac_save_CPPFLAGS
="$CPPFLAGS"
17169 if test -f /etc
/oss.conf
17173 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17174 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17175 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17176 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17178 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17180 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17183 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17185 OSS4_CFLAGS
="$ac_oss_incl"
17187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17188 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17189 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17191 printf %s
"(cached) " >&6
17193 ac_check_lib_save_LIBS
=$LIBS
17194 LIBS
="-lossaudio $LIBS"
17195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17198 /* Override any GCC internal prototype to avoid an error.
17199 Use char because int might match the return type of a GCC
17200 builtin and then its argument prototype would still apply. */
17201 char _oss_ioctl ();
17205 return _oss_ioctl ();
17210 if ac_fn_c_try_link
"$LINENO"
17212 ac_cv_lib_ossaudio__oss_ioctl
=yes
17214 ac_cv_lib_ossaudio__oss_ioctl
=no
17216 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17217 conftest
$ac_exeext conftest.
$ac_ext
17218 LIBS
=$ac_check_lib_save_LIBS
17220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17221 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17222 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17224 OSS4_LIBS
="-lossaudio"
17232 CPPFLAGS
="$ac_save_CPPFLAGS"
17234 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17236 case "x$with_oss" in
17237 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17239 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17240 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17242 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17245 if test "x$with_udev" != "xno"
17247 if ${UDEV_CFLAGS:+false} :
17249 if test ${PKG_CONFIG+y}
17251 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17255 if ${UDEV_LIBS:+false} :
17257 if test ${PKG_CONFIG+y}
17259 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17263 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17266 ac_save_CPPFLAGS
=$CPPFLAGS
17267 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17268 for ac_header
in libudev.h
17270 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17271 if test "x$ac_cv_header_libudev_h" = xyes
17273 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17275 printf %s
"checking for udev_new in -ludev... " >&6; }
17276 if test ${ac_cv_lib_udev_udev_new+y}
17278 printf %s
"(cached) " >&6
17280 ac_check_lib_save_LIBS
=$LIBS
17281 LIBS
="-ludev $UDEV_LIBS $LIBS"
17282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17285 /* Override any GCC internal prototype to avoid an error.
17286 Use char because int might match the return type of a GCC
17287 builtin and then its argument prototype would still apply. */
17292 return udev_new ();
17297 if ac_fn_c_try_link
"$LINENO"
17299 ac_cv_lib_udev_udev_new
=yes
17301 ac_cv_lib_udev_udev_new
=no
17303 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17304 conftest
$ac_exeext conftest.
$ac_ext
17305 LIBS
=$ac_check_lib_save_LIBS
17307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17308 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17309 if test "x$ac_cv_lib_udev_udev_new" = xyes
17312 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17323 CPPFLAGS
=$ac_save_CPPFLAGS
17326 if test "x$UDEV_LIBS" = "x"
17328 case "x$with_udev" in
17329 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17331 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17332 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17337 if test "x$with_unwind" != xno
17339 if ${UNWIND_CFLAGS:+false} :
17341 if test ${PKG_CONFIG+y}
17343 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17347 if ${UNWIND_LIBS:+false} :
17349 if test ${PKG_CONFIG+y}
17351 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17355 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17358 ac_save_CPPFLAGS
=$CPPFLAGS
17359 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17361 printf %s
"checking for unw_step... " >&6; }
17362 if test ${wine_cv_have_unw_step+y}
17364 printf %s
"(cached) " >&6
17366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 #define UNW_LOCAL_ONLY
17369 #include <libunwind.h>
17373 unw_cursor_t cursor; unw_step( &cursor );
17378 if ac_fn_c_try_link
"$LINENO"
17380 wine_cv_have_unw_step
="yes"
17382 wine_cv_have_unw_step
="no"
17384 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17385 conftest
$ac_exeext conftest.
$ac_ext
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17388 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17389 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17392 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17393 LIBS
="$UNWIND_LIBS $LIBS"
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17395 printf %s
"checking for unw_step in libunwind... " >&6; }
17396 if test ${wine_cv_have_libunwind_unw_step+y}
17398 printf %s
"(cached) " >&6
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #define UNW_LOCAL_ONLY
17403 #include <libunwind.h>
17407 unw_cursor_t cursor; unw_step( &cursor );
17412 if ac_fn_c_try_link
"$LINENO"
17414 wine_cv_have_libunwind_unw_step
="yes"
17416 wine_cv_have_libunwind_unw_step
="no"
17418 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17419 conftest
$ac_exeext conftest.
$ac_ext
17421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17422 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17425 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17426 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17429 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17432 CPPFLAGS
=$ac_save_CPPFLAGS
17436 aarch64
*|
*-darwin*)
17437 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17439 case "x$with_unwind" in
17440 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17442 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17443 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17449 if test "x$with_sdl" != "xno"
17451 if ${SDL2_CFLAGS:+false} :
17453 if test ${PKG_CONFIG+y}
17455 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17459 if ${SDL2_LIBS:+false} :
17461 if test ${PKG_CONFIG+y}
17463 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17467 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17470 ac_save_CPPFLAGS
=$CPPFLAGS
17471 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17472 for ac_header
in SDL.h
17474 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17475 if test "x$ac_cv_header_SDL_h" = xyes
17477 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17479 printf %s
"checking for -lSDL2... " >&6; }
17480 if test ${ac_cv_lib_soname_SDL2+y}
17482 printf %s
"(cached) " >&6
17484 ac_check_soname_save_LIBS
=$LIBS
17485 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17489 /* Override any GCC internal prototype to avoid an error.
17490 Use char because int might match the return type of a GCC
17491 builtin and then its argument prototype would still apply. */
17496 return SDL_Init ();
17501 if ac_fn_c_try_link
"$LINENO"
17504 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17505 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'` ;;
17506 *) 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'`
17507 if ${ac_cv_lib_soname_SDL2:+false} :
17509 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17513 ac_cv_lib_soname_SDL2
=
17515 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17516 conftest
$ac_exeext conftest.
$ac_ext
17517 LIBS
=$ac_check_soname_save_LIBS
17519 if ${ac_cv_lib_soname_SDL2:+false} :
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17522 printf "%s\n" "not found" >&6; }
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17526 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17528 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17535 CPPFLAGS
=$ac_save_CPPFLAGS
17538 if test "x$ac_cv_lib_soname_SDL2" = "x"
17540 case "x$with_sdl" in
17541 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17543 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17544 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17549 if test "x$with_capi" != "xno"
17551 if ${CAPI20_CFLAGS:+false} :
17553 if test ${PKG_CONFIG+y}
17555 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17559 if ${CAPI20_LIBS:+false} :
17561 if test ${PKG_CONFIG+y}
17563 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17570 ac_save_CPPFLAGS
=$CPPFLAGS
17571 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17572 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17574 if test "x$ac_cv_header_capi20_h" = xyes
17576 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17579 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17581 if test "x$ac_cv_header_linux_capi_h" = xyes
17583 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17587 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17590 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17591 if test ${ac_cv_lib_capi20_capi20_register+y}
17593 printf %s
"(cached) " >&6
17595 ac_check_lib_save_LIBS
=$LIBS
17596 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17600 /* Override any GCC internal prototype to avoid an error.
17601 Use char because int might match the return type of a GCC
17602 builtin and then its argument prototype would still apply. */
17603 char capi20_register ();
17607 return capi20_register ();
17612 if ac_fn_c_try_link
"$LINENO"
17614 ac_cv_lib_capi20_capi20_register
=yes
17616 ac_cv_lib_capi20_capi20_register
=no
17618 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17619 conftest
$ac_exeext conftest.
$ac_ext
17620 LIBS
=$ac_check_lib_save_LIBS
17622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17623 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17624 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17632 CPPFLAGS
=$ac_save_CPPFLAGS
17635 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17637 case "x$with_capi" in
17638 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17640 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17641 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17643 enable_capi2032
=${enable_capi2032:-no}
17646 if test "x$with_cups" != "xno"
17648 if ${CUPS_CFLAGS:+false} :
17650 if test ${PKG_CONFIG+y}
17652 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17655 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17656 if ${CUPS_LIBS:+false} :
17658 if test ${PKG_CONFIG+y}
17660 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17663 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17664 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17667 ac_save_CPPFLAGS
=$CPPFLAGS
17668 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17669 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17670 if test "x$ac_cv_header_cups_cups_h" = xyes
17672 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17675 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17676 if test "x$ac_cv_header_cups_ppd_h" = xyes
17678 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17682 if test "$ac_cv_header_cups_cups_h" = "yes"
17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17685 printf %s
"checking for -lcups... " >&6; }
17686 if test ${ac_cv_lib_soname_cups+y}
17688 printf %s
"(cached) " >&6
17690 ac_check_soname_save_LIBS
=$LIBS
17691 LIBS
="-lcups $CUPS_LIBS $LIBS"
17692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17695 /* Override any GCC internal prototype to avoid an error.
17696 Use char because int might match the return type of a GCC
17697 builtin and then its argument prototype would still apply. */
17698 char cupsGetDefault ();
17702 return cupsGetDefault ();
17707 if ac_fn_c_try_link
"$LINENO"
17710 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17711 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'` ;;
17712 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17713 if ${ac_cv_lib_soname_cups:+false} :
17715 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17719 ac_cv_lib_soname_cups
=
17721 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17722 conftest
$ac_exeext conftest.
$ac_ext
17723 LIBS
=$ac_check_soname_save_LIBS
17725 if ${ac_cv_lib_soname_cups:+false} :
17727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17728 printf "%s\n" "not found" >&6; }
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17732 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17734 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17742 CPPFLAGS
=$ac_save_CPPFLAGS
17745 if test "x$ac_cv_lib_soname_cups" = "x"
17747 case "x$with_cups" in
17748 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17750 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17751 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17756 if test "x$with_fontconfig" != "xno"
17758 if ${FONTCONFIG_CFLAGS:+false} :
17760 if test ${PKG_CONFIG+y}
17762 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17765 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17766 if ${FONTCONFIG_LIBS:+false} :
17768 if test ${PKG_CONFIG+y}
17770 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17773 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17777 ac_save_CPPFLAGS
=$CPPFLAGS
17778 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17779 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17780 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17782 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17786 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17789 printf %s
"checking for -lfontconfig... " >&6; }
17790 if test ${ac_cv_lib_soname_fontconfig+y}
17792 printf %s
"(cached) " >&6
17794 ac_check_soname_save_LIBS
=$LIBS
17795 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17799 /* Override any GCC internal prototype to avoid an error.
17800 Use char because int might match the return type of a GCC
17801 builtin and then its argument prototype would still apply. */
17811 if ac_fn_c_try_link
"$LINENO"
17814 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17815 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'` ;;
17816 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17817 if ${ac_cv_lib_soname_fontconfig:+false} :
17819 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17823 ac_cv_lib_soname_fontconfig
=
17825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17826 conftest
$ac_exeext conftest.
$ac_ext
17827 LIBS
=$ac_check_soname_save_LIBS
17829 if ${ac_cv_lib_soname_fontconfig:+false} :
17831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17832 printf "%s\n" "not found" >&6; }
17833 FONTCONFIG_CFLAGS
=""
17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17836 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17838 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17843 FONTCONFIG_CFLAGS
=""
17845 CPPFLAGS
=$ac_save_CPPFLAGS
17848 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17850 case "x$with_fontconfig" in
17851 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17853 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17854 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17859 if test "x$with_krb5" != "xno"
17861 if ${KRB5_CFLAGS:+false} :
17863 if test ${PKG_CONFIG+y}
17865 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17868 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17869 if ${KRB5_LIBS:+false} :
17871 if test ${PKG_CONFIG+y}
17873 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17876 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17880 ac_save_CPPFLAGS
=$CPPFLAGS
17881 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17882 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17883 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17885 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17889 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17892 printf %s
"checking for -lkrb5... " >&6; }
17893 if test ${ac_cv_lib_soname_krb5+y}
17895 printf %s
"(cached) " >&6
17897 ac_check_soname_save_LIBS
=$LIBS
17898 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17902 /* Override any GCC internal prototype to avoid an error.
17903 Use char because int might match the return type of a GCC
17904 builtin and then its argument prototype would still apply. */
17905 char krb5_is_config_principal ();
17909 return krb5_is_config_principal ();
17914 if ac_fn_c_try_link
"$LINENO"
17917 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17918 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'` ;;
17919 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17920 if ${ac_cv_lib_soname_krb5:+false} :
17922 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17926 ac_cv_lib_soname_krb5
=
17928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17929 conftest
$ac_exeext conftest.
$ac_ext
17930 LIBS
=$ac_check_soname_save_LIBS
17932 if ${ac_cv_lib_soname_krb5:+false} :
17934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17935 printf "%s\n" "not found" >&6; }
17938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17939 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17941 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17948 CPPFLAGS
=$ac_save_CPPFLAGS
17951 if test "x$ac_cv_lib_soname_krb5" = "x"
17953 case "x$with_krb5" in
17954 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17956 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17957 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17961 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17963 if test "x$with_gssapi" != "xno"
17965 if ${GSSAPI_CFLAGS:+false} :
17967 if test ${PKG_CONFIG+y}
17969 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17972 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17973 if ${GSSAPI_LIBS:+false} :
17975 if test ${PKG_CONFIG+y}
17977 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17980 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17984 ac_save_CPPFLAGS
=$CPPFLAGS
17985 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17986 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17987 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17989 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17992 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17993 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17995 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17999 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18002 printf %s
"checking for -lgssapi_krb5... " >&6; }
18003 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18005 printf %s
"(cached) " >&6
18007 ac_check_soname_save_LIBS
=$LIBS
18008 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18012 /* Override any GCC internal prototype to avoid an error.
18013 Use char because int might match the return type of a GCC
18014 builtin and then its argument prototype would still apply. */
18015 char gss_init_sec_context ();
18019 return gss_init_sec_context ();
18024 if ac_fn_c_try_link
"$LINENO"
18027 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18028 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'` ;;
18029 *) 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'`
18030 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18032 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18036 ac_cv_lib_soname_gssapi_krb5
=
18038 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18039 conftest
$ac_exeext conftest.
$ac_ext
18040 LIBS
=$ac_check_soname_save_LIBS
18042 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18045 printf "%s\n" "not found" >&6; }
18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18049 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18051 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18058 CPPFLAGS
=$ac_save_CPPFLAGS
18061 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18063 case "x$with_gssapi" in
18064 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18066 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18067 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18072 if test "$ac_cv_header_AL_al_h" = "yes"
18074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18075 printf %s
"checking for -lopenal... " >&6; }
18076 if test ${ac_cv_lib_soname_openal+y}
18078 printf %s
"(cached) " >&6
18080 ac_check_soname_save_LIBS
=$LIBS
18081 LIBS
="-lopenal $LIBS"
18082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 /* Override any GCC internal prototype to avoid an error.
18086 Use char because int might match the return type of a GCC
18087 builtin and then its argument prototype would still apply. */
18088 char alGetSource3i ();
18092 return alGetSource3i ();
18097 if ac_fn_c_try_link
"$LINENO"
18100 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18101 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'` ;;
18102 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18103 if ${ac_cv_lib_soname_openal:+false} :
18105 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18109 ac_cv_lib_soname_openal
=
18111 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18112 conftest
$ac_exeext conftest.
$ac_ext
18113 LIBS
=$ac_check_soname_save_LIBS
18115 if ${ac_cv_lib_soname_openal:+false} :
18117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18118 printf "%s\n" "not found" >&6; }
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18122 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18124 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18126 OPENAL_LIBS
="-lopenal"
18128 ac_cv_lib_openal
=yes
18130 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18134 if test "x$ac_cv_lib_openal" != xyes
18136 case "x$with_openal" in
18137 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18139 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18140 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18142 enable_openal32
=${enable_openal32:-no}
18145 if test "$ac_cv_header_libprocstat_h" = "yes"
18147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18148 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18149 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18151 printf %s
"(cached) " >&6
18153 ac_check_lib_save_LIBS
=$LIBS
18154 LIBS
="-lprocstat $LIBS"
18155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 char procstat_open_sysctl ();
18165 return procstat_open_sysctl ();
18170 if ac_fn_c_try_link
"$LINENO"
18172 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18174 ac_cv_lib_procstat_procstat_open_sysctl
=no
18176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18177 conftest
$ac_exeext conftest.
$ac_ext
18178 LIBS
=$ac_check_lib_save_LIBS
18180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18181 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18182 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18185 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18187 PROCSTAT_LIBS
="-lprocstat"
18193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18194 printf %s
"checking for -lodbc... " >&6; }
18195 if test ${ac_cv_lib_soname_odbc+y}
18197 printf %s
"(cached) " >&6
18199 ac_check_soname_save_LIBS
=$LIBS
18200 LIBS
="-lodbc $LIBS"
18201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18204 /* Override any GCC internal prototype to avoid an error.
18205 Use char because int might match the return type of a GCC
18206 builtin and then its argument prototype would still apply. */
18207 char SQLConnect ();
18211 return SQLConnect ();
18216 if ac_fn_c_try_link
"$LINENO"
18219 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18220 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'` ;;
18221 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18222 if ${ac_cv_lib_soname_odbc:+false} :
18224 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18228 ac_cv_lib_soname_odbc
=
18230 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18231 conftest
$ac_exeext conftest.
$ac_ext
18232 LIBS
=$ac_check_soname_save_LIBS
18234 if ${ac_cv_lib_soname_odbc:+false} :
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18237 printf "%s\n" "not found" >&6; }
18238 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18242 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18244 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18249 if test "x$with_netapi" != "xno"
18251 if ${NETAPI_CFLAGS:+false} :
18253 if test ${PKG_CONFIG+y}
18255 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18259 if ${NETAPI_LIBS:+false} :
18261 if test ${PKG_CONFIG+y}
18263 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18270 ac_save_CPPFLAGS
=$CPPFLAGS
18271 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18273 printf %s
"checking for -lnetapi... " >&6; }
18274 if test ${ac_cv_lib_soname_netapi+y}
18276 printf %s
"(cached) " >&6
18278 ac_check_soname_save_LIBS
=$LIBS
18279 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18283 /* Override any GCC internal prototype to avoid an error.
18284 Use char because int might match the return type of a GCC
18285 builtin and then its argument prototype would still apply. */
18286 char libnetapi_init ();
18290 return libnetapi_init ();
18295 if ac_fn_c_try_link
"$LINENO"
18298 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18299 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'` ;;
18300 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18301 if ${ac_cv_lib_soname_netapi:+false} :
18303 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18307 ac_cv_lib_soname_netapi
=
18309 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18310 conftest
$ac_exeext conftest.
$ac_ext
18311 LIBS
=$ac_check_soname_save_LIBS
18313 if ${ac_cv_lib_soname_netapi:+false} :
18315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18316 printf "%s\n" "not found" >&6; }
18317 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18321 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18323 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18327 CPPFLAGS
=$ac_save_CPPFLAGS
18330 if test "x$ac_cv_lib_soname_netapi" = "x"
18332 case "x$with_netapi" in
18333 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18335 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18336 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18338 enable_netapi
=${enable_netapi:-no}
18342 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18343 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18345 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18348 if test "x$with_vulkan" != "xno"
18350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18351 printf %s
"checking for -lvulkan... " >&6; }
18352 if test ${ac_cv_lib_soname_vulkan+y}
18354 printf %s
"(cached) " >&6
18356 ac_check_soname_save_LIBS
=$LIBS
18357 LIBS
="-lvulkan $LIBS"
18358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18361 /* Override any GCC internal prototype to avoid an error.
18362 Use char because int might match the return type of a GCC
18363 builtin and then its argument prototype would still apply. */
18364 char vkGetInstanceProcAddr ();
18368 return vkGetInstanceProcAddr ();
18373 if ac_fn_c_try_link
"$LINENO"
18376 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18377 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'` ;;
18378 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18379 if ${ac_cv_lib_soname_vulkan:+false} :
18381 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18385 ac_cv_lib_soname_vulkan
=
18387 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18388 conftest
$ac_exeext conftest.
$ac_ext
18389 LIBS
=$ac_check_soname_save_LIBS
18391 if ${ac_cv_lib_soname_vulkan:+false} :
18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18394 printf "%s\n" "not found" >&6; }
18397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18398 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18400 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18404 if test "x$ac_cv_lib_soname_vulkan" = "x"
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18407 printf %s
"checking for -lMoltenVK... " >&6; }
18408 if test ${ac_cv_lib_soname_MoltenVK+y}
18410 printf %s
"(cached) " >&6
18412 ac_check_soname_save_LIBS
=$LIBS
18413 LIBS
="-lMoltenVK $LIBS"
18414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18417 /* Override any GCC internal prototype to avoid an error.
18418 Use char because int might match the return type of a GCC
18419 builtin and then its argument prototype would still apply. */
18420 char vkGetInstanceProcAddr ();
18424 return vkGetInstanceProcAddr ();
18429 if ac_fn_c_try_link
"$LINENO"
18432 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18433 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'` ;;
18434 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18435 if ${ac_cv_lib_soname_MoltenVK:+false} :
18437 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18441 ac_cv_lib_soname_MoltenVK
=
18443 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18444 conftest
$ac_exeext conftest.
$ac_ext
18445 LIBS
=$ac_check_soname_save_LIBS
18447 if ${ac_cv_lib_soname_MoltenVK:+false} :
18449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18450 printf "%s\n" "not found" >&6; }
18453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18454 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18456 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18462 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18464 case "x$with_vulkan" in
18465 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18467 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18468 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18474 if test "x${GCC}" = "xyes"
18476 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18478 saved_CFLAGS
=$CFLAGS
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18480 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18481 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18483 printf %s
"(cached) " >&6
18485 ac_wine_try_cflags_saved
=$CFLAGS
18486 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18489 int main(int argc, char **argv) { return 0; }
18491 if ac_fn_c_try_link
"$LINENO"
18493 ac_cv_cflags__Werror_unknown_warning_option
=yes
18495 ac_cv_cflags__Werror_unknown_warning_option
=no
18497 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18498 conftest
$ac_exeext conftest.
$ac_ext
18499 CFLAGS
=$ac_wine_try_cflags_saved
18501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18502 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18503 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18505 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18508 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18509 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18511 printf %s
"(cached) " >&6
18513 ac_wine_try_cflags_saved
=$CFLAGS
18514 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 int main(int argc, char **argv) { return 0; }
18519 if ac_fn_c_try_link
"$LINENO"
18521 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18523 ac_cv_cflags__Werror_unused_command_line_argument
=no
18525 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18526 conftest
$ac_exeext conftest.
$ac_ext
18527 CFLAGS
=$ac_wine_try_cflags_saved
18529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18530 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18531 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18533 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18536 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18537 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18539 printf %s
"(cached) " >&6
18541 ac_wine_try_cflags_saved
=$CFLAGS
18542 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 int main(int argc, char **argv) { return 0; }
18547 if ac_fn_c_try_link
"$LINENO"
18549 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18551 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18553 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18554 conftest
$ac_exeext conftest.
$ac_ext
18555 CFLAGS
=$ac_wine_try_cflags_saved
18557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18558 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18559 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18561 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18564 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18565 if test ${ac_cv_cflags__fcf_protection_none+y}
18567 printf %s
"(cached) " >&6
18569 ac_wine_try_cflags_saved
=$CFLAGS
18570 CFLAGS
="$CFLAGS -fcf-protection=none"
18571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 int main(int argc, char **argv) { return 0; }
18575 if ac_fn_c_try_link
"$LINENO"
18577 ac_cv_cflags__fcf_protection_none
=yes
18579 ac_cv_cflags__fcf_protection_none
=no
18581 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18582 conftest
$ac_exeext conftest.
$ac_ext
18583 CFLAGS
=$ac_wine_try_cflags_saved
18585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18586 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18587 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18589 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18592 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18593 if test ${ac_cv_cflags__fno_stack_protector+y}
18595 printf %s
"(cached) " >&6
18597 ac_wine_try_cflags_saved
=$CFLAGS
18598 CFLAGS
="$CFLAGS -fno-stack-protector"
18599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18601 int main(int argc, char **argv) { return 0; }
18603 if ac_fn_c_try_link
"$LINENO"
18605 ac_cv_cflags__fno_stack_protector
=yes
18607 ac_cv_cflags__fno_stack_protector
=no
18609 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18610 conftest
$ac_exeext conftest.
$ac_ext
18611 CFLAGS
=$ac_wine_try_cflags_saved
18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18614 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18615 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18617 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18620 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18621 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18623 printf %s
"(cached) " >&6
18625 ac_wine_try_cflags_saved
=$CFLAGS
18626 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 int main(int argc, char **argv) { return 0; }
18631 if ac_fn_c_try_link
"$LINENO"
18633 ac_cv_cflags__fno_strict_aliasing
=yes
18635 ac_cv_cflags__fno_strict_aliasing
=no
18637 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18638 conftest
$ac_exeext conftest.
$ac_ext
18639 CFLAGS
=$ac_wine_try_cflags_saved
18641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18642 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18643 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18645 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18648 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18649 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18651 printf %s
"(cached) " >&6
18653 ac_wine_try_cflags_saved
=$CFLAGS
18654 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18657 int main(int argc, char **argv) { return 0; }
18659 if ac_fn_c_try_link
"$LINENO"
18661 ac_cv_cflags__Wdeclaration_after_statement
=yes
18663 ac_cv_cflags__Wdeclaration_after_statement
=no
18665 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18666 conftest
$ac_exeext conftest.
$ac_ext
18667 CFLAGS
=$ac_wine_try_cflags_saved
18669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18670 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18671 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18673 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18676 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18677 if test ${ac_cv_cflags__Wempty_body+y}
18679 printf %s
"(cached) " >&6
18681 ac_wine_try_cflags_saved
=$CFLAGS
18682 CFLAGS
="$CFLAGS -Wempty-body"
18683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18684 /* end confdefs.h. */
18685 int main(int argc, char **argv) { return 0; }
18687 if ac_fn_c_try_link
"$LINENO"
18689 ac_cv_cflags__Wempty_body
=yes
18691 ac_cv_cflags__Wempty_body
=no
18693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18694 conftest
$ac_exeext conftest.
$ac_ext
18695 CFLAGS
=$ac_wine_try_cflags_saved
18697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18698 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18699 if test "x$ac_cv_cflags__Wempty_body" = xyes
18701 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18704 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18705 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18707 printf %s
"(cached) " >&6
18709 ac_wine_try_cflags_saved
=$CFLAGS
18710 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18712 /* end confdefs.h. */
18713 int main(int argc, char **argv) { return 0; }
18715 if ac_fn_c_try_link
"$LINENO"
18717 ac_cv_cflags__Wignored_qualifiers
=yes
18719 ac_cv_cflags__Wignored_qualifiers
=no
18721 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18722 conftest
$ac_exeext conftest.
$ac_ext
18723 CFLAGS
=$ac_wine_try_cflags_saved
18725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18726 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18727 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18729 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18732 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18733 if test ${ac_cv_cflags__Winit_self+y}
18735 printf %s
"(cached) " >&6
18737 ac_wine_try_cflags_saved
=$CFLAGS
18738 CFLAGS
="$CFLAGS -Winit-self"
18739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 int main(int argc, char **argv) { return 0; }
18743 if ac_fn_c_try_link
"$LINENO"
18745 ac_cv_cflags__Winit_self
=yes
18747 ac_cv_cflags__Winit_self
=no
18749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18750 conftest
$ac_exeext conftest.
$ac_ext
18751 CFLAGS
=$ac_wine_try_cflags_saved
18753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18754 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18755 if test "x$ac_cv_cflags__Winit_self" = xyes
18757 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18760 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18761 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18763 printf %s
"(cached) " >&6
18765 ac_wine_try_cflags_saved
=$CFLAGS
18766 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18769 int main(int argc, char **argv) { return 0; }
18771 if ac_fn_c_try_link
"$LINENO"
18773 ac_cv_cflags__Wpacked_not_aligned
=yes
18775 ac_cv_cflags__Wpacked_not_aligned
=no
18777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18778 conftest
$ac_exeext conftest.
$ac_ext
18779 CFLAGS
=$ac_wine_try_cflags_saved
18781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18782 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18783 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18785 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18788 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18789 if test ${ac_cv_cflags__Wpragma_pack+y}
18791 printf %s
"(cached) " >&6
18793 ac_wine_try_cflags_saved
=$CFLAGS
18794 CFLAGS
="$CFLAGS -Wpragma-pack"
18795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 int main(int argc, char **argv) { return 0; }
18799 if ac_fn_c_try_link
"$LINENO"
18801 ac_cv_cflags__Wpragma_pack
=yes
18803 ac_cv_cflags__Wpragma_pack
=no
18805 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18806 conftest
$ac_exeext conftest.
$ac_ext
18807 CFLAGS
=$ac_wine_try_cflags_saved
18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18810 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18811 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18813 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18816 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18817 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18819 printf %s
"(cached) " >&6
18821 ac_wine_try_cflags_saved
=$CFLAGS
18822 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18824 /* end confdefs.h. */
18825 int main(int argc, char **argv) { return 0; }
18827 if ac_fn_c_try_link
"$LINENO"
18829 ac_cv_cflags__Wshift_overflow_2
=yes
18831 ac_cv_cflags__Wshift_overflow_2
=no
18833 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18834 conftest
$ac_exeext conftest.
$ac_ext
18835 CFLAGS
=$ac_wine_try_cflags_saved
18837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18838 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18839 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18841 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18844 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18845 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18847 printf %s
"(cached) " >&6
18849 ac_wine_try_cflags_saved
=$CFLAGS
18850 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18853 int main(int argc, char **argv) { return 0; }
18855 if ac_fn_c_try_link
"$LINENO"
18857 ac_cv_cflags__Wstrict_prototypes
=yes
18859 ac_cv_cflags__Wstrict_prototypes
=no
18861 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18862 conftest
$ac_exeext conftest.
$ac_ext
18863 CFLAGS
=$ac_wine_try_cflags_saved
18865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18866 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18867 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18869 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18872 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18873 if test ${ac_cv_cflags__Wtype_limits+y}
18875 printf %s
"(cached) " >&6
18877 ac_wine_try_cflags_saved
=$CFLAGS
18878 CFLAGS
="$CFLAGS -Wtype-limits"
18879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18881 int main(int argc, char **argv) { return 0; }
18883 if ac_fn_c_try_link
"$LINENO"
18885 ac_cv_cflags__Wtype_limits
=yes
18887 ac_cv_cflags__Wtype_limits
=no
18889 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18890 conftest
$ac_exeext conftest.
$ac_ext
18891 CFLAGS
=$ac_wine_try_cflags_saved
18893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18894 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18895 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18897 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18900 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18901 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18903 printf %s
"(cached) " >&6
18905 ac_wine_try_cflags_saved
=$CFLAGS
18906 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 int main(int argc, char **argv) { return 0; }
18911 if ac_fn_c_try_link
"$LINENO"
18913 ac_cv_cflags__Wunused_but_set_parameter
=yes
18915 ac_cv_cflags__Wunused_but_set_parameter
=no
18917 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18918 conftest
$ac_exeext conftest.
$ac_ext
18919 CFLAGS
=$ac_wine_try_cflags_saved
18921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18922 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18923 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18925 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18928 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18929 if test ${ac_cv_cflags__Wvla+y}
18931 printf %s
"(cached) " >&6
18933 ac_wine_try_cflags_saved
=$CFLAGS
18934 CFLAGS
="$CFLAGS -Wvla"
18935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18937 int main(int argc, char **argv) { return 0; }
18939 if ac_fn_c_try_link
"$LINENO"
18941 ac_cv_cflags__Wvla
=yes
18943 ac_cv_cflags__Wvla
=no
18945 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18946 conftest
$ac_exeext conftest.
$ac_ext
18947 CFLAGS
=$ac_wine_try_cflags_saved
18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18950 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18951 if test "x$ac_cv_cflags__Wvla" = xyes
18953 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18956 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18957 if test ${ac_cv_cflags__Wwrite_strings+y}
18959 printf %s
"(cached) " >&6
18961 ac_wine_try_cflags_saved
=$CFLAGS
18962 CFLAGS
="$CFLAGS -Wwrite-strings"
18963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18964 /* end confdefs.h. */
18965 int main(int argc, char **argv) { return 0; }
18967 if ac_fn_c_try_link
"$LINENO"
18969 ac_cv_cflags__Wwrite_strings
=yes
18971 ac_cv_cflags__Wwrite_strings
=no
18973 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18974 conftest
$ac_exeext conftest.
$ac_ext
18975 CFLAGS
=$ac_wine_try_cflags_saved
18977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18978 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18979 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18981 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18984 if test -z "$CROSSTARGET"
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18987 printf %s
"checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18988 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18990 printf %s
"(cached) " >&6
18992 ac_wine_try_cflags_saved
=$CFLAGS
18993 CFLAGS
="$CFLAGS -fexcess-precision=standard"
18994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 int main(int argc, char **argv) { return 0; }
18998 if ac_fn_c_try_link
"$LINENO"
19000 ac_cv_cflags__fexcess_precision_standard
=yes
19002 ac_cv_cflags__fexcess_precision_standard
=no
19004 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19005 conftest
$ac_exeext conftest.
$ac_ext
19006 CFLAGS
=$ac_wine_try_cflags_saved
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19009 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19010 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19012 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19018 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19019 if test ${ac_cv_cflags__Wpointer_arith+y}
19021 printf %s
"(cached) " >&6
19023 ac_wine_try_cflags_saved
=$CFLAGS
19024 CFLAGS
="$CFLAGS -Wpointer-arith"
19025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 int main(int argc, char **argv) { return 0; }
19029 if ac_fn_c_try_link
"$LINENO"
19031 ac_cv_cflags__Wpointer_arith
=yes
19033 ac_cv_cflags__Wpointer_arith
=no
19035 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19036 conftest
$ac_exeext conftest.
$ac_ext
19037 CFLAGS
=$ac_wine_try_cflags_saved
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19040 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19041 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19043 saved_string_h_CFLAGS
=$CFLAGS
19044 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19046 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19047 if test ${ac_cv_c_string_h_warnings+y}
19049 printf %s
"(cached) " >&6
19051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 #include <string.h>
19062 if ac_fn_c_try_compile
"$LINENO"
19064 ac_cv_c_string_h_warnings
=no
19066 ac_cv_c_string_h_warnings
=yes
19068 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19071 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19072 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19073 CFLAGS
=$saved_string_h_CFLAGS
19076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19077 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19078 if test ${ac_cv_cflags__Wlogical_op+y}
19080 printf %s
"(cached) " >&6
19082 ac_wine_try_cflags_saved
=$CFLAGS
19083 CFLAGS
="$CFLAGS -Wlogical-op"
19084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19086 int main(int argc, char **argv) { return 0; }
19088 if ac_fn_c_try_link
"$LINENO"
19090 ac_cv_cflags__Wlogical_op
=yes
19092 ac_cv_cflags__Wlogical_op
=no
19094 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19095 conftest
$ac_exeext conftest.
$ac_ext
19096 CFLAGS
=$ac_wine_try_cflags_saved
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19099 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19100 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19102 saved_string_h_CFLAGS
=$CFLAGS
19103 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19105 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19106 if test ${ac_cv_c_logicalop_noisy+y}
19108 printf %s
"(cached) " >&6
19110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 #include <string.h>
19113 char*f(const char *h,char n) {return strchr(h,n);}
19122 if ac_fn_c_try_compile
"$LINENO"
19124 ac_cv_c_logicalop_noisy
=no
19126 ac_cv_c_logicalop_noisy
=yes
19128 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19131 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19132 CFLAGS
=$saved_string_h_CFLAGS
19133 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19137 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19138 if test ${wine_cv_64bit_compare_swap+y}
19140 printf %s
"(cached) " >&6
19142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19155 if ac_fn_c_try_compile
"$LINENO"
19157 wine_cv_64bit_compare_swap
="none needed"
19160 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19161 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19162 *) wine_cv_64bit_compare_swap
="unknown" ;;
19164 if test "x$wine_cv_64bit_compare_swap" != xunknown
19166 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19180 if ac_fn_c_try_compile
"$LINENO"
19184 wine_cv_64bit_compare_swap
="unknown"
19186 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19187 CFLAGS
=$saved_CFLAGS
19190 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19193 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19194 case "$wine_cv_64bit_compare_swap" in
19195 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19197 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19200 ac_debug_format_seen
=""
19201 for ac_flag
in $CFLAGS; do
19203 -gdwarf*) ac_debug_format_seen
=yes ;;
19204 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19207 if test "x$ac_debug_format_seen" = xdefault
19209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19210 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19211 if test ${ac_cv_cflags__gdwarf_4+y}
19213 printf %s
"(cached) " >&6
19215 ac_wine_try_cflags_saved
=$CFLAGS
19216 CFLAGS
="$CFLAGS -gdwarf-4"
19217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 int main(int argc, char **argv) { return 0; }
19221 if ac_fn_c_try_link
"$LINENO"
19223 ac_cv_cflags__gdwarf_4
=yes
19225 ac_cv_cflags__gdwarf_4
=no
19227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19228 conftest
$ac_exeext conftest.
$ac_ext
19229 CFLAGS
=$ac_wine_try_cflags_saved
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19232 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19233 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19235 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19242 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19243 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19244 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19246 printf %s
"(cached) " >&6
19248 ac_wine_try_cflags_saved
=$CFLAGS
19249 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 int main(int argc, char **argv) { return 0; }
19254 if ac_fn_c_try_link
"$LINENO"
19256 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19258 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19260 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19261 conftest
$ac_exeext conftest.
$ac_ext
19262 CFLAGS
=$ac_wine_try_cflags_saved
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19265 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19266 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19268 DELAYLOADFLAG
="-Wl,-delayload,"
19271 *) MSVCRTFLAGS
="-D_WIN32"
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19273 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19274 if test ${ac_cv_cflags__fno_builtin+y}
19276 printf %s
"(cached) " >&6
19278 ac_wine_try_cflags_saved
=$CFLAGS
19279 CFLAGS
="$CFLAGS -fno-builtin"
19280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282 int main(int argc, char **argv) { return 0; }
19284 if ac_fn_c_try_link
"$LINENO"
19286 ac_cv_cflags__fno_builtin
=yes
19288 ac_cv_cflags__fno_builtin
=no
19290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19291 conftest
$ac_exeext conftest.
$ac_ext
19292 CFLAGS
=$ac_wine_try_cflags_saved
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19295 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19296 if test "x$ac_cv_cflags__fno_builtin" = xyes
19298 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19301 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19302 if test ${ac_cv_cflags__fshort_wchar+y}
19304 printf %s
"(cached) " >&6
19306 ac_wine_try_cflags_saved
=$CFLAGS
19307 CFLAGS
="$CFLAGS -fshort-wchar"
19308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19310 int main(int argc, char **argv) { return 0; }
19312 if ac_fn_c_try_link
"$LINENO"
19314 ac_cv_cflags__fshort_wchar
=yes
19316 ac_cv_cflags__fshort_wchar
=no
19318 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19319 conftest
$ac_exeext conftest.
$ac_ext
19320 CFLAGS
=$ac_wine_try_cflags_saved
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19323 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19324 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19326 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19329 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19330 if test ${ac_cv_cflags__Wno_format+y}
19332 printf %s
"(cached) " >&6
19334 ac_wine_try_cflags_saved
=$CFLAGS
19335 CFLAGS
="$CFLAGS -Wno-format"
19336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338 int main(int argc, char **argv) { return 0; }
19340 if ac_fn_c_try_link
"$LINENO"
19342 ac_cv_cflags__Wno_format
=yes
19344 ac_cv_cflags__Wno_format
=no
19346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19347 conftest
$ac_exeext conftest.
$ac_ext
19348 CFLAGS
=$ac_wine_try_cflags_saved
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19351 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19352 if test "x$ac_cv_cflags__Wno_format" = xyes
19354 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19359 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19360 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19361 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19363 printf %s
"(cached) " >&6
19365 ac_wine_try_cflags_saved
=$CFLAGS
19366 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19369 int main(int argc, char **argv) { return 0; }
19371 if ac_fn_c_try_link
"$LINENO"
19373 ac_cv_cflags__fno_omit_frame_pointer
=yes
19375 ac_cv_cflags__fno_omit_frame_pointer
=no
19377 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19378 conftest
$ac_exeext conftest.
$ac_ext
19379 CFLAGS
=$ac_wine_try_cflags_saved
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19382 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19383 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19385 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19389 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19390 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19391 if test ${ac_cv_cflags__Wno_format+y}
19393 printf %s
"(cached) " >&6
19395 ac_wine_try_cflags_saved
=$CFLAGS
19396 CFLAGS
="$CFLAGS -Wno-format"
19397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19399 int main(int argc, char **argv) { return 0; }
19401 if ac_fn_c_try_link
"$LINENO"
19403 ac_cv_cflags__Wno_format
=yes
19405 ac_cv_cflags__Wno_format
=no
19407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19408 conftest
$ac_exeext conftest.
$ac_ext
19409 CFLAGS
=$ac_wine_try_cflags_saved
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19412 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19413 if test "x$ac_cv_cflags__Wno_format" = xyes
19415 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19417 *) if test -z "$CROSSTARGET"
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19420 printf %s
"checking for working -mabi=ms... " >&6; }
19421 if test ${ac_cv_mabi_ms+y}
19423 printf %s
"(cached) " >&6
19425 CFLAGS
="$CFLAGS -mabi=ms"
19426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 #include <stdarg.h>
19429 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19438 if ac_fn_c_try_compile
"$LINENO"
19444 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19445 CFLAGS
=$saved_CFLAGS
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19448 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19449 test $ac_cv_mabi_ms = yes || as_fn_error $?
"The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19451 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19455 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19456 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19458 printf %s
"(cached) " >&6
19460 ac_wine_try_cflags_saved
=$CFLAGS
19461 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464 int main(int argc, char **argv) { return 0; }
19466 if ac_fn_c_try_link
"$LINENO"
19468 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19470 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19473 conftest
$ac_exeext conftest.
$ac_ext
19474 CFLAGS
=$ac_wine_try_cflags_saved
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19477 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19478 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19480 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19484 CFLAGS
=$saved_CFLAGS
19486 if test "x$enable_werror" = "xyes"
19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19489 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19490 if test ${ac_cv_cflags__Werror+y}
19492 printf %s
"(cached) " >&6
19494 ac_wine_try_cflags_saved
=$CFLAGS
19495 CFLAGS
="$CFLAGS -Werror"
19496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19498 int main(int argc, char **argv) { return 0; }
19500 if ac_fn_c_try_link
"$LINENO"
19502 ac_cv_cflags__Werror
=yes
19504 ac_cv_cflags__Werror
=no
19506 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19507 conftest
$ac_exeext conftest.
$ac_ext
19508 CFLAGS
=$ac_wine_try_cflags_saved
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19511 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19512 if test "x$ac_cv_cflags__Werror" = xyes
19514 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19517 if test "x$enable_build_id" = "xyes"
19519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19520 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19521 if test ${ac_cv_cflags__Wl___build_id+y}
19523 printf %s
"(cached) " >&6
19525 ac_wine_try_cflags_saved
=$CFLAGS
19526 CFLAGS
="$CFLAGS -Wl,--build-id"
19527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19529 int main(int argc, char **argv) { return 0; }
19531 if ac_fn_c_try_link
"$LINENO"
19533 ac_cv_cflags__Wl___build_id
=yes
19535 ac_cv_cflags__Wl___build_id
=no
19537 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19538 conftest
$ac_exeext conftest.
$ac_ext
19539 CFLAGS
=$ac_wine_try_cflags_saved
19541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19542 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19543 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19545 CFLAGS
="$CFLAGS -Wl,--build-id"
19546 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19553 printf %s
"checking for the need to disable Fortify... " >&6; }
19554 if test ${ac_cv_c_fortify_enabled+y}
19556 printf %s
"(cached) " >&6
19558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19560 #include <string.h>
19564 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19565 #error Fortify enabled
19571 if ac_fn_c_try_compile
"$LINENO"
19573 ac_cv_c_fortify_enabled
=no
19575 ac_cv_c_fortify_enabled
=yes
19577 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19580 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19581 if test "$ac_cv_c_fortify_enabled" = yes
19583 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19588 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19589 if test ${ac_cv_c_cfi_support+y}
19591 printf %s
"(cached) " >&6
19593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19595 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19604 if ac_fn_c_try_compile
"$LINENO"
19606 ac_cv_c_cfi_support
="yes"
19608 ac_cv_c_cfi_support
="no"
19610 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19613 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19614 if test "$ac_cv_c_cfi_support" = "yes"
19616 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19617 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19618 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19620 if test "x$enable_win64" = "xyes"
19622 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19630 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19631 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
19632 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19639 ac_save_CFLAGS
="$CFLAGS"
19640 CFLAGS
="$CFLAGS $BUILTINFLAG"
19641 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19642 if test "x$ac_cv_func_epoll_create" = xyes
19644 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19647 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19648 if test "x$ac_cv_func_fstatfs" = xyes
19650 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19653 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19654 if test "x$ac_cv_func_futimens" = xyes
19656 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19659 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19660 if test "x$ac_cv_func_futimes" = xyes
19662 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19665 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19666 if test "x$ac_cv_func_futimesat" = xyes
19668 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19671 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19672 if test "x$ac_cv_func_getattrlist" = xyes
19674 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19677 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19678 if test "x$ac_cv_func_getauxval" = xyes
19680 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19683 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19684 if test "x$ac_cv_func_getifaddrs" = xyes
19686 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19689 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19690 if test "x$ac_cv_func_getrandom" = xyes
19692 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19695 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19696 if test "x$ac_cv_func_kqueue" = xyes
19698 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19701 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19702 if test "x$ac_cv_func_mach_continuous_time" = xyes
19704 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19707 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19708 if test "x$ac_cv_func_pipe2" = xyes
19710 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19713 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19714 if test "x$ac_cv_func_port_create" = xyes
19716 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19719 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19720 if test "x$ac_cv_func_posix_fadvise" = xyes
19722 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19725 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19726 if test "x$ac_cv_func_posix_fallocate" = xyes
19728 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19731 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19732 if test "x$ac_cv_func_prctl" = xyes
19734 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19737 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19738 if test "x$ac_cv_func_proc_pidinfo" = xyes
19740 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19743 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19744 if test "x$ac_cv_func_sched_yield" = xyes
19746 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19749 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19750 if test "x$ac_cv_func_setproctitle" = xyes
19752 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19755 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19756 if test "x$ac_cv_func_setprogname" = xyes
19758 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19761 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19762 if test "x$ac_cv_func_sigprocmask" = xyes
19764 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19767 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19768 if test "x$ac_cv_func_sysinfo" = xyes
19770 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19773 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19774 if test "x$ac_cv_func_tcdrain" = xyes
19776 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19779 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19780 if test "x$ac_cv_func_thr_kill2" = xyes
19782 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19786 CFLAGS
="$ac_save_CFLAGS"
19788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19789 printf %s
"checking for library containing dlopen... " >&6; }
19790 if test ${ac_cv_search_dlopen+y}
19792 printf %s
"(cached) " >&6
19794 ac_func_search_save_LIBS
=$LIBS
19795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19798 /* Override any GCC internal prototype to avoid an error.
19799 Use char because int might match the return type of a GCC
19800 builtin and then its argument prototype would still apply. */
19810 for ac_lib
in '' dl
19812 if test -z "$ac_lib"; then
19813 ac_res
="none required"
19816 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19818 if ac_fn_c_try_link
"$LINENO"
19820 ac_cv_search_dlopen
=$ac_res
19822 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19824 if test ${ac_cv_search_dlopen+y}
19829 if test ${ac_cv_search_dlopen+y}
19833 ac_cv_search_dlopen
=no
19835 rm conftest.
$ac_ext
19836 LIBS
=$ac_func_search_save_LIBS
19838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19839 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19840 ac_res
=$ac_cv_search_dlopen
19841 if test "$ac_res" != no
19843 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19847 ac_wine_check_funcs_save_LIBS
="$LIBS"
19848 LIBS
="$LIBS $DL_LIBS"
19849 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19850 if test "x$ac_cv_func_dlinfo" = xyes
19852 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19856 LIBS
="$ac_wine_check_funcs_save_LIBS"
19858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19859 printf %s
"checking for library containing gethostbyname... " >&6; }
19860 if test ${ac_cv_search_gethostbyname+y}
19862 printf %s
"(cached) " >&6
19864 ac_func_search_save_LIBS
=$LIBS
19865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19868 /* Override any GCC internal prototype to avoid an error.
19869 Use char because int might match the return type of a GCC
19870 builtin and then its argument prototype would still apply. */
19871 char gethostbyname ();
19875 return gethostbyname ();
19880 for ac_lib
in '' nsl
19882 if test -z "$ac_lib"; then
19883 ac_res
="none required"
19886 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19888 if ac_fn_c_try_link
"$LINENO"
19890 ac_cv_search_gethostbyname
=$ac_res
19892 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19894 if test ${ac_cv_search_gethostbyname+y}
19899 if test ${ac_cv_search_gethostbyname+y}
19903 ac_cv_search_gethostbyname
=no
19905 rm conftest.
$ac_ext
19906 LIBS
=$ac_func_search_save_LIBS
19908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19909 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19910 ac_res
=$ac_cv_search_gethostbyname
19911 if test "$ac_res" != no
19913 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19919 printf %s
"checking for library containing connect... " >&6; }
19920 if test ${ac_cv_search_connect+y}
19922 printf %s
"(cached) " >&6
19924 ac_func_search_save_LIBS
=$LIBS
19925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19928 /* Override any GCC internal prototype to avoid an error.
19929 Use char because int might match the return type of a GCC
19930 builtin and then its argument prototype would still apply. */
19940 for ac_lib
in '' socket
19942 if test -z "$ac_lib"; then
19943 ac_res
="none required"
19946 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19948 if ac_fn_c_try_link
"$LINENO"
19950 ac_cv_search_connect
=$ac_res
19952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19954 if test ${ac_cv_search_connect+y}
19959 if test ${ac_cv_search_connect+y}
19963 ac_cv_search_connect
=no
19965 rm conftest.
$ac_ext
19966 LIBS
=$ac_func_search_save_LIBS
19968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19969 printf "%s\n" "$ac_cv_search_connect" >&6; }
19970 ac_res
=$ac_cv_search_connect
19971 if test "$ac_res" != no
19973 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19979 printf %s
"checking for library containing inet_aton... " >&6; }
19980 if test ${ac_cv_search_inet_aton+y}
19982 printf %s
"(cached) " >&6
19984 ac_func_search_save_LIBS
=$LIBS
19985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19988 /* Override any GCC internal prototype to avoid an error.
19989 Use char because int might match the return type of a GCC
19990 builtin and then its argument prototype would still apply. */
19995 return inet_aton ();
20000 for ac_lib
in '' resolv
20002 if test -z "$ac_lib"; then
20003 ac_res
="none required"
20006 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20008 if ac_fn_c_try_link
"$LINENO"
20010 ac_cv_search_inet_aton
=$ac_res
20012 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20014 if test ${ac_cv_search_inet_aton+y}
20019 if test ${ac_cv_search_inet_aton+y}
20023 ac_cv_search_inet_aton
=no
20025 rm conftest.
$ac_ext
20026 LIBS
=$ac_func_search_save_LIBS
20028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20029 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20030 ac_res
=$ac_cv_search_inet_aton
20031 if test "$ac_res" != no
20033 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20038 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20039 if test "x$ac_cv_func_getaddrinfo" = xyes
20041 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20047 darwin
*|macosx
*) ;;
20048 *) ac_save_LIBS
=$LIBS
20049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20050 printf %s
"checking for library containing clock_gettime... " >&6; }
20051 if test ${ac_cv_search_clock_gettime+y}
20053 printf %s
"(cached) " >&6
20055 ac_func_search_save_LIBS
=$LIBS
20056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20059 /* Override any GCC internal prototype to avoid an error.
20060 Use char because int might match the return type of a GCC
20061 builtin and then its argument prototype would still apply. */
20062 char clock_gettime ();
20066 return clock_gettime ();
20071 for ac_lib
in '' rt
20073 if test -z "$ac_lib"; then
20074 ac_res
="none required"
20077 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20079 if ac_fn_c_try_link
"$LINENO"
20081 ac_cv_search_clock_gettime
=$ac_res
20083 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20085 if test ${ac_cv_search_clock_gettime+y}
20090 if test ${ac_cv_search_clock_gettime+y}
20094 ac_cv_search_clock_gettime
=no
20096 rm conftest.
$ac_ext
20097 LIBS
=$ac_func_search_save_LIBS
20099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20100 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20101 ac_res
=$ac_cv_search_clock_gettime
20102 if test "$ac_res" != no
20104 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20106 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20108 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20116 if test "x$with_ldap" != "xno"
20118 if ${LDAP_CFLAGS:+false} :
20120 if test ${PKG_CONFIG+y}
20122 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20126 if ${LDAP_LIBS:+false} :
20128 if test ${PKG_CONFIG+y}
20130 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20134 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20137 ac_save_CPPFLAGS
=$CPPFLAGS
20138 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20139 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20140 if test "x$ac_cv_header_ldap_h" = xyes
20142 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20145 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20146 if test "x$ac_cv_header_lber_h" = xyes
20148 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20152 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20154 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20156 if test "x$ac_cv_type_LDAPSortKey" = xyes
20158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20159 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20160 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20162 printf %s
"(cached) " >&6
20164 ac_check_lib_save_LIBS
=$LIBS
20165 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20169 /* Override any GCC internal prototype to avoid an error.
20170 Use char because int might match the return type of a GCC
20171 builtin and then its argument prototype would still apply. */
20172 char ldap_initialize ();
20176 return ldap_initialize ();
20181 if ac_fn_c_try_link
"$LINENO"
20183 ac_cv_lib_ldap_ldap_initialize
=yes
20185 ac_cv_lib_ldap_ldap_initialize
=no
20187 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20188 conftest
$ac_exeext conftest.
$ac_ext
20189 LIBS
=$ac_check_lib_save_LIBS
20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20192 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20193 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20196 printf %s
"checking for ber_init in -llber... " >&6; }
20197 if test ${ac_cv_lib_lber_ber_init+y}
20199 printf %s
"(cached) " >&6
20201 ac_check_lib_save_LIBS
=$LIBS
20202 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20206 /* Override any GCC internal prototype to avoid an error.
20207 Use char because int might match the return type of a GCC
20208 builtin and then its argument prototype would still apply. */
20213 return ber_init ();
20218 if ac_fn_c_try_link
"$LINENO"
20220 ac_cv_lib_lber_ber_init
=yes
20222 ac_cv_lib_lber_ber_init
=no
20224 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20225 conftest
$ac_exeext conftest.
$ac_ext
20226 LIBS
=$ac_check_lib_save_LIBS
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20229 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20230 if test "x$ac_cv_lib_lber_ber_init" = xyes
20233 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20250 CPPFLAGS
=$ac_save_CPPFLAGS
20253 if test "x$LDAP_LIBS" = "x"
20255 case "x$with_ldap" in
20256 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20258 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20259 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20265 printf %s
"checking for sched_setaffinity... " >&6; }
20266 if test ${wine_cv_have_sched_setaffinity+y}
20268 printf %s
"(cached) " >&6
20270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20276 sched_setaffinity(0, 0, 0);
20281 if ac_fn_c_try_link
"$LINENO"
20283 wine_cv_have_sched_setaffinity
=yes
20285 wine_cv_have_sched_setaffinity
=no
20287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20288 conftest
$ac_exeext conftest.
$ac_ext
20290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20291 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20292 if test "$wine_cv_have_sched_setaffinity" = "yes"
20295 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20301 printf %s
"checking for inline... " >&6; }
20302 if test ${ac_cv_c_inline+y}
20304 printf %s
"(cached) " >&6
20307 for ac_kw
in inline __inline__ __inline
; do
20308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310 #ifndef __cplusplus
20312 static $ac_kw foo_t static_foo (void) {return 0; }
20313 $ac_kw foo_t foo (void) {return 0; }
20317 if ac_fn_c_try_compile
"$LINENO"
20319 ac_cv_c_inline
=$ac_kw
20321 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20322 test "$ac_cv_c_inline" != no
&& break
20326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20327 printf "%s\n" "$ac_cv_c_inline" >&6; }
20329 case $ac_cv_c_inline in
20332 case $ac_cv_c_inline in
20334 *) ac_val
=$ac_cv_c_inline;;
20336 cat >>confdefs.h
<<_ACEOF
20337 #ifndef __cplusplus
20338 #define inline $ac_val
20344 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20345 #include <signal.h>
20347 if test "x$ac_cv_type_sigset_t" = xyes
20350 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20355 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20357 if test "x$ac_cv_type_request_sense" = xyes
20360 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20366 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20367 #include <sys/socket.h>
20368 #ifdef HAVE_SYS_SOCKETVAR_H
20369 #include <sys/socketvar.h>
20371 #ifdef HAVE_NET_ROUTE_H
20372 #include <net/route.h>
20374 #ifdef HAVE_NETINET_IN_H
20375 #include <netinet/in.h>
20377 #ifdef HAVE_NETINET_IN_SYSTM_H
20378 #include <netinet/in_systm.h>
20380 #ifdef HAVE_NETINET_IP_H
20381 #include <netinet/ip.h>
20383 #ifdef HAVE_NETINET_IN_PCB_H
20384 #include <netinet/in_pcb.h>
20387 if test "x$ac_cv_type_struct_xinpgen" = xyes
20390 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20397 printf %s
"checking for sigaddset... " >&6; }
20398 if test ${wine_cv_have_sigaddset+y}
20400 printf %s
"(cached) " >&6
20402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20404 #include <signal.h>
20408 sigset_t set; sigaddset(&set,SIGTERM);
20413 if ac_fn_c_try_link
"$LINENO"
20415 wine_cv_have_sigaddset
=yes
20417 wine_cv_have_sigaddset
=no
20419 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20420 conftest
$ac_exeext conftest.
$ac_ext
20422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20423 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20424 if test "$wine_cv_have_sigaddset" = "yes"
20427 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20433 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20434 if test ${wine_cv_linux_gethostbyname_r_6+y}
20436 printf %s
"(cached) " >&6
20438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20447 struct hostent *result;
20454 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20455 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20461 if ac_fn_c_try_link
"$LINENO"
20463 wine_cv_linux_gethostbyname_r_6
=yes
20465 wine_cv_linux_gethostbyname_r_6
=no
20468 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20469 conftest
$ac_exeext conftest.
$ac_ext
20472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20473 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20474 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20477 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20481 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20482 #include <sys/socket.h>
20483 #ifdef HAVE_SYS_UN_H
20484 # include <sys/un.h>
20487 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20490 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20494 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20495 #include <sys/socket.h>
20496 #ifdef HAVE_SYS_UN_H
20497 # include <sys/un.h>
20500 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20503 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20509 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20510 #ifdef HAVE_SCSI_SG_H
20511 #include <scsi/sg.h>
20514 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20517 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20521 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>
20522 #ifdef HAVE_SCSI_SG_H
20523 #include <scsi/sg.h>
20526 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20529 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20535 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20537 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20540 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20546 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20547 #ifdef HAVE_SYS_MTIO_H
20548 #include <sys/mtio.h>
20551 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20554 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20558 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20559 #ifdef HAVE_SYS_MTIO_H
20560 #include <sys/mtio.h>
20563 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20566 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20570 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20571 #ifdef HAVE_SYS_MTIO_H
20572 #include <sys/mtio.h>
20575 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20578 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20584 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20585 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20588 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20592 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20593 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20596 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20600 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20601 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20604 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20608 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20609 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20612 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20616 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20617 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20620 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20624 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20625 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20628 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20632 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20633 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20636 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20640 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20641 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20644 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20648 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20649 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20652 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20656 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20657 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20660 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20664 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20665 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20668 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20674 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>
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20679 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20682 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20688 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
20689 #include <resolv.h>
20692 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20695 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20701 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20702 #include <netinet/in.h>
20705 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20708 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20714 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20715 #ifdef HAVE_SYS_SOCKETVAR_H
20716 #include <sys/socketvar.h>
20718 #ifdef HAVE_NETINET_IN_H
20719 #include <netinet/in.h>
20721 #ifdef HAVE_NETINET_IP_VAR_H
20722 #include <netinet/ip_var.h>
20725 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20728 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20734 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
20735 #include <netinet/ip_var.h>
20738 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20741 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20747 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20748 #ifdef HAVE_SYS_SOCKETVAR_H
20749 #include <sys/socketvar.h>
20751 #ifdef HAVE_NETINET_IN_H
20752 #include <netinet/in.h>
20754 #ifdef HAVE_NETINET6_IP6_VAR_H
20755 #include <netinet6/ip6_var.h>
20758 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20761 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20767 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20768 #ifdef HAVE_SYS_SOCKETVAR_H
20769 #include <sys/socketvar.h>
20771 #ifdef HAVE_NETINET_IN_H
20772 #include <netinet/in.h>
20774 #ifdef HAVE_NETINET_IP_H
20775 #include <netinet/ip.h>
20777 #ifdef HAVE_NETINET_IP_ICMP_H
20778 #include <netinet/ip_icmp.h>
20780 #ifdef HAVE_NETINET_ICMP_VAR_H
20781 #include <netinet/icmp_var.h>
20784 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20787 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20793 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20794 #ifdef HAVE_SYS_SOCKETVAR_H
20795 #include <sys/socketvar.h>
20797 #ifdef HAVE_NETINET_IN_H
20798 #include <netinet/in.h>
20800 #ifdef HAVE_NETINET_ICMP6_H
20801 #include <netinet/icmp6.h>
20804 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20807 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20813 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20814 #ifdef HAVE_SYS_SOCKETVAR_H
20815 #include <sys/socketvar.h>
20817 #ifdef HAVE_NETINET_IN_H
20818 #include <netinet/in.h>
20820 #ifdef HAVE_NETINET_TCP_H
20821 #include <netinet/tcp.h>
20823 #ifdef HAVE_NETINET_TCP_VAR_H
20824 #include <netinet/tcp_var.h>
20827 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20830 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20836 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
20837 #include <netinet/tcp_var.h>
20840 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20843 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20849 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20850 #ifdef HAVE_NETINET_IN_H
20851 #include <netinet/in.h>
20853 #ifdef HAVE_NETINET_IP_VAR_H
20854 #include <netinet/ip_var.h>
20856 #ifdef HAVE_NETINET_UDP_H
20857 #include <netinet/udp.h>
20859 #ifdef HAVE_NETINET_UDP_VAR_H
20860 #include <netinet/udp_var.h>
20863 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20866 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20872 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20873 #ifdef HAVE_NET_IF_H
20874 # include <net/if.h>
20877 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20880 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20886 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20887 # include <sys/sysinfo.h>
20890 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20893 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20897 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20898 # include <sys/sysinfo.h>
20901 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20904 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20910 LIBS
="$ac_save_LIBS"
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20913 printf %s
"checking for __builtin_popcount... " >&6; }
20914 if test ${ac_cv_have___builtin_popcount+y}
20916 printf %s
"(cached) " >&6
20918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20924 return __builtin_popcount(1)
20929 if ac_fn_c_try_link
"$LINENO"
20931 ac_cv_have___builtin_popcount
="yes"
20933 ac_cv_have___builtin_popcount
="no"
20935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20936 conftest
$ac_exeext conftest.
$ac_ext
20938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20939 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20940 if test "$ac_cv_have___builtin_popcount" = "yes"
20943 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20948 printf %s
"checking for __clear_cache... " >&6; }
20949 if test ${ac_cv_have___clear_cache+y}
20951 printf %s
"(cached) " >&6
20953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20954 /* end confdefs.h. */
20959 __clear_cache((void*)0, (void*)0); return 0;
20964 if ac_fn_c_try_link
"$LINENO"
20966 ac_cv_have___clear_cache
="yes"
20968 ac_cv_have___clear_cache
="no"
20970 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20971 conftest
$ac_exeext conftest.
$ac_ext
20973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20974 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20975 if test "$ac_cv_have___clear_cache" = "yes"
20978 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20984 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20985 printf %s
"checking whether we need to define __i386__... " >&6; }
20986 if test ${ac_cv_cpp_def___i386__+y}
20988 printf %s
"(cached) " >&6
20990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20997 $EGREP "yes" >/dev
/null
2>&1
20999 ac_cv_cpp_def___i386__
=yes
21001 ac_cv_cpp_def___i386__
=no
21006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21007 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21008 if test "x$ac_cv_cpp_def___i386__" = xyes
21010 CFLAGS
="$CFLAGS -D__i386__"
21011 LINTFLAGS
="$LINTFLAGS -D__i386__"
21013 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21014 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21015 if test ${ac_cv_cpp_def___x86_64__+y}
21017 printf %s
"(cached) " >&6
21019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21026 $EGREP "yes" >/dev
/null
2>&1
21028 ac_cv_cpp_def___x86_64__
=yes
21030 ac_cv_cpp_def___x86_64__
=no
21035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21036 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21037 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21039 CFLAGS
="$CFLAGS -D__x86_64__"
21040 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21042 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21043 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21044 if test ${ac_cv_cpp_def___sparc64__+y}
21046 printf %s
"(cached) " >&6
21048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21050 #ifndef __sparc64__
21054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21055 $EGREP "yes" >/dev
/null
2>&1
21057 ac_cv_cpp_def___sparc64__
=yes
21059 ac_cv_cpp_def___sparc64__
=no
21064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21065 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21066 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21068 CFLAGS
="$CFLAGS -D__sparc64__"
21069 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21071 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21072 printf %s
"checking whether we need to define __sparc__... " >&6; }
21073 if test ${ac_cv_cpp_def___sparc__+y}
21075 printf %s
"(cached) " >&6
21077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21078 /* end confdefs.h. */
21083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21084 $EGREP "yes" >/dev
/null
2>&1
21086 ac_cv_cpp_def___sparc__
=yes
21088 ac_cv_cpp_def___sparc__
=no
21093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21094 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21095 if test "x$ac_cv_cpp_def___sparc__" = xyes
21097 CFLAGS
="$CFLAGS -D__sparc__"
21098 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21100 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21101 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21102 if test ${ac_cv_cpp_def___powerpc64__+y}
21104 printf %s
"(cached) " >&6
21106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21108 #ifndef __powerpc64__
21112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21113 $EGREP "yes" >/dev
/null
2>&1
21115 ac_cv_cpp_def___powerpc64__
=yes
21117 ac_cv_cpp_def___powerpc64__
=no
21122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21123 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21124 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21126 CFLAGS
="$CFLAGS -D__powerpc64__"
21127 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21129 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21130 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21131 if test ${ac_cv_cpp_def___powerpc__+y}
21133 printf %s
"(cached) " >&6
21135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21137 #ifndef __powerpc__
21141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21142 $EGREP "yes" >/dev
/null
2>&1
21144 ac_cv_cpp_def___powerpc__
=yes
21146 ac_cv_cpp_def___powerpc__
=no
21151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21152 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21153 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21155 CFLAGS
="$CFLAGS -D__powerpc__"
21156 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21158 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21159 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21160 if test ${ac_cv_cpp_def___aarch64__+y}
21162 printf %s
"(cached) " >&6
21164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21165 /* end confdefs.h. */
21166 #ifndef __aarch64__
21170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21171 $EGREP "yes" >/dev
/null
2>&1
21173 ac_cv_cpp_def___aarch64__
=yes
21175 ac_cv_cpp_def___aarch64__
=no
21180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21181 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21182 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21184 CFLAGS
="$CFLAGS -D__aarch64__"
21185 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21187 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21188 printf %s
"checking whether we need to define __arm__... " >&6; }
21189 if test ${ac_cv_cpp_def___arm__+y}
21191 printf %s
"(cached) " >&6
21193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h. */
21199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21200 $EGREP "yes" >/dev
/null
2>&1
21202 ac_cv_cpp_def___arm__
=yes
21204 ac_cv_cpp_def___arm__
=no
21209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21210 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21211 if test "x$ac_cv_cpp_def___arm__" = xyes
21213 CFLAGS
="$CFLAGS -D__arm__"
21214 LINTFLAGS
="$LINTFLAGS -D__arm__"
21218 case $host_vendor in
21219 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21220 printf %s
"checking whether we need to define __sun__... " >&6; }
21221 if test ${ac_cv_cpp_def___sun__+y}
21223 printf %s
"(cached) " >&6
21225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21232 $EGREP "yes" >/dev
/null
2>&1
21234 ac_cv_cpp_def___sun__
=yes
21236 ac_cv_cpp_def___sun__
=no
21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21242 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21243 if test "x$ac_cv_cpp_def___sun__" = xyes
21245 CFLAGS
="$CFLAGS -D__sun__"
21246 LINTFLAGS
="$LINTFLAGS -D__sun__"
21254 ac_config_commands
="$ac_config_commands include/stamp-h"
21256 printf %s
"creating Makefile rules..." >&6
21259 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21262 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21264 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21265 wine_fn_config_symlink wine
21266 if test "x$enable_win64" != xno
-o -n "$with_wine64"; then
21267 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21268 wine_fn_config_symlink wine64
21271 wine_fn_config_makefile dlls
/acledit enable_acledit
21272 wine_fn_config_makefile dlls
/aclui enable_aclui
21273 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21274 wine_fn_config_makefile dlls
/activeds enable_activeds
21275 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21276 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21277 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21278 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21279 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21280 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21281 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21282 wine_fn_config_makefile dlls
/advpack enable_advpack
21283 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21284 wine_fn_config_makefile dlls
/amsi enable_amsi
21285 wine_fn_config_makefile dlls
/amstream enable_amstream
21286 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21287 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21288 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21289 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21290 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21291 wine_fn_config_makefile dlls
/atl enable_atl
21292 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21293 wine_fn_config_makefile dlls
/atl100 enable_atl100
21294 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21295 wine_fn_config_makefile dlls
/atl110 enable_atl110
21296 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21297 wine_fn_config_makefile dlls
/atl80 enable_atl80
21298 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21299 wine_fn_config_makefile dlls
/atl90 enable_atl90
21300 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21301 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21302 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21303 wine_fn_config_makefile dlls
/authz enable_authz
21304 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21305 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21306 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21307 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21308 wine_fn_config_makefile dlls
/avrt enable_avrt
21309 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21310 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21311 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21312 wine_fn_config_makefile dlls
/browseui enable_browseui
21313 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21314 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21315 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21316 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21317 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21318 wine_fn_config_makefile dlls
/cards enable_cards
21319 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21320 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21321 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21322 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21323 wine_fn_config_makefile dlls
/combase enable_combase
21324 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21325 wine_fn_config_makefile dlls
/comcat enable_comcat
21326 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21327 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21328 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21329 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21330 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21331 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21332 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21333 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21334 wine_fn_config_makefile dlls
/compstui enable_compstui
21335 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21336 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21337 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21338 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21339 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21340 wine_fn_config_makefile dlls
/connect enable_connect
21341 wine_fn_config_makefile dlls
/credui enable_credui
21342 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21343 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21344 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21345 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21346 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21347 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21348 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21349 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21350 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21351 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21352 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21353 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21354 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21355 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21356 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21357 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21358 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21359 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21360 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21361 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21362 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21363 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21364 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21365 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21366 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21367 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21368 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21369 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21370 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21371 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21372 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21373 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21374 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21375 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21376 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21377 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21378 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21379 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21380 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21381 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21382 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21383 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21384 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21385 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21386 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21387 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21388 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21389 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21390 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21391 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21392 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21393 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21394 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21395 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21396 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21397 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21398 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21399 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21400 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21401 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21402 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21403 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21404 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21405 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21406 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21407 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21408 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21409 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21410 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21411 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21412 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21413 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21414 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21415 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21416 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21417 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21418 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21419 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21420 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21421 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21422 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21423 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21424 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21425 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21426 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21427 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21428 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21429 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21430 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21431 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21432 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21433 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21434 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21435 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21436 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21437 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21438 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21439 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21440 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21441 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21442 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21443 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21444 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21445 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21446 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21447 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21448 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21449 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21450 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21451 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21452 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21453 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21454 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21455 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21456 wine_fn_config_makefile dlls
/devenum enable_devenum
21457 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21458 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21459 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21460 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21461 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21462 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21463 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21464 wine_fn_config_makefile dlls
/dinput enable_dinput
21465 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21466 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21467 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21468 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21469 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21470 wine_fn_config_makefile dlls
/dispex enable_dispex
21471 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21472 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21473 wine_fn_config_makefile dlls
/dmband enable_dmband
21474 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21475 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21476 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21477 wine_fn_config_makefile dlls
/dmime enable_dmime
21478 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21479 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21480 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21481 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21482 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21483 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21484 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21485 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21486 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21487 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21488 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21489 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21490 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21491 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21492 wine_fn_config_makefile dlls
/dplay enable_dplay
21493 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21494 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21495 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21496 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21497 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21498 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21499 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21500 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21501 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21502 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21503 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21504 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21505 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21506 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21507 wine_fn_config_makefile dlls
/dsound enable_dsound
21508 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21509 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21510 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21511 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21512 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21513 wine_fn_config_makefile dlls
/dswave enable_dswave
21514 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21515 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21516 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21517 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21518 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21519 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21520 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21521 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21522 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21523 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21524 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21525 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21526 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21527 wine_fn_config_makefile dlls
/esent enable_esent
21528 wine_fn_config_makefile dlls
/evr enable_evr
21529 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21530 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21531 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21532 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21533 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21534 wine_fn_config_makefile dlls
/feclient enable_feclient
21535 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21536 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21537 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21538 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21539 wine_fn_config_makefile dlls
/fusion enable_fusion
21540 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21541 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21542 wine_fn_config_makefile dlls
/gameux enable_gameux
21543 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21544 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21545 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21546 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21547 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21548 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21549 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21550 wine_fn_config_makefile dlls
/glu32 enable_glu32
21551 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21552 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21553 wine_fn_config_makefile dlls
/hal enable_hal
21554 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21555 wine_fn_config_makefile dlls
/hid enable_hid
21556 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21557 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21558 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21559 wine_fn_config_makefile dlls
/hlink enable_hlink
21560 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21561 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21562 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21563 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21564 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21565 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21566 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21567 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21568 wine_fn_config_makefile dlls
/icmp enable_icmp
21569 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21570 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21571 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21572 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21573 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21574 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21575 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21576 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21577 wine_fn_config_makefile dlls
/imm32 enable_imm32
21578 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21579 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21580 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21581 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21582 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21583 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21584 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21585 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21586 wine_fn_config_makefile dlls
/initpki enable_initpki
21587 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21588 wine_fn_config_makefile dlls
/inseng enable_inseng
21589 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21590 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21591 wine_fn_config_makefile dlls
/iprop enable_iprop
21592 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21593 wine_fn_config_makefile dlls
/itircl enable_itircl
21594 wine_fn_config_makefile dlls
/itss enable_itss
21595 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21596 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21597 wine_fn_config_makefile dlls
/jscript enable_jscript
21598 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21599 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21600 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21601 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21602 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21603 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21604 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21605 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21606 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21607 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21608 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21609 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21610 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21611 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21612 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21613 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21614 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21615 wine_fn_config_makefile dlls
/localspl enable_localspl
21616 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21617 wine_fn_config_makefile dlls
/localui enable_localui
21618 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21619 wine_fn_config_makefile dlls
/lz32 enable_lz32
21620 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21621 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21622 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21623 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21624 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21625 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21626 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21627 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21628 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21629 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21630 wine_fn_config_makefile dlls
/mf enable_mf
21631 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21632 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21633 wine_fn_config_makefile dlls
/mferror enable_mferror
21634 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21635 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21636 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21637 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21638 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21639 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21640 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21641 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21642 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21643 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21644 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21645 wine_fn_config_makefile dlls
/midimap enable_midimap
21646 wine_fn_config_makefile dlls
/mlang enable_mlang
21647 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21648 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21649 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21650 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21651 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21652 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21653 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21654 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21655 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21656 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21657 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21658 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21659 wine_fn_config_makefile dlls
/mpr enable_mpr
21660 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21661 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21662 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21663 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21664 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21665 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21666 wine_fn_config_makefile dlls
/msado15 enable_msado15
21667 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21668 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21669 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21670 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21671 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21672 wine_fn_config_makefile dlls
/mscms enable_mscms
21673 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21674 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21675 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21676 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21677 wine_fn_config_makefile dlls
/msctf enable_msctf
21678 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21679 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21680 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21681 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21682 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21683 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21684 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21685 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21686 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21687 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21688 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21689 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21690 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21691 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21692 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21693 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21694 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21695 wine_fn_config_makefile dlls
/msi enable_msi
21696 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21697 wine_fn_config_makefile dlls
/msident enable_msident
21698 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21699 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21700 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21701 wine_fn_config_makefile dlls
/msisip enable_msisip
21702 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21703 wine_fn_config_makefile dlls
/msls31 enable_msls31
21704 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21705 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21706 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21707 wine_fn_config_makefile dlls
/msports enable_msports
21708 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21709 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21710 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21711 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21712 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21713 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21714 wine_fn_config_makefile dlls
/mstask enable_mstask
21715 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21716 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21717 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21718 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21719 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21720 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21721 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21722 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21723 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21724 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21725 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21726 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21727 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21728 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21729 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21730 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21731 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21732 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21733 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21734 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21735 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21736 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21737 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21738 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21739 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21740 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21741 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21742 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21743 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21744 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21745 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21746 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21747 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21748 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21749 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21750 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21751 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21752 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21753 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21754 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21755 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21756 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21757 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21758 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21759 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21760 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21761 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21762 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21763 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21764 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21765 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21766 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21767 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21768 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21769 wine_fn_config_makefile dlls
/msxml enable_msxml
21770 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21771 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21772 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21773 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21774 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21775 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21776 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21777 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21778 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21779 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21780 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21781 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21782 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21783 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21784 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21785 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21786 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21787 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21788 wine_fn_config_makefile dlls
/netutils enable_netutils
21789 wine_fn_config_makefile dlls
/newdev enable_newdev
21790 wine_fn_config_makefile dlls
/ninput enable_ninput
21791 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21792 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21793 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21794 wine_fn_config_makefile dlls
/npptools enable_npptools
21795 wine_fn_config_makefile dlls
/nsi enable_nsi
21796 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21797 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21798 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21799 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21800 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21801 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21802 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21803 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21804 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21805 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21806 wine_fn_config_makefile dlls
/objsel enable_objsel
21807 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21808 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21809 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21810 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21811 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21812 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21813 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21814 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21815 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21816 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21817 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21818 wine_fn_config_makefile dlls
/ole32 enable_ole32
21819 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21820 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21821 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21822 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21823 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21824 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21825 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21826 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21827 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21828 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21829 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21830 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21831 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21832 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21833 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21834 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21835 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21836 wine_fn_config_makefile dlls
/openal32 enable_openal32
21837 wine_fn_config_makefile dlls
/opencl enable_opencl
21838 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21839 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21840 wine_fn_config_makefile dlls
/packager enable_packager
21841 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21842 wine_fn_config_makefile dlls
/pdh enable_pdh
21843 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21844 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21845 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21846 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21847 wine_fn_config_makefile dlls
/printui enable_printui
21848 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21849 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21850 wine_fn_config_makefile dlls
/propsys enable_propsys
21851 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21852 wine_fn_config_makefile dlls
/psapi enable_psapi
21853 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21854 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21855 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21856 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21857 wine_fn_config_makefile dlls
/qasf enable_qasf
21858 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21859 wine_fn_config_makefile dlls
/qcap enable_qcap
21860 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21861 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21862 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21863 wine_fn_config_makefile dlls
/qedit enable_qedit
21864 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21865 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21866 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21867 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21868 wine_fn_config_makefile dlls
/quartz enable_quartz
21869 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21870 wine_fn_config_makefile dlls
/query enable_query
21871 wine_fn_config_makefile dlls
/qwave enable_qwave
21872 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21873 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21874 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21875 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21876 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21877 wine_fn_config_makefile dlls
/regapi enable_regapi
21878 wine_fn_config_makefile dlls
/resutils enable_resutils
21879 wine_fn_config_makefile dlls
/riched20 enable_riched20
21880 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21881 wine_fn_config_makefile dlls
/riched32 enable_riched32
21882 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21883 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21884 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21885 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21886 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21887 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21888 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21889 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21890 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21891 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21892 wine_fn_config_makefile dlls
/samlib enable_samlib
21893 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21894 wine_fn_config_makefile dlls
/sapi enable_sapi
21895 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21896 wine_fn_config_makefile dlls
/sas enable_sas
21897 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21898 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21899 wine_fn_config_makefile dlls
/schannel enable_schannel
21900 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21901 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21902 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21903 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21904 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21905 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21906 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21907 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21908 wine_fn_config_makefile dlls
/sechost enable_sechost
21909 wine_fn_config_makefile dlls
/secur32 enable_secur32
21910 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21911 wine_fn_config_makefile dlls
/security enable_security
21912 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21913 wine_fn_config_makefile dlls
/serialui enable_serialui
21914 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21915 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21916 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21917 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21918 wine_fn_config_makefile dlls
/sfc enable_sfc
21919 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21920 wine_fn_config_makefile dlls
/shcore enable_shcore
21921 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21922 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21923 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21924 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21925 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21926 wine_fn_config_makefile dlls
/shell32 enable_shell32
21927 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21928 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21929 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21930 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21931 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21932 wine_fn_config_makefile dlls
/slc enable_slc
21933 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21934 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21935 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21936 wine_fn_config_makefile dlls
/softpub enable_softpub
21937 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21938 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21939 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21940 wine_fn_config_makefile dlls
/sppc enable_sppc
21941 wine_fn_config_makefile dlls
/srclient enable_srclient
21942 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21943 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21944 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21945 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21946 wine_fn_config_makefile dlls
/sti enable_sti
21947 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21948 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21949 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21950 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21951 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21952 wine_fn_config_makefile dlls
/sxs enable_sxs
21953 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21954 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21955 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21956 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21957 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21958 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21959 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21960 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21961 wine_fn_config_makefile dlls
/tbs enable_tbs
21962 wine_fn_config_makefile dlls
/tdh enable_tdh
21963 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21964 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21965 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21966 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21967 wine_fn_config_makefile dlls
/traffic enable_traffic
21968 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21969 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21970 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21971 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21972 wine_fn_config_makefile dlls
/tzres enable_tzres
21973 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21974 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21975 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21976 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21977 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21978 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21979 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21980 wine_fn_config_makefile dlls
/unicows enable_unicows
21981 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21982 wine_fn_config_makefile dlls
/url enable_url
21983 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21984 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21985 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21986 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21987 wine_fn_config_makefile dlls
/user32 enable_user32
21988 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21989 wine_fn_config_makefile dlls
/userenv enable_userenv
21990 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21991 wine_fn_config_makefile dlls
/usp10 enable_usp10
21992 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21993 wine_fn_config_makefile dlls
/utildll enable_utildll
21994 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21995 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21996 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21997 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21998 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21999 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22000 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22001 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22002 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22003 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22004 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22005 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22006 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22007 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22008 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22009 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22010 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22011 wine_fn_config_makefile dlls
/version enable_version
22012 wine_fn_config_makefile dlls
/version
/tests enable_tests
22013 wine_fn_config_makefile dlls
/vga enable_vga
22014 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22015 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22016 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22017 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22018 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22019 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22020 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22021 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22022 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22023 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22024 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22025 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22026 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22027 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22028 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22029 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22030 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22031 wine_fn_config_makefile dlls
/webservices enable_webservices
22032 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22033 wine_fn_config_makefile dlls
/websocket enable_websocket
22034 wine_fn_config_makefile dlls
/wer enable_wer
22035 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22036 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22037 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22038 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22039 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22040 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22041 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22042 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22043 wine_fn_config_makefile dlls
/win32u enable_win32u
22044 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22045 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22046 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22047 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22048 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22049 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22050 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22051 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22052 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22053 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22054 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22055 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22056 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22057 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22058 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22059 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22060 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22061 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22062 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22063 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22064 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22065 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22066 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22067 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22068 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22069 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22070 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22071 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22072 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22073 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22074 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22075 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22076 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22077 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22078 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22079 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22080 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22081 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22082 wine_fn_config_makefile dlls
/wing32 enable_wing32
22083 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22084 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22085 wine_fn_config_makefile dlls
/wininet enable_wininet
22086 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22087 wine_fn_config_makefile dlls
/winmm enable_winmm
22088 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22089 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22090 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22091 wine_fn_config_makefile dlls
/winscard enable_winscard
22092 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22093 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22094 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22095 wine_fn_config_makefile dlls
/winsta enable_winsta
22096 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22097 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22098 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22099 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22100 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22101 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22102 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22103 wine_fn_config_makefile dlls
/winusb enable_winusb
22104 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22105 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22106 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22107 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22108 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22109 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22110 wine_fn_config_makefile dlls
/wmi enable_wmi
22111 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22112 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22113 wine_fn_config_makefile dlls
/wmp enable_wmp
22114 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22115 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22116 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22117 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22118 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22119 wine_fn_config_makefile dlls
/wow32 enable_win16
22120 wine_fn_config_makefile dlls
/wow64 enable_wow64
22121 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22122 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22123 wine_fn_config_makefile dlls
/wpc enable_wpc
22124 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22125 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22126 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22127 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22128 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22129 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22130 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22131 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22132 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22133 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22134 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22135 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22136 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22137 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22138 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22139 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22140 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22141 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22142 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22143 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22144 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22145 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22146 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22147 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22148 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22149 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22150 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22151 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22152 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22153 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22154 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22155 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22156 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22157 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22158 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22159 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22160 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22161 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22162 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22163 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22164 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22165 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22166 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22167 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22168 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22169 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22170 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22171 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22172 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22173 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22174 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22175 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22176 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22177 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22178 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22179 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22180 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22181 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22182 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22183 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22184 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22185 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22186 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22187 wine_fn_config_makefile fonts enable_fonts
22188 wine_fn_config_makefile include enable_include
22189 wine_fn_config_makefile libs
/adsiid enable_adsiid
22190 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22191 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22192 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22193 wine_fn_config_makefile libs
/dxguid enable_dxguid
22194 wine_fn_config_makefile libs
/faudio enable_faudio
22195 wine_fn_config_makefile libs
/gsm enable_gsm
22196 wine_fn_config_makefile libs
/jpeg enable_jpeg
22197 wine_fn_config_makefile libs
/jxr enable_jxr
22198 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22199 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22200 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22201 wine_fn_config_makefile libs
/png enable_png
22202 wine_fn_config_makefile libs
/strmbase enable_strmbase
22203 wine_fn_config_makefile libs
/strmiids enable_strmiids
22204 wine_fn_config_makefile libs
/tiff enable_tiff
22205 wine_fn_config_makefile libs
/uuid enable_uuid
22206 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22207 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22208 wine_fn_config_makefile libs
/wine enable_wine
22209 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22210 wine_fn_config_makefile libs
/xml2 enable_xml2
22211 wine_fn_config_makefile libs
/xslt enable_xslt
22212 wine_fn_config_makefile libs
/zlib enable_zlib
22213 wine_fn_config_makefile loader enable_loader
22214 wine_fn_config_makefile nls enable_nls
22215 wine_fn_config_makefile po enable_po
22216 wine_fn_config_makefile programs
/arp enable_arp
22217 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22218 wine_fn_config_makefile programs
/attrib enable_attrib
22219 wine_fn_config_makefile programs
/cabarc enable_cabarc
22220 wine_fn_config_makefile programs
/cacls enable_cacls
22221 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22222 wine_fn_config_makefile programs
/clock enable_clock
22223 wine_fn_config_makefile programs
/cmd enable_cmd
22224 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22225 wine_fn_config_makefile programs
/conhost enable_conhost
22226 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22227 wine_fn_config_makefile programs
/control enable_control
22228 wine_fn_config_makefile programs
/cscript enable_cscript
22229 wine_fn_config_makefile programs
/dism enable_dism
22230 wine_fn_config_makefile programs
/dllhost enable_dllhost
22231 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22232 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22233 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22234 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22235 wine_fn_config_makefile programs
/eject enable_eject
22236 wine_fn_config_makefile programs
/expand enable_expand
22237 wine_fn_config_makefile programs
/explorer enable_explorer
22238 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22239 wine_fn_config_makefile programs
/fc enable_fc
22240 wine_fn_config_makefile programs
/find enable_find
22241 wine_fn_config_makefile programs
/find
/tests enable_tests
22242 wine_fn_config_makefile programs
/findstr enable_findstr
22243 wine_fn_config_makefile programs
/fsutil enable_fsutil
22244 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22245 wine_fn_config_makefile programs
/hh enable_hh
22246 wine_fn_config_makefile programs
/hostname enable_hostname
22247 wine_fn_config_makefile programs
/icacls enable_icacls
22248 wine_fn_config_makefile programs
/icinfo enable_icinfo
22249 wine_fn_config_makefile programs
/iexplore enable_iexplore
22250 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22251 wine_fn_config_makefile programs
/lodctr enable_lodctr
22252 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22253 wine_fn_config_makefile programs
/mshta enable_mshta
22254 wine_fn_config_makefile programs
/msidb enable_msidb
22255 wine_fn_config_makefile programs
/msiexec enable_msiexec
22256 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22257 wine_fn_config_makefile programs
/net enable_net
22258 wine_fn_config_makefile programs
/netsh enable_netsh
22259 wine_fn_config_makefile programs
/netstat enable_netstat
22260 wine_fn_config_makefile programs
/ngen enable_ngen
22261 wine_fn_config_makefile programs
/notepad enable_notepad
22262 wine_fn_config_makefile programs
/oleview enable_oleview
22263 wine_fn_config_makefile programs
/ping enable_ping
22264 wine_fn_config_makefile programs
/plugplay enable_plugplay
22265 wine_fn_config_makefile programs
/powershell enable_powershell
22266 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22267 wine_fn_config_makefile programs
/progman enable_progman
22268 wine_fn_config_makefile programs
/reg enable_reg
22269 wine_fn_config_makefile programs
/reg
/tests enable_tests
22270 wine_fn_config_makefile programs
/regasm enable_regasm
22271 wine_fn_config_makefile programs
/regedit enable_regedit
22272 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22273 wine_fn_config_makefile programs
/regini enable_regini
22274 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22275 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22276 wine_fn_config_makefile programs
/robocopy enable_robocopy
22277 wine_fn_config_makefile programs
/rpcss enable_rpcss
22278 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22279 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22280 wine_fn_config_makefile programs
/sc enable_sc
22281 wine_fn_config_makefile programs
/sc
/tests enable_tests
22282 wine_fn_config_makefile programs
/schtasks enable_schtasks
22283 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22284 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22285 wine_fn_config_makefile programs
/secedit enable_secedit
22286 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22287 wine_fn_config_makefile programs
/services enable_services
22288 wine_fn_config_makefile programs
/services
/tests enable_tests
22289 wine_fn_config_makefile programs
/shutdown enable_shutdown
22290 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22291 wine_fn_config_makefile programs
/start enable_start
22292 wine_fn_config_makefile programs
/subst enable_subst
22293 wine_fn_config_makefile programs
/svchost enable_svchost
22294 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22295 wine_fn_config_makefile programs
/taskkill enable_taskkill
22296 wine_fn_config_makefile programs
/tasklist enable_tasklist
22297 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22298 wine_fn_config_makefile programs
/termsv enable_termsv
22299 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22300 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22301 wine_fn_config_makefile programs
/view enable_view
22302 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22303 wine_fn_config_makefile programs
/where enable_where
22304 wine_fn_config_makefile programs
/whoami enable_whoami
22305 wine_fn_config_makefile programs
/wineboot enable_wineboot
22306 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22307 wine_fn_config_makefile programs
/winecfg enable_winecfg
22308 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22309 wine_fn_config_makefile programs
/winedbg enable_winedbg
22310 wine_fn_config_makefile programs
/winedevice enable_winedevice
22311 wine_fn_config_makefile programs
/winefile enable_winefile
22312 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22313 wine_fn_config_makefile programs
/winemine enable_winemine
22314 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22315 wine_fn_config_makefile programs
/winepath enable_winepath
22316 wine_fn_config_makefile programs
/winetest enable_winetest
22317 wine_fn_config_makefile programs
/winevdm enable_win16
22318 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22319 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22320 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22321 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22322 wine_fn_config_makefile programs
/winver enable_winver
22323 wine_fn_config_makefile programs
/wmic enable_wmic
22324 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22325 wine_fn_config_makefile programs
/wordpad enable_wordpad
22326 wine_fn_config_makefile programs
/write enable_write
22327 wine_fn_config_makefile programs
/wscript enable_wscript
22328 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22329 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22330 wine_fn_config_makefile programs
/wusa enable_wusa
22331 wine_fn_config_makefile programs
/xcopy enable_xcopy
22332 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22333 wine_fn_config_makefile server enable_server
22334 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22335 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22336 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22337 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22338 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22339 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22340 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22341 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22342 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22345 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
22346 wine_fn_append_file CONFIGURE_TARGETS
"tags"
22347 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
22348 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
22349 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
22350 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
22351 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
22352 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
22354 if test "x$enable_tools" != xno
22356 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
22357 ac_config_commands
="$ac_config_commands tools/makedep"
22361 ac_config_commands
="$ac_config_commands Makefile"
22368 wine_fn_append_rule
"all: wine
22369 @echo \"Wine build complete.\"
22373 Makefile: config.status \$(MAKEDEP)
22374 @./config.status Makefile
22375 depend: \$(MAKEDEP)
22376 \$(MAKEDEP)$makedep_flags"
22379 wine_fn_append_rule
"config.status: ${wine_srcdir}configure
22380 @./config.status --recheck
22381 include/config.h: include/stamp-h
22382 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22383 @./config.status include/config.h include/stamp-h"
22385 if test "x$enable_maintainer_mode" = xyes
22387 wine_fn_append_rule
"configure: configure.ac aclocal.m4
22388 autoconf --warnings=all
22389 include/config.h.in: include/stamp-h.in
22390 include/stamp-h.in: configure.ac aclocal.m4
22391 autoheader --warnings=all
22392 @echo timestamp > \$@"
22395 if test "x$enable_tools" != xno
22397 wine_fn_append_rule
"tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22398 @./config.status tools/makedep
22399 Makefile: tools/makedep$ac_exeext"
22401 wine_fn_append_rule
"\$(MAKEDEP):
22402 @echo \"You need to run make in $toolsdir first\" && false"
22406 if test -n "$with_wine64"
22408 case "$with_wine64" in
22412 rm -f fonts server
2>/dev
/null
22413 wine_fn_append_rule
"all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22414 loader/wine64 loader/wine64-preloader:
22415 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22416 $with_wine64/loader/wine:
22417 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22418 $with_wine64/loader/wine-preloader:
22419 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22421 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22423 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22424 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22428 programs/msidb/msidb \
22429 programs/msiexec/msiexec \
22430 programs/notepad/notepad \
22431 programs/regedit/regedit \
22432 programs/regsvr32/regsvr32 \
22433 programs/wineboot/wineboot \
22434 programs/winecfg/winecfg \
22435 programs/wineconsole/wineconsole \
22436 programs/winedbg/winedbg \
22437 programs/winefile/winefile \
22438 programs/winemine/winemine \
22439 programs/winepath/winepath \
22443 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22444 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22449 wine_fn_append_rule
"distclean:: clean
22450 rm -rf autom4te.cache
22452 rm -f configure include/config.h.in"
22455 wine_fn_append_rule
"dlls/ntdll/unix/version.c: dummy
22456 @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)
22457 programs/winetest/build.rc: dummy
22458 @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)
22459 programs/winetest/build.nfo:
22461 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
22462 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22463 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22466 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22468 wine_fn_append_rule
"TAGS etags:
22470 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22473 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22475 .PHONY: depend dummy install-manpages"
22477 printf "%s\n" " done" >&6
22478 cat >confcache
<<\_ACEOF
22479 # This file is a shell script that caches the results of configure
22480 # tests run on this system so they can be shared between configure
22481 # scripts and configure runs, see configure's option --config-cache.
22482 # It is not useful on other systems. If it contains results you don't
22483 # want to keep, you may remove or edit it.
22485 # config.status only pays attention to the cache file if you give it
22486 # the --recheck option to rerun configure.
22488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22490 # following values.
22494 # The following way of writing the cache mishandles newlines in values,
22495 # but we know of no workaround that is simple, portable, and efficient.
22496 # So, we kill variables containing newlines.
22497 # Ultrix sh set writes to stderr and can't be redirected directly,
22498 # and sets the high bit in the cache file unless we assign to the vars.
22500 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22501 eval ac_val
=\$
$ac_var
22505 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22506 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22509 _ | IFS | as_nl
) ;; #(
22510 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22511 *) { eval $ac_var=; unset $ac_var;} ;;
22517 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22518 *${as_nl}ac_space
=\
*)
22519 # `set' does not quote correctly, so add quotes: double-quote
22520 # substitution turns \\\\ into \\, and sed turns \\ into \.
22523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22526 # `set' quotes correctly as required by POSIX, so do not add quotes.
22527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22536 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22540 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22541 if test -w "$cache_file"; then
22542 if test "x$cache_file" != "x/dev/null"; then
22543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22544 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22545 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22546 cat confcache
>"$cache_file"
22548 case $cache_file in #(
22550 mv -f confcache
"$cache_file"$$
&&
22551 mv -f "$cache_file"$$
"$cache_file" ;; #(
22553 mv -f confcache
"$cache_file" ;;
22558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22559 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22564 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22565 # Let make expand exec_prefix.
22566 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22568 DEFS
=-DHAVE_CONFIG_H
22573 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22574 # 1. Remove the extension, and $U if already installed.
22575 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22576 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22577 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22578 # will be set to the directory where LIBOBJS objects are built.
22579 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22580 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22582 LIBOBJS
=$ac_libobjs
22584 LTLIBOBJS
=$ac_ltlibobjs
22588 : "${CONFIG_STATUS=./config.status}"
22590 ac_clean_files_save
=$ac_clean_files
22591 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22593 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22595 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22597 # Generated by $as_me.
22598 # Run this file to recreate the current configuration.
22599 # Compiler output produced by configure, useful for debugging
22600 # configure, is in config.log if it exists.
22603 ac_cs_recheck=false
22606 SHELL=\${CONFIG_SHELL-$SHELL}
22609 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22610 ## -------------------- ##
22611 ## M4sh Initialization. ##
22612 ## -------------------- ##
22614 # Be more Bourne compatible
22615 DUALCASE
=1; export DUALCASE
# for MKS sh
22617 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22621 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22622 # is contrary to our usage. Disable this feature.
22623 alias -g '${1+"$@"}'='"$@"'
22624 setopt NO_GLOB_SUBST
22626 case `(set -o) 2>/dev/null` in #(
22636 # Reset variables that may have inherited troublesome values from
22639 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22640 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22641 # side effect of setting IFS to empty, thus disabling word splitting.)
22642 # Quoting is to prevent editors from complaining about space-tab.
22652 # Ensure predictable behavior from utilities with locale-dependent output.
22658 # We cannot yet rely on "unset" to work, but we need these variables
22659 # to be unset--not just set to an empty or harmless value--now, to
22660 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22661 # also avoids known problems related to "unset" and subshell syntax
22662 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22663 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22664 do eval test \
${$as_var+y} \
22665 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22668 # Ensure that fds 0, 1, and 2 are open.
22669 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22670 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22671 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22673 # The user is always right.
22674 if ${PATH_SEPARATOR+false} :; then
22676 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22677 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22683 # Find who we are. Look in the path if we contain no directory separator.
22686 *[\\/]* ) as_myself
=$0 ;;
22687 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22688 for as_dir
in $PATH
22691 case $as_dir in #(((
22694 *) as_dir
=$as_dir/ ;;
22696 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22702 # We did not find ourselves, most probably we were run as `sh COMMAND'
22703 # in which case we are not to be found in the path.
22704 if test "x$as_myself" = x
; then
22707 if test ! -f "$as_myself"; then
22708 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22714 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22715 # ----------------------------------------
22716 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22717 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22718 # script with STATUS, using 1 if that was 0.
22721 as_status
=$1; test $as_status -eq 0 && as_status
=1
22723 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22726 printf "%s\n" "$as_me: error: $2" >&2
22727 as_fn_exit
$as_status
22732 # as_fn_set_status STATUS
22733 # -----------------------
22734 # Set $? to STATUS, without forking.
22735 as_fn_set_status
()
22738 } # as_fn_set_status
22740 # as_fn_exit STATUS
22741 # -----------------
22742 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22746 as_fn_set_status
$1
22752 # Portably unset VAR.
22755 { eval $1=; unset $1;}
22757 as_unset
=as_fn_unset
22759 # as_fn_append VAR VALUE
22760 # ----------------------
22761 # Append the text in VALUE to the end of the definition contained in VAR. Take
22762 # advantage of any shell optimizations that allow amortized linear growth over
22763 # repeated appends, instead of the typical quadratic growth present in naive
22765 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22767 eval 'as_fn_append ()
22778 # as_fn_arith ARG...
22779 # ------------------
22780 # Perform arithmetic evaluation on the ARGs, and store the result in the
22781 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22782 # must be portable across $(()) and expr.
22783 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22785 eval 'as_fn_arith ()
22792 as_val
=`expr "$@" || test $? -eq 1`
22797 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22798 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22804 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22805 as_basename
=basename
22810 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22816 as_me
=`$as_basename -- "$0" ||
22817 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22818 X"$0" : 'X\(//\)$' \| \
22819 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22820 printf "%s\n" X/"$0" |
22821 sed '/^.*\/\([^/][^/]*\)\/*$/{
22835 # Avoid depending upon Character Ranges.
22836 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22837 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22838 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22839 as_cr_digits
='0123456789'
22840 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22843 # Determine whether it's possible to make 'echo' print without a newline.
22844 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22845 # for compatibility with existing Makefiles.
22846 ECHO_C
= ECHO_N
= ECHO_T
=
22847 case `echo -n x` in #(((((
22849 case `echo 'xy\c'` in
22850 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22852 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22859 # For backward compatibility with old third-party macros, we provide
22860 # the shell variables $as_echo and $as_echo_n. New code should use
22861 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22862 as_echo
='printf %s\n'
22863 as_echo_n
='printf %s'
22865 rm -f conf$$ conf$$.exe conf$$.
file
22866 if test -d conf$$.dir
; then
22867 rm -f conf$$.dir
/conf$$.
file
22870 mkdir conf$$.dir
2>/dev
/null
22872 if (echo >conf$$.
file) 2>/dev
/null
; then
22873 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22875 # ... but there are two gotchas:
22876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22878 # In both cases, we have to default to `cp -pR'.
22879 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22881 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22889 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22890 rmdir conf$$.dir
2>/dev
/null
22895 # Create "$as_dir" as a directory, including parents if necessary.
22900 -*) as_dir
=.
/$as_dir;;
22902 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22906 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22907 *) as_qdir
=$as_dir;;
22909 as_dirs
="'$as_qdir' $as_dirs"
22910 as_dir
=`$as_dirname -- "$as_dir" ||
22911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22912 X"$as_dir" : 'X\(//\)[^/]' \| \
22913 X"$as_dir" : 'X\(//\)$' \| \
22914 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22915 printf "%s\n" X"$as_dir" |
22916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22920 /^X\(\/\/\)[^/].*/{
22933 test -d "$as_dir" && break
22935 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22936 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22940 if mkdir
-p .
2>/dev
/null
; then
22941 as_mkdir_p
='mkdir -p "$as_dir"'
22943 test -d .
/-p && rmdir .
/-p
22948 # as_fn_executable_p FILE
22949 # -----------------------
22950 # Test if FILE is an executable regular file.
22951 as_fn_executable_p
()
22953 test -f "$1" && test -x "$1"
22954 } # as_fn_executable_p
22955 as_test_x
='test -x'
22956 as_executable_p
=as_fn_executable_p
22958 # Sed expression to map a string onto a valid CPP name.
22959 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22961 # Sed expression to map a string onto a valid variable name.
22962 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22966 ## ----------------------------------- ##
22967 ## Main body of $CONFIG_STATUS script. ##
22968 ## ----------------------------------- ##
22970 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22973 # Save the log message, to keep $0 and so on meaningful, and to
22974 # report actual input values of CONFIG_FILES etc. instead of their
22975 # values after options handling.
22977 This file was extended by Wine $as_me 7.18, which was
22978 generated by GNU Autoconf 2.71. Invocation command line was
22980 CONFIG_FILES = $CONFIG_FILES
22981 CONFIG_HEADERS = $CONFIG_HEADERS
22982 CONFIG_LINKS = $CONFIG_LINKS
22983 CONFIG_COMMANDS = $CONFIG_COMMANDS
22986 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22992 case $ac_config_headers in *"
22993 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22998 # Files that config.status was made for.
22999 config_headers="$ac_config_headers"
23000 config_links="$ac_config_links"
23001 config_commands="$ac_config_commands"
23005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23007 \`$as_me' instantiates files and other configuration actions
23008 from templates according to the current configuration. Unless the files
23009 and actions are specified as TAGs, all are instantiated by default.
23011 Usage: $0 [OPTION]... [TAG]...
23013 -h, --help print this help, then exit
23014 -V, --version print version number and configuration settings, then exit
23015 --config print configuration, then exit
23016 -q, --quiet, --silent
23017 do not print progress messages
23018 -d, --debug don't remove temporary files
23019 --recheck update $as_me by reconfiguring in the same conditions
23020 --header=FILE[:TEMPLATE]
23021 instantiate the configuration header FILE
23023 Configuration headers:
23026 Configuration links:
23029 Configuration commands:
23032 Report bugs to <wine-devel@winehq.org>.
23033 Wine home page: <https://www.winehq.org>."
23036 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23037 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23039 ac_cs_config='$ac_cs_config_escaped'
23041 Wine config.status 7.18
23042 configured by $0, generated by GNU Autoconf 2.71,
23043 with options \\"\$ac_cs_config\\"
23045 Copyright (C) 2021 Free Software Foundation, Inc.
23046 This config.status script is free software; the Free Software Foundation
23047 gives unlimited permission to copy, distribute and modify it."
23051 test -n "\$AWK" || AWK=awk
23054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23055 # The default lists apply if the user does not specify any file.
23061 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23062 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23078 # Handling of the options.
23079 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23081 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23082 printf "%s\n" "$ac_cs_version"; exit ;;
23083 --config |
--confi |
--conf |
--con |
--co |
--c )
23084 printf "%s\n" "$ac_cs_config"; exit ;;
23085 --debug |
--debu |
--deb |
--de |
--d |
-d )
23087 --header |
--heade |
--head |
--hea )
23090 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23092 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23093 ac_need_defaults
=false
;;
23095 # Conflict between --help and --header
23096 as_fn_error $?
"ambiguous option: \`$1'
23097 Try \`$0 --help' for more information.";;
23098 --help |
--hel |
-h )
23099 printf "%s\n" "$ac_cs_usage"; exit ;;
23100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23101 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23104 # This is an error.
23105 -*) as_fn_error $?
"unrecognized option: \`$1'
23106 Try \`$0 --help' for more information." ;;
23108 *) as_fn_append ac_config_targets
" $1"
23109 ac_need_defaults
=false
;;
23115 ac_configure_extra_args
=
23117 if $ac_cs_silent; then
23119 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23124 if \$ac_cs_recheck; then
23125 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23127 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23128 CONFIG_SHELL='$SHELL'
23129 export CONFIG_SHELL
23134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23139 ## Running $as_me. ##
23141 printf "%s\n" "$ac_log"
23145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23149 wine_fn_output_makedep ()
23151 as_dir=tools; as_fn_mkdir_p
23152 $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
23154 wine_fn_output_makefile ()
23156 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23157 # This Makefile understands the following targets:
23159 # all (default): build wine
23160 # clean: remove all intermediate files
23161 # distclean: also remove all files created by configure
23163 # testclean: clean test results to force running all tests again
23164 # install-lib: install libraries needed to run applications
23165 # install-dev: install development environment
23166 # install: install everything
23167 # uninstall: uninstall everything
23168 # ctags: create a tags file for vim and others.
23169 # etags: create a TAGS file for Emacs.
23172 PATH_SEPARATOR = $PATH_SEPARATOR
23173 PACKAGE_NAME = $PACKAGE_NAME
23174 PACKAGE_TARNAME = $PACKAGE_TARNAME
23175 PACKAGE_VERSION = $PACKAGE_VERSION
23176 PACKAGE_STRING = $PACKAGE_STRING
23177 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23178 PACKAGE_URL = $PACKAGE_URL
23179 exec_prefix = $exec_prefix
23181 program_transform_name = $program_transform_name
23184 libexecdir = $libexecdir
23185 datarootdir = $datarootdir
23187 sysconfdir = $sysconfdir
23188 sharedstatedir = $sharedstatedir
23189 localstatedir = $localstatedir
23190 runstatedir = $runstatedir
23191 includedir = $includedir
23192 oldincludedir = $oldincludedir
23200 localedir = $localedir
23207 build_alias = $build_alias
23208 host_alias = $host_alias
23209 target_alias = $target_alias
23210 system_dllpath = $system_dllpath
23212 build_cpu = $build_cpu
23213 build_vendor = $build_vendor
23214 build_os = $build_os
23216 host_cpu = $host_cpu
23217 host_vendor = $host_vendor
23223 SET_MAKE = $SET_MAKE
23227 CPPFLAGS = $CPPFLAGS
23228 ac_ct_CC = $ac_ct_CC
23232 CXXFLAGS = $CXXFLAGS
23233 ac_ct_CXX = $ac_ct_CXX
23236 TARGETFLAGS = $TARGETFLAGS
23237 toolsext = $toolsext
23238 toolsdir = $toolsdir
23240 RUNTESTFLAGS = $RUNTESTFLAGS
23245 ac_ct_AR = $ac_ct_AR
23251 LDCONFIG = $LDCONFIG
23253 PKG_CONFIG = $PKG_CONFIG
23254 FONTFORGE = $FONTFORGE
23258 I386_LIBS = $I386_LIBS
23259 OPENGL_LIBS = $OPENGL_LIBS
23260 DLLFLAGS = $DLLFLAGS
23261 LDDLLFLAGS = $LDDLLFLAGS
23262 LDEXECFLAGS = $LDEXECFLAGS
23263 EXTRACFLAGS = $EXTRACFLAGS
23264 UNIXDLLFLAGS = $UNIXDLLFLAGS
23265 UNIXLDFLAGS = $UNIXLDFLAGS
23266 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23267 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23268 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23269 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23274 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23275 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23276 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23279 OBJCFLAGS = $OBJCFLAGS
23280 ac_ct_OBJC = $ac_ct_OBJC
23281 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23282 IOKIT_LIBS = $IOKIT_LIBS
23283 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23284 CORESERVICES_LIBS = $CORESERVICES_LIBS
23285 APPKIT_LIBS = $APPKIT_LIBS
23286 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23287 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23288 SECURITY_LIBS = $SECURITY_LIBS
23289 COREAUDIO_LIBS = $COREAUDIO_LIBS
23290 OPENAL_LIBS = $OPENAL_LIBS
23291 OPENCL_LIBS = $OPENCL_LIBS
23292 CARBON_LIBS = $CARBON_LIBS
23293 METAL_LIBS = $METAL_LIBS
23294 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23295 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23296 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23298 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23299 CROSSTARGET = $CROSSTARGET
23301 CROSSCFLAGS = $CROSSCFLAGS
23302 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23303 CROSSLDFLAGS = $CROSSLDFLAGS
23304 DELAYLOADFLAG = $DELAYLOADFLAG
23305 CROSSDEBUG = $CROSSDEBUG
23306 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23307 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23308 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23309 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23310 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23311 GSM_PE_LIBS = $GSM_PE_LIBS
23312 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23313 JPEG_PE_LIBS = $JPEG_PE_LIBS
23314 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23315 JXR_PE_LIBS = $JXR_PE_LIBS
23316 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23317 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23318 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23319 MPG123_PE_LIBS = $MPG123_PE_LIBS
23320 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23321 PNG_PE_LIBS = $PNG_PE_LIBS
23322 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23323 TIFF_PE_LIBS = $TIFF_PE_LIBS
23324 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23325 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23326 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23327 XML2_PE_LIBS = $XML2_PE_LIBS
23328 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23329 XSLT_PE_LIBS = $XSLT_PE_LIBS
23330 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23331 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23332 PTHREAD_LIBS = $PTHREAD_LIBS
23335 X_CFLAGS = $X_CFLAGS
23336 X_PRE_LIBS = $X_PRE_LIBS
23338 X_EXTRA_LIBS = $X_EXTRA_LIBS
23339 PCAP_LIBS = $PCAP_LIBS
23340 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23341 INOTIFY_LIBS = $INOTIFY_LIBS
23342 DBUS_CFLAGS = $DBUS_CFLAGS
23343 DBUS_LIBS = $DBUS_LIBS
23344 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23345 GNUTLS_LIBS = $GNUTLS_LIBS
23346 SANE_CFLAGS = $SANE_CFLAGS
23347 SANE_LIBS = $SANE_LIBS
23348 USB_CFLAGS = $USB_CFLAGS
23349 USB_LIBS = $USB_LIBS
23350 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23351 GPHOTO2_LIBS = $GPHOTO2_LIBS
23352 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23353 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23354 RESOLV_LIBS = $RESOLV_LIBS
23355 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23356 FREETYPE_LIBS = $FREETYPE_LIBS
23357 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23358 PULSE_CFLAGS = $PULSE_CFLAGS
23359 PULSE_LIBS = $PULSE_LIBS
23360 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23361 GSTREAMER_LIBS = $GSTREAMER_LIBS
23362 ALSA_LIBS = $ALSA_LIBS
23363 OSS4_CFLAGS = $OSS4_CFLAGS
23364 OSS4_LIBS = $OSS4_LIBS
23365 UDEV_CFLAGS = $UDEV_CFLAGS
23366 UDEV_LIBS = $UDEV_LIBS
23367 UNWIND_CFLAGS = $UNWIND_CFLAGS
23368 UNWIND_LIBS = $UNWIND_LIBS
23369 SDL2_CFLAGS = $SDL2_CFLAGS
23370 SDL2_LIBS = $SDL2_LIBS
23371 CAPI20_CFLAGS = $CAPI20_CFLAGS
23372 CAPI20_LIBS = $CAPI20_LIBS
23373 CUPS_CFLAGS = $CUPS_CFLAGS
23374 CUPS_LIBS = $CUPS_LIBS
23375 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23376 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23377 KRB5_CFLAGS = $KRB5_CFLAGS
23378 KRB5_LIBS = $KRB5_LIBS
23379 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23380 GSSAPI_LIBS = $GSSAPI_LIBS
23381 PROCSTAT_LIBS = $PROCSTAT_LIBS
23382 NETAPI_CFLAGS = $NETAPI_CFLAGS
23383 NETAPI_LIBS = $NETAPI_LIBS
23384 MSVCRTFLAGS = $MSVCRTFLAGS
23386 LDAP_CFLAGS = $LDAP_CFLAGS
23387 LDAP_LIBS = $LDAP_LIBS
23388 TAGSFLAGS = $TAGSFLAGS
23390 LTLIBOBJS = $LTLIBOBJS
23394 as_fn_error $? "could not create Makefile" "$LINENO" 5
23399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23401 # Handling of arguments.
23402 for ac_config_target
in $ac_config_targets
23404 case $ac_config_target in
23405 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23406 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23407 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23408 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23409 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23410 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23412 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23417 # If the user did not use the arguments to specify the items to instantiate,
23418 # then the envvar interface is used. Set only those that are not.
23419 # We use the long form for the default assignment because of an extremely
23420 # bizarre bug on SunOS 4.1.3.
23421 if $ac_need_defaults; then
23422 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23423 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23424 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23427 # Have a temporary directory for convenience. Make it in the build tree
23428 # simply because there is no reason against having it here, and in addition,
23429 # creating and moving files from /tmp can sometimes cause problems.
23430 # Hook for its removal unless debugging.
23431 # Note that there is a small window in which the directory will not be cleaned:
23432 # after its creation but before its name has been assigned to `$tmp'.
23436 trap 'exit_status=$?
23437 : "${ac_tmp:=$tmp}"
23438 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23440 trap 'as_fn_exit 1' 1 2 13 15
23442 # Create a (secure) tmp directory for tmp files.
23445 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23449 tmp
=.
/conf$$
-$RANDOM
23450 (umask 077 && mkdir
"$tmp")
23451 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23454 # Set up the scripts for CONFIG_HEADERS section.
23455 # No need to generate them if there are no CONFIG_HEADERS.
23456 # This happens for instance with `./config.status Makefile'.
23457 if test -n "$CONFIG_HEADERS"; then
23458 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23462 # Transform confdefs.h into an awk script `defines.awk', embedded as
23463 # here-document in config.status, that substitutes the proper values into
23464 # config.h.in to produce config.h.
23466 # Create a delimiter string that does not exist in confdefs.h, to ease
23467 # handling of long lines.
23469 for ac_last_try
in false false
:; do
23470 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23471 if test -z "$ac_tt"; then
23473 elif $ac_last_try; then
23474 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23476 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23480 # For the awk script, D is an array of macro values keyed by name,
23481 # likewise P contains macro parameters if any. Preserve backslash
23482 # newline sequences.
23484 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23486 s/.\{148\}/&'"$ac_delim"'/g
23489 s/^[ ]*#[ ]*define[ ][ ]*/ /
23496 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23498 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23502 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23503 D["\1"]=" \3\\\\\\n"\\/p
23505 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23510 s/.\{148\}/&'"$ac_delim"'/g
23515 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23518 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23520 ' <confdefs.h |
sed '
23521 s/'"$ac_delim"'/"\\\
23522 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23525 for (key in D) D_is_set[key] = 1
23528 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23530 split(line, arg, " ")
23531 if (arg[1] == "#") {
23535 defundef = substr(arg[1], 2)
23538 split(mac1, mac2, "(") #)
23540 prefix = substr(line, 1, index(line, defundef) - 1)
23541 if (D_is_set[macro]) {
23542 # Preserve the white space surrounding the "#".
23543 print prefix "define", macro P[macro] D[macro]
23546 # Replace #undef with comments. This is necessary, for example,
23547 # in the case of _POSIX_SOURCE, which is predefined and required
23548 # on some systems where configure will not decide to define it.
23549 if (defundef == "undef") {
23550 print "/*", prefix defundef, macro, "*/"
23558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23559 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23560 fi # test -n "$CONFIG_HEADERS"
23563 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23568 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23570 case $ac_mode$ac_tag in
23572 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23573 :[FH
]-) ac_tag
=-:-;;
23574 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23591 -) ac_f
="$ac_tmp/stdin";;
23592 *) # Look for the file first in the build tree, then in the source tree
23593 # (if the path is not absolute). The absolute path cannot be DOS-style,
23594 # because $ac_f cannot contain `:'.
23598 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23600 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23602 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23603 as_fn_append ac_file_inputs
" '$ac_f'"
23606 # Let's still pretend it is `configure' which instantiates (i.e., don't
23607 # use $as_me), people would be surprised to read:
23608 # /* config.h. Generated by config.status. */
23609 configure_input
='Generated from '`
23610 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23612 if test x
"$ac_file" != x-
; then
23613 configure_input
="$ac_file. $configure_input"
23614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23615 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23617 # Neutralize special characters interpreted by sed in replacement strings.
23618 case $configure_input in #(
23619 *\
&* |
*\|
* |
*\\* )
23620 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23621 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23622 *) ac_sed_conf_input
=$configure_input;;
23626 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23627 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23632 ac_dir
=`$as_dirname -- "$ac_file" ||
23633 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23634 X"$ac_file" : 'X\(//\)[^/]' \| \
23635 X"$ac_file" : 'X\(//\)$' \| \
23636 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23637 printf "%s\n" X"$ac_file" |
23638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23642 /^X\(\/\/\)[^/].*/{
23655 as_dir
="$ac_dir"; as_fn_mkdir_p
23659 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23661 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23662 # A ".." for each directory in $ac_dir_suffix.
23663 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23664 case $ac_top_builddir_sub in
23665 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23666 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23669 ac_abs_top_builddir
=$ac_pwd
23670 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23671 # for backward compatibility:
23672 ac_top_builddir
=$ac_top_build_prefix
23675 .
) # We are building in place.
23677 ac_top_srcdir
=$ac_top_builddir_sub
23678 ac_abs_top_srcdir
=$ac_pwd ;;
23679 [\\/]* | ?
:[\\/]* ) # Absolute name.
23680 ac_srcdir
=$srcdir$ac_dir_suffix;
23681 ac_top_srcdir
=$srcdir
23682 ac_abs_top_srcdir
=$srcdir ;;
23683 *) # Relative name.
23684 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23685 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23686 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23688 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23697 if test x
"$ac_file" != x-
; then
23699 printf "%s\n" "/* $configure_input */" >&1 \
23700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23701 } >"$ac_tmp/config.h" \
23702 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23703 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23705 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23708 mv "$ac_tmp/config.h" "$ac_file" \
23709 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23712 printf "%s\n" "/* $configure_input */" >&1 \
23713 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23714 || as_fn_error $?
"could not create -" "$LINENO" 5
23722 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23725 # Prefer the file from the source tree if names are identical.
23726 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23727 ac_source
=$srcdir/$ac_source
23730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23731 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23733 if test ! -r "$ac_source"; then
23734 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23738 # Try a relative symlink, then a hard link, then a copy.
23740 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23741 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23743 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23744 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23745 cp -p "$ac_source" "$ac_file" ||
23746 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23749 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23750 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23755 case $ac_file$ac_mode in
23756 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23757 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23758 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23766 ac_clean_files
=$ac_clean_files_save
23768 test $ac_write_fail = 0 ||
23769 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23772 # configure is writing to config.log, and then calls config.status.
23773 # config.status does its own redirection, appending to config.log.
23774 # Unfortunately, on DOS this fails, as config.log is still kept open
23775 # by configure, so config.status won't be able to write to it; its
23776 # output is simply discarded. So we exec the FD to /dev/null,
23777 # effectively closing config.log, so it can be properly (re)opened and
23778 # appended to by config.status. When coming back to configure, we
23779 # need to make the FD available again.
23780 if test "$no_create" != yes; then
23782 ac_config_status_args
=
23783 test "$silent" = yes &&
23784 ac_config_status_args
="$ac_config_status_args --quiet"
23786 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23788 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23789 # would make configure fail if this is the last instruction.
23790 $ac_cs_success || as_fn_exit
1
23792 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23794 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23798 if test "$no_create" = "yes"
23804 if test "x$wine_notices" != x
; then
23807 for msg
in $wine_notices; do
23813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23814 printf "%s\n" "$as_me: $msg" >&6;}
23819 for msg
in $wine_warnings; do
23826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23827 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23833 $as_me: Finished. Do '${ac_make}' to compile Wine.