2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.17.
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.17'
615 PACKAGE_STRING
='Wine 7.17'
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
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1061 enable_directmanipulation
1098 enable_explorerframe
1154 enable_light_msstyles
1169 enable_mfmediaengine
1232 enable_msvcp140_atomic_wait
1299 enable_photometadatahandler
1380 enable_uiautomationcore
1400 enable_vcruntime140_1
1418 enable_windows_devices_enumeration
1419 enable_windows_gaming_input
1420 enable_windows_globalization
1421 enable_windows_media_devices
1422 enable_windows_media_speech
1423 enable_windows_networking
1424 enable_windowscodecs
1425 enable_windowscodecsext
1427 enable_wineandroid_drv
1429 enable_winecoreaudio_drv
1432 enable_winegstreamer
1438 enable_winepulse_drv
1442 enable_winexinput_sys
1486 enable_xactengine2_0
1487 enable_xactengine2_4
1488 enable_xactengine2_7
1489 enable_xactengine2_9
1490 enable_xactengine3_0
1491 enable_xactengine3_1
1492 enable_xactengine3_2
1493 enable_xactengine3_3
1494 enable_xactengine3_4
1495 enable_xactengine3_5
1496 enable_xactengine3_6
1497 enable_xactengine3_7
1544 enable_wmcodecdspuuid
1552 enable_aspnet_regiis
1597 enable_presentationfontcache
1612 enable_servicemodelreg
1637 enable_winemenubuilder
1639 enable_winemsibuilder
1664 ac_precious_vars
='build_alias
1745 # Initialize some variables set by options.
1747 ac_init_version
=false
1748 ac_unrecognized_opts
=
1749 ac_unrecognized_sep
=
1750 # The variables have the same names as the options, with
1751 # dashes changed to underlines.
1752 cache_file
=/dev
/null
1759 program_transform_name
=s
,x
,x
,
1767 # Installation directory options.
1768 # These are left unexpanded so users can "make install exec_prefix=/foo"
1769 # and all the variables that are supposed to be based on exec_prefix
1770 # by default will actually change.
1771 # Use braces instead of parens because sh, perl, etc. also accept them.
1772 # (The list follows the same order as the GNU Coding Standards.)
1773 bindir
='${exec_prefix}/bin'
1774 sbindir
='${exec_prefix}/sbin'
1775 libexecdir
='${exec_prefix}/libexec'
1776 datarootdir
='${prefix}/share'
1777 datadir
='${datarootdir}'
1778 sysconfdir
='${prefix}/etc'
1779 sharedstatedir
='${prefix}/com'
1780 localstatedir
='${prefix}/var'
1781 runstatedir
='${localstatedir}/run'
1782 includedir
='${prefix}/include'
1783 oldincludedir
='/usr/include'
1784 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1785 infodir
='${datarootdir}/info'
1790 libdir
='${exec_prefix}/lib'
1791 localedir
='${datarootdir}/locale'
1792 mandir
='${datarootdir}/man'
1798 # If the previous option needs an argument, assign it.
1799 if test -n "$ac_prev"; then
1800 eval $ac_prev=\
$ac_option
1806 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1811 case $ac_dashdash$ac_option in
1815 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1817 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1818 bindir
=$ac_optarg ;;
1820 -build |
--build |
--buil |
--bui |
--bu)
1821 ac_prev
=build_alias
;;
1822 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1823 build_alias
=$ac_optarg ;;
1825 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1826 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1827 ac_prev
=cache_file
;;
1828 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1829 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1830 cache_file
=$ac_optarg ;;
1832 --config-cache |
-C)
1833 cache_file
=config.cache
;;
1835 -datadir |
--datadir |
--datadi |
--datad)
1837 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1838 datadir
=$ac_optarg ;;
1840 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1841 |
--dataroo |
--dataro |
--datar)
1842 ac_prev
=datarootdir
;;
1843 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1844 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1845 datarootdir
=$ac_optarg ;;
1847 -disable-* |
--disable-*)
1848 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1849 # Reject names that are not valid shell variable names.
1850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1851 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1852 ac_useropt_orig
=$ac_useropt
1853 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1854 case $ac_user_opts in
1856 "enable_
$ac_useropt"
1858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1859 ac_unrecognized_sep
=', ';;
1861 eval enable_
$ac_useropt=no
;;
1863 -docdir |
--docdir |
--docdi |
--doc |
--do)
1865 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1866 docdir
=$ac_optarg ;;
1868 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1870 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1871 dvidir
=$ac_optarg ;;
1873 -enable-* |
--enable-*)
1874 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1875 # Reject names that are not valid shell variable names.
1876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1877 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1878 ac_useropt_orig
=$ac_useropt
1879 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1880 case $ac_user_opts in
1882 "enable_
$ac_useropt"
1884 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1885 ac_unrecognized_sep
=', ';;
1887 eval enable_
$ac_useropt=\
$ac_optarg ;;
1889 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1890 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1891 |
--exec |
--exe |
--ex)
1892 ac_prev
=exec_prefix
;;
1893 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1894 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1895 |
--exec=* |
--exe=* |
--ex=*)
1896 exec_prefix
=$ac_optarg ;;
1898 -gas |
--gas |
--ga |
--g)
1899 # Obsolete; use --with-gas.
1902 -help |
--help |
--hel |
--he |
-h)
1903 ac_init_help
=long
;;
1904 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1905 ac_init_help
=recursive
;;
1906 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1907 ac_init_help
=short
;;
1909 -host |
--host |
--hos |
--ho)
1910 ac_prev
=host_alias
;;
1911 -host=* |
--host=* |
--hos=* |
--ho=*)
1912 host_alias
=$ac_optarg ;;
1914 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1916 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1918 htmldir
=$ac_optarg ;;
1920 -includedir |
--includedir |
--includedi |
--included |
--include \
1921 |
--includ |
--inclu |
--incl |
--inc)
1922 ac_prev
=includedir
;;
1923 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1924 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1925 includedir
=$ac_optarg ;;
1927 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1929 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1930 infodir
=$ac_optarg ;;
1932 -libdir |
--libdir |
--libdi |
--libd)
1934 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1935 libdir
=$ac_optarg ;;
1937 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1938 |
--libexe |
--libex |
--libe)
1939 ac_prev
=libexecdir
;;
1940 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1941 |
--libexe=* |
--libex=* |
--libe=*)
1942 libexecdir
=$ac_optarg ;;
1944 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1945 ac_prev
=localedir
;;
1946 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1947 localedir
=$ac_optarg ;;
1949 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1950 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1951 ac_prev
=localstatedir
;;
1952 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1953 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1954 localstatedir
=$ac_optarg ;;
1956 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1958 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1959 mandir
=$ac_optarg ;;
1961 -nfp |
--nfp |
--nf)
1962 # Obsolete; use --without-fp.
1965 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1966 |
--no-cr |
--no-c |
-n)
1969 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1970 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1973 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1974 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1975 |
--oldin |
--oldi |
--old |
--ol |
--o)
1976 ac_prev
=oldincludedir
;;
1977 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1978 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1979 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1980 oldincludedir
=$ac_optarg ;;
1982 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1984 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1985 prefix
=$ac_optarg ;;
1987 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1988 |
--program-pre |
--program-pr |
--program-p)
1989 ac_prev
=program_prefix
;;
1990 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1991 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1992 program_prefix
=$ac_optarg ;;
1994 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1995 |
--program-suf |
--program-su |
--program-s)
1996 ac_prev
=program_suffix
;;
1997 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1998 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1999 program_suffix
=$ac_optarg ;;
2001 -program-transform-name |
--program-transform-name \
2002 |
--program-transform-nam |
--program-transform-na \
2003 |
--program-transform-n |
--program-transform- \
2004 |
--program-transform |
--program-transfor \
2005 |
--program-transfo |
--program-transf \
2006 |
--program-trans |
--program-tran \
2007 |
--progr-tra |
--program-tr |
--program-t)
2008 ac_prev
=program_transform_name
;;
2009 -program-transform-name=* |
--program-transform-name=* \
2010 |
--program-transform-nam=* |
--program-transform-na=* \
2011 |
--program-transform-n=* |
--program-transform-=* \
2012 |
--program-transform=* |
--program-transfor=* \
2013 |
--program-transfo=* |
--program-transf=* \
2014 |
--program-trans=* |
--program-tran=* \
2015 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2016 program_transform_name
=$ac_optarg ;;
2018 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2020 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2021 pdfdir
=$ac_optarg ;;
2023 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2025 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2028 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2029 |
-silent |
--silent |
--silen |
--sile |
--sil)
2032 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2033 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2034 |
--run |
--ru |
--r)
2035 ac_prev
=runstatedir
;;
2036 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2037 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2038 |
--run=* |
--ru=* |
--r=*)
2039 runstatedir
=$ac_optarg ;;
2041 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2043 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2045 sbindir
=$ac_optarg ;;
2047 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2048 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2049 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2051 ac_prev
=sharedstatedir
;;
2052 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2053 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2054 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2056 sharedstatedir
=$ac_optarg ;;
2058 -site |
--site |
--sit)
2060 -site=* |
--site=* |
--sit=*)
2063 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2065 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2066 srcdir
=$ac_optarg ;;
2068 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2069 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2070 ac_prev
=sysconfdir
;;
2071 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2072 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2073 sysconfdir
=$ac_optarg ;;
2075 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2076 ac_prev
=target_alias
;;
2077 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2078 target_alias
=$ac_optarg ;;
2080 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2083 -version |
--version |
--versio |
--versi |
--vers |
-V)
2084 ac_init_version
=: ;;
2087 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2088 # Reject names that are not valid shell variable names.
2089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2090 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2091 ac_useropt_orig
=$ac_useropt
2092 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2093 case $ac_user_opts in
2097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2098 ac_unrecognized_sep
=', ';;
2100 eval with_
$ac_useropt=\
$ac_optarg ;;
2102 -without-* |
--without-*)
2103 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2104 # Reject names that are not valid shell variable names.
2105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2106 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2107 ac_useropt_orig
=$ac_useropt
2108 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2109 case $ac_user_opts in
2113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2114 ac_unrecognized_sep
=', ';;
2116 eval with_
$ac_useropt=no
;;
2119 # Obsolete; use --with-x.
2122 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2123 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2124 ac_prev
=x_includes
;;
2125 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2126 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2127 x_includes
=$ac_optarg ;;
2129 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2130 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2131 ac_prev
=x_libraries
;;
2132 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2133 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2134 x_libraries
=$ac_optarg ;;
2136 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2137 Try \`$0 --help' for more information"
2141 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2142 # Reject names that are not valid shell variable names.
2143 case $ac_envvar in #(
2144 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2145 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2147 eval $ac_envvar=\
$ac_optarg
2148 export $ac_envvar ;;
2151 # FIXME: should be removed in autoconf 3.0.
2152 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2154 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2155 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2161 if test -n "$ac_prev"; then
2162 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2163 as_fn_error $?
"missing argument to $ac_option"
2166 if test -n "$ac_unrecognized_opts"; then
2167 case $enable_option_checking in
2169 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2170 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2174 # Check all directory arguments for consistency.
2175 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2176 datadir sysconfdir sharedstatedir localstatedir includedir \
2177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2178 libdir localedir mandir runstatedir
2180 eval ac_val
=\$
$ac_var
2181 # Remove trailing slashes.
2184 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2185 eval $ac_var=\
$ac_val;;
2187 # Be sure to have absolute directory names.
2189 [\\/$
]* | ?
:[\\/]* ) continue;;
2190 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2192 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2195 # There might be people who depend on the old broken behavior: `$host'
2196 # used to hold the argument of --host etc.
2197 # FIXME: To remove some day.
2200 target
=$target_alias
2202 # FIXME: To remove some day.
2203 if test "x$host_alias" != x
; then
2204 if test "x$build_alias" = x
; then
2205 cross_compiling
=maybe
2206 elif test "x$build_alias" != "x$host_alias"; then
2212 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2214 test "$silent" = yes && exec 6>/dev
/null
2217 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2218 ac_ls_di
=`ls -di .` &&
2219 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2220 as_fn_error $?
"working directory cannot be determined"
2221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2222 as_fn_error $?
"pwd does not report name of working directory"
2225 # Find the source files, if location was not specified.
2226 if test -z "$srcdir"; then
2227 ac_srcdir_defaulted
=yes
2228 # Try the directory containing this script, then the parent directory.
2229 ac_confdir
=`$as_dirname -- "$as_myself" ||
2230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2231 X"$as_myself" : 'X\(//\)[^/]' \| \
2232 X"$as_myself" : 'X\(//\)$' \| \
2233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2234 printf "%s\n" X"$as_myself" |
2235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2253 if test ! -r "$srcdir/$ac_unique_file"; then
2257 ac_srcdir_defaulted
=no
2259 if test ! -r "$srcdir/$ac_unique_file"; then
2260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2261 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2267 # When building in place, set srcdir=.
2268 if test "$ac_abs_confdir" = "$ac_pwd"; then
2271 # Remove unnecessary trailing slashes from srcdir.
2272 # Double slashes in file names in object file debugging info
2273 # mess up M-x gdb in Emacs.
2275 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2277 for ac_var
in $ac_precious_vars; do
2278 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2279 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2280 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2281 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2285 # Report the --help message.
2287 if test "$ac_init_help" = "long"; then
2288 # Omit some internal or obsolete options to make the list less imposing.
2289 # This message is too long to be a string in the A/UX 3.1 sh.
2291 \`configure' configures Wine 7.17 to adapt to many kinds of systems.
2293 Usage: $0 [OPTION]... [VAR=VALUE]...
2295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2296 VAR=VALUE. See below for descriptions of some of the useful variables.
2298 Defaults for the options are specified in brackets.
2301 -h, --help display this help and exit
2302 --help=short display options specific to this package
2303 --help=recursive display the short help of all the included packages
2304 -V, --version display version information and exit
2305 -q, --quiet, --silent do not print \`checking ...' messages
2306 --cache-file=FILE cache test results in FILE [disabled]
2307 -C, --config-cache alias for \`--cache-file=config.cache'
2308 -n, --no-create do not create output files
2309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2311 Installation directories:
2312 --prefix=PREFIX install architecture-independent files in PREFIX
2313 [$ac_default_prefix]
2314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2317 By default, \`make install' will install all the files in
2318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2320 for instance \`--prefix=\$HOME'.
2322 For better control, use the options below.
2324 Fine tuning of the installation directories:
2325 --bindir=DIR user executables [EPREFIX/bin]
2326 --sbindir=DIR system admin executables [EPREFIX/sbin]
2327 --libexecdir=DIR program executables [EPREFIX/libexec]
2328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2331 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2332 --libdir=DIR object code libraries [EPREFIX/lib]
2333 --includedir=DIR C header files [PREFIX/include]
2334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2337 --infodir=DIR info documentation [DATAROOTDIR/info]
2338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2339 --mandir=DIR man documentation [DATAROOTDIR/man]
2340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2341 --htmldir=DIR html documentation [DOCDIR]
2342 --dvidir=DIR dvi documentation [DOCDIR]
2343 --pdfdir=DIR pdf documentation [DOCDIR]
2344 --psdir=DIR ps documentation [DOCDIR]
2350 --x-includes=DIR X include files are
in DIR
2351 --x-libraries=DIR X library files are
in DIR
2354 --build=BUILD configure
for building on BUILD
[guessed
]
2355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2359 if test -n "$ac_init_help"; then
2360 case $ac_init_help in
2361 short | recursive
) echo "Configuration of Wine 7.17:";;
2366 --disable-option-checking ignore unrecognized
--enable/--with options
2367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2369 --disable-win16 do not include Win16 support
2370 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2372 --disable-tests do not build the regression tests
2373 --enable-build-id include .buildid section in output objects
2374 --enable-maintainer-mode
2375 enable maintainer-specific build rules
2376 --enable-silent-rules use silent build rules (override: "make V=1")
2377 --enable-werror treat compilation warnings as errors
2378 --disable-largefile omit support for large files
2381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2383 --without-alsa do not use the Alsa sound support
2384 --without-capi do not use CAPI (ISDN support)
2385 --without-coreaudio do not use the CoreAudio sound support
2386 --without-cups do not use CUPS
2387 --without-dbus do not use DBus (dynamic device support)
2388 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2389 --without-fontconfig do not use fontconfig
2390 --without-freetype do not use the FreeType library
2391 --without-gettext do not use gettext
2392 --with-gettextpo use the GetTextPO library to rebuild po files
2393 --without-gphoto do not use gphoto (Digital Camera support)
2394 --without-gnutls do not use GnuTLS (schannel support)
2395 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2396 --without-gstreamer do not use GStreamer (codecs support)
2397 --without-inotify do not use inotify (filesystem change notifications)
2398 --without-krb5 do not use krb5 (Kerberos)
2399 --without-ldap do not use LDAP
2400 --without-mingw do not use the MinGW cross-compiler
2401 --without-netapi do not use the Samba NetAPI library
2402 --without-openal do not use OpenAL
2403 --without-opencl do not use OpenCL
2404 --without-opengl do not use OpenGL
2405 --without-osmesa do not use the OSMesa library
2406 --without-oss do not use the OSS sound support
2407 --without-pcap do not use the Packet Capture library
2408 --without-pthread do not use the pthread library
2409 --without-pulse do not use PulseAudio sound support
2410 --without-sane do not use SANE (scanner support)
2411 --without-sdl do not use SDL
2412 --without-udev do not use udev (plug and play support)
2413 --without-unwind do not use the libunwind library (exception
2415 --without-usb do not use the libusb library
2416 --without-v4l2 do not use v4l2 (video capture)
2417 --without-vulkan do not use Vulkan
2418 --without-xcomposite do not use the Xcomposite extension
2419 --without-xcursor do not use the Xcursor extension
2420 --without-xfixes do not use Xfixes for clipboard change notifications
2421 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2422 --without-xinput do not use the Xinput extension
2423 --without-xinput2 do not use the Xinput 2 extension
2424 --without-xrandr do not use Xrandr (multi-monitor support)
2425 --without-xrender do not use the Xrender extension
2426 --without-xshape do not use the Xshape extension
2427 --without-xshm do not use XShm (shared memory extension)
2428 --without-xxf86vm do not use XFree video mode extension
2429 --with-system-dllpath=PATH
2430 load external PE dependencies from colon-separated
2432 --with-wine-tools=DIR use Wine tools from directory DIR
2433 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2434 --with-x use the X Window System
2436 Some influential environment variables:
2437 CC C compiler command
2438 CFLAGS C compiler flags
2439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2440 nonstandard directory <lib dir>
2441 LIBS libraries to pass to the linker, e.g. -l<library>
2442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2443 you have headers in a nonstandard directory <include dir>
2444 CXX C++ compiler command
2445 CXXFLAGS C++ compiler flags
2446 OBJC Objective C compiler command
2447 OBJCFLAGS Objective C compiler flags
2449 C compiler flags for the PE faudio, overriding the bundled
2452 Linker flags for the PE faudio, overriding the bundled version
2454 C compiler flags for the PE gsm, overriding the bundled version
2455 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2457 C compiler flags for the PE jpeg, overriding the bundled version
2459 Linker flags for the PE jpeg, overriding the bundled version
2461 C compiler flags for the PE jxr, overriding the bundled version
2462 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2464 C compiler flags for the PE lcms2, overriding the bundled
2467 Linker flags for the PE lcms2, overriding the bundled version
2469 C compiler flags for the PE mpg123, overriding the bundled
2472 Linker flags for the PE mpg123, overriding the bundled version
2474 C compiler flags for the PE png, overriding the bundled version
2475 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2477 C compiler flags for the PE tiff, overriding the bundled version
2479 Linker flags for the PE tiff, overriding the bundled version
2481 C compiler flags for the PE vkd3d, overriding the bundled
2484 Linker flags for the PE vkd3d, overriding the bundled version
2486 C compiler flags for the PE xml2, overriding the bundled version
2488 Linker flags for the PE xml2, overriding the bundled version
2490 C compiler flags for the PE xslt, overriding the bundled version
2492 Linker flags for the PE xslt, overriding the bundled version
2494 C compiler flags for the PE zlib, overriding the bundled version
2496 Linker flags for the PE zlib, overriding the bundled version
2497 XMKMF Path to xmkmf, Makefile generator for X Window System
2500 C compiler flags for libinotify, overriding pkg-config
2502 Linker flags for libinotify, overriding pkg-config
2503 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2504 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2506 C compiler flags for gnutls, overriding pkg-config
2507 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2508 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2509 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2510 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2511 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2513 C compiler flags for libgphoto2, overriding pkg-config
2515 Linker flags for libgphoto2, overriding pkg-config
2517 C compiler flags for libgphoto2_port, overriding pkg-config
2519 Linker flags for libgphoto2_port, overriding pkg-config
2521 C compiler flags for freetype2, overriding pkg-config
2523 Linker flags for freetype2, overriding pkg-config
2525 C compiler flags for libpulse, overriding pkg-config
2526 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2528 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2529 gstreamer-audio-1.0, overriding pkg-config
2531 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2532 gstreamer-audio-1.0, overriding pkg-config
2533 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2534 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2536 C compiler flags for libunwind, overriding pkg-config
2537 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2538 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2539 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2541 C compiler flags for capi20, overriding pkg-config
2542 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2543 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2544 CUPS_LIBS Linker flags for cups, overriding pkg-config
2546 C compiler flags for fontconfig, overriding pkg-config
2548 Linker flags for fontconfig, overriding pkg-config
2549 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2550 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2552 C compiler flags for krb5-gssapi, overriding pkg-config
2553 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2555 C compiler flags for netapi, overriding pkg-config
2556 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2557 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2558 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2560 Use these variables to override the choices made by `configure' or to
help
2561 it to
find libraries and programs with nonstandard names
/locations.
2563 Report bugs to
<wine-devel@winehq.org
>.
2564 Wine home page
: <https
://www.winehq.org
>.
2569 if test "$ac_init_help" = "recursive"; then
2570 # If there are subdirs, report their specific --help.
2571 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2572 test -d "$ac_dir" ||
2573 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2578 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2580 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2581 # A ".." for each directory in $ac_dir_suffix.
2582 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2583 case $ac_top_builddir_sub in
2584 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2585 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2588 ac_abs_top_builddir
=$ac_pwd
2589 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2590 # for backward compatibility:
2591 ac_top_builddir
=$ac_top_build_prefix
2594 .
) # We are building in place.
2596 ac_top_srcdir
=$ac_top_builddir_sub
2597 ac_abs_top_srcdir
=$ac_pwd ;;
2598 [\\/]* | ?
:[\\/]* ) # Absolute name.
2599 ac_srcdir
=$srcdir$ac_dir_suffix;
2600 ac_top_srcdir
=$srcdir
2601 ac_abs_top_srcdir
=$srcdir ;;
2603 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2604 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2605 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2607 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2609 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2610 # Check for configure.gnu first; this name is used for a wrapper for
2611 # Metaconfig's "Configure" on case-insensitive file systems.
2612 if test -f "$ac_srcdir/configure.gnu"; then
2614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2615 elif test -f "$ac_srcdir/configure"; then
2617 $SHELL "$ac_srcdir/configure" --help=recursive
2619 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2621 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2625 test -n "$ac_init_help" && exit $ac_status
2626 if $ac_init_version; then
2629 generated by GNU Autoconf
2.71
2631 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2632 This configure
script is free software
; the Free Software Foundation
2633 gives unlimited permission to copy
, distribute and modify it.
2638 ## ------------------------ ##
2639 ## Autoconf initialization. ##
2640 ## ------------------------ ##
2642 # ac_fn_c_try_compile LINENO
2643 # --------------------------
2644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_c_try_compile
()
2647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2648 rm -f conftest.
$ac_objext conftest.beam
2649 if { { ac_try
="$ac_compile"
2651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 printf "%s\n" "$ac_try_echo"; } >&5
2656 (eval "$ac_compile") 2>conftest.err
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext
2671 printf "%s\n" "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2679 } # ac_fn_c_try_compile
2681 # ac_fn_cxx_try_compile LINENO
2682 # ----------------------------
2683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_cxx_try_compile ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 rm -f conftest.$ac_objext conftest.beam
2688 if { { ac_try="$ac_compile"
2690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2691 *) ac_try_echo
=$ac_try;;
2693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 printf "%s\n" "$ac_try_echo"; } >&5
2695 (eval "$ac_compile") 2>conftest.err
2697 if test -s conftest.err
; then
2698 grep -v '^ *+' conftest.err
>conftest.er1
2699 cat conftest.er1
>&5
2700 mv -f conftest.er1 conftest.err
2702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_cxx_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest.
$ac_objext
2710 printf "%s\n" "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.
$ac_ext >&5
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status
$ac_retval
2718 } # ac_fn_cxx_try_compile
2720 # ac_fn_c_try_link LINENO
2721 # -----------------------
2722 # Try to link conftest.$ac_ext, and return whether this succeeded.
2725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2726 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2727 if { { ac_try
="$ac_link"
2729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_link") 2>conftest.err
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest$ac_exeext && {
2746 test "$cross_compiling" = yes ||
2747 test -x conftest$ac_exeext
2752 printf "%s\n" "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2757 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2758 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2759 # interfere with the next link command; also delete a directory that is
2760 # left behind by Apple's compiler. We do this before executing the actions.
2761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 as_fn_set_status $ac_retval
2765 } # ac_fn_c_try_link
2767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2768 # -------------------------------------------------------
2769 # Tests whether HEADER exists and can be compiled using the include files in
2770 # INCLUDES, setting the cache variable VAR accordingly.
2771 ac_fn_c_check_header_compile ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2775 printf %s "checking for $2... " >&6; }
2776 if eval test \${$3+y}
2778 printf %s "(cached) " >&6
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2785 if ac_fn_c_try_compile "$LINENO"
2791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 printf "%s\n" "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 } # ac_fn_c_check_header_compile
2800 # ac_fn_objc_try_compile LINENO
2801 # -----------------------------
2802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2803 ac_fn_objc_try_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 rm -f conftest.$ac_objext conftest.beam
2807 if { { ac_try="$ac_compile"
2809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2810 *) ac_try_echo
=$ac_try;;
2812 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 printf "%s\n" "$ac_try_echo"; } >&5
2814 (eval "$ac_compile") 2>conftest.err
2816 if test -s conftest.err
; then
2817 grep -v '^ *+' conftest.err
>conftest.er1
2818 cat conftest.er1
>&5
2819 mv -f conftest.er1 conftest.err
2821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2822 test $ac_status = 0; } && {
2823 test -z "$ac_objc_werror_flag" ||
2824 test ! -s conftest.err
2825 } && test -s conftest.
$ac_objext
2829 printf "%s\n" "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.
$ac_ext >&5
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 as_fn_set_status
$ac_retval
2837 } # ac_fn_objc_try_compile
2839 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2840 # ----------------------------------------------------------
2841 # Tests whether HEADER exists and can be compiled using the include files in
2842 # INCLUDES, setting the cache variable VAR accordingly.
2843 ac_fn_objc_check_header_compile
()
2845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 printf %s
"checking for $2... " >&6; }
2848 if eval test \
${$3+y}
2850 printf %s
"(cached) " >&6
2852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2857 if ac_fn_objc_try_compile
"$LINENO"
2863 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 printf "%s\n" "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_objc_check_header_compile
2872 # ac_fn_c_check_func LINENO FUNC VAR
2873 # ----------------------------------
2874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2875 ac_fn_c_check_func
()
2877 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 printf %s
"checking for $2... " >&6; }
2880 if eval test \
${$3+y}
2882 printf %s
"(cached) " >&6
2884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2888 #define $2 innocuous_$2
2890 /* System header to define __stub macros and hopefully few prototypes,
2891 which can conflict with char $2 (); below. */
2896 /* Override any GCC internal prototype to avoid an error.
2897 Use char because int might match the return type of a GCC
2898 builtin and then its argument prototype would still apply. */
2903 /* The GNU C library defines this for functions which it implements
2904 to always fail with ENOSYS. Some functions are actually named
2905 something starting with __ and the normal name is an alias. */
2906 #if defined __stub_$2 || defined __stub___$2
2918 if ac_fn_c_try_link
"$LINENO"
2924 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2925 conftest
$ac_exeext conftest.
$ac_ext
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 printf "%s\n" "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_func
2934 # ac_fn_c_try_cpp LINENO
2935 # ----------------------
2936 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2940 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 printf "%s\n" "$ac_try_echo"; } >&5
2947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2949 if test -s conftest.err; then
2950 grep -v '^ *+' conftest.err >conftest.er1
2951 cat conftest.er1 >&5
2952 mv -f conftest.er1 conftest.err
2954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; } > conftest.i && {
2956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2962 printf "%s\n" "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 as_fn_set_status $ac_retval
2972 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2973 # ----------------------------------------------------
2974 # Tries to find if the field MEMBER exists in type AGGR, after including
2975 # INCLUDES, setting cache variable VAR accordingly.
2976 ac_fn_c_check_member ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2980 printf %s "checking for $2.$3... " >&6; }
2981 if eval test \${$4+y}
2983 printf %s "(cached) " >&6
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2998 if ac_fn_c_try_compile "$LINENO"
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3009 if (sizeof ac_aggr.$3)
3015 if ac_fn_c_try_compile "$LINENO"
3021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 printf "%s\n" "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_member
3032 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3033 # -------------------------------------------
3034 # Tests whether TYPE exists after having included INCLUDES, setting cache
3035 # variable VAR accordingly.
3036 ac_fn_c_check_type ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3040 printf %s "checking for $2... " >&6; }
3041 if eval test \${$3+y}
3043 printf %s "(cached) " >&6
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3058 if ac_fn_c_try_compile "$LINENO"
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3072 if ac_fn_c_try_compile "$LINENO"
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 printf "%s\n" "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_c_check_type
3088 ac_configure_args_raw=
3093 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3095 as_fn_append ac_configure_args_raw " '$ac_arg'"
3098 case $ac_configure_args_raw in
3102 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3103 ac_unsafe_a="$ac_unsafe_z#~
"
3104 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3105 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3108 cat >config.log <<_ACEOF
3109 This file contains any messages produced by compilers while
3110 running configure, to aid debugging if configure makes a mistake.
3112 It was created by Wine $as_me 7.17, which was
3113 generated by GNU Autoconf 2.71. Invocation command line was
3115 $ $0$ac_configure_args_raw
3125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 case $as_dir in #(((
3151 *) as_dir=$as_dir/ ;;
3153 printf "%s
\n" "PATH
: $as_dir"
3169 # Keep a trace of the command line.
3170 # Strip out --no-create and --no-recursion so they do not pile up.
3171 # Strip out --silent because we don't want to record it for future runs.
3172 # Also quote any args containing shell meta-characters.
3173 # Make two passes to allow for proper duplicate-argument suppression.
3177 ac_must_keep_next=false
3183 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3185 | -silent | --silent | --silen | --sile | --sil)
3188 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3193 as_fn_append ac_configure_args1 " '$ac_arg'"
3194 if test $ac_must_keep_next = true; then
3195 ac_must_keep_next=false # Got value, back to normal.
3198 *=* | --config-cache | -C | -disable-* | --disable-* \
3199 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3200 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3201 | -with-* | --with-* | -without-* | --without-* | --x)
3202 case "$ac_configure_args0 " in
3203 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3206 -* ) ac_must_keep_next=true ;;
3209 as_fn_append ac_configure_args " '$ac_arg'"
3214 { ac_configure_args0=; unset ac_configure_args0;}
3215 { ac_configure_args1=; unset ac_configure_args1;}
3217 # When interrupted or exit'd, cleanup temporary files, and complete
3218 # config.log. We remove comments because anyway the quotes in there
3219 # would cause problems or look ugly.
3220 # WARNING: Use '\'' to represent an apostrophe within the trap.
3221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3222 trap 'exit_status=$?
3225 # Save into config.log some information that might help in debugging.
3229 printf "%s
\n" "## ---------------- ##
3230 ## Cache variables. ##
3231 ## ---------------- ##"
3233 # The following way of writing the cache mishandles newlines in values,
3235 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3236 eval ac_val
=\$
$ac_var
3240 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3241 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3244 _ | IFS | as_nl
) ;; #(
3245 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3246 *) { eval $ac_var=; unset $ac_var;} ;;
3251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3252 *${as_nl}ac_space
=\
*)
3254 "s/'\''/'\''\\\\'\'''\''/g;
3255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3265 printf "%s\n" "## ----------------- ##
3266 ## Output variables. ##
3267 ## ----------------- ##"
3269 for ac_var
in $ac_subst_vars
3271 eval ac_val
=\$
$ac_var
3273 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3275 printf "%s\n" "$ac_var='\''$ac_val'\''"
3279 if test -n "$ac_subst_files"; then
3280 printf "%s\n" "## ------------------- ##
3281 ## File substitutions. ##
3282 ## ------------------- ##"
3284 for ac_var in $ac_subst_files
3286 eval ac_val=\$$ac_var
3288 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3290 printf "%s\n" "$ac_var='\''$ac_val'\''"
3295 if test -s confdefs.h
; then
3296 printf "%s\n" "## ----------- ##
3303 test "$ac_signal" != 0 &&
3304 printf "%s\n" "$as_me: caught signal $ac_signal"
3305 printf "%s\n" "$as_me: exit $exit_status"
3307 rm -f core
*.core core.conftest.
* &&
3308 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3311 for ac_signal in 1 2 13 15; do
3312 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3317 rm -f -r conftest* confdefs.h
3319 printf "%s\n" "/* confdefs.h */" > confdefs.h
3321 # Predefined preprocessor variables.
3323 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3336 # Let the site file select an alternate cache file if it wants to.
3337 # Prefer an explicitly selected file to automatically selected ones.
3338 if test -n "$CONFIG_SITE"; then
3339 ac_site_files="$CONFIG_SITE"
3340 elif test "x$prefix" != xNONE; then
3341 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3343 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3346 for ac_site_file in $ac_site_files
3348 case $ac_site_file in #(
3352 ac_site_file=./$ac_site_file ;;
3354 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3356 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3357 sed 's
/^
/|
/' "$ac_site_file" >&5
3359 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3361 as_fn_error $? "failed to load site script $ac_site_file
3362 See \`config.log
' for more details" "$LINENO" 5; }
3366 if test -r "$cache_file"; then
3367 # Some versions of bash will fail to source /dev/null (special files
3368 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3369 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3371 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3373 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3374 *) . "./$cache_file";;
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3379 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3383 # Test code for whether the C compiler supports C89 (global declarations)
3384 ac_c_conftest_c89_globals='
3385 /* Does the compiler advertise C89 conformance?
3386 Do not
test the value of __STDC__
, because some compilers
set it to
0
3387 while being otherwise adequately conformant.
*/
3388 #if !defined __STDC__
3389 # error "Compiler does not advertise C89 conformance"
3395 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3396 struct buf
{ int x
; };
3397 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3398 static char
*e
(p
, i
)
3404 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3409 s
= g
(p
, va_arg
(v
,int
));
3414 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3415 function prototypes and stuff
, but not \xHH hex character constants.
3416 These
do not provoke an error unfortunately
, instead are silently treated
3417 as an
"x". The following induces an error
, until -std is added to get
3418 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3419 array size
at least. It is necessary to
write \x00 == 0 to get something
3420 that is true only with
-std.
*/
3421 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3423 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3424 inside
strings and character constants.
*/
3425 #define FOO(x) '\''x'\''
3426 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3428 int
test (int i
, double x
);
3429 struct s1
{int
(*f
) (int a
);};
3430 struct s2
{int
(*f
) (double a
);};
3431 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3434 # Test code for whether the C compiler supports C89 (body of main).
3435 ac_c_conftest_c89_main='
3436 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3439 # Test code for whether the C compiler supports C99 (global declarations)
3440 ac_c_conftest_c99_globals='
3441 // Does the compiler advertise C99 conformance?
3442 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3443 # error "Compiler does not advertise C99 conformance"
3446 #include <stdbool.h>
3447 extern int puts
(const char
*);
3448 extern int
printf (const char
*, ...
);
3449 extern int dprintf
(int
, const char
*, ...
);
3450 extern void
*malloc
(size_t
);
3452 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3453 // dprintf is used instead of fprintf to avoid needing to
declare
3455 #define debug(...) dprintf (2, __VA_ARGS__)
3456 #define showlist(...) puts (#__VA_ARGS__)
3457 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3459 test_varargs_macros
(void
)
3464 debug
("X = %d\n", x
);
3465 showlist
(The first
, second
, and third items.
);
3466 report
(x
>y
, "x is %d but y is %d", x
, y
);
3469 // Check long long types.
3470 #define BIG64 18446744073709551615ull
3471 #define BIG32 4294967295ul
3472 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3474 #error "your preprocessor is broken"
3478 #error "your preprocessor is broken"
3480 static long long int bignum
= -9223372036854775807LL;
3481 static unsigned long long int ubignum
= BIG64
;
3483 struct incomplete_array
3491 const wchar_t
*name
;
3495 typedef const char
*ccp
;
3498 test_restrict
(ccp restrict text
)
3500 // See
if C
++-style comments work.
3501 // Iterate through items via the restricted pointer.
3502 // Also check
for declarations
in for loops.
3503 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3508 // Check varargs and va_copy.
3510 test_varargs
(const char
*format
, ...
)
3513 va_start
(args
, format
);
3515 va_copy
(args_copy
, args
);
3517 const char
*str
= "";
3525 case '\''s
'\'': // string
3526 str
= va_arg
(args_copy
, const char
*);
3528 case '\''d
'\'': // int
3529 number
= va_arg
(args_copy
, int
);
3531 case '\''f
'\'': // float
3532 fnumber
= va_arg
(args_copy
, double
);
3541 return *str
&& number
&& fnumber
;
3545 # Test code for whether the C compiler supports C99 (body of main).
3546 ac_c_conftest_c99_main='
3548 _Bool success
= false
;
3549 success |
= (argc
!= 0);
3552 if (test_restrict
("String literal") == 0)
3554 char
*restrict newvar
= "Another string";
3557 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3558 test_varargs_macros
();
3560 // Check flexible array members.
3561 struct incomplete_array
*ia
=
3562 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3564 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3565 ia-
>data
[i
] = i
* 1.234;
3567 // Check named initializers.
3568 struct named_init ni
= {
3570 .name
= L
"Test wide string",
3571 .average
= 543.34343,
3576 int dynamic_array
[ni.number
];
3577 dynamic_array
[0] = argv
[0][0];
3578 dynamic_array
[ni.number
- 1] = 543;
3580 // work around unused variable warnings
3581 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3582 || dynamic_array
[ni.number
- 1] != 543);
3585 # Test code for whether the C compiler supports C11 (global declarations)
3586 ac_c_conftest_c11_globals='
3587 // Does the compiler advertise C11 conformance?
3588 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3589 # error "Compiler does not advertise C11 conformance"
3593 char _Alignas
(double
) aligned_as_double
;
3594 char _Alignas
(0) no_special_alignment
;
3595 extern char aligned_as_int
;
3596 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3601 int_alignment
= _Alignof
(int
),
3602 int_array_alignment
= _Alignof
(int
[100]),
3603 char_alignment
= _Alignof
(char
)
3605 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3608 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3610 // Check _Static_assert.
3611 struct test_static_assert
3614 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3615 "_Static_assert does not work in struct");
3619 // Check UTF-8 literals.
3620 #define u8 syntax error!
3621 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3623 // Check duplicate typedefs.
3624 typedef long
*long_ptr
;
3625 typedef long int
*long_ptr
;
3626 typedef long_ptr long_ptr
;
3628 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3632 struct
{ int i
; int j
; };
3633 struct
{ int k
; long int l
; } w
;
3639 # Test code for whether the C compiler supports C11 (body of main).
3640 ac_c_conftest_c11_main='
3641 _Static_assert
((offsetof
(struct anonymous
, i
)
3642 == offsetof
(struct anonymous
, w.k
)),
3643 "Anonymous union alignment botch");
3649 # Test code for whether the C compiler supports C11 (complete).
3650 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3651 ${ac_c_conftest_c99_globals}
3652 ${ac_c_conftest_c11_globals}
3655 main (int argc, char **argv)
3658 ${ac_c_conftest_c89_main}
3659 ${ac_c_conftest_c99_main}
3660 ${ac_c_conftest_c11_main}
3665 # Test code for whether the C compiler supports C99 (complete).
3666 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3667 ${ac_c_conftest_c99_globals}
3670 main (int argc, char **argv)
3673 ${ac_c_conftest_c89_main}
3674 ${ac_c_conftest_c99_main}
3679 # Test code for whether the C compiler supports C89 (complete).
3680 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3683 main (int argc, char **argv)
3686 ${ac_c_conftest_c89_main}
3691 # Test code for whether the C++ compiler supports C++98 (global declarations)
3692 ac_cxx_conftest_cxx98_globals='
3693 // Does the compiler advertise C
++98 conformance?
3694 #if !defined __cplusplus || __cplusplus < 199711L
3695 # error "Compiler does not advertise C++98 conformance"
3698 // These inclusions are to reject old compilers that
3699 // lack the unsuffixed header files.
3701 #include <exception>
3703 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3704 extern void assert
(int
);
3706 extern int strcmp
(const char
*, const char
*);
3709 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3710 using std
::exception
;
3715 void test_exception_syntax
()
3719 } catch
(const char
*s
) {
3720 // Extra parentheses suppress a warning when building autoconf itself
,
3721 // due to lint rules shared with
more typical C programs.
3722 assert
(!(strcmp
) (s
, "test"));
3726 template
<typename T
> struct test_template
3729 explicit test_template
(T t
) : val
(t
) {}
3730 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3733 } // anonymous namespace
3736 # Test code for whether the C++ compiler supports C++98 (body of main)
3737 ac_cxx_conftest_cxx98_main='
3741 test_exception_syntax
();
3742 test_template
<double
> tt
(2.0);
3743 assert
(tt.add
(4) == 6.0);
3744 assert
(true
&& !false
);
3748 # Test code for whether the C++ compiler supports C++11 (global declarations)
3749 ac_cxx_conftest_cxx11_globals='
3750 // Does the compiler advertise C
++ 2011 conformance?
3751 #if !defined __cplusplus || __cplusplus < 201103L
3752 # error "Compiler does not advertise C++11 conformance"
3757 constexpr int get_val
() { return 20; }
3768 delegate
(int n
) : n
(n
) {}
3769 delegate
(): delegate
(2354) {}
3771 virtual int getval
() { return this-
>n
; };
3776 class overridden
: public delegate
3779 overridden
(int n
): delegate
(n
) {}
3780 virtual int getval
() override final
{ return this-
>n
* 2; }
3786 nocopy
(int i
): i
(i
) {}
3788 nocopy
(const nocopy
&) = delete
;
3789 nocopy
& operator
=(const nocopy
&) = delete
;
3794 // for testing lambda expressions
3795 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3800 // for testing variadic templates and trailing
return types
3801 template
<typename V
> auto
sum(V first
) -> V
3805 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3807 return first
+ sum(rest...
);
3812 # Test code for whether the C++ compiler supports C++11 (body of main)
3813 ac_cxx_conftest_cxx11_main='
3815 // Test auto and decltype
3817 auto a2
= 48573953.4;
3818 auto a3
= "String literal";
3821 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3823 decltype
(a2
) a4
= 34895.034;
3827 short sa
[cxx11test
::get_val
()] = { 0 };
3830 // Test initializer lists
3831 cxx11test
::testinit il
= { 4323, 435234.23544 };
3834 // Test range-based
for
3835 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3836 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3837 for (auto
&x
: array
) { x
+= 23; }
3840 // Test lambda expressions
3841 using cxx11test
::eval;
3842 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3844 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3846 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3850 // Test use of variadic templates
3851 using cxx11test
::sum;
3854 auto c
= sum(1.0, 2.0, 3.0);
3857 // Test constructor delegation
3858 cxx11test
::delegate d1
;
3859 cxx11test
::delegate d2
();
3860 cxx11test
::delegate d3
(45);
3863 // Test override and final
3864 cxx11test
::overridden o1
(55464);
3871 // Test template brackets
3872 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3876 char const
*utf8
= u8
"UTF-8 string \u2500";
3877 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3878 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3882 # Test code for whether the C compiler supports C++11 (complete).
3883 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3884 ${ac_cxx_conftest_cxx11_globals}
3887 main (int argc, char **argv)
3890 ${ac_cxx_conftest_cxx98_main}
3891 ${ac_cxx_conftest_cxx11_main}
3896 # Test code for whether the C compiler supports C++98 (complete).
3897 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3899 main (int argc, char **argv)
3902 ${ac_cxx_conftest_cxx98_main}
3907 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3908 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3909 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3910 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3911 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3912 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3913 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3914 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3915 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3917 # Auxiliary files required by this configure script.
3918 ac_aux_files="config.guess config.sub"
3920 # Locations in which to look for auxiliary files.
3921 ac_aux_dir_candidates="${srcdir}/tools"
3923 # Search for a directory containing all of the required auxiliary files,
3924 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3925 # If we don't
find one directory that contains all the files we need
,
3926 # we report the set of missing files from the *first* directory in
3927 # $ac_aux_dir_candidates and give up.
3928 ac_missing_aux_files
=""
3929 ac_first_candidate
=:
3930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 for as_dir
in $ac_aux_dir_candidates
3936 case $as_dir in #(((
3939 *) as_dir
=$as_dir/ ;;
3943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3944 ac_aux_dir_found
=yes
3946 for ac_aux
in $ac_aux_files
3948 # As a special case, if "install-sh" is required, that requirement
3949 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3950 # and $ac_install_sh is set appropriately for whichever one is found.
3951 if test x
"$ac_aux" = x
"install-sh"
3953 if test -f "${as_dir}install-sh"; then
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3955 ac_install_sh
="${as_dir}install-sh -c"
3956 elif test -f "${as_dir}install.sh"; then
3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3958 ac_install_sh
="${as_dir}install.sh -c"
3959 elif test -f "${as_dir}shtool"; then
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3961 ac_install_sh
="${as_dir}shtool install -c"
3964 if $ac_first_candidate; then
3965 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3971 if test -f "${as_dir}${ac_aux}"; then
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3975 if $ac_first_candidate; then
3976 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3983 if test "$ac_aux_dir_found" = yes; then
3984 ac_aux_dir
="$as_dir"
3987 ac_first_candidate
=false
3996 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4000 # These three variables are undocumented and unsupported,
4001 # and are intended to be withdrawn in a future Autoconf release.
4002 # They can cause serious problems if a builder's source tree is in a directory
4003 # whose full name contains unusual characters.
4004 if test -f "${ac_aux_dir}config.guess"; then
4005 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4007 if test -f "${ac_aux_dir}config.sub"; then
4008 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4010 if test -f "$ac_aux_dir/configure"; then
4011 ac_configure
="$SHELL ${ac_aux_dir}configure"
4014 # Check that the precious variables saved in the cache have kept the same
4016 ac_cache_corrupted
=false
4017 for ac_var
in $ac_precious_vars; do
4018 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4019 eval ac_new_set
=\
$ac_env_${ac_var}_set
4020 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4021 eval ac_new_val
=\
$ac_env_${ac_var}_value
4022 case $ac_old_set,$ac_new_set in
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4025 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4026 ac_cache_corrupted
=: ;;
4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4029 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4030 ac_cache_corrupted
=: ;;
4033 if test "x$ac_old_val" != "x$ac_new_val"; then
4034 # differences in whitespace do not lead to failure.
4035 ac_old_val_w
=`echo x $ac_old_val`
4036 ac_new_val_w
=`echo x $ac_new_val`
4037 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4039 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4040 ac_cache_corrupted
=:
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4043 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4044 eval $ac_var=\
$ac_old_val
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4047 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4049 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4052 # Pass precious variables to config.status.
4053 if test "$ac_new_set" = set; then
4055 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4056 *) ac_arg
=$ac_var=$ac_new_val ;;
4058 case " $ac_configure_args " in
4059 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4060 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4064 if $ac_cache_corrupted; then
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4068 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4069 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4070 and start over" "$LINENO" 5
4072 ## -------------------- ##
4073 ## Main body of script. ##
4074 ## -------------------- ##
4077 ac_cpp
='$CPP $CPPFLAGS'
4078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4084 ac_config_headers
="$ac_config_headers include/config.h"
4088 libwine_version
="1.0"
4091 # Check whether --enable-win16 was given.
4092 if test ${enable_win16+y}
4094 enableval
=$enable_win16;
4097 # Check whether --enable-win64 was given.
4098 if test ${enable_win64+y}
4100 enableval
=$enable_win64;
4103 # Check whether --enable-tests was given.
4104 if test ${enable_tests+y}
4106 enableval
=$enable_tests;
4109 # Check whether --enable-build-id was given.
4110 if test ${enable_build_id+y}
4112 enableval
=$enable_build_id;
4115 # Check whether --enable-maintainer-mode was given.
4116 if test ${enable_maintainer_mode+y}
4118 enableval
=$enable_maintainer_mode;
4121 # Check whether --enable-silent-rules was given.
4122 if test ${enable_silent_rules+y}
4124 enableval
=$enable_silent_rules;
4127 # Check whether --enable-werror was given.
4128 if test ${enable_werror+y}
4130 enableval
=$enable_werror;
4135 # Check whether --with-alsa was given.
4136 if test ${with_alsa+y}
4142 # Check whether --with-capi was given.
4143 if test ${with_capi+y}
4149 # Check whether --with-coreaudio was given.
4150 if test ${with_coreaudio+y}
4152 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4156 # Check whether --with-cups was given.
4157 if test ${with_cups+y}
4163 # Check whether --with-dbus was given.
4164 if test ${with_dbus+y}
4170 # Check whether --with-float-abi was given.
4171 if test ${with_float_abi+y}
4173 withval
=$with_float_abi;
4177 # Check whether --with-fontconfig was given.
4178 if test ${with_fontconfig+y}
4180 withval
=$with_fontconfig;
4184 # Check whether --with-freetype was given.
4185 if test ${with_freetype+y}
4187 withval
=$with_freetype;
4191 # Check whether --with-gettext was given.
4192 if test ${with_gettext+y}
4194 withval
=$with_gettext;
4198 # Check whether --with-gettextpo was given.
4199 if test ${with_gettextpo+y}
4201 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4205 # Check whether --with-gphoto was given.
4206 if test ${with_gphoto+y}
4208 withval
=$with_gphoto;
4212 # Check whether --with-gnutls was given.
4213 if test ${with_gnutls+y}
4215 withval
=$with_gnutls;
4219 # Check whether --with-gssapi was given.
4220 if test ${with_gssapi+y}
4222 withval
=$with_gssapi;
4226 # Check whether --with-gstreamer was given.
4227 if test ${with_gstreamer+y}
4229 withval
=$with_gstreamer;
4233 # Check whether --with-inotify was given.
4234 if test ${with_inotify+y}
4236 withval
=$with_inotify;
4240 # Check whether --with-krb5 was given.
4241 if test ${with_krb5+y}
4247 # Check whether --with-ldap was given.
4248 if test ${with_ldap+y}
4250 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4254 # Check whether --with-mingw was given.
4255 if test ${with_mingw+y}
4257 withval
=$with_mingw;
4261 # Check whether --with-netapi was given.
4262 if test ${with_netapi+y}
4264 withval
=$with_netapi;
4268 # Check whether --with-openal was given.
4269 if test ${with_openal+y}
4271 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4275 # Check whether --with-opencl was given.
4276 if test ${with_opencl+y}
4278 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4282 # Check whether --with-opengl was given.
4283 if test ${with_opengl+y}
4285 withval
=$with_opengl;
4289 # Check whether --with-osmesa was given.
4290 if test ${with_osmesa+y}
4292 withval
=$with_osmesa;
4296 # Check whether --with-oss was given.
4297 if test ${with_oss+y}
4303 # Check whether --with-pcap was given.
4304 if test ${with_pcap+y}
4306 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4310 # Check whether --with-pthread was given.
4311 if test ${with_pthread+y}
4313 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4317 # Check whether --with-pulse was given.
4318 if test ${with_pulse+y}
4320 withval
=$with_pulse;
4324 # Check whether --with-sane was given.
4325 if test ${with_sane+y}
4331 # Check whether --with-sdl was given.
4332 if test ${with_sdl+y}
4338 # Check whether --with-udev was given.
4339 if test ${with_udev+y}
4345 # Check whether --with-unwind was given.
4346 if test ${with_unwind+y}
4348 withval
=$with_unwind;
4352 # Check whether --with-usb was given.
4353 if test ${with_usb+y}
4359 # Check whether --with-v4l2 was given.
4360 if test ${with_v4l2+y}
4366 # Check whether --with-vulkan was given.
4367 if test ${with_vulkan+y}
4369 withval
=$with_vulkan;
4373 # Check whether --with-xcomposite was given.
4374 if test ${with_xcomposite+y}
4376 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4380 # Check whether --with-xcursor was given.
4381 if test ${with_xcursor+y}
4383 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4387 # Check whether --with-xfixes was given.
4388 if test ${with_xfixes+y}
4390 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4394 # Check whether --with-xinerama was given.
4395 if test ${with_xinerama+y}
4397 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4401 # Check whether --with-xinput was given.
4402 if test ${with_xinput+y}
4404 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4408 # Check whether --with-xinput2 was given.
4409 if test ${with_xinput2+y}
4411 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4415 # Check whether --with-xrandr was given.
4416 if test ${with_xrandr+y}
4418 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4422 # Check whether --with-xrender was given.
4423 if test ${with_xrender+y}
4425 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4429 # Check whether --with-xshape was given.
4430 if test ${with_xshape+y}
4432 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4436 # Check whether --with-xshm was given.
4437 if test ${with_xshm+y}
4439 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4443 # Check whether --with-xxf86vm was given.
4444 if test ${with_xxf86vm+y}
4446 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
4451 # Check whether --with-system-dllpath was given.
4452 if test ${with_system_dllpath+y}
4454 withval
=$with_system_dllpath; system_dllpath
=$withval
4459 # Check whether --with-wine-tools was given.
4460 if test ${with_wine_tools+y}
4462 withval
=$with_wine_tools;
4466 # Check whether --with-wine64 was given.
4467 if test ${with_wine64+y}
4469 withval
=$with_wine64;
4476 # Make sure we can run config.sub.
4477 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4478 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4481 printf %s
"checking build system type... " >&6; }
4482 if test ${ac_cv_build+y}
4484 printf %s
"(cached) " >&6
4486 ac_build_alias
=$build_alias
4487 test "x$ac_build_alias" = x
&&
4488 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4489 test "x$ac_build_alias" = x
&&
4490 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4491 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4492 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4496 printf "%s\n" "$ac_cv_build" >&6; }
4497 case $ac_cv_build in
4499 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4502 ac_save_IFS
=$IFS; IFS
='-'
4508 # Remember, the first character of IFS is used to create $*,
4509 # except with old shells:
4512 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4516 printf %s
"checking host system type... " >&6; }
4517 if test ${ac_cv_host+y}
4519 printf %s
"(cached) " >&6
4521 if test "x$host_alias" = x
; then
4522 ac_cv_host
=$ac_cv_build
4524 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4525 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4530 printf "%s\n" "$ac_cv_host" >&6; }
4533 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4536 ac_save_IFS
=$IFS; IFS
='-'
4542 # Remember, the first character of IFS is used to create $*,
4543 # except with old shells:
4546 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4550 dlldir
=\
${libdir}/wine
4552 fontdir
=\
${datadir}/wine
/fonts
4554 nlsdir
=\
${datadir}/wine
/nls
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4560 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4562 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4563 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4565 printf %s
"(cached) " >&6
4567 cat >conftest.
make <<\_ACEOF
4570 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4575 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4577 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4581 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4583 printf "%s\n" "yes" >&6; }
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 printf "%s\n" "no" >&6; }
4588 SET_MAKE
="MAKE=${MAKE-make}"
4601 ac_cpp
='$CPP $CPPFLAGS'
4602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4605 if test -n "$ac_tool_prefix"; then
4606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4607 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 printf %s
"checking for $ac_word... " >&6; }
4610 if test ${ac_cv_prog_CC+y}
4612 printf %s
"(cached) " >&6
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC
="$CC" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 case $as_dir in #(((
4624 *) as_dir
=$as_dir/ ;;
4626 for ac_exec_ext
in '' $ac_executable_extensions; do
4627 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4639 if test -n "$CC"; then
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4641 printf "%s\n" "$CC" >&6; }
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 printf "%s\n" "no" >&6; }
4649 if test -z "$ac_cv_prog_CC"; then
4651 # Extract the first word of "gcc", so it can be a program name with args.
4652 set dummy gcc
; ac_word
=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s
"checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_ac_ct_CC+y}
4657 printf %s
"(cached) " >&6
4659 if test -n "$ac_ct_CC"; then
4660 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 case $as_dir in #(((
4669 *) as_dir
=$as_dir/ ;;
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CC
="gcc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4684 if test -n "$ac_ct_CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4686 printf "%s\n" "$ac_ct_CC" >&6; }
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4692 if test "x$ac_ct_CC" = x
; then
4695 case $cross_compiling:$ac_tool_warned in
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned
=yes ;;
4707 if test -z "$CC"; then
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4710 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 printf %s
"checking for $ac_word... " >&6; }
4713 if test ${ac_cv_prog_CC+y}
4715 printf %s
"(cached) " >&6
4717 if test -n "$CC"; then
4718 ac_cv_prog_CC
="$CC" # Let the user override the test.
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4724 case $as_dir in #(((
4727 *) as_dir
=$as_dir/ ;;
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4742 if test -n "$CC"; then
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4744 printf "%s\n" "$CC" >&6; }
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 printf "%s\n" "no" >&6; }
4753 if test -z "$CC"; then
4754 # Extract the first word of "cc", so it can be a program name with args.
4755 set dummy cc
; ac_word
=$2
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 printf %s
"checking for $ac_word... " >&6; }
4758 if test ${ac_cv_prog_CC+y}
4760 printf %s
"(cached) " >&6
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC
="$CC" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 case $as_dir in #(((
4773 *) as_dir
=$as_dir/ ;;
4775 for ac_exec_ext
in '' $ac_executable_extensions; do
4776 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4777 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4778 ac_prog_rejected
=yes
4782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4789 if test $ac_prog_rejected = yes; then
4790 # We found a bogon in the path, so make sure we never use it.
4791 set dummy
$ac_cv_prog_CC
4793 if test $# != 0; then
4794 # We chose a different compiler from the bogus one.
4795 # However, it has the same basename, so the bogon will be chosen
4796 # first if we set CC to just the basename; use the full file name.
4798 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4804 if test -n "$CC"; then
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4806 printf "%s\n" "$CC" >&6; }
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 printf "%s\n" "no" >&6; }
4814 if test -z "$CC"; then
4815 if test -n "$ac_tool_prefix"; then
4816 for ac_prog
in cl.exe
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 printf %s
"checking for $ac_word... " >&6; }
4822 if test ${ac_cv_prog_CC+y}
4824 printf %s
"(cached) " >&6
4826 if test -n "$CC"; then
4827 ac_cv_prog_CC
="$CC" # Let the user override the test.
4829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4833 case $as_dir in #(((
4836 *) as_dir
=$as_dir/ ;;
4838 for ac_exec_ext
in '' $ac_executable_extensions; do
4839 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4853 printf "%s\n" "$CC" >&6; }
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4860 test -n "$CC" && break
4863 if test -z "$CC"; then
4865 for ac_prog
in cl.exe
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy
$ac_prog; ac_word
=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s
"checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_ac_ct_CC+y}
4873 printf %s
"(cached) " >&6
4875 if test -n "$ac_ct_CC"; then
4876 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 case $as_dir in #(((
4885 *) as_dir
=$as_dir/ ;;
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_CC
="$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4900 if test -n "$ac_ct_CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4902 printf "%s\n" "$ac_ct_CC" >&6; }
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$ac_ct_CC" && break
4912 if test "x$ac_ct_CC" = x
; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned
=yes ;;
4926 if test -z "$CC"; then
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4929 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s
"checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_CC+y}
4934 printf %s
"(cached) " >&6
4936 if test -n "$CC"; then
4937 ac_cv_prog_CC
="$CC" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 case $as_dir in #(((
4946 *) as_dir
=$as_dir/ ;;
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4961 if test -n "$CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4963 printf "%s\n" "$CC" >&6; }
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4971 if test -z "$ac_cv_prog_CC"; then
4973 # Extract the first word of "clang", so it can be a program name with args.
4974 set dummy clang
; ac_word
=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s
"checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_ac_ct_CC+y}
4979 printf %s
"(cached) " >&6
4981 if test -n "$ac_ct_CC"; then
4982 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4988 case $as_dir in #(((
4991 *) as_dir
=$as_dir/ ;;
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_CC
="clang"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5005 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5006 if test -n "$ac_ct_CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5008 printf "%s\n" "$ac_ct_CC" >&6; }
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5014 if test "x$ac_ct_CC" = x
; then
5017 case $cross_compiling:$ac_tool_warned in
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned
=yes ;;
5032 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5033 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5034 as_fn_error $?
"no acceptable C compiler found in \$PATH
5035 See \`config.log' for more details" "$LINENO" 5; }
5037 # Provide some information about the compiler.
5038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5041 for ac_option
in --version -v -V -qversion -version; do
5042 { { ac_try
="$ac_compiler $ac_option >&5"
5044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5048 printf "%s\n" "$ac_try_echo"; } >&5
5049 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5051 if test -s conftest.err; then
5053 ... rest of stderr output deleted ...
5054 10q' conftest.err >conftest.er1
5055 cat conftest.er1 >&5
5057 rm -f conftest.er1 conftest.err
5058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5059 test $ac_status = 0; }
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5073 ac_clean_files_save=$ac_clean_files
5074 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5075 # Try to create an executable without -o first, disregard a.out.
5076 # It will help us diagnose broken compilers, and finding out an intuition
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5079 printf %s "checking whether the C compiler works... " >&6; }
5080 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5082 # The possible output files:
5083 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5086 for ac_file in $ac_files
5089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5090 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5095 if { { ac_try="$ac_link_default"
5097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5098 *) ac_try_echo
=$ac_try;;
5100 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101 printf "%s\n" "$ac_try_echo"; } >&5
5102 (eval "$ac_link_default") 2>&5
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5110 # so that the user can short-circuit this test for compilers unknown to
5112 for ac_file
in $ac_files ''
5114 test -f "$ac_file" ||
continue
5116 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5119 # We found the default executable, but exeext='' is most
5123 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5125 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5127 # We set ac_cv_exeext here because the later test for it is not
5128 # safe: cross compilers may not add the suffix if given an `-o'
5129 # argument, so we may need to know it at that point already.
5130 # Even if this section looks crufty: it has the advantage of
5137 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5142 if test -z "$ac_file"
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 printf "%s\n" "no" >&6; }
5146 printf "%s\n" "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.
$ac_ext >&5
5149 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5150 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5151 as_fn_error
77 "C compiler cannot create executables
5152 See \`config.log' for more details" "$LINENO" 5; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5155 printf "%s\n" "yes" >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5158 printf %s
"checking for C compiler default output file name... " >&6; }
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5160 printf "%s\n" "$ac_file" >&6; }
5161 ac_exeext
=$ac_cv_exeext
5163 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5164 ac_clean_files
=$ac_clean_files_save
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5166 printf %s
"checking for suffix of executables... " >&6; }
5167 if { { ac_try
="$ac_link"
5169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5173 printf "%s\n" "$ac_try_echo"; } >&5
5174 (eval "$ac_link") 2>&5
5176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177 test $ac_status = 0; }
5179 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5180 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5181 # work properly (i.e., refer to `conftest.exe'), while it won't with
5183 for ac_file
in conftest.exe conftest conftest.
*; do
5184 test -f "$ac_file" ||
continue
5186 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5187 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5193 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5194 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5195 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5196 See \`config.log' for more details" "$LINENO" 5; }
5198 rm -f conftest conftest
$ac_cv_exeext
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5200 printf "%s\n" "$ac_cv_exeext" >&6; }
5202 rm -f conftest.
$ac_ext
5203 EXEEXT
=$ac_cv_exeext
5205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5211 FILE *f = fopen ("conftest.out", "w");
5212 return ferror (f) || fclose (f) != 0;
5218 ac_clean_files
="$ac_clean_files conftest.out"
5219 # Check that the compiler produces executables we can run. If not, either
5220 # the compiler is broken, or we cross compile.
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5222 printf %s
"checking whether we are cross compiling... " >&6; }
5223 if test "$cross_compiling" != yes; then
5224 { { ac_try
="$ac_link"
5226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link") 2>&5
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5235 if { ac_try='./conftest$ac_cv_exeext'
5236 { { case "(($ac_try" in
5237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5238 *) ac_try_echo
=$ac_try;;
5240 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 printf "%s\n" "$ac_try_echo"; } >&5
5242 (eval "$ac_try") 2>&5
5244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }; }; then
5248 if test "$cross_compiling" = maybe
; then
5251 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error
77 "cannot run C compiled programs.
5254 If you meant to cross compile, use \`--host'.
5255 See \`config.log' for more details" "$LINENO" 5; }
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5260 printf "%s\n" "$cross_compiling" >&6; }
5262 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5263 ac_clean_files
=$ac_clean_files_save
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5265 printf %s
"checking for suffix of object files... " >&6; }
5266 if test ${ac_cv_objext+y}
5268 printf %s
"(cached) " >&6
5270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5281 rm -f conftest.o conftest.obj
5282 if { { ac_try
="$ac_compile"
5284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_compile") 2>&5
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5294 for ac_file in conftest.o conftest.obj conftest.*; do
5295 test -f "$ac_file" || continue;
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5303 printf "%s\n" "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5307 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5308 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5309 See \
`config.log' for more details" "$LINENO" 5; }
5311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5314 printf "%s\n" "$ac_cv_objext" >&6; }
5315 OBJEXT=$ac_cv_objext
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5318 printf %s "checking whether the compiler supports GNU C... " >&6; }
5319 if test ${ac_cv_c_compiler_gnu+y}
5321 printf %s "(cached) " >&6
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5337 if ac_fn_c_try_compile "$LINENO"
5343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5348 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5351 if test $ac_compiler_gnu = yes; then
5356 ac_test_CFLAGS=${CFLAGS+y}
5357 ac_save_CFLAGS=$CFLAGS
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5359 printf %s "checking whether $CC accepts -g... " >&6; }
5360 if test ${ac_cv_prog_cc_g+y}
5362 printf %s "(cached) " >&6
5364 ac_save_c_werror_flag=$ac_c_werror_flag
5365 ac_c_werror_flag=yes
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5379 if ac_fn_c_try_compile "$LINENO"
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5395 if ac_fn_c_try_compile "$LINENO"
5399 ac_c_werror_flag=$ac_save_c_werror_flag
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5412 if ac_fn_c_try_compile "$LINENO"
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5421 ac_c_werror_flag=$ac_save_c_werror_flag
5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5424 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5425 if test $ac_test_CFLAGS; then
5426 CFLAGS=$ac_save_CFLAGS
5427 elif test $ac_cv_prog_cc_g = yes; then
5428 if test "$GCC" = yes; then
5434 if test "$GCC" = yes; then
5441 if test x$ac_prog_cc_stdc = xno
5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5444 printf %s "checking for $CC option to enable C11 features... " >&6; }
5445 if test ${ac_cv_prog_cc_c11+y}
5447 printf %s "(cached) " >&6
5449 ac_cv_prog_cc_c11=no
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5453 $ac_c_conftest_c11_program
5455 for ac_arg in '' -std=gnu11
5457 CC="$ac_save_CC $ac_arg"
5458 if ac_fn_c_try_compile "$LINENO"
5460 ac_cv_prog_cc_c11=$ac_arg
5462 rm -f core conftest.err conftest.$ac_objext conftest.beam
5463 test "x$ac_cv_prog_cc_c11" != "xno" && break
5465 rm -f conftest.$ac_ext
5469 if test "x$ac_cv_prog_cc_c11" = xno
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5472 printf "%s\n" "unsupported" >&6; }
5474 if test "x$ac_cv_prog_cc_c11" = x
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5477 printf "%s\n" "none needed" >&6; }
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5481 CC="$CC $ac_cv_prog_cc_c11"
5483 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5487 if test x$ac_prog_cc_stdc = xno
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5490 printf %s "checking for $CC option to enable C99 features... " >&6; }
5491 if test ${ac_cv_prog_cc_c99+y}
5493 printf %s "(cached) " >&6
5495 ac_cv_prog_cc_c99=no
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 $ac_c_conftest_c99_program
5501 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5503 CC="$ac_save_CC $ac_arg"
5504 if ac_fn_c_try_compile "$LINENO"
5506 ac_cv_prog_cc_c99=$ac_arg
5508 rm -f core conftest.err conftest.$ac_objext conftest.beam
5509 test "x$ac_cv_prog_cc_c99" != "xno" && break
5511 rm -f conftest.$ac_ext
5515 if test "x$ac_cv_prog_cc_c99" = xno
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5518 printf "%s\n" "unsupported" >&6; }
5520 if test "x$ac_cv_prog_cc_c99" = x
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5523 printf "%s\n" "none needed" >&6; }
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5526 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5527 CC="$CC $ac_cv_prog_cc_c99"
5529 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5533 if test x$ac_prog_cc_stdc = xno
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5536 printf %s "checking for $CC option to enable C89 features... " >&6; }
5537 if test ${ac_cv_prog_cc_c89+y}
5539 printf %s "(cached) " >&6
5541 ac_cv_prog_cc_c89=no
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5545 $ac_c_conftest_c89_program
5547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5549 CC="$ac_save_CC $ac_arg"
5550 if ac_fn_c_try_compile "$LINENO"
5552 ac_cv_prog_cc_c89=$ac_arg
5554 rm -f core conftest.err conftest.$ac_objext conftest.beam
5555 test "x$ac_cv_prog_cc_c89" != "xno" && break
5557 rm -f conftest.$ac_ext
5561 if test "x$ac_cv_prog_cc_c89" = xno
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5564 printf "%s\n" "unsupported" >&6; }
5566 if test "x$ac_cv_prog_cc_c89" = x
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5569 printf "%s\n" "none needed" >&6; }
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5572 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5573 CC="$CC $ac_cv_prog_cc_c89"
5575 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5581 ac_cpp='$CPP $CPPFLAGS'
5582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5593 ac_cpp='$CXXCPP $CPPFLAGS'
5594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5597 if test -z "$CXX"; then
5598 if test -n "$CCC"; then
5601 if test -n "$ac_tool_prefix"; then
5602 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 printf %s "checking for $ac_word... " >&6; }
5608 if test ${ac_cv_prog_CXX+y}
5610 printf %s "(cached) " >&6
5612 if test -n "$CXX"; then
5613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 case $as_dir in #(((
5622 *) as_dir=$as_dir/ ;;
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5637 if test -n "$CXX"; then
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5639 printf "%s\n" "$CXX" >&6; }
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 printf "%s\n" "no" >&6; }
5646 test -n "$CXX" && break
5649 if test -z "$CXX"; then
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_ac_ct_CXX+y}
5659 printf %s "(cached) " >&6
5661 if test -n "$ac_ct_CXX"; then
5662 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 case $as_dir in #(((
5671 *) as_dir=$as_dir/ ;;
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_CXX="$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5685 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5686 if test -n "$ac_ct_CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5688 printf "%s\n" "$ac_ct_CXX" >&6; }
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$ac_ct_CXX" && break
5698 if test "x$ac_ct_CXX" = x; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5713 # Provide some information about the compiler.
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5717 for ac_option in --version -v -V -qversion; do
5718 { { ac_try="$ac_compiler $ac_option >&5"
5720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5721 *) ac_try_echo
=$ac_try;;
5723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 printf "%s\n" "$ac_try_echo"; } >&5
5725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5727 if test -s conftest.err
; then
5729 ... rest of stderr output deleted ...
5730 10q' conftest.err
>conftest.er1
5731 cat conftest.er1
>&5
5733 rm -f conftest.er1 conftest.err
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5735 test $ac_status = 0; }
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5739 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5740 if test ${ac_cv_cxx_compiler_gnu+y}
5742 printf %s
"(cached) " >&6
5744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5758 if ac_fn_cxx_try_compile
"$LINENO"
5764 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5765 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5769 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5770 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5772 if test $ac_compiler_gnu = yes; then
5777 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5778 ac_save_CXXFLAGS
=$CXXFLAGS
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5780 printf %s
"checking whether $CXX accepts -g... " >&6; }
5781 if test ${ac_cv_prog_cxx_g+y}
5783 printf %s
"(cached) " >&6
5785 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5786 ac_cxx_werror_flag
=yes
5789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5800 if ac_fn_cxx_try_compile
"$LINENO"
5802 ac_cv_prog_cxx_g
=yes
5805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5816 if ac_fn_cxx_try_compile
"$LINENO"
5820 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5833 if ac_fn_cxx_try_compile
"$LINENO"
5835 ac_cv_prog_cxx_g
=yes
5837 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
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
5842 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5845 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5846 if test $ac_test_CXXFLAGS; then
5847 CXXFLAGS
=$ac_save_CXXFLAGS
5848 elif test $ac_cv_prog_cxx_g = yes; then
5849 if test "$GXX" = yes; then
5855 if test "$GXX" = yes; then
5861 ac_prog_cxx_stdcxx
=no
5862 if test x
$ac_prog_cxx_stdcxx = xno
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5865 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5866 if test ${ac_cv_prog_cxx_11+y}
5868 printf %s
"(cached) " >&6
5870 ac_cv_prog_cxx_11
=no
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 $ac_cxx_conftest_cxx11_program
5876 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5878 CXX
="$ac_save_CXX $ac_arg"
5879 if ac_fn_cxx_try_compile
"$LINENO"
5881 ac_cv_prog_cxx_cxx11
=$ac_arg
5883 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5884 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5886 rm -f conftest.
$ac_ext
5890 if test "x$ac_cv_prog_cxx_cxx11" = xno
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5893 printf "%s\n" "unsupported" >&6; }
5895 if test "x$ac_cv_prog_cxx_cxx11" = x
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5898 printf "%s\n" "none needed" >&6; }
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5902 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5904 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5905 ac_prog_cxx_stdcxx
=cxx11
5908 if test x
$ac_prog_cxx_stdcxx = xno
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5911 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5912 if test ${ac_cv_prog_cxx_98+y}
5914 printf %s
"(cached) " >&6
5916 ac_cv_prog_cxx_98
=no
5918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5920 $ac_cxx_conftest_cxx98_program
5922 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5924 CXX
="$ac_save_CXX $ac_arg"
5925 if ac_fn_cxx_try_compile
"$LINENO"
5927 ac_cv_prog_cxx_cxx98
=$ac_arg
5929 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5930 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5932 rm -f conftest.
$ac_ext
5936 if test "x$ac_cv_prog_cxx_cxx98" = xno
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5939 printf "%s\n" "unsupported" >&6; }
5941 if test "x$ac_cv_prog_cxx_cxx98" = x
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5944 printf "%s\n" "none needed" >&6; }
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5947 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5948 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5950 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5951 ac_prog_cxx_stdcxx
=cxx98
5956 ac_cpp
='$CPP $CPPFLAGS'
5957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5963 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 printf %s
"checking for $ac_word... " >&6; }
5966 if test ${ac_cv_prog_CPPBIN+y}
5968 printf %s
"(cached) " >&6
5970 if test -n "$CPPBIN"; then
5971 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5977 case $as_dir in #(((
5980 *) as_dir
=$as_dir/ ;;
5982 for ac_exec_ext
in '' $ac_executable_extensions; do
5983 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5994 CPPBIN
=$ac_cv_prog_CPPBIN
5995 if test -n "$CPPBIN"; then
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5997 printf "%s\n" "$CPPBIN" >&6; }
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 printf "%s\n" "no" >&6; }
6005 if test -z "$ac_cv_prog_CPPBIN"; then
6006 ac_ct_CPPBIN
=$CPPBIN
6007 # Extract the first word of "cpp", so it can be a program name with args.
6008 set dummy cpp
; ac_word
=$2
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 printf %s
"checking for $ac_word... " >&6; }
6011 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6013 printf %s
"(cached) " >&6
6015 if test -n "$ac_ct_CPPBIN"; then
6016 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6022 case $as_dir in #(((
6025 *) as_dir
=$as_dir/ ;;
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6039 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6040 if test -n "$ac_ct_CPPBIN"; then
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6042 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 printf "%s\n" "no" >&6; }
6048 if test "x$ac_ct_CPPBIN" = x
; then
6051 case $cross_compiling:$ac_tool_warned in
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned
=yes ;;
6057 CPPBIN
=$ac_ct_CPPBIN
6060 CPPBIN
="$ac_cv_prog_CPPBIN"
6064 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6068 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 printf %s
"checking for $ac_word... " >&6; }
6071 if test ${ac_cv_prog_LD+y}
6073 printf %s
"(cached) " >&6
6075 if test -n "$LD"; then
6076 ac_cv_prog_LD
="$LD" # Let the user override the test.
6078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6082 case $as_dir in #(((
6085 *) as_dir
=$as_dir/ ;;
6087 for ac_exec_ext
in '' $ac_executable_extensions; do
6088 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6100 if test -n "$LD"; then
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6102 printf "%s\n" "$LD" >&6; }
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 printf "%s\n" "no" >&6; }
6110 if test -z "$ac_cv_prog_LD"; then
6112 # Extract the first word of "ld", so it can be a program name with args.
6113 set dummy ld
; ac_word
=$2
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s
"checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_ac_ct_LD+y}
6118 printf %s
"(cached) " >&6
6120 if test -n "$ac_ct_LD"; then
6121 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6127 case $as_dir in #(((
6130 *) as_dir
=$as_dir/ ;;
6132 for ac_exec_ext
in '' $ac_executable_extensions; do
6133 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_LD
="ld"
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6144 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6145 if test -n "$ac_ct_LD"; then
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6147 printf "%s\n" "$ac_ct_LD" >&6; }
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
6153 if test "x$ac_ct_LD" = x
; then
6156 case $cross_compiling:$ac_tool_warned in
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6160 ac_tool_warned
=yes ;;
6171 with_fontconfig
=${with_fontconfig:-no}
6173 *-mingw32*|
*-cygwin*)
6174 enable_win16
=${enable_win16:-no}
6175 with_mingw
=${with_mingw:-no}
6182 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6188 printf %s
"checking whether $CC works... " >&6; }
6189 if test ${wine_cv_cc_m32+y}
6191 printf %s
"(cached) " >&6
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6204 if ac_fn_c_try_link
"$LINENO"
6210 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6211 conftest
$ac_exeext conftest.
$ac_ext
6213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6214 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6215 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
6217 notice_platform
="32-bit "
6218 TARGETFLAGS
="$TARGETFLAGS -m32"
6219 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6220 export PKG_CONFIG_PATH
6221 enable_win16
=${enable_win16:-yes}
6222 with_unwind
=${with_unwind:-no}
6224 if test "x${GCC}" = "xyes"
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6227 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6228 if test ${wine_cv_builtin_ms_va_list+y}
6230 printf %s
"(cached) " >&6
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6238 void func(__builtin_ms_va_list *args);
6243 if ac_fn_c_try_compile
"$LINENO"
6245 wine_cv_builtin_ms_va_list
=yes
6247 wine_cv_builtin_ms_va_list
=no
6249 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6252 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6253 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
6258 notice_platform
="64-bit "
6259 TARGETFLAGS
="$TARGETFLAGS -m64"
6260 enable_wow64
=${enable_wow64:-yes}
6261 enable_wow64win
=${enable_wow64win:-yes}
6262 enable_wow64cpu
=${enable_wow64cpu:-yes}
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6267 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6268 if test ${wine_cv_thumb2+y}
6270 printf %s
"(cached) " >&6
6272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6278 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6283 if ac_fn_c_try_link
"$LINENO"
6289 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6290 conftest
$ac_exeext conftest.
$ac_ext
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6293 printf "%s\n" "$wine_cv_thumb2" >&6; }
6294 if test x
"$wine_cv_thumb2" = xyes
6296 CFLAGS
="$CFLAGS -mthumb"
6297 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6299 CFLAGS
="$CFLAGS -marm"
6300 TARGETFLAGS
="$TARGETFLAGS -marm"
6302 case $with_float_abi in
6304 float_abi
=$with_float_abi ;;
6311 saved_CFLAGS
=$CFLAGS
6312 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6314 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6315 if test ${wine_cv_float_abi+y}
6317 printf %s
"(cached) " >&6
6319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6325 asm("vmrs r2,fpscr");
6330 if ac_fn_c_try_link
"$LINENO"
6332 wine_cv_float_abi
=yes
6334 wine_cv_float_abi
=no
6336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6337 conftest
$ac_exeext conftest.
$ac_ext
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6340 printf "%s\n" "$wine_cv_float_abi" >&6; }
6341 if test $wine_cv_float_abi = no
6344 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6346 CFLAGS
=$saved_CFLAGS
6350 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6351 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6354 enable_wow64
=${enable_wow64:-yes}
6355 enable_wow64win
=${enable_wow64win:-yes}
6358 enable_win16
=${enable_win16:-yes}
6359 with_unwind
=${with_unwind:-no}
6363 enable_win16
=${enable_win16:-no}
6364 enable_win64
=${enable_win64:-no}
6365 enable_wow64
=${enable_wow64:-no}
6366 enable_wow64win
=${enable_wow64win:-no}
6367 enable_wow64cpu
=${enable_wow64cpu:-no}
6369 enable_winetest
=${enable_winetest:-$enable_tests}
6371 if test "x$enable_win64" = "xyes"
6373 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6374 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6378 cygwin
*|mingw32
*) toolsext
=".exe"
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6385 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6386 if test ${wine_cv_toolsdir+y}
6388 printf %s
"(cached) " >&6
6390 wine_cv_toolsdir
="$with_wine_tools"
6391 if test -z "$with_wine_tools"; then
6392 if test "$cross_compiling" = "yes"; then
6393 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6394 elif test -n "$with_wine64"; then
6395 wine_cv_toolsdir
="$with_wine64"
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6400 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6401 if test -z "$wine_cv_toolsdir"; then
6402 wine_makedep
=tools
/makedep
$toolsext
6403 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6404 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6405 enable_tools
=${enable_tools:-no}
6406 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6408 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6410 toolsdir
=$wine_cv_toolsdir
6412 MAKEDEP
=$wine_makedep
6414 RUNTESTFLAGS
="-q -P wine"
6416 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'"
6419 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6421 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy
$ac_prog; ac_word
=$2
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 printf %s
"checking for $ac_word... " >&6; }
6430 if test ${ac_cv_prog_FLEX+y}
6432 printf %s
"(cached) " >&6
6434 if test -n "$FLEX"; then
6435 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6441 case $as_dir in #(((
6444 *) as_dir
=$as_dir/ ;;
6446 for ac_exec_ext
in '' $ac_executable_extensions; do
6447 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_FLEX
="$ac_prog"
6449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6458 FLEX
=$ac_cv_prog_FLEX
6459 if test -n "$FLEX"; then
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6461 printf "%s\n" "$FLEX" >&6; }
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 printf "%s\n" "no" >&6; }
6468 test -n "$FLEX" && break
6470 test -n "$FLEX" || FLEX
="none"
6472 if test "$FLEX" = "none"
6474 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6477 printf %s
"checking whether flex is recent enough... " >&6; }
6478 if test ${wine_cv_recent_flex+y}
6480 printf %s
"(cached) " >&6
6482 cat >conftest.l
<<EOF
6484 #include "prediluvian.h"
6488 if $FLEX -t conftest.l
>/dev
/null
2>&5
6490 wine_cv_recent_flex
=yes
6492 wine_cv_recent_flex
=no
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6496 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6497 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
6499 for ac_prog
in bison
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy
$ac_prog; ac_word
=$2
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 printf %s
"checking for $ac_word... " >&6; }
6505 if test ${ac_cv_prog_BISON+y}
6507 printf %s
"(cached) " >&6
6509 if test -n "$BISON"; then
6510 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6516 case $as_dir in #(((
6519 *) as_dir
=$as_dir/ ;;
6521 for ac_exec_ext
in '' $ac_executable_extensions; do
6522 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_BISON
="$ac_prog"
6524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6533 BISON
=$ac_cv_prog_BISON
6534 if test -n "$BISON"; then
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6536 printf "%s\n" "$BISON" >&6; }
6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 printf "%s\n" "no" >&6; }
6543 test -n "$BISON" && break
6545 test -n "$BISON" || BISON
="none"
6547 if test "$BISON" = "none"
6549 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6552 printf %s
"checking whether bison is recent enough... " >&6; }
6553 if test ${wine_cv_recent_bison+y}
6555 printf %s
"(cached) " >&6
6557 cat >conftest.y
<<EOF
6558 %define parse.error verbose
6562 if $BISON conftest.y
>/dev
/null
2>&5
6564 wine_cv_recent_bison
=yes
6566 wine_cv_recent_bison
=no
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6570 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6571 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
6573 if test -n "$ac_tool_prefix"; then
6574 for ac_prog
in ar gar
6576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6577 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 printf %s
"checking for $ac_word... " >&6; }
6580 if test ${ac_cv_prog_AR+y}
6582 printf %s
"(cached) " >&6
6584 if test -n "$AR"; then
6585 ac_cv_prog_AR
="$AR" # Let the user override the test.
6587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6591 case $as_dir in #(((
6594 *) as_dir
=$as_dir/ ;;
6596 for ac_exec_ext
in '' $ac_executable_extensions; do
6597 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6609 if test -n "$AR"; then
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6611 printf "%s\n" "$AR" >&6; }
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 printf "%s\n" "no" >&6; }
6618 test -n "$AR" && break
6621 if test -z "$AR"; then
6623 for ac_prog
in ar gar
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy
$ac_prog; ac_word
=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s
"checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_ac_ct_AR+y}
6631 printf %s
"(cached) " >&6
6633 if test -n "$ac_ct_AR"; then
6634 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6640 case $as_dir in #(((
6643 *) as_dir
=$as_dir/ ;;
6645 for ac_exec_ext
in '' $ac_executable_extensions; do
6646 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_AR
="$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6657 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6658 if test -n "$ac_ct_AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6660 printf "%s\n" "$ac_ct_AR" >&6; }
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$ac_ct_AR" && break
6670 if test "x$ac_ct_AR" = x
; then
6673 case $cross_compiling:$ac_tool_warned in
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677 ac_tool_warned
=yes ;;
6683 if test -n "$ac_tool_prefix"; then
6684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6685 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 printf %s
"checking for $ac_word... " >&6; }
6688 if test ${ac_cv_prog_STRIP+y}
6690 printf %s
"(cached) " >&6
6692 if test -n "$STRIP"; then
6693 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6699 case $as_dir in #(((
6702 *) as_dir
=$as_dir/ ;;
6704 for ac_exec_ext
in '' $ac_executable_extensions; do
6705 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6716 STRIP
=$ac_cv_prog_STRIP
6717 if test -n "$STRIP"; then
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6719 printf "%s\n" "$STRIP" >&6; }
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 printf "%s\n" "no" >&6; }
6727 if test -z "$ac_cv_prog_STRIP"; then
6729 # Extract the first word of "strip", so it can be a program name with args.
6730 set dummy strip
; ac_word
=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s
"checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_ac_ct_STRIP+y}
6735 printf %s
"(cached) " >&6
6737 if test -n "$ac_ct_STRIP"; then
6738 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6744 case $as_dir in #(((
6747 *) as_dir
=$as_dir/ ;;
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_STRIP
="strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6761 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6762 if test -n "$ac_ct_STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6764 printf "%s\n" "$ac_ct_STRIP" >&6; }
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6770 if test "x$ac_ct_STRIP" = x
; then
6773 case $cross_compiling:$ac_tool_warned in
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned
=yes ;;
6782 STRIP
="$ac_cv_prog_STRIP"
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6787 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 printf %s
"checking for $ac_word... " >&6; }
6790 if test ${ac_cv_prog_RANLIB+y}
6792 printf %s
"(cached) " >&6
6794 if test -n "$RANLIB"; then
6795 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6801 case $as_dir in #(((
6804 *) as_dir
=$as_dir/ ;;
6806 for ac_exec_ext
in '' $ac_executable_extensions; do
6807 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6818 RANLIB
=$ac_cv_prog_RANLIB
6819 if test -n "$RANLIB"; then
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6821 printf "%s\n" "$RANLIB" >&6; }
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 printf "%s\n" "no" >&6; }
6829 if test -z "$ac_cv_prog_RANLIB"; then
6830 ac_ct_RANLIB
=$RANLIB
6831 # Extract the first word of "ranlib", so it can be a program name with args.
6832 set dummy ranlib
; ac_word
=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s
"checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6837 printf %s
"(cached) " >&6
6839 if test -n "$ac_ct_RANLIB"; then
6840 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 case $as_dir in #(((
6849 *) as_dir
=$as_dir/ ;;
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6863 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6864 if test -n "$ac_ct_RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6866 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6872 if test "x$ac_ct_RANLIB" = x
; then
6875 case $cross_compiling:$ac_tool_warned in
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6879 ac_tool_warned
=yes ;;
6881 RANLIB
=$ac_ct_RANLIB
6884 RANLIB
="$ac_cv_prog_RANLIB"
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6888 printf %s
"checking whether ln -s works... " >&6; }
6890 if test "$LN_S" = "ln -s"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6892 printf "%s\n" "yes" >&6; }
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6895 printf "%s\n" "no, using $LN_S" >&6; }
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6899 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6900 if test ${ac_cv_path_GREP+y}
6902 printf %s
"(cached) " >&6
6904 if test -z "$GREP"; then
6905 ac_path_GREP_found
=false
6906 # Loop through the user's path and test for each of PROGNAME-LIST
6907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6908 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6911 case $as_dir in #(((
6914 *) as_dir
=$as_dir/ ;;
6916 for ac_prog
in grep ggrep
6918 for ac_exec_ext
in '' $ac_executable_extensions; do
6919 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6920 as_fn_executable_p
"$ac_path_GREP" ||
continue
6921 # Check for GNU ac_path_GREP and select it if it is found.
6922 # Check for GNU $ac_path_GREP
6923 case `"$ac_path_GREP" --version 2>&1` in
6925 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6928 printf %s
0123456789 >"conftest.in"
6931 cat "conftest.in" "conftest.in" >"conftest.tmp"
6932 mv "conftest.tmp" "conftest.in"
6933 cp "conftest.in" "conftest.nl"
6934 printf "%s\n" 'GREP' >> "conftest.nl"
6935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6936 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6937 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6939 # Best one so far, save it but keep looking for a better one
6940 ac_cv_path_GREP
="$ac_path_GREP"
6941 ac_path_GREP_max
=$ac_count
6943 # 10*(2^10) chars as input seems more than enough
6944 test $ac_count -gt 10 && break
6946 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6949 $ac_path_GREP_found && break 3
6954 if test -z "$ac_cv_path_GREP"; then
6955 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6958 ac_cv_path_GREP
=$GREP
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6963 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6964 GREP
="$ac_cv_path_GREP"
6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6968 printf %s
"checking for egrep... " >&6; }
6969 if test ${ac_cv_path_EGREP+y}
6971 printf %s
"(cached) " >&6
6973 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6974 then ac_cv_path_EGREP
="$GREP -E"
6976 if test -z "$EGREP"; then
6977 ac_path_EGREP_found
=false
6978 # Loop through the user's path and test for each of PROGNAME-LIST
6979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6980 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6983 case $as_dir in #(((
6986 *) as_dir
=$as_dir/ ;;
6988 for ac_prog
in egrep
6990 for ac_exec_ext
in '' $ac_executable_extensions; do
6991 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6992 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6993 # Check for GNU ac_path_EGREP and select it if it is found.
6994 # Check for GNU $ac_path_EGREP
6995 case `"$ac_path_EGREP" --version 2>&1` in
6997 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7000 printf %s
0123456789 >"conftest.in"
7003 cat "conftest.in" "conftest.in" >"conftest.tmp"
7004 mv "conftest.tmp" "conftest.in"
7005 cp "conftest.in" "conftest.nl"
7006 printf "%s\n" 'EGREP' >> "conftest.nl"
7007 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7008 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7009 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7010 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7011 # Best one so far, save it but keep looking for a better one
7012 ac_cv_path_EGREP
="$ac_path_EGREP"
7013 ac_path_EGREP_max
=$ac_count
7015 # 10*(2^10) chars as input seems more than enough
7016 test $ac_count -gt 10 && break
7018 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7021 $ac_path_EGREP_found && break 3
7026 if test -z "$ac_cv_path_EGREP"; then
7027 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7030 ac_cv_path_EGREP
=$EGREP
7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7036 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7037 EGREP
="$ac_cv_path_EGREP"
7040 # Extract the first word of "ldconfig", so it can be a program name with args.
7041 set dummy ldconfig
; ac_word
=$2
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 printf %s
"checking for $ac_word... " >&6; }
7044 if test ${ac_cv_path_LDCONFIG+y}
7046 printf %s
"(cached) " >&6
7050 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7054 for as_dir
in /sbin
/usr
/sbin
$PATH
7057 case $as_dir in #(((
7060 *) as_dir
=$as_dir/ ;;
7062 for ac_exec_ext
in '' $ac_executable_extensions; do
7063 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7064 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7072 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7076 LDCONFIG
=$ac_cv_path_LDCONFIG
7077 if test -n "$LDCONFIG"; then
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7079 printf "%s\n" "$LDCONFIG" >&6; }
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 printf "%s\n" "no" >&6; }
7086 for ac_prog
in msgfmt
7088 # Extract the first word of "$ac_prog", so it can be a program name with args.
7089 set dummy
$ac_prog; ac_word
=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s
"checking for $ac_word... " >&6; }
7092 if test ${ac_cv_prog_MSGFMT+y}
7094 printf %s
"(cached) " >&6
7096 if test -n "$MSGFMT"; then
7097 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 case $as_dir in #(((
7106 *) as_dir
=$as_dir/ ;;
7108 for ac_exec_ext
in '' $ac_executable_extensions; do
7109 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_MSGFMT
="$ac_prog"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7120 MSGFMT
=$ac_cv_prog_MSGFMT
7121 if test -n "$MSGFMT"; then
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7123 printf "%s\n" "$MSGFMT" >&6; }
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 printf "%s\n" "no" >&6; }
7130 test -n "$MSGFMT" && break
7132 test -n "$MSGFMT" || MSGFMT
="false"
7134 if test ${ac_tool_prefix+y}
7136 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7137 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s
"checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_PKG_CONFIG+y}
7142 printf %s
"(cached) " >&6
7144 if test -n "$PKG_CONFIG"; then
7145 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 case $as_dir in #(((
7154 *) as_dir
=$as_dir/ ;;
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7168 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7169 if test -n "$PKG_CONFIG"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7171 printf "%s\n" "$PKG_CONFIG" >&6; }
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7179 if ${ac_cv_prog_PKG_CONFIG:+false} :
7181 if test "x$cross_compiling" = xyes
7185 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7186 # Extract the first word of "pkg-config", so it can be a program name with args.
7187 set dummy pkg-config
; ac_word
=$2
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 printf %s
"checking for $ac_word... " >&6; }
7190 if test ${ac_cv_prog_PKG_CONFIG+y}
7192 printf %s
"(cached) " >&6
7194 if test -n "$PKG_CONFIG"; then
7195 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7201 case $as_dir in #(((
7204 *) as_dir
=$as_dir/ ;;
7206 for ac_exec_ext
in '' $ac_executable_extensions; do
7207 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_PKG_CONFIG
="pkg-config"
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7218 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7219 if test -n "$PKG_CONFIG"; then
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7221 printf "%s\n" "$PKG_CONFIG" >&6; }
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 printf "%s\n" "no" >&6; }
7230 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7233 if test "x$enable_maintainer_mode" != "xyes"
7240 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7241 for ac_prog
in fontforge
7243 # Extract the first word of "$ac_prog", so it can be a program name with args.
7244 set dummy
$ac_prog; ac_word
=$2
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 printf %s
"checking for $ac_word... " >&6; }
7247 if test ${ac_cv_prog_FONTFORGE+y}
7249 printf %s
"(cached) " >&6
7251 if test -n "$FONTFORGE"; then
7252 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7258 case $as_dir in #(((
7261 *) as_dir
=$as_dir/ ;;
7263 for ac_exec_ext
in '' $ac_executable_extensions; do
7264 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_FONTFORGE
="$ac_prog"
7266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7275 FONTFORGE
=$ac_cv_prog_FONTFORGE
7276 if test -n "$FONTFORGE"; then
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7278 printf "%s\n" "$FONTFORGE" >&6; }
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 printf "%s\n" "no" >&6; }
7285 test -n "$FONTFORGE" && break
7287 test -n "$FONTFORGE" || FONTFORGE
="false"
7289 for ac_prog
in rsvg-convert rsvg
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy
$ac_prog; ac_word
=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s
"checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_RSVG+y}
7297 printf %s
"(cached) " >&6
7299 if test -n "$RSVG"; then
7300 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7306 case $as_dir in #(((
7309 *) as_dir
=$as_dir/ ;;
7311 for ac_exec_ext
in '' $ac_executable_extensions; do
7312 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_RSVG
="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7323 RSVG
=$ac_cv_prog_RSVG
7324 if test -n "$RSVG"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7326 printf "%s\n" "$RSVG" >&6; }
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$RSVG" && break
7335 test -n "$RSVG" || RSVG
="false"
7337 for ac_prog
in convert
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy
$ac_prog; ac_word
=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s
"checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_CONVERT+y}
7345 printf %s
"(cached) " >&6
7347 if test -n "$CONVERT"; then
7348 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7354 case $as_dir in #(((
7357 *) as_dir
=$as_dir/ ;;
7359 for ac_exec_ext
in '' $ac_executable_extensions; do
7360 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_CONVERT
="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7371 CONVERT
=$ac_cv_prog_CONVERT
7372 if test -n "$CONVERT"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7374 printf "%s\n" "$CONVERT" >&6; }
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$CONVERT" && break
7383 test -n "$CONVERT" || CONVERT
="false"
7385 for ac_prog
in icotool
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy
$ac_prog; ac_word
=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s
"checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_ICOTOOL+y}
7393 printf %s
"(cached) " >&6
7395 if test -n "$ICOTOOL"; then
7396 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 case $as_dir in #(((
7405 *) as_dir
=$as_dir/ ;;
7407 for ac_exec_ext
in '' $ac_executable_extensions; do
7408 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ICOTOOL
="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7419 ICOTOOL
=$ac_cv_prog_ICOTOOL
7420 if test -n "$ICOTOOL"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7422 printf "%s\n" "$ICOTOOL" >&6; }
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$ICOTOOL" && break
7431 test -n "$ICOTOOL" || ICOTOOL
="false"
7433 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7434 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7436 if test "$CONVERT" = false
7438 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7441 printf %s
"checking for recent enough imagemagick... " >&6; }
7442 convert_version
=`convert --version | head -n1`
7443 if test "x$convert_version" != "x"
7445 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7446 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7447 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7452 if test "$CONVERT" = false
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7455 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7456 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7459 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7463 if test "$ICOTOOL" = false
7465 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7468 printf %s
"checking for recent enough icotool... " >&6; }
7469 icotool_version
=`icotool --version | head -n1`
7470 if test "x$icotool_version" != "x"
7472 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7473 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7474 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7477 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7480 if test "$ICOTOOL" = false
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7483 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7484 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7487 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7497 test "x$with_gettext" != xno || MSGFMT
=false
7498 if test "$MSGFMT" != "false"
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7501 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7502 if test ${wine_cv_msgfmt_contexts+y}
7504 printf %s
"(cached) " >&6
7506 cat >conftest.po
<<EOF
7512 if $MSGFMT -o /dev
/null conftest.po
2>&5
7514 wine_cv_msgfmt_contexts
=yes
7516 wine_cv_msgfmt_contexts
=no
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7520 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7521 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7523 if test "$MSGFMT" = false
7525 case "x$with_gettext" in
7526 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7528 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7529 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7531 enable_po
=${enable_po:-no}
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7536 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7537 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7539 printf %s
"(cached) " >&6
7541 ac_check_lib_save_LIBS
=$LIBS
7543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7546 /* Override any GCC internal prototype to avoid an error.
7547 Use char because int might match the return type of a GCC
7548 builtin and then its argument prototype would still apply. */
7549 char i386_set_ldt ();
7553 return i386_set_ldt ();
7558 if ac_fn_c_try_link
"$LINENO"
7560 ac_cv_lib_i386_i386_set_ldt
=yes
7562 ac_cv_lib_i386_i386_set_ldt
=no
7564 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7565 conftest
$ac_exeext conftest.
$ac_ext
7566 LIBS
=$ac_check_lib_save_LIBS
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7569 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7570 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7581 # Check whether --enable-largefile was given.
7582 if test ${enable_largefile+y}
7584 enableval
=$enable_largefile;
7587 if test "$enable_largefile" != no
; then
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7590 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7591 if test ${ac_cv_sys_largefile_CC+y}
7593 printf %s
"(cached) " >&6
7595 ac_cv_sys_largefile_CC
=no
7596 if test "$GCC" != yes; then
7599 # IRIX 6.2 and later do not support large files by default,
7600 # so use the C compiler's -n32 option if that helps.
7601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #include <sys/types.h>
7604 /* Check that off_t can represent 2**63 - 1 correctly.
7605 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7606 since some C++ compilers masquerading as C compilers
7607 incorrectly reject 9223372036854775807. */
7608 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7610 && LARGE_OFF_T % 2147483647 == 1)
7620 if ac_fn_c_try_compile
"$LINENO"
7624 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7626 if ac_fn_c_try_compile
"$LINENO"
7628 ac_cv_sys_largefile_CC
=' -n32'; break
7630 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7634 rm -f conftest.
$ac_ext
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7638 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7639 if test "$ac_cv_sys_largefile_CC" != no
; then
7640 CC
=$CC$ac_cv_sys_largefile_CC
7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7644 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7645 if test ${ac_cv_sys_file_offset_bits+y}
7647 printf %s
"(cached) " >&6
7650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7669 if ac_fn_c_try_compile
"$LINENO"
7671 ac_cv_sys_file_offset_bits
=no
; break
7673 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7676 #define _FILE_OFFSET_BITS 64
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7694 if ac_fn_c_try_compile
"$LINENO"
7696 ac_cv_sys_file_offset_bits
=64; break
7698 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7699 ac_cv_sys_file_offset_bits
=unknown
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7704 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7705 case $ac_cv_sys_file_offset_bits in #(
7708 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7712 if test $ac_cv_sys_file_offset_bits = unknown
; then
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7714 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7715 if test ${ac_cv_sys_large_files+y}
7717 printf %s
"(cached) " >&6
7720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7739 if ac_fn_c_try_compile
"$LINENO"
7741 ac_cv_sys_large_files
=no
; break
7743 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7745 /* end confdefs.h. */
7746 #define _LARGE_FILES 1
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7764 if ac_fn_c_try_compile
"$LINENO"
7766 ac_cv_sys_large_files
=1; break
7768 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7769 ac_cv_sys_large_files
=unknown
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7774 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7775 case $ac_cv_sys_large_files in #(
7778 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7786 ac_header
= ac_cache
=
7787 for ac_item
in $ac_header_c_list
7789 if test $ac_cache; then
7790 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7791 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7792 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7794 ac_header
= ac_cache
=
7795 elif test $ac_header; then
7809 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7812 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7815 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7816 if test "x$ac_cv_header_AL_al_h" = xyes
7818 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7821 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7822 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7824 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7827 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7828 if test "x$ac_cv_header_CL_cl_h" = xyes
7830 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7833 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7834 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7836 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7839 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7840 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7842 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7845 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7848 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_EGL_egl_h" = xyes
7854 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7860 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7866 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7872 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_Security_Security_h" = xyes
7884 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7890 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7896 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_types_h" = xyes
7914 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_user_h" = xyes
7920 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_elf_h" = xyes
7926 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_float_h" = xyes
7932 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_gettext_po_h" = xyes
7938 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_libproc_h" = xyes
7944 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_link_h" = xyes
7950 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7956 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_filter_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_input_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_major_h" = xyes
7992 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_param_h" = xyes
7998 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_serial_h" = xyes
8004 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_types_h" = xyes
8010 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8016 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_lwp_h" = xyes
8022 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8028 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mach_mach_h" = xyes
8034 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_machine_cpu_h" = xyes
8040 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8046 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_mntent_h" = xyes
8052 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netdb_h" = xyes
8058 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_in_h" = xyes
8064 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8070 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8076 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8082 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8088 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_port_h" = xyes
8094 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_pthread_h" = xyes
8100 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_pwd_h" = xyes
8106 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8112 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sched_h" = xyes
8118 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8130 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_scsi_sg_h" = xyes
8136 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_stdint_h" = xyes
8142 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_attr_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_auxv_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_cdio_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_epoll_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_event_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_filio_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_ipc_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_link_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_modem_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_mtio_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_param_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_prctl_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_queue_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_random_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_resource_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_shm_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_signal_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_sockio_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_strtio_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_syscall_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_times_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_uio_h" = xyes
8304 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_user_h" = xyes
8310 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_utsname_h" = xyes
8316 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_vnode_h" = xyes
8322 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_syscall_h" = xyes
8328 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_utime_h" = xyes
8334 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8340 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8346 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8354 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8358 if test $ac_cv_header_sys_mkdev_h = no
; then
8359 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8363 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8369 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8370 if test ${ac_cv_header_stat_broken+y}
8372 printf %s
"(cached) " >&6
8374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 #include <sys/types.h>
8377 #include <sys/stat.h>
8379 #if defined S_ISBLK && defined S_IFDIR
8380 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8383 #if defined S_ISBLK && defined S_IFCHR
8384 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8387 #if defined S_ISLNK && defined S_IFREG
8388 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8391 #if defined S_ISSOCK && defined S_IFREG
8392 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8396 if ac_fn_c_try_compile
"$LINENO"
8398 ac_cv_header_stat_broken
=no
8400 ac_cv_header_stat_broken
=yes
8402 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8405 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8406 if test $ac_cv_header_stat_broken = yes; then
8408 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8414 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8419 if test "x$ac_cv_header_sys_conf_h" = xyes
8421 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8429 if test "x$ac_cv_header_sys_mount_h" = xyes
8431 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8439 if test "x$ac_cv_header_sys_statfs_h" = xyes
8441 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8449 if test "x$ac_cv_header_sys_user_h" = xyes
8451 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8455 #ifdef HAVE_SYS_PARAM_H
8456 # include <sys/param.h>
8459 if test "x$ac_cv_header_sys_vfs_h" = xyes
8461 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8466 saved_sysctl_h_CFLAGS
=$CFLAGS
8467 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8468 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8473 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8475 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8479 CFLAGS
=$saved_sysctl_h_CFLAGS
8481 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8482 #include <sys/socket.h>
8483 #ifdef HAVE_SYS_SOCKETVAR_H
8484 # include <sys/socketvar.h>
8486 #ifdef HAVE_NET_ROUTE_H
8487 # include <net/route.h>
8489 #ifdef HAVE_NETINET_IN_H
8490 # include <netinet/in.h>
8492 #ifdef HAVE_NETINET_IN_SYSTM_H
8493 # include <netinet/in_systm.h>
8495 #ifdef HAVE_NET_IF_H
8496 # include <net/if.h>
8498 #ifdef HAVE_NETINET_IP_H
8499 # include <netinet/ip.h>
8502 if test "x$ac_cv_header_netinet_ip_h" = xyes
8504 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8508 #include <sys/socket.h>
8509 #ifdef HAVE_SYS_SOCKETVAR_H
8510 # include <sys/socketvar.h>
8512 #ifdef HAVE_NET_ROUTE_H
8513 # include <net/route.h>
8515 #ifdef HAVE_NETINET_IN_H
8516 # include <netinet/in.h>
8518 #ifdef HAVE_NETINET_IN_SYSTM_H
8519 # include <netinet/in_systm.h>
8521 #ifdef HAVE_NET_IF_H
8522 # include <net/if.h>
8524 #ifdef HAVE_NETINET_IP_H
8525 # include <netinet/ip.h>
8528 if test "x$ac_cv_header_net_if_h" = xyes
8530 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8534 #include <sys/socket.h>
8535 #ifdef HAVE_SYS_SOCKETVAR_H
8536 # include <sys/socketvar.h>
8538 #ifdef HAVE_NET_ROUTE_H
8539 # include <net/route.h>
8541 #ifdef HAVE_NETINET_IN_H
8542 # include <netinet/in.h>
8544 #ifdef HAVE_NETINET_IN_SYSTM_H
8545 # include <netinet/in_systm.h>
8547 #ifdef HAVE_NET_IF_H
8548 # include <net/if.h>
8550 #ifdef HAVE_NETINET_IP_H
8551 # include <netinet/ip.h>
8554 if test "x$ac_cv_header_net_if_arp_h" = xyes
8556 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8560 #include <sys/socket.h>
8561 #ifdef HAVE_SYS_SOCKETVAR_H
8562 # include <sys/socketvar.h>
8564 #ifdef HAVE_NET_ROUTE_H
8565 # include <net/route.h>
8567 #ifdef HAVE_NETINET_IN_H
8568 # include <netinet/in.h>
8570 #ifdef HAVE_NETINET_IN_SYSTM_H
8571 # include <netinet/in_systm.h>
8573 #ifdef HAVE_NET_IF_H
8574 # include <net/if.h>
8576 #ifdef HAVE_NETINET_IP_H
8577 # include <netinet/ip.h>
8580 if test "x$ac_cv_header_net_if_dl_h" = xyes
8582 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8586 #include <sys/socket.h>
8587 #ifdef HAVE_SYS_SOCKETVAR_H
8588 # include <sys/socketvar.h>
8590 #ifdef HAVE_NET_ROUTE_H
8591 # include <net/route.h>
8593 #ifdef HAVE_NETINET_IN_H
8594 # include <netinet/in.h>
8596 #ifdef HAVE_NETINET_IN_SYSTM_H
8597 # include <netinet/in_systm.h>
8599 #ifdef HAVE_NET_IF_H
8600 # include <net/if.h>
8602 #ifdef HAVE_NETINET_IP_H
8603 # include <netinet/ip.h>
8606 if test "x$ac_cv_header_net_if_types_h" = xyes
8608 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8612 #include <sys/socket.h>
8613 #ifdef HAVE_SYS_SOCKETVAR_H
8614 # include <sys/socketvar.h>
8616 #ifdef HAVE_NET_ROUTE_H
8617 # include <net/route.h>
8619 #ifdef HAVE_NETINET_IN_H
8620 # include <netinet/in.h>
8622 #ifdef HAVE_NETINET_IN_SYSTM_H
8623 # include <netinet/in_systm.h>
8625 #ifdef HAVE_NET_IF_H
8626 # include <net/if.h>
8628 #ifdef HAVE_NETINET_IP_H
8629 # include <netinet/ip.h>
8632 if test "x$ac_cv_header_net_route_h" = xyes
8634 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8638 #include <sys/socket.h>
8639 #ifdef HAVE_SYS_SOCKETVAR_H
8640 # include <sys/socketvar.h>
8642 #ifdef HAVE_NET_ROUTE_H
8643 # include <net/route.h>
8645 #ifdef HAVE_NETINET_IN_H
8646 # include <netinet/in.h>
8648 #ifdef HAVE_NETINET_IN_SYSTM_H
8649 # include <netinet/in_systm.h>
8651 #ifdef HAVE_NET_IF_H
8652 # include <net/if.h>
8654 #ifdef HAVE_NETINET_IP_H
8655 # include <netinet/ip.h>
8658 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8660 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8664 #include <sys/socket.h>
8665 #ifdef HAVE_SYS_SOCKETVAR_H
8666 # include <sys/socketvar.h>
8668 #ifdef HAVE_NET_ROUTE_H
8669 # include <net/route.h>
8671 #ifdef HAVE_NETINET_IN_H
8672 # include <netinet/in.h>
8674 #ifdef HAVE_NETINET_IN_SYSTM_H
8675 # include <netinet/in_systm.h>
8677 #ifdef HAVE_NET_IF_H
8678 # include <net/if.h>
8680 #ifdef HAVE_NETINET_IP_H
8681 # include <netinet/ip.h>
8684 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8686 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8690 #include <sys/socket.h>
8691 #ifdef HAVE_SYS_SOCKETVAR_H
8692 # include <sys/socketvar.h>
8694 #ifdef HAVE_NET_ROUTE_H
8695 # include <net/route.h>
8697 #ifdef HAVE_NETINET_IN_H
8698 # include <netinet/in.h>
8700 #ifdef HAVE_NETINET_IN_SYSTM_H
8701 # include <netinet/in_systm.h>
8703 #ifdef HAVE_NET_IF_H
8704 # include <net/if.h>
8706 #ifdef HAVE_NETINET_IP_H
8707 # include <netinet/ip.h>
8710 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8712 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8715 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8716 #include <sys/socket.h>
8717 #ifdef HAVE_SYS_SOCKETVAR_H
8718 # include <sys/socketvar.h>
8720 #ifdef HAVE_NET_ROUTE_H
8721 # include <net/route.h>
8723 #ifdef HAVE_NETINET_IN_H
8724 # include <netinet/in.h>
8726 #ifdef HAVE_NETINET_IN_SYSTM_H
8727 # include <netinet/in_systm.h>
8729 #ifdef HAVE_NET_IF_H
8730 # include <net/if.h>
8732 #ifdef HAVE_NETINET_IP_H
8733 # include <netinet/ip.h>
8736 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8738 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8742 #include <sys/socket.h>
8743 #ifdef HAVE_SYS_SOCKETVAR_H
8744 # include <sys/socketvar.h>
8746 #ifdef HAVE_NET_ROUTE_H
8747 # include <net/route.h>
8749 #ifdef HAVE_NETINET_IN_H
8750 # include <netinet/in.h>
8752 #ifdef HAVE_NETINET_IN_SYSTM_H
8753 # include <netinet/in_systm.h>
8755 #ifdef HAVE_NET_IF_H
8756 # include <net/if.h>
8758 #ifdef HAVE_NETINET_IP_H
8759 # include <netinet/ip.h>
8762 if test "x$ac_cv_header_netinet_udp_h" = xyes
8764 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8768 #include <sys/socket.h>
8769 #ifdef HAVE_SYS_SOCKETVAR_H
8770 # include <sys/socketvar.h>
8772 #ifdef HAVE_NET_ROUTE_H
8773 # include <net/route.h>
8775 #ifdef HAVE_NETINET_IN_H
8776 # include <netinet/in.h>
8778 #ifdef HAVE_NETINET_IN_SYSTM_H
8779 # include <netinet/in_systm.h>
8781 #ifdef HAVE_NET_IF_H
8782 # include <net/if.h>
8784 #ifdef HAVE_NETINET_IP_H
8785 # include <netinet/ip.h>
8788 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8790 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8793 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8794 #include <sys/socket.h>
8795 #ifdef HAVE_SYS_SOCKETVAR_H
8796 # include <sys/socketvar.h>
8798 #ifdef HAVE_NET_ROUTE_H
8799 # include <net/route.h>
8801 #ifdef HAVE_NETINET_IN_H
8802 # include <netinet/in.h>
8804 #ifdef HAVE_NETINET_IN_SYSTM_H
8805 # include <netinet/in_systm.h>
8807 #ifdef HAVE_NET_IF_H
8808 # include <net/if.h>
8810 #ifdef HAVE_NETINET_IP_H
8811 # include <netinet/ip.h>
8814 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8816 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8819 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8824 #ifdef HAVE_NET_ROUTE_H
8825 # include <net/route.h>
8827 #ifdef HAVE_NETINET_IN_H
8828 # include <netinet/in.h>
8830 #ifdef HAVE_NETINET_IN_SYSTM_H
8831 # include <netinet/in_systm.h>
8833 #ifdef HAVE_NET_IF_H
8834 # include <net/if.h>
8836 #ifdef HAVE_NETINET_IP_H
8837 # include <netinet/ip.h>
8840 if test "x$ac_cv_header_sys_un_h" = xyes
8842 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8847 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8848 #include <sys/socket.h>
8849 #ifdef HAVE_SYS_SOCKETVAR_H
8850 # include <sys/socketvar.h>
8852 #ifdef HAVE_NETINET_IN_H
8853 # include <netinet/in.h>
8855 #ifdef HAVE_NETINET_IN_SYSTM_H
8856 # include <netinet/in_systm.h>
8858 #ifdef HAVE_NETINET_IP_H
8859 # include <netinet/ip.h>
8861 #ifdef HAVE_NETINET_IP_VAR_H
8862 # include <netinet/ip_var.h>
8864 #ifdef HAVE_NETINET_IP_ICMP_H
8865 # include <netinet/ip_icmp.h>
8867 #ifdef HAVE_NETINET_UDP_H
8868 # include <netinet/udp.h>
8870 #ifdef HAVE_NETINET_TCP_H
8871 # include <netinet/tcp.h>
8874 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8876 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8879 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8880 #include <sys/socket.h>
8881 #ifdef HAVE_SYS_SOCKETVAR_H
8882 # include <sys/socketvar.h>
8884 #ifdef HAVE_NETINET_IN_H
8885 # include <netinet/in.h>
8887 #ifdef HAVE_NETINET_IN_SYSTM_H
8888 # include <netinet/in_systm.h>
8890 #ifdef HAVE_NETINET_IP_H
8891 # include <netinet/ip.h>
8893 #ifdef HAVE_NETINET_IP_VAR_H
8894 # include <netinet/ip_var.h>
8896 #ifdef HAVE_NETINET_IP_ICMP_H
8897 # include <netinet/ip_icmp.h>
8899 #ifdef HAVE_NETINET_UDP_H
8900 # include <netinet/udp.h>
8902 #ifdef HAVE_NETINET_TCP_H
8903 # include <netinet/tcp.h>
8906 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8908 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8911 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8912 #include <sys/socket.h>
8913 #ifdef HAVE_SYS_SOCKETVAR_H
8914 # include <sys/socketvar.h>
8916 #ifdef HAVE_NETINET_IN_H
8917 # include <netinet/in.h>
8919 #ifdef HAVE_NETINET_IN_SYSTM_H
8920 # include <netinet/in_systm.h>
8922 #ifdef HAVE_NETINET_IP_H
8923 # include <netinet/ip.h>
8925 #ifdef HAVE_NETINET_IP_VAR_H
8926 # include <netinet/ip_var.h>
8928 #ifdef HAVE_NETINET_IP_ICMP_H
8929 # include <netinet/ip_icmp.h>
8931 #ifdef HAVE_NETINET_UDP_H
8932 # include <netinet/udp.h>
8934 #ifdef HAVE_NETINET_TCP_H
8935 # include <netinet/tcp.h>
8938 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8940 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_SYS_SOCKETVAR_H
8946 # include <sys/socketvar.h>
8948 #ifdef HAVE_NETINET_IN_H
8949 # include <netinet/in.h>
8951 #ifdef HAVE_NETINET_IN_SYSTM_H
8952 # include <netinet/in_systm.h>
8954 #ifdef HAVE_NETINET_IP_H
8955 # include <netinet/ip.h>
8957 #ifdef HAVE_NETINET_IP_VAR_H
8958 # include <netinet/ip_var.h>
8960 #ifdef HAVE_NETINET_IP_ICMP_H
8961 # include <netinet/ip_icmp.h>
8963 #ifdef HAVE_NETINET_UDP_H
8964 # include <netinet/udp.h>
8966 #ifdef HAVE_NETINET_TCP_H
8967 # include <netinet/tcp.h>
8970 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8972 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8978 #include <sys/socket.h>
8979 #ifdef HAVE_ASM_TYPES_H
8980 # include <asm/types.h>
8982 #ifdef HAVE_LINUX_TYPES_H
8983 # include <linux/types.h>
8986 if test "x$ac_cv_header_linux_ipx_h" = xyes
8988 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8991 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8992 #include <sys/socket.h>
8993 #ifdef HAVE_ASM_TYPES_H
8994 # include <asm/types.h>
8996 #ifdef HAVE_LINUX_TYPES_H
8997 # include <linux/types.h>
9000 if test "x$ac_cv_header_linux_irda_h" = xyes
9002 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9006 #include <sys/socket.h>
9007 #ifdef HAVE_ASM_TYPES_H
9008 # include <asm/types.h>
9010 #ifdef HAVE_LINUX_TYPES_H
9011 # include <linux/types.h>
9014 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9016 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9022 #include <sys/socket.h>
9023 #ifdef HAVE_NETINET_IN_H
9024 # include <netinet/in.h>
9026 #ifdef HAVE_ARPA_NAMESER_H
9027 # include <arpa/nameser.h>
9030 if test "x$ac_cv_header_resolv_h" = xyes
9032 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9037 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9039 if test "x$ac_cv_header_ifaddrs_h" = xyes
9041 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9048 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9050 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9056 #ifdef HAVE_SYS_UCONTEXT_H
9057 #include <sys/ucontext.h>
9060 if test "x$ac_cv_header_sys_thr_h" = xyes
9062 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9068 #include <pthread.h>
9071 if test "x$ac_cv_header_pthread_np_h" = xyes
9073 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9079 #include <sys/types.h>
9080 #ifdef HAVE_ASM_TYPES_H
9081 #include <asm/types.h>
9084 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9086 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9091 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9092 #include <sys/param.h>
9094 #include <sys/socket.h>
9095 #ifdef HAVE_SYS_QUEUE_H
9096 #include <sys/queue.h>
9099 if test "x$ac_cv_header_libprocstat_h" = xyes
9101 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9115 UNIXDLLFLAGS
="-fPIC"
9117 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9123 WINELOADER_LDFLAGS
=""
9125 WINEPRELOADER_LDFLAGS
=""
9128 # Extract the first word of "ldd", so it can be a program name with args.
9129 set dummy ldd
; ac_word
=$2
9130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9131 printf %s
"checking for $ac_word... " >&6; }
9132 if test ${ac_cv_path_LDD+y}
9134 printf %s
"(cached) " >&6
9138 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9142 as_dummy
="/sbin:/usr/sbin:$PATH"
9143 for as_dir
in $as_dummy
9146 case $as_dir in #(((
9149 *) as_dir
=$as_dir/ ;;
9151 for ac_exec_ext
in '' $ac_executable_extensions; do
9152 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9153 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9161 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9166 if test -n "$LDD"; then
9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9168 printf "%s\n" "$LDD" >&6; }
9170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 printf "%s\n" "no" >&6; }
9175 if test -n "$ac_tool_prefix"; then
9176 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9177 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179 printf %s
"checking for $ac_word... " >&6; }
9180 if test ${ac_cv_prog_OTOOL+y}
9182 printf %s
"(cached) " >&6
9184 if test -n "$OTOOL"; then
9185 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9191 case $as_dir in #(((
9194 *) as_dir
=$as_dir/ ;;
9196 for ac_exec_ext
in '' $ac_executable_extensions; do
9197 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9198 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9208 OTOOL
=$ac_cv_prog_OTOOL
9209 if test -n "$OTOOL"; then
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9211 printf "%s\n" "$OTOOL" >&6; }
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 printf "%s\n" "no" >&6; }
9219 if test -z "$ac_cv_prog_OTOOL"; then
9221 # Extract the first word of "otool", so it can be a program name with args.
9222 set dummy otool
; ac_word
=$2
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9224 printf %s
"checking for $ac_word... " >&6; }
9225 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9227 printf %s
"(cached) " >&6
9229 if test -n "$ac_ct_OTOOL"; then
9230 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9236 case $as_dir in #(((
9239 *) as_dir
=$as_dir/ ;;
9241 for ac_exec_ext
in '' $ac_executable_extensions; do
9242 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9243 ac_cv_prog_ac_ct_OTOOL
="otool"
9244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9253 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9254 if test -n "$ac_ct_OTOOL"; then
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9256 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 printf "%s\n" "no" >&6; }
9262 if test "x$ac_ct_OTOOL" = x
; then
9265 case $cross_compiling:$ac_tool_warned in
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9268 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9269 ac_tool_warned
=yes ;;
9274 OTOOL
="$ac_cv_prog_OTOOL"
9277 if test -n "$ac_tool_prefix"; then
9278 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9279 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printf %s
"checking for $ac_word... " >&6; }
9282 if test ${ac_cv_prog_READELF+y}
9284 printf %s
"(cached) " >&6
9286 if test -n "$READELF"; then
9287 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9293 case $as_dir in #(((
9296 *) as_dir
=$as_dir/ ;;
9298 for ac_exec_ext
in '' $ac_executable_extensions; do
9299 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9310 READELF
=$ac_cv_prog_READELF
9311 if test -n "$READELF"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9313 printf "%s\n" "$READELF" >&6; }
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9321 if test -z "$ac_cv_prog_READELF"; then
9322 ac_ct_READELF
=$READELF
9323 # Extract the first word of "readelf", so it can be a program name with args.
9324 set dummy readelf
; ac_word
=$2
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 printf %s
"checking for $ac_word... " >&6; }
9327 if test ${ac_cv_prog_ac_ct_READELF+y}
9329 printf %s
"(cached) " >&6
9331 if test -n "$ac_ct_READELF"; then
9332 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9338 case $as_dir in #(((
9341 *) as_dir
=$as_dir/ ;;
9343 for ac_exec_ext
in '' $ac_executable_extensions; do
9344 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9345 ac_cv_prog_ac_ct_READELF
="readelf"
9346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9355 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9356 if test -n "$ac_ct_READELF"; then
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9358 printf "%s\n" "$ac_ct_READELF" >&6; }
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 printf "%s\n" "no" >&6; }
9364 if test "x$ac_ct_READELF" = x
; then
9367 case $cross_compiling:$ac_tool_warned in
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9370 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9371 ac_tool_warned
=yes ;;
9373 READELF
=$ac_ct_READELF
9376 READELF
="$ac_cv_prog_READELF"
9384 CONFIGURE_TARGETS
=""
9387 wine_fn_append_file
()
9389 as_fn_append
$1 " \\$as_nl $2"
9392 wine_fn_append_rule
()
9394 as_fn_append wine_rules
"$as_nl$1"
9397 wine_fn_config_makefile
()
9399 wine_fn_append_file SUBDIRS
$1
9400 if eval test \"x\$
"$2"\" = x
"no"
9402 wine_fn_append_file DISABLED_SUBDIRS
$1
9406 wine_fn_config_symlink
()
9409 wine_fn_append_rule \
9411 @./config.status \$@"
9412 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
9416 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
9417 WINELOADER_PROGRAMS
="$wine_binary"
9419 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9423 if test -n "$ac_tool_prefix"; then
9424 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9425 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9427 printf %s
"checking for $ac_word... " >&6; }
9428 if test ${ac_cv_prog_DLLTOOL+y}
9430 printf %s
"(cached) " >&6
9432 if test -n "$DLLTOOL"; then
9433 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9439 case $as_dir in #(((
9442 *) as_dir
=$as_dir/ ;;
9444 for ac_exec_ext
in '' $ac_executable_extensions; do
9445 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9446 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9456 DLLTOOL
=$ac_cv_prog_DLLTOOL
9457 if test -n "$DLLTOOL"; then
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9459 printf "%s\n" "$DLLTOOL" >&6; }
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9462 printf "%s\n" "no" >&6; }
9467 if test -z "$ac_cv_prog_DLLTOOL"; then
9468 ac_ct_DLLTOOL
=$DLLTOOL
9469 # Extract the first word of "dlltool", so it can be a program name with args.
9470 set dummy dlltool
; ac_word
=$2
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9472 printf %s
"checking for $ac_word... " >&6; }
9473 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9475 printf %s
"(cached) " >&6
9477 if test -n "$ac_ct_DLLTOOL"; then
9478 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9484 case $as_dir in #(((
9487 *) as_dir
=$as_dir/ ;;
9489 for ac_exec_ext
in '' $ac_executable_extensions; do
9490 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9491 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9501 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9502 if test -n "$ac_ct_DLLTOOL"; then
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9504 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9507 printf "%s\n" "no" >&6; }
9510 if test "x$ac_ct_DLLTOOL" = x
; then
9513 case $cross_compiling:$ac_tool_warned in
9515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9516 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9517 ac_tool_warned
=yes ;;
9519 DLLTOOL
=$ac_ct_DLLTOOL
9522 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9526 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9528 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9529 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9530 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9532 printf %s
"(cached) " >&6
9534 ac_wine_try_cflags_saved
=$CFLAGS
9535 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9538 int main(int argc, char **argv) { return 0; }
9540 if ac_fn_c_try_link
"$LINENO"
9542 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9544 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9546 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9547 conftest
$ac_exeext conftest.
$ac_ext
9548 CFLAGS
=$ac_wine_try_cflags_saved
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9551 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9552 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9554 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9557 enable_loader
=${enable_loader:-no}
9558 enable_server
=${enable_server:-no}
9559 with_x
=${with_x:-no}
9560 with_pthread
=${with_pthread:-no}
9565 ac_cpp
='$OBJCPP $CPPFLAGS'
9566 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9571 ac_cpp
='$OBJCPP $CPPFLAGS'
9572 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9573 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9574 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9575 if test -n "$ac_tool_prefix"; then
9576 for ac_prog
in gcc objcc objc cc CC clang
9578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9579 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 printf %s
"checking for $ac_word... " >&6; }
9582 if test ${ac_cv_prog_OBJC+y}
9584 printf %s
"(cached) " >&6
9586 if test -n "$OBJC"; then
9587 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9593 case $as_dir in #(((
9596 *) as_dir
=$as_dir/ ;;
9598 for ac_exec_ext
in '' $ac_executable_extensions; do
9599 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9610 OBJC
=$ac_cv_prog_OBJC
9611 if test -n "$OBJC"; then
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9613 printf "%s\n" "$OBJC" >&6; }
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 printf "%s\n" "no" >&6; }
9620 test -n "$OBJC" && break
9623 if test -z "$OBJC"; then
9625 for ac_prog
in gcc objcc objc cc CC clang
9627 # Extract the first word of "$ac_prog", so it can be a program name with args.
9628 set dummy
$ac_prog; ac_word
=$2
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9630 printf %s
"checking for $ac_word... " >&6; }
9631 if test ${ac_cv_prog_ac_ct_OBJC+y}
9633 printf %s
"(cached) " >&6
9635 if test -n "$ac_ct_OBJC"; then
9636 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9642 case $as_dir in #(((
9645 *) as_dir
=$as_dir/ ;;
9647 for ac_exec_ext
in '' $ac_executable_extensions; do
9648 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9649 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9659 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9660 if test -n "$ac_ct_OBJC"; then
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9662 printf "%s\n" "$ac_ct_OBJC" >&6; }
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 printf "%s\n" "no" >&6; }
9669 test -n "$ac_ct_OBJC" && break
9672 if test "x$ac_ct_OBJC" = x
; then
9675 case $cross_compiling:$ac_tool_warned in
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9679 ac_tool_warned
=yes ;;
9685 # Provide some information about the compiler.
9686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9689 for ac_option
in --version -v -V -qversion; do
9690 { { ac_try
="$ac_compiler $ac_option >&5"
9692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9696 printf "%s\n" "$ac_try_echo"; } >&5
9697 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9699 if test -s conftest.err; then
9701 ... rest of stderr output deleted ...
9702 10q' conftest.err >conftest.er1
9703 cat conftest.er1 >&5
9705 rm -f conftest.er1 conftest.err
9706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9707 test $ac_status = 0; }
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9711 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9712 if test ${ac_cv_objc_compiler_gnu+y}
9714 printf %s "(cached) " >&6
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9730 if ac_fn_objc_try_compile "$LINENO"
9736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9737 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9741 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9742 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9744 if test $ac_compiler_gnu = yes; then
9749 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9750 ac_save_OBJCFLAGS=$OBJCFLAGS
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9752 printf %s "checking whether $OBJC accepts -g... " >&6; }
9753 if test ${ac_cv_prog_objc_g+y}
9755 printf %s "(cached) " >&6
9757 ac_save_objc_werror_flag=$ac_objc_werror_flag
9758 ac_objc_werror_flag=yes
9759 ac_cv_prog_objc_g=no
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9772 if ac_fn_objc_try_compile "$LINENO"
9774 ac_cv_prog_objc_g=yes
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9788 if ac_fn_objc_try_compile "$LINENO"
9792 ac_objc_werror_flag=$ac_save_objc_werror_flag
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9805 if ac_fn_objc_try_compile "$LINENO"
9807 ac_cv_prog_objc_g=yes
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
9814 ac_objc_werror_flag=$ac_save_objc_werror_flag
9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9817 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9818 if test $ac_test_OBJCFLAGS; then
9819 OBJCFLAGS=$ac_save_OBJCFLAGS
9820 elif test $ac_cv_prog_objc_g = yes; then
9821 if test "$GOBJC" = yes; then
9827 if test "$GOBJC" = yes; then
9834 ac_cpp='$OBJCPP $CPPFLAGS'
9835 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9836 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9837 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9840 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9841 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9843 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9848 ac_cpp='$CPP $CPPFLAGS'
9849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9854 DLLFLAGS="$DLLFLAGS -fPIC"
9856 COREFOUNDATION_LIBS="-framework CoreFoundation"
9858 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9860 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9862 CORESERVICES_LIBS="-framework CoreServices"
9864 APPKIT_LIBS="-framework AppKit"
9866 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9869 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9871 wine_can_build_preloader=yes
9872 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"
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9874 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9875 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9877 printf %s "(cached) " >&6
9879 ac_wine_try_cflags_saved=$CFLAGS
9880 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 int main(int argc, char **argv) { return 0; }
9885 if ac_fn_c_try_link "$LINENO"
9887 ac_cv_cflags__Wl__no_new_main__e__main=yes
9889 ac_cv_cflags__Wl__no_new_main__e__main=no
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9896 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9897 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9899 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9900 { 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
9901 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9902 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9904 printf %s "(cached) " >&6
9906 ac_wine_try_cflags_saved=$CFLAGS
9907 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int main(int argc, char **argv) { return 0; }
9912 if ac_fn_c_try_link "$LINENO"
9914 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9916 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9919 conftest$ac_exeext conftest.$ac_ext
9920 CFLAGS=$ac_wine_try_cflags_saved
9922 { 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
9923 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9924 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9926 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9928 wine_can_build_preloader=no
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9932 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9933 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9935 printf %s "(cached) " >&6
9937 ac_wine_try_cflags_saved=$CFLAGS
9938 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int main(int argc, char **argv) { return 0; }
9943 if ac_fn_c_try_link "$LINENO"
9945 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9947 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9950 conftest$ac_exeext conftest.$ac_ext
9951 CFLAGS=$ac_wine_try_cflags_saved
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9954 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9955 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9957 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9959 wine_can_build_preloader=no
9962 if test "$wine_can_build_preloader" = "yes"
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9965 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9966 if test ${ac_cv_cflags__Wl__no_pie+y}
9968 printf %s "(cached) " >&6
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 CFLAGS="$CFLAGS -Wl,-no_pie"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int main(int argc, char **argv) { return 0; }
9976 if ac_fn_c_try_link "$LINENO"
9978 ac_cv_cflags__Wl__no_pie=yes
9980 ac_cv_cflags__Wl__no_pie=no
9982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9987 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9988 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9990 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9992 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9993 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9995 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9998 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10000 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10003 if test "$ac_cv_header_Security_Security_h" = "yes"
10005 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10008 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10010 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10012 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10014 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10016 OPENAL_LIBS="-framework OpenAL"
10019 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10021 ac_cv_lib_openal=yes
10023 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10025 OPENCL_LIBS="-framework OpenCL"
10027 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10029 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10031 ac_save_LIBS="$LIBS"
10032 LIBS="$LIBS $IOKIT_LIBS"
10033 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10034 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10036 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10040 LIBS="$ac_save_LIBS"
10043 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10045 CARBON_LIBS="-framework Carbon"
10048 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10050 METAL_LIBS="-framework Metal"
10054 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10057 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10059 ac_cpp='$OBJCPP $CPPFLAGS'
10060 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 #include <Metal/Metal.h>
10070 id<MTLDevice> device; device.registryID;
10075 if ac_fn_objc_try_compile "$LINENO"
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10078 printf "%s\n" "yes" >&6; }
10080 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 printf "%s\n" "no" >&6; }
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10088 ac_cpp='$CPP $CPPFLAGS'
10089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10095 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10097 ac_save_LIBS="$LIBS"
10098 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10099 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10100 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10102 enable_winemac_drv=${enable_winemac_drv:-yes}
10105 LIBS="$ac_save_LIBS"
10108 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10109 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10111 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10113 WINELOADER_DEPENDS="wine_info.plist"
10115 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10120 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10122 DLLFLAGS="$DLLFLAGS -fPIC"
10124 LDEXECFLAGS="-Wl,-pie"
10125 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10127 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10128 if test ${ac_cv_cflags__Wl__z_defs+y}
10130 printf %s "(cached) " >&6
10132 ac_wine_try_cflags_saved=$CFLAGS
10133 CFLAGS="$CFLAGS -Wl,-z,defs"
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 int main(int argc, char **argv) { return 0; }
10138 if ac_fn_c_try_link "$LINENO"
10140 ac_cv_cflags__Wl__z_defs=yes
10142 ac_cv_cflags__Wl__z_defs=no
10144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10149 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10150 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10152 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10155 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10156 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10158 printf %s "(cached) " >&6
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10166 if ac_fn_c_try_link "$LINENO"
10168 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10170 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10177 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10178 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10180 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10182 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10185 printf %s "checking for -lEGL... " >&6; }
10186 if test ${ac_cv_lib_soname_EGL+y}
10188 printf %s "(cached) " >&6
10190 ac_check_soname_save_LIBS=$LIBS
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10198 char eglGetProcAddress ();
10202 return eglGetProcAddress ();
10207 if ac_fn_c_try_link "$LINENO"
10210 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_EGL:+false} :
10215 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10219 ac_cv_lib_soname_EGL=
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_soname_save_LIBS
10225 if ${ac_cv_lib_soname_EGL:+false} :
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 printf "%s\n" "not found" >&6; }
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10232 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10234 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10239 printf %s "checking for -lGLESv2... " >&6; }
10240 if test ${ac_cv_lib_soname_GLESv2+y}
10242 printf %s "(cached) " >&6
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lGLESv2 $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10261 if ac_fn_c_try_link "$LINENO"
10264 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 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'` ;;
10266 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_GLESv2:+false} :
10269 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10273 ac_cv_lib_soname_GLESv2=
10275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GLESv2:+false} :
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 printf "%s\n" "not found" >&6; }
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10286 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10288 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10293 if test "x$exec_prefix" = xNONE
10296 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10297 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10298 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10299 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10306 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10308 test "$ac_cv_sys_file_offset_bits" = 64 &&
10309 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10313 DLLFLAGS="$DLLFLAGS -fno-PIC"
10314 LDDLLFLAGS="-fno-PIC"
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10316 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10317 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10319 printf %s "(cached) " >&6
10321 ac_wine_try_cflags_saved=$CFLAGS
10322 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 int main(int argc, char **argv) { return 0; }
10327 if ac_fn_c_try_link "$LINENO"
10329 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10331 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10338 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10339 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10341 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10345 DLLFLAGS="$DLLFLAGS -fPIC"
10346 LDDLLFLAGS="-fPIC" ;;
10348 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10350 echo '{ global: *; };' >conftest.map
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10352 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10353 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10355 printf %s "(cached) " >&6
10357 ac_wine_try_cflags_saved=$CFLAGS
10358 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int main(int argc, char **argv) { return 0; }
10363 if ac_fn_c_try_link "$LINENO"
10365 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10367 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10374 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10375 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10377 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10382 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10383 if test ${ac_cv_cflags__Wl__z_defs+y}
10385 printf %s "(cached) " >&6
10387 ac_wine_try_cflags_saved=$CFLAGS
10388 CFLAGS="$CFLAGS -Wl,-z,defs"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int main(int argc, char **argv) { return 0; }
10393 if ac_fn_c_try_link "$LINENO"
10395 ac_cv_cflags__Wl__z_defs=yes
10397 ac_cv_cflags__Wl__z_defs=no
10399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10404 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10405 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10407 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10410 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10411 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10413 printf %s "(cached) " >&6
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 int main(int argc, char **argv) { return 0; }
10421 if ac_fn_c_try_link "$LINENO"
10423 ac_cv_cflags__Wl___export_dynamic=yes
10425 ac_cv_cflags__Wl___export_dynamic=no
10427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10428 conftest$ac_exeext conftest.$ac_ext
10429 CFLAGS=$ac_wine_try_cflags_saved
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10432 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10435 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10437 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10440 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10442 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10443 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10445 printf %s "(cached) " >&6
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10451 int main(int argc, char **argv) { return 0; }
10453 if ac_fn_c_try_link "$LINENO"
10455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10457 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10460 conftest$ac_exeext conftest.$ac_ext
10461 CFLAGS=$ac_wine_try_cflags_saved
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10464 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10465 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10468 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10469 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10473 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10474 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10476 printf %s "(cached) " >&6
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10482 int main(int argc, char **argv) { return 0; }
10484 if ac_fn_c_try_link "$LINENO"
10486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10488 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10491 conftest$ac_exeext conftest.$ac_ext
10492 CFLAGS=$ac_wine_try_cflags_saved
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10495 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10496 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10499 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10500 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10503 # Extract the first word of "prelink", so it can be a program name with args.
10504 set dummy prelink; ac_word=$2
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 printf %s "checking for $ac_word... " >&6; }
10507 if test ${ac_cv_path_PRELINK+y}
10509 printf %s "(cached) " >&6
10513 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in /sbin /usr/sbin $PATH
10520 case $as_dir in #(((
10523 *) as_dir=$as_dir/ ;;
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10527 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10535 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10539 PRELINK=$ac_cv_path_PRELINK
10540 if test -n "$PRELINK"; then
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10542 printf "%s\n" "$PRELINK" >&6; }
10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 printf "%s\n" "no" >&6; }
10549 if test "x$PRELINK" = xfalse
10551 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10555 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10556 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10558 printf %s "(cached) " >&6
10560 ac_wine_try_cflags_saved=$CFLAGS
10561 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10564 int main(int argc, char **argv) { return 0; }
10566 if ac_fn_c_try_link "$LINENO"
10568 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10570 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10573 conftest$ac_exeext conftest.$ac_ext
10574 CFLAGS=$ac_wine_try_cflags_saved
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10577 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10578 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10580 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10584 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10586 LIBWINE_DEPENDS="wine.map"
10588 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10592 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10593 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10594 enable_winemac_drv=${enable_winemac_drv:-no}
10597 if test "x$with_mingw" != xno
10599 case "x$with_mingw" in
10600 x|xyes) case "$host_cpu" in
10602 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10604 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10606 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
10607 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10608 mingw32-gcc clang" ;;
10610 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
10611 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10613 ac_prefix_list="" ;;
10615 for ac_prog in $ac_prefix_list
10617 # Extract the first word of "$ac_prog", so it can be a program name with args.
10618 set dummy $ac_prog; ac_word=$2
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10620 printf %s "checking for $ac_word... " >&6; }
10621 if test ${ac_cv_prog_CROSSCC+y}
10623 printf %s "(cached) " >&6
10625 if test -n "$CROSSCC"; then
10626 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10629 for as_dir in $PATH
10632 case $as_dir in #(((
10635 *) as_dir=$as_dir/ ;;
10637 for ac_exec_ext in '' $ac_executable_extensions; do
10638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10639 ac_cv_prog_CROSSCC="$ac_prog"
10640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10649 CROSSCC=$ac_cv_prog_CROSSCC
10650 if test -n "$CROSSCC"; then
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10652 printf "%s\n" "$CROSSCC" >&6; }
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10655 printf "%s\n" "no" >&6; }
10659 test -n "$CROSSCC" && break
10661 test -n "$CROSSCC" || CROSSCC="false"
10663 *) CROSSCC=$with_mingw ;;
10665 if test "$CROSSCC" != "false"
10668 saved_CFLAGS=$CFLAGS
10669 saved_LDFLAGS=$LDFLAGS
10670 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10672 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10677 CFLAGS=$CROSSCFLAGS
10678 LDFLAGS=$CROSSLDFLAGS
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10680 printf %s "checking whether $CROSSCC works... " >&6; }
10681 if test ${wine_cv_crosscc+y}
10683 printf %s "(cached) " >&6
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10696 if ac_fn_c_try_compile "$LINENO"
10698 wine_cv_crosscc=yes
10702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10705 printf "%s\n" "$wine_cv_crosscc" >&6; }
10706 if test $wine_cv_crosscc = yes
10710 while test $# -ge 1
10713 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10714 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10719 llvm_target=$CROSSTARGET
10720 llvm_cflags="-fuse-ld=lld"
10721 if test -z "$llvm_target"
10724 *i[3456789]86*) llvm_target=i686-windows ;;
10725 *) llvm_target=$host_cpu-windows ;;
10728 case $llvm_target in
10729 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10731 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10733 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10734 if eval test \${$as_ac_var+y}
10736 printf %s "(cached) " >&6
10738 ac_wine_try_cflags_saved=$CFLAGS
10739 ac_wine_try_cflags_saved_cc=$CC
10740 ac_wine_try_cflags_saved_exeext=$ac_exeext
10741 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10746 int __cdecl mainCRTStartup(void) { return 0; }
10748 if ac_fn_c_try_link "$LINENO"
10750 eval "$as_ac_var=yes"
10752 eval "$as_ac_var=no"
10754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10755 conftest$ac_exeext conftest.$ac_ext
10756 CFLAGS=$ac_wine_try_cflags_saved
10757 CC=$ac_wine_try_cflags_saved_cc
10758 ac_exeext=$ac_wine_try_cflags_saved_exeext
10760 eval ac_res=\$$as_ac_var
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10762 printf "%s\n" "$ac_res" >&6; }
10763 if eval test \"x\$"$as_ac_var"\" = x"yes"
10765 CROSSTARGET=$llvm_target
10766 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10767 DELAYLOADFLAG="-Wl,-delayload,"
10769 CFLAGS="$CFLAGS $llvm_cflags"
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10773 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10774 if test ${wine_cv_crosscc_c99+y}
10776 printf %s "(cached) " >&6
10778 wine_cv_crosscc_c99=no
10779 for arg in '' '-std=gnu99'
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 $ac_c_conftest_c99_program
10786 if ac_fn_c_try_compile "$LINENO"
10788 wine_cv_crosscc_c99=$arg
10790 wine_cv_crosscc_c99=no
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10793 test "x$wine_cv_crosscc_c99" != xno && break
10797 case "x$wine_cv_crosscc_c99" in
10798 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10799 printf "%s\n" "none needed" >&6; } ;;
10800 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10801 printf "%s\n" "unsupported" >&6; } ;;
10802 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10803 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10804 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10808 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10809 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10811 printf %s "(cached) " >&6
10813 ac_wine_try_cflags_saved=$CFLAGS
10814 ac_wine_try_cflags_saved_cc=$CC
10815 ac_wine_try_cflags_saved_exeext=$ac_exeext
10816 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 int __cdecl mainCRTStartup(void) { return 0; }
10823 if ac_fn_c_try_link "$LINENO"
10825 ac_cv_crosscflags__fno_strict_aliasing=yes
10827 ac_cv_crosscflags__fno_strict_aliasing=no
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 CFLAGS=$ac_wine_try_cflags_saved
10832 CC=$ac_wine_try_cflags_saved_cc
10833 ac_exeext=$ac_wine_try_cflags_saved_exeext
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10836 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10837 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10839 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10842 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10843 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10845 printf %s "(cached) " >&6
10847 ac_wine_try_cflags_saved=$CFLAGS
10848 ac_wine_try_cflags_saved_cc=$CC
10849 ac_wine_try_cflags_saved_exeext=$ac_exeext
10850 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10855 int __cdecl mainCRTStartup(void) { return 0; }
10857 if ac_fn_c_try_link "$LINENO"
10859 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10861 ac_cv_crosscflags__Werror_unknown_warning_option=no
10863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10864 conftest$ac_exeext conftest.$ac_ext
10865 CFLAGS=$ac_wine_try_cflags_saved
10866 CC=$ac_wine_try_cflags_saved_cc
10867 ac_exeext=$ac_wine_try_cflags_saved_exeext
10869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10870 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10871 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10873 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10876 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10877 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10879 printf %s "(cached) " >&6
10881 ac_wine_try_cflags_saved=$CFLAGS
10882 ac_wine_try_cflags_saved_cc=$CC
10883 ac_wine_try_cflags_saved_exeext=$ac_exeext
10884 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10889 int __cdecl mainCRTStartup(void) { return 0; }
10891 if ac_fn_c_try_link "$LINENO"
10893 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10895 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10898 conftest$ac_exeext conftest.$ac_ext
10899 CFLAGS=$ac_wine_try_cflags_saved
10900 CC=$ac_wine_try_cflags_saved_cc
10901 ac_exeext=$ac_wine_try_cflags_saved_exeext
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10904 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10905 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10907 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10910 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10911 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10913 printf %s "(cached) " >&6
10915 ac_wine_try_cflags_saved=$CFLAGS
10916 ac_wine_try_cflags_saved_cc=$CC
10917 ac_wine_try_cflags_saved_exeext=$ac_exeext
10918 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 int __cdecl mainCRTStartup(void) { return 0; }
10925 if ac_fn_c_try_link "$LINENO"
10927 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10929 ac_cv_crosscflags__Wdeclaration_after_statement=no
10931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10932 conftest$ac_exeext conftest.$ac_ext
10933 CFLAGS=$ac_wine_try_cflags_saved
10934 CC=$ac_wine_try_cflags_saved_cc
10935 ac_exeext=$ac_wine_try_cflags_saved_exeext
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10938 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10939 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10941 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10944 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10945 if test ${ac_cv_crosscflags__Wempty_body+y}
10947 printf %s "(cached) " >&6
10949 ac_wine_try_cflags_saved=$CFLAGS
10950 ac_wine_try_cflags_saved_cc=$CC
10951 ac_wine_try_cflags_saved_exeext=$ac_exeext
10952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 int __cdecl mainCRTStartup(void) { return 0; }
10959 if ac_fn_c_try_link "$LINENO"
10961 ac_cv_crosscflags__Wempty_body=yes
10963 ac_cv_crosscflags__Wempty_body=no
10965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10966 conftest$ac_exeext conftest.$ac_ext
10967 CFLAGS=$ac_wine_try_cflags_saved
10968 CC=$ac_wine_try_cflags_saved_cc
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10972 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10973 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10975 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10978 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10979 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10981 printf %s "(cached) " >&6
10983 ac_wine_try_cflags_saved=$CFLAGS
10984 ac_wine_try_cflags_saved_cc=$CC
10985 ac_wine_try_cflags_saved_exeext=$ac_exeext
10986 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 int __cdecl mainCRTStartup(void) { return 0; }
10993 if ac_fn_c_try_link "$LINENO"
10995 ac_cv_crosscflags__Wignored_qualifiers=yes
10997 ac_cv_crosscflags__Wignored_qualifiers=no
10999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11000 conftest$ac_exeext conftest.$ac_ext
11001 CFLAGS=$ac_wine_try_cflags_saved
11002 CC=$ac_wine_try_cflags_saved_cc
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11006 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11007 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11009 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11012 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11013 if test ${ac_cv_crosscflags__Winit_self+y}
11015 printf %s "(cached) " >&6
11017 ac_wine_try_cflags_saved=$CFLAGS
11018 ac_wine_try_cflags_saved_cc=$CC
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11027 if ac_fn_c_try_link "$LINENO"
11029 ac_cv_crosscflags__Winit_self=yes
11031 ac_cv_crosscflags__Winit_self=no
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 CC=$ac_wine_try_cflags_saved_cc
11037 ac_exeext=$ac_wine_try_cflags_saved_exeext
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11040 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11041 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11043 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11046 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11047 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11049 printf %s "(cached) " >&6
11051 ac_wine_try_cflags_saved=$CFLAGS
11052 ac_wine_try_cflags_saved_cc=$CC
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11059 int __cdecl mainCRTStartup(void) { return 0; }
11061 if ac_fn_c_try_link "$LINENO"
11063 ac_cv_crosscflags__Wpacked_not_aligned=yes
11065 ac_cv_crosscflags__Wpacked_not_aligned=no
11067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11068 conftest$ac_exeext conftest.$ac_ext
11069 CFLAGS=$ac_wine_try_cflags_saved
11070 CC=$ac_wine_try_cflags_saved_cc
11071 ac_exeext=$ac_wine_try_cflags_saved_exeext
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11074 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11075 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11080 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11081 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11083 printf %s "(cached) " >&6
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_cc=$CC
11087 ac_wine_try_cflags_saved_exeext=$ac_exeext
11088 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11093 int __cdecl mainCRTStartup(void) { return 0; }
11095 if ac_fn_c_try_link "$LINENO"
11097 ac_cv_crosscflags__Wpragma_pack=yes
11099 ac_cv_crosscflags__Wpragma_pack=no
11101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11102 conftest$ac_exeext conftest.$ac_ext
11103 CFLAGS=$ac_wine_try_cflags_saved
11104 CC=$ac_wine_try_cflags_saved_cc
11105 ac_exeext=$ac_wine_try_cflags_saved_exeext
11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11108 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11109 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11114 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11115 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11117 printf %s "(cached) " >&6
11119 ac_wine_try_cflags_saved=$CFLAGS
11120 ac_wine_try_cflags_saved_cc=$CC
11121 ac_wine_try_cflags_saved_exeext=$ac_exeext
11122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11127 int __cdecl mainCRTStartup(void) { return 0; }
11129 if ac_fn_c_try_link "$LINENO"
11131 ac_cv_crosscflags__Wshift_overflow_2=yes
11133 ac_cv_crosscflags__Wshift_overflow_2=no
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11136 conftest$ac_exeext conftest.$ac_ext
11137 CFLAGS=$ac_wine_try_cflags_saved
11138 CC=$ac_wine_try_cflags_saved_cc
11139 ac_exeext=$ac_wine_try_cflags_saved_exeext
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11142 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11143 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11148 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11149 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11151 printf %s "(cached) " >&6
11153 ac_wine_try_cflags_saved=$CFLAGS
11154 ac_wine_try_cflags_saved_cc=$CC
11155 ac_wine_try_cflags_saved_exeext=$ac_exeext
11156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11161 int __cdecl mainCRTStartup(void) { return 0; }
11163 if ac_fn_c_try_link "$LINENO"
11165 ac_cv_crosscflags__Wstrict_prototypes=yes
11167 ac_cv_crosscflags__Wstrict_prototypes=no
11169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11170 conftest$ac_exeext conftest.$ac_ext
11171 CFLAGS=$ac_wine_try_cflags_saved
11172 CC=$ac_wine_try_cflags_saved_cc
11173 ac_exeext=$ac_wine_try_cflags_saved_exeext
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11176 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11177 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11182 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11183 if test ${ac_cv_crosscflags__Wtype_limits+y}
11185 printf %s "(cached) " >&6
11187 ac_wine_try_cflags_saved=$CFLAGS
11188 ac_wine_try_cflags_saved_cc=$CC
11189 ac_wine_try_cflags_saved_exeext=$ac_exeext
11190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11195 int __cdecl mainCRTStartup(void) { return 0; }
11197 if ac_fn_c_try_link "$LINENO"
11199 ac_cv_crosscflags__Wtype_limits=yes
11201 ac_cv_crosscflags__Wtype_limits=no
11203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11204 conftest$ac_exeext conftest.$ac_ext
11205 CFLAGS=$ac_wine_try_cflags_saved
11206 CC=$ac_wine_try_cflags_saved_cc
11207 ac_exeext=$ac_wine_try_cflags_saved_exeext
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11210 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11211 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11213 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11216 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11217 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11219 printf %s "(cached) " >&6
11221 ac_wine_try_cflags_saved=$CFLAGS
11222 ac_wine_try_cflags_saved_cc=$CC
11223 ac_wine_try_cflags_saved_exeext=$ac_exeext
11224 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229 int __cdecl mainCRTStartup(void) { return 0; }
11231 if ac_fn_c_try_link "$LINENO"
11233 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11235 ac_cv_crosscflags__Wunused_but_set_parameter=no
11237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11238 conftest$ac_exeext conftest.$ac_ext
11239 CFLAGS=$ac_wine_try_cflags_saved
11240 CC=$ac_wine_try_cflags_saved_cc
11241 ac_exeext=$ac_wine_try_cflags_saved_exeext
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11244 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11245 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11247 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11250 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11251 if test ${ac_cv_crosscflags__Wvla+y}
11253 printf %s "(cached) " >&6
11255 ac_wine_try_cflags_saved=$CFLAGS
11256 ac_wine_try_cflags_saved_cc=$CC
11257 ac_wine_try_cflags_saved_exeext=$ac_exeext
11258 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11263 int __cdecl mainCRTStartup(void) { return 0; }
11265 if ac_fn_c_try_link "$LINENO"
11267 ac_cv_crosscflags__Wvla=yes
11269 ac_cv_crosscflags__Wvla=no
11271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11272 conftest$ac_exeext conftest.$ac_ext
11273 CFLAGS=$ac_wine_try_cflags_saved
11274 CC=$ac_wine_try_cflags_saved_cc
11275 ac_exeext=$ac_wine_try_cflags_saved_exeext
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11278 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11279 if test "x$ac_cv_crosscflags__Wvla" = xyes
11281 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11284 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11285 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11287 printf %s "(cached) " >&6
11289 ac_wine_try_cflags_saved=$CFLAGS
11290 ac_wine_try_cflags_saved_cc=$CC
11291 ac_wine_try_cflags_saved_exeext=$ac_exeext
11292 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11297 int __cdecl mainCRTStartup(void) { return 0; }
11299 if ac_fn_c_try_link "$LINENO"
11301 ac_cv_crosscflags__Wwrite_strings=yes
11303 ac_cv_crosscflags__Wwrite_strings=no
11305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11306 conftest$ac_exeext conftest.$ac_ext
11307 CFLAGS=$ac_wine_try_cflags_saved
11308 CC=$ac_wine_try_cflags_saved_cc
11309 ac_exeext=$ac_wine_try_cflags_saved_exeext
11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11312 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11313 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11315 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11318 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11319 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11321 printf %s "(cached) " >&6
11323 ac_wine_try_cflags_saved=$CFLAGS
11324 ac_wine_try_cflags_saved_cc=$CC
11325 ac_wine_try_cflags_saved_exeext=$ac_exeext
11326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331 int __cdecl mainCRTStartup(void) { return 0; }
11333 if ac_fn_c_try_link "$LINENO"
11335 ac_cv_crosscflags__Wpointer_arith=yes
11337 ac_cv_crosscflags__Wpointer_arith=no
11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11340 conftest$ac_exeext conftest.$ac_ext
11341 CFLAGS=$ac_wine_try_cflags_saved
11342 CC=$ac_wine_try_cflags_saved_cc
11343 ac_exeext=$ac_wine_try_cflags_saved_exeext
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11346 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11347 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11349 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11352 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11353 if test ${ac_cv_crosscflags__Wlogical_op+y}
11355 printf %s "(cached) " >&6
11357 ac_wine_try_cflags_saved=$CFLAGS
11358 ac_wine_try_cflags_saved_cc=$CC
11359 ac_wine_try_cflags_saved_exeext=$ac_exeext
11360 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11365 int __cdecl mainCRTStartup(void) { return 0; }
11367 if ac_fn_c_try_link "$LINENO"
11369 ac_cv_crosscflags__Wlogical_op=yes
11371 ac_cv_crosscflags__Wlogical_op=no
11373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11374 conftest$ac_exeext conftest.$ac_ext
11375 CFLAGS=$ac_wine_try_cflags_saved
11376 CC=$ac_wine_try_cflags_saved_cc
11377 ac_exeext=$ac_wine_try_cflags_saved_exeext
11379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11380 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11381 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11383 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11386 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11387 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11389 printf %s "(cached) " >&6
11391 ac_wine_try_cflags_saved=$CFLAGS
11392 ac_wine_try_cflags_saved_cc=$CC
11393 ac_wine_try_cflags_saved_exeext=$ac_exeext
11394 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399 int __cdecl mainCRTStartup(void) { return 0; }
11401 if ac_fn_c_try_link "$LINENO"
11403 ac_cv_crosscflags__Wabsolute_value=yes
11405 ac_cv_crosscflags__Wabsolute_value=no
11407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11408 conftest$ac_exeext conftest.$ac_ext
11409 CFLAGS=$ac_wine_try_cflags_saved
11410 CC=$ac_wine_try_cflags_saved_cc
11411 ac_exeext=$ac_wine_try_cflags_saved_exeext
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11414 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11415 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11417 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11421 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11422 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11423 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11425 printf %s "(cached) " >&6
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_cc=$CC
11429 ac_wine_try_cflags_saved_exeext=$ac_exeext
11430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11437 if ac_fn_c_try_link "$LINENO"
11439 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11441 ac_cv_crosscflags__fno_omit_frame_pointer=no
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 CC=$ac_wine_try_cflags_saved_cc
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11450 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11451 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup" >&5
11456 printf %s "checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
11457 if test ${ac_cv_crosscflags__Wl___disable_stdcall_fixup+y}
11459 printf %s "(cached) " >&6
11461 ac_wine_try_cflags_saved=$CFLAGS
11462 ac_wine_try_cflags_saved_cc=$CC
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11471 if ac_fn_c_try_link "$LINENO"
11473 ac_cv_crosscflags__Wl___disable_stdcall_fixup=yes
11475 ac_cv_crosscflags__Wl___disable_stdcall_fixup=no
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 CC=$ac_wine_try_cflags_saved_cc
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&5
11484 printf "%s\n" "$ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&6; }
11485 if test "x$ac_cv_crosscflags__Wl___disable_stdcall_fixup" = xyes
11487 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--disable-stdcall-fixup"
11489 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11490 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11491 if test ${ac_cv_crosscflags__Wno_format+y}
11493 printf %s "(cached) " >&6
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_cc=$CC
11497 ac_wine_try_cflags_saved_exeext=$ac_exeext
11498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11505 if ac_fn_c_try_link "$LINENO"
11507 ac_cv_crosscflags__Wno_format=yes
11509 ac_cv_crosscflags__Wno_format=no
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 CC=$ac_wine_try_cflags_saved_cc
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11518 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11519 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11524 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11525 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11527 printf %s "(cached) " >&6
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_cc=$CC
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 int __cdecl mainCRTStartup(void) { return 0; }
11539 if ac_fn_c_try_link "$LINENO"
11541 ac_cv_crosscflags__Wformat_overflow=yes
11543 ac_cv_crosscflags__Wformat_overflow=no
11545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11546 conftest$ac_exeext conftest.$ac_ext
11547 CFLAGS=$ac_wine_try_cflags_saved
11548 CC=$ac_wine_try_cflags_saved_cc
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11552 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11553 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11555 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11558 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11559 if test ${ac_cv_crosscflags__Wnonnull+y}
11561 printf %s "(cached) " >&6
11563 ac_wine_try_cflags_saved=$CFLAGS
11564 ac_wine_try_cflags_saved_cc=$CC
11565 ac_wine_try_cflags_saved_exeext=$ac_exeext
11566 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 int __cdecl mainCRTStartup(void) { return 0; }
11573 if ac_fn_c_try_link "$LINENO"
11575 ac_cv_crosscflags__Wnonnull=yes
11577 ac_cv_crosscflags__Wnonnull=no
11579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11580 conftest$ac_exeext conftest.$ac_ext
11581 CFLAGS=$ac_wine_try_cflags_saved
11582 CC=$ac_wine_try_cflags_saved_cc
11583 ac_exeext=$ac_wine_try_cflags_saved_exeext
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11586 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11587 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11592 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11593 if test ${ac_cv_crosscflags__mcx16+y}
11595 printf %s "(cached) " >&6
11597 ac_wine_try_cflags_saved=$CFLAGS
11598 ac_wine_try_cflags_saved_cc=$CC
11599 ac_wine_try_cflags_saved_exeext=$ac_exeext
11600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11607 if ac_fn_c_try_link "$LINENO"
11609 ac_cv_crosscflags__mcx16=yes
11611 ac_cv_crosscflags__mcx16=no
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 CC=$ac_wine_try_cflags_saved_cc
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11620 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11621 if test "x$ac_cv_crosscflags__mcx16" = xyes
11623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11625 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11626 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11627 if test ${ac_cv_crosscflags__Wno_format+y}
11629 printf %s "(cached) " >&6
11631 ac_wine_try_cflags_saved=$CFLAGS
11632 ac_wine_try_cflags_saved_cc=$CC
11633 ac_wine_try_cflags_saved_exeext=$ac_exeext
11634 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11639 int __cdecl mainCRTStartup(void) { return 0; }
11641 if ac_fn_c_try_link "$LINENO"
11643 ac_cv_crosscflags__Wno_format=yes
11645 ac_cv_crosscflags__Wno_format=no
11647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11648 conftest$ac_exeext conftest.$ac_ext
11649 CFLAGS=$ac_wine_try_cflags_saved
11650 CC=$ac_wine_try_cflags_saved_cc
11651 ac_exeext=$ac_wine_try_cflags_saved_exeext
11653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11654 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11655 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11657 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11662 if test -z "$CROSSDEBUG"
11664 for ac_flag in $CROSSCFLAGS; do
11666 -gdwarf*) CROSSDEBUG=dwarf ;;
11667 -gcodeview) CROSSDEBUG=pdb ;;
11668 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11673 ac_debug_format_seen=""
11674 for ac_flag in $CROSSCFLAGS; do
11676 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11679 if test "x$ac_debug_format_seen" = x
11681 case $CROSSDEBUG in
11682 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11683 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11684 if test ${ac_cv_crosscflags__gdwarf_4+y}
11686 printf %s "(cached) " >&6
11688 ac_wine_try_cflags_saved=$CFLAGS
11689 ac_wine_try_cflags_saved_cc=$CC
11690 ac_wine_try_cflags_saved_exeext=$ac_exeext
11691 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11696 int __cdecl mainCRTStartup(void) { return 0; }
11698 if ac_fn_c_try_link "$LINENO"
11700 ac_cv_crosscflags__gdwarf_4=yes
11702 ac_cv_crosscflags__gdwarf_4=no
11704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11705 conftest$ac_exeext conftest.$ac_ext
11706 CFLAGS=$ac_wine_try_cflags_saved
11707 CC=$ac_wine_try_cflags_saved_cc
11708 ac_exeext=$ac_wine_try_cflags_saved_exeext
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11711 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11712 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11714 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11716 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11717 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11718 if test ${ac_cv_crosscflags__gcodeview+y}
11720 printf %s "(cached) " >&6
11722 ac_wine_try_cflags_saved=$CFLAGS
11723 ac_wine_try_cflags_saved_cc=$CC
11724 ac_wine_try_cflags_saved_exeext=$ac_exeext
11725 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11730 int __cdecl mainCRTStartup(void) { return 0; }
11732 if ac_fn_c_try_link "$LINENO"
11734 ac_cv_crosscflags__gcodeview=yes
11736 ac_cv_crosscflags__gcodeview=no
11738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11739 conftest$ac_exeext conftest.$ac_ext
11740 CFLAGS=$ac_wine_try_cflags_saved
11741 CC=$ac_wine_try_cflags_saved_cc
11742 ac_exeext=$ac_wine_try_cflags_saved_exeext
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11745 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11746 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11748 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11754 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11755 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11757 printf %s "(cached) " >&6
11759 ac_wine_try_cflags_saved=$CFLAGS
11760 ac_wine_try_cflags_saved_cc=$CC
11761 ac_wine_try_cflags_saved_exeext=$ac_exeext
11762 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11767 int __cdecl mainCRTStartup(void) { return 0; }
11769 if ac_fn_c_try_link "$LINENO"
11771 ac_cv_crosscflags__fexcess_precision_standard=yes
11773 ac_cv_crosscflags__fexcess_precision_standard=no
11775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11776 conftest$ac_exeext conftest.$ac_ext
11777 CFLAGS=$ac_wine_try_cflags_saved
11778 CC=$ac_wine_try_cflags_saved_cc
11779 ac_exeext=$ac_wine_try_cflags_saved_exeext
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11782 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11783 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11785 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11789 if test "x$enable_werror" = "xyes"
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11792 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11793 if test ${ac_cv_crosscflags__Werror+y}
11795 printf %s "(cached) " >&6
11797 ac_wine_try_cflags_saved=$CFLAGS
11798 ac_wine_try_cflags_saved_cc=$CC
11799 ac_wine_try_cflags_saved_exeext=$ac_exeext
11800 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11805 int __cdecl mainCRTStartup(void) { return 0; }
11807 if ac_fn_c_try_link "$LINENO"
11809 ac_cv_crosscflags__Werror=yes
11811 ac_cv_crosscflags__Werror=no
11813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11814 conftest$ac_exeext conftest.$ac_ext
11815 CFLAGS=$ac_wine_try_cflags_saved
11816 CC=$ac_wine_try_cflags_saved_cc
11817 ac_exeext=$ac_wine_try_cflags_saved_exeext
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11820 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11821 if test "x$ac_cv_crosscflags__Werror" = xyes
11823 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11826 if test "x$enable_build_id" = "xyes"
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11829 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11830 if test ${ac_cv_crosscflags__Wl___build_id+y}
11832 printf %s "(cached) " >&6
11834 ac_wine_try_cflags_saved=$CFLAGS
11835 ac_wine_try_cflags_saved_cc=$CC
11836 ac_wine_try_cflags_saved_exeext=$ac_exeext
11837 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 int __cdecl mainCRTStartup(void) { return 0; }
11844 if ac_fn_c_try_link "$LINENO"
11846 ac_cv_crosscflags__Wl___build_id=yes
11848 ac_cv_crosscflags__Wl___build_id=no
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11851 conftest$ac_exeext conftest.$ac_ext
11852 CFLAGS=$ac_wine_try_cflags_saved
11853 CC=$ac_wine_try_cflags_saved_cc
11854 ac_exeext=$ac_wine_try_cflags_saved_exeext
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11857 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11858 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11860 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11861 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11865 CFLAGS=$saved_CFLAGS
11866 LDFLAGS=$saved_LDFLAGS
11870 if test "x$CROSSTARGET" = "x"
11872 case "x$with_mingw" in
11873 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11875 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11876 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11882 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 ;;
11886 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11888 case "$host_cpu" in
11890 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11892 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11894 for ac_prog in $ac_prefix_list
11896 # Extract the first word of "$ac_prog", so it can be a program name with args.
11897 set dummy $ac_prog; ac_word=$2
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11899 printf %s "checking for $ac_word... " >&6; }
11900 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11902 printf %s "(cached) " >&6
11904 if test -n "$MINGW_PKG_CONFIG"; then
11905 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908 for as_dir in $PATH
11911 case $as_dir in #(((
11914 *) as_dir=$as_dir/ ;;
11916 for ac_exec_ext in '' $ac_executable_extensions; do
11917 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11918 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11928 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11929 if test -n "$MINGW_PKG_CONFIG"; then
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11931 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 printf "%s\n" "no" >&6; }
11938 test -n "$MINGW_PKG_CONFIG" && break
11940 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11942 if ${FAUDIO_PE_CFLAGS:+false} :
11944 if test ${MINGW_PKG_CONFIG+y}
11946 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11949 if ${FAUDIO_PE_LIBS:+false} :
11951 if test ${MINGW_PKG_CONFIG+y}
11953 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11956 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11957 ac_save_CPPFLAGS=$CPPFLAGS
11958 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11960 printf %s "checking for MinGW FAudio.h... " >&6; }
11961 if test ${ac_cv_mingw_header_FAudio_h+y}
11963 printf %s "(cached) " >&6
11965 ac_wine_check_headers_saved_cc=$CC
11966 ac_wine_check_headers_saved_exeext=$ac_exeext
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 #include <FAudio.h>
11981 if ac_fn_c_try_compile "$LINENO"
11983 ac_cv_mingw_header_FAudio_h=yes
11985 ac_cv_mingw_header_FAudio_h=no
11987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11988 CC=$ac_wine_check_headers_saved_cc
11989 ac_exeext=$ac_wine_check_headers_saved_exeext
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11992 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11993 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11996 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11997 if test ${ac_cv_mingw_lib_FAudio+y}
11999 printf %s "(cached) " >&6
12001 ac_wine_check_headers_saved_cc=$CC
12002 ac_wine_check_headers_saved_exeext=$ac_exeext
12003 ac_wine_check_headers_saved_libs=$LIBS
12006 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 char FAudio_CommitOperationSet ();
12017 return FAudio_CommitOperationSet ();
12022 if ac_fn_c_try_link "$LINENO"
12024 ac_cv_mingw_lib_FAudio=yes
12026 ac_cv_mingw_lib_FAudio=no
12028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12029 conftest$ac_exeext conftest.$ac_ext
12030 CC=$ac_wine_check_headers_saved_cc
12031 ac_exeext=$ac_wine_check_headers_saved_exeext
12032 LIBS=$ac_wine_check_headers_saved_libs
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12035 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12036 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12040 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12043 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12045 CPPFLAGS=$ac_save_CPPFLAGS
12047 if test "x$FAUDIO_PE_LIBS" = "x"
12049 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12052 if ${JPEG_PE_CFLAGS:+false} :
12054 if test ${MINGW_PKG_CONFIG+y}
12056 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12059 if ${JPEG_PE_LIBS:+false} :
12061 if test ${MINGW_PKG_CONFIG+y}
12063 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12067 ac_save_CPPFLAGS=$CPPFLAGS
12068 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12070 printf %s "checking for MinGW jpeglib.h... " >&6; }
12071 if test ${ac_cv_mingw_header_jpeglib_h+y}
12073 printf %s "(cached) " >&6
12075 ac_wine_check_headers_saved_cc=$CC
12076 ac_wine_check_headers_saved_exeext=$ac_exeext
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #include <stddef.h>
12083 #include <jpeglib.h>
12092 if ac_fn_c_try_compile "$LINENO"
12094 ac_cv_mingw_header_jpeglib_h=yes
12096 ac_cv_mingw_header_jpeglib_h=no
12098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12099 CC=$ac_wine_check_headers_saved_cc
12100 ac_exeext=$ac_wine_check_headers_saved_exeext
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12103 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12104 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12107 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12108 if test ${ac_cv_mingw_lib_jpeg+y}
12110 printf %s "(cached) " >&6
12112 ac_wine_check_headers_saved_cc=$CC
12113 ac_wine_check_headers_saved_exeext=$ac_exeext
12114 ac_wine_check_headers_saved_libs=$LIBS
12117 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 char jpeg_start_decompress ();
12128 return jpeg_start_decompress ();
12133 if ac_fn_c_try_link "$LINENO"
12135 ac_cv_mingw_lib_jpeg=yes
12137 ac_cv_mingw_lib_jpeg=no
12139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12140 conftest$ac_exeext conftest.$ac_ext
12141 CC=$ac_wine_check_headers_saved_cc
12142 ac_exeext=$ac_wine_check_headers_saved_exeext
12143 LIBS=$ac_wine_check_headers_saved_libs
12145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12146 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12147 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12151 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12154 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12156 CPPFLAGS=$ac_save_CPPFLAGS
12158 if test "x$JPEG_PE_LIBS" = "x"
12160 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12163 if ${LCMS2_PE_CFLAGS:+false} :
12165 if test ${MINGW_PKG_CONFIG+y}
12167 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12170 if ${LCMS2_PE_LIBS:+false} :
12172 if test ${MINGW_PKG_CONFIG+y}
12174 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12177 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12178 ac_save_CPPFLAGS=$CPPFLAGS
12179 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12181 printf %s "checking for MinGW lcms2.h... " >&6; }
12182 if test ${ac_cv_mingw_header_lcms2_h+y}
12184 printf %s "(cached) " >&6
12186 ac_wine_check_headers_saved_cc=$CC
12187 ac_wine_check_headers_saved_exeext=$ac_exeext
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12202 if ac_fn_c_try_compile "$LINENO"
12204 ac_cv_mingw_header_lcms2_h=yes
12206 ac_cv_mingw_header_lcms2_h=no
12208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12209 CC=$ac_wine_check_headers_saved_cc
12210 ac_exeext=$ac_wine_check_headers_saved_exeext
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12213 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12214 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12217 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12218 if test ${ac_cv_mingw_lib_lcms2+y}
12220 printf %s "(cached) " >&6
12222 ac_wine_check_headers_saved_cc=$CC
12223 ac_wine_check_headers_saved_exeext=$ac_exeext
12224 ac_wine_check_headers_saved_libs=$LIBS
12227 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 char cmsOpenProfileFromFile ();
12238 return cmsOpenProfileFromFile ();
12243 if ac_fn_c_try_link "$LINENO"
12245 ac_cv_mingw_lib_lcms2=yes
12247 ac_cv_mingw_lib_lcms2=no
12249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12250 conftest$ac_exeext conftest.$ac_ext
12251 CC=$ac_wine_check_headers_saved_cc
12252 ac_exeext=$ac_wine_check_headers_saved_exeext
12253 LIBS=$ac_wine_check_headers_saved_libs
12255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12256 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12257 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12261 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12264 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12266 CPPFLAGS=$ac_save_CPPFLAGS
12268 if test "x$LCMS2_PE_LIBS" = "x"
12270 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12273 if ${MPG123_PE_CFLAGS:+false} :
12275 if test ${MINGW_PKG_CONFIG+y}
12277 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12280 if ${MPG123_PE_LIBS:+false} :
12282 if test ${MINGW_PKG_CONFIG+y}
12284 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12287 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12288 ac_save_CPPFLAGS=$CPPFLAGS
12289 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12291 printf %s "checking for MinGW mpg123.h... " >&6; }
12292 if test ${ac_cv_mingw_header_mpg123_h+y}
12294 printf %s "(cached) " >&6
12296 ac_wine_check_headers_saved_cc=$CC
12297 ac_wine_check_headers_saved_exeext=$ac_exeext
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 #include <mpg123.h>
12312 if ac_fn_c_try_compile "$LINENO"
12314 ac_cv_mingw_header_mpg123_h=yes
12316 ac_cv_mingw_header_mpg123_h=no
12318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12319 CC=$ac_wine_check_headers_saved_cc
12320 ac_exeext=$ac_wine_check_headers_saved_exeext
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12323 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12324 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12327 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12328 if test ${ac_cv_mingw_lib_mpg123+y}
12330 printf %s "(cached) " >&6
12332 ac_wine_check_headers_saved_cc=$CC
12333 ac_wine_check_headers_saved_exeext=$ac_exeext
12334 ac_wine_check_headers_saved_libs=$LIBS
12337 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 char mpg123_feed ();
12348 return mpg123_feed ();
12353 if ac_fn_c_try_link "$LINENO"
12355 ac_cv_mingw_lib_mpg123=yes
12357 ac_cv_mingw_lib_mpg123=no
12359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12360 conftest$ac_exeext conftest.$ac_ext
12361 CC=$ac_wine_check_headers_saved_cc
12362 ac_exeext=$ac_wine_check_headers_saved_exeext
12363 LIBS=$ac_wine_check_headers_saved_libs
12365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12366 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12367 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12371 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12374 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12376 CPPFLAGS=$ac_save_CPPFLAGS
12378 if test "x$MPG123_PE_LIBS" = "x"
12380 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12383 if ${PNG_PE_CFLAGS:+false} :
12385 if test ${MINGW_PKG_CONFIG+y}
12387 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12390 if ${PNG_PE_LIBS:+false} :
12392 if test ${MINGW_PKG_CONFIG+y}
12394 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12398 ac_save_CPPFLAGS=$CPPFLAGS
12399 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12401 printf %s "checking for MinGW png.h... " >&6; }
12402 if test ${ac_cv_mingw_header_png_h+y}
12404 printf %s "(cached) " >&6
12406 ac_wine_check_headers_saved_cc=$CC
12407 ac_wine_check_headers_saved_exeext=$ac_exeext
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12422 if ac_fn_c_try_compile "$LINENO"
12424 ac_cv_mingw_header_png_h=yes
12426 ac_cv_mingw_header_png_h=no
12428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12429 CC=$ac_wine_check_headers_saved_cc
12430 ac_exeext=$ac_wine_check_headers_saved_exeext
12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12433 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12434 if test "x$ac_cv_mingw_header_png_h" = xyes
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12437 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12438 if test ${ac_cv_mingw_lib_png+y}
12440 printf %s "(cached) " >&6
12442 ac_wine_check_headers_saved_cc=$CC
12443 ac_wine_check_headers_saved_exeext=$ac_exeext
12444 ac_wine_check_headers_saved_libs=$LIBS
12447 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 char png_create_read_struct ();
12458 return png_create_read_struct ();
12463 if ac_fn_c_try_link "$LINENO"
12465 ac_cv_mingw_lib_png=yes
12467 ac_cv_mingw_lib_png=no
12469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12470 conftest$ac_exeext conftest.$ac_ext
12471 CC=$ac_wine_check_headers_saved_cc
12472 ac_exeext=$ac_wine_check_headers_saved_exeext
12473 LIBS=$ac_wine_check_headers_saved_libs
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12476 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12477 if test "x$ac_cv_mingw_lib_png" = xyes
12481 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12484 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12486 CPPFLAGS=$ac_save_CPPFLAGS
12488 if test "x$PNG_PE_LIBS" = "x"
12490 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12493 if ${TIFF_PE_CFLAGS:+false} :
12495 if test ${MINGW_PKG_CONFIG+y}
12497 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12500 if ${TIFF_PE_LIBS:+false} :
12502 if test ${MINGW_PKG_CONFIG+y}
12504 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12508 ac_save_CPPFLAGS=$CPPFLAGS
12509 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12511 printf %s "checking for MinGW tiffio.h... " >&6; }
12512 if test ${ac_cv_mingw_header_tiffio_h+y}
12514 printf %s "(cached) " >&6
12516 ac_wine_check_headers_saved_cc=$CC
12517 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 #include <tiffio.h>
12532 if ac_fn_c_try_compile "$LINENO"
12534 ac_cv_mingw_header_tiffio_h=yes
12536 ac_cv_mingw_header_tiffio_h=no
12538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12539 CC=$ac_wine_check_headers_saved_cc
12540 ac_exeext=$ac_wine_check_headers_saved_exeext
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12543 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12544 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12547 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12548 if test ${ac_cv_mingw_lib_tiff+y}
12550 printf %s "(cached) " >&6
12552 ac_wine_check_headers_saved_cc=$CC
12553 ac_wine_check_headers_saved_exeext=$ac_exeext
12554 ac_wine_check_headers_saved_libs=$LIBS
12557 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 char TIFFClientOpen ();
12568 return TIFFClientOpen ();
12573 if ac_fn_c_try_link "$LINENO"
12575 ac_cv_mingw_lib_tiff=yes
12577 ac_cv_mingw_lib_tiff=no
12579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12580 conftest$ac_exeext conftest.$ac_ext
12581 CC=$ac_wine_check_headers_saved_cc
12582 ac_exeext=$ac_wine_check_headers_saved_exeext
12583 LIBS=$ac_wine_check_headers_saved_libs
12585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12586 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12587 if test "x$ac_cv_mingw_lib_tiff" = xyes
12591 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12594 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12596 CPPFLAGS=$ac_save_CPPFLAGS
12598 if test "x$TIFF_PE_LIBS" = "x"
12600 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12603 if ${XML2_PE_CFLAGS:+false} :
12605 if test ${MINGW_PKG_CONFIG+y}
12607 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12610 if ${XML2_PE_LIBS:+false} :
12612 if test ${MINGW_PKG_CONFIG+y}
12614 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12617 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12618 ac_save_CPPFLAGS=$CPPFLAGS
12619 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12621 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12622 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12624 printf %s "(cached) " >&6
12626 ac_wine_check_headers_saved_cc=$CC
12627 ac_wine_check_headers_saved_exeext=$ac_exeext
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 #include <libxml/parser.h>
12642 if ac_fn_c_try_compile "$LINENO"
12644 ac_cv_mingw_header_libxml_parser_h=yes
12646 ac_cv_mingw_header_libxml_parser_h=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12649 CC=$ac_wine_check_headers_saved_cc
12650 ac_exeext=$ac_wine_check_headers_saved_exeext
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12653 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12654 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12659 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12660 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12662 printf %s "(cached) " >&6
12664 ac_wine_check_headers_saved_cc=$CC
12665 ac_wine_check_headers_saved_exeext=$ac_exeext
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 #include <libxml/xmlsave.h>
12680 if ac_fn_c_try_compile "$LINENO"
12682 ac_cv_mingw_header_libxml_xmlsave_h=yes
12684 ac_cv_mingw_header_libxml_xmlsave_h=no
12686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12687 CC=$ac_wine_check_headers_saved_cc
12688 ac_exeext=$ac_wine_check_headers_saved_exeext
12690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12691 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12692 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12697 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12698 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12700 printf %s "(cached) " >&6
12702 ac_wine_check_headers_saved_cc=$CC
12703 ac_wine_check_headers_saved_exeext=$ac_exeext
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 #include <libxml/SAX2.h>
12718 if ac_fn_c_try_compile "$LINENO"
12720 ac_cv_mingw_header_libxml_SAX2_h=yes
12722 ac_cv_mingw_header_libxml_SAX2_h=no
12724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12725 CC=$ac_wine_check_headers_saved_cc
12726 ac_exeext=$ac_wine_check_headers_saved_exeext
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12729 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12730 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12734 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"
12736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12737 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12738 if test ${ac_cv_mingw_lib_xml2+y}
12740 printf %s "(cached) " >&6
12742 ac_wine_check_headers_saved_cc=$CC
12743 ac_wine_check_headers_saved_exeext=$ac_exeext
12744 ac_wine_check_headers_saved_libs=$LIBS
12747 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 char xmlFirstElementChild ();
12758 return xmlFirstElementChild ();
12763 if ac_fn_c_try_link "$LINENO"
12765 ac_cv_mingw_lib_xml2=yes
12767 ac_cv_mingw_lib_xml2=no
12769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12770 conftest$ac_exeext conftest.$ac_ext
12771 CC=$ac_wine_check_headers_saved_cc
12772 ac_exeext=$ac_wine_check_headers_saved_exeext
12773 LIBS=$ac_wine_check_headers_saved_libs
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12776 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12777 if test "x$ac_cv_mingw_lib_xml2" = xyes
12781 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12787 CPPFLAGS=$ac_save_CPPFLAGS
12789 if test "x$XML2_PE_LIBS" = "x"
12791 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12794 if ${XSLT_PE_CFLAGS:+false} :
12796 if test ${MINGW_PKG_CONFIG+y}
12798 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12801 if ${XSLT_PE_LIBS:+false} :
12803 if test ${MINGW_PKG_CONFIG+y}
12805 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12808 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12809 ac_save_CPPFLAGS=$CPPFLAGS
12810 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12812 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12813 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12815 printf %s "(cached) " >&6
12817 ac_wine_check_headers_saved_cc=$CC
12818 ac_wine_check_headers_saved_exeext=$ac_exeext
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12824 #include <libxslt/pattern.h>
12833 if ac_fn_c_try_compile "$LINENO"
12835 ac_cv_mingw_header_libxslt_pattern_h=yes
12837 ac_cv_mingw_header_libxslt_pattern_h=no
12839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12840 CC=$ac_wine_check_headers_saved_cc
12841 ac_exeext=$ac_wine_check_headers_saved_exeext
12843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12844 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12845 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12850 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12851 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12853 printf %s "(cached) " >&6
12855 ac_wine_check_headers_saved_cc=$CC
12856 ac_wine_check_headers_saved_exeext=$ac_exeext
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 #include <libxslt/transform.h>
12871 if ac_fn_c_try_compile "$LINENO"
12873 ac_cv_mingw_header_libxslt_transform_h=yes
12875 ac_cv_mingw_header_libxslt_transform_h=no
12877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12878 CC=$ac_wine_check_headers_saved_cc
12879 ac_exeext=$ac_wine_check_headers_saved_exeext
12881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12882 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12883 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12887 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12890 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12891 if test ${ac_cv_mingw_lib_xslt+y}
12893 printf %s "(cached) " >&6
12895 ac_wine_check_headers_saved_cc=$CC
12896 ac_wine_check_headers_saved_exeext=$ac_exeext
12897 ac_wine_check_headers_saved_libs=$LIBS
12900 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 /* Override any GCC internal prototype to avoid an error.
12905 Use char because int might match the return type of a GCC
12906 builtin and then its argument prototype would still apply. */
12907 char xsltCompilePattern ();
12911 return xsltCompilePattern ();
12916 if ac_fn_c_try_link "$LINENO"
12918 ac_cv_mingw_lib_xslt=yes
12920 ac_cv_mingw_lib_xslt=no
12922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12923 conftest$ac_exeext conftest.$ac_ext
12924 CC=$ac_wine_check_headers_saved_cc
12925 ac_exeext=$ac_wine_check_headers_saved_exeext
12926 LIBS=$ac_wine_check_headers_saved_libs
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12929 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12930 if test "x$ac_cv_mingw_lib_xslt" = xyes
12934 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12940 CPPFLAGS=$ac_save_CPPFLAGS
12942 if test "x$XSLT_PE_LIBS" = "x"
12944 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12947 if ${VKD3D_PE_CFLAGS:+false} :
12949 if test ${MINGW_PKG_CONFIG+y}
12951 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12954 if ${VKD3D_PE_LIBS:+false} :
12956 if test ${MINGW_PKG_CONFIG+y}
12958 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12961 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12962 ac_save_CPPFLAGS=$CPPFLAGS
12963 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12965 printf %s "checking for MinGW vkd3d.h... " >&6; }
12966 if test ${ac_cv_mingw_header_vkd3d_h+y}
12968 printf %s "(cached) " >&6
12970 ac_wine_check_headers_saved_cc=$CC
12971 ac_wine_check_headers_saved_exeext=$ac_exeext
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12986 if ac_fn_c_try_compile "$LINENO"
12988 ac_cv_mingw_header_vkd3d_h=yes
12990 ac_cv_mingw_header_vkd3d_h=no
12992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12993 CC=$ac_wine_check_headers_saved_cc
12994 ac_exeext=$ac_wine_check_headers_saved_exeext
12996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12997 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12998 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13003 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13004 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13006 printf %s "(cached) " >&6
13008 ac_wine_check_headers_saved_cc=$CC
13009 ac_wine_check_headers_saved_exeext=$ac_exeext
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 #include <vkd3d_shader.h>
13024 if ac_fn_c_try_compile "$LINENO"
13026 ac_cv_mingw_header_vkd3d_shader_h=yes
13028 ac_cv_mingw_header_vkd3d_shader_h=no
13030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13031 CC=$ac_wine_check_headers_saved_cc
13032 ac_exeext=$ac_wine_check_headers_saved_exeext
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13035 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13036 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13040 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13043 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13044 if test ${ac_cv_mingw_lib_vkd3d+y}
13046 printf %s "(cached) " >&6
13048 ac_wine_check_headers_saved_cc=$CC
13049 ac_wine_check_headers_saved_exeext=$ac_exeext
13050 ac_wine_check_headers_saved_libs=$LIBS
13053 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 /* Override any GCC internal prototype to avoid an error.
13058 Use char because int might match the return type of a GCC
13059 builtin and then its argument prototype would still apply. */
13060 char vkd3d_set_log_callback ();
13064 return vkd3d_set_log_callback ();
13069 if ac_fn_c_try_link "$LINENO"
13071 ac_cv_mingw_lib_vkd3d=yes
13073 ac_cv_mingw_lib_vkd3d=no
13075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13076 conftest$ac_exeext conftest.$ac_ext
13077 CC=$ac_wine_check_headers_saved_cc
13078 ac_exeext=$ac_wine_check_headers_saved_exeext
13079 LIBS=$ac_wine_check_headers_saved_libs
13081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13082 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13083 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13090 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13091 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13093 printf %s "(cached) " >&6
13095 ac_wine_check_headers_saved_cc=$CC
13096 ac_wine_check_headers_saved_exeext=$ac_exeext
13097 ac_wine_check_headers_saved_libs=$LIBS
13100 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h. */
13104 /* Override any GCC internal prototype to avoid an error.
13105 Use char because int might match the return type of a GCC
13106 builtin and then its argument prototype would still apply. */
13107 char vkd3d_shader_compile ();
13111 return vkd3d_shader_compile ();
13116 if ac_fn_c_try_link "$LINENO"
13118 ac_cv_mingw_lib_vkd3d_shader=yes
13120 ac_cv_mingw_lib_vkd3d_shader=no
13122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13123 conftest$ac_exeext conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13126 LIBS=$ac_wine_check_headers_saved_libs
13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13129 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13130 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13136 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13145 CPPFLAGS=$ac_save_CPPFLAGS
13147 if test "x$VKD3D_PE_LIBS" = "x"
13149 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13152 if ${ZLIB_PE_CFLAGS:+false} :
13154 if test ${MINGW_PKG_CONFIG+y}
13156 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13159 if ${ZLIB_PE_LIBS:+false} :
13161 if test ${MINGW_PKG_CONFIG+y}
13163 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13166 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13170 printf %s "checking for MinGW zlib.h... " >&6; }
13171 if test ${ac_cv_mingw_header_zlib_h+y}
13173 printf %s "(cached) " >&6
13175 ac_wine_check_headers_saved_cc=$CC
13176 ac_wine_check_headers_saved_exeext=$ac_exeext
13179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13191 if ac_fn_c_try_compile "$LINENO"
13193 ac_cv_mingw_header_zlib_h=yes
13195 ac_cv_mingw_header_zlib_h=no
13197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13198 CC=$ac_wine_check_headers_saved_cc
13199 ac_exeext=$ac_wine_check_headers_saved_exeext
13201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13202 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13203 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13206 printf %s "checking for inflate in MinGW -lz... " >&6; }
13207 if test ${ac_cv_mingw_lib_z+y}
13209 printf %s "(cached) " >&6
13211 ac_wine_check_headers_saved_cc=$CC
13212 ac_wine_check_headers_saved_exeext=$ac_exeext
13213 ac_wine_check_headers_saved_libs=$LIBS
13216 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13232 if ac_fn_c_try_link "$LINENO"
13234 ac_cv_mingw_lib_z=yes
13236 ac_cv_mingw_lib_z=no
13238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13239 conftest$ac_exeext conftest.$ac_ext
13240 CC=$ac_wine_check_headers_saved_cc
13241 ac_exeext=$ac_wine_check_headers_saved_exeext
13242 LIBS=$ac_wine_check_headers_saved_libs
13244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13245 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13246 if test "x$ac_cv_mingw_lib_z" = xyes
13250 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13253 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13255 CPPFLAGS=$ac_save_CPPFLAGS
13257 if test "x$ZLIB_PE_LIBS" = "x"
13259 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13263 if ${FAUDIO_PE_LIBS:+false} :
13265 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13266 if ${FAUDIO_PE_CFLAGS:+false} :
13268 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13278 if ${GSM_PE_LIBS:+false} :
13281 if ${GSM_PE_CFLAGS:+false} :
13283 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13293 if ${JPEG_PE_LIBS:+false} :
13296 if ${JPEG_PE_CFLAGS:+false} :
13298 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13308 if ${JXR_PE_LIBS:+false} :
13311 if ${JXR_PE_CFLAGS:+false} :
13313 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13323 if ${LCMS2_PE_LIBS:+false} :
13325 LCMS2_PE_LIBS=lcms2
13326 if ${LCMS2_PE_CFLAGS:+false} :
13328 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13338 if ${MPG123_PE_LIBS:+false} :
13340 MPG123_PE_LIBS=mpg123
13341 if ${MPG123_PE_CFLAGS:+false} :
13343 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13353 if ${PNG_PE_LIBS:+false} :
13355 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13356 if ${PNG_PE_CFLAGS:+false} :
13358 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13368 if ${TIFF_PE_LIBS:+false} :
13370 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13371 if ${TIFF_PE_CFLAGS:+false} :
13373 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13383 if ${VKD3D_PE_LIBS:+false} :
13385 VKD3D_PE_LIBS=vkd3d
13386 if ${VKD3D_PE_CFLAGS:+false} :
13388 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13398 if ${XML2_PE_LIBS:+false} :
13401 if ${XML2_PE_CFLAGS:+false} :
13403 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13413 if ${XSLT_PE_LIBS:+false} :
13416 if ${XSLT_PE_CFLAGS:+false} :
13418 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13428 if ${ZLIB_PE_LIBS:+false} :
13431 if ${ZLIB_PE_CFLAGS:+false} :
13433 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13445 if test "$ac_cv_header_pthread_h" = "yes"
13447 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13448 if test "x$ac_cv_func_pthread_create" = xyes
13452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13453 printf %s "checking for pthread_create in -lpthread... " >&6; }
13454 if test ${ac_cv_lib_pthread_pthread_create+y}
13456 printf %s "(cached) " >&6
13458 ac_check_lib_save_LIBS=$LIBS
13459 LIBS="-lpthread $LIBS"
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13466 char pthread_create ();
13470 return pthread_create ();
13475 if ac_fn_c_try_link "$LINENO"
13477 ac_cv_lib_pthread_pthread_create=yes
13479 ac_cv_lib_pthread_pthread_create=no
13481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_lib_save_LIBS
13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13486 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13487 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13489 PTHREAD_LIBS="-lpthread"
13496 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13498 case "x$with_pthread" in
13500 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13501 Wine cannot support threads without libpthread.
13502 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13509 ac_cpp='$CPP $CPPFLAGS'
13510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13514 printf %s "checking how to run the C preprocessor... " >&6; }
13515 # On Suns, sometimes $CPP names a directory.
13516 if test -n "$CPP" && test -d "$CPP"; then
13519 if test -z "$CPP"; then
13520 if test ${ac_cv_prog_CPP+y}
13522 printf %s "(cached) " >&6
13524 # Double quotes because $CC needs to be expanded
13525 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13527 ac_preproc_ok=false
13528 for ac_c_preproc_warn_flag in '' yes
13530 # Use a header file that comes with gcc, so configuring glibc
13531 # with a fresh cross-compiler works.
13532 # On the NeXT, cc -E runs the code through the compiler's parser,
13533 # not just through cpp. "Syntax error" is here to catch this case.
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <limits.h>
13539 if ac_fn_c_try_cpp "$LINENO"
13543 # Broken: fails on valid input.
13546 rm -f conftest.err conftest.i conftest.$ac_ext
13548 # OK, works on sane cases. Now check whether nonexistent headers
13549 # can be detected and how.
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13552 #include <ac_nonexistent.h>
13554 if ac_fn_c_try_cpp "$LINENO"
13556 # Broken: success on invalid input.
13559 # Passes both tests.
13563 rm -f conftest.err conftest.i conftest.$ac_ext
13566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13567 rm -f conftest.i conftest.err conftest.
$ac_ext
13574 ac_cv_prog_CPP
=$CPP
13577 CPP
=$ac_cv_prog_CPP
13579 ac_cv_prog_CPP
=$CPP
13581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13582 printf "%s\n" "$CPP" >&6; }
13583 ac_preproc_ok
=false
13584 for ac_c_preproc_warn_flag
in '' yes
13586 # Use a header file that comes with gcc, so configuring glibc
13587 # with a fresh cross-compiler works.
13588 # On the NeXT, cc -E runs the code through the compiler's parser,
13589 # not just through cpp. "Syntax error" is here to catch this case.
13590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 #include <limits.h>
13595 if ac_fn_c_try_cpp
"$LINENO"
13599 # Broken: fails on valid input.
13602 rm -f conftest.err conftest.i conftest.
$ac_ext
13604 # OK, works on sane cases. Now check whether nonexistent headers
13605 # can be detected and how.
13606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13608 #include <ac_nonexistent.h>
13610 if ac_fn_c_try_cpp
"$LINENO"
13612 # Broken: success on invalid input.
13615 # Passes both tests.
13619 rm -f conftest.err conftest.i conftest.
$ac_ext
13622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13623 rm -f conftest.i conftest.err conftest.
$ac_ext
13628 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13629 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13630 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13631 See \`config.log' for more details" "$LINENO" 5; }
13635 ac_cpp
='$CPP $CPPFLAGS'
13636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13642 printf %s
"checking for X... " >&6; }
13645 # Check whether --with-x was given.
13646 if test ${with_x+y}
13651 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13652 if test "x$with_x" = xno
; then
13653 # The user explicitly disabled X.
13656 case $x_includes,$x_libraries in #(
13657 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13658 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13660 printf %s
"(cached) " >&6
13662 # One or both of the vars are not set, and there is no cached value.
13665 # Do we need to do anything special at all?
13668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 #include <X11/Xlib.h>
13679 if ac_fn_c_try_link
"$LINENO"
13681 # We can compile and link X programs with no special options.
13685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13686 conftest
$ac_exeext conftest.
$ac_ext
13687 LIBS
="$ac_save_LIBS"
13688 # If that didn't work, only try xmkmf and file system searches
13689 # for native compilation.
13690 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13692 rm -f -r conftest.dir
13693 if mkdir conftest.dir
; then
13695 cat >Imakefile
<<'_ACEOF'
13697 @echo incroot='${INCROOT}'
13699 @echo usrlibdir='${USRLIBDIR}'
13701 @echo libdir='${LIBDIR}'
13703 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13704 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13705 for ac_var
in incroot usrlibdir libdir
; do
13706 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13708 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13709 for ac_extension
in a so sl dylib la dll
; do
13710 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13711 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13712 ac_im_usrlibdir
=$ac_im_libdir; break
13715 # Screen out bogus values from the imake configuration. They are
13716 # bogus both because they are the default anyway, and because
13717 # using them would break gcc on systems where it needs fixed includes.
13718 case $ac_im_incroot in
13719 /usr
/include
) ac_x_includes
= ;;
13720 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13722 case $ac_im_usrlibdir in
13723 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13724 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13728 rm -f -r conftest.dir
13731 # Standard set of common directories for X headers.
13732 # Check X11 before X11Rn because it is often a symlink to the current release.
13746 /usr/local/X11/include
13747 /usr/local/X11R7/include
13748 /usr/local/X11R6/include
13749 /usr/local/X11R5/include
13750 /usr/local/X11R4/include
13752 /usr/local/include/X11
13753 /usr/local/include/X11R7
13754 /usr/local/include/X11R6
13755 /usr/local/include/X11R5
13756 /usr/local/include/X11R4
13762 /usr/XFree86/include/X11
13766 /usr/unsupported/include
13767 /usr/athena/include
13768 /usr/local/x11r5/include
13769 /usr/lpp/Xamples/include
13771 /usr/openwin/include
13772 /usr/openwin/share/include'
13774 if test "$ac_x_includes" = no
; then
13775 # Guess where to find include files, by looking for Xlib.h.
13776 # First, try using that file with no special directory specified.
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 #include <X11/Xlib.h>
13781 if ac_fn_c_try_cpp
"$LINENO"
13783 # We can compile using X headers with no special include directory.
13786 for ac_dir
in $ac_x_header_dirs; do
13787 if test -r "$ac_dir/X11/Xlib.h"; then
13788 ac_x_includes
=$ac_dir
13793 rm -f conftest.err conftest.i conftest.
$ac_ext
13794 fi # $ac_x_includes = no
13796 if test "$ac_x_libraries" = no
; then
13797 # Check for the libraries.
13798 # See if we find them without any special options.
13799 # Don't add to $LIBS permanently.
13802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13804 #include <X11/Xlib.h>
13813 if ac_fn_c_try_link
"$LINENO"
13816 # We can link X programs with no special library path.
13820 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13822 # Don't even attempt the hair of trying to link an X program!
13823 for ac_extension
in a so sl dylib la dll
; do
13824 if test -r "$ac_dir/libX11.$ac_extension"; then
13825 ac_x_libraries
=$ac_dir
13831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13832 conftest
$ac_exeext conftest.
$ac_ext
13833 fi # $ac_x_libraries = no
13836 # Record the results.
13837 case $ac_x_includes,$ac_x_libraries in #(
13838 no
,* |
*,no |
*\'*) :
13839 # Didn't find X, or a directory has "'" in its name.
13840 ac_cv_have_x
="have_x=no" ;; #(
13842 # Record where we found X for the cache.
13843 ac_cv_have_x
="have_x=yes\
13844 ac_x_includes='$ac_x_includes'\
13845 ac_x_libraries='$ac_x_libraries'" ;;
13851 eval "$ac_cv_have_x"
13854 if test "$have_x" != yes; then
13855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13856 printf "%s\n" "$have_x" >&6; }
13859 # If each of the values was on the command line, it overrides each guess.
13860 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13861 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13862 # Update the cache value to reflect the command line values.
13863 ac_cv_have_x
="have_x=yes\
13864 ac_x_includes='$x_includes'\
13865 ac_x_libraries='$x_libraries'"
13866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13867 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13870 if test "$no_x" = yes; then
13871 # Not all programs may use this symbol, but it does not hurt to define it.
13873 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13875 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13877 if test -n "$x_includes"; then
13878 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13881 # It would also be nice to do this for all -L options, not just this one.
13882 if test -n "$x_libraries"; then
13883 X_LIBS
="$X_LIBS -L$x_libraries"
13884 # For Solaris; some versions of Sun CC require a space after -R and
13885 # others require no space. Words are not sufficient . . . .
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13887 printf %s
"checking whether -R must be followed by a space... " >&6; }
13888 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13889 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13890 ac_c_werror_flag
=yes
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13902 if ac_fn_c_try_link
"$LINENO"
13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13905 printf "%s\n" "no" >&6; }
13906 X_LIBS
="$X_LIBS -R$x_libraries"
13908 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13920 if ac_fn_c_try_link
"$LINENO"
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13923 printf "%s\n" "yes" >&6; }
13924 X_LIBS
="$X_LIBS -R $x_libraries"
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13927 printf "%s\n" "neither works" >&6; }
13929 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13930 conftest
$ac_exeext conftest.
$ac_ext
13932 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13933 conftest
$ac_exeext conftest.
$ac_ext
13934 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13935 LIBS
=$ac_xsave_LIBS
13938 # Check for system-dependent libraries X programs must link with.
13939 # Do this before checking for the system-independent R6 libraries
13940 # (-lICE), since we may need -lsocket or whatever for X linking.
13942 if test "$ISC" = yes; then
13943 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13945 # Martyn Johnson says this is needed for Ultrix, if the X
13946 # libraries were built with DECnet support. And Karl Berry says
13947 # the Alpha needs dnet_stub (dnet does not exist).
13948 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13952 /* Override any GCC internal prototype to avoid an error.
13953 Use char because int might match the return type of a GCC
13954 builtin and then its argument prototype would still apply. */
13955 char XOpenDisplay ();
13959 return XOpenDisplay ();
13964 if ac_fn_c_try_link
"$LINENO"
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13969 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13970 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13972 printf %s
"(cached) " >&6
13974 ac_check_lib_save_LIBS
=$LIBS
13975 LIBS
="-ldnet $LIBS"
13976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13986 return dnet_ntoa ();
13991 if ac_fn_c_try_link
"$LINENO"
13993 ac_cv_lib_dnet_dnet_ntoa
=yes
13995 ac_cv_lib_dnet_dnet_ntoa
=no
13997 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13998 conftest
$ac_exeext conftest.
$ac_ext
13999 LIBS
=$ac_check_lib_save_LIBS
14001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14002 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14003 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14005 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14008 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14010 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14011 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14013 printf %s
"(cached) " >&6
14015 ac_check_lib_save_LIBS
=$LIBS
14016 LIBS
="-ldnet_stub $LIBS"
14017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14020 /* Override any GCC internal prototype to avoid an error.
14021 Use char because int might match the return type of a GCC
14022 builtin and then its argument prototype would still apply. */
14027 return dnet_ntoa ();
14032 if ac_fn_c_try_link
"$LINENO"
14034 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14036 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14038 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14039 conftest
$ac_exeext conftest.
$ac_ext
14040 LIBS
=$ac_check_lib_save_LIBS
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14043 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14044 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14046 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14051 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14052 conftest
$ac_exeext conftest.
$ac_ext
14053 LIBS
="$ac_xsave_LIBS"
14055 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14056 # to get the SysV transport functions.
14057 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14059 # The nsl library prevents programs from opening the X display
14060 # on Irix 5.2, according to T.E. Dickey.
14061 # The functions gethostbyname, getservbyname, and inet_addr are
14062 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14063 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14064 if test "x$ac_cv_func_gethostbyname" = xyes
14069 if test $ac_cv_func_gethostbyname = no
; then
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14071 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14072 if test ${ac_cv_lib_nsl_gethostbyname+y}
14074 printf %s
"(cached) " >&6
14076 ac_check_lib_save_LIBS
=$LIBS
14078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 char gethostbyname ();
14088 return gethostbyname ();
14093 if ac_fn_c_try_link
"$LINENO"
14095 ac_cv_lib_nsl_gethostbyname
=yes
14097 ac_cv_lib_nsl_gethostbyname
=no
14099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14100 conftest
$ac_exeext conftest.
$ac_ext
14101 LIBS
=$ac_check_lib_save_LIBS
14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14104 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14105 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14110 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14112 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14113 if test ${ac_cv_lib_bsd_gethostbyname+y}
14115 printf %s
"(cached) " >&6
14117 ac_check_lib_save_LIBS
=$LIBS
14119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14122 /* Override any GCC internal prototype to avoid an error.
14123 Use char because int might match the return type of a GCC
14124 builtin and then its argument prototype would still apply. */
14125 char gethostbyname ();
14129 return gethostbyname ();
14134 if ac_fn_c_try_link
"$LINENO"
14136 ac_cv_lib_bsd_gethostbyname
=yes
14138 ac_cv_lib_bsd_gethostbyname
=no
14140 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14141 conftest
$ac_exeext conftest.
$ac_ext
14142 LIBS
=$ac_check_lib_save_LIBS
14144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14145 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14146 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14148 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14154 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14155 # socket/setsockopt and other routines are undefined under SCO ODT
14156 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14157 # on later versions), says Simon Leinen: it contains gethostby*
14158 # variants that don't use the name server (or something). -lsocket
14159 # must be given before -lnsl if both are needed. We assume that
14160 # if connect needs -lnsl, so does gethostbyname.
14161 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14162 if test "x$ac_cv_func_connect" = xyes
14167 if test $ac_cv_func_connect = no
; then
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14169 printf %s
"checking for connect in -lsocket... " >&6; }
14170 if test ${ac_cv_lib_socket_connect+y}
14172 printf %s
"(cached) " >&6
14174 ac_check_lib_save_LIBS
=$LIBS
14175 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14191 if ac_fn_c_try_link
"$LINENO"
14193 ac_cv_lib_socket_connect
=yes
14195 ac_cv_lib_socket_connect
=no
14197 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14198 conftest
$ac_exeext conftest.
$ac_ext
14199 LIBS
=$ac_check_lib_save_LIBS
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14202 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14203 if test "x$ac_cv_lib_socket_connect" = xyes
14205 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14210 # Guillermo Gomez says -lposix is necessary on A/UX.
14211 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14212 if test "x$ac_cv_func_remove" = xyes
14217 if test $ac_cv_func_remove = no
; then
14218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14219 printf %s
"checking for remove in -lposix... " >&6; }
14220 if test ${ac_cv_lib_posix_remove+y}
14222 printf %s
"(cached) " >&6
14224 ac_check_lib_save_LIBS
=$LIBS
14225 LIBS
="-lposix $LIBS"
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14241 if ac_fn_c_try_link
"$LINENO"
14243 ac_cv_lib_posix_remove
=yes
14245 ac_cv_lib_posix_remove
=no
14247 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14248 conftest
$ac_exeext conftest.
$ac_ext
14249 LIBS
=$ac_check_lib_save_LIBS
14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14252 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14253 if test "x$ac_cv_lib_posix_remove" = xyes
14255 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14260 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14261 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14262 if test "x$ac_cv_func_shmat" = xyes
14267 if test $ac_cv_func_shmat = no
; then
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14269 printf %s
"checking for shmat in -lipc... " >&6; }
14270 if test ${ac_cv_lib_ipc_shmat+y}
14272 printf %s
"(cached) " >&6
14274 ac_check_lib_save_LIBS
=$LIBS
14276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14279 /* Override any GCC internal prototype to avoid an error.
14280 Use char because int might match the return type of a GCC
14281 builtin and then its argument prototype would still apply. */
14291 if ac_fn_c_try_link
"$LINENO"
14293 ac_cv_lib_ipc_shmat
=yes
14295 ac_cv_lib_ipc_shmat
=no
14297 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14298 conftest
$ac_exeext conftest.
$ac_ext
14299 LIBS
=$ac_check_lib_save_LIBS
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14302 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14303 if test "x$ac_cv_lib_ipc_shmat" = xyes
14305 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14311 # Check for libraries that X11R6 Xt/Xaw programs need.
14312 ac_save_LDFLAGS
=$LDFLAGS
14313 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14314 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14315 # check for ICE first), but we must link in the order -lSM -lICE or
14316 # we get undefined symbols. So assume we have SM if we have ICE.
14317 # These have to be linked with before -lX11, unlike the other
14318 # libraries we check for below, so use a different variable.
14319 # John Interrante, Karl Berry
14320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14321 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14322 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14324 printf %s
"(cached) " >&6
14326 ac_check_lib_save_LIBS
=$LIBS
14327 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14334 char IceConnectionNumber ();
14338 return IceConnectionNumber ();
14343 if ac_fn_c_try_link
"$LINENO"
14345 ac_cv_lib_ICE_IceConnectionNumber
=yes
14347 ac_cv_lib_ICE_IceConnectionNumber
=no
14349 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14350 conftest
$ac_exeext conftest.
$ac_ext
14351 LIBS
=$ac_check_lib_save_LIBS
14353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14354 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14355 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14357 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14360 LDFLAGS
=$ac_save_LDFLAGS
14365 if test "$have_x" = "yes"
14367 ac_save_CPPFLAGS
="$CPPFLAGS"
14368 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14371 printf %s
"checking for -lX11... " >&6; }
14372 if test ${ac_cv_lib_soname_X11+y}
14374 printf %s
"(cached) " >&6
14376 ac_check_soname_save_LIBS
=$LIBS
14377 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 char XCreateWindow ();
14388 return XCreateWindow ();
14393 if ac_fn_c_try_link
"$LINENO"
14396 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14397 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'` ;;
14398 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14399 if ${ac_cv_lib_soname_X11:+false} :
14401 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14405 ac_cv_lib_soname_X11
=
14407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14408 conftest
$ac_exeext conftest.
$ac_ext
14409 LIBS
=$ac_check_soname_save_LIBS
14411 if ${ac_cv_lib_soname_X11:+false} :
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14414 printf "%s\n" "not found" >&6; }
14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14418 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14420 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14425 printf %s
"checking for -lXext... " >&6; }
14426 if test ${ac_cv_lib_soname_Xext+y}
14428 printf %s
"(cached) " >&6
14430 ac_check_soname_save_LIBS
=$LIBS
14431 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 char XextCreateExtension ();
14442 return XextCreateExtension ();
14447 if ac_fn_c_try_link
"$LINENO"
14450 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14451 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'` ;;
14452 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14453 if ${ac_cv_lib_soname_Xext:+false} :
14455 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14459 ac_cv_lib_soname_Xext
=
14461 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14462 conftest
$ac_exeext conftest.
$ac_ext
14463 LIBS
=$ac_check_soname_save_LIBS
14465 if ${ac_cv_lib_soname_Xext:+false} :
14467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14468 printf "%s\n" "not found" >&6; }
14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14472 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14474 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14476 X_LIBS
="$X_LIBS -lXext"
14478 X_LIBS
="$X_LIBS -lX11"
14480 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14487 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14499 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14501 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14511 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14513 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14523 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14525 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14535 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14547 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14559 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14571 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14583 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14595 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14597 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14607 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14609 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14619 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14625 # include <X11/Xlib.h>
14627 #ifdef HAVE_X11_XUTIL_H
14628 # include <X11/Xutil.h>
14631 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14633 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14636 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14637 # include <X11/Xlib.h>
14639 #ifdef HAVE_X11_XUTIL_H
14640 # include <X11/Xutil.h>
14643 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14645 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14648 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14649 # include <X11/Xlib.h>
14651 #ifdef HAVE_X11_XUTIL_H
14652 # include <X11/Xutil.h>
14655 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14657 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14662 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14665 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14666 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14668 printf %s
"(cached) " >&6
14670 ac_check_lib_save_LIBS
=$LIBS
14671 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14678 char XkbQueryExtension ();
14682 return XkbQueryExtension ();
14687 if ac_fn_c_try_link
"$LINENO"
14689 ac_cv_lib_X11_XkbQueryExtension
=yes
14691 ac_cv_lib_X11_XkbQueryExtension
=no
14693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14694 conftest
$ac_exeext conftest.
$ac_ext
14695 LIBS
=$ac_check_lib_save_LIBS
14697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14698 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14699 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14702 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14708 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14711 printf %s
"checking for -lXcursor... " >&6; }
14712 if test ${ac_cv_lib_soname_Xcursor+y}
14714 printf %s
"(cached) " >&6
14716 ac_check_soname_save_LIBS
=$LIBS
14717 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14721 /* Override any GCC internal prototype to avoid an error.
14722 Use char because int might match the return type of a GCC
14723 builtin and then its argument prototype would still apply. */
14724 char XcursorImageLoadCursor ();
14728 return XcursorImageLoadCursor ();
14733 if ac_fn_c_try_link
"$LINENO"
14736 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14737 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'` ;;
14738 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14739 if ${ac_cv_lib_soname_Xcursor:+false} :
14741 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14745 ac_cv_lib_soname_Xcursor
=
14747 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14748 conftest
$ac_exeext conftest.
$ac_ext
14749 LIBS
=$ac_check_soname_save_LIBS
14751 if ${ac_cv_lib_soname_Xcursor:+false} :
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14754 printf "%s\n" "not found" >&6; }
14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14758 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14760 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14765 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14767 case "x$with_xcursor" in
14768 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14770 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14771 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14776 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14779 printf %s
"checking for -lXi... " >&6; }
14780 if test ${ac_cv_lib_soname_Xi+y}
14782 printf %s
"(cached) " >&6
14784 ac_check_soname_save_LIBS
=$LIBS
14785 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XOpenDevice ();
14796 return XOpenDevice ();
14801 if ac_fn_c_try_link
"$LINENO"
14804 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14805 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'` ;;
14806 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14807 if ${ac_cv_lib_soname_Xi:+false} :
14809 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14813 ac_cv_lib_soname_Xi
=
14815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14816 conftest
$ac_exeext conftest.
$ac_ext
14817 LIBS
=$ac_check_soname_save_LIBS
14819 if ${ac_cv_lib_soname_Xi:+false} :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14822 printf "%s\n" "not found" >&6; }
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14826 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14828 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14833 if test "x$ac_cv_lib_soname_Xi" = "x"
14835 case "x$with_xinput" in
14836 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14838 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14839 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14844 if test "x$ac_cv_lib_soname_Xi" != x
14846 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14848 case "x$with_xinput2" in
14849 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14851 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14852 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14858 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14861 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14862 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14864 printf %s
"(cached) " >&6
14866 ac_check_lib_save_LIBS
=$LIBS
14867 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 char XShmQueryExtension ();
14878 return XShmQueryExtension ();
14883 if ac_fn_c_try_link
"$LINENO"
14885 ac_cv_lib_Xext_XShmQueryExtension
=yes
14887 ac_cv_lib_Xext_XShmQueryExtension
=no
14889 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14890 conftest
$ac_exeext conftest.
$ac_ext
14891 LIBS
=$ac_check_lib_save_LIBS
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14894 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14895 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14898 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14903 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14905 case "x$with_xshm" in
14906 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14908 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14909 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14914 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14917 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14918 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14920 printf %s
"(cached) " >&6
14922 ac_check_lib_save_LIBS
=$LIBS
14923 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14927 /* Override any GCC internal prototype to avoid an error.
14928 Use char because int might match the return type of a GCC
14929 builtin and then its argument prototype would still apply. */
14930 char XShapeQueryExtension ();
14934 return XShapeQueryExtension ();
14939 if ac_fn_c_try_link
"$LINENO"
14941 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14943 ac_cv_lib_Xext_XShapeQueryExtension
=no
14945 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14946 conftest
$ac_exeext conftest.
$ac_ext
14947 LIBS
=$ac_check_lib_save_LIBS
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14950 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14951 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14954 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14959 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14961 case "x$with_xshape" in
14962 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14964 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14965 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14970 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14973 printf %s
"checking for -lXxf86vm... " >&6; }
14974 if test ${ac_cv_lib_soname_Xxf86vm+y}
14976 printf %s
"(cached) " >&6
14978 ac_check_soname_save_LIBS
=$LIBS
14979 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 char XF86VidModeQueryExtension ();
14990 return XF86VidModeQueryExtension ();
14995 if ac_fn_c_try_link
"$LINENO"
14998 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14999 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'` ;;
15000 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15001 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15003 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15007 ac_cv_lib_soname_Xxf86vm
=
15009 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15010 conftest
$ac_exeext conftest.
$ac_ext
15011 LIBS
=$ac_check_soname_save_LIBS
15013 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15016 printf "%s\n" "not found" >&6; }
15019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15020 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15022 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15027 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15029 case "x$with_xxf86vm" in
15030 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15032 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15033 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15038 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15041 printf %s
"checking for -lXrender... " >&6; }
15042 if test ${ac_cv_lib_soname_Xrender+y}
15044 printf %s
"(cached) " >&6
15046 ac_check_soname_save_LIBS
=$LIBS
15047 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15054 char XRenderQueryExtension ();
15058 return XRenderQueryExtension ();
15063 if ac_fn_c_try_link
"$LINENO"
15066 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15067 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'` ;;
15068 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15069 if ${ac_cv_lib_soname_Xrender:+false} :
15071 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15075 ac_cv_lib_soname_Xrender
=
15077 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15078 conftest
$ac_exeext conftest.
$ac_ext
15079 LIBS
=$ac_check_soname_save_LIBS
15081 if ${ac_cv_lib_soname_Xrender:+false} :
15083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15084 printf "%s\n" "not found" >&6; }
15087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15088 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15090 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15093 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15094 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15096 printf %s
"(cached) " >&6
15098 ac_check_lib_save_LIBS
=$LIBS
15099 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15103 /* Override any GCC internal prototype to avoid an error.
15104 Use char because int might match the return type of a GCC
15105 builtin and then its argument prototype would still apply. */
15106 char XRenderSetPictureTransform ();
15110 return XRenderSetPictureTransform ();
15115 if ac_fn_c_try_link
"$LINENO"
15117 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15119 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15121 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15122 conftest
$ac_exeext conftest.
$ac_ext
15123 LIBS
=$ac_check_lib_save_LIBS
15125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15126 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15127 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15130 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15135 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15136 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15138 printf %s
"(cached) " >&6
15140 ac_check_lib_save_LIBS
=$LIBS
15141 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XRenderCreateLinearGradient ();
15152 return XRenderCreateLinearGradient ();
15157 if ac_fn_c_try_link
"$LINENO"
15159 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15161 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15164 conftest
$ac_exeext conftest.
$ac_ext
15165 LIBS
=$ac_check_lib_save_LIBS
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15168 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15169 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15172 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15179 if test "x$ac_cv_lib_soname_Xrender" = "x"
15181 case "x$with_xrender" in
15182 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15184 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15185 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15190 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 #include <X11/Xlib.h>
15195 #include <X11/extensions/Xrandr.h>
15199 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15204 if ac_fn_c_try_compile
"$LINENO"
15206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15207 printf %s
"checking for -lXrandr... " >&6; }
15208 if test ${ac_cv_lib_soname_Xrandr+y}
15210 printf %s
"(cached) " >&6
15212 ac_check_soname_save_LIBS
=$LIBS
15213 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 /* Override any GCC internal prototype to avoid an error.
15218 Use char because int might match the return type of a GCC
15219 builtin and then its argument prototype would still apply. */
15220 char XRRQueryExtension ();
15224 return XRRQueryExtension ();
15229 if ac_fn_c_try_link
"$LINENO"
15232 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15233 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'` ;;
15234 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15235 if ${ac_cv_lib_soname_Xrandr:+false} :
15237 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15241 ac_cv_lib_soname_Xrandr
=
15243 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15244 conftest
$ac_exeext conftest.
$ac_ext
15245 LIBS
=$ac_check_soname_save_LIBS
15247 if ${ac_cv_lib_soname_Xrandr:+false} :
15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15250 printf "%s\n" "not found" >&6; }
15253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15254 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15256 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15260 #include <X11/Xlib.h>
15261 #include <X11/extensions/Xrandr.h>
15265 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15270 if ac_fn_c_try_compile
"$LINENO"
15273 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15276 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15278 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15281 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15283 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15285 case "x$with_xrandr" in
15286 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15288 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15289 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15294 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #include <X11/Xlib.h>
15299 #include <X11/extensions/Xfixes.h>
15303 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15308 if ac_fn_c_try_compile
"$LINENO"
15310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15311 printf %s
"checking for -lXfixes... " >&6; }
15312 if test ${ac_cv_lib_soname_Xfixes+y}
15314 printf %s
"(cached) " >&6
15316 ac_check_soname_save_LIBS
=$LIBS
15317 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15321 /* Override any GCC internal prototype to avoid an error.
15322 Use char because int might match the return type of a GCC
15323 builtin and then its argument prototype would still apply. */
15324 char XFixesQueryVersion ();
15328 return XFixesQueryVersion ();
15333 if ac_fn_c_try_link
"$LINENO"
15336 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15337 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'` ;;
15338 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15339 if ${ac_cv_lib_soname_Xfixes:+false} :
15341 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15345 ac_cv_lib_soname_Xfixes
=
15347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15348 conftest
$ac_exeext conftest.
$ac_ext
15349 LIBS
=$ac_check_soname_save_LIBS
15351 if ${ac_cv_lib_soname_Xfixes:+false} :
15353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15354 printf "%s\n" "not found" >&6; }
15357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15358 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15360 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15365 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15367 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15369 case "x$with_xfixes" in
15370 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15372 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15373 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15378 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15382 #include <X11/Xlib.h>
15383 #include <X11/extensions/Xinerama.h>
15387 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15392 if ac_fn_c_try_compile
"$LINENO"
15394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15395 printf %s
"checking for -lXinerama... " >&6; }
15396 if test ${ac_cv_lib_soname_Xinerama+y}
15398 printf %s
"(cached) " >&6
15400 ac_check_soname_save_LIBS
=$LIBS
15401 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 char XineramaQueryScreens ();
15412 return XineramaQueryScreens ();
15417 if ac_fn_c_try_link
"$LINENO"
15420 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_Xinerama:+false} :
15425 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15429 ac_cv_lib_soname_Xinerama
=
15431 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15432 conftest
$ac_exeext conftest.
$ac_ext
15433 LIBS
=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_Xinerama:+false} :
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 printf "%s\n" "not found" >&6; }
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15442 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15444 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15449 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15451 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15453 case "x$with_xinerama" in
15454 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15456 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15457 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15462 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15465 printf %s
"checking for -lXcomposite... " >&6; }
15466 if test ${ac_cv_lib_soname_Xcomposite+y}
15468 printf %s
"(cached) " >&6
15470 ac_check_soname_save_LIBS
=$LIBS
15471 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15478 char XCompositeRedirectWindow ();
15482 return XCompositeRedirectWindow ();
15487 if ac_fn_c_try_link
"$LINENO"
15490 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15491 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'` ;;
15492 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15493 if ${ac_cv_lib_soname_Xcomposite:+false} :
15495 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15499 ac_cv_lib_soname_Xcomposite
=
15501 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15502 conftest
$ac_exeext conftest.
$ac_ext
15503 LIBS
=$ac_check_soname_save_LIBS
15505 if ${ac_cv_lib_soname_Xcomposite:+false} :
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15508 printf "%s\n" "not found" >&6; }
15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15512 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15514 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15519 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15521 case "x$with_xcomposite" in
15522 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15524 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15525 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15530 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15531 #include <X11/Xlib.h>
15534 if test "x$ac_cv_member_XICCallback_callback" = xyes
15537 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15541 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15542 #include <X11/Xlib.h>
15545 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15548 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15556 if test "x$with_opengl" != "xno"
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15559 printf %s
"checking for -lGL... " >&6; }
15560 if test ${ac_cv_lib_soname_GL+y}
15562 printf %s
"(cached) " >&6
15564 ac_check_soname_save_LIBS
=$LIBS
15565 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15569 /* Override any GCC internal prototype to avoid an error.
15570 Use char because int might match the return type of a GCC
15571 builtin and then its argument prototype would still apply. */
15572 char glXCreateContext ();
15576 return glXCreateContext ();
15581 if ac_fn_c_try_link
"$LINENO"
15584 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15585 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'` ;;
15586 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15587 if ${ac_cv_lib_soname_GL:+false} :
15589 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15593 ac_cv_lib_soname_GL
=
15595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15596 conftest
$ac_exeext conftest.
$ac_ext
15597 LIBS
=$ac_check_soname_save_LIBS
15599 if ${ac_cv_lib_soname_GL:+false} :
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15602 printf "%s\n" "not found" >&6; }
15603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15604 printf %s
"checking for -lGL... " >&6; }
15605 if test ${ac_cv_lib_soname_GL+y}
15607 printf %s
"(cached) " >&6
15609 ac_check_soname_save_LIBS
=$LIBS
15610 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"
15611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15614 /* Override any GCC internal prototype to avoid an error.
15615 Use char because int might match the return type of a GCC
15616 builtin and then its argument prototype would still apply. */
15617 char glXCreateContext ();
15621 return glXCreateContext ();
15626 if ac_fn_c_try_link
"$LINENO"
15629 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15630 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'` ;;
15631 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15632 if ${ac_cv_lib_soname_GL:+false} :
15634 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15638 ac_cv_lib_soname_GL
=
15640 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15641 conftest
$ac_exeext conftest.
$ac_ext
15642 LIBS
=$ac_check_soname_save_LIBS
15644 if ${ac_cv_lib_soname_GL:+false} :
15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15647 printf "%s\n" "not found" >&6; }
15648 if test -f /usr
/X11R
6/lib
/libGL.a
15650 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15651 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15653 opengl_msg
="No OpenGL library found on this system."
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15657 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15659 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15661 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"
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15665 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15667 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15671 if test "x$with_osmesa" != "xno"
15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15674 printf %s
"checking for -lOSMesa... " >&6; }
15675 if test ${ac_cv_lib_soname_OSMesa+y}
15677 printf %s
"(cached) " >&6
15679 ac_check_soname_save_LIBS
=$LIBS
15680 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15687 char OSMesaGetProcAddress ();
15691 return OSMesaGetProcAddress ();
15696 if ac_fn_c_try_link
"$LINENO"
15699 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15700 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'` ;;
15701 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15702 if ${ac_cv_lib_soname_OSMesa:+false} :
15704 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15708 ac_cv_lib_soname_OSMesa
=
15710 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15711 conftest
$ac_exeext conftest.
$ac_ext
15712 LIBS
=$ac_check_soname_save_LIBS
15714 if ${ac_cv_lib_soname_OSMesa:+false} :
15716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15717 printf "%s\n" "not found" >&6; }
15720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15721 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15723 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15727 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15729 case "x$with_osmesa" in
15730 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15732 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15733 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15739 if test -n "$opengl_msg"
15741 case "x$with_opengl" in
15742 x
) as_fn_append wine_warnings
"|$opengl_msg
15743 OpenGL and Direct3D won't be supported." ;;
15745 *) as_fn_error $?
"$opengl_msg
15746 OpenGL and Direct3D won't be supported.
15747 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15752 CPPFLAGS
="$ac_save_CPPFLAGS"
15758 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15760 if test "x$X_LIBS" = "x"
15764 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15765 without X support, which probably isn't what you want. You will need
15766 to install ${notice_platform}development packages of Xlib at the very least.
15767 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15769 enable_winex11_drv
=${enable_winex11_drv:-no}
15772 if test "x$X_LIBS" = "x"
15775 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15777 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15778 This is an error since --with-x was requested." "$LINENO" 5 ;;
15780 enable_winex11_drv
=${enable_winex11_drv:-no}
15784 if test "$ac_cv_header_CL_cl_h" = "yes"
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15787 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15788 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15790 printf %s
"(cached) " >&6
15792 ac_check_lib_save_LIBS
=$LIBS
15793 LIBS
="-lOpenCL $LIBS"
15794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15800 char clGetPlatformInfo ();
15804 return clGetPlatformInfo ();
15809 if ac_fn_c_try_link
"$LINENO"
15811 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15813 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15816 conftest
$ac_exeext conftest.
$ac_ext
15817 LIBS
=$ac_check_lib_save_LIBS
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15820 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15821 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15823 OPENCL_LIBS
="-lOpenCL"
15828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15830 case "x$with_opencl" in
15831 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15833 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15836 enable_opencl
=${enable_opencl:-no}
15839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15842 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15843 if test ${ac_cv_lib_pcap_pcap_create+y}
15845 printf %s
"(cached) " >&6
15847 ac_check_lib_save_LIBS
=$LIBS
15848 LIBS
="-lpcap $LIBS"
15849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 char pcap_create ();
15859 return pcap_create ();
15864 if ac_fn_c_try_link
"$LINENO"
15866 ac_cv_lib_pcap_pcap_create
=yes
15868 ac_cv_lib_pcap_pcap_create
=no
15870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15871 conftest
$ac_exeext conftest.
$ac_ext
15872 LIBS
=$ac_check_lib_save_LIBS
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15875 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15876 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15883 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15885 case "x$with_pcap" in
15886 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15888 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15889 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15891 enable_wpcap
=${enable_wpcap:-no}
15894 if test "x$with_inotify" != "xno"
15896 if ${INOTIFY_CFLAGS:+false} :
15898 if test ${PKG_CONFIG+y}
15900 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15904 if ${INOTIFY_LIBS:+false} :
15906 if test ${PKG_CONFIG+y}
15908 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15915 ac_save_CPPFLAGS
=$CPPFLAGS
15916 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15917 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15918 if test "x$ac_cv_header_sys_inotify_h" = xyes
15920 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15925 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15926 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15928 printf %s
"(cached) " >&6
15930 ac_check_lib_save_LIBS
=$LIBS
15931 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 char inotify_add_watch ();
15942 return inotify_add_watch ();
15947 if ac_fn_c_try_link
"$LINENO"
15949 ac_cv_lib_inotify_inotify_add_watch
=yes
15951 ac_cv_lib_inotify_inotify_add_watch
=no
15953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15954 conftest
$ac_exeext conftest.
$ac_ext
15955 LIBS
=$ac_check_lib_save_LIBS
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15958 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15959 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15966 CPPFLAGS
=$ac_save_CPPFLAGS
15969 if test "$ac_cv_header_sys_inotify_h" != "yes"
15971 case "x$with_inotify" in
15972 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15974 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15975 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15980 if test "x$with_dbus" != "xno"
15982 if ${DBUS_CFLAGS:+false} :
15984 if test ${PKG_CONFIG+y}
15986 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15990 if ${DBUS_LIBS:+false} :
15992 if test ${PKG_CONFIG+y}
15994 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16001 ac_save_CPPFLAGS
=$CPPFLAGS
16002 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16003 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16004 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16007 printf %s
"checking for -ldbus-1... " >&6; }
16008 if test ${ac_cv_lib_soname_dbus_1+y}
16010 printf %s
"(cached) " >&6
16012 ac_check_soname_save_LIBS
=$LIBS
16013 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16015 /* end confdefs.h. */
16017 /* Override any GCC internal prototype to avoid an error.
16018 Use char because int might match the return type of a GCC
16019 builtin and then its argument prototype would still apply. */
16020 char dbus_connection_close ();
16024 return dbus_connection_close ();
16029 if ac_fn_c_try_link
"$LINENO"
16032 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16033 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'` ;;
16034 *) 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'`
16035 if ${ac_cv_lib_soname_dbus_1:+false} :
16037 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16041 ac_cv_lib_soname_dbus_1
=
16043 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16044 conftest
$ac_exeext conftest.
$ac_ext
16045 LIBS
=$ac_check_soname_save_LIBS
16047 if ${ac_cv_lib_soname_dbus_1:+false} :
16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16050 printf "%s\n" "not found" >&6; }
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16054 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16056 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16064 CPPFLAGS
=$ac_save_CPPFLAGS
16067 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16068 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16070 case "x$with_dbus" in
16071 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16073 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16074 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16079 if test "x$with_gnutls" != "xno"
16081 if ${GNUTLS_CFLAGS:+false} :
16083 if test ${PKG_CONFIG+y}
16085 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16089 if ${GNUTLS_LIBS:+false} :
16091 if test ${PKG_CONFIG+y}
16093 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16097 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16100 ac_save_CPPFLAGS
=$CPPFLAGS
16101 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16102 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16103 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16107 #include <gnutls/gnutls.h>
16108 #include <gnutls/crypto.h>
16112 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16117 if ac_fn_c_try_compile
"$LINENO"
16119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16120 printf %s
"checking for -lgnutls... " >&6; }
16121 if test ${ac_cv_lib_soname_gnutls+y}
16123 printf %s
"(cached) " >&6
16125 ac_check_soname_save_LIBS
=$LIBS
16126 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16128 /* end confdefs.h. */
16130 /* Override any GCC internal prototype to avoid an error.
16131 Use char because int might match the return type of a GCC
16132 builtin and then its argument prototype would still apply. */
16133 char gnutls_global_init ();
16137 return gnutls_global_init ();
16142 if ac_fn_c_try_link
"$LINENO"
16145 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16146 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'` ;;
16147 *) 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'`
16148 if ${ac_cv_lib_soname_gnutls:+false} :
16150 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'`
16154 ac_cv_lib_soname_gnutls
=
16156 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16157 conftest
$ac_exeext conftest.
$ac_ext
16158 LIBS
=$ac_check_soname_save_LIBS
16160 if ${ac_cv_lib_soname_gnutls:+false} :
16162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16163 printf "%s\n" "not found" >&6; }
16166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16167 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16169 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16173 ac_wine_check_funcs_save_LIBS
="$LIBS"
16174 LIBS
="$LIBS $GNUTLS_LIBS"
16176 for ac_func
in gnutls_cipher_init
16178 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16179 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16181 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16184 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16188 LIBS
="$ac_wine_check_funcs_save_LIBS"
16190 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16195 CPPFLAGS
=$ac_save_CPPFLAGS
16198 if test "x$ac_cv_lib_soname_gnutls" = "x"
16200 case "x$with_gnutls" in
16201 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16203 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16204 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16209 if test "x$with_sane" != "xno"
16211 if ${SANE_CFLAGS:+false} :
16213 if test ${PKG_CONFIG+y}
16215 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16218 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16219 if ${SANE_LIBS:+false} :
16221 if test ${PKG_CONFIG+y}
16223 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16226 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16230 ac_save_CPPFLAGS
=$CPPFLAGS
16231 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16232 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16233 if test "x$ac_cv_header_sane_sane_h" = xyes
16235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16236 printf %s
"checking for sane_init in -lsane... " >&6; }
16237 if test ${ac_cv_lib_sane_sane_init+y}
16239 printf %s
"(cached) " >&6
16241 ac_check_lib_save_LIBS
=$LIBS
16242 LIBS
="-lsane $SANE_LIBS $LIBS"
16243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 /* Override any GCC internal prototype to avoid an error.
16247 Use char because int might match the return type of a GCC
16248 builtin and then its argument prototype would still apply. */
16253 return sane_init ();
16258 if ac_fn_c_try_link
"$LINENO"
16260 ac_cv_lib_sane_sane_init
=yes
16262 ac_cv_lib_sane_sane_init
=no
16264 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16265 conftest
$ac_exeext conftest.
$ac_ext
16266 LIBS
=$ac_check_lib_save_LIBS
16268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16269 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16270 if test "x$ac_cv_lib_sane_sane_init" = xyes
16277 CPPFLAGS
=$ac_save_CPPFLAGS
16280 if test "$ac_cv_lib_sane_sane_init" != "yes"
16282 case "x$with_sane" in
16283 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16285 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16286 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16288 enable_sane_ds
=${enable_sane_ds:-no}
16291 if test "x$with_usb" != "xno"
16293 if ${USB_CFLAGS:+false} :
16295 if test ${PKG_CONFIG+y}
16297 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16301 if ${USB_LIBS:+false} :
16303 if test ${PKG_CONFIG+y}
16305 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16309 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16312 ac_save_CPPFLAGS
=$CPPFLAGS
16313 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16314 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_libusb_h" = xyes
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16318 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16319 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16321 printf %s
"(cached) " >&6
16323 ac_check_lib_save_LIBS
=$LIBS
16324 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16328 /* Override any GCC internal prototype to avoid an error.
16329 Use char because int might match the return type of a GCC
16330 builtin and then its argument prototype would still apply. */
16331 char libusb_interrupt_event_handler ();
16335 return libusb_interrupt_event_handler ();
16340 if ac_fn_c_try_link
"$LINENO"
16342 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16344 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16347 conftest
$ac_exeext conftest.
$ac_ext
16348 LIBS
=$ac_check_lib_save_LIBS
16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16351 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16352 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16363 CPPFLAGS
=$ac_save_CPPFLAGS
16366 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16368 case "x$with_usb" in
16369 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16371 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16372 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16374 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16377 if test "x$with_v4l2" != "xno"
16379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16380 printf %s
"checking for -lv4l2... " >&6; }
16381 if test ${ac_cv_lib_soname_v4l2+y}
16383 printf %s
"(cached) " >&6
16385 ac_check_soname_save_LIBS
=$LIBS
16386 LIBS
="-lv4l2 $LIBS"
16387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16390 /* Override any GCC internal prototype to avoid an error.
16391 Use char because int might match the return type of a GCC
16392 builtin and then its argument prototype would still apply. */
16397 return v4l2_open ();
16402 if ac_fn_c_try_link
"$LINENO"
16405 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16406 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'` ;;
16407 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16408 if ${ac_cv_lib_soname_v4l2:+false} :
16410 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16414 ac_cv_lib_soname_v4l2
=
16416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16417 conftest
$ac_exeext conftest.
$ac_ext
16418 LIBS
=$ac_check_soname_save_LIBS
16420 if ${ac_cv_lib_soname_v4l2:+false} :
16422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16423 printf "%s\n" "not found" >&6; }
16426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16427 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16429 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16434 if test "x$ac_cv_lib_soname_v4l2" = "x"
16436 case "x$with_v4l2" in
16437 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16439 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16440 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16445 if test "x$with_gphoto" != "xno"
16447 if ${GPHOTO2_CFLAGS:+false} :
16449 if test ${PKG_CONFIG+y}
16451 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16454 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16455 if ${GPHOTO2_LIBS:+false} :
16457 if test ${PKG_CONFIG+y}
16459 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16462 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16463 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16466 ac_save_CPPFLAGS
=$CPPFLAGS
16467 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16468 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16469 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16472 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16473 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16475 printf %s
"(cached) " >&6
16477 ac_check_lib_save_LIBS
=$LIBS
16478 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 char gp_camera_new ();
16489 return gp_camera_new ();
16494 if ac_fn_c_try_link
"$LINENO"
16496 ac_cv_lib_gphoto2_gp_camera_new
=yes
16498 ac_cv_lib_gphoto2_gp_camera_new
=no
16500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16501 conftest
$ac_exeext conftest.
$ac_ext
16502 LIBS
=$ac_check_lib_save_LIBS
16504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16505 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16506 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16513 CPPFLAGS
=$ac_save_CPPFLAGS
16515 if ${GPHOTO2_PORT_CFLAGS:+false} :
16517 if test ${PKG_CONFIG+y}
16519 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16522 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16523 if ${GPHOTO2_PORT_LIBS:+false} :
16525 if test ${PKG_CONFIG+y}
16527 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16530 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16531 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16534 ac_save_CPPFLAGS
=$CPPFLAGS
16535 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16536 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16537 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16540 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16541 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16543 printf %s
"(cached) " >&6
16545 ac_check_lib_save_LIBS
=$LIBS
16546 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16553 char gp_port_info_list_new ();
16557 return gp_port_info_list_new ();
16562 if ac_fn_c_try_link
"$LINENO"
16564 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16566 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16569 conftest
$ac_exeext conftest.
$ac_ext
16570 LIBS
=$ac_check_lib_save_LIBS
16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16573 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16574 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16577 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16580 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16584 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16587 CPPFLAGS
=$ac_save_CPPFLAGS
16590 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16592 case "x$with_gphoto" in
16593 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16595 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16596 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16598 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16600 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16602 case "x$with_gphoto" in
16603 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16605 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16606 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16612 if test "$ac_cv_header_resolv_h" = "yes"
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16615 printf %s
"checking for resolver library... " >&6; }
16616 if test ${ac_cv_have_resolv+y}
16618 printf %s
"(cached) " >&6
16620 ac_save_LIBS
="$LIBS"
16621 for lib
in '' -lresolv
16623 LIBS
="$lib $ac_save_LIBS"
16624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #ifdef HAVE_NETINET_IN_H
16627 #include <netinet/in.h>
16629 #include <resolv.h>
16633 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16638 if ac_fn_c_try_link
"$LINENO"
16640 ac_cv_have_resolv
=${lib:-"none required"}
16642 ac_cv_have_resolv
="not found"
16644 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16645 conftest
$ac_exeext conftest.
$ac_ext
16646 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16648 LIBS
="$ac_save_LIBS"
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16651 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16653 case "$ac_cv_have_resolv" in
16657 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16660 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16662 RESOLV_LIBS
=$ac_cv_have_resolv
16666 if test "x$ac_cv_have_resolv" != "xnot found"
16668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16669 printf %s
"checking for res_getservers... " >&6; }
16670 if test ${ac_cv_have_res_getservers+y}
16672 printf %s
"(cached) " >&6
16674 ac_save_LIBS
="$LIBS"
16675 LIBS
="$RESOLV_LIBS $LIBS"
16676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #include <resolv.h>
16682 res_getservers(NULL, NULL, 0);
16687 if ac_fn_c_try_link
"$LINENO"
16689 ac_cv_have_res_getservers
=yes
16691 ac_cv_have_res_getservers
=no
16693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16694 conftest
$ac_exeext conftest.
$ac_ext
16695 LIBS
="$ac_save_LIBS"
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16698 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16699 if test "$ac_cv_have_res_getservers" = "yes"
16702 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16708 if test "x$with_freetype" != "xno"
16710 if ${FREETYPE_CFLAGS:+false} :
16712 if test ${PKG_CONFIG+y}
16714 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16717 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16718 if ${FREETYPE_LIBS:+false} :
16720 if test ${PKG_CONFIG+y}
16722 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16725 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16726 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16729 ac_save_CPPFLAGS
=$CPPFLAGS
16730 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16731 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16732 if test "x$ac_cv_header_ft2build_h" = xyes
16734 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16738 if test "$ac_cv_header_ft2build_h" = "yes"
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16741 printf %s
"checking for -lfreetype... " >&6; }
16742 if test ${ac_cv_lib_soname_freetype+y}
16744 printf %s
"(cached) " >&6
16746 ac_check_soname_save_LIBS
=$LIBS
16747 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16751 /* Override any GCC internal prototype to avoid an error.
16752 Use char because int might match the return type of a GCC
16753 builtin and then its argument prototype would still apply. */
16754 char FT_Init_FreeType ();
16758 return FT_Init_FreeType ();
16763 if ac_fn_c_try_link
"$LINENO"
16766 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16767 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'` ;;
16768 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16769 if ${ac_cv_lib_soname_freetype:+false} :
16771 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16775 ac_cv_lib_soname_freetype
=
16777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16778 conftest
$ac_exeext conftest.
$ac_ext
16779 LIBS
=$ac_check_soname_save_LIBS
16781 if ${ac_cv_lib_soname_freetype:+false} :
16783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16784 printf "%s\n" "not found" >&6; }
16787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16788 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16790 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16793 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16795 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16796 #include FT_MODULE_H
16798 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16801 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16811 CPPFLAGS
=$ac_save_CPPFLAGS
16814 if test "x$ac_cv_lib_soname_freetype" = x
16816 case "x$with_freetype" in
16818 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16819 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16821 enable_fonts
=${enable_fonts:-no}
16824 ac_wine_check_funcs_save_LIBS
="$LIBS"
16825 LIBS
="$LIBS $PTHREAD_LIBS"
16826 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16827 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16829 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16833 LIBS
="$ac_wine_check_funcs_save_LIBS"
16835 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16837 if test "$ac_cv_header_gettext_po_h" = "yes"
16839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16840 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16841 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16843 printf %s
"(cached) " >&6
16845 ac_check_lib_save_LIBS
=$LIBS
16846 LIBS
="-lgettextpo $LIBS"
16847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 char po_message_msgctxt ();
16857 return po_message_msgctxt ();
16862 if ac_fn_c_try_link
"$LINENO"
16864 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16866 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16869 conftest
$ac_exeext conftest.
$ac_ext
16870 LIBS
=$ac_check_lib_save_LIBS
16872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16873 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16874 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16877 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16879 GETTEXTPO_LIBS
="-lgettextpo"
16884 if test "x$GETTEXTPO_LIBS" = "x"
16886 case "x$with_gettextpo" in
16887 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16889 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16890 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16894 if test "$srcdir" != .
16896 case "x$with_gettextpo" in
16897 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16899 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16900 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16906 if test "x$with_pulse" != "xno";
16908 if ${PULSE_CFLAGS:+false} :
16910 if test ${PKG_CONFIG+y}
16912 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16916 if ${PULSE_LIBS:+false} :
16918 if test ${PKG_CONFIG+y}
16920 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16927 ac_save_CPPFLAGS
=$CPPFLAGS
16928 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16929 for ac_header
in pulse
/pulseaudio.h
16931 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16932 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16934 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16936 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16937 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16939 printf %s
"(cached) " >&6
16941 ac_check_lib_save_LIBS
=$LIBS
16942 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16946 /* Override any GCC internal prototype to avoid an error.
16947 Use char because int might match the return type of a GCC
16948 builtin and then its argument prototype would still apply. */
16949 char pa_stream_is_corked ();
16953 return pa_stream_is_corked ();
16958 if ac_fn_c_try_link
"$LINENO"
16960 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16962 ac_cv_lib_pulse_pa_stream_is_corked
=no
16964 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16965 conftest
$ac_exeext conftest.
$ac_ext
16966 LIBS
=$ac_check_lib_save_LIBS
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16969 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16970 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16982 CPPFLAGS
=$ac_save_CPPFLAGS
16985 if test -z "$PULSE_LIBS"
16987 case "x$with_pulse" in
16988 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16990 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16991 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16993 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16996 if test "x$with_gstreamer" != "xno"
16998 if ${GSTREAMER_CFLAGS:+false} :
17000 if test ${PKG_CONFIG+y}
17002 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17006 if ${GSTREAMER_LIBS:+false} :
17008 if test ${PKG_CONFIG+y}
17010 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17017 ac_save_CPPFLAGS
=$CPPFLAGS
17018 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17019 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17020 if test "x$ac_cv_header_gst_gst_h" = xyes
17022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17023 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #include <gst/gst.h>
17030 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17035 if ac_fn_c_try_compile
"$LINENO"
17037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17038 printf "%s\n" "yes" >&6; }
17039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17040 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17041 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17043 printf %s
"(cached) " >&6
17045 ac_check_lib_save_LIBS
=$LIBS
17046 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17050 /* Override any GCC internal prototype to avoid an error.
17051 Use char because int might match the return type of a GCC
17052 builtin and then its argument prototype would still apply. */
17053 char gst_pad_new ();
17057 return gst_pad_new ();
17062 if ac_fn_c_try_link
"$LINENO"
17064 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17066 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17068 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17069 conftest
$ac_exeext conftest.
$ac_ext
17070 LIBS
=$ac_check_lib_save_LIBS
17072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17073 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17074 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17081 printf "%s\n" "no" >&6; }
17082 ac_glib2_broken
=yes
17083 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17085 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17088 CPPFLAGS
=$ac_save_CPPFLAGS
17091 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17093 case "x$with_gstreamer" in
17094 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17096 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17097 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17099 enable_winegstreamer
=${enable_winegstreamer:-no}
17104 if test "x$with_alsa" != "xno"
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17107 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17108 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17110 printf %s
"(cached) " >&6
17112 ac_check_lib_save_LIBS
=$LIBS
17113 LIBS
="-lasound $LIBS"
17114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 char snd_pcm_hw_params_get_access_mask ();
17124 return snd_pcm_hw_params_get_access_mask ();
17129 if ac_fn_c_try_link
"$LINENO"
17131 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17133 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17135 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17136 conftest
$ac_exeext conftest.
$ac_ext
17137 LIBS
=$ac_check_lib_save_LIBS
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17140 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17141 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <alsa/asoundlib.h>
17149 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17154 if ac_fn_c_try_compile
"$LINENO"
17156 ALSA_LIBS
="-lasound"
17158 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17162 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17164 if test "x$with_oss" != xno
17166 ac_save_CPPFLAGS
="$CPPFLAGS"
17167 if test -f /etc
/oss.conf
17171 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17172 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17173 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17174 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17176 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17178 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17181 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17183 OSS4_CFLAGS
="$ac_oss_incl"
17185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17186 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17187 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17189 printf %s
"(cached) " >&6
17191 ac_check_lib_save_LIBS
=$LIBS
17192 LIBS
="-lossaudio $LIBS"
17193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17196 /* Override any GCC internal prototype to avoid an error.
17197 Use char because int might match the return type of a GCC
17198 builtin and then its argument prototype would still apply. */
17199 char _oss_ioctl ();
17203 return _oss_ioctl ();
17208 if ac_fn_c_try_link
"$LINENO"
17210 ac_cv_lib_ossaudio__oss_ioctl
=yes
17212 ac_cv_lib_ossaudio__oss_ioctl
=no
17214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17215 conftest
$ac_exeext conftest.
$ac_ext
17216 LIBS
=$ac_check_lib_save_LIBS
17218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17219 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17220 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17222 OSS4_LIBS
="-lossaudio"
17230 CPPFLAGS
="$ac_save_CPPFLAGS"
17232 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17234 case "x$with_oss" in
17235 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17237 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17238 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17240 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17243 if test "x$with_udev" != "xno"
17245 if ${UDEV_CFLAGS:+false} :
17247 if test ${PKG_CONFIG+y}
17249 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17253 if ${UDEV_LIBS:+false} :
17255 if test ${PKG_CONFIG+y}
17257 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17261 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17264 ac_save_CPPFLAGS
=$CPPFLAGS
17265 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17266 for ac_header
in libudev.h
17268 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17269 if test "x$ac_cv_header_libudev_h" = xyes
17271 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17273 printf %s
"checking for udev_new in -ludev... " >&6; }
17274 if test ${ac_cv_lib_udev_udev_new+y}
17276 printf %s
"(cached) " >&6
17278 ac_check_lib_save_LIBS
=$LIBS
17279 LIBS
="-ludev $UDEV_LIBS $LIBS"
17280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17283 /* Override any GCC internal prototype to avoid an error.
17284 Use char because int might match the return type of a GCC
17285 builtin and then its argument prototype would still apply. */
17290 return udev_new ();
17295 if ac_fn_c_try_link
"$LINENO"
17297 ac_cv_lib_udev_udev_new
=yes
17299 ac_cv_lib_udev_udev_new
=no
17301 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17302 conftest
$ac_exeext conftest.
$ac_ext
17303 LIBS
=$ac_check_lib_save_LIBS
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17306 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17307 if test "x$ac_cv_lib_udev_udev_new" = xyes
17310 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17321 CPPFLAGS
=$ac_save_CPPFLAGS
17324 if test "x$UDEV_LIBS" = "x"
17326 case "x$with_udev" in
17327 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17329 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17330 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17335 if test "x$with_unwind" != xno
17337 if ${UNWIND_CFLAGS:+false} :
17339 if test ${PKG_CONFIG+y}
17341 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17345 if ${UNWIND_LIBS:+false} :
17347 if test ${PKG_CONFIG+y}
17349 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17353 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17356 ac_save_CPPFLAGS
=$CPPFLAGS
17357 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17359 printf %s
"checking for unw_step... " >&6; }
17360 if test ${wine_cv_have_unw_step+y}
17362 printf %s
"(cached) " >&6
17364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #define UNW_LOCAL_ONLY
17367 #include <libunwind.h>
17371 unw_cursor_t cursor; unw_step( &cursor );
17376 if ac_fn_c_try_link
"$LINENO"
17378 wine_cv_have_unw_step
="yes"
17380 wine_cv_have_unw_step
="no"
17382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17383 conftest
$ac_exeext conftest.
$ac_ext
17385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17386 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17387 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17390 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17391 LIBS
="$UNWIND_LIBS $LIBS"
17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17393 printf %s
"checking for unw_step in libunwind... " >&6; }
17394 if test ${wine_cv_have_libunwind_unw_step+y}
17396 printf %s
"(cached) " >&6
17398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #define UNW_LOCAL_ONLY
17401 #include <libunwind.h>
17405 unw_cursor_t cursor; unw_step( &cursor );
17410 if ac_fn_c_try_link
"$LINENO"
17412 wine_cv_have_libunwind_unw_step
="yes"
17414 wine_cv_have_libunwind_unw_step
="no"
17416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17417 conftest
$ac_exeext conftest.
$ac_ext
17419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17420 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17423 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17424 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17427 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17430 CPPFLAGS
=$ac_save_CPPFLAGS
17434 aarch64
*|
*-darwin*)
17435 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17437 case "x$with_unwind" in
17438 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17440 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17441 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17447 if test "x$with_sdl" != "xno"
17449 if ${SDL2_CFLAGS:+false} :
17451 if test ${PKG_CONFIG+y}
17453 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17457 if ${SDL2_LIBS:+false} :
17459 if test ${PKG_CONFIG+y}
17461 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17465 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17468 ac_save_CPPFLAGS
=$CPPFLAGS
17469 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17470 for ac_header
in SDL.h
17472 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17473 if test "x$ac_cv_header_SDL_h" = xyes
17475 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17477 printf %s
"checking for -lSDL2... " >&6; }
17478 if test ${ac_cv_lib_soname_SDL2+y}
17480 printf %s
"(cached) " >&6
17482 ac_check_soname_save_LIBS
=$LIBS
17483 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17487 /* Override any GCC internal prototype to avoid an error.
17488 Use char because int might match the return type of a GCC
17489 builtin and then its argument prototype would still apply. */
17494 return SDL_Init ();
17499 if ac_fn_c_try_link
"$LINENO"
17502 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17503 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'` ;;
17504 *) 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'`
17505 if ${ac_cv_lib_soname_SDL2:+false} :
17507 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17511 ac_cv_lib_soname_SDL2
=
17513 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17514 conftest
$ac_exeext conftest.
$ac_ext
17515 LIBS
=$ac_check_soname_save_LIBS
17517 if ${ac_cv_lib_soname_SDL2:+false} :
17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17520 printf "%s\n" "not found" >&6; }
17523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17524 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17526 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17533 CPPFLAGS
=$ac_save_CPPFLAGS
17536 if test "x$ac_cv_lib_soname_SDL2" = "x"
17538 case "x$with_sdl" in
17539 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17541 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17542 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17547 if test "x$with_capi" != "xno"
17549 if ${CAPI20_CFLAGS:+false} :
17551 if test ${PKG_CONFIG+y}
17553 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17557 if ${CAPI20_LIBS:+false} :
17559 if test ${PKG_CONFIG+y}
17561 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17568 ac_save_CPPFLAGS
=$CPPFLAGS
17569 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17570 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17572 if test "x$ac_cv_header_capi20_h" = xyes
17574 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17577 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17579 if test "x$ac_cv_header_linux_capi_h" = xyes
17581 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17585 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17588 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17589 if test ${ac_cv_lib_capi20_capi20_register+y}
17591 printf %s
"(cached) " >&6
17593 ac_check_lib_save_LIBS
=$LIBS
17594 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17598 /* Override any GCC internal prototype to avoid an error.
17599 Use char because int might match the return type of a GCC
17600 builtin and then its argument prototype would still apply. */
17601 char capi20_register ();
17605 return capi20_register ();
17610 if ac_fn_c_try_link
"$LINENO"
17612 ac_cv_lib_capi20_capi20_register
=yes
17614 ac_cv_lib_capi20_capi20_register
=no
17616 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17617 conftest
$ac_exeext conftest.
$ac_ext
17618 LIBS
=$ac_check_lib_save_LIBS
17620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17621 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17622 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17630 CPPFLAGS
=$ac_save_CPPFLAGS
17633 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17635 case "x$with_capi" in
17636 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17638 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17639 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17641 enable_capi2032
=${enable_capi2032:-no}
17644 if test "x$with_cups" != "xno"
17646 if ${CUPS_CFLAGS:+false} :
17648 if test ${PKG_CONFIG+y}
17650 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17653 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17654 if ${CUPS_LIBS:+false} :
17656 if test ${PKG_CONFIG+y}
17658 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17661 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17662 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17665 ac_save_CPPFLAGS
=$CPPFLAGS
17666 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17667 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17668 if test "x$ac_cv_header_cups_cups_h" = xyes
17670 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17673 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17674 if test "x$ac_cv_header_cups_ppd_h" = xyes
17676 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17680 if test "$ac_cv_header_cups_cups_h" = "yes"
17682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17683 printf %s
"checking for -lcups... " >&6; }
17684 if test ${ac_cv_lib_soname_cups+y}
17686 printf %s
"(cached) " >&6
17688 ac_check_soname_save_LIBS
=$LIBS
17689 LIBS
="-lcups $CUPS_LIBS $LIBS"
17690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17693 /* Override any GCC internal prototype to avoid an error.
17694 Use char because int might match the return type of a GCC
17695 builtin and then its argument prototype would still apply. */
17696 char cupsGetDefault ();
17700 return cupsGetDefault ();
17705 if ac_fn_c_try_link
"$LINENO"
17708 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17709 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'` ;;
17710 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17711 if ${ac_cv_lib_soname_cups:+false} :
17713 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17717 ac_cv_lib_soname_cups
=
17719 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17720 conftest
$ac_exeext conftest.
$ac_ext
17721 LIBS
=$ac_check_soname_save_LIBS
17723 if ${ac_cv_lib_soname_cups:+false} :
17725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17726 printf "%s\n" "not found" >&6; }
17729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17730 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17732 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17740 CPPFLAGS
=$ac_save_CPPFLAGS
17743 if test "x$ac_cv_lib_soname_cups" = "x"
17745 case "x$with_cups" in
17746 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17748 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17749 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17754 if test "x$with_fontconfig" != "xno"
17756 if ${FONTCONFIG_CFLAGS:+false} :
17758 if test ${PKG_CONFIG+y}
17760 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17763 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17764 if ${FONTCONFIG_LIBS:+false} :
17766 if test ${PKG_CONFIG+y}
17768 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17771 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17775 ac_save_CPPFLAGS
=$CPPFLAGS
17776 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17777 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17778 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17780 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17784 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17787 printf %s
"checking for -lfontconfig... " >&6; }
17788 if test ${ac_cv_lib_soname_fontconfig+y}
17790 printf %s
"(cached) " >&6
17792 ac_check_soname_save_LIBS
=$LIBS
17793 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17809 if ac_fn_c_try_link
"$LINENO"
17812 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17813 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'` ;;
17814 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17815 if ${ac_cv_lib_soname_fontconfig:+false} :
17817 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17821 ac_cv_lib_soname_fontconfig
=
17823 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17824 conftest
$ac_exeext conftest.
$ac_ext
17825 LIBS
=$ac_check_soname_save_LIBS
17827 if ${ac_cv_lib_soname_fontconfig:+false} :
17829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17830 printf "%s\n" "not found" >&6; }
17831 FONTCONFIG_CFLAGS
=""
17833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17834 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17836 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17841 FONTCONFIG_CFLAGS
=""
17843 CPPFLAGS
=$ac_save_CPPFLAGS
17846 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17848 case "x$with_fontconfig" in
17849 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17851 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17852 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17857 if test "x$with_krb5" != "xno"
17859 if ${KRB5_CFLAGS:+false} :
17861 if test ${PKG_CONFIG+y}
17863 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17866 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17867 if ${KRB5_LIBS:+false} :
17869 if test ${PKG_CONFIG+y}
17871 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17874 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17878 ac_save_CPPFLAGS
=$CPPFLAGS
17879 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17880 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17881 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17883 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17887 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17890 printf %s
"checking for -lkrb5... " >&6; }
17891 if test ${ac_cv_lib_soname_krb5+y}
17893 printf %s
"(cached) " >&6
17895 ac_check_soname_save_LIBS
=$LIBS
17896 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17900 /* Override any GCC internal prototype to avoid an error.
17901 Use char because int might match the return type of a GCC
17902 builtin and then its argument prototype would still apply. */
17903 char krb5_is_config_principal ();
17907 return krb5_is_config_principal ();
17912 if ac_fn_c_try_link
"$LINENO"
17915 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17916 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'` ;;
17917 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17918 if ${ac_cv_lib_soname_krb5:+false} :
17920 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17924 ac_cv_lib_soname_krb5
=
17926 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17927 conftest
$ac_exeext conftest.
$ac_ext
17928 LIBS
=$ac_check_soname_save_LIBS
17930 if ${ac_cv_lib_soname_krb5:+false} :
17932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17933 printf "%s\n" "not found" >&6; }
17936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17937 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17939 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17946 CPPFLAGS
=$ac_save_CPPFLAGS
17949 if test "x$ac_cv_lib_soname_krb5" = "x"
17951 case "x$with_krb5" in
17952 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17954 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17955 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17959 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17961 if test "x$with_gssapi" != "xno"
17963 if ${GSSAPI_CFLAGS:+false} :
17965 if test ${PKG_CONFIG+y}
17967 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17970 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17971 if ${GSSAPI_LIBS:+false} :
17973 if test ${PKG_CONFIG+y}
17975 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17978 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17982 ac_save_CPPFLAGS
=$CPPFLAGS
17983 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17984 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17985 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17987 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17990 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17991 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17993 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17997 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18000 printf %s
"checking for -lgssapi_krb5... " >&6; }
18001 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18003 printf %s
"(cached) " >&6
18005 ac_check_soname_save_LIBS
=$LIBS
18006 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18010 /* Override any GCC internal prototype to avoid an error.
18011 Use char because int might match the return type of a GCC
18012 builtin and then its argument prototype would still apply. */
18013 char gss_init_sec_context ();
18017 return gss_init_sec_context ();
18022 if ac_fn_c_try_link
"$LINENO"
18025 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18026 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'` ;;
18027 *) 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'`
18028 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18030 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18034 ac_cv_lib_soname_gssapi_krb5
=
18036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18037 conftest
$ac_exeext conftest.
$ac_ext
18038 LIBS
=$ac_check_soname_save_LIBS
18040 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18043 printf "%s\n" "not found" >&6; }
18046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18047 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18049 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18056 CPPFLAGS
=$ac_save_CPPFLAGS
18059 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18061 case "x$with_gssapi" in
18062 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18064 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18065 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18070 if test "$ac_cv_header_AL_al_h" = "yes"
18072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18073 printf %s
"checking for -lopenal... " >&6; }
18074 if test ${ac_cv_lib_soname_openal+y}
18076 printf %s
"(cached) " >&6
18078 ac_check_soname_save_LIBS
=$LIBS
18079 LIBS
="-lopenal $LIBS"
18080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18083 /* Override any GCC internal prototype to avoid an error.
18084 Use char because int might match the return type of a GCC
18085 builtin and then its argument prototype would still apply. */
18086 char alGetSource3i ();
18090 return alGetSource3i ();
18095 if ac_fn_c_try_link
"$LINENO"
18098 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18099 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'` ;;
18100 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18101 if ${ac_cv_lib_soname_openal:+false} :
18103 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18107 ac_cv_lib_soname_openal
=
18109 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18110 conftest
$ac_exeext conftest.
$ac_ext
18111 LIBS
=$ac_check_soname_save_LIBS
18113 if ${ac_cv_lib_soname_openal:+false} :
18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18116 printf "%s\n" "not found" >&6; }
18119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18120 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18122 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18124 OPENAL_LIBS
="-lopenal"
18126 ac_cv_lib_openal
=yes
18128 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18132 if test "x$ac_cv_lib_openal" != xyes
18134 case "x$with_openal" in
18135 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18137 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18138 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18140 enable_openal32
=${enable_openal32:-no}
18143 if test "$ac_cv_header_libprocstat_h" = "yes"
18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18146 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18147 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18149 printf %s
"(cached) " >&6
18151 ac_check_lib_save_LIBS
=$LIBS
18152 LIBS
="-lprocstat $LIBS"
18153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18159 char procstat_open_sysctl ();
18163 return procstat_open_sysctl ();
18168 if ac_fn_c_try_link
"$LINENO"
18170 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18172 ac_cv_lib_procstat_procstat_open_sysctl
=no
18174 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18175 conftest
$ac_exeext conftest.
$ac_ext
18176 LIBS
=$ac_check_lib_save_LIBS
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18179 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18180 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18183 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18185 PROCSTAT_LIBS
="-lprocstat"
18191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18192 printf %s
"checking for -lodbc... " >&6; }
18193 if test ${ac_cv_lib_soname_odbc+y}
18195 printf %s
"(cached) " >&6
18197 ac_check_soname_save_LIBS
=$LIBS
18198 LIBS
="-lodbc $LIBS"
18199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18202 /* Override any GCC internal prototype to avoid an error.
18203 Use char because int might match the return type of a GCC
18204 builtin and then its argument prototype would still apply. */
18205 char SQLConnect ();
18209 return SQLConnect ();
18214 if ac_fn_c_try_link
"$LINENO"
18217 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18218 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'` ;;
18219 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18220 if ${ac_cv_lib_soname_odbc:+false} :
18222 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18226 ac_cv_lib_soname_odbc
=
18228 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18229 conftest
$ac_exeext conftest.
$ac_ext
18230 LIBS
=$ac_check_soname_save_LIBS
18232 if ${ac_cv_lib_soname_odbc:+false} :
18234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18235 printf "%s\n" "not found" >&6; }
18236 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18240 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18242 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18247 if test "x$with_netapi" != "xno"
18249 if ${NETAPI_CFLAGS:+false} :
18251 if test ${PKG_CONFIG+y}
18253 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18257 if ${NETAPI_LIBS:+false} :
18259 if test ${PKG_CONFIG+y}
18261 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18268 ac_save_CPPFLAGS
=$CPPFLAGS
18269 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18271 printf %s
"checking for -lnetapi... " >&6; }
18272 if test ${ac_cv_lib_soname_netapi+y}
18274 printf %s
"(cached) " >&6
18276 ac_check_soname_save_LIBS
=$LIBS
18277 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18281 /* Override any GCC internal prototype to avoid an error.
18282 Use char because int might match the return type of a GCC
18283 builtin and then its argument prototype would still apply. */
18284 char libnetapi_init ();
18288 return libnetapi_init ();
18293 if ac_fn_c_try_link
"$LINENO"
18296 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18297 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'` ;;
18298 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18299 if ${ac_cv_lib_soname_netapi:+false} :
18301 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18305 ac_cv_lib_soname_netapi
=
18307 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18308 conftest
$ac_exeext conftest.
$ac_ext
18309 LIBS
=$ac_check_soname_save_LIBS
18311 if ${ac_cv_lib_soname_netapi:+false} :
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18314 printf "%s\n" "not found" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18319 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18321 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18325 CPPFLAGS
=$ac_save_CPPFLAGS
18328 if test "x$ac_cv_lib_soname_netapi" = "x"
18330 case "x$with_netapi" in
18331 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18333 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18334 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18336 enable_netapi
=${enable_netapi:-no}
18340 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18341 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18343 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18346 if test "x$with_vulkan" != "xno"
18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18349 printf %s
"checking for -lvulkan... " >&6; }
18350 if test ${ac_cv_lib_soname_vulkan+y}
18352 printf %s
"(cached) " >&6
18354 ac_check_soname_save_LIBS
=$LIBS
18355 LIBS
="-lvulkan $LIBS"
18356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18362 char vkGetInstanceProcAddr ();
18366 return vkGetInstanceProcAddr ();
18371 if ac_fn_c_try_link
"$LINENO"
18374 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18375 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'` ;;
18376 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18377 if ${ac_cv_lib_soname_vulkan:+false} :
18379 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18383 ac_cv_lib_soname_vulkan
=
18385 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18386 conftest
$ac_exeext conftest.
$ac_ext
18387 LIBS
=$ac_check_soname_save_LIBS
18389 if ${ac_cv_lib_soname_vulkan:+false} :
18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18392 printf "%s\n" "not found" >&6; }
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18396 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18398 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18402 if test "x$ac_cv_lib_soname_vulkan" = "x"
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18405 printf %s
"checking for -lMoltenVK... " >&6; }
18406 if test ${ac_cv_lib_soname_MoltenVK+y}
18408 printf %s
"(cached) " >&6
18410 ac_check_soname_save_LIBS
=$LIBS
18411 LIBS
="-lMoltenVK $LIBS"
18412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18415 /* Override any GCC internal prototype to avoid an error.
18416 Use char because int might match the return type of a GCC
18417 builtin and then its argument prototype would still apply. */
18418 char vkGetInstanceProcAddr ();
18422 return vkGetInstanceProcAddr ();
18427 if ac_fn_c_try_link
"$LINENO"
18430 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18431 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'` ;;
18432 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18433 if ${ac_cv_lib_soname_MoltenVK:+false} :
18435 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18439 ac_cv_lib_soname_MoltenVK
=
18441 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18442 conftest
$ac_exeext conftest.
$ac_ext
18443 LIBS
=$ac_check_soname_save_LIBS
18445 if ${ac_cv_lib_soname_MoltenVK:+false} :
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18448 printf "%s\n" "not found" >&6; }
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18452 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18454 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18460 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18462 case "x$with_vulkan" in
18463 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18465 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18466 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18472 if test "x${GCC}" = "xyes"
18474 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18476 saved_CFLAGS
=$CFLAGS
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18478 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18479 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18481 printf %s
"(cached) " >&6
18483 ac_wine_try_cflags_saved
=$CFLAGS
18484 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h. */
18487 int main(int argc, char **argv) { return 0; }
18489 if ac_fn_c_try_link
"$LINENO"
18491 ac_cv_cflags__Werror_unknown_warning_option
=yes
18493 ac_cv_cflags__Werror_unknown_warning_option
=no
18495 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18496 conftest
$ac_exeext conftest.
$ac_ext
18497 CFLAGS
=$ac_wine_try_cflags_saved
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18500 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18501 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18503 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18506 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18507 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18509 printf %s
"(cached) " >&6
18511 ac_wine_try_cflags_saved
=$CFLAGS
18512 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 int main(int argc, char **argv) { return 0; }
18517 if ac_fn_c_try_link
"$LINENO"
18519 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18521 ac_cv_cflags__Werror_unused_command_line_argument
=no
18523 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18524 conftest
$ac_exeext conftest.
$ac_ext
18525 CFLAGS
=$ac_wine_try_cflags_saved
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18528 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18529 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18531 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18534 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18535 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18537 printf %s
"(cached) " >&6
18539 ac_wine_try_cflags_saved
=$CFLAGS
18540 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18543 int main(int argc, char **argv) { return 0; }
18545 if ac_fn_c_try_link
"$LINENO"
18547 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18549 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18551 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18552 conftest
$ac_exeext conftest.
$ac_ext
18553 CFLAGS
=$ac_wine_try_cflags_saved
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18556 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18557 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18559 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18562 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18563 if test ${ac_cv_cflags__fcf_protection_none+y}
18565 printf %s
"(cached) " >&6
18567 ac_wine_try_cflags_saved
=$CFLAGS
18568 CFLAGS
="$CFLAGS -fcf-protection=none"
18569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571 int main(int argc, char **argv) { return 0; }
18573 if ac_fn_c_try_link
"$LINENO"
18575 ac_cv_cflags__fcf_protection_none
=yes
18577 ac_cv_cflags__fcf_protection_none
=no
18579 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18580 conftest
$ac_exeext conftest.
$ac_ext
18581 CFLAGS
=$ac_wine_try_cflags_saved
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18584 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18585 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18587 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18590 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18591 if test ${ac_cv_cflags__fno_stack_protector+y}
18593 printf %s
"(cached) " >&6
18595 ac_wine_try_cflags_saved
=$CFLAGS
18596 CFLAGS
="$CFLAGS -fno-stack-protector"
18597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 int main(int argc, char **argv) { return 0; }
18601 if ac_fn_c_try_link
"$LINENO"
18603 ac_cv_cflags__fno_stack_protector
=yes
18605 ac_cv_cflags__fno_stack_protector
=no
18607 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18608 conftest
$ac_exeext conftest.
$ac_ext
18609 CFLAGS
=$ac_wine_try_cflags_saved
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18612 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18613 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18615 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18618 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18619 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18621 printf %s
"(cached) " >&6
18623 ac_wine_try_cflags_saved
=$CFLAGS
18624 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 int main(int argc, char **argv) { return 0; }
18629 if ac_fn_c_try_link
"$LINENO"
18631 ac_cv_cflags__fno_strict_aliasing
=yes
18633 ac_cv_cflags__fno_strict_aliasing
=no
18635 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18636 conftest
$ac_exeext conftest.
$ac_ext
18637 CFLAGS
=$ac_wine_try_cflags_saved
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18640 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18641 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18643 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18646 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18647 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18649 printf %s
"(cached) " >&6
18651 ac_wine_try_cflags_saved
=$CFLAGS
18652 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 int main(int argc, char **argv) { return 0; }
18657 if ac_fn_c_try_link
"$LINENO"
18659 ac_cv_cflags__Wdeclaration_after_statement
=yes
18661 ac_cv_cflags__Wdeclaration_after_statement
=no
18663 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18664 conftest
$ac_exeext conftest.
$ac_ext
18665 CFLAGS
=$ac_wine_try_cflags_saved
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18668 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18669 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18671 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18674 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18675 if test ${ac_cv_cflags__Wempty_body+y}
18677 printf %s
"(cached) " >&6
18679 ac_wine_try_cflags_saved
=$CFLAGS
18680 CFLAGS
="$CFLAGS -Wempty-body"
18681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 int main(int argc, char **argv) { return 0; }
18685 if ac_fn_c_try_link
"$LINENO"
18687 ac_cv_cflags__Wempty_body
=yes
18689 ac_cv_cflags__Wempty_body
=no
18691 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18692 conftest
$ac_exeext conftest.
$ac_ext
18693 CFLAGS
=$ac_wine_try_cflags_saved
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18696 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18697 if test "x$ac_cv_cflags__Wempty_body" = xyes
18699 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18702 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18703 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18705 printf %s
"(cached) " >&6
18707 ac_wine_try_cflags_saved
=$CFLAGS
18708 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711 int main(int argc, char **argv) { return 0; }
18713 if ac_fn_c_try_link
"$LINENO"
18715 ac_cv_cflags__Wignored_qualifiers
=yes
18717 ac_cv_cflags__Wignored_qualifiers
=no
18719 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18720 conftest
$ac_exeext conftest.
$ac_ext
18721 CFLAGS
=$ac_wine_try_cflags_saved
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18724 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18725 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18727 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18730 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18731 if test ${ac_cv_cflags__Winit_self+y}
18733 printf %s
"(cached) " >&6
18735 ac_wine_try_cflags_saved
=$CFLAGS
18736 CFLAGS
="$CFLAGS -Winit-self"
18737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739 int main(int argc, char **argv) { return 0; }
18741 if ac_fn_c_try_link
"$LINENO"
18743 ac_cv_cflags__Winit_self
=yes
18745 ac_cv_cflags__Winit_self
=no
18747 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18748 conftest
$ac_exeext conftest.
$ac_ext
18749 CFLAGS
=$ac_wine_try_cflags_saved
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18752 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18753 if test "x$ac_cv_cflags__Winit_self" = xyes
18755 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18758 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18759 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18761 printf %s
"(cached) " >&6
18763 ac_wine_try_cflags_saved
=$CFLAGS
18764 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 int main(int argc, char **argv) { return 0; }
18769 if ac_fn_c_try_link
"$LINENO"
18771 ac_cv_cflags__Wpacked_not_aligned
=yes
18773 ac_cv_cflags__Wpacked_not_aligned
=no
18775 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18776 conftest
$ac_exeext conftest.
$ac_ext
18777 CFLAGS
=$ac_wine_try_cflags_saved
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18780 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18781 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18783 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18786 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18787 if test ${ac_cv_cflags__Wpragma_pack+y}
18789 printf %s
"(cached) " >&6
18791 ac_wine_try_cflags_saved
=$CFLAGS
18792 CFLAGS
="$CFLAGS -Wpragma-pack"
18793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 int main(int argc, char **argv) { return 0; }
18797 if ac_fn_c_try_link
"$LINENO"
18799 ac_cv_cflags__Wpragma_pack
=yes
18801 ac_cv_cflags__Wpragma_pack
=no
18803 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18804 conftest
$ac_exeext conftest.
$ac_ext
18805 CFLAGS
=$ac_wine_try_cflags_saved
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18808 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18809 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18811 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18814 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18815 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18817 printf %s
"(cached) " >&6
18819 ac_wine_try_cflags_saved
=$CFLAGS
18820 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18822 /* end confdefs.h. */
18823 int main(int argc, char **argv) { return 0; }
18825 if ac_fn_c_try_link
"$LINENO"
18827 ac_cv_cflags__Wshift_overflow_2
=yes
18829 ac_cv_cflags__Wshift_overflow_2
=no
18831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18832 conftest
$ac_exeext conftest.
$ac_ext
18833 CFLAGS
=$ac_wine_try_cflags_saved
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18836 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18837 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18839 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18842 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18843 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18845 printf %s
"(cached) " >&6
18847 ac_wine_try_cflags_saved
=$CFLAGS
18848 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 int main(int argc, char **argv) { return 0; }
18853 if ac_fn_c_try_link
"$LINENO"
18855 ac_cv_cflags__Wstrict_prototypes
=yes
18857 ac_cv_cflags__Wstrict_prototypes
=no
18859 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18860 conftest
$ac_exeext conftest.
$ac_ext
18861 CFLAGS
=$ac_wine_try_cflags_saved
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18864 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18865 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18867 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18870 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18871 if test ${ac_cv_cflags__Wtype_limits+y}
18873 printf %s
"(cached) " >&6
18875 ac_wine_try_cflags_saved
=$CFLAGS
18876 CFLAGS
="$CFLAGS -Wtype-limits"
18877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h. */
18879 int main(int argc, char **argv) { return 0; }
18881 if ac_fn_c_try_link
"$LINENO"
18883 ac_cv_cflags__Wtype_limits
=yes
18885 ac_cv_cflags__Wtype_limits
=no
18887 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18888 conftest
$ac_exeext conftest.
$ac_ext
18889 CFLAGS
=$ac_wine_try_cflags_saved
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18892 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18893 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18895 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18898 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18899 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18901 printf %s
"(cached) " >&6
18903 ac_wine_try_cflags_saved
=$CFLAGS
18904 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h. */
18907 int main(int argc, char **argv) { return 0; }
18909 if ac_fn_c_try_link
"$LINENO"
18911 ac_cv_cflags__Wunused_but_set_parameter
=yes
18913 ac_cv_cflags__Wunused_but_set_parameter
=no
18915 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18916 conftest
$ac_exeext conftest.
$ac_ext
18917 CFLAGS
=$ac_wine_try_cflags_saved
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18920 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18921 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18923 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18926 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18927 if test ${ac_cv_cflags__Wvla+y}
18929 printf %s
"(cached) " >&6
18931 ac_wine_try_cflags_saved
=$CFLAGS
18932 CFLAGS
="$CFLAGS -Wvla"
18933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 int main(int argc, char **argv) { return 0; }
18937 if ac_fn_c_try_link
"$LINENO"
18939 ac_cv_cflags__Wvla
=yes
18941 ac_cv_cflags__Wvla
=no
18943 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18944 conftest
$ac_exeext conftest.
$ac_ext
18945 CFLAGS
=$ac_wine_try_cflags_saved
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18948 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18949 if test "x$ac_cv_cflags__Wvla" = xyes
18951 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18954 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18955 if test ${ac_cv_cflags__Wwrite_strings+y}
18957 printf %s
"(cached) " >&6
18959 ac_wine_try_cflags_saved
=$CFLAGS
18960 CFLAGS
="$CFLAGS -Wwrite-strings"
18961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 int main(int argc, char **argv) { return 0; }
18965 if ac_fn_c_try_link
"$LINENO"
18967 ac_cv_cflags__Wwrite_strings
=yes
18969 ac_cv_cflags__Wwrite_strings
=no
18971 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18972 conftest
$ac_exeext conftest.
$ac_ext
18973 CFLAGS
=$ac_wine_try_cflags_saved
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18976 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18977 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18979 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18982 if test -z "$CROSSTARGET"
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18985 printf %s
"checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18986 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18988 printf %s
"(cached) " >&6
18990 ac_wine_try_cflags_saved
=$CFLAGS
18991 CFLAGS
="$CFLAGS -fexcess-precision=standard"
18992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18993 /* end confdefs.h. */
18994 int main(int argc, char **argv) { return 0; }
18996 if ac_fn_c_try_link
"$LINENO"
18998 ac_cv_cflags__fexcess_precision_standard
=yes
19000 ac_cv_cflags__fexcess_precision_standard
=no
19002 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19003 conftest
$ac_exeext conftest.
$ac_ext
19004 CFLAGS
=$ac_wine_try_cflags_saved
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19007 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19008 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19010 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19016 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19017 if test ${ac_cv_cflags__Wpointer_arith+y}
19019 printf %s
"(cached) " >&6
19021 ac_wine_try_cflags_saved
=$CFLAGS
19022 CFLAGS
="$CFLAGS -Wpointer-arith"
19023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 int main(int argc, char **argv) { return 0; }
19027 if ac_fn_c_try_link
"$LINENO"
19029 ac_cv_cflags__Wpointer_arith
=yes
19031 ac_cv_cflags__Wpointer_arith
=no
19033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19034 conftest
$ac_exeext conftest.
$ac_ext
19035 CFLAGS
=$ac_wine_try_cflags_saved
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19038 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19039 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19041 saved_string_h_CFLAGS
=$CFLAGS
19042 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19044 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19045 if test ${ac_cv_c_string_h_warnings+y}
19047 printf %s
"(cached) " >&6
19049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19050 /* end confdefs.h. */
19051 #include <string.h>
19060 if ac_fn_c_try_compile
"$LINENO"
19062 ac_cv_c_string_h_warnings
=no
19064 ac_cv_c_string_h_warnings
=yes
19066 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19069 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19070 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19071 CFLAGS
=$saved_string_h_CFLAGS
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19075 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19076 if test ${ac_cv_cflags__Wlogical_op+y}
19078 printf %s
"(cached) " >&6
19080 ac_wine_try_cflags_saved
=$CFLAGS
19081 CFLAGS
="$CFLAGS -Wlogical-op"
19082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19084 int main(int argc, char **argv) { return 0; }
19086 if ac_fn_c_try_link
"$LINENO"
19088 ac_cv_cflags__Wlogical_op
=yes
19090 ac_cv_cflags__Wlogical_op
=no
19092 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19093 conftest
$ac_exeext conftest.
$ac_ext
19094 CFLAGS
=$ac_wine_try_cflags_saved
19096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19097 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19098 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19100 saved_string_h_CFLAGS
=$CFLAGS
19101 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19103 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19104 if test ${ac_cv_c_logicalop_noisy+y}
19106 printf %s
"(cached) " >&6
19108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 #include <string.h>
19111 char*f(const char *h,char n) {return strchr(h,n);}
19120 if ac_fn_c_try_compile
"$LINENO"
19122 ac_cv_c_logicalop_noisy
=no
19124 ac_cv_c_logicalop_noisy
=yes
19126 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19129 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19130 CFLAGS
=$saved_string_h_CFLAGS
19131 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19135 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19136 if test ${wine_cv_64bit_compare_swap+y}
19138 printf %s
"(cached) " >&6
19140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19153 if ac_fn_c_try_compile
"$LINENO"
19155 wine_cv_64bit_compare_swap
="none needed"
19158 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19159 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19160 *) wine_cv_64bit_compare_swap
="unknown" ;;
19162 if test "x$wine_cv_64bit_compare_swap" != xunknown
19164 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19167 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19178 if ac_fn_c_try_compile
"$LINENO"
19182 wine_cv_64bit_compare_swap
="unknown"
19184 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19185 CFLAGS
=$saved_CFLAGS
19188 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19191 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19192 case "$wine_cv_64bit_compare_swap" in
19193 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19195 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19198 ac_debug_format_seen
=""
19199 for ac_flag
in $CFLAGS; do
19201 -gdwarf*) ac_debug_format_seen
=yes ;;
19202 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19205 if test "x$ac_debug_format_seen" = xdefault
19207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19208 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19209 if test ${ac_cv_cflags__gdwarf_4+y}
19211 printf %s
"(cached) " >&6
19213 ac_wine_try_cflags_saved
=$CFLAGS
19214 CFLAGS
="$CFLAGS -gdwarf-4"
19215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19217 int main(int argc, char **argv) { return 0; }
19219 if ac_fn_c_try_link
"$LINENO"
19221 ac_cv_cflags__gdwarf_4
=yes
19223 ac_cv_cflags__gdwarf_4
=no
19225 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19226 conftest
$ac_exeext conftest.
$ac_ext
19227 CFLAGS
=$ac_wine_try_cflags_saved
19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19230 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19231 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19233 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19240 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19241 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19242 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19244 printf %s
"(cached) " >&6
19246 ac_wine_try_cflags_saved
=$CFLAGS
19247 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19250 int main(int argc, char **argv) { return 0; }
19252 if ac_fn_c_try_link
"$LINENO"
19254 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19256 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19258 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19259 conftest
$ac_exeext conftest.
$ac_ext
19260 CFLAGS
=$ac_wine_try_cflags_saved
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19263 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19264 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19266 DELAYLOADFLAG
="-Wl,-delayload,"
19269 *) MSVCRTFLAGS
="-D_WIN32"
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19271 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19272 if test ${ac_cv_cflags__fno_builtin+y}
19274 printf %s
"(cached) " >&6
19276 ac_wine_try_cflags_saved
=$CFLAGS
19277 CFLAGS
="$CFLAGS -fno-builtin"
19278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19279 /* end confdefs.h. */
19280 int main(int argc, char **argv) { return 0; }
19282 if ac_fn_c_try_link
"$LINENO"
19284 ac_cv_cflags__fno_builtin
=yes
19286 ac_cv_cflags__fno_builtin
=no
19288 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19289 conftest
$ac_exeext conftest.
$ac_ext
19290 CFLAGS
=$ac_wine_try_cflags_saved
19292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19293 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19294 if test "x$ac_cv_cflags__fno_builtin" = xyes
19296 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19299 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19300 if test ${ac_cv_cflags__fshort_wchar+y}
19302 printf %s
"(cached) " >&6
19304 ac_wine_try_cflags_saved
=$CFLAGS
19305 CFLAGS
="$CFLAGS -fshort-wchar"
19306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 int main(int argc, char **argv) { return 0; }
19310 if ac_fn_c_try_link
"$LINENO"
19312 ac_cv_cflags__fshort_wchar
=yes
19314 ac_cv_cflags__fshort_wchar
=no
19316 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19317 conftest
$ac_exeext conftest.
$ac_ext
19318 CFLAGS
=$ac_wine_try_cflags_saved
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19321 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19322 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19324 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19327 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19328 if test ${ac_cv_cflags__Wno_format+y}
19330 printf %s
"(cached) " >&6
19332 ac_wine_try_cflags_saved
=$CFLAGS
19333 CFLAGS
="$CFLAGS -Wno-format"
19334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19336 int main(int argc, char **argv) { return 0; }
19338 if ac_fn_c_try_link
"$LINENO"
19340 ac_cv_cflags__Wno_format
=yes
19342 ac_cv_cflags__Wno_format
=no
19344 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19345 conftest
$ac_exeext conftest.
$ac_ext
19346 CFLAGS
=$ac_wine_try_cflags_saved
19348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19349 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19350 if test "x$ac_cv_cflags__Wno_format" = xyes
19352 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19357 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19358 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19359 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19361 printf %s
"(cached) " >&6
19363 ac_wine_try_cflags_saved
=$CFLAGS
19364 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19367 int main(int argc, char **argv) { return 0; }
19369 if ac_fn_c_try_link
"$LINENO"
19371 ac_cv_cflags__fno_omit_frame_pointer
=yes
19373 ac_cv_cflags__fno_omit_frame_pointer
=no
19375 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19376 conftest
$ac_exeext conftest.
$ac_ext
19377 CFLAGS
=$ac_wine_try_cflags_saved
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19380 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19381 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19383 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19387 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19388 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19389 if test ${ac_cv_cflags__Wno_format+y}
19391 printf %s
"(cached) " >&6
19393 ac_wine_try_cflags_saved
=$CFLAGS
19394 CFLAGS
="$CFLAGS -Wno-format"
19395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 int main(int argc, char **argv) { return 0; }
19399 if ac_fn_c_try_link
"$LINENO"
19401 ac_cv_cflags__Wno_format
=yes
19403 ac_cv_cflags__Wno_format
=no
19405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19406 conftest
$ac_exeext conftest.
$ac_ext
19407 CFLAGS
=$ac_wine_try_cflags_saved
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19410 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19411 if test "x$ac_cv_cflags__Wno_format" = xyes
19413 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19415 *) if test -z "$CROSSTARGET"
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19418 printf %s
"checking for working -mabi=ms... " >&6; }
19419 if test ${ac_cv_mabi_ms+y}
19421 printf %s
"(cached) " >&6
19423 CFLAGS
="$CFLAGS -mabi=ms"
19424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 #include <stdarg.h>
19427 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19436 if ac_fn_c_try_compile
"$LINENO"
19442 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19443 CFLAGS
=$saved_CFLAGS
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19446 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19447 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
19449 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19453 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19454 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19456 printf %s
"(cached) " >&6
19458 ac_wine_try_cflags_saved
=$CFLAGS
19459 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19464 if ac_fn_c_try_link
"$LINENO"
19466 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19468 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19470 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19471 conftest
$ac_exeext conftest.
$ac_ext
19472 CFLAGS
=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19475 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19476 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19478 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19482 CFLAGS
=$saved_CFLAGS
19484 if test "x$enable_werror" = "xyes"
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19487 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19488 if test ${ac_cv_cflags__Werror+y}
19490 printf %s
"(cached) " >&6
19492 ac_wine_try_cflags_saved
=$CFLAGS
19493 CFLAGS
="$CFLAGS -Werror"
19494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 int main(int argc, char **argv) { return 0; }
19498 if ac_fn_c_try_link
"$LINENO"
19500 ac_cv_cflags__Werror
=yes
19502 ac_cv_cflags__Werror
=no
19504 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19505 conftest
$ac_exeext conftest.
$ac_ext
19506 CFLAGS
=$ac_wine_try_cflags_saved
19508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19509 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19510 if test "x$ac_cv_cflags__Werror" = xyes
19512 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19515 if test "x$enable_build_id" = "xyes"
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19518 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19519 if test ${ac_cv_cflags__Wl___build_id+y}
19521 printf %s
"(cached) " >&6
19523 ac_wine_try_cflags_saved
=$CFLAGS
19524 CFLAGS
="$CFLAGS -Wl,--build-id"
19525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19529 if ac_fn_c_try_link
"$LINENO"
19531 ac_cv_cflags__Wl___build_id
=yes
19533 ac_cv_cflags__Wl___build_id
=no
19535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19536 conftest
$ac_exeext conftest.
$ac_ext
19537 CFLAGS
=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19541 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19543 CFLAGS
="$CFLAGS -Wl,--build-id"
19544 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19551 printf %s
"checking for the need to disable Fortify... " >&6; }
19552 if test ${ac_cv_c_fortify_enabled+y}
19554 printf %s
"(cached) " >&6
19556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <string.h>
19562 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19563 #error Fortify enabled
19569 if ac_fn_c_try_compile
"$LINENO"
19571 ac_cv_c_fortify_enabled
=no
19573 ac_cv_c_fortify_enabled
=yes
19575 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19578 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19579 if test "$ac_cv_c_fortify_enabled" = yes
19581 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19586 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19587 if test ${ac_cv_c_cfi_support+y}
19589 printf %s
"(cached) " >&6
19591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19593 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19602 if ac_fn_c_try_compile
"$LINENO"
19604 ac_cv_c_cfi_support
="yes"
19606 ac_cv_c_cfi_support
="no"
19608 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19611 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19612 if test "$ac_cv_c_cfi_support" = "yes"
19614 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19615 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19616 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19618 if test "x$enable_win64" = "xyes"
19620 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19628 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19629 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
19630 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19637 ac_save_CFLAGS
="$CFLAGS"
19638 CFLAGS
="$CFLAGS $BUILTINFLAG"
19639 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19640 if test "x$ac_cv_func_epoll_create" = xyes
19642 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19645 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19646 if test "x$ac_cv_func_fstatfs" = xyes
19648 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19651 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19652 if test "x$ac_cv_func_futimens" = xyes
19654 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19657 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19658 if test "x$ac_cv_func_futimes" = xyes
19660 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19663 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19664 if test "x$ac_cv_func_futimesat" = xyes
19666 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19669 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19670 if test "x$ac_cv_func_getattrlist" = xyes
19672 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19675 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19676 if test "x$ac_cv_func_getauxval" = xyes
19678 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19681 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19682 if test "x$ac_cv_func_getifaddrs" = xyes
19684 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19687 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19688 if test "x$ac_cv_func_getrandom" = xyes
19690 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19693 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19694 if test "x$ac_cv_func_kqueue" = xyes
19696 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19699 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19700 if test "x$ac_cv_func_mach_continuous_time" = xyes
19702 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19705 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19706 if test "x$ac_cv_func_pipe2" = xyes
19708 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19711 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19712 if test "x$ac_cv_func_port_create" = xyes
19714 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19717 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19718 if test "x$ac_cv_func_posix_fadvise" = xyes
19720 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19723 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19724 if test "x$ac_cv_func_posix_fallocate" = xyes
19726 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19729 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19730 if test "x$ac_cv_func_prctl" = xyes
19732 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19735 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19736 if test "x$ac_cv_func_proc_pidinfo" = xyes
19738 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19741 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19742 if test "x$ac_cv_func_sched_yield" = xyes
19744 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19747 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19748 if test "x$ac_cv_func_setproctitle" = xyes
19750 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19753 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19754 if test "x$ac_cv_func_setprogname" = xyes
19756 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19759 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19760 if test "x$ac_cv_func_sigprocmask" = xyes
19762 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19765 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19766 if test "x$ac_cv_func_sysinfo" = xyes
19768 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19771 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19772 if test "x$ac_cv_func_tcdrain" = xyes
19774 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19777 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19778 if test "x$ac_cv_func_thr_kill2" = xyes
19780 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19784 CFLAGS
="$ac_save_CFLAGS"
19786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19787 printf %s
"checking for library containing dlopen... " >&6; }
19788 if test ${ac_cv_search_dlopen+y}
19790 printf %s
"(cached) " >&6
19792 ac_func_search_save_LIBS
=$LIBS
19793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19796 /* Override any GCC internal prototype to avoid an error.
19797 Use char because int might match the return type of a GCC
19798 builtin and then its argument prototype would still apply. */
19808 for ac_lib
in '' dl
19810 if test -z "$ac_lib"; then
19811 ac_res
="none required"
19814 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19816 if ac_fn_c_try_link
"$LINENO"
19818 ac_cv_search_dlopen
=$ac_res
19820 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19822 if test ${ac_cv_search_dlopen+y}
19827 if test ${ac_cv_search_dlopen+y}
19831 ac_cv_search_dlopen
=no
19833 rm conftest.
$ac_ext
19834 LIBS
=$ac_func_search_save_LIBS
19836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19837 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19838 ac_res
=$ac_cv_search_dlopen
19839 if test "$ac_res" != no
19841 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19845 ac_wine_check_funcs_save_LIBS
="$LIBS"
19846 LIBS
="$LIBS $DL_LIBS"
19847 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19848 if test "x$ac_cv_func_dlinfo" = xyes
19850 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19854 LIBS
="$ac_wine_check_funcs_save_LIBS"
19856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19857 printf %s
"checking for library containing gethostbyname... " >&6; }
19858 if test ${ac_cv_search_gethostbyname+y}
19860 printf %s
"(cached) " >&6
19862 ac_func_search_save_LIBS
=$LIBS
19863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19866 /* Override any GCC internal prototype to avoid an error.
19867 Use char because int might match the return type of a GCC
19868 builtin and then its argument prototype would still apply. */
19869 char gethostbyname ();
19873 return gethostbyname ();
19878 for ac_lib
in '' nsl
19880 if test -z "$ac_lib"; then
19881 ac_res
="none required"
19884 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19886 if ac_fn_c_try_link
"$LINENO"
19888 ac_cv_search_gethostbyname
=$ac_res
19890 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19892 if test ${ac_cv_search_gethostbyname+y}
19897 if test ${ac_cv_search_gethostbyname+y}
19901 ac_cv_search_gethostbyname
=no
19903 rm conftest.
$ac_ext
19904 LIBS
=$ac_func_search_save_LIBS
19906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19907 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19908 ac_res
=$ac_cv_search_gethostbyname
19909 if test "$ac_res" != no
19911 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19917 printf %s
"checking for library containing connect... " >&6; }
19918 if test ${ac_cv_search_connect+y}
19920 printf %s
"(cached) " >&6
19922 ac_func_search_save_LIBS
=$LIBS
19923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19926 /* Override any GCC internal prototype to avoid an error.
19927 Use char because int might match the return type of a GCC
19928 builtin and then its argument prototype would still apply. */
19938 for ac_lib
in '' socket
19940 if test -z "$ac_lib"; then
19941 ac_res
="none required"
19944 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19946 if ac_fn_c_try_link
"$LINENO"
19948 ac_cv_search_connect
=$ac_res
19950 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19952 if test ${ac_cv_search_connect+y}
19957 if test ${ac_cv_search_connect+y}
19961 ac_cv_search_connect
=no
19963 rm conftest.
$ac_ext
19964 LIBS
=$ac_func_search_save_LIBS
19966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19967 printf "%s\n" "$ac_cv_search_connect" >&6; }
19968 ac_res
=$ac_cv_search_connect
19969 if test "$ac_res" != no
19971 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19977 printf %s
"checking for library containing inet_aton... " >&6; }
19978 if test ${ac_cv_search_inet_aton+y}
19980 printf %s
"(cached) " >&6
19982 ac_func_search_save_LIBS
=$LIBS
19983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h. */
19986 /* Override any GCC internal prototype to avoid an error.
19987 Use char because int might match the return type of a GCC
19988 builtin and then its argument prototype would still apply. */
19993 return inet_aton ();
19998 for ac_lib
in '' resolv
20000 if test -z "$ac_lib"; then
20001 ac_res
="none required"
20004 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20006 if ac_fn_c_try_link
"$LINENO"
20008 ac_cv_search_inet_aton
=$ac_res
20010 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20012 if test ${ac_cv_search_inet_aton+y}
20017 if test ${ac_cv_search_inet_aton+y}
20021 ac_cv_search_inet_aton
=no
20023 rm conftest.
$ac_ext
20024 LIBS
=$ac_func_search_save_LIBS
20026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20027 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20028 ac_res
=$ac_cv_search_inet_aton
20029 if test "$ac_res" != no
20031 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20036 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20037 if test "x$ac_cv_func_getaddrinfo" = xyes
20039 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20045 darwin
*|macosx
*) ;;
20046 *) ac_save_LIBS
=$LIBS
20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20048 printf %s
"checking for library containing clock_gettime... " >&6; }
20049 if test ${ac_cv_search_clock_gettime+y}
20051 printf %s
"(cached) " >&6
20053 ac_func_search_save_LIBS
=$LIBS
20054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20055 /* end confdefs.h. */
20057 /* Override any GCC internal prototype to avoid an error.
20058 Use char because int might match the return type of a GCC
20059 builtin and then its argument prototype would still apply. */
20060 char clock_gettime ();
20064 return clock_gettime ();
20069 for ac_lib
in '' rt
20071 if test -z "$ac_lib"; then
20072 ac_res
="none required"
20075 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20077 if ac_fn_c_try_link
"$LINENO"
20079 ac_cv_search_clock_gettime
=$ac_res
20081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20083 if test ${ac_cv_search_clock_gettime+y}
20088 if test ${ac_cv_search_clock_gettime+y}
20092 ac_cv_search_clock_gettime
=no
20094 rm conftest.
$ac_ext
20095 LIBS
=$ac_func_search_save_LIBS
20097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20098 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20099 ac_res
=$ac_cv_search_clock_gettime
20100 if test "$ac_res" != no
20102 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20104 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20106 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20114 if test "x$with_ldap" != "xno"
20116 if ${LDAP_CFLAGS:+false} :
20118 if test ${PKG_CONFIG+y}
20120 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20124 if ${LDAP_LIBS:+false} :
20126 if test ${PKG_CONFIG+y}
20128 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20132 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20135 ac_save_CPPFLAGS
=$CPPFLAGS
20136 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20137 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20138 if test "x$ac_cv_header_ldap_h" = xyes
20140 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20143 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20144 if test "x$ac_cv_header_lber_h" = xyes
20146 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20150 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20152 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20154 if test "x$ac_cv_type_LDAPSortKey" = xyes
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20157 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20158 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20160 printf %s
"(cached) " >&6
20162 ac_check_lib_save_LIBS
=$LIBS
20163 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20167 /* Override any GCC internal prototype to avoid an error.
20168 Use char because int might match the return type of a GCC
20169 builtin and then its argument prototype would still apply. */
20170 char ldap_initialize ();
20174 return ldap_initialize ();
20179 if ac_fn_c_try_link
"$LINENO"
20181 ac_cv_lib_ldap_ldap_initialize
=yes
20183 ac_cv_lib_ldap_ldap_initialize
=no
20185 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20186 conftest
$ac_exeext conftest.
$ac_ext
20187 LIBS
=$ac_check_lib_save_LIBS
20189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20190 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20191 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20194 printf %s
"checking for ber_init in -llber... " >&6; }
20195 if test ${ac_cv_lib_lber_ber_init+y}
20197 printf %s
"(cached) " >&6
20199 ac_check_lib_save_LIBS
=$LIBS
20200 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20204 /* Override any GCC internal prototype to avoid an error.
20205 Use char because int might match the return type of a GCC
20206 builtin and then its argument prototype would still apply. */
20211 return ber_init ();
20216 if ac_fn_c_try_link
"$LINENO"
20218 ac_cv_lib_lber_ber_init
=yes
20220 ac_cv_lib_lber_ber_init
=no
20222 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20223 conftest
$ac_exeext conftest.
$ac_ext
20224 LIBS
=$ac_check_lib_save_LIBS
20226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20227 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20228 if test "x$ac_cv_lib_lber_ber_init" = xyes
20231 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20248 CPPFLAGS
=$ac_save_CPPFLAGS
20251 if test "x$LDAP_LIBS" = "x"
20253 case "x$with_ldap" in
20254 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20256 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20257 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20263 printf %s
"checking for sched_setaffinity... " >&6; }
20264 if test ${wine_cv_have_sched_setaffinity+y}
20266 printf %s
"(cached) " >&6
20268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20269 /* end confdefs.h. */
20274 sched_setaffinity(0, 0, 0);
20279 if ac_fn_c_try_link
"$LINENO"
20281 wine_cv_have_sched_setaffinity
=yes
20283 wine_cv_have_sched_setaffinity
=no
20285 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20286 conftest
$ac_exeext conftest.
$ac_ext
20288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20289 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20290 if test "$wine_cv_have_sched_setaffinity" = "yes"
20293 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20299 printf %s
"checking for inline... " >&6; }
20300 if test ${ac_cv_c_inline+y}
20302 printf %s
"(cached) " >&6
20305 for ac_kw
in inline __inline__ __inline
; do
20306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h. */
20308 #ifndef __cplusplus
20310 static $ac_kw foo_t static_foo (void) {return 0; }
20311 $ac_kw foo_t foo (void) {return 0; }
20315 if ac_fn_c_try_compile
"$LINENO"
20317 ac_cv_c_inline
=$ac_kw
20319 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20320 test "$ac_cv_c_inline" != no
&& break
20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20325 printf "%s\n" "$ac_cv_c_inline" >&6; }
20327 case $ac_cv_c_inline in
20330 case $ac_cv_c_inline in
20332 *) ac_val
=$ac_cv_c_inline;;
20334 cat >>confdefs.h
<<_ACEOF
20335 #ifndef __cplusplus
20336 #define inline $ac_val
20342 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20343 #include <signal.h>
20345 if test "x$ac_cv_type_sigset_t" = xyes
20348 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20353 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20355 if test "x$ac_cv_type_request_sense" = xyes
20358 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20364 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20365 #include <sys/socket.h>
20366 #ifdef HAVE_SYS_SOCKETVAR_H
20367 #include <sys/socketvar.h>
20369 #ifdef HAVE_NET_ROUTE_H
20370 #include <net/route.h>
20372 #ifdef HAVE_NETINET_IN_H
20373 #include <netinet/in.h>
20375 #ifdef HAVE_NETINET_IN_SYSTM_H
20376 #include <netinet/in_systm.h>
20378 #ifdef HAVE_NETINET_IP_H
20379 #include <netinet/ip.h>
20381 #ifdef HAVE_NETINET_IN_PCB_H
20382 #include <netinet/in_pcb.h>
20385 if test "x$ac_cv_type_struct_xinpgen" = xyes
20388 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20395 printf %s
"checking for sigaddset... " >&6; }
20396 if test ${wine_cv_have_sigaddset+y}
20398 printf %s
"(cached) " >&6
20400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h. */
20402 #include <signal.h>
20406 sigset_t set; sigaddset(&set,SIGTERM);
20411 if ac_fn_c_try_link
"$LINENO"
20413 wine_cv_have_sigaddset
=yes
20415 wine_cv_have_sigaddset
=no
20417 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20418 conftest
$ac_exeext conftest.
$ac_ext
20420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20421 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20422 if test "$wine_cv_have_sigaddset" = "yes"
20425 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20431 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20432 if test ${wine_cv_linux_gethostbyname_r_6+y}
20434 printf %s
"(cached) " >&6
20436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20445 struct hostent *result;
20452 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20453 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20459 if ac_fn_c_try_link
"$LINENO"
20461 wine_cv_linux_gethostbyname_r_6
=yes
20463 wine_cv_linux_gethostbyname_r_6
=no
20466 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20467 conftest
$ac_exeext conftest.
$ac_ext
20470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20471 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20472 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20475 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20479 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20480 #include <sys/socket.h>
20481 #ifdef HAVE_SYS_UN_H
20482 # include <sys/un.h>
20485 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20488 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20492 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20493 #include <sys/socket.h>
20494 #ifdef HAVE_SYS_UN_H
20495 # include <sys/un.h>
20498 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20501 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20507 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20508 #ifdef HAVE_SCSI_SG_H
20509 #include <scsi/sg.h>
20512 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20515 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20519 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>
20520 #ifdef HAVE_SCSI_SG_H
20521 #include <scsi/sg.h>
20524 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20527 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20533 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20535 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20538 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20544 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20545 #ifdef HAVE_SYS_MTIO_H
20546 #include <sys/mtio.h>
20549 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20552 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20556 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20557 #ifdef HAVE_SYS_MTIO_H
20558 #include <sys/mtio.h>
20561 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20564 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20568 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20569 #ifdef HAVE_SYS_MTIO_H
20570 #include <sys/mtio.h>
20573 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20576 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20582 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20583 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20586 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20590 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20591 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20594 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20598 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20599 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20602 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20606 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20607 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20610 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20614 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20615 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20618 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20622 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20623 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20626 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20630 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20631 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20634 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20638 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20639 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20642 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20646 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20647 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20650 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20654 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20655 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20658 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20662 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20663 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20666 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20672 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>
20673 #ifdef HAVE_NETINET_IN_H
20674 #include <netinet/in.h>
20677 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20680 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20686 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
20687 #include <resolv.h>
20690 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20693 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20699 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20700 #include <netinet/in.h>
20703 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20706 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20712 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20713 #ifdef HAVE_SYS_SOCKETVAR_H
20714 #include <sys/socketvar.h>
20716 #ifdef HAVE_NETINET_IN_H
20717 #include <netinet/in.h>
20719 #ifdef HAVE_NETINET_IP_VAR_H
20720 #include <netinet/ip_var.h>
20723 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20726 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20732 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
20733 #include <netinet/ip_var.h>
20736 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20739 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20745 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20746 #ifdef HAVE_SYS_SOCKETVAR_H
20747 #include <sys/socketvar.h>
20749 #ifdef HAVE_NETINET_IN_H
20750 #include <netinet/in.h>
20752 #ifdef HAVE_NETINET6_IP6_VAR_H
20753 #include <netinet6/ip6_var.h>
20756 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20759 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20765 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20766 #ifdef HAVE_SYS_SOCKETVAR_H
20767 #include <sys/socketvar.h>
20769 #ifdef HAVE_NETINET_IN_H
20770 #include <netinet/in.h>
20772 #ifdef HAVE_NETINET_IP_H
20773 #include <netinet/ip.h>
20775 #ifdef HAVE_NETINET_IP_ICMP_H
20776 #include <netinet/ip_icmp.h>
20778 #ifdef HAVE_NETINET_ICMP_VAR_H
20779 #include <netinet/icmp_var.h>
20782 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20785 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20791 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20792 #ifdef HAVE_SYS_SOCKETVAR_H
20793 #include <sys/socketvar.h>
20795 #ifdef HAVE_NETINET_IN_H
20796 #include <netinet/in.h>
20798 #ifdef HAVE_NETINET_ICMP6_H
20799 #include <netinet/icmp6.h>
20802 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20805 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20811 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20812 #ifdef HAVE_SYS_SOCKETVAR_H
20813 #include <sys/socketvar.h>
20815 #ifdef HAVE_NETINET_IN_H
20816 #include <netinet/in.h>
20818 #ifdef HAVE_NETINET_TCP_H
20819 #include <netinet/tcp.h>
20821 #ifdef HAVE_NETINET_TCP_VAR_H
20822 #include <netinet/tcp_var.h>
20825 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20828 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20834 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
20835 #include <netinet/tcp_var.h>
20838 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20841 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20847 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20848 #ifdef HAVE_NETINET_IN_H
20849 #include <netinet/in.h>
20851 #ifdef HAVE_NETINET_IP_VAR_H
20852 #include <netinet/ip_var.h>
20854 #ifdef HAVE_NETINET_UDP_H
20855 #include <netinet/udp.h>
20857 #ifdef HAVE_NETINET_UDP_VAR_H
20858 #include <netinet/udp_var.h>
20861 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20864 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20870 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20871 #ifdef HAVE_NET_IF_H
20872 # include <net/if.h>
20875 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20878 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20884 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20885 # include <sys/sysinfo.h>
20888 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20891 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20895 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20896 # include <sys/sysinfo.h>
20899 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20902 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20908 LIBS
="$ac_save_LIBS"
20910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20911 printf %s
"checking for __builtin_popcount... " >&6; }
20912 if test ${ac_cv_have___builtin_popcount+y}
20914 printf %s
"(cached) " >&6
20916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h. */
20922 return __builtin_popcount(1)
20927 if ac_fn_c_try_link
"$LINENO"
20929 ac_cv_have___builtin_popcount
="yes"
20931 ac_cv_have___builtin_popcount
="no"
20933 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20934 conftest
$ac_exeext conftest.
$ac_ext
20936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20937 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20938 if test "$ac_cv_have___builtin_popcount" = "yes"
20941 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20946 printf %s
"checking for __clear_cache... " >&6; }
20947 if test ${ac_cv_have___clear_cache+y}
20949 printf %s
"(cached) " >&6
20951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20957 __clear_cache((void*)0, (void*)0); return 0;
20962 if ac_fn_c_try_link
"$LINENO"
20964 ac_cv_have___clear_cache
="yes"
20966 ac_cv_have___clear_cache
="no"
20968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20969 conftest
$ac_exeext conftest.
$ac_ext
20971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20972 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20973 if test "$ac_cv_have___clear_cache" = "yes"
20976 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20982 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20983 printf %s
"checking whether we need to define __i386__... " >&6; }
20984 if test ${ac_cv_cpp_def___i386__+y}
20986 printf %s
"(cached) " >&6
20988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20995 $EGREP "yes" >/dev
/null
2>&1
20997 ac_cv_cpp_def___i386__
=yes
20999 ac_cv_cpp_def___i386__
=no
21004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21005 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21006 if test "x$ac_cv_cpp_def___i386__" = xyes
21008 CFLAGS
="$CFLAGS -D__i386__"
21009 LINTFLAGS
="$LINTFLAGS -D__i386__"
21011 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21012 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21013 if test ${ac_cv_cpp_def___x86_64__+y}
21015 printf %s
"(cached) " >&6
21017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21024 $EGREP "yes" >/dev
/null
2>&1
21026 ac_cv_cpp_def___x86_64__
=yes
21028 ac_cv_cpp_def___x86_64__
=no
21033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21034 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21035 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21037 CFLAGS
="$CFLAGS -D__x86_64__"
21038 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21040 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21041 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21042 if test ${ac_cv_cpp_def___sparc64__+y}
21044 printf %s
"(cached) " >&6
21046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21048 #ifndef __sparc64__
21052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21053 $EGREP "yes" >/dev
/null
2>&1
21055 ac_cv_cpp_def___sparc64__
=yes
21057 ac_cv_cpp_def___sparc64__
=no
21062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21063 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21064 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21066 CFLAGS
="$CFLAGS -D__sparc64__"
21067 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21069 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21070 printf %s
"checking whether we need to define __sparc__... " >&6; }
21071 if test ${ac_cv_cpp_def___sparc__+y}
21073 printf %s
"(cached) " >&6
21075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082 $EGREP "yes" >/dev
/null
2>&1
21084 ac_cv_cpp_def___sparc__
=yes
21086 ac_cv_cpp_def___sparc__
=no
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21092 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21093 if test "x$ac_cv_cpp_def___sparc__" = xyes
21095 CFLAGS
="$CFLAGS -D__sparc__"
21096 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21098 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21099 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21100 if test ${ac_cv_cpp_def___powerpc64__+y}
21102 printf %s
"(cached) " >&6
21104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #ifndef __powerpc64__
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev
/null
2>&1
21113 ac_cv_cpp_def___powerpc64__
=yes
21115 ac_cv_cpp_def___powerpc64__
=no
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21121 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21122 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21124 CFLAGS
="$CFLAGS -D__powerpc64__"
21125 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21127 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21128 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21129 if test ${ac_cv_cpp_def___powerpc__+y}
21131 printf %s
"(cached) " >&6
21133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21134 /* end confdefs.h. */
21135 #ifndef __powerpc__
21139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21140 $EGREP "yes" >/dev
/null
2>&1
21142 ac_cv_cpp_def___powerpc__
=yes
21144 ac_cv_cpp_def___powerpc__
=no
21149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21150 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21151 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21153 CFLAGS
="$CFLAGS -D__powerpc__"
21154 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21156 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21157 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21158 if test ${ac_cv_cpp_def___aarch64__+y}
21160 printf %s
"(cached) " >&6
21162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #ifndef __aarch64__
21168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21169 $EGREP "yes" >/dev
/null
2>&1
21171 ac_cv_cpp_def___aarch64__
=yes
21173 ac_cv_cpp_def___aarch64__
=no
21178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21179 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21180 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21182 CFLAGS
="$CFLAGS -D__aarch64__"
21183 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21185 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21186 printf %s
"checking whether we need to define __arm__... " >&6; }
21187 if test ${ac_cv_cpp_def___arm__+y}
21189 printf %s
"(cached) " >&6
21191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21198 $EGREP "yes" >/dev
/null
2>&1
21200 ac_cv_cpp_def___arm__
=yes
21202 ac_cv_cpp_def___arm__
=no
21207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21208 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21209 if test "x$ac_cv_cpp_def___arm__" = xyes
21211 CFLAGS
="$CFLAGS -D__arm__"
21212 LINTFLAGS
="$LINTFLAGS -D__arm__"
21216 case $host_vendor in
21217 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21218 printf %s
"checking whether we need to define __sun__... " >&6; }
21219 if test ${ac_cv_cpp_def___sun__+y}
21221 printf %s
"(cached) " >&6
21223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21230 $EGREP "yes" >/dev
/null
2>&1
21232 ac_cv_cpp_def___sun__
=yes
21234 ac_cv_cpp_def___sun__
=no
21239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21240 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21241 if test "x$ac_cv_cpp_def___sun__" = xyes
21243 CFLAGS
="$CFLAGS -D__sun__"
21244 LINTFLAGS
="$LINTFLAGS -D__sun__"
21252 ac_config_commands
="$ac_config_commands include/stamp-h"
21254 printf %s
"creating Makefile rules..." >&6
21257 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21260 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21262 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21263 wine_fn_config_symlink wine
21264 if test "x$enable_win64" != xno
-o -n "$with_wine64"; then
21265 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21266 wine_fn_config_symlink wine64
21269 wine_fn_config_makefile dlls
/acledit enable_acledit
21270 wine_fn_config_makefile dlls
/aclui enable_aclui
21271 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21272 wine_fn_config_makefile dlls
/activeds enable_activeds
21273 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21274 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21275 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21276 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21277 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21278 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21279 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21280 wine_fn_config_makefile dlls
/advpack enable_advpack
21281 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21282 wine_fn_config_makefile dlls
/amsi enable_amsi
21283 wine_fn_config_makefile dlls
/amstream enable_amstream
21284 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21285 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21286 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21287 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21288 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21289 wine_fn_config_makefile dlls
/atl enable_atl
21290 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21291 wine_fn_config_makefile dlls
/atl100 enable_atl100
21292 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21293 wine_fn_config_makefile dlls
/atl110 enable_atl110
21294 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21295 wine_fn_config_makefile dlls
/atl80 enable_atl80
21296 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21297 wine_fn_config_makefile dlls
/atl90 enable_atl90
21298 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21299 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21300 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21301 wine_fn_config_makefile dlls
/authz enable_authz
21302 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21303 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21304 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21305 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21306 wine_fn_config_makefile dlls
/avrt enable_avrt
21307 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21308 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21309 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21310 wine_fn_config_makefile dlls
/browseui enable_browseui
21311 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21312 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21313 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21314 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21315 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21316 wine_fn_config_makefile dlls
/cards enable_cards
21317 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21318 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21319 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21320 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21321 wine_fn_config_makefile dlls
/combase enable_combase
21322 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21323 wine_fn_config_makefile dlls
/comcat enable_comcat
21324 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21325 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21326 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21327 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21328 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21329 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21330 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21331 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21332 wine_fn_config_makefile dlls
/compstui enable_compstui
21333 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21334 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21335 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21336 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21337 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21338 wine_fn_config_makefile dlls
/connect enable_connect
21339 wine_fn_config_makefile dlls
/credui enable_credui
21340 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21341 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21342 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21343 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21344 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21345 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21346 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21347 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21348 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21349 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21350 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21351 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21352 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21353 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21354 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21355 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21356 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21357 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21358 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21359 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21360 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21361 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21362 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21363 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21364 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21365 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21366 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21367 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21368 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21369 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21370 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21371 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21372 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21373 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21374 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21375 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21376 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21377 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21378 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21379 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21380 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21381 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21382 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21383 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21384 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21385 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21386 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21387 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21388 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21389 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21390 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21391 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21392 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21393 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21394 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21395 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21396 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21397 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21398 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21399 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21400 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21401 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21402 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21403 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21404 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21405 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21406 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21407 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21408 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21409 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21410 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21411 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21412 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21413 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21414 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21415 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21416 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21417 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21418 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21419 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21420 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21421 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21422 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21423 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21424 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21425 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21426 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21427 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21428 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21429 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21430 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21431 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21432 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21433 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21434 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21435 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21436 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21437 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21438 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21439 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21440 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21441 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21442 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21443 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21444 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21445 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21446 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21447 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21448 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21449 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21450 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21451 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21452 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21453 wine_fn_config_makefile dlls
/devenum enable_devenum
21454 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21455 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21456 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21457 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21458 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21459 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21460 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21461 wine_fn_config_makefile dlls
/dinput enable_dinput
21462 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21463 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21464 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21465 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21466 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21467 wine_fn_config_makefile dlls
/dispex enable_dispex
21468 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21469 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21470 wine_fn_config_makefile dlls
/dmband enable_dmband
21471 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21472 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21473 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21474 wine_fn_config_makefile dlls
/dmime enable_dmime
21475 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21476 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21477 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21478 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21479 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21480 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21481 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21482 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21483 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21484 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21485 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21486 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21487 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21488 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21489 wine_fn_config_makefile dlls
/dplay enable_dplay
21490 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21491 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21492 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21493 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21494 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21495 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21496 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21497 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21498 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21499 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21500 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21501 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21502 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21503 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21504 wine_fn_config_makefile dlls
/dsound enable_dsound
21505 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21506 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21507 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21508 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21509 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21510 wine_fn_config_makefile dlls
/dswave enable_dswave
21511 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21512 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21513 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21514 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21515 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21516 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21517 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21518 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21519 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21520 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21521 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21522 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21523 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21524 wine_fn_config_makefile dlls
/esent enable_esent
21525 wine_fn_config_makefile dlls
/evr enable_evr
21526 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21527 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21528 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21529 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21530 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21531 wine_fn_config_makefile dlls
/feclient enable_feclient
21532 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21533 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21534 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21535 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21536 wine_fn_config_makefile dlls
/fusion enable_fusion
21537 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21538 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21539 wine_fn_config_makefile dlls
/gameux enable_gameux
21540 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21541 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21542 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21543 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21544 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21545 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21546 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21547 wine_fn_config_makefile dlls
/glu32 enable_glu32
21548 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21549 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21550 wine_fn_config_makefile dlls
/hal enable_hal
21551 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21552 wine_fn_config_makefile dlls
/hid enable_hid
21553 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21554 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21555 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21556 wine_fn_config_makefile dlls
/hlink enable_hlink
21557 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21558 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21559 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21560 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21561 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21562 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21563 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21564 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21565 wine_fn_config_makefile dlls
/icmp enable_icmp
21566 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21567 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21568 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21569 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21570 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21571 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21572 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21573 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21574 wine_fn_config_makefile dlls
/imm32 enable_imm32
21575 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21576 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21577 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21578 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21579 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21580 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21581 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21582 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21583 wine_fn_config_makefile dlls
/initpki enable_initpki
21584 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21585 wine_fn_config_makefile dlls
/inseng enable_inseng
21586 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21587 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21588 wine_fn_config_makefile dlls
/iprop enable_iprop
21589 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21590 wine_fn_config_makefile dlls
/itircl enable_itircl
21591 wine_fn_config_makefile dlls
/itss enable_itss
21592 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21593 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21594 wine_fn_config_makefile dlls
/jscript enable_jscript
21595 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21596 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21597 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21598 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21599 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21600 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21601 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21602 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21603 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21604 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21605 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21606 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21607 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21608 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21609 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21610 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21611 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21612 wine_fn_config_makefile dlls
/localspl enable_localspl
21613 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21614 wine_fn_config_makefile dlls
/localui enable_localui
21615 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21616 wine_fn_config_makefile dlls
/lz32 enable_lz32
21617 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21618 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21619 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21620 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21621 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21622 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21623 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21624 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21625 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21626 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21627 wine_fn_config_makefile dlls
/mf enable_mf
21628 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21629 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21630 wine_fn_config_makefile dlls
/mferror enable_mferror
21631 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21632 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21633 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21634 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21635 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21636 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21637 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21638 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21639 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21640 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21641 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21642 wine_fn_config_makefile dlls
/midimap enable_midimap
21643 wine_fn_config_makefile dlls
/mlang enable_mlang
21644 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21645 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21646 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21647 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21648 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21649 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21650 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21651 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21652 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21653 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21654 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21655 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21656 wine_fn_config_makefile dlls
/mpr enable_mpr
21657 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21658 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21659 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21660 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21661 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21662 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21663 wine_fn_config_makefile dlls
/msado15 enable_msado15
21664 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21665 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21666 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21667 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21668 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21669 wine_fn_config_makefile dlls
/mscms enable_mscms
21670 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21671 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21672 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21673 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21674 wine_fn_config_makefile dlls
/msctf enable_msctf
21675 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21676 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21677 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21678 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21679 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21680 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21681 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21682 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21683 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21684 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21685 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21686 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21687 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21688 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21689 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21690 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21691 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21692 wine_fn_config_makefile dlls
/msi enable_msi
21693 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21694 wine_fn_config_makefile dlls
/msident enable_msident
21695 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21696 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21697 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21698 wine_fn_config_makefile dlls
/msisip enable_msisip
21699 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21700 wine_fn_config_makefile dlls
/msls31 enable_msls31
21701 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21702 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21703 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21704 wine_fn_config_makefile dlls
/msports enable_msports
21705 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21706 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21707 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21708 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21709 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21710 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21711 wine_fn_config_makefile dlls
/mstask enable_mstask
21712 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21713 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21714 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21715 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21716 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21717 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21718 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21719 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21720 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21721 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21722 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21723 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21724 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21725 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21726 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21727 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21728 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21729 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21730 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21731 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21732 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21733 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21734 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21735 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21736 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21737 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21738 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21739 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21740 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21741 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21742 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21743 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21744 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21745 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21746 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21747 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21748 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21749 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21750 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21751 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21752 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21753 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21754 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21755 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21756 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21757 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21758 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21759 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21760 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21761 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21762 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21763 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21764 wine_fn_config_makefile dlls
/msxml enable_msxml
21765 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21766 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21767 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21768 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21769 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21770 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21771 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21772 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21773 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21774 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21775 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21776 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21777 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21778 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21779 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21780 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21781 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21782 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21783 wine_fn_config_makefile dlls
/netutils enable_netutils
21784 wine_fn_config_makefile dlls
/newdev enable_newdev
21785 wine_fn_config_makefile dlls
/ninput enable_ninput
21786 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21787 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21788 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21789 wine_fn_config_makefile dlls
/npptools enable_npptools
21790 wine_fn_config_makefile dlls
/nsi enable_nsi
21791 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21792 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21793 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21794 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21795 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21796 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21797 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21798 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21799 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21800 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21801 wine_fn_config_makefile dlls
/objsel enable_objsel
21802 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21803 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21804 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21805 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21806 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21807 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21808 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21809 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21810 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21811 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21812 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21813 wine_fn_config_makefile dlls
/ole32 enable_ole32
21814 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21815 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21816 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21817 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21818 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21819 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21820 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21821 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21822 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21823 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21824 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21825 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21826 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21827 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21828 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21829 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21830 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21831 wine_fn_config_makefile dlls
/openal32 enable_openal32
21832 wine_fn_config_makefile dlls
/opencl enable_opencl
21833 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21834 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21835 wine_fn_config_makefile dlls
/packager enable_packager
21836 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21837 wine_fn_config_makefile dlls
/pdh enable_pdh
21838 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21839 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21840 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21841 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21842 wine_fn_config_makefile dlls
/printui enable_printui
21843 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21844 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21845 wine_fn_config_makefile dlls
/propsys enable_propsys
21846 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21847 wine_fn_config_makefile dlls
/psapi enable_psapi
21848 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21849 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21850 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21851 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21852 wine_fn_config_makefile dlls
/qasf enable_qasf
21853 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21854 wine_fn_config_makefile dlls
/qcap enable_qcap
21855 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21856 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21857 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21858 wine_fn_config_makefile dlls
/qedit enable_qedit
21859 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21860 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21861 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21862 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21863 wine_fn_config_makefile dlls
/quartz enable_quartz
21864 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21865 wine_fn_config_makefile dlls
/query enable_query
21866 wine_fn_config_makefile dlls
/qwave enable_qwave
21867 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21868 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21870 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21871 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21872 wine_fn_config_makefile dlls
/regapi enable_regapi
21873 wine_fn_config_makefile dlls
/resutils enable_resutils
21874 wine_fn_config_makefile dlls
/riched20 enable_riched20
21875 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21876 wine_fn_config_makefile dlls
/riched32 enable_riched32
21877 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21878 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21879 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21880 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21881 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21882 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21883 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21884 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21885 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21886 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21887 wine_fn_config_makefile dlls
/samlib enable_samlib
21888 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21889 wine_fn_config_makefile dlls
/sapi enable_sapi
21890 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21891 wine_fn_config_makefile dlls
/sas enable_sas
21892 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21893 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21894 wine_fn_config_makefile dlls
/schannel enable_schannel
21895 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21896 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21897 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21898 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21899 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21900 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21901 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21902 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21903 wine_fn_config_makefile dlls
/sechost enable_sechost
21904 wine_fn_config_makefile dlls
/secur32 enable_secur32
21905 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21906 wine_fn_config_makefile dlls
/security enable_security
21907 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21908 wine_fn_config_makefile dlls
/serialui enable_serialui
21909 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21910 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21911 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21912 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21913 wine_fn_config_makefile dlls
/sfc enable_sfc
21914 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21915 wine_fn_config_makefile dlls
/shcore enable_shcore
21916 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21917 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21918 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21919 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21920 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21921 wine_fn_config_makefile dlls
/shell32 enable_shell32
21922 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21923 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21924 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21925 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21926 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21927 wine_fn_config_makefile dlls
/slc enable_slc
21928 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21929 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21930 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21931 wine_fn_config_makefile dlls
/softpub enable_softpub
21932 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21933 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21934 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21935 wine_fn_config_makefile dlls
/sppc enable_sppc
21936 wine_fn_config_makefile dlls
/srclient enable_srclient
21937 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21938 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21939 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21940 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21941 wine_fn_config_makefile dlls
/sti enable_sti
21942 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21943 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21944 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21945 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21946 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21947 wine_fn_config_makefile dlls
/sxs enable_sxs
21948 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21949 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21950 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21951 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21952 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21953 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21954 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21955 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21956 wine_fn_config_makefile dlls
/tbs enable_tbs
21957 wine_fn_config_makefile dlls
/tdh enable_tdh
21958 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21959 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21960 wine_fn_config_makefile dlls
/traffic enable_traffic
21961 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21962 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21963 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21964 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21965 wine_fn_config_makefile dlls
/tzres enable_tzres
21966 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21967 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21968 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21969 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21970 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21971 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21972 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21973 wine_fn_config_makefile dlls
/unicows enable_unicows
21974 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21975 wine_fn_config_makefile dlls
/url enable_url
21976 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21977 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21978 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21979 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21980 wine_fn_config_makefile dlls
/user32 enable_user32
21981 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21982 wine_fn_config_makefile dlls
/userenv enable_userenv
21983 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21984 wine_fn_config_makefile dlls
/usp10 enable_usp10
21985 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21986 wine_fn_config_makefile dlls
/utildll enable_utildll
21987 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21988 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21989 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21990 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21991 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21992 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21993 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21994 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21995 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21996 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21997 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21998 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21999 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22000 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22001 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22002 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22003 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22004 wine_fn_config_makefile dlls
/version enable_version
22005 wine_fn_config_makefile dlls
/version
/tests enable_tests
22006 wine_fn_config_makefile dlls
/vga enable_vga
22007 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22008 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22009 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22010 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22011 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22012 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22013 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22014 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22015 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22016 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22017 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22018 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22019 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22020 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22021 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22022 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22023 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22024 wine_fn_config_makefile dlls
/webservices enable_webservices
22025 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22026 wine_fn_config_makefile dlls
/websocket enable_websocket
22027 wine_fn_config_makefile dlls
/wer enable_wer
22028 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22029 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22030 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22031 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22032 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22033 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22034 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22035 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22036 wine_fn_config_makefile dlls
/win32u enable_win32u
22037 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22038 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22039 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22040 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22041 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22042 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22043 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22044 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22045 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22046 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22047 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22048 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22049 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22050 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22051 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22052 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22053 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22054 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22055 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22056 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22057 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22058 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22059 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22060 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22061 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22062 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22063 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22064 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22065 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22066 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22067 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22068 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22069 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22070 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22071 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22072 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22073 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22074 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22075 wine_fn_config_makefile dlls
/wing32 enable_wing32
22076 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22077 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22078 wine_fn_config_makefile dlls
/wininet enable_wininet
22079 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22080 wine_fn_config_makefile dlls
/winmm enable_winmm
22081 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22082 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22083 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22084 wine_fn_config_makefile dlls
/winscard enable_winscard
22085 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22086 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22087 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22088 wine_fn_config_makefile dlls
/winsta enable_winsta
22089 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22090 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22091 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22092 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22093 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22094 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22095 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22096 wine_fn_config_makefile dlls
/winusb enable_winusb
22097 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22098 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22099 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22100 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22101 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22102 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22103 wine_fn_config_makefile dlls
/wmi enable_wmi
22104 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22105 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22106 wine_fn_config_makefile dlls
/wmp enable_wmp
22107 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22108 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22109 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22110 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22111 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22112 wine_fn_config_makefile dlls
/wow32 enable_win16
22113 wine_fn_config_makefile dlls
/wow64 enable_wow64
22114 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22115 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22116 wine_fn_config_makefile dlls
/wpc enable_wpc
22117 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22118 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22119 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22120 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22121 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22122 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22123 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22124 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22125 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22126 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22127 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22128 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22129 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22130 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22131 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22132 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22133 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22134 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22135 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22136 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22137 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22138 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22139 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22140 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22141 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22142 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22143 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22144 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22145 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22146 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22147 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22148 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22149 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22150 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22151 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22152 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22153 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22154 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22155 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22156 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22157 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22158 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22159 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22160 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22161 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22162 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22163 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22164 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22165 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22166 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22167 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22168 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22169 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22170 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22171 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22172 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22173 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22174 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22175 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22176 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22177 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22178 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22179 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22180 wine_fn_config_makefile fonts enable_fonts
22181 wine_fn_config_makefile include enable_include
22182 wine_fn_config_makefile libs
/adsiid enable_adsiid
22183 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22184 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22185 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22186 wine_fn_config_makefile libs
/dxguid enable_dxguid
22187 wine_fn_config_makefile libs
/faudio enable_faudio
22188 wine_fn_config_makefile libs
/gsm enable_gsm
22189 wine_fn_config_makefile libs
/jpeg enable_jpeg
22190 wine_fn_config_makefile libs
/jxr enable_jxr
22191 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22192 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22193 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22194 wine_fn_config_makefile libs
/png enable_png
22195 wine_fn_config_makefile libs
/strmbase enable_strmbase
22196 wine_fn_config_makefile libs
/strmiids enable_strmiids
22197 wine_fn_config_makefile libs
/tiff enable_tiff
22198 wine_fn_config_makefile libs
/uuid enable_uuid
22199 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22200 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22201 wine_fn_config_makefile libs
/wine enable_wine
22202 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22203 wine_fn_config_makefile libs
/xml2 enable_xml2
22204 wine_fn_config_makefile libs
/xslt enable_xslt
22205 wine_fn_config_makefile libs
/zlib enable_zlib
22206 wine_fn_config_makefile loader enable_loader
22207 wine_fn_config_makefile nls enable_nls
22208 wine_fn_config_makefile po enable_po
22209 wine_fn_config_makefile programs
/arp enable_arp
22210 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22211 wine_fn_config_makefile programs
/attrib enable_attrib
22212 wine_fn_config_makefile programs
/cabarc enable_cabarc
22213 wine_fn_config_makefile programs
/cacls enable_cacls
22214 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22215 wine_fn_config_makefile programs
/clock enable_clock
22216 wine_fn_config_makefile programs
/cmd enable_cmd
22217 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22218 wine_fn_config_makefile programs
/conhost enable_conhost
22219 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22220 wine_fn_config_makefile programs
/control enable_control
22221 wine_fn_config_makefile programs
/cscript enable_cscript
22222 wine_fn_config_makefile programs
/dism enable_dism
22223 wine_fn_config_makefile programs
/dllhost enable_dllhost
22224 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22225 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22226 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22227 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22228 wine_fn_config_makefile programs
/eject enable_eject
22229 wine_fn_config_makefile programs
/expand enable_expand
22230 wine_fn_config_makefile programs
/explorer enable_explorer
22231 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22232 wine_fn_config_makefile programs
/fc enable_fc
22233 wine_fn_config_makefile programs
/find enable_find
22234 wine_fn_config_makefile programs
/find
/tests enable_tests
22235 wine_fn_config_makefile programs
/findstr enable_findstr
22236 wine_fn_config_makefile programs
/fsutil enable_fsutil
22237 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22238 wine_fn_config_makefile programs
/hh enable_hh
22239 wine_fn_config_makefile programs
/hostname enable_hostname
22240 wine_fn_config_makefile programs
/icacls enable_icacls
22241 wine_fn_config_makefile programs
/icinfo enable_icinfo
22242 wine_fn_config_makefile programs
/iexplore enable_iexplore
22243 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22244 wine_fn_config_makefile programs
/lodctr enable_lodctr
22245 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22246 wine_fn_config_makefile programs
/mshta enable_mshta
22247 wine_fn_config_makefile programs
/msidb enable_msidb
22248 wine_fn_config_makefile programs
/msiexec enable_msiexec
22249 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22250 wine_fn_config_makefile programs
/net enable_net
22251 wine_fn_config_makefile programs
/netsh enable_netsh
22252 wine_fn_config_makefile programs
/netstat enable_netstat
22253 wine_fn_config_makefile programs
/ngen enable_ngen
22254 wine_fn_config_makefile programs
/notepad enable_notepad
22255 wine_fn_config_makefile programs
/oleview enable_oleview
22256 wine_fn_config_makefile programs
/ping enable_ping
22257 wine_fn_config_makefile programs
/plugplay enable_plugplay
22258 wine_fn_config_makefile programs
/powershell enable_powershell
22259 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22260 wine_fn_config_makefile programs
/progman enable_progman
22261 wine_fn_config_makefile programs
/reg enable_reg
22262 wine_fn_config_makefile programs
/reg
/tests enable_tests
22263 wine_fn_config_makefile programs
/regasm enable_regasm
22264 wine_fn_config_makefile programs
/regedit enable_regedit
22265 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22266 wine_fn_config_makefile programs
/regini enable_regini
22267 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22268 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22269 wine_fn_config_makefile programs
/robocopy enable_robocopy
22270 wine_fn_config_makefile programs
/rpcss enable_rpcss
22271 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22272 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22273 wine_fn_config_makefile programs
/sc enable_sc
22274 wine_fn_config_makefile programs
/sc
/tests enable_tests
22275 wine_fn_config_makefile programs
/schtasks enable_schtasks
22276 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22277 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22278 wine_fn_config_makefile programs
/secedit enable_secedit
22279 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22280 wine_fn_config_makefile programs
/services enable_services
22281 wine_fn_config_makefile programs
/services
/tests enable_tests
22282 wine_fn_config_makefile programs
/shutdown enable_shutdown
22283 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22284 wine_fn_config_makefile programs
/start enable_start
22285 wine_fn_config_makefile programs
/subst enable_subst
22286 wine_fn_config_makefile programs
/svchost enable_svchost
22287 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22288 wine_fn_config_makefile programs
/taskkill enable_taskkill
22289 wine_fn_config_makefile programs
/tasklist enable_tasklist
22290 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22291 wine_fn_config_makefile programs
/termsv enable_termsv
22292 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22293 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22294 wine_fn_config_makefile programs
/view enable_view
22295 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22296 wine_fn_config_makefile programs
/where enable_where
22297 wine_fn_config_makefile programs
/whoami enable_whoami
22298 wine_fn_config_makefile programs
/wineboot enable_wineboot
22299 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22300 wine_fn_config_makefile programs
/winecfg enable_winecfg
22301 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22302 wine_fn_config_makefile programs
/winedbg enable_winedbg
22303 wine_fn_config_makefile programs
/winedevice enable_winedevice
22304 wine_fn_config_makefile programs
/winefile enable_winefile
22305 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22306 wine_fn_config_makefile programs
/winemine enable_winemine
22307 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22308 wine_fn_config_makefile programs
/winepath enable_winepath
22309 wine_fn_config_makefile programs
/winetest enable_winetest
22310 wine_fn_config_makefile programs
/winevdm enable_win16
22311 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22312 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22313 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22314 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22315 wine_fn_config_makefile programs
/winver enable_winver
22316 wine_fn_config_makefile programs
/wmic enable_wmic
22317 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22318 wine_fn_config_makefile programs
/wordpad enable_wordpad
22319 wine_fn_config_makefile programs
/write enable_write
22320 wine_fn_config_makefile programs
/wscript enable_wscript
22321 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22322 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22323 wine_fn_config_makefile programs
/wusa enable_wusa
22324 wine_fn_config_makefile programs
/xcopy enable_xcopy
22325 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22326 wine_fn_config_makefile server enable_server
22327 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22328 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22329 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22330 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22331 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22332 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22333 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22334 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22335 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22338 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
22339 wine_fn_append_file CONFIGURE_TARGETS
"tags"
22340 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
22341 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
22342 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
22343 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
22344 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
22345 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
22347 if test "x$enable_tools" != xno
22349 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
22350 ac_config_commands
="$ac_config_commands tools/makedep"
22354 ac_config_commands
="$ac_config_commands Makefile"
22361 wine_fn_append_rule
"all: wine
22362 @echo \"Wine build complete.\"
22366 Makefile: config.status \$(MAKEDEP)
22367 @./config.status Makefile
22368 depend: \$(MAKEDEP)
22369 \$(MAKEDEP)$makedep_flags"
22372 wine_fn_append_rule
"config.status: ${wine_srcdir}configure
22373 @./config.status --recheck
22374 include/config.h: include/stamp-h
22375 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22376 @./config.status include/config.h include/stamp-h"
22378 if test "x$enable_maintainer_mode" = xyes
22380 wine_fn_append_rule
"configure: configure.ac aclocal.m4
22381 autoconf --warnings=all
22382 include/config.h.in: include/stamp-h.in
22383 include/stamp-h.in: configure.ac aclocal.m4
22384 autoheader --warnings=all
22385 @echo timestamp > \$@"
22388 if test "x$enable_tools" != xno
22390 wine_fn_append_rule
"tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22391 @./config.status tools/makedep
22392 Makefile: tools/makedep$ac_exeext"
22394 wine_fn_append_rule
"\$(MAKEDEP):
22395 @echo \"You need to run make in $toolsdir first\" && false"
22399 if test -n "$with_wine64"
22401 case "$with_wine64" in
22405 rm -f fonts server
2>/dev
/null
22406 wine_fn_append_rule
"all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22407 loader/wine64 loader/wine64-preloader:
22408 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22409 $with_wine64/loader/wine:
22410 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22411 $with_wine64/loader/wine-preloader:
22412 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22414 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22416 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22417 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22421 programs/msidb/msidb \
22422 programs/msiexec/msiexec \
22423 programs/notepad/notepad \
22424 programs/regedit/regedit \
22425 programs/regsvr32/regsvr32 \
22426 programs/wineboot/wineboot \
22427 programs/winecfg/winecfg \
22428 programs/wineconsole/wineconsole \
22429 programs/winedbg/winedbg \
22430 programs/winefile/winefile \
22431 programs/winemine/winemine \
22432 programs/winepath/winepath \
22436 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22437 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22442 wine_fn_append_rule
"distclean:: clean
22443 rm -rf autom4te.cache
22445 rm -f configure include/config.h.in"
22448 wine_fn_append_rule
"dlls/ntdll/unix/version.c: dummy
22449 @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)
22450 programs/winetest/build.rc: dummy
22451 @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)
22452 programs/winetest/build.nfo:
22454 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
22455 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22456 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22459 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22461 wine_fn_append_rule
"TAGS etags:
22463 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22466 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22468 .PHONY: depend dummy install-manpages"
22470 printf "%s\n" " done" >&6
22471 cat >confcache
<<\_ACEOF
22472 # This file is a shell script that caches the results of configure
22473 # tests run on this system so they can be shared between configure
22474 # scripts and configure runs, see configure's option --config-cache.
22475 # It is not useful on other systems. If it contains results you don't
22476 # want to keep, you may remove or edit it.
22478 # config.status only pays attention to the cache file if you give it
22479 # the --recheck option to rerun configure.
22481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22483 # following values.
22487 # The following way of writing the cache mishandles newlines in values,
22488 # but we know of no workaround that is simple, portable, and efficient.
22489 # So, we kill variables containing newlines.
22490 # Ultrix sh set writes to stderr and can't be redirected directly,
22491 # and sets the high bit in the cache file unless we assign to the vars.
22493 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22494 eval ac_val
=\$
$ac_var
22498 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22499 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22502 _ | IFS | as_nl
) ;; #(
22503 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22504 *) { eval $ac_var=; unset $ac_var;} ;;
22510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22511 *${as_nl}ac_space
=\
*)
22512 # `set' does not quote correctly, so add quotes: double-quote
22513 # substitution turns \\\\ into \\, and sed turns \\ into \.
22516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22519 # `set' quotes correctly as required by POSIX, so do not add quotes.
22520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22529 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22533 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22534 if test -w "$cache_file"; then
22535 if test "x$cache_file" != "x/dev/null"; then
22536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22537 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22538 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22539 cat confcache
>"$cache_file"
22541 case $cache_file in #(
22543 mv -f confcache
"$cache_file"$$
&&
22544 mv -f "$cache_file"$$
"$cache_file" ;; #(
22546 mv -f confcache
"$cache_file" ;;
22551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22552 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22557 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22558 # Let make expand exec_prefix.
22559 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22561 DEFS
=-DHAVE_CONFIG_H
22566 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22567 # 1. Remove the extension, and $U if already installed.
22568 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22569 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22570 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22571 # will be set to the directory where LIBOBJS objects are built.
22572 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22573 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22575 LIBOBJS
=$ac_libobjs
22577 LTLIBOBJS
=$ac_ltlibobjs
22581 : "${CONFIG_STATUS=./config.status}"
22583 ac_clean_files_save
=$ac_clean_files
22584 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22586 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22588 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22590 # Generated by $as_me.
22591 # Run this file to recreate the current configuration.
22592 # Compiler output produced by configure, useful for debugging
22593 # configure, is in config.log if it exists.
22596 ac_cs_recheck=false
22599 SHELL=\${CONFIG_SHELL-$SHELL}
22602 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22603 ## -------------------- ##
22604 ## M4sh Initialization. ##
22605 ## -------------------- ##
22607 # Be more Bourne compatible
22608 DUALCASE
=1; export DUALCASE
# for MKS sh
22610 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22614 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22615 # is contrary to our usage. Disable this feature.
22616 alias -g '${1+"$@"}'='"$@"'
22617 setopt NO_GLOB_SUBST
22619 case `(set -o) 2>/dev/null` in #(
22629 # Reset variables that may have inherited troublesome values from
22632 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22633 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22634 # side effect of setting IFS to empty, thus disabling word splitting.)
22635 # Quoting is to prevent editors from complaining about space-tab.
22645 # Ensure predictable behavior from utilities with locale-dependent output.
22651 # We cannot yet rely on "unset" to work, but we need these variables
22652 # to be unset--not just set to an empty or harmless value--now, to
22653 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22654 # also avoids known problems related to "unset" and subshell syntax
22655 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22656 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22657 do eval test \
${$as_var+y} \
22658 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22661 # Ensure that fds 0, 1, and 2 are open.
22662 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22663 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22664 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22666 # The user is always right.
22667 if ${PATH_SEPARATOR+false} :; then
22669 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22670 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22676 # Find who we are. Look in the path if we contain no directory separator.
22679 *[\\/]* ) as_myself
=$0 ;;
22680 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22681 for as_dir
in $PATH
22684 case $as_dir in #(((
22687 *) as_dir
=$as_dir/ ;;
22689 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22695 # We did not find ourselves, most probably we were run as `sh COMMAND'
22696 # in which case we are not to be found in the path.
22697 if test "x$as_myself" = x
; then
22700 if test ! -f "$as_myself"; then
22701 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22707 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22708 # ----------------------------------------
22709 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22710 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22711 # script with STATUS, using 1 if that was 0.
22714 as_status
=$1; test $as_status -eq 0 && as_status
=1
22716 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22717 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22719 printf "%s\n" "$as_me: error: $2" >&2
22720 as_fn_exit
$as_status
22725 # as_fn_set_status STATUS
22726 # -----------------------
22727 # Set $? to STATUS, without forking.
22728 as_fn_set_status
()
22731 } # as_fn_set_status
22733 # as_fn_exit STATUS
22734 # -----------------
22735 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22739 as_fn_set_status
$1
22745 # Portably unset VAR.
22748 { eval $1=; unset $1;}
22750 as_unset
=as_fn_unset
22752 # as_fn_append VAR VALUE
22753 # ----------------------
22754 # Append the text in VALUE to the end of the definition contained in VAR. Take
22755 # advantage of any shell optimizations that allow amortized linear growth over
22756 # repeated appends, instead of the typical quadratic growth present in naive
22758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22760 eval 'as_fn_append ()
22771 # as_fn_arith ARG...
22772 # ------------------
22773 # Perform arithmetic evaluation on the ARGs, and store the result in the
22774 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22775 # must be portable across $(()) and expr.
22776 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22778 eval 'as_fn_arith ()
22785 as_val
=`expr "$@" || test $? -eq 1`
22790 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22791 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22797 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22798 as_basename
=basename
22803 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22809 as_me
=`$as_basename -- "$0" ||
22810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22811 X"$0" : 'X\(//\)$' \| \
22812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22813 printf "%s\n" X/"$0" |
22814 sed '/^.*\/\([^/][^/]*\)\/*$/{
22828 # Avoid depending upon Character Ranges.
22829 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22830 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22831 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22832 as_cr_digits
='0123456789'
22833 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22836 # Determine whether it's possible to make 'echo' print without a newline.
22837 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22838 # for compatibility with existing Makefiles.
22839 ECHO_C
= ECHO_N
= ECHO_T
=
22840 case `echo -n x` in #(((((
22842 case `echo 'xy\c'` in
22843 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22845 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22852 # For backward compatibility with old third-party macros, we provide
22853 # the shell variables $as_echo and $as_echo_n. New code should use
22854 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22855 as_echo
='printf %s\n'
22856 as_echo_n
='printf %s'
22858 rm -f conf$$ conf$$.exe conf$$.
file
22859 if test -d conf$$.dir
; then
22860 rm -f conf$$.dir
/conf$$.
file
22863 mkdir conf$$.dir
2>/dev
/null
22865 if (echo >conf$$.
file) 2>/dev
/null
; then
22866 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22868 # ... but there are two gotchas:
22869 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22870 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22871 # In both cases, we have to default to `cp -pR'.
22872 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22874 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22882 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22883 rmdir conf$$.dir
2>/dev
/null
22888 # Create "$as_dir" as a directory, including parents if necessary.
22893 -*) as_dir
=.
/$as_dir;;
22895 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22899 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22900 *) as_qdir
=$as_dir;;
22902 as_dirs
="'$as_qdir' $as_dirs"
22903 as_dir
=`$as_dirname -- "$as_dir" ||
22904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22905 X"$as_dir" : 'X\(//\)[^/]' \| \
22906 X"$as_dir" : 'X\(//\)$' \| \
22907 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22908 printf "%s\n" X"$as_dir" |
22909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22913 /^X\(\/\/\)[^/].*/{
22926 test -d "$as_dir" && break
22928 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22929 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22933 if mkdir
-p .
2>/dev
/null
; then
22934 as_mkdir_p
='mkdir -p "$as_dir"'
22936 test -d .
/-p && rmdir .
/-p
22941 # as_fn_executable_p FILE
22942 # -----------------------
22943 # Test if FILE is an executable regular file.
22944 as_fn_executable_p
()
22946 test -f "$1" && test -x "$1"
22947 } # as_fn_executable_p
22948 as_test_x
='test -x'
22949 as_executable_p
=as_fn_executable_p
22951 # Sed expression to map a string onto a valid CPP name.
22952 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22954 # Sed expression to map a string onto a valid variable name.
22955 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22959 ## ----------------------------------- ##
22960 ## Main body of $CONFIG_STATUS script. ##
22961 ## ----------------------------------- ##
22963 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22966 # Save the log message, to keep $0 and so on meaningful, and to
22967 # report actual input values of CONFIG_FILES etc. instead of their
22968 # values after options handling.
22970 This file was extended by Wine $as_me 7.17, which was
22971 generated by GNU Autoconf 2.71. Invocation command line was
22973 CONFIG_FILES = $CONFIG_FILES
22974 CONFIG_HEADERS = $CONFIG_HEADERS
22975 CONFIG_LINKS = $CONFIG_LINKS
22976 CONFIG_COMMANDS = $CONFIG_COMMANDS
22979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22985 case $ac_config_headers in *"
22986 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22991 # Files that config.status was made for.
22992 config_headers="$ac_config_headers"
22993 config_links="$ac_config_links"
22994 config_commands="$ac_config_commands"
22998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23000 \`$as_me' instantiates files and other configuration actions
23001 from templates according to the current configuration. Unless the files
23002 and actions are specified as TAGs, all are instantiated by default.
23004 Usage: $0 [OPTION]... [TAG]...
23006 -h, --help print this help, then exit
23007 -V, --version print version number and configuration settings, then exit
23008 --config print configuration, then exit
23009 -q, --quiet, --silent
23010 do not print progress messages
23011 -d, --debug don't remove temporary files
23012 --recheck update $as_me by reconfiguring in the same conditions
23013 --header=FILE[:TEMPLATE]
23014 instantiate the configuration header FILE
23016 Configuration headers:
23019 Configuration links:
23022 Configuration commands:
23025 Report bugs to <wine-devel@winehq.org>.
23026 Wine home page: <https://www.winehq.org>."
23029 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23030 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23032 ac_cs_config='$ac_cs_config_escaped'
23034 Wine config.status 7.17
23035 configured by $0, generated by GNU Autoconf 2.71,
23036 with options \\"\$ac_cs_config\\"
23038 Copyright (C) 2021 Free Software Foundation, Inc.
23039 This config.status script is free software; the Free Software Foundation
23040 gives unlimited permission to copy, distribute and modify it."
23044 test -n "\$AWK" || AWK=awk
23047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23048 # The default lists apply if the user does not specify any file.
23054 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23055 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23059 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23071 # Handling of the options.
23072 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23074 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23075 printf "%s\n" "$ac_cs_version"; exit ;;
23076 --config |
--confi |
--conf |
--con |
--co |
--c )
23077 printf "%s\n" "$ac_cs_config"; exit ;;
23078 --debug |
--debu |
--deb |
--de |
--d |
-d )
23080 --header |
--heade |
--head |
--hea )
23083 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23085 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23086 ac_need_defaults
=false
;;
23088 # Conflict between --help and --header
23089 as_fn_error $?
"ambiguous option: \`$1'
23090 Try \`$0 --help' for more information.";;
23091 --help |
--hel |
-h )
23092 printf "%s\n" "$ac_cs_usage"; exit ;;
23093 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23094 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23097 # This is an error.
23098 -*) as_fn_error $?
"unrecognized option: \`$1'
23099 Try \`$0 --help' for more information." ;;
23101 *) as_fn_append ac_config_targets
" $1"
23102 ac_need_defaults
=false
;;
23108 ac_configure_extra_args
=
23110 if $ac_cs_silent; then
23112 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23117 if \$ac_cs_recheck; then
23118 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23120 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23121 CONFIG_SHELL='$SHELL'
23122 export CONFIG_SHELL
23127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23132 ## Running $as_me. ##
23134 printf "%s\n" "$ac_log"
23138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23142 wine_fn_output_makedep ()
23144 as_dir=tools; as_fn_mkdir_p
23145 $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
23147 wine_fn_output_makefile ()
23149 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23150 # This Makefile understands the following targets:
23152 # all (default): build wine
23153 # clean: remove all intermediate files
23154 # distclean: also remove all files created by configure
23156 # testclean: clean test results to force running all tests again
23157 # install-lib: install libraries needed to run applications
23158 # install-dev: install development environment
23159 # install: install everything
23160 # uninstall: uninstall everything
23161 # ctags: create a tags file for vim and others.
23162 # etags: create a TAGS file for Emacs.
23165 PATH_SEPARATOR = $PATH_SEPARATOR
23166 PACKAGE_NAME = $PACKAGE_NAME
23167 PACKAGE_TARNAME = $PACKAGE_TARNAME
23168 PACKAGE_VERSION = $PACKAGE_VERSION
23169 PACKAGE_STRING = $PACKAGE_STRING
23170 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23171 PACKAGE_URL = $PACKAGE_URL
23172 exec_prefix = $exec_prefix
23174 program_transform_name = $program_transform_name
23177 libexecdir = $libexecdir
23178 datarootdir = $datarootdir
23180 sysconfdir = $sysconfdir
23181 sharedstatedir = $sharedstatedir
23182 localstatedir = $localstatedir
23183 runstatedir = $runstatedir
23184 includedir = $includedir
23185 oldincludedir = $oldincludedir
23193 localedir = $localedir
23200 build_alias = $build_alias
23201 host_alias = $host_alias
23202 target_alias = $target_alias
23203 system_dllpath = $system_dllpath
23205 build_cpu = $build_cpu
23206 build_vendor = $build_vendor
23207 build_os = $build_os
23209 host_cpu = $host_cpu
23210 host_vendor = $host_vendor
23216 SET_MAKE = $SET_MAKE
23220 CPPFLAGS = $CPPFLAGS
23221 ac_ct_CC = $ac_ct_CC
23225 CXXFLAGS = $CXXFLAGS
23226 ac_ct_CXX = $ac_ct_CXX
23229 TARGETFLAGS = $TARGETFLAGS
23230 toolsext = $toolsext
23231 toolsdir = $toolsdir
23233 RUNTESTFLAGS = $RUNTESTFLAGS
23238 ac_ct_AR = $ac_ct_AR
23244 LDCONFIG = $LDCONFIG
23246 PKG_CONFIG = $PKG_CONFIG
23247 FONTFORGE = $FONTFORGE
23251 I386_LIBS = $I386_LIBS
23252 OPENGL_LIBS = $OPENGL_LIBS
23253 DLLFLAGS = $DLLFLAGS
23254 LDDLLFLAGS = $LDDLLFLAGS
23255 LDEXECFLAGS = $LDEXECFLAGS
23256 EXTRACFLAGS = $EXTRACFLAGS
23257 UNIXDLLFLAGS = $UNIXDLLFLAGS
23258 UNIXLDFLAGS = $UNIXLDFLAGS
23259 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23260 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23261 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23262 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23267 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23268 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23269 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23272 OBJCFLAGS = $OBJCFLAGS
23273 ac_ct_OBJC = $ac_ct_OBJC
23274 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23275 IOKIT_LIBS = $IOKIT_LIBS
23276 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23277 CORESERVICES_LIBS = $CORESERVICES_LIBS
23278 APPKIT_LIBS = $APPKIT_LIBS
23279 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23280 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23281 SECURITY_LIBS = $SECURITY_LIBS
23282 COREAUDIO_LIBS = $COREAUDIO_LIBS
23283 OPENAL_LIBS = $OPENAL_LIBS
23284 OPENCL_LIBS = $OPENCL_LIBS
23285 CARBON_LIBS = $CARBON_LIBS
23286 METAL_LIBS = $METAL_LIBS
23287 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23288 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23289 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23291 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23292 CROSSTARGET = $CROSSTARGET
23294 CROSSCFLAGS = $CROSSCFLAGS
23295 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23296 CROSSLDFLAGS = $CROSSLDFLAGS
23297 DELAYLOADFLAG = $DELAYLOADFLAG
23298 CROSSDEBUG = $CROSSDEBUG
23299 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23300 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23301 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23302 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23303 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23304 GSM_PE_LIBS = $GSM_PE_LIBS
23305 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23306 JPEG_PE_LIBS = $JPEG_PE_LIBS
23307 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23308 JXR_PE_LIBS = $JXR_PE_LIBS
23309 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23310 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23311 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23312 MPG123_PE_LIBS = $MPG123_PE_LIBS
23313 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23314 PNG_PE_LIBS = $PNG_PE_LIBS
23315 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23316 TIFF_PE_LIBS = $TIFF_PE_LIBS
23317 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23318 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23319 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23320 XML2_PE_LIBS = $XML2_PE_LIBS
23321 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23322 XSLT_PE_LIBS = $XSLT_PE_LIBS
23323 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23324 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23325 PTHREAD_LIBS = $PTHREAD_LIBS
23328 X_CFLAGS = $X_CFLAGS
23329 X_PRE_LIBS = $X_PRE_LIBS
23331 X_EXTRA_LIBS = $X_EXTRA_LIBS
23332 PCAP_LIBS = $PCAP_LIBS
23333 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23334 INOTIFY_LIBS = $INOTIFY_LIBS
23335 DBUS_CFLAGS = $DBUS_CFLAGS
23336 DBUS_LIBS = $DBUS_LIBS
23337 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23338 GNUTLS_LIBS = $GNUTLS_LIBS
23339 SANE_CFLAGS = $SANE_CFLAGS
23340 SANE_LIBS = $SANE_LIBS
23341 USB_CFLAGS = $USB_CFLAGS
23342 USB_LIBS = $USB_LIBS
23343 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23344 GPHOTO2_LIBS = $GPHOTO2_LIBS
23345 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23346 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23347 RESOLV_LIBS = $RESOLV_LIBS
23348 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23349 FREETYPE_LIBS = $FREETYPE_LIBS
23350 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23351 PULSE_CFLAGS = $PULSE_CFLAGS
23352 PULSE_LIBS = $PULSE_LIBS
23353 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23354 GSTREAMER_LIBS = $GSTREAMER_LIBS
23355 ALSA_LIBS = $ALSA_LIBS
23356 OSS4_CFLAGS = $OSS4_CFLAGS
23357 OSS4_LIBS = $OSS4_LIBS
23358 UDEV_CFLAGS = $UDEV_CFLAGS
23359 UDEV_LIBS = $UDEV_LIBS
23360 UNWIND_CFLAGS = $UNWIND_CFLAGS
23361 UNWIND_LIBS = $UNWIND_LIBS
23362 SDL2_CFLAGS = $SDL2_CFLAGS
23363 SDL2_LIBS = $SDL2_LIBS
23364 CAPI20_CFLAGS = $CAPI20_CFLAGS
23365 CAPI20_LIBS = $CAPI20_LIBS
23366 CUPS_CFLAGS = $CUPS_CFLAGS
23367 CUPS_LIBS = $CUPS_LIBS
23368 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23369 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23370 KRB5_CFLAGS = $KRB5_CFLAGS
23371 KRB5_LIBS = $KRB5_LIBS
23372 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23373 GSSAPI_LIBS = $GSSAPI_LIBS
23374 PROCSTAT_LIBS = $PROCSTAT_LIBS
23375 NETAPI_CFLAGS = $NETAPI_CFLAGS
23376 NETAPI_LIBS = $NETAPI_LIBS
23377 MSVCRTFLAGS = $MSVCRTFLAGS
23379 LDAP_CFLAGS = $LDAP_CFLAGS
23380 LDAP_LIBS = $LDAP_LIBS
23381 TAGSFLAGS = $TAGSFLAGS
23383 LTLIBOBJS = $LTLIBOBJS
23387 as_fn_error $? "could not create Makefile" "$LINENO" 5
23392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23394 # Handling of arguments.
23395 for ac_config_target
in $ac_config_targets
23397 case $ac_config_target in
23398 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23399 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23400 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23401 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23402 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23403 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23405 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23410 # If the user did not use the arguments to specify the items to instantiate,
23411 # then the envvar interface is used. Set only those that are not.
23412 # We use the long form for the default assignment because of an extremely
23413 # bizarre bug on SunOS 4.1.3.
23414 if $ac_need_defaults; then
23415 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23416 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23417 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23420 # Have a temporary directory for convenience. Make it in the build tree
23421 # simply because there is no reason against having it here, and in addition,
23422 # creating and moving files from /tmp can sometimes cause problems.
23423 # Hook for its removal unless debugging.
23424 # Note that there is a small window in which the directory will not be cleaned:
23425 # after its creation but before its name has been assigned to `$tmp'.
23429 trap 'exit_status=$?
23430 : "${ac_tmp:=$tmp}"
23431 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23433 trap 'as_fn_exit 1' 1 2 13 15
23435 # Create a (secure) tmp directory for tmp files.
23438 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23442 tmp
=.
/conf$$
-$RANDOM
23443 (umask 077 && mkdir
"$tmp")
23444 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23447 # Set up the scripts for CONFIG_HEADERS section.
23448 # No need to generate them if there are no CONFIG_HEADERS.
23449 # This happens for instance with `./config.status Makefile'.
23450 if test -n "$CONFIG_HEADERS"; then
23451 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23455 # Transform confdefs.h into an awk script `defines.awk', embedded as
23456 # here-document in config.status, that substitutes the proper values into
23457 # config.h.in to produce config.h.
23459 # Create a delimiter string that does not exist in confdefs.h, to ease
23460 # handling of long lines.
23462 for ac_last_try
in false false
:; do
23463 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23464 if test -z "$ac_tt"; then
23466 elif $ac_last_try; then
23467 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23469 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23473 # For the awk script, D is an array of macro values keyed by name,
23474 # likewise P contains macro parameters if any. Preserve backslash
23475 # newline sequences.
23477 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23479 s/.\{148\}/&'"$ac_delim"'/g
23482 s/^[ ]*#[ ]*define[ ][ ]*/ /
23489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23491 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23496 D["\1"]=" \3\\\\\\n"\\/p
23498 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23503 s/.\{148\}/&'"$ac_delim"'/g
23508 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23511 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23513 ' <confdefs.h |
sed '
23514 s/'"$ac_delim"'/"\\\
23515 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23518 for (key in D) D_is_set[key] = 1
23521 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23523 split(line, arg, " ")
23524 if (arg[1] == "#") {
23528 defundef = substr(arg[1], 2)
23531 split(mac1, mac2, "(") #)
23533 prefix = substr(line, 1, index(line, defundef) - 1)
23534 if (D_is_set[macro]) {
23535 # Preserve the white space surrounding the "#".
23536 print prefix "define", macro P[macro] D[macro]
23539 # Replace #undef with comments. This is necessary, for example,
23540 # in the case of _POSIX_SOURCE, which is predefined and required
23541 # on some systems where configure will not decide to define it.
23542 if (defundef == "undef") {
23543 print "/*", prefix defundef, macro, "*/"
23551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23552 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23553 fi # test -n "$CONFIG_HEADERS"
23556 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23561 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23563 case $ac_mode$ac_tag in
23565 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23566 :[FH
]-) ac_tag
=-:-;;
23567 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23584 -) ac_f
="$ac_tmp/stdin";;
23585 *) # Look for the file first in the build tree, then in the source tree
23586 # (if the path is not absolute). The absolute path cannot be DOS-style,
23587 # because $ac_f cannot contain `:'.
23591 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23593 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23595 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23596 as_fn_append ac_file_inputs
" '$ac_f'"
23599 # Let's still pretend it is `configure' which instantiates (i.e., don't
23600 # use $as_me), people would be surprised to read:
23601 # /* config.h. Generated by config.status. */
23602 configure_input
='Generated from '`
23603 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23605 if test x
"$ac_file" != x-
; then
23606 configure_input
="$ac_file. $configure_input"
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23608 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23610 # Neutralize special characters interpreted by sed in replacement strings.
23611 case $configure_input in #(
23612 *\
&* |
*\|
* |
*\\* )
23613 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23615 *) ac_sed_conf_input
=$configure_input;;
23619 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23620 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23625 ac_dir
=`$as_dirname -- "$ac_file" ||
23626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23627 X"$ac_file" : 'X\(//\)[^/]' \| \
23628 X"$ac_file" : 'X\(//\)$' \| \
23629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23630 printf "%s\n" X"$ac_file" |
23631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23635 /^X\(\/\/\)[^/].*/{
23648 as_dir
="$ac_dir"; as_fn_mkdir_p
23652 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23654 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23655 # A ".." for each directory in $ac_dir_suffix.
23656 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23657 case $ac_top_builddir_sub in
23658 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23659 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23662 ac_abs_top_builddir
=$ac_pwd
23663 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23664 # for backward compatibility:
23665 ac_top_builddir
=$ac_top_build_prefix
23668 .
) # We are building in place.
23670 ac_top_srcdir
=$ac_top_builddir_sub
23671 ac_abs_top_srcdir
=$ac_pwd ;;
23672 [\\/]* | ?
:[\\/]* ) # Absolute name.
23673 ac_srcdir
=$srcdir$ac_dir_suffix;
23674 ac_top_srcdir
=$srcdir
23675 ac_abs_top_srcdir
=$srcdir ;;
23676 *) # Relative name.
23677 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23678 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23679 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23681 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23690 if test x
"$ac_file" != x-
; then
23692 printf "%s\n" "/* $configure_input */" >&1 \
23693 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23694 } >"$ac_tmp/config.h" \
23695 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23696 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23698 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23701 mv "$ac_tmp/config.h" "$ac_file" \
23702 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23705 printf "%s\n" "/* $configure_input */" >&1 \
23706 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23707 || as_fn_error $?
"could not create -" "$LINENO" 5
23715 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23718 # Prefer the file from the source tree if names are identical.
23719 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23720 ac_source
=$srcdir/$ac_source
23723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23724 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23726 if test ! -r "$ac_source"; then
23727 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23731 # Try a relative symlink, then a hard link, then a copy.
23733 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23734 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23736 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23737 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23738 cp -p "$ac_source" "$ac_file" ||
23739 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23742 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23743 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23748 case $ac_file$ac_mode in
23749 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23750 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23751 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23759 ac_clean_files
=$ac_clean_files_save
23761 test $ac_write_fail = 0 ||
23762 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23765 # configure is writing to config.log, and then calls config.status.
23766 # config.status does its own redirection, appending to config.log.
23767 # Unfortunately, on DOS this fails, as config.log is still kept open
23768 # by configure, so config.status won't be able to write to it; its
23769 # output is simply discarded. So we exec the FD to /dev/null,
23770 # effectively closing config.log, so it can be properly (re)opened and
23771 # appended to by config.status. When coming back to configure, we
23772 # need to make the FD available again.
23773 if test "$no_create" != yes; then
23775 ac_config_status_args
=
23776 test "$silent" = yes &&
23777 ac_config_status_args
="$ac_config_status_args --quiet"
23779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23782 # would make configure fail if this is the last instruction.
23783 $ac_cs_success || as_fn_exit
1
23785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23787 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23791 if test "$no_create" = "yes"
23797 if test "x$wine_notices" != x
; then
23800 for msg
in $wine_notices; do
23806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23807 printf "%s\n" "$as_me: $msg" >&6;}
23812 for msg
in $wine_warnings; do
23819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23820 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23826 $as_me: Finished. Do '${ac_make}' to compile Wine.